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

Issue 1369673002: H264Decoder: Handle gaps in frame_num. (Closed)

Created:
5 years, 2 months ago by Pawel Osciak
Modified:
5 years, 2 months ago
Reviewers:
wuchengli, kcwu, xhwang, niklase
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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

H264Decoder: Handle gaps in frame_num. Add support for gaps in frame_num as per H264 spec. Also, switch to a more precise new picture detection. Finally, some general cleanup. BUG=181565 TEST=vdatest Committed: https://crrev.com/8f3237aaf21e53ab7b9f4e2ed7057a523cf4a206 Cr-Commit-Position: refs/heads/master@{#353936}

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Total comments: 11
Unified diffs Side-by-side diffs Delta from patch set Stats (+469 lines, -295 lines) Patch
M content/common/gpu/media/h264_decoder.h View 1 3 chunks +39 lines, -25 lines 2 comments Download
M content/common/gpu/media/h264_decoder.cc View 1 31 chunks +371 lines, -252 lines 9 comments Download
M content/common/gpu/media/h264_dpb.h View 3 chunks +10 lines, -0 lines 0 comments Download
M content/common/gpu/media/h264_dpb.cc View 2 chunks +8 lines, -1 line 0 comments Download
M content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc View 1 chunk +10 lines, -5 lines 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.cc View 1 1 chunk +8 lines, -3 lines 0 comments Download
M media/filters/h264_parser.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M media/filters/h264_parser.cc View 1 3 chunks +21 lines, -7 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
Pawel Osciak
ptal
5 years, 2 months ago (2015-09-25 07:51:33 UTC) #2
niklase
Any action on the review side?
5 years, 2 months ago (2015-09-29 20:25:48 UTC) #4
kcwu
On 2015/09/29 20:25:48, niklase wrote: > Any action on the review side? Sorry for the ...
5 years, 2 months ago (2015-09-30 11:57:24 UTC) #5
kcwu
Basically lgtm I'm not familiar with h264 yet, so just review in general. https://codereview.chromium.org/1369673002/diff/1/content/common/gpu/media/h264_decoder.cc File ...
5 years, 2 months ago (2015-10-02 13:06:04 UTC) #6
Pawel Osciak
https://chromiumcodereview.appspot.com/1369673002/diff/1/content/common/gpu/media/h264_decoder.cc File content/common/gpu/media/h264_decoder.cc (right): https://chromiumcodereview.appspot.com/1369673002/diff/1/content/common/gpu/media/h264_decoder.cc#newcode304 content/common/gpu/media/h264_decoder.cc:304: case 2: On 2015/10/02 13:06:03, kcwu wrote: > {} ...
5 years, 2 months ago (2015-10-09 06:39:25 UTC) #7
Pawel Osciak
xhwang: please OWNERS for media/filters. Thanks.
5 years, 2 months ago (2015-10-09 06:41:16 UTC) #9
xhwang
media/filters lgtm. I also have some nits in other code. https://chromiumcodereview.appspot.com/1369673002/diff/20001/content/common/gpu/media/h264_decoder.cc File content/common/gpu/media/h264_decoder.cc (right): https://chromiumcodereview.appspot.com/1369673002/diff/20001/content/common/gpu/media/h264_decoder.cc#newcode101 ...
5 years, 2 months ago (2015-10-12 18:01:18 UTC) #10
Pawel Osciak
https://chromiumcodereview.appspot.com/1369673002/diff/20001/content/common/gpu/media/h264_decoder.cc File content/common/gpu/media/h264_decoder.cc (right): https://chromiumcodereview.appspot.com/1369673002/diff/20001/content/common/gpu/media/h264_decoder.cc#newcode101 content/common/gpu/media/h264_decoder.cc:101: bool H264Decoder::InitNonexistingPicture(scoped_refptr<H264Picture> pic, On 2015/10/12 18:01:17, xhwang wrote: > ...
5 years, 2 months ago (2015-10-13 01:23:22 UTC) #11
xhwang
Thanks for the detailed info. All make sense to me. Still lgtm.
5 years, 2 months ago (2015-10-13 17:22:43 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1369673002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1369673002/20001
5 years, 2 months ago (2015-10-14 00:16:32 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-14 01:17:57 UTC) #16
commit-bot: I haz the power
5 years, 2 months ago (2015-10-14 01:20:30 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8f3237aaf21e53ab7b9f4e2ed7057a523cf4a206
Cr-Commit-Position: refs/heads/master@{#353936}

Powered by Google App Engine
This is Rietveld 408576698