summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* This is the frozen interface definition for the media pipeline, filters, and ↵ralphl@chromium.org2009-01-219-279/+346
| | | | | | | | | | | | | | filter hosts. It has been pre-code-reviewed by scherkus already. There is no actual implementation in this change -- only an empty skeleton for every public method is provided. The actual code is ready, but this change is intended to get buy-off for the public interface. I added pipeline_impl.cc to the media_lib.scons since it was missing (it was present in the .sln file already) Review URL: http://codereview.chromium.org/18380 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8396 0039d316-1c4b-4281-b951-d872f2087c98
* Do not runsome PCM audio tests on the botscpu@google.com2009-01-192-3/+25
| | | | | | | | | | | | | | - They are flaky when somebody RDPs into the bots. The system somehow installs an audio device on the fly that goes bad. - I think this is the issue as well on the trybots TBR=nsylvain Review URL: http://codereview.chromium.org/18197 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8272 0039d316-1c4b-4281-b951-d872f2087c98
* Testing to determine why some trybots have issues with some PCMWave testing.cpu@google.com2009-01-171-2/+3
| | | | | | | | TBR=maruel Review URL: http://codereview.chromium.org/18188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8254 0039d316-1c4b-4281-b951-d872f2087c98
* Removed Interface from the end of a bunch of media classes.scherkus@chromium.org2009-01-157-76/+74
| | | | | | | | Also added in missing "public" inheritance to FilterFactory. Review URL: http://codereview.chromium.org/18261 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8114 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in filter factory code.scherkus@chromium.org2009-01-152-0/+140
| | | | | | | | 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
* Re-enable the audio tests that fail in the botscpu@google.com2009-01-144-4/+24
| | | | | | | | | - Basically skip some tests if the OS reports there is no audio device. Review URL: http://codereview.chromium.org/16811 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8047 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in basic pipeline interface and stubbed out media::PipelineImpl.scherkus@chromium.org2009-01-144-0/+207
| | | | | | | | 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
* disable failing media unit teststc@google.com2009-01-141-4/+4
| | | | | | | | | | these don't work on my machine either TBR=cpu Review URL: http://codereview.chromium.org/18039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8000 0039d316-1c4b-4281-b951-d872f2087c98
* Low level windows audio support (part 2 of 2)cpu@google.com2009-01-134-9/+589
| | | | | | | | | | | | | - 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
* Low level windows audio support (part 1 of 2)cpu@google.com2009-01-133-33/+125
| | | | | | | | | | | | | - Windows specific changes to AudioManager Allows testing for mock streams This this the first part of the code that adds support for audio using waveXXX API. Since is relatively lot of code I will do two CLs, unfortunately the complexity is not evenly split. Review URL: http://codereview.chromium.org/17401 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7987 0039d316-1c4b-4281-b951-d872f2087c98
* Call logging::InitLogging. The lack of this was causing some hangs (and ↵erikkay@google.com2009-01-131-2/+0
| | | | | | | | | | | possibly crashes) in ObserverListTest.BUG=6286 This CL has expanded to include some cleanup and refactoring of test_suite and related files, so that this logging change (and other improvements) are applied to all unit tests. Review URL: http://codereview.chromium.org/18003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7977 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in media_player project, which is used for standalone media testing.scherkus@chromium.org2009-01-093-0/+172
| | | | | | | | 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
* Fix media.sln, I removed dmg_fp.vcproj a long time ago.tc@google.com2009-01-091-8/+0
| | | | | | Review URL: http://codereview.chromium.org/17290 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7794 0039d316-1c4b-4281-b951-d872f2087c98
* Removed FFmpeg constants from media::MediaFormat and media::mime_type.scherkus@chromium.org2009-01-072-10/+0
| | | | | | | | They're specific to the FFmpeg filters themselves and shouldn't be declared here. They're not used anywhere at the moment so removing them is fine for now. Review URL: http://codereview.chromium.org/17240 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7699 0039d316-1c4b-4281-b951-d872f2087c98
* Update googletest (gtest) to 1.2.1maruel@chromium.org2009-01-071-2/+2
| | | | | | | The main new thing is the ability to print the test's duration. Review URL: http://codereview.chromium.org/17212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7668 0039d316-1c4b-4281-b951-d872f2087c98
* Changed media::DataSourceInterface to use string instead of wstring.scherkus@chromium.org2009-01-071-1/+1
| | | | | | Review URL: http://codereview.chromium.org/16531 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7648 0039d316-1c4b-4281-b951-d872f2087c98
* Changed media::kRawAudio/Video constants to the correct ↵scherkus@chromium.org2009-01-071-2/+2
| | | | | | | | | | media::kUncompressedAudio/Video. They were previously changed in the header file but I forgot to change the source file. Review URL: http://codereview.chromium.org/17222 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7646 0039d316-1c4b-4281-b951-d872f2087c98
* Updated media.xcodeproj to include filter_host_impl.cc,h.scherkus@chromium.org2009-01-061-0/+6
| | | | | | Review URL: http://codereview.chromium.org/17209 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7612 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in stubbed out media::FilterHostImpl and updated Windows and Linux ↵scherkus@chromium.org2009-01-064-0/+149
| | | | | | | | 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
* Forgot to make a few media::FilterHostInterface functions pure virtual.scherkus@chromium.org2009-01-061-11/+11
| | | | | | Review URL: http://codereview.chromium.org/16527 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7601 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in media.xcodeproj.scherkus@chromium.org2009-01-051-0/+846
| | | | | | Review URL: http://codereview.chromium.org/15406 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7561 0039d316-1c4b-4281-b951-d872f2087c98
* A simple tone source useful for testing and troubleshootingcpu@google.com2009-01-052-0/+83
| | | | | | | | - Only windows 16 PCM mono implementation so far. Review URL: http://codereview.chromium.org/16226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7557 0039d316-1c4b-4281-b951-d872f2087c98
* Mass convert ChromeStaticLibrary -> ChromeLibrary, including pulling the ↵evanm@google.com2008-12-261-1/+1
| | | | | | | | | | | updated ICU dep that uses it as well. Add a SHARED scons command-line flag to build shared libraries. Review URL: http://codereview.chromium.org/16477 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7479 0039d316-1c4b-4281-b951-d872f2087c98
* Audio support drop 2cpu@google.com2008-12-205-1/+177
| | | | | | | | | | | - 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
* Initial generation of native Visual Studio solution filessgk@google.com2008-12-192-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (project files still to come). To wit: * Solution file configuration is in *_sln.scons files (base\base_sln.scons, chrome\chrome_sln.scons). * Individual Project file configuration is in the the .scons file for the relevant target (base\base_unittests.scons, third_party\libxml\libxml.scons, etc.)--that is, where their file lists will live. * MSVSProject() calls are currently placeholders that establish the existence of Project Nodes (and Project dependencies) but don't yet have actual Project configuration information (file lists, .vsprops, etc.). * Configuraiton is very manual. In particular, the entries in the .sln file will be written out in exactly the order specified in the configuration(s). The current ordering is taken from our existing .sln files, so we can generate virtually the same configurations on output. * Generated solution files are nearly byte-for-byte identical with our existing .sln files, modulo: * net\dump_cache has a WebsiteProperties sections (making that configurable per project isn't important right now); * sandbox\sandbox.sln was missing a dependency of base.vcproj on on debug_message.vcproj (present in other .sln files) * webkit\webkit.sln was missing dependencies of WebCore.vcproj on libxml_config.vcproj and libxslt_config.vcproj (present in chrome.sln); * add a handful of other miscellaneous missing dependencies on various .vcproj definitions in chrome.sln (present in other .sln files). * remove stats_viewer.csproj from chrome.sln (sorry, mbelshe), which was complicating the solution configuration with unnecessary (for us) "Mixed Platform" types; * All MSVSFolder(), MSVSProject() and MSVSSolution() calls have hard-wired guid= values taken from our existing configuration, so we can: 1) verify generation of working configs; 2) minimize diffs when checking in generated .sln files. We can remove these in the future in favor of extracting them from existing .sln files if we wish. * Add ChromeMSVSFolder(), ChromeMSVSProject() and ChromeMSVSSolution() wrappers to chromium_builders.py, that gate the underlying call to the env.MSVS*() builders based on whether env.Bit('msvs') is set (i.e., we're in --mode=msvs). * Remove platform-specific gating of to-be-ported .scons files that we now need to load on any platform to generate coheren MSVS files. Move the env.Bit('windows') tests for actually building their executables into the individual .scons files. Review URL: http://codereview.chromium.org/14472 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7297 0039d316-1c4b-4281-b951-d872f2087c98
* Convert from using env['PLATFORM'] directly to using the more flexiblesgk@google.com2008-12-182-5/+5
| | | | | | | | | | | | | | | | | | and better-thought-out Hammer env.Bits() idioms: * env['PLATFORM'] == 'win32' => env.Bit('windows') * env['PLATFORM'] == 'posix' => env.Bit('linux') * env['PLATFORM'] == 'darwin' => env.Bit('mac') New idioms: * env.Bit('posix') => really does mean "any POSIX platform" * env.AnyBits('mac', 'linux') => specifically mac or linux, excluding other POSIX platforms Where we were using compound conditionals (e.g., "env['PLATFORM'] in ('posix', 'darwin')") I tried to take my best shot at translating the intent (i.e., "env.Bits('posix')" for something POSIX, "not env.Bits('mac')" for something not yet ported to Mac, etc.) Review URL: http://codereview.chromium.org/15051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7270 0039d316-1c4b-4281-b951-d872f2087c98
* Same as 14820 but moved into media foldercpu@google.com2008-12-181-0/+135
| | | | | | | | | | - Low level audio interface for 'raw' formats - Upcomming windows implementation Review URL: http://codereview.chromium.org/15047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7254 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in media::FilterHostInterface.scherkus@chromium.org2008-12-183-3/+144
| | | | | | | | | | 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
* Updated media::MediaFormat to use char/std::string instead of ↵scherkus@chromium.org2008-12-172-22/+22
| | | | | | | | wchar_t/std::wstring. Review URL: http://codereview.chromium.org/14805 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7168 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in media::DataBuffer, a simple implementation of ↵scherkus@chromium.org2008-12-1610-23/+202
| | | | | | | | | | | | 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-163-391/+391
| | | | | | | 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
* Updated MediaFormat to use std::string and char/wchar_t constants and ↵scherkus@chromium.org2008-12-092-61/+60
| | | | | | | | tweaked MediaFormat::Clear. Review URL: http://codereview.chromium.org/13211 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6559 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaned up Media filter interface comments and definitions.scherkus@chromium.org2008-12-081-35/+24
| | | | | | | | | | The changes are based on Darin's comments on the Media buffer interface definitions (i.e., comments, virtual destructors). Also, I figured you might be interested :) Review URL: http://codereview.chromium.org/13261 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6553 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in media buffer pure interfaces.scherkus@chromium.org2008-12-081-20/+37
| | | | | | | | | | R=cpu,darin Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=6167 Review URL: http://codereview.chromium.org/12701 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6537 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for gcc build breakscherkus@chromium.org2008-12-051-2/+5
| | | | | | Review URL: http://codereview.chromium.org/13157 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6413 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in media::MediaFormat class, which describes the output of a filter.scherkus@chromium.org2008-12-055-1/+223
| | | | | | 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-043-0/+185
| | | | | | | | 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-043-444/+444
| | | | | | | | 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
* Added missing DEPS file for media subdirectory. Fixes checkdeps breakage.scherkus@chromium.org2008-12-011-0/+2
| | | | | | Review URL: http://codereview.chromium.org/13026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6177 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed gcc build break due to nested templates (>> should be > >)scherkus@chromium.org2008-12-011-1/+1
| | | | | | | TBR=ojan Review URL: http://codereview.chromium.org/12841 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6173 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in media common header file and buffer pure interfaces.scherkus@chromium.org2008-12-013-1/+159
| | | | | | | 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
* Put base/media.cc in the SCons build.sgk@google.com2008-11-171-0/+1
| | | | | | | SCons doesn't generate a library with no source files, leading to a build error on Linux (when trying to build the whole tree) and Windows. Review URL: http://codereview.chromium.org/10784 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5550 0039d316-1c4b-4281-b951-d872f2087c98
* Recommit of media project files due to a mistake in media_unittest.vcprojscherkus@chromium.org2008-11-149-0/+524
| | | | | | | | | | | | | 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-139-478/+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-139-0/+478
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