summaryrefslogtreecommitdiffstats
path: root/media/build
Commit message (Collapse)AuthorAgeFilesLines
* Refactored AudioRendererImpl and NullAudioRenderer into a new base class ↵scherkus@chromium.org2009-02-241-0/+8
| | | | | | | | | | | | AudioRendererBase. AudioRendererBase handles the threaded queueing of audio data and provides simplified interfaces and methods for subclasses. As the saying goes, "threads are hard" so reducing the amount of multi-threaded code people have to write is always a good thing. Review URL: http://codereview.chromium.org/28042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10309 0039d316-1c4b-4281-b951-d872f2087c98
* Moved most functionality of video renderer into a base class ↵ralphl@chromium.org2009-02-242-0/+17
| | | | | | | | | (video_renderer_base) and implemented mock filter will full functionality execpt that it never draws anything. Review URL: http://codereview.chromium.org/20343 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10239 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in media::NullAudioRenderer, the equivalent of decoding to /dev/null.scherkus@chromium.org2009-02-131-0/+8
| | | | | | | | | | | | NullAudioRenderer effectively uses an extra thread to "throw away" the audio data at a rate resembling normal playback speed. NullAudioRenderer can also be used in situations where the client has no audio device or we haven't written an audio implementation for a particular platform yet. It supports any type of MediaFormat as long as the mime type has been set to audio/x-uncompressed. Playback rate is also supported and NullAudioRenderer will slow down and speed up accordingly. Review URL: http://codereview.chromium.org/20339 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9780 0039d316-1c4b-4281-b951-d872f2087c98
* A very basic implementation of a data source, which opens a file. ↵ralphl@chromium.org2009-02-122-0/+24
| | | | | | | | Implementation of the DataSource media filter interface. Review URL: http://codereview.chromium.org/21111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9642 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in default implementation of AudioRenderer interface, ↵scherkus@chromium.org2009-02-101-0/+12
| | | | | | | | AudioRendererImpl. Review URL: http://codereview.chromium.org/20123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9489 0039d316-1c4b-4281-b951-d872f2087c98
* Updated pipeline unit test and added mocks for a full audio pipeline.ralphl@chromium.org2009-02-051-0/+4
| | | | | | Review URL: http://codereview.chromium.org/21061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9268 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in media::Synchronizer, a utility class to facilitate A/V ↵scherkus@chromium.org2009-01-301-0/+8
| | | | | | | | synchronization. Review URL: http://codereview.chromium.org/19693 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8950 0039d316-1c4b-4281-b951-d872f2087c98
* Implementation of Pipeline and FilterHost interfaces. This is a large ↵ralphl@chromium.org2009-01-281-0/+4
| | | | | | | | | | | | change, but all of the objects are interrelated. I am also checking in a basic unit test that creates pipeline, and the data source hangs during initialization. The test sleeps one second and then stops the pipeline. Andrew has already done a first pass on this, and the code has come largely from our working experimental branch. Review URL: http://codereview.chromium.org/18546 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8805 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in filter factory code.scherkus@chromium.org2009-01-151-0/+4
| | | | | | | | Read the comments in media/base/factory.h for details. Review URL: http://codereview.chromium.org/17257 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8071 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in basic pipeline interface and stubbed out media::PipelineImpl.scherkus@chromium.org2009-01-141-0/+12
| | | | | | | | This interface is going to be updated some more in the future, but I'd like to get the basics in first. Review URL: http://codereview.chromium.org/17299 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8046 0039d316-1c4b-4281-b951-d872f2087c98
* Low level windows audio support (part 2 of 2)cpu@google.com2009-01-131-0/+20
| | | | | | | | | | | | | - Implementation using the WaveXXXX windows API - Unit tests for the implementation and for the previous CL that had the sine wave simple source. This is the harder one :) I tried to add comments to illuminate the thinking. Review URL: http://codereview.chromium.org/17403 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7988 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in media_player project, which is used for standalone media testing.scherkus@chromium.org2009-01-091-0/+153
| | | | | | | | It does nothing yet and is only included in media.sln. Review URL: http://codereview.chromium.org/17221 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7799 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in stubbed out media::FilterHostImpl and updated Windows and Linux ↵scherkus@chromium.org2009-01-061-0/+8
| | | | | | | | build files. Review URL: http://codereview.chromium.org/17067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7602 0039d316-1c4b-4281-b951-d872f2087c98
* Audio support drop 2cpu@google.com2008-12-202-0/+20
| | | | | | | | | | | - First part of Windows mock stream support - Windows unittests Scons modifications will come next Review URL: http://codereview.chromium.org/15087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7341 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in media::FilterHostInterface.scherkus@chromium.org2008-12-181-0/+4
| | | | | | | | | | FilterHostInterface allows filters to access global filter state, receive notification callbacks and signal notifications of their own. It is similar in design to how asynchronous procedure calls are implemented in Chrome, where the return value arrives asynchonously sometime in the future. Review URL: http://codereview.chromium.org/13327 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7250 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in media::DataBuffer, a simple implementation of ↵scherkus@chromium.org2008-12-162-2/+18
| | | | | | | | | | | | WritableBufferInterface. Removed media/base/media.cc, since it's no longer needed to generate media.lib. Also added media/using_media.scons and updated scons files for Linux build. Review URL: http://codereview.chromium.org/13682 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7099 0039d316-1c4b-4281-b951-d872f2087c98
* Switch back svn:eol-style=native for .sln, .vcproj and .vsprops files.maruel@chromium.org2008-12-162-306/+306
| | | | | | | Patch fails otherwise on non-Windows platforms. Review URL: http://codereview.chromium.org/14478 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7093 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in media::MediaFormat class, which describes the output of a filter.scherkus@chromium.org2008-12-051-0/+8
| | | | | | Review URL: http://codereview.chromium.org/13149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6412 0039d316-1c4b-4281-b951-d872f2087c98
* Adding media filters interface definitions.The scheduler (forward declared ↵scherkus@chromium.org2008-12-041-0/+4
| | | | | | | | and mentioned in comments) will arrive in a later patch. The buffers are already checked in under media/base/buffers.h Review URL: http://codereview.chromium.org/13116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6393 0039d316-1c4b-4281-b951-d872f2087c98
* Changed svn:eol-style of all .sln and .vcproj files to CRLFscherkus@chromium.org2008-12-042-294/+294
| | | | | | Review URL: http://codereview.chromium.org/13133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6372 0039d316-1c4b-4281-b951-d872f2087c98
* Set svn:eol-style LF for .h, .cc and .scons files.scherkus@chromium.org2008-12-042-294/+294
| | | | | | | | Set svn:eol-style native for .vcproj files. Set svn:eol-style CRLF for .sln files. Review URL: http://codereview.chromium.org/12931 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6346 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in media common header file and buffer pure interfaces.scherkus@chromium.org2008-12-011-0/+4
| | | | | | | R=cpu,darin Review URL: http://codereview.chromium.org/12701 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6167 0039d316-1c4b-4281-b951-d872f2087c98
* Recommit of media project files due to a mistake in media_unittest.vcprojscherkus@chromium.org2008-11-142-0/+290
| | | | | | | | | | | | | that worked in Visual Studio but broke on IncrediBuild. Also updated to include dmg_fp dependency. Trying ONE MORE TIME because I think gcl breaks with "A +" files (I used "svn merge -c REV ." to un-rollback my change). Original: http://codereview.chromium.org/10683 Rollback: http://codereview.chromium.org/10908 Review URL: http://codereview.chromium.org/10733 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5490 0039d316-1c4b-4281-b951-d872f2087c98
* * Revert "Checking in the media project files (layout based on net/base ↵agl@chromium.org2008-11-132-262/+0
| | | | | | | | | | | libraries)." This reverts commit fdeb8575309055ad23803b376659c236099348ac. Review URL: http://codereview.chromium.org/10908 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5392 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in the media project files (layout based on net/base libraries).scherkus@chromium.org2008-11-132-0/+262
Added a dummy media.cc file in order to produce media.lib so there are no linker errors when building media_unittests.exe. Currently chrome_dll does NOT depend on media so it will not be linked in, which is OK for now :) Review URL: http://codereview.chromium.org/10683 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5389 0039d316-1c4b-4281-b951-d872f2087c98