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

Issue 10710002: 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, jochen+watch-content_chromium.org, apatrick_chromium, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, strobe_
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add HE AAC support to ISO BMFF. 1. Parse esds box to get HE AAC config. 2. Send audio config from AAC header to decoder instead of the one embedded in SampleDescription. 3. Convert raw audio data into ADTS before sending to decoder. 4. Abstract general bit stream code from H264BitReader into media::BitReader. BUG=134445 TEST=BitReaderTest, AACTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145617

Patch Set 1 #

Patch Set 2 : Fix coding style issues. #

Patch Set 3 : Fix coding style issues. #

Patch Set 4 : Fixed coding style issues. #

Patch Set 5 : Add unittest for 5.1 channel. #

Total comments: 22

Patch Set 6 : Explicitly check if audio is AAC. #

Total comments: 9

Patch Set 7 : Fix style issues #

Total comments: 1

Patch Set 8 : Fix comment #

Patch Set 9 : Remove non-ascii characters #

Patch Set 10 : Remove unused entry from media.gyp #

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 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download
A content/common/gpu/media/h264_bit_reader.cc View 1 2 3 4 5 1 chunk +45 lines, -0 lines 0 comments Download
A content/common/gpu/media/h264_bit_reader_unittest.cc View 1 2 3 4 5 1 chunk +68 lines, -0 lines 0 comments Download
M content/common/gpu/media/h264_parser.h View 1 2 3 4 5 6 2 chunks +1 line, -55 lines 0 comments Download
M content/common/gpu/media/h264_parser.cc View 1 2 3 4 5 3 chunks +4 lines, -99 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A media/base/bit_reader.h View 1 2 3 4 5 6 1 chunk +110 lines, -0 lines 0 comments Download
A media/base/bit_reader.cc View 1 2 3 4 5 6 1 chunk +74 lines, -0 lines 0 comments Download
A media/base/bit_reader_unittest.cc View 1 2 3 4 5 1 chunk +110 lines, -0 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 8 9 5 chunks +9 lines, -0 lines 0 comments Download
A media/mp4/aac.h View 1 2 3 4 5 6 1 chunk +67 lines, -0 lines 0 comments Download
A media/mp4/aac.cc View 1 2 3 4 5 6 7 8 1 chunk +252 lines, -0 lines 0 comments Download
A media/mp4/aac_unittest.cc View 1 2 3 4 5 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 1 2 3 4 5 3 chunks +9 lines, -0 lines 0 comments Download
M media/mp4/box_definitions.cc View 1 2 3 4 5 4 chunks +26 lines, -2 lines 0 comments Download
A media/mp4/es_descriptor.h View 1 2 3 4 5 6 7 8 1 chunk +57 lines, -0 lines 0 comments Download
A media/mp4/es_descriptor.cc View 1 2 3 4 5 1 chunk +112 lines, -0 lines 0 comments Download
A media/mp4/es_descriptor_unittest.cc View 1 2 3 4 5 1 chunk +92 lines, -0 lines 0 comments Download
M media/mp4/mp4_stream_parser.h View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M media/mp4/mp4_stream_parser.cc View 1 2 3 4 5 6 3 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
xiaomings
8 years, 5 months ago (2012-06-27 21:54:19 UTC) #1
strobe_
https://chromiumcodereview.appspot.com/10710002/diff/26001/media/base/bit_reader.h File media/base/bit_reader.h (right): https://chromiumcodereview.appspot.com/10710002/diff/26001/media/base/bit_reader.h#newcode50 media/base/bit_reader.h:50: *out = *out * (1 << bits_to_take) + Windows ...
8 years, 5 months ago (2012-06-28 14:58:22 UTC) #2
acolwell GONE FROM CHROMIUM
Here are my initial comments. In general, please prefer using << instead of * and ...
8 years, 5 months ago (2012-06-28 17:31:25 UTC) #3
acolwell GONE FROM CHROMIUM
LGTM % nits http://codereview.chromium.org/10710002/diff/15010/content/common/gpu/media/h264_parser.h File content/common/gpu/media/h264_parser.h (right): http://codereview.chromium.org/10710002/diff/15010/content/common/gpu/media/h264_parser.h#newcode15 content/common/gpu/media/h264_parser.h:15: #include "base/compiler_specific.h" Why is this needed ...
8 years, 5 months ago (2012-07-03 01:00:12 UTC) #4
acolwell GONE FROM CHROMIUM
Looks good. Just one minor nit. Once fixed & the trybots pass, go ahead and ...
8 years, 5 months ago (2012-07-03 16:35:08 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiaomings@google.com/10710002/6039
8 years, 5 months ago (2012-07-03 21:22:45 UTC) #6
commit-bot: I haz the power
Presubmit check for 10710002-6039 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-07-03 21:22:52 UTC) #7
xiaomings
8 years, 5 months ago (2012-07-03 22:34:16 UTC) #8
xiaomings
Adding Jam for an owners LGTM on content.
8 years, 5 months ago (2012-07-03 22:37:31 UTC) #9
jam
lgtm for the gypi files. i don't understand this change, so i defer to acolwell ...
8 years, 5 months ago (2012-07-04 04:37:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiaomings@google.com/10710002/6039
8 years, 5 months ago (2012-07-06 20:14:06 UTC) #11
commit-bot: I haz the power
Change committed as 145617
8 years, 5 months ago (2012-07-06 21:59:26 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiaomings@google.com/10710002/11024
8 years, 5 months ago (2012-07-09 18:45:06 UTC) #13
acolwell GONE FROM CHROMIUM
8 years, 5 months ago (2012-07-09 18:48:35 UTC) #14
On 2012/07/09 18:45:06, I haz the power (commit-bot) wrote:
> CQ is trying da patch. Follow status at
> https://chromium-status.appspot.com/cq/xiaomings%40google.com/10710002/11024

I just cancelled this because it looks like the patch was already committed? Is
that not the case?

Powered by Google App Engine
This is Rietveld 408576698