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

Issue 1967893002: H264POC: Allow gaps in frame_num. (Closed)

Created:
4 years, 7 months ago by sandersd (OOO until July 31)
Modified:
4 years, 7 months ago
Reviewers:
Pawel Osciak
CC:
chromium-reviews, posciak+watch_chromium.org, piman+watch_chromium.org, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

H264POC: Allow gaps in frame_num. This change only removes the restriction, it does not try to detect all the cases where doing so is likely to result in problems. In most cases (specifically, those where the number of missing frames is much less than max_frame_num), the result will be correct. In incorrect cases the reorder queue could get confused and result in strange playback. The existing TODOs for the reorder queue explain how to reduce that, but also inserting dummy frames for gaps would help as well. BUG=550854 Committed: https://crrev.com/b6f4380493084007dc4237d28153c0dd3e5d520b Cr-Commit-Position: refs/heads/master@{#395164} Committed: https://crrev.com/7b9ef9cd272c2e245424028df652291a4db283f8 Cr-Commit-Position: refs/heads/master@{#395661}

Patch Set 1 #

Patch Set 2 : Fix gap detection. #

Total comments: 3

Patch Set 3 : Warning for redundant pictures. #

Patch Set 4 : Update tests to not duplicate |frame_num|. #

Patch Set 5 : Handle redundant slices. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -12 lines) Patch
M media/gpu/vt_video_decode_accelerator_mac.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/video/h264_poc.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M media/video/h264_poc.cc View 1 2 3 4 7 chunks +21 lines, -9 lines 0 comments Download
M media/video/h264_poc_unittest.cc View 1 2 3 3 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 37 (14 generated)
sandersd (OOO until July 31)
4 years, 7 months ago (2016-05-10 23:52:19 UTC) #2
sandersd (OOO until July 31)
posciak@: ping.
4 years, 7 months ago (2016-05-12 17:49:51 UTC) #3
Pawel Osciak
Given that H264POC is used by VTVDA only, and this change is based on the ...
4 years, 7 months ago (2016-05-13 02:00:10 UTC) #4
sandersd (OOO until July 31)
On 2016/05/13 02:00:10, Pawel Osciak wrote: > Given that H264POC is used by VTVDA only, ...
4 years, 7 months ago (2016-05-13 18:03:47 UTC) #5
sandersd (OOO until July 31)
On 2016/05/13 18:03:47, sandersd wrote: > On 2016/05/13 02:00:10, Pawel Osciak wrote: > > Given ...
4 years, 7 months ago (2016-05-17 18:58:39 UTC) #6
Pawel Osciak
On 2016/05/13 18:03:47, sandersd wrote: > On 2016/05/13 02:00:10, Pawel Osciak wrote: > > Given ...
4 years, 7 months ago (2016-05-18 08:02:39 UTC) #7
sandersd (OOO until July 31)
On 2016/05/18 08:02:39, Pawel Osciak wrote: > On 2016/05/13 18:03:47, sandersd wrote: > > On ...
4 years, 7 months ago (2016-05-19 23:33:31 UTC) #8
Pawel Osciak
lgtm % comment https://chromiumcodereview.appspot.com/1967893002/diff/20001/media/video/h264_poc.cc File media/video/h264_poc.cc (right): https://chromiumcodereview.appspot.com/1967893002/diff/20001/media/video/h264_poc.cc#newcode71 media/video/h264_poc.cc:71: slice_hdr.frame_num != (prev_frame_num_ + 1) % ...
4 years, 7 months ago (2016-05-20 00:21:31 UTC) #9
sandersd (OOO until July 31)
https://chromiumcodereview.appspot.com/1967893002/diff/20001/media/video/h264_poc.cc File media/video/h264_poc.cc (right): https://chromiumcodereview.appspot.com/1967893002/diff/20001/media/video/h264_poc.cc#newcode71 media/video/h264_poc.cc:71: slice_hdr.frame_num != (prev_frame_num_ + 1) % max_frame_num) { On ...
4 years, 7 months ago (2016-05-20 00:39:09 UTC) #10
Pawel Osciak
https://chromiumcodereview.appspot.com/1967893002/diff/20001/media/video/h264_poc.cc File media/video/h264_poc.cc (right): https://chromiumcodereview.appspot.com/1967893002/diff/20001/media/video/h264_poc.cc#newcode71 media/video/h264_poc.cc:71: slice_hdr.frame_num != (prev_frame_num_ + 1) % max_frame_num) { On ...
4 years, 7 months ago (2016-05-20 07:50:12 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1967893002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1967893002/40001
4 years, 7 months ago (2016-05-20 17:56:55 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/173928)
4 years, 7 months ago (2016-05-20 18:17:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1967893002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1967893002/60001
4 years, 7 months ago (2016-05-20 19:53:51 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-20 21:05:55 UTC) #20
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/b6f4380493084007dc4237d28153c0dd3e5d520b Cr-Commit-Position: refs/heads/master@{#395164}
4 years, 7 months ago (2016-05-20 21:07:20 UTC) #22
rnephew (Reviews Here)
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2008473002/ by rnephew@chromium.org. ...
4 years, 7 months ago (2016-05-23 14:14:19 UTC) #23
sandersd (OOO until July 31)
posciak@: PTAL, I've changed handling of redundant slices.
4 years, 7 months ago (2016-05-23 20:08:07 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1967893002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1967893002/80001
4 years, 7 months ago (2016-05-23 20:09:53 UTC) #27
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/233983)
4 years, 7 months ago (2016-05-23 21:51:20 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1967893002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1967893002/80001
4 years, 7 months ago (2016-05-24 17:46:00 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-05-24 19:02:45 UTC) #34
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/7b9ef9cd272c2e245424028df652291a4db283f8 Cr-Commit-Position: refs/heads/master@{#395661}
4 years, 7 months ago (2016-05-24 19:05:09 UTC) #36
ccameron
4 years, 6 months ago (2016-06-03 00:55:35 UTC) #37
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/2036913002/ by ccameron@chromium.org.

The reason for reverting is: Still causing stuttering on Mac.

Powered by Google App Engine
This is Rietveld 408576698