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

Issue 10753005: Add HE AAC support to ISO BMFF. (Closed)

Created:
8 years, 5 months ago by xiaomings
Modified:
8 years, 5 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium, feature-media-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add HE AAC support to ISO BMFF. Also abstract common code in H264BitReader into BitReader for reusing. Was: https://chromiumcodereview.appspot.com/10710002/ In the submitted patch of the last issue, the media.gyp included a non-existing file. This error hadn't been caught by try but later got caught by the build process and reverted the commit. So I create this issue to submit the fixed patch. BUG=134445 TEST=BitReaderTest, AACTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145769

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+1189 lines, -187 lines) Patch
A content/common/gpu/media/h264_bit_reader.h View 1 chunk +31 lines, -0 lines 0 comments Download
A content/common/gpu/media/h264_bit_reader.cc View 1 chunk +45 lines, -0 lines 2 comments Download
A content/common/gpu/media/h264_bit_reader_unittest.cc View 1 chunk +68 lines, -0 lines 0 comments Download
M content/common/gpu/media/h264_parser.h View 2 chunks +1 line, -55 lines 0 comments Download
M content/common/gpu/media/h264_parser.cc View 3 chunks +4 lines, -99 lines 1 comment Download
M content/content_common.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A media/base/bit_reader.h View 1 chunk +110 lines, -0 lines 1 comment Download
A media/base/bit_reader.cc View 1 chunk +74 lines, -0 lines 0 comments Download
A media/base/bit_reader_unittest.cc View 1 chunk +110 lines, -0 lines 0 comments Download
M media/media.gyp View 5 chunks +9 lines, -0 lines 0 comments Download
A media/mp4/aac.h View 1 chunk +67 lines, -0 lines 0 comments Download
A media/mp4/aac.cc View 1 chunk +252 lines, -0 lines 0 comments Download
A media/mp4/aac_unittest.cc View 1 chunk +104 lines, -0 lines 0 comments Download
M media/mp4/avc.h View 2 chunks +0 lines, -4 lines 0 comments Download
M media/mp4/avc.cc View 1 chunk +0 lines, -22 lines 0 comments Download
M media/mp4/box_definitions.h View 3 chunks +9 lines, -0 lines 0 comments Download
M media/mp4/box_definitions.cc View 4 chunks +26 lines, -2 lines 0 comments Download
A media/mp4/es_descriptor.h View 1 chunk +57 lines, -0 lines 0 comments Download
A media/mp4/es_descriptor.cc View 1 chunk +112 lines, -0 lines 0 comments Download
A media/mp4/es_descriptor_unittest.cc View 1 chunk +92 lines, -0 lines 0 comments Download
M media/mp4/mp4_stream_parser.h View 2 chunks +3 lines, -1 line 0 comments Download
M media/mp4/mp4_stream_parser.cc View 3 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
xiaomings
Removed non-existing file from media.gyp. Need LGTM to re-submit.
8 years, 5 months ago (2012-07-09 19:08:21 UTC) #1
acolwell GONE FROM CHROMIUM
LGTM
8 years, 5 months ago (2012-07-09 19:42:20 UTC) #2
jam
lgtm
8 years, 5 months ago (2012-07-09 20:47:27 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiaomings@google.com/10753005/1
8 years, 5 months ago (2012-07-09 21:24:05 UTC) #4
commit-bot: I haz the power
Change committed as 145769
8 years, 5 months ago (2012-07-09 22:57:27 UTC) #5
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/10753005/diff/1/content/common/gpu/media/h264_parser.cc File content/common/gpu/media/h264_parser.cc (left): https://chromiumcodereview.appspot.com/10753005/diff/1/content/common/gpu/media/h264_parser.cc#oldcode815 content/common/gpu/media/h264_parser.cc:815: if (br_.HasMoreRBSPData()) { This broke the default test-25fps.h264 stream ...
8 years, 5 months ago (2012-07-16 20:02:05 UTC) #6
Pawel Osciak
Please address my comments, looks like this introduced two bugs (one mentioned by Ami above ...
8 years, 5 months ago (2012-07-16 21:27:08 UTC) #7
xiaomings
Hi Ami and posciak, I am checking this issue. I am thinking a way to ...
8 years, 5 months ago (2012-07-16 21:30:38 UTC) #8
Pawel Osciak
8 years, 5 months ago (2012-07-16 21:30:56 UTC) #9
https://chromiumcodereview.appspot.com/10753005/diff/1/content/common/gpu/med...
File content/common/gpu/media/h264_bit_reader.cc (right):

https://chromiumcodereview.appspot.com/10753005/diff/1/content/common/gpu/med...
content/common/gpu/media/h264_bit_reader.cc:41: }
On 2012/07/16 21:27:09, posciak wrote:
> This is not true. There can be more than one zero-byte padding in the stream,
so
> this will not always work.
> Also, we need to use HasMoreRBSPData() only at specific situations and doing
> this every byte is suboptimal (and also incorrect).

Sorry, meant every last byte.

Powered by Google App Engine
This is Rietveld 408576698