summaryrefslogtreecommitdiffstats
path: root/media/player
Commit message (Collapse)AuthorAgeFilesLines
* Removes hungarian notation in media\player. Thanks to thiago.farina@gmail.comfbarchard@chromium.org2009-09-091-56/+55
| | | | | | | | BUG=none TEST=none. just internal cleanup of a todo git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25735 0039d316-1c4b-4281-b951-d872f2087c98
* Uses POINT instead of CPoint to reduce the dependency in ATL.scherkus@chromium.org2009-09-031-1/+1
| | | | | | | | | | | | | Patch submitted by Thiago Farina: http://codereview.chromium.org/188017 BUG= http://crbug.com/2185 TEST=None Review URL: http://codereview.chromium.org/199009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25365 0039d316-1c4b-4281-b951-d872f2087c98
* Fix messy includes in media\player.maruel@chromium.org2009-09-0312-148/+65
| | | | | | | | | | This should never have been checked-in as-is. TEST=still compiles BUG=none Review URL: http://codereview.chromium.org/193007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25350 0039d316-1c4b-4281-b951-d872f2087c98
* Renames the ambiguous hwnd variable to |parent|.scherkus@chromium.org2009-08-181-2/+2
| | | | | | | | | | | | | Patch submitted by Thiago Farina: http://codereview.chromium.org/171072 BUG=None TEST=None Review URL: http://codereview.chromium.org/174017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23654 0039d316-1c4b-4281-b951-d872f2087c98
* Removes hungarian notations from list.h.paul@chromium.org2009-08-171-37/+36
| | | | | | | | | | | | Landing a patch for Thiago Farina, original CL: http://codereview.chromium.org/171026 BUG=none TEST=none Review URL: http://codereview.chromium.org/172048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23564 0039d316-1c4b-4281-b951-d872f2087c98
* media player cleanup of old unused menu itemsfbarchard@chromium.org2009-08-116-131/+9
| | | | | | | | | BUG=17415 TEST=options menu has no greyed out items in it. about box date updated. Review URL: http://codereview.chromium.org/164334 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23067 0039d316-1c4b-4281-b951-d872f2087c98
* MediaPlayer command line parser and -exit option, so a video can be played ↵fbarchard@chromium.org2009-08-102-10/+60
| | | | | | | | | | | and then the player exits. This will be useful for testing and gathering metrics. Test code has been added (but disabled) to time the full execution of the tool, so that pipeline latency can be measured and compared to Chrome. Review URL: http://codereview.chromium.org/123011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22948 0039d316-1c4b-4281-b951-d872f2087c98
* Added reference counting to the Pipeline interface.scherkus@chromium.org2009-07-182-11/+11
| | | | | | | | | BUG=17107 TEST=none Review URL: http://codereview.chromium.org/155713 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21044 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed FilterHost::Error() and Pipeline::GetTime() to more appropriate names.scherkus@chromium.org2009-07-171-1/+1
| | | | | | | | | BUG=17107 TEST=none Review URL: http://codereview.chromium.org/155711 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21013 0039d316-1c4b-4281-b951-d872f2087c98
* Unreverting "Implemented injected message loops for PipelineImpl"scherkus@chromium.org2009-07-112-2/+8
| | | | | | | | | | Guess it was a flaky layout test. TBR=hclam Review URL: http://codereview.chromium.org/155400 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20444 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Implemented injected message loops for PipelineImpl."scherkus@chromium.org2009-07-102-8/+2
| | | | | | | | | | | | I cannot repro the layout test failures, seeing if this helps. TBR=hclam BUG=none TEST=none Review URL: http://codereview.chromium.org/155396 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20439 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented injected message loops for PipelineImpl.scherkus@chromium.org2009-07-102-2/+8
| | | | | | | | | | | For now both the player and WebMediaPlayerImpl create a thread and inject its message loop into the pipeline. The end result is more-or-less the same as what we have today, but we could end up moving the pipeline onto the render thread. BUG=16008 TEST=layout tests, media_unittests should pass Review URL: http://codereview.chromium.org/155338 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20417 0039d316-1c4b-4281-b951-d872f2087c98
* Big media::Pipeline cleanup.scherkus@chromium.org2009-07-091-1/+1
| | | | | | | | | | | Before I can even start refactoring, I need to remove a lot of accumulated cruft and fix some style stuff. PipelineStatus has been merged into Pipeline and I got rid of GetInterpolatedTime() as well as the ability to schedule callbacks when time has updated. We haven't found a need for these features and they introduced a good amount of code complexity. TEST=media_unittests should still pass BUG=16008 Review URL: http://codereview.chromium.org/149215 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20218 0039d316-1c4b-4281-b951-d872f2087c98
* Remove svn:executable property from files that don't need it.thestig@chromium.org2009-07-081-0/+0
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/155199 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20161 0039d316-1c4b-4281-b951-d872f2087c98
* Micro-refactor: added VideoRendererBase::OnStop().scherkus@chromium.org2009-06-262-0/+5
| | | | | | | | | | | | Updated subclasses WtlRenderer and VideoRendererImpl as well. TEST=none BUG=none Review URL: http://codereview.chromium.org/147191 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19372 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed media::VideoThread to the more appropriate media::VideoRendererBase.scherkus@chromium.org2009-06-221-3/+2
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/141059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18970 0039d316-1c4b-4281-b951-d872f2087c98
* Media player adds seek menu and dialog.fbarchard@chromium.org2009-05-228-596/+865
| | | | | | Review URL: http://codereview.chromium.org/115692 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16778 0039d316-1c4b-4281-b951-d872f2087c98
* YUV with clipping.fbarchard@chromium.org2009-05-184-606/+680
| | | | | | | | | | | | All functions do 2 pixels at a time. 90 and 270 rotations implemented. YV16 refactored. YV12 code accepts a YuvType that allows the same code to support YV16 as well. Special case for half size removed. Special case for doubling added. 3.62 ms versus 8.62 for general purpose code. Review URL: http://codereview.chromium.org/113407 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16334 0039d316-1c4b-4281-b951-d872f2087c98
* Change WtlVideoRenderer to use VideoThread as opposed to VideoRendererBase.scherkus@chromium.org2009-05-142-16/+26
| | | | | | Review URL: http://codereview.chromium.org/113361 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16066 0039d316-1c4b-4281-b951-d872f2087c98
* Media Player view rotation options.fbarchard@chromium.org2009-05-125-590/+667
| | | | | | Review URL: http://codereview.chromium.org/112016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15825 0039d316-1c4b-4281-b951-d872f2087c98
* Call AtExitManager earlier in player app to avoid hitting DCHECKs.scherkus@chromium.org2009-05-081-2/+2
| | | | | | | | TBR=fbarchard Review URL: http://codereview.chromium.org/115148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15696 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r15615, build errors on linux and mac.sgk@google.com2009-05-084-134/+64
| | | | | | Review URL: http://codereview.chromium.org/113135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15616 0039d316-1c4b-4281-b951-d872f2087c98
* YUV scaler do horizontal mirror.fbarchard@chromium.org2009-05-084-64/+134
| | | | | | Review URL: http://codereview.chromium.org/106002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15615 0039d316-1c4b-4281-b951-d872f2087c98
* Remove embedded manifest from media player.scherkus@chromium.org2009-05-061-16/+2
| | | | | | | | TBR=fbarchard Review URL: http://codereview.chromium.org/115002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15355 0039d316-1c4b-4281-b951-d872f2087c98
* Media Player mainfrm.hfbarchard@chromium.org2009-05-055-16/+762
| | | | | | | | | | | | | | | | | | | | | | | This module contains all event handling for menus in the Media Player. The implementation is WTL (Windows Template Library) based. The main menu is: File Edit View Play Options Help File opens/closes movies and has print features. Edit has copy/paste features. View has spatial controls, such as scaling, and tool and status bars and a properties dialogue box. Play has temporal controls, such as play speed and pause. Options controls details such as Audio and Video on/off. Help is just an about box. Right clicking brings up a context menu with edit and view items. A tool bar exposes the most common menu items as buttons. Hotkeys (accelerators) are mapped to most menu items. A .RC file is used to edit the menus using the resource editor in visual studio. Dialogue boxes are each handled by a different .h. ie props.h for properties. Mainfrm.h does some minor dialogue boxes directly, such as the file selector and alert boxes for errors. Review URL: http://codereview.chromium.org/99087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15311 0039d316-1c4b-4281-b951-d872f2087c98
* media player movie functions to bind WTL menu events to pipeline.fbarchard@chromium.org2009-05-043-6/+192
| | | | | | Review URL: http://codereview.chromium.org/102002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15240 0039d316-1c4b-4281-b951-d872f2087c98
* Added media player File->Last to play the most recent movie again.fbarchard@chromium.org2009-05-044-15/+17
| | | | | | Review URL: http://codereview.chromium.org/100149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15239 0039d316-1c4b-4281-b951-d872f2087c98
* media player props.h file (properties)fbarchard@chromium.org2009-05-021-0/+314
| | | | | | Review URL: http://codereview.chromium.org/99114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15131 0039d316-1c4b-4281-b951-d872f2087c98
* media player wtl_render - video rendererfbarchard@chromium.org2009-04-302-0/+59
| | | | | | Review URL: http://codereview.chromium.org/99117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14922 0039d316-1c4b-4281-b951-d872f2087c98
* player_wtl main entry point separated from the rest of media player for code ↵fbarchard@chromium.org2009-04-291-0/+96
| | | | | | | | review. Review URL: http://codereview.chromium.org/56076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14829 0039d316-1c4b-4281-b951-d872f2087c98
* media player list management.fbarchard@chromium.org2009-04-281-0/+127
| | | | | | Review URL: http://codereview.chromium.org/100078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14800 0039d316-1c4b-4281-b951-d872f2087c98
* media player resource header file. Mechanically generated.fbarchard@chromium.org2009-04-281-0/+57
| | | | | | Review URL: http://codereview.chromium.org/99107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14702 0039d316-1c4b-4281-b951-d872f2087c98
* media player view window for painting frames to the display with YUV ↵fbarchard@chromium.org2009-04-281-0/+392
| | | | | | | | conversion and scaling. Review URL: http://codereview.chromium.org/100075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14701 0039d316-1c4b-4281-b951-d872f2087c98
* stdafx for precompiled stdafx generation in media player.fbarchard@chromium.org2009-04-282-0/+42
| | | | | | Review URL: http://codereview.chromium.org/100074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14694 0039d316-1c4b-4281-b951-d872f2087c98
* Resource file for media player.fbarchard@chromium.org2009-04-231-0/+484
| | | | | | Review URL: http://codereview.chromium.org/93082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14365 0039d316-1c4b-4281-b951-d872f2087c98
* Binary data for media playerfbarchard@chromium.org2009-04-222-0/+0
| | | | | | Review URL: http://codereview.chromium.org/93010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14226 0039d316-1c4b-4281-b951-d872f2087c98
* Revert tree bustage cause by r11904.hclam@chromium.org2009-03-171-124/+0
| | | | | | TBR=agl git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11906 0039d316-1c4b-4281-b951-d872f2087c98
* andrew's patchhclam@chromium.org2009-03-171-0/+124
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11904 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in media_player project, which is used for standalone media testing.scherkus@chromium.org2009-01-091-0/+9
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