summaryrefslogtreecommitdiffstats
path: root/media/mf/file_reader_util.cc
Commit message (Collapse)AuthorAgeFilesLines
* Changed mft_h264_decoder's API to match with video_decode_engine.h. Also ↵imcheng@chromium.org2010-08-251-1/+0
| | | | | | | | | | | | | | | | 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
* Added error callbacks. Decoder no longer explicitly quits the message loop ↵imcheng@chromium.org2010-08-121-41/+53
| | | | | | | | | | | | on end of output. Also added a seeking functionality for rendering to window that goes to the first keyframe after X seconds. Both of these require a minor change in the decoder API. BUG=none TEST=none Review URL: http://codereview.chromium.org/3146011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55917 0039d316-1c4b-4281-b951-d872f2087c98
* Second attempt at removing executable bits from media/mf filesimcheng@chromium.org2010-08-111-1/+0
| | | | | | | | | | | BUG=none TEST=none TBR=hclam Review URL: http://codereview.chromium.org/3125006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55767 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed executable permission bits in media/mf source files.imcheng@chromium.org2010-08-111-0/+1
| | | | | | | | | BUG=none TEST=none TBR=hclam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55755 0039d316-1c4b-4281-b951-d872f2087c98
* Moved files from media/media_foundation to media/mf. Cleaned up the code a ↵imcheng@chromium.org2010-08-061-0/+200
| | | | | | | | | | | little bit. BUG=none TEST=coming Review URL: http://codereview.chromium.org/3072030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55310 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "This tool demonstrates the use of the Media Foundation H.264 decoder ↵evan@chromium.org2010-07-291-196/+0
| | | | | | | | as a standalone Media Foundation Transform (MFT). See README for more information." This reverts commit r54078, due to link failures. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54084 0039d316-1c4b-4281-b951-d872f2087c98
* This tool demonstrates the use of the Media Foundation H.264 decoder as a ↵imcheng@chromium.org2010-07-291-0/+196
standalone Media Foundation Transform (MFT). See README for more information. Review URL: http://codereview.chromium.org/3044019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54078 0039d316-1c4b-4281-b951-d872f2087c98