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

Issue 10411085: Build AVC decoder configuration record (Closed)

Created:
8 years, 7 months ago by sail
Modified:
8 years, 6 months ago
CC:
chromium-reviews, jochen+watch-content_chromium.org, jam, apatrick_chromium, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Build AVC decoder configuration record This CL adds a utility to build an AVC decoder configuration record from SPS and PPS data in the H264 stream. This record is used on Mac to initialize the video decoder. BUG=127414 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141103

Patch Set 1 #

Patch Set 2 : test #

Patch Set 3 : rebase #

Total comments: 31

Patch Set 4 : address review comments #

Patch Set 5 : address review comments/rebase #

Patch Set 6 : rebase #

Patch Set 7 : comment #

Total comments: 10

Patch Set 8 : address review comments #

Patch Set 9 : rebase #

Total comments: 17

Patch Set 10 : fix 2 issues #

Patch Set 11 : address review comments #

Total comments: 2

Patch Set 12 : address review comments #

Total comments: 6

Patch Set 13 : address review comments #

Patch Set 14 : rebase #

Total comments: 2

Patch Set 15 : address review comments #

Patch Set 16 : fix win build #

Patch Set 17 : fix win test failure #

Patch Set 18 : address review comments #

Patch Set 19 : address view comments #

Patch Set 20 : address review comments #

Patch Set 21 : fix linux_chromeos_clang build #

Patch Set 22 : fix compontent build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+472 lines, -150 lines) Patch
A content/common/gpu/media/avc_config_record_builder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +66 lines, -0 lines 0 comments Download
A content/common/gpu/media/avc_config_record_builder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +146 lines, -0 lines 0 comments Download
A content/common/gpu/media/avc_config_record_builder_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +92 lines, -0 lines 0 comments Download
M content/common/gpu/media/h264_parser.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 8 chunks +10 lines, -8 lines 0 comments Download
M content/common/gpu/media/h264_parser.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 25 chunks +51 lines, -40 lines 0 comments Download
M content/common/gpu/media/mac_video_decode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +15 lines, -12 lines 0 comments Download
M content/common/gpu/media/mac_video_decode_accelerator.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +86 lines, -67 lines 0 comments Download
M content/common/gpu/media/video_decode_accelerator_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -17 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +4 lines, -6 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
sail
Hi Ami, this is an alternative to the CL that plumbs the config record to ...
8 years, 7 months ago (2012-05-23 05:32:30 UTC) #1
sail
8 years, 7 months ago (2012-05-23 05:33:34 UTC) #2
Ami GONE FROM CHROMIUM
+posciak to review the use of H264Parser. Please see my direct question to you below, ...
8 years, 7 months ago (2012-05-23 19:41:19 UTC) #3
sail
http://codereview.chromium.org/10411085/diff/4001/content/common/gpu/media/avc_config_record_builder.cc File content/common/gpu/media/avc_config_record_builder.cc (right): http://codereview.chromium.org/10411085/diff/4001/content/common/gpu/media/avc_config_record_builder.cc#newcode38 content/common/gpu/media/avc_config_record_builder.cc:38: can_build_record_ = true; On 2012/05/23 19:41:19, Ami Fischman wrote: ...
8 years, 6 months ago (2012-05-28 21:45:46 UTC) #4
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/10411085/diff/14003/content/common/gpu/media/avc_config_record_builder.cc File content/common/gpu/media/avc_config_record_builder.cc (right): http://codereview.chromium.org/10411085/diff/14003/content/common/gpu/media/avc_config_record_builder.cc#newcode37 content/common/gpu/media/avc_config_record_builder.cc:37: // Skip this NALU. Comment is outdated? (what is ...
8 years, 6 months ago (2012-05-30 00:07:54 UTC) #5
Pawel Osciak
http://codereview.chromium.org/10411085/diff/4001/content/common/gpu/media/avc_config_record_builder.cc File content/common/gpu/media/avc_config_record_builder.cc (right): http://codereview.chromium.org/10411085/diff/4001/content/common/gpu/media/avc_config_record_builder.cc#newcode73 content/common/gpu/media/avc_config_record_builder.cc:73: // TODO(sail): There's no way to get the NALU ...
8 years, 6 months ago (2012-05-30 00:28:39 UTC) #6
sail
http://codereview.chromium.org/10411085/diff/14003/content/common/gpu/media/avc_config_record_builder.cc File content/common/gpu/media/avc_config_record_builder.cc (right): http://codereview.chromium.org/10411085/diff/14003/content/common/gpu/media/avc_config_record_builder.cc#newcode37 content/common/gpu/media/avc_config_record_builder.cc:37: // Skip this NALU. On 2012/05/30 00:07:54, Ami Fischman ...
8 years, 6 months ago (2012-06-02 21:05:49 UTC) #7
Pawel Osciak
http://codereview.chromium.org/10411085/diff/29001/content/common/gpu/media/h264_parser.cc File content/common/gpu/media/h264_parser.cc (right): http://codereview.chromium.org/10411085/diff/29001/content/common/gpu/media/h264_parser.cc#newcode661 content/common/gpu/media/h264_parser.cc:661: READ_BITS_OR_RETURN(4, &data); In my version of the spec it's ...
8 years, 6 months ago (2012-06-03 17:33:22 UTC) #8
sail
http://codereview.chromium.org/10411085/diff/29001/content/common/gpu/media/h264_parser.cc File content/common/gpu/media/h264_parser.cc (right): http://codereview.chromium.org/10411085/diff/29001/content/common/gpu/media/h264_parser.cc#newcode661 content/common/gpu/media/h264_parser.cc:661: READ_BITS_OR_RETURN(4, &data); On 2012/06/03 17:33:22, posciak wrote: > In ...
8 years, 6 months ago (2012-06-04 14:57:02 UTC) #9
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/10411085/diff/38001/content/common/gpu/media/mac_video_decode_accelerator.mm File content/common/gpu/media/mac_video_decode_accelerator.mm (right): http://codereview.chromium.org/10411085/diff/38001/content/common/gpu/media/mac_video_decode_accelerator.mm#newcode166 content/common/gpu/media/mac_video_decode_accelerator.mm:166: "Call to AssignPictureBuffers() during invalid state.", I think you ...
8 years, 6 months ago (2012-06-05 15:47:43 UTC) #10
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/10411085/diff/38001/content/common/gpu/media/mac_video_decode_accelerator.mm File content/common/gpu/media/mac_video_decode_accelerator.mm (right): http://codereview.chromium.org/10411085/diff/38001/content/common/gpu/media/mac_video_decode_accelerator.mm#newcode166 content/common/gpu/media/mac_video_decode_accelerator.mm:166: "Call to AssignPictureBuffers() during invalid state.", On 2012/06/05 15:47:43, ...
8 years, 6 months ago (2012-06-05 16:10:18 UTC) #11
sail
http://codereview.chromium.org/10411085/diff/38001/content/common/gpu/media/mac_video_decode_accelerator.mm File content/common/gpu/media/mac_video_decode_accelerator.mm (right): http://codereview.chromium.org/10411085/diff/38001/content/common/gpu/media/mac_video_decode_accelerator.mm#newcode192 content/common/gpu/media/mac_video_decode_accelerator.mm:192: RETURN_ON_FAILURE(client_, On 2012/06/05 15:47:43, Ami Fischman wrote: > On ...
8 years, 6 months ago (2012-06-05 16:42:53 UTC) #12
Ami GONE FROM CHROMIUM
lgtm http://codereview.chromium.org/10411085/diff/51004/content/common/gpu/media/mac_video_decode_accelerator.mm File content/common/gpu/media/mac_video_decode_accelerator.mm (right): http://codereview.chromium.org/10411085/diff/51004/content/common/gpu/media/mac_video_decode_accelerator.mm#newcode192 content/common/gpu/media/mac_video_decode_accelerator.mm:192: RETURN_ON_FAILURE(vda_support_.get(), .get() unnecessary here and below.
8 years, 6 months ago (2012-06-05 16:48:03 UTC) #13
sail
http://codereview.chromium.org/10411085/diff/51004/content/common/gpu/media/mac_video_decode_accelerator.mm File content/common/gpu/media/mac_video_decode_accelerator.mm (right): http://codereview.chromium.org/10411085/diff/51004/content/common/gpu/media/mac_video_decode_accelerator.mm#newcode192 content/common/gpu/media/mac_video_decode_accelerator.mm:192: RETURN_ON_FAILURE(vda_support_.get(), On 2012/06/05 16:48:03, Ami Fischman wrote: > .get() ...
8 years, 6 months ago (2012-06-05 16:57:11 UTC) #14
sail
brettw: src/content/*.gyp*: OWNERS approval
8 years, 6 months ago (2012-06-05 16:58:46 UTC) #15
Pawel Osciak
LGTM for parser changes.
8 years, 6 months ago (2012-06-05 17:05:14 UTC) #16
brettw
owners lgtm, I didn't check the details
8 years, 6 months ago (2012-06-05 19:29:13 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10411085/56013
8 years, 6 months ago (2012-06-05 20:13:11 UTC) #18
commit-bot: I haz the power
Failed to apply patch for content/content_tests.gypi: While running patch -p1 --forward --force; patching file content/content_tests.gypi ...
8 years, 6 months ago (2012-06-05 20:13:23 UTC) #19
Pawel Osciak
LGTM on win compile fixes for parser.
8 years, 6 months ago (2012-06-06 20:18:23 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10411085/51009
8 years, 6 months ago (2012-06-07 00:41:33 UTC) #21
commit-bot: I haz the power
Try job failure for 10411085-51009 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-07 01:01:41 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10411085/51009
8 years, 6 months ago (2012-06-07 03:53:19 UTC) #23
commit-bot: I haz the power
Try job failure for 10411085-51009 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-07 05:25:02 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10411085/57010
8 years, 6 months ago (2012-06-07 21:44:49 UTC) #25
commit-bot: I haz the power
8 years, 6 months ago (2012-06-07 22:45:57 UTC) #26
Change committed as 141103

Powered by Google App Engine
This is Rietveld 408576698