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

Issue 10690140: Reorganize bitstream converter classes. (Closed)

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

Description

Reorganize media bitstream converter classes. - Remove IdentityBitstreamConverter which is obsolete. - Remove FFmpegBitstreamConverter as it's not really used. Currently GpuVideoDecoder is the only place where EnableBitstreamConverter is called, and EnableBitstreamConverter is the only caller of FFmpegBitstreamConverter, but only when decoding mpeg4, whereas GVD only works with h264 ATM. - Remove BitstreamConverter since after removal of FFmpegBitstreamConverter, we only have one implementation of BitstreamConverter. - Remove BitstreamConverterTest. - Rename FFmpegH264BitstreamConverter to FFmpegH264ToAnnexBBitstreamConverter. - Rename H264BitstreamConverter to H264ToAnnexBBitstreamConverter. - Move H264ToAnnexBBitstreamConverter from media/base to media/filters. BUG=none TEST=media_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146420

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 11

Patch Set 3 : Comments resolved. #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -1853 lines) Patch
D media/base/h264_bitstream_converter.h View 1 1 chunk +0 lines, -125 lines 0 comments Download
D media/base/h264_bitstream_converter.cc View 1 1 chunk +0 lines, -312 lines 0 comments Download
D media/base/h264_bitstream_converter_unittest.cc View 1 1 chunk +0 lines, -472 lines 0 comments Download
M media/filters/bitstream_converter.h View 1 1 chunk +0 lines, -83 lines 0 comments Download
M media/filters/bitstream_converter.cc View 1 1 chunk +0 lines, -77 lines 0 comments Download
D media/filters/bitstream_converter_unittest.cc View 1 1 chunk +0 lines, -148 lines 0 comments Download
M media/filters/ffmpeg_demuxer.h View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M media/filters/ffmpeg_demuxer.cc View 1 2 2 chunks +4 lines, -15 lines 0 comments Download
D media/filters/ffmpeg_h264_bitstream_converter.h View 1 1 chunk +0 lines, -67 lines 0 comments Download
D media/filters/ffmpeg_h264_bitstream_converter.cc View 1 1 chunk +0 lines, -101 lines 0 comments Download
D media/filters/ffmpeg_h264_bitstream_converter_unittest.cc View 1 1 chunk +0 lines, -356 lines 0 comments Download
A media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.h View 1 2 1 chunk +64 lines, -0 lines 0 comments Download
A + media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc View 1 2 2 chunks +5 lines, -9 lines 0 comments Download
A + media/filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc View 1 6 chunks +13 lines, -23 lines 0 comments Download
A + media/filters/h264_to_annex_b_bitstream_converter.h View 1 2 4 chunks +14 lines, -14 lines 0 comments Download
A + media/filters/h264_to_annex_b_bitstream_converter.cc View 1 2 5 chunks +7 lines, -7 lines 0 comments Download
A + media/filters/h264_to_annex_b_bitstream_converter_unittest.cc View 1 2 11 chunks +25 lines, -26 lines 0 comments Download
M media/media.gyp View 1 2 3 4 8 chunks +9 lines, -15 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
xhwang
Remove IdentityBitstreamConverter as discussed offline. Please review.
8 years, 5 months ago (2012-07-11 17:20:27 UTC) #1
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/10690140/diff/1/media/filters/bitstream_converter.h File media/filters/bitstream_converter.h (right): http://codereview.chromium.org/10690140/diff/1/media/filters/bitstream_converter.h#newcode46 media/filters/bitstream_converter.h:46: class MEDIA_EXPORT FFmpegBitstreamConverter : public BitstreamConverter { Any reason ...
8 years, 5 months ago (2012-07-11 17:25:47 UTC) #2
Ami GONE FROM CHROMIUM
Oops, forgot about FFmpegH264BitstreamConverter. LGTM
8 years, 5 months ago (2012-07-11 17:43:25 UTC) #3
xhwang
On 2012/07/11 17:43:25, Ami Fischman wrote: > Oops, forgot about FFmpegH264BitstreamConverter. LGTM Thanks for the ...
8 years, 5 months ago (2012-07-11 18:05:50 UTC) #4
Ami GONE FROM CHROMIUM
I had similar thoughts looking through this stuff. > 1, BitstreamConverter should be named FFmpegBitstreamConverter, ...
8 years, 5 months ago (2012-07-11 18:27:09 UTC) #5
xhwang
On 2012/07/11 18:27:09, Ami Fischman wrote: > I had similar thoughts looking through this stuff. ...
8 years, 5 months ago (2012-07-11 21:11:10 UTC) #6
Ami GONE FROM CHROMIUM
LGTM % nits Please test the videotestmatrix just in case. http://codereview.chromium.org/10690140/diff/3002/media/filters/bitstream_converter.h File media/filters/bitstream_converter.h (left): http://codereview.chromium.org/10690140/diff/3002/media/filters/bitstream_converter.h#oldcode3 ...
8 years, 5 months ago (2012-07-11 22:33:17 UTC) #7
xhwang
Will test the videotestmatrix before committing. http://codereview.chromium.org/10690140/diff/3002/media/filters/bitstream_converter.h File media/filters/bitstream_converter.h (left): http://codereview.chromium.org/10690140/diff/3002/media/filters/bitstream_converter.h#oldcode3 media/filters/bitstream_converter.h:3: // found in ...
8 years, 5 months ago (2012-07-12 00:21:45 UTC) #8
Ami GONE FROM CHROMIUM
still LGTM http://codereview.chromium.org/10690140/diff/3002/media/filters/ffmpeg_demuxer.cc File media/filters/ffmpeg_demuxer.cc (right): http://codereview.chromium.org/10690140/diff/3002/media/filters/ffmpeg_demuxer.cc#newcode213 media/filters/ffmpeg_demuxer.cc:213: if (stream_->codec->codec_id == CODEC_ID_H264) { On 2012/07/12 ...
8 years, 5 months ago (2012-07-12 00:27:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/10690140/3004
8 years, 5 months ago (2012-07-12 00:40:52 UTC) #10
commit-bot: I haz the power
Failed to apply patch for media/media.gyp: While running patch -p1 --forward --force; patching file media/media.gyp ...
8 years, 5 months ago (2012-07-12 02:07:42 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/10690140/2021
8 years, 5 months ago (2012-07-12 15:25:39 UTC) #12
commit-bot: I haz the power
Failed to apply patch for media/media.gyp: While running patch -p1 --forward --force; patching file media/media.gyp ...
8 years, 5 months ago (2012-07-12 15:25:45 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/10690140/5006
8 years, 5 months ago (2012-07-12 16:45:44 UTC) #14
commit-bot: I haz the power
Try job failure for 10690140-5006 (retry) on mac_rel for step "browser_tests". It's a second try, ...
8 years, 5 months ago (2012-07-12 17:51:29 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/10690140/5006
8 years, 5 months ago (2012-07-12 18:13:29 UTC) #16
commit-bot: I haz the power
8 years, 5 months ago (2012-07-12 20:00:25 UTC) #17
Change committed as 146420

Powered by Google App Engine
This is Rietveld 408576698