summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* Log BufferedResourceLoader events to MediaLog.scottfr@chromium.org2011-08-093-22/+30
| | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/7591001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96014 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leak in MediaLog.scottfr@chromium.org2011-08-081-1/+4
| | | | | | | | | BUG=91896 TEST=trybots Review URL: http://codereview.chromium.org/7584033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95884 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r95841 due to failing media_unittests on linux_shared bot.darin@chromium.org2011-08-0877-233/+150
| | | | | | | TBR=fischman@chromium.org Review URL: http://codereview.chromium.org/7601002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95846 0039d316-1c4b-4281-b951-d872f2087c98
* Enable media.dll / libmedia.so.darin@chromium.org2011-08-0877-150/+233
| | | | | | Review URL: http://codereview.chromium.org/7572040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95841 0039d316-1c4b-4281-b951-d872f2087c98
* Implement PPAPI VideoDecode out-of-process supportvrk@chromium.org2011-08-061-1/+1
| | | | | | | | | | | | | This CL implements the proxy necessary for out-of-process video decoding and introduces a shared base class between the PPB_VideoDecoder_Impl and the proxy. BUG=NONE TEST=gles2 plugin runs with or without --ppapi-out-of-process flag, no crashes Review URL: http://codereview.chromium.org/7545014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95724 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb media data from renderers up to MediaInternals in the browser process.scottfr@chromium.org2011-08-054-0/+152
| | | | | | | | | | | Relanding 95542. Reverted due to issue caused by 95496. BUG=none TEST=manually Review URL: http://codereview.chromium.org/7480032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95685 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 95496 - Create media.dllapatrick@chromium.org2011-08-0571-218/+142
| | | | | | | | | Review URL: http://codereview.chromium.org/7523051 TBR=darin@chromium.org Review URL: http://codereview.chromium.org/7491048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95561 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 95499 - Switch back to only building static library as this is not ↵apatrick@chromium.org2011-08-051-1/+1
| | | | | | | | | | | | | | ready on all platforms. TBR=apatrick Review URL: http://codereview.chromium.org/7575019 TBR=darin@chromium.org Review URL: http://codereview.chromium.org/7583001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95560 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 95542 - Plumb media data from renderers up to MediaInternals in the ↵yzshen@chromium.org2011-08-054-152/+0
| | | | | | | | | | | | | | | browser process. BUG=none TEST=manually Review URL: http://codereview.chromium.org/7480032 TBR=scottfr@chromium.org Review URL: http://codereview.chromium.org/7566054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95545 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb media data from renderers up to MediaInternals in the browser process.scottfr@chromium.org2011-08-054-0/+152
| | | | | | | | | | BUG=none TEST=manually Review URL: http://codereview.chromium.org/7480032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95542 0039d316-1c4b-4281-b951-d872f2087c98
* Switch back to only building static library as this is not ready on alldarin@chromium.org2011-08-041-1/+1
| | | | | | | | | platforms. TBR=apatrick Review URL: http://codereview.chromium.org/7575019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95499 0039d316-1c4b-4281-b951-d872f2087c98
* Create media.dlldarin@chromium.org2011-08-0471-142/+218
| | | | | | Review URL: http://codereview.chromium.org/7523051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95496 0039d316-1c4b-4281-b951-d872f2087c98
* Make ChunkDemuxer error handling more consistent and robust.acolwell@chromium.org2011-08-043-65/+170
| | | | | | | | | | | This fixes a variety of error cases exposed by the WebKit LayoutTests I created to test this code. The ChunkDemuxer unit tests were updated to expose these cases as well. BUG=86536 TEST=ChunkDemuxerTest.* Review URL: http://codereview.chromium.org/7538027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95425 0039d316-1c4b-4281-b951-d872f2087c98
* Fix invalid stack pointer dereference in ChunkDemuxer.acolwell@chromium.org2011-08-022-11/+28
| | | | | | | | | | | Changed the ChunkDemuxer to make sure the FFmpegURLProtocol object's lifetime is longer than the lifetime of format_context_. This is necessary because the format_context_ holds a pointer to the protocol deep within its structure and can use it any time during the context's lifetime. BUG=86536 TEST=ChunkDemuxerTest.* Review URL: http://codereview.chromium.org/7545025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95158 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug that shows incorrect revision author/message in the layout testimasaki@google.com2011-08-021-9/+11
| | | | | | | | | | analyzer. Previously, analyzer's email shows previous revision author/message. Updated to show current author/message. Also added some comments and renames variables to avoid confusion. The fix is verified using integration environment. Review URL: http://codereview.chromium.org/7552013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95156 0039d316-1c4b-4281-b951-d872f2087c98
* Add a proxy for thread-hopping VideoCapture::EventHandler.piman@chromium.org2011-08-023-0/+233
| | | | | | | | | | BUG=None TEST=Video Capture PPAPI example (in later CL) Review URL: http://codereview.chromium.org/7537037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95140 0039d316-1c4b-4281-b951-d872f2087c98
* Small bug fix in get_all_column_names() in layout test analyzer. When if ↵imasaki@google.com2011-08-022-1/+19
| | | | | | | | include_other_fields is false, return_list should not include the OTHER_FIELD_NAME. Review URL: http://codereview.chromium.org/7518038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95086 0039d316-1c4b-4281-b951-d872f2087c98
* First pass at removal of unneeded dependencies on skia\ext\platform_canvas.htwiz@google.com2011-08-021-1/+1
| | | | | | | | | | All 'low-hanging' platform_canvas.h dependencies have been removed, and replaced with skia-specific includes. BUG=None TEST=None Review URL: http://codereview.chromium.org/7517020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95083 0039d316-1c4b-4281-b951-d872f2087c98
* Initial checkin of test expectation part of layout test analyzer. ↵imasaki@google.com2011-08-012-0/+646
| | | | | | | | Originally, these are developed as part of Webkit so it follows Webkit code code convention. Other part of the code for analyzer is coming in the later CRs. Review URL: http://codereview.chromium.org/7480031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94931 0039d316-1c4b-4281-b951-d872f2087c98
* Move SwizzleCoreAudioLayout5_1() closer to where it's called.scherkus@chromium.org2011-07-292-19/+17
| | | | | | Review URL: http://codereview.chromium.org/7533020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94744 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for Decode() calls during Reset().fischman@chromium.org2011-07-291-3/+3
| | | | | | | | | | | | | | Decode() calls are now queued for later processing when the decoder is in RESETTING state. Also output buffers are queued by OVDA during the Flush() triggered by Reset() for re-use as soon as the Reset is done. BUG=none TEST=ovdatest, gles2, trybots Review URL: http://codereview.chromium.org/7524032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94700 0039d316-1c4b-4281-b951-d872f2087c98
* ffmpeg: r94155 -> r94207evan@chromium.org2011-07-271-1/+2
| | | | | | | | | | | | | | Includes: r94192 Clarify ffmpeg.gyp comments. r94207 Build ffmpegsumo as a loadable_module, not a shared_library The latter change causes us to use a new name for ffmpegsumo on Mac. BUG=74216 Review URL: http://codereview.chromium.org/7470035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94390 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 93723 - Migrate DataSourceFactory to new callback system.acolwell@chromium.org2011-07-279-122/+371
| | | | | | | | | | | | BUG=90214 TEST=BufferedDataSourceTest.*, SimpleDataSourceTest.* Review URL: http://codereview.chromium.org/7461035 TBR=acolwell@chromium.org Review URL: http://codereview.chromium.org/7482029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94376 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 93891 - Migrate DemuxerFactory to new callback system.acolwell@chromium.org2011-07-2713-59/+108
| | | | | | | | | | | | BUG=90214 TEST=None Review URL: http://codereview.chromium.org/7489024 TBR=acolwell@chromium.org Review URL: http://codereview.chromium.org/7524011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94374 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 94316 - Fix invalid pointer dereference in WebDataSourceFactory when ↵acolwell@chromium.org2011-07-277-0/+19
| | | | | | | | | | | | | | | | playback is cancelled during init. Removed Clone() from DemuxerFactory since it isn't being used. BUG=90393 TEST=WebDataSourceFactoryTest.* Review URL: http://codereview.chromium.org/7465048 TBR=acolwell@chromium.org Review URL: http://codereview.chromium.org/7482028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94373 0039d316-1c4b-4281-b951-d872f2087c98
* Fix invalid pointer dereference in WebDataSourceFactory when playback is ↵acolwell@chromium.org2011-07-277-19/+0
| | | | | | | | | | | | | cancelled during init. Removed Clone() from DemuxerFactory since it isn't being used. BUG=90393 TEST=WebDataSourceFactoryTest.* Review URL: http://codereview.chromium.org/7465048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94316 0039d316-1c4b-4281-b951-d872f2087c98
* MD5Update function uses StringPiece instead of raw buffer.dominich@chromium.org2011-07-262-9/+20
| | | | | | | | | | BUG=none TEST=base_unittests --gtest_filter=MD5.ContextWithStringData* Review URL: http://codereview.chromium.org/7466003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94203 0039d316-1c4b-4281-b951-d872f2087c98
* singal error to host when demuxer_stream doesn't exist in ffmpeg_video_decoder.wjia@chromium.org2011-07-251-0/+8
| | | | | | | | BUG=90250 TEST=trybots Review URL: http://codereview.chromium.org/7461045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93942 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate DemuxerFactory to new callback system.acolwell@chromium.org2011-07-2513-108/+59
| | | | | | | | | BUG=90214 TEST=None Review URL: http://codereview.chromium.org/7489024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93891 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate DataSourceFactory to new callback system.acolwell@chromium.org2011-07-229-371/+122
| | | | | | | | | BUG=90214 TEST=BufferedDataSourceTest.*, SimpleDataSourceTest.* Review URL: http://codereview.chromium.org/7461035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93723 0039d316-1c4b-4281-b951-d872f2087c98
* Remove VideoDecoder::ProvidesBuffer() and corresponding changes in ↵scherkus@chromium.org2011-07-2210-78/+33
| | | | | | | | | | | | | | | VideoDecodeEngine. Every implementation returned true so no reason to complicate client code. Added OVERRIDE for relevant classes. BUG=none TEST=media_unittests, unit_tests Review URL: http://codereview.chromium.org/7482007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93666 0039d316-1c4b-4281-b951-d872f2087c98
* Rev DEPS to July ffmpeg drop.ihf@chromium.org2011-07-221-0/+1
| | | | | | | | | | | | Add CrOS 3gp and flac media files. Fix media_bench. BUG=88696, 88436, 88850 and CrOS:17352,16026,17380 TESTS=ran videos on mario and tegra Review URL: http://codereview.chromium.org/7398011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93551 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chromium's FFmpeg file URLProtocol implementation.scherkus@chromium.org2011-07-221-2/+6
| | | | | | | | | | | | The flag values were changed resulting in Chromium opening the file for create resulting in a 0-byte file. BUG=88784 TEST=use media_bench/ffmpeg_unittests, the file won't be overwritten Review URL: http://codereview.chromium.org/7466034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93526 0039d316-1c4b-4281-b951-d872f2087c98
* Allow creating a gpu channel that uses software renderingjbauman@chromium.org2011-07-211-1/+1
| | | | | | | | | | | | | Where supported (on ANGLE with EGL_ANGLE_software_display), allow for the creation of gpu channels that use software rendering instead of hardware rendering. BUG= TEST=trybots, other later tests TBR=apatrick Review URL: http://codereview.chromium.org/7471042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93449 0039d316-1c4b-4281-b951-d872f2087c98
* End of stream logic implemented & removed the need for pending_buffers_.acolwell@chromium.org2011-07-217-155/+184
| | | | | | | | | BUG=86536 TEST=ChunkDemuxerTest.* Review URL: http://codereview.chromium.org/7401029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93405 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 93393 - Crashed Linux Touch build: ↵leandrogracia@chromium.org2011-07-211-1/+1
| | | | | | | | | | | | | | | | | | http://build.chromium.org/p/chromium/builders/Linux%20Touch/builds/2649/steps/compile/logs/stdio Allow creating a gpu channel that uses software rendering Where supported (on ANGLE with EGL_ANGLE_software_display), allow for the creation of gpu channels that use software rendering instead of hardware rendering. BUG= TEST=trybots, other later tests Review URL: http://codereview.chromium.org/7383004 TBR=jbauman@chromium.org Review URL: http://codereview.chromium.org/7468030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93399 0039d316-1c4b-4281-b951-d872f2087c98
* Allow creating a gpu channel that uses software renderingjbauman@chromium.org2011-07-211-1/+1
| | | | | | | | | | | Where supported (on ANGLE with EGL_ANGLE_software_display), allow for the creation of gpu channels that use software rendering instead of hardware rendering. BUG= TEST=trybots, other later tests Review URL: http://codereview.chromium.org/7383004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93393 0039d316-1c4b-4281-b951-d872f2087c98
* Remove MediaFormat once and for all.scherkus@chromium.org2011-07-2016-214/+5
| | | | | | | | | BUG=28206 TEST=media_unittests, unit_tests, layout_tests Review URL: http://codereview.chromium.org/7452016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93282 0039d316-1c4b-4281-b951-d872f2087c98
* Replace VideoDecoder::media_format() with significantly simpler ↵scherkus@chromium.org2011-07-2013-154/+91
| | | | | | | | | | | | | | | | | width()/height() methods. Clients don't really care about the surface type during initialization, hence its removal. Also removed a few methods from VideoRendererBase that didn't need to be there. Technically it's possible to do without width()/height() methods entirely, forcing clients to inspect VideoFrame objects for changes in dimensions and react accordingly, but that'll be a change for a different day. BUG=28206 TEST=media_unittests, unit_tests, layout_tests Review URL: http://codereview.chromium.org/7461016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93278 0039d316-1c4b-4281-b951-d872f2087c98
* Deduplicate YUV copying code, update call sites, and add some unit tests.scherkus@chromium.org2011-07-207-59/+254
| | | | | | | | | | Historically such code is a source of out-of-bound reads/writes. TEST=media_unittests Review URL: http://codereview.chromium.org/7452009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93276 0039d316-1c4b-4281-b951-d872f2087c98
* Redid VideoDecodeAccelerator::Error codes and propagated to ppapi.fischman@chromium.org2011-07-201-11/+11
| | | | | | | | | BUG=none TEST=chrome builds, gles2 & ovdatest pass, trybots Review URL: http://codereview.chromium.org/7452010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93251 0039d316-1c4b-4281-b951-d872f2087c98
* reland patch http://codereview.chromium.org/7204008 after webrtc build has ↵wjia@chromium.org2011-07-201-4/+4
| | | | | | | | | | been fixed. BUG=none TEST=try bots Review URL: http://codereview.chromium.org/7458006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93235 0039d316-1c4b-4281-b951-d872f2087c98
* Removing CreateFrameExternal(), CreateFrameGl(), and SurfaceType from ↵scherkus@chromium.org2011-07-2011-168/+16
| | | | | | | | | | VideoFrame. They've never been used. Review URL: http://codereview.chromium.org/7439007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93145 0039d316-1c4b-4281-b951-d872f2087c98
* some cleanup for base/stl_utildilmah@chromium.org2011-07-1912-12/+12
| | | | | | | | | | | | | removed unused/irrelevant functions removed irrelevant comments Moved stl_util-inl.h => stl_util.h BUG=None TEST=None Review URL: http://codereview.chromium.org/7342047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93110 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Gles2VideoRenderer from player_x11 and make X11 vs GL rendering a ↵scherkus@chromium.org2011-07-198-738/+57
| | | | | | | | | | | run-time option. Also removed AdaptiveDemuxer since it causes run-time checks at the moment. Review URL: http://codereview.chromium.org/7410008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93074 0039d316-1c4b-4281-b951-d872f2087c98
* Move app/sql/* files to sql/ directory.tfarina@chromium.org2011-07-191-1/+1
| | | | | | | | | | | | | | | | I can't remove app/app.gyp and app/app_base.gypi yet because they are referenced by third_party gyp files :( BUG=72317 TEST=None R=rsesek@chromium.org move app/sql to sql Review URL: http://codereview.chromium.org/7353026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93069 0039d316-1c4b-4281-b951-d872f2087c98
* Remove redundant size and type information from VideoDecode PPAPIvrk@google.com2011-07-193-82/+16
| | | | | | | | | | | | | | | | | | | The visible size of the video frame is determined at Create stage. The type of buffer (from system memory or texture-backed via GLES) is decided by the plugin when it calls AssignGLESBuffers or AssignSysmemBuffers in response to ProvidePictureBuffers. The decoded size will be the same as the size requested in ProvidePictureBuffers. Thus these values specified anywhere else is redundant, and introduces a place to have inconsistency. BUG=NONE TEST=ovda unittest passes; gles2 runs w/o crashing Review URL: http://codereview.chromium.org/7021020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93031 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up VideoFrame::CreateXXX and VideoFrame::AllocXXX methods.scherkus@chromium.org2011-07-1812-215/+169
| | | | | | | | No need to confuse people with potentially-NULL pointers due to out-of-memory conditions. Review URL: http://codereview.chromium.org/7396007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92917 0039d316-1c4b-4281-b951-d872f2087c98
* base: Put md5.* into base namespace.tfarina@chromium.org2011-07-182-22/+19
| | | | | | | | | | | BUG=89274 TEST=None R=evan@chromium.org Review URL: http://codereview.chromium.org/7395021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92861 0039d316-1c4b-4281-b951-d872f2087c98
* Fix media code to use initializer-list style for inheritance.scherkus@chromium.org2011-07-1812-35/+43
| | | | | | Review URL: http://codereview.chromium.org/7400013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92826 0039d316-1c4b-4281-b951-d872f2087c98