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

Issue 10949029: Replace av_malloc with AlignedAlloc for memory allocation in DecoderBuffer. (Closed)

Created:
8 years, 3 months ago by xhwang
Modified:
8 years, 3 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Replace av_malloc with AlignedAlloc for memory allocation in DecoderBuffer. BUG=150920, 145551 TEST=media_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157836

Patch Set 1 #

Total comments: 14

Patch Set 2 : Resolve comments. #

Total comments: 3

Patch Set 3 : Resolve comments. #

Total comments: 4

Patch Set 4 : Resolve Dale's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -25 lines) Patch
M media/base/decoder_buffer.h View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M media/base/decoder_buffer.cc View 1 2 3 3 chunks +5 lines, -7 lines 0 comments Download
M media/base/decoder_buffer_unittest.cc View 1 2 2 chunks +6 lines, -18 lines 0 comments Download
M media/ffmpeg/ffmpeg_common.cc View 1 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
xhwang
As discussed. The numbers are defined in the header file instead of cc file so ...
8 years, 3 months ago (2012-09-19 23:48:03 UTC) #1
ddorwin
http://codereview.chromium.org/10949029/diff/1/media/base/decoder_buffer.cc File media/base/decoder_buffer.cc (right): http://codereview.chromium.org/10949029/diff/1/media/base/decoder_buffer.cc#newcode8 media/base/decoder_buffer.cc:8: #include "base/memory/aligned_memory.h" This does no harm, but is not ...
8 years, 3 months ago (2012-09-19 23:59:18 UTC) #2
DaleCurtis
http://codereview.chromium.org/10949029/diff/1/media/base/decoder_buffer.h File media/base/decoder_buffer.h (right): http://codereview.chromium.org/10949029/diff/1/media/base/decoder_buffer.h#newcode24 media/base/decoder_buffer.h:24: static const int kPaddingSize = 16; Comments for both. ...
8 years, 3 months ago (2012-09-20 00:00:04 UTC) #3
acolwell GONE FROM CHROMIUM
Just a few comments. You should also update the decoder_buffer_unittest so it doesn't depend on ...
8 years, 3 months ago (2012-09-20 00:16:21 UTC) #4
xhwang
Comments resolved. Also updated DecoderBufferTest as acolwell@ pointed out. PTAL! http://codereview.chromium.org/10949029/diff/1/media/base/decoder_buffer.cc File media/base/decoder_buffer.cc (right): http://codereview.chromium.org/10949029/diff/1/media/base/decoder_buffer.cc#newcode8 ...
8 years, 3 months ago (2012-09-20 01:43:03 UTC) #5
acolwell GONE FROM CHROMIUM
LGTM % comment http://codereview.chromium.org/10949029/diff/7001/media/base/decoder_buffer_unittest.cc File media/base/decoder_buffer_unittest.cc (right): http://codereview.chromium.org/10949029/diff/7001/media/base/decoder_buffer_unittest.cc#newcode65 media/base/decoder_buffer_unittest.cc:65: buffer2->GetData()) & (DecoderBuffer::kPaddingSize - 1)); I ...
8 years, 3 months ago (2012-09-20 01:48:21 UTC) #6
xhwang
http://codereview.chromium.org/10949029/diff/7001/media/base/decoder_buffer_unittest.cc File media/base/decoder_buffer_unittest.cc (right): http://codereview.chromium.org/10949029/diff/7001/media/base/decoder_buffer_unittest.cc#newcode65 media/base/decoder_buffer_unittest.cc:65: buffer2->GetData()) & (DecoderBuffer::kPaddingSize - 1)); On 2012/09/20 01:48:21, acolwell ...
8 years, 3 months ago (2012-09-20 03:23:01 UTC) #7
DaleCurtis
lgtm http://codereview.chromium.org/10949029/diff/12002/media/base/decoder_buffer.cc File media/base/decoder_buffer.cc (right): http://codereview.chromium.org/10949029/diff/12002/media/base/decoder_buffer.cc#newcode8 media/base/decoder_buffer.cc:8: #if !defined(OS_ANDROID) platform specific headers go under everything ...
8 years, 3 months ago (2012-09-20 03:36:13 UTC) #8
xhwang
http://codereview.chromium.org/10949029/diff/12002/media/base/decoder_buffer.cc File media/base/decoder_buffer.cc (right): http://codereview.chromium.org/10949029/diff/12002/media/base/decoder_buffer.cc#newcode8 media/base/decoder_buffer.cc:8: #if !defined(OS_ANDROID) On 2012/09/20 03:36:13, DaleCurtis wrote: > platform ...
8 years, 3 months ago (2012-09-20 04:16:25 UTC) #9
ddorwin
lgtm
8 years, 3 months ago (2012-09-20 04:19:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/10949029/15004
8 years, 3 months ago (2012-09-20 16:28:19 UTC) #11
commit-bot: I haz the power
8 years, 3 months ago (2012-09-20 20:56:55 UTC) #12
Change committed as 157836

Powered by Google App Engine
This is Rietveld 408576698