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

Issue 177583002: VAVDA: Switch to using max_num_reorder_frames. (Closed)

Created:
6 years, 10 months ago by Pawel Osciak
Modified:
6 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, piman+watch_chromium.org, darin-cc_chromium.org, jam, feature-media-reviews_chromium.org
Visibility:
Public.

Description

VAVDA: Switch to using max_num_reorder_frames. H.264 standard allows for an optional max_num_reorder_frames parameter to be specified in VUI parameters. When present, it indicates the maximum number of frames that may precede a given frame in decode order, but come after it in output order. This means, that if the number of decoded and not yet outputted frames exceeds max_num_reorder_frames, we are allowed to output until this no longer holds true. In case max_num_reorder_frames is not present, the value is to be inferred to be either 0 or equal to the size of DPB. In case of the latter, we would always have to wait until the DPB is full before outputting anything. This means we could incur visible stuttering whenever DPB had to be cleared (on IDRs, etc.). max_num_reorder_frames seems to be very common in streams these days however, so it should be a relatively rare occurrence. Relying on max_num_reorder_frames also gives us an ability to handle streams with negative POC values, which are produced by some camera models. TEST=video playbacks, vdatest, switchtests BUG=chromium:177692 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255898

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -30 lines) Patch
M content/common/gpu/media/vaapi_h264_decoder.h View 2 chunks +3 lines, -0 lines 0 comments Download
M content/common/gpu/media/vaapi_h264_decoder.cc View 1 2 9 chunks +55 lines, -11 lines 0 comments Download
M media/filters/h264_parser.h View 1 2 3 chunks +17 lines, -2 lines 0 comments Download
M media/filters/h264_parser.cc View 1 2 3 chunks +114 lines, -17 lines 0 comments Download

Messages

Total messages: 42 (0 generated)
Pawel Osciak
6 years, 10 months ago (2014-02-24 18:06:04 UTC) #1
Ami GONE FROM CHROMIUM
Can this be exercised by modifying the test stream in vdatest? https://chromiumcodereview.appspot.com/177583002/diff/1/media/filters/h264_parser.cc File media/filters/h264_parser.cc (right): ...
6 years, 10 months ago (2014-02-25 09:45:37 UTC) #2
Pawel Osciak
On 2014/02/25 09:45:37, Ami Fischman wrote: > Can this be exercised by modifying the test ...
6 years, 10 months ago (2014-02-25 11:04:22 UTC) #3
Ami GONE FROM CHROMIUM
On Tue, Feb 25, 2014 at 3:04 AM, <posciak@chromium.org> wrote: > By "this" do you ...
6 years, 10 months ago (2014-02-25 19:14:23 UTC) #4
Pawel Osciak
On 2014/02/25 19:14:23, Ami Fischman wrote: > On Tue, Feb 25, 2014 at 3:04 AM, ...
6 years, 10 months ago (2014-02-26 05:43:20 UTC) #5
Pawel Osciak
https://chromiumcodereview.appspot.com/177583002/diff/1/media/filters/h264_parser.cc File media/filters/h264_parser.cc (right): https://chromiumcodereview.appspot.com/177583002/diff/1/media/filters/h264_parser.cc#newcode706 media/filters/h264_parser.cc:706: READ_BOOL_OR_RETURN(&sps->constraint_setx_flag[0]); On 2014/02/25 09:45:37, Ami Fischman wrote: > s/0/i/ ...
6 years, 10 months ago (2014-02-26 06:02:15 UTC) #6
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/177583002/diff/1/media/filters/h264_parser.cc File media/filters/h264_parser.cc (right): https://chromiumcodereview.appspot.com/177583002/diff/1/media/filters/h264_parser.cc#newcode706 media/filters/h264_parser.cc:706: READ_BOOL_OR_RETURN(&sps->constraint_setx_flag[0]); On 2014/02/26 06:02:15, Pawel Osciak wrote: > On ...
6 years, 10 months ago (2014-02-26 17:15:57 UTC) #7
Pawel Osciak
On 2014/02/26 17:15:57, Ami Fischman wrote: > https://chromiumcodereview.appspot.com/177583002/diff/1/media/filters/h264_parser.cc > File media/filters/h264_parser.cc (right): > > https://chromiumcodereview.appspot.com/177583002/diff/1/media/filters/h264_parser.cc#newcode706 ...
6 years, 9 months ago (2014-03-07 00:25:30 UTC) #8
Pawel Osciak
6 years, 9 months ago (2014-03-07 00:25:40 UTC) #9
Pawel Osciak
The CQ bit was checked by posciak@chromium.org
6 years, 9 months ago (2014-03-07 06:50:27 UTC) #10
Pawel Osciak
The CQ bit was unchecked by posciak@chromium.org
6 years, 9 months ago (2014-03-07 06:50:32 UTC) #11
Ami GONE FROM CHROMIUM
LGTM
6 years, 9 months ago (2014-03-07 18:46:55 UTC) #12
posciak1
The CQ bit was checked by posciak@google.com
6 years, 9 months ago (2014-03-07 19:42:57 UTC) #13
posciak1
The CQ bit was unchecked by posciak@google.com
6 years, 9 months ago (2014-03-07 19:43:09 UTC) #14
Pawel Osciak
The CQ bit was checked by posciak@chromium.org
6 years, 9 months ago (2014-03-07 22:09:18 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/posciak@chromium.org/177583002/60001
6 years, 9 months ago (2014-03-07 22:10:54 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/posciak@chromium.org/177583002/60001
6 years, 9 months ago (2014-03-08 11:04:36 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-08 14:00:00 UTC) #18
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) telemetry_perf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=234350
6 years, 9 months ago (2014-03-08 14:00:01 UTC) #19
Pawel Osciak
The CQ bit was checked by posciak@chromium.org
6 years, 9 months ago (2014-03-08 14:34:06 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/posciak@chromium.org/177583002/60001
6 years, 9 months ago (2014-03-08 14:36:28 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-08 15:13:32 UTC) #22
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) telemetry_perf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=234410
6 years, 9 months ago (2014-03-08 15:13:33 UTC) #23
Pawel Osciak
The CQ bit was checked by posciak@chromium.org
6 years, 9 months ago (2014-03-08 20:38:40 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/posciak@chromium.org/177583002/60001
6 years, 9 months ago (2014-03-08 20:38:51 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-08 21:23:55 UTC) #26
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) telemetry_perf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=234572
6 years, 9 months ago (2014-03-08 21:23:56 UTC) #27
Pawel Osciak
The CQ bit was checked by posciak@chromium.org
6 years, 9 months ago (2014-03-08 22:05:57 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/posciak@chromium.org/177583002/60001
6 years, 9 months ago (2014-03-08 22:06:29 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-08 22:49:35 UTC) #30
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) telemetry_perf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=234604
6 years, 9 months ago (2014-03-08 22:49:36 UTC) #31
Pawel Osciak
The CQ bit was checked by posciak@chromium.org
6 years, 9 months ago (2014-03-09 00:10:12 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/posciak@chromium.org/177583002/60001
6 years, 9 months ago (2014-03-09 00:10:21 UTC) #33
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-09 00:48:19 UTC) #34
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) telemetry_perf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=234655
6 years, 9 months ago (2014-03-09 00:48:19 UTC) #35
Pawel Osciak
The CQ bit was checked by posciak@chromium.org
6 years, 9 months ago (2014-03-09 01:01:57 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/posciak@chromium.org/177583002/60001
6 years, 9 months ago (2014-03-09 01:02:33 UTC) #37
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-09 01:39:28 UTC) #38
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) telemetry_perf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=234665
6 years, 9 months ago (2014-03-09 01:39:29 UTC) #39
Pawel Osciak
The CQ bit was checked by posciak@chromium.org
6 years, 9 months ago (2014-03-10 00:16:40 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/posciak@chromium.org/177583002/60001
6 years, 9 months ago (2014-03-10 00:16:56 UTC) #41
commit-bot: I haz the power
6 years, 9 months ago (2014-03-10 07:15:46 UTC) #42
Message was sent while issue was closed.
Change committed as 255898

Powered by Google App Engine
This is Rietveld 408576698