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

Issue 10780026: 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. Was https://chromiumcodereview.appspot.com/10753005/. The original cl also includes abstraction of BitReader class used by H264Parser. It includes bugs that break the H264Parser. In this cl I removed the abstraction and make the BitReader used by H264Parser independent to the one used by esds parser because of: 1. The original cl introduce bugs. 2. Even if we fix the bugs, we may not be able to make the generalized class as fast as the old one while keeping the abstraction. 3. The H264 bit stream use very special syntax on escaping and trailing zero bits, which might not be a good candidate for abstraction. BUG=134445 TEST=BitReaderTest, AACTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147511

Patch Set 1 #

Patch Set 2 : Remove modification to content folder. #

Patch Set 3 : Remove the part of BitReader that takes inheritance into account. #

Total comments: 14

Patch Set 4 : Remove unused functions and variables. #

Total comments: 27

Patch Set 5 : Address CR comments. #

Patch Set 6 : Rebase master. #

Patch Set 7 : Remove WARN_UNUSED_RESULT on template function. #

Total comments: 8

Patch Set 8 : Address CR Comments. #

Patch Set 9 : Address CR comments. #

Patch Set 10 : Remove cached AAC object. #

Patch Set 11 : Remove aac.h. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+904 lines, -32 lines) Patch
A media/base/bit_reader.h View 1 2 3 4 5 6 7 1 chunk +68 lines, -0 lines 0 comments Download
A media/base/bit_reader.cc View 1 2 3 4 5 6 7 8 1 chunk +52 lines, -0 lines 0 comments Download
A media/base/bit_reader_unittest.cc View 1 2 3 4 1 chunk +48 lines, -0 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 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 2 3 4 1 chunk +246 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 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 +27 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 2 3 4 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.cc View 1 2 3 4 5 6 7 8 9 4 chunks +13 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
xiaomings
Please check the changes to BitReader and its unittests.
8 years, 5 months ago (2012-07-17 19:21:11 UTC) #1
acolwell GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/10780026/diff/4001/media/base/bit_reader.h File media/base/bit_reader.h (right): https://chromiumcodereview.appspot.com/10780026/diff/4001/media/base/bit_reader.h#newcode22 media/base/bit_reader.h:22: BitReader(); Remove this constructor. https://chromiumcodereview.appspot.com/10780026/diff/4001/media/base/bit_reader.h#newcode28 media/base/bit_reader.h:28: void Initialize(const uint8* ...
8 years, 5 months ago (2012-07-17 20:07:32 UTC) #2
xiaomings
Address CR comments. https://chromiumcodereview.appspot.com/10780026/diff/4001/media/base/bit_reader.h File media/base/bit_reader.h (right): https://chromiumcodereview.appspot.com/10780026/diff/4001/media/base/bit_reader.h#newcode22 media/base/bit_reader.h:22: BitReader(); On 2012/07/17 20:07:32, acolwell wrote: ...
8 years, 5 months ago (2012-07-17 22:09:44 UTC) #3
acolwell GONE FROM CHROMIUM
LGTM % nit https://chromiumcodereview.appspot.com/10780026/diff/10003/media/base/bit_reader.cc File media/base/bit_reader.cc (right): https://chromiumcodereview.appspot.com/10780026/diff/10003/media/base/bit_reader.cc#newcode9 media/base/bit_reader.cc:9: BitReader::BitReader(const uint8* data, off_t size) { ...
8 years, 5 months ago (2012-07-17 22:38:21 UTC) #4
Ami GONE FROM CHROMIUM
I only reviewed the BitReader class (and a few of its callsites to understand what's ...
8 years, 5 months ago (2012-07-17 23:22:18 UTC) #5
xiaomings
Addressed CR comments. https://chromiumcodereview.appspot.com/10780026/diff/10003/media/base/bit_reader.cc File media/base/bit_reader.cc (right): https://chromiumcodereview.appspot.com/10780026/diff/10003/media/base/bit_reader.cc#newcode10 media/base/bit_reader.cc:10: DCHECK(data != NULL || size == ...
8 years, 5 months ago (2012-07-19 00:16:32 UTC) #6
Ami GONE FROM CHROMIUM
LGTM for BitReader. Thanks for making these changes! https://chromiumcodereview.appspot.com/10780026/diff/24003/media/base/bit_reader.cc File media/base/bit_reader.cc (right): https://chromiumcodereview.appspot.com/10780026/diff/24003/media/base/bit_reader.cc#newcode26 media/base/bit_reader.cc:26: if ...
8 years, 5 months ago (2012-07-19 00:28:58 UTC) #7
xiaomings
Address CR comments. https://chromiumcodereview.appspot.com/10780026/diff/24003/media/base/bit_reader.cc File media/base/bit_reader.cc (right): https://chromiumcodereview.appspot.com/10780026/diff/24003/media/base/bit_reader.cc#newcode26 media/base/bit_reader.cc:26: if (*out != 0) On 2012/07/19 ...
8 years, 5 months ago (2012-07-19 01:11:01 UTC) #8
Ami GONE FROM CHROMIUM
BitReader still LGTM
8 years, 5 months ago (2012-07-19 01:24:06 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiaomings@google.com/10780026/29002
8 years, 5 months ago (2012-07-19 18:22:43 UTC) #10
commit-bot: I haz the power
8 years, 5 months ago (2012-07-19 19:43:50 UTC) #11
Change committed as 147511

Powered by Google App Engine
This is Rietveld 408576698