Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(809)

Issue 9766007: Fix incorrect VideoFrame::row_bytes() for RGB. Add tests. (Closed)

Created:
8 years, 9 months ago by DaleCurtis
Modified:
8 years, 9 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Fix incorrect VideoFrame::row_bytes() for RGB. Add tests. Also converts the Copy*Plane methods in video_util.cc to use size_t instead of int. BUG=119156 TEST=Built chrome. Ran unittests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128379

Patch Set 1 : Typos. #

Total comments: 14

Patch Set 2 : Rework test. #

Total comments: 10

Patch Set 3 : Fixes. #

Patch Set 4 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -1 line) Patch
M media/base/video_frame.cc View 1 2 3 1 chunk +9 lines, -1 line 0 comments Download
M media/base/video_frame_unittest.cc View 1 2 3 2 chunks +61 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
DaleCurtis
https://chromiumcodereview.appspot.com/9766007/diff/4001/media/base/video_frame_unittest.cc File media/base/video_frame_unittest.cc (right): https://chromiumcodereview.appspot.com/9766007/diff/4001/media/base/video_frame_unittest.cc#newcode170 media/base/video_frame_unittest.cc:170: TEST(VideoFrame, CheckRowSizes) { A bit lengthy, but the generic ...
8 years, 9 months ago (2012-03-20 22:54:05 UTC) #1
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/9766007/diff/4001/media/base/video_frame.cc File media/base/video_frame.cc (right): https://chromiumcodereview.appspot.com/9766007/diff/4001/media/base/video_frame.cc#newcode212 media/base/video_frame.cc:212: return width_ * 2; FTR, nothing uses these, right? ...
8 years, 9 months ago (2012-03-21 04:33:44 UTC) #2
DaleCurtis
https://chromiumcodereview.appspot.com/9766007/diff/4001/media/base/video_frame.cc File media/base/video_frame.cc (right): https://chromiumcodereview.appspot.com/9766007/diff/4001/media/base/video_frame.cc#newcode212 media/base/video_frame.cc:212: return width_ * 2; On 2012/03/21 04:33:44, Ami Fischman ...
8 years, 9 months ago (2012-03-22 01:24:43 UTC) #3
Ami GONE FROM CHROMIUM
LGTM % nits (some of which are taste/optional) https://chromiumcodereview.appspot.com/9766007/diff/4001/media/base/video_frame.cc File media/base/video_frame.cc (right): https://chromiumcodereview.appspot.com/9766007/diff/4001/media/base/video_frame.cc#newcode212 media/base/video_frame.cc:212: return ...
8 years, 9 months ago (2012-03-22 10:53:25 UTC) #4
scherkus (not reviewing)
https://chromiumcodereview.appspot.com/9766007/diff/4001/media/base/video_frame.cc File media/base/video_frame.cc (right): https://chromiumcodereview.appspot.com/9766007/diff/4001/media/base/video_frame.cc#newcode212 media/base/video_frame.cc:212: return width_ * 2; On 2012/03/22 01:24:43, DaleCurtis wrote: ...
8 years, 9 months ago (2012-03-22 10:57:54 UTC) #5
DaleCurtis
https://chromiumcodereview.appspot.com/9766007/diff/4001/media/base/video_frame.cc File media/base/video_frame.cc (right): https://chromiumcodereview.appspot.com/9766007/diff/4001/media/base/video_frame.cc#newcode212 media/base/video_frame.cc:212: return width_ * 2; On 2012/03/22 10:57:54, scherkus wrote: ...
8 years, 9 months ago (2012-03-22 17:30:35 UTC) #6
scherkus (not reviewing)
On 2012/03/22 17:30:35, DaleCurtis wrote: > https://chromiumcodereview.appspot.com/9766007/diff/4001/media/base/video_frame.cc > File media/base/video_frame.cc (right): > > https://chromiumcodereview.appspot.com/9766007/diff/4001/media/base/video_frame.cc#newcode212 > ...
8 years, 9 months ago (2012-03-22 18:00:35 UTC) #7
Ami GONE FROM CHROMIUM
Please move the convo about dropping enum values to the bug.
8 years, 9 months ago (2012-03-22 18:02:25 UTC) #8
DaleCurtis
Thanks. Will rebase after the hashing CL lands and then wait for vrk's approval. https://chromiumcodereview.appspot.com/9766007/diff/11001/media/base/video_frame_unittest.cc ...
8 years, 9 months ago (2012-03-22 19:45:28 UTC) #9
DaleCurtis
Got approval from vrk via chat. Pushing.
8 years, 9 months ago (2012-03-22 23:30:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/9766007/18005
8 years, 9 months ago (2012-03-22 23:33:56 UTC) #11
commit-bot: I haz the power
8 years, 9 months ago (2012-03-23 01:35:19 UTC) #12
Change committed as 128379

Powered by Google App Engine
This is Rietveld 408576698