diff options
author | imcheng@chromium.org <imcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-25 00:18:44 +0000 |
---|---|---|
committer | imcheng@chromium.org <imcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-25 00:18:44 +0000 |
commit | 12b37dc8e0ac8395342754e49f6ac4ab48e08015 (patch) | |
tree | 86609d30a2085ff0f707a9fd3e9d2d02fff2fa00 /media/media.gyp | |
parent | 94c8bdb5af3b423d72ff3fb6e20bb6592e0362f2 (diff) | |
download | chromium_src-12b37dc8e0ac8395342754e49f6ac4ab48e08015.zip chromium_src-12b37dc8e0ac8395342754e49f6ac4ab48e08015.tar.gz chromium_src-12b37dc8e0ac8395342754e49f6ac4ab48e08015.tar.bz2 |
Changed mft_h264_decoder's API to match with video_decode_engine.h. Also changed the example and unittests.
Implementation of mft_h264_decoder.cc is similar to ffmpeg_video_decode_engine.cc. For now, a d3d surface output from the decoder is converted from NV12 to YV12 and stored in regular memory. So rendering with --enable-dxva is a bit
slower for now. Once we figure out how to connect with ANGLE, we won't need the conversion / transfer.
basic_renderer.* is now replaced with a simpler implementation of EventHandler inside the example code. d3d_util.* is also removed because d3d9 initialization is now moved inside the initialization of the decoder and it is the only place where it is used.
BUG=none
TEST=included in this patch
Review URL: http://codereview.chromium.org/3156046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57261 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/media.gyp')
-rw-r--r-- | media/media.gyp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/media/media.gyp b/media/media.gyp index 45815e72..5f3e42f 100644 --- a/media/media.gyp +++ b/media/media.gyp @@ -466,10 +466,6 @@ '..', ], 'sources': [ - 'mf/basic_renderer.cc', - 'mf/basic_renderer.h', - 'mf/d3d_util.cc', - 'mf/d3d_util.h', 'mf/file_reader_util.cc', 'mf/file_reader_util.h', 'mf/mft_h264_decoder_example.cc', @@ -495,8 +491,6 @@ '..', ], 'sources': [ - 'mf/d3d_util.cc', - 'mf/d3d_util.h', 'mf/file_reader_util.cc', 'mf/file_reader_util.h', 'mf/test/mft_h264_decoder_unittest.cc', |