summaryrefslogtreecommitdiffstats
path: root/media/tools
Commit message (Collapse)AuthorAgeFilesLines
* add filtering to player_wtlfbarchard@chromium.org2010-04-095-27/+76
| | | | | | | | | BUG=19113 TEST=none Review URL: http://codereview.chromium.org/1576030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44130 0039d316-1c4b-4281-b951-d872f2087c98
* Optimized version of bilinear video scaler. It is about 2 times faster than ↵sergeyu@chromium.org2010-04-091-1/+2
| | | | | | | | | | | Skia that is currently used for video scaling. BUG=19113 TEST=none Review URL: http://codereview.chromium.org/1556021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44119 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 42727 - ffmpeg roll chromium binariesfbarchard@chromium.org2010-03-261-2/+2
| | | | | | | | | | | bug=none test=none TBR=fbarchard@chromium.org Review URL: http://codereview.chromium.org/1401002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42728 0039d316-1c4b-4281-b951-d872f2087c98
* ffmpeg roll chromium binariesfbarchard@chromium.org2010-03-261-2/+2
| | | | | | | | bug=none test=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42727 0039d316-1c4b-4281-b951-d872f2087c98
* Merged VideoSurface, VideoFrame and VideoFrameImpl in VideoFrame.scherkus@chromium.org2010-03-232-64/+59
| | | | | | | | | | | Patch by sergeyu@chromium.org BUG=28100 TEST=Ran media_unittests Review URL: http://codereview.chromium.org/1226001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42391 0039d316-1c4b-4281-b951-d872f2087c98
* win: string_util.h -> utf_string_conversions.h fix.jhawkins@google.com2010-03-111-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/830002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41292 0039d316-1c4b-4281-b951-d872f2087c98
* Move wtl from chrome/third_party to third_party/. Thistony@chromium.org2010-03-091-2/+2
| | | | | | | | | | | breaks dependencies on chrome from webkit, app, views and base. BUG=37649 TEST=compiles Review URL: http://codereview.chromium.org/699001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41001 0039d316-1c4b-4281-b951-d872f2087c98
* media: string_util.h -> utf_string_conversions.h fix.jhawkins@chromium.org2010-03-062-2/+2
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/668227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40852 0039d316-1c4b-4281-b951-d872f2087c98
* Fix license headers in X11/GL/GLES video renderers.scherkus@chromium.org2010-03-033-9/+9
| | | | | | | | | | TBR=piman BUG=none TEST=none Review URL: http://codereview.chromium.org/666006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40542 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing some subtle issues with player_x11 and GL/GLES video renderers.scherkus@chromium.org2010-03-035-58/+56
| | | | | | | | | BUG=n/a TEST=n/a Review URL: http://codereview.chromium.org/665008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40539 0039d316-1c4b-4281-b951-d872f2087c98
* ffmpeg better message for error on opening file if the file opens but the ↵fbarchard@chromium.org2010-03-032-10/+30
| | | | | | | | | | | codec is not supported. BUG=37256 TEST=ffmpeg_tests.exe d:\mediatests\elephant2.m4v with chromium and you should get 'File format not supported' Review URL: http://codereview.chromium.org/661426 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40472 0039d316-1c4b-4281-b951-d872f2087c98
* Generate stubs for OpenMAX ILhclam@chromium.org2010-03-022-0/+14
| | | | | | | | | | | | Generate stubs for OpenMAX IL so we don't need a real OpenMAX library for building. The actual library is loaded during runtime. TEST=Build is green TEST=Running omx_test works on hardware with OpenMAX support Review URL: http://codereview.chromium.org/661135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40418 0039d316-1c4b-4281-b951-d872f2087c98
* Using bitstream filters if OpenMAX is enabledhclam@chromium.org2010-03-011-0/+6
| | | | | | | | | | | | | | | Use FFmpeg bitstream filters if OpenMAX is enabled. The following filters are used: 1. h264_mp4toannexb 2. mpeg4video_es 3. vc1_asftorcv 4. vc1_asftoannexg TEST=run player_x11 with --enable-openmax and the above formats work Review URL: http://codereview.chromium.org/661059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40306 0039d316-1c4b-4281-b951-d872f2087c98
* Some fixes to player_x11 when OpenMAX is enabledhclam@chromium.org2010-02-201-1/+0
| | | | | | | | | | | - remove the --enable-h264-annexb-filter flag - OmxVideoDecodeEngine have some problems dealing EOS buffers TEST=player_x11 runs with --enable-openmax Review URL: http://codereview.chromium.org/652008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39542 0039d316-1c4b-4281-b951-d872f2087c98
* Pulled out Callback code into base/callback.h. This is the first step ↵akalin@chromium.org2010-02-192-3/+5
| | | | | | | | | | | | | towards redoing the Callback interfaces. Added and removed includes as needed. BUG=35223 TEST=trybots Review URL: http://codereview.chromium.org/646061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39419 0039d316-1c4b-4281-b951-d872f2087c98
* gles2: fix stride supportpiman@chromium.org2010-02-171-3/+26
| | | | | | Review URL: http://codereview.chromium.org/626009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39283 0039d316-1c4b-4281-b951-d872f2087c98
* API to allow strategy class to work on the output buffer of OpenMAXhclam@chromium.org2010-02-173-44/+92
| | | | | | | | | | | | | | Added interface of OmxOutputSink to interact with OmxCodec to perform buffer negotiation and buffer read signaling. TEST=media_unittests --gtest_filter=Omx* BUG=32753 BUG=32754 BUG=32870 Review URL: http://codereview.chromium.org/593047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39247 0039d316-1c4b-4281-b951-d872f2087c98
* Fix player_x11 so it works properly with GLEShclam@chromium.org2010-02-132-68/+85
| | | | | | | | | | | | | | | Fixed the following two things: 1. Some drivers doesn't like EGL context switching between threads. So initialize GLES lazily in the paint call. 2. glUniformMatrix3fv() failed because some drivers doesn't want to transpose the matrix so we do it ourself. TEST=player_x11 works with GLES Review URL: http://codereview.chromium.org/596104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38986 0039d316-1c4b-4281-b951-d872f2087c98
* Implement GLES video renderer in player_x11hclam@chromium.org2010-02-127-313/+873
| | | | | | | | | | This patch does the following: 1. Split the implementation of X11 and GL into two separate files 2. Add implementation of GLES render Review URL: http://codereview.chromium.org/596055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38867 0039d316-1c4b-4281-b951-d872f2087c98
* Fix usage of OmxInputBuffer in OpenMAX code since it's refcounted.hclam@chromium.org2010-02-091-1/+0
| | | | | | | | | | In last refactoring of OpenMAX code, OmxInputBuffer was changed to refcounted but it wasn't probably used. This is now fixed. Unittest is coming in another patch. Review URL: http://codereview.chromium.org/596018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38498 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor media::InputBuffer to consolidate it with media::Bufferhclam@chromium.org2010-02-051-3/+4
| | | | | | | | | | | | Rename media::InputBuffer to media::OmxInputBuffer and inherit from media::Buffer. Also provide the timestamp to media::OmxCodec. TEST=omx_test BUG=32753 Review URL: http://codereview.chromium.org/577012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38247 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring of media::OmxCodec to split configuration of IO portshclam@chromium.org2010-02-045-206/+310
| | | | | | | | | | | | | Split encoder/decoder configuration of media::OmxCodec into strategy classes. This will help OmxCodec free from any codec specific bits. Also included the refactoring of omx_test to split the file output part to a separate class. Review URL: http://codereview.chromium.org/566036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38121 0039d316-1c4b-4281-b951-d872f2087c98
* Use FFmpeg demuxer and bitstream converters in omx_testhclam@chromium.org2010-01-305-241/+572
| | | | | | | | | | | | | | | | omx_test now uses FFmpeg demuxer and bistream converters. It can now parse mp4 files and convert them to H264 Annex B stream for input to OpenMAX decoder. Also refactored the file to move different reader methods to separate classes. BUG=32753 TEST=this is a test by itself Review URL: http://codereview.chromium.org/556032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37592 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor some code that depends on FFmpeghclam@chromium.org2010-01-264-101/+531
| | | | | | | | | | | | | Some FFmpeg header and source files are misplaced: media/filters/ffmpeg_common.{cc, h} -> media/ffmpeg media/tools/media_bench/file_protocol.{cc, h} -> media/ffmpeg And the necessary refactoring for the new location is done. Review URL: http://codereview.chromium.org/555087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37080 0039d316-1c4b-4281-b951-d872f2087c98
* Use OpenMAX for video decoding in the media pipelinehclam@chromium.org2010-01-231-5/+10
| | | | | | | | | | | | | This patch is to fix some issues when using OpenMAX video decoder in the media pipeline. It will enable player_x11 to decode using OpenMAX. This still requires some more work to enable Chrome to use OpenMAX for decoding. Review URL: http://codereview.chromium.org/549124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36936 0039d316-1c4b-4281-b951-d872f2087c98
* linux: add display option to media_bench, using GLpiman@chromium.org2010-01-223-53/+308
| | | | | | Review URL: http://codereview.chromium.org/523120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36886 0039d316-1c4b-4281-b951-d872f2087c98
* Switches to enable OpenMAX for video decoding in Chromehclam@chromium.org2010-01-221-1/+3
| | | | | | | | | Added a --enable-openmax switch to enable OpenMAX for video decoding. Review URL: http://codereview.chromium.org/555046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36883 0039d316-1c4b-4281-b951-d872f2087c98
* Clarify licenses on a bunch of files.evan@chromium.org2009-12-291-0/+4
| | | | | | | | | | | In this process, I also filed bugs on various projects we depend on that also have unclear licenses. BUG=28291 Review URL: http://codereview.chromium.org/521009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35323 0039d316-1c4b-4281-b951-d872f2087c98
* Implementation of OmxVideoDecodeEngine.ajwong@chromium.org2009-12-221-3/+7
| | | | | | | | | | | | | | | | | | Also moves FFmpegVideoDecodeEngine FFmpegVideoDecoder, OmxVideoDecoder, and VideoDecoderImpl into their own files. Refactors FFmpegDemuxerTest to be less of a characterization test, and to hopefully be less fragile. Creates a set of utilities for handling Callbacks versus Tasks, and resource management related to Callbacks. Re-enables the annexb filters for the chrome build of FFmpeg. Added a BitstreamConverter class that abstracts the bitstream filter code. Cleans up a few gyp mistakes with flag exporting. Review URL: http://codereview.chromium.org/492023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35171 0039d316-1c4b-4281-b951-d872f2087c98
* Signal handler for player_x11 applicationhclam@chromium.org2009-12-021-5/+17
| | | | | | | | | SIGTERM and SIGINT handler for player_x11 tool so that it terminates the media pipeline properly when CTRL+C is received. Review URL: http://codereview.chromium.org/450030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33536 0039d316-1c4b-4281-b951-d872f2087c98
* Use argv[0] to print out executable usage info for media tools.scherkus@chromium.org2009-11-253-3/+3
| | | | | | | | | | BUG=n/a TESt=n/a Review URL: http://codereview.chromium.org/434101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33148 0039d316-1c4b-4281-b951-d872f2087c98
* Fix help dialog for player_x11.scherkus@chromium.org2009-11-251-1/+1
| | | | | | | | | | | BUG=n/a TEST=n/a TBR=hclam Review URL: http://codereview.chromium.org/443005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33098 0039d316-1c4b-4281-b951-d872f2087c98
* Re-organizing all tools under /src/media to be consistent with the rest of ↵scherkus@chromium.org2009-11-2523-0/+3877
| | | | | | | | | | | | the repository. TEST=n/a BUG=n/a Review URL: http://codereview.chromium.org/431046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33089 0039d316-1c4b-4281-b951-d872f2087c98
* wav_ola_test - add CommandLine::Reset to clean up ValGrind memory leak fix.fbarchard@chromium.org2009-11-051-1/+1
| | | | | | | | | BUG=25945 TEST=similar to media_bench you should be able to valgrind on the tool and not see memory leaks. Review URL: http://codereview.chromium.org/363021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31063 0039d316-1c4b-4281-b951-d872f2087c98
* qt_faststart use %PRIX64 for 64 bit value printfs for better compatibility ↵fbarchard@chromium.org2009-08-211-5/+6
| | | | | | | | | | | with linux64 and mingw. Thanks to ambro on IIRC. BUG=19999 TEST=use qt-faststart on mingw or linux64 and notice some of the printfs have invalid values. Review URL: http://codereview.chromium.org/174272 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24046 0039d316-1c4b-4281-b951-d872f2087c98
* Updated wav_ola_test.kylep@chromium.org2009-08-061-1/+2
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/165026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22652 0039d316-1c4b-4281-b951-d872f2087c98
* deleting old file which we had issues with gcl commits onfbarchard@chromium.org2009-07-211-326/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21217 0039d316-1c4b-4281-b951-d872f2087c98
* svn wont allow commit of file. renaming to _ to avoid svn.fbarchard@chromium.org2009-07-211-0/+326
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21212 0039d316-1c4b-4281-b951-d872f2087c98
* qt-faststart is a tool that moves the 'moov' to the start of file, reducing ↵fbarchard@chromium.org2009-07-211-0/+326
| | | | | | | | | | | | | | startup latency. This version handles 'free' atoms, which are produced by mp4box and other tools, but impact ffmpeg seeks on playback. The code follows ffmpeg coding standards. BUG=17304 TEST=instrument seeks or measure latency performance and play videos with and without qt-faststart applied to the data. Review URL: http://codereview.chromium.org/149439 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21150 0039d316-1c4b-4281-b951-d872f2087c98
* Modify ARAB to use simpler data types in FillBuffer() calls.kylep@chromium.org2009-07-161-4/+6
| | | | | | | | BUG=16011 TEST=none Review URL: http://codereview.chromium.org/155615 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20892 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor WritableBuffer interface for more useful ptr management.kylep@chromium.org2009-07-161-5/+5
| | | | | | | | BUG=16011 TEST=DataBuffer unittest Review URL: http://codereview.chromium.org/149573 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20821 0039d316-1c4b-4281-b951-d872f2087c98
* Modify OLA to use window size in seconds instead of bytes.kylep@chromium.org2009-07-101-7/+15
| | | | | | | | BUG=16011 TEST=none Review URL: http://codereview.chromium.org/157001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20416 0039d316-1c4b-4281-b951-d872f2087c98
* Test fwrite returnval in wav_ola_test.cc to fix ubuntu compile warning.kylep@chromium.org2009-07-071-1/+4
| | | | | | Review URL: http://codereview.chromium.org/155160 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20077 0039d316-1c4b-4281-b951-d872f2087c98
* OLA Algorithm and test shell.kylep@chromium.org2009-07-071-0/+153
BUG=16011 TEST=none Review URL: http://codereview.chromium.org/151120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19994 0039d316-1c4b-4281-b951-d872f2087c98