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

Issue 1318283007: H264 Decoder: move cut off logic from Construct to ModifyRefPicList(). (Closed)

Created:
5 years, 3 months ago by hshi1
Modified:
5 years, 3 months ago
Reviewers:
Pawel Osciak
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

H264 Decoder: move cut off logic from Construct to ModifyRefPicList(). The ConstructRefPicListsP/B() functions are supposed to be slice agnostic. The cut off logic is based on per-slice num_ref_idx_lX_active_minus1 values in the slice header, and therefore it should belong to the ModifyRefPicList() function. BUG=479953 TEST=verify no corruption on xfnity, trybot, vda unit test Committed: https://crrev.com/5e19b061b92dd718401660d1899fd56bcd8637f9 Cr-Commit-Position: refs/heads/master@{#346947}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address pawel's comments. #

Total comments: 4

Patch Set 3 : Address more pawel's comments. #

Patch Set 4 : Fix typo about the ! #

Total comments: 2

Patch Set 5 : one more nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -16 lines) Patch
M content/common/gpu/media/h264_decoder.cc View 1 2 3 4 3 chunks +18 lines, -16 lines 0 comments Download

Messages

Total messages: 19 (3 generated)
hshi1
PTAL, verified on Link to fix the corruption.
5 years, 3 months ago (2015-09-01 00:19:32 UTC) #2
hshi1
On 2015/09/01 00:19:32, hshi1 wrote: > PTAL, verified on Link to fix the corruption. Also ...
5 years, 3 months ago (2015-09-01 00:59:34 UTC) #3
Pawel Osciak
https://codereview.chromium.org/1318283007/diff/1/content/common/gpu/media/h264_decoder.cc File content/common/gpu/media/h264_decoder.cc (right): https://codereview.chromium.org/1318283007/diff/1/content/common/gpu/media/h264_decoder.cc#newcode494 content/common/gpu/media/h264_decoder.cc:494: // Cut off if we have more than requested ...
5 years, 3 months ago (2015-09-01 11:00:36 UTC) #4
hshi1
https://codereview.chromium.org/1318283007/diff/1/content/common/gpu/media/h264_decoder.cc File content/common/gpu/media/h264_decoder.cc (right): https://codereview.chromium.org/1318283007/diff/1/content/common/gpu/media/h264_decoder.cc#newcode494 content/common/gpu/media/h264_decoder.cc:494: // Cut off if we have more than requested ...
5 years, 3 months ago (2015-09-01 13:16:55 UTC) #5
hshi1
PTAL patch set #2 - addressed your comments and verified that vda unit tests are ...
5 years, 3 months ago (2015-09-01 17:17:11 UTC) #6
Pawel Osciak
lgtm % nits https://chromiumcodereview.appspot.com/1318283007/diff/20001/content/common/gpu/media/h264_decoder.cc File content/common/gpu/media/h264_decoder.cc (right): https://chromiumcodereview.appspot.com/1318283007/diff/20001/content/common/gpu/media/h264_decoder.cc#newcode486 content/common/gpu/media/h264_decoder.cc:486: // Cut off if we have ...
5 years, 3 months ago (2015-09-02 03:34:58 UTC) #7
hshi1
PTAL patch set #3 thanks! https://chromiumcodereview.appspot.com/1318283007/diff/20001/content/common/gpu/media/h264_decoder.cc File content/common/gpu/media/h264_decoder.cc (right): https://chromiumcodereview.appspot.com/1318283007/diff/20001/content/common/gpu/media/h264_decoder.cc#newcode486 content/common/gpu/media/h264_decoder.cc:486: // Cut off if ...
5 years, 3 months ago (2015-09-02 03:49:26 UTC) #8
hshi1
Oops sorry I meant patch set #4 (#3 has a typo about the !)
5 years, 3 months ago (2015-09-02 03:51:08 UTC) #9
Pawel Osciak
lgtm % nit https://chromiumcodereview.appspot.com/1318283007/diff/60001/content/common/gpu/media/h264_decoder.cc File content/common/gpu/media/h264_decoder.cc (left): https://chromiumcodereview.appspot.com/1318283007/diff/60001/content/common/gpu/media/h264_decoder.cc#oldcode510 content/common/gpu/media/h264_decoder.cc:510: DCHECK_GE(num_ref_idx_lX_active_minus1, 0); Please keep the DCHECK ...
5 years, 3 months ago (2015-09-02 03:57:18 UTC) #10
hshi1
https://chromiumcodereview.appspot.com/1318283007/diff/60001/content/common/gpu/media/h264_decoder.cc File content/common/gpu/media/h264_decoder.cc (left): https://chromiumcodereview.appspot.com/1318283007/diff/60001/content/common/gpu/media/h264_decoder.cc#oldcode510 content/common/gpu/media/h264_decoder.cc:510: DCHECK_GE(num_ref_idx_lX_active_minus1, 0); On 2015/09/02 03:57:18, Pawel Osciak wrote: > ...
5 years, 3 months ago (2015-09-02 03:58:44 UTC) #11
Pawel Osciak
On 2015/09/02 03:58:44, hshi1 wrote: > https://chromiumcodereview.appspot.com/1318283007/diff/60001/content/common/gpu/media/h264_decoder.cc > File content/common/gpu/media/h264_decoder.cc (left): > > https://chromiumcodereview.appspot.com/1318283007/diff/60001/content/common/gpu/media/h264_decoder.cc#oldcode510 > ...
5 years, 3 months ago (2015-09-02 04:00:29 UTC) #12
hshi1
On 2015/09/02 04:00:29, Pawel Osciak wrote: > On 2015/09/02 03:58:44, hshi1 wrote: > > > ...
5 years, 3 months ago (2015-09-02 04:03:27 UTC) #13
hshi1
Ready for CQ (tested again with xfinity and unit test)
5 years, 3 months ago (2015-09-02 16:45:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1318283007/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1318283007/80001
5 years, 3 months ago (2015-09-02 16:46:26 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 3 months ago (2015-09-02 17:09:55 UTC) #18
commit-bot: I haz the power
5 years, 3 months ago (2015-09-02 17:10:44 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/5e19b061b92dd718401660d1899fd56bcd8637f9
Cr-Commit-Position: refs/heads/master@{#346947}

Powered by Google App Engine
This is Rietveld 408576698