summaryrefslogtreecommitdiffstats
path: root/media/video
Commit message (Collapse)AuthorAgeFilesLines
* Move ScreenCaptureDevice from media to content.sergeyu@chromium.org2013-06-115-623/+0
| | | | | | | | | | | Screen capture code has been moved from media to third-party/webrtc, so it doesn't make sense to keep ScreenCaptureDevice in media anymore. R=dalecurtis@chromium.org, jam@chromium.org Review URL: https://codereview.chromium.org/16373013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205655 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of strings headers in ipc/, jingle/, media/.avi@chromium.org2013-06-114-5/+5
| | | | | | | | | | BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16684003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205436 0039d316-1c4b-4281-b951-d872f2087c98
* Update includes of message_loop_proxy.brettw@chromium.org2013-06-101-1/+1
| | | | | | | | | | | This keeps the forwarding header, just updates all current callers. BUG= R=avi@chromium.org Review URL: https://codereview.chromium.org/16514006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205306 0039d316-1c4b-4281-b951-d872f2087c98
* Move FileEnumerator to its own file, do some refactoring.brettw@chromium.org2013-06-081-6/+6
| | | | | | | | | | | | | | It creates a class FileInfo to contain the details rather than using a platform-specific typedef. This allows the accessors GetName, GetSize, etc. to be moved directly to this class (previously they were static helpers on the FileEnumerator class) which makes a bunch of code much cleaner. It also gives reasonable getting and initialization which the previous version lacked. BUG=175002 Reland of 198820 and 298824 Original review = https://codereview.chromium.org/13165005 R=rvargas@chromium.org Review URL: https://codereview.chromium.org/16392011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205019 0039d316-1c4b-4281-b951-d872f2087c98
* Remove screen capturers from media/video/capture/screen.sergeyu@chromium.org2013-06-0740-5394/+22
| | | | | | | | | | | | Screen capturers have been moved to webrtc. This change switches chromoting and getUserMedia() to the new copy of the capturers in webrtc and removes old copy from media. TBR=jschuh@chromium.org Review URL: https://chromiumcodereview.appspot.com/15692018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204966 0039d316-1c4b-4281-b951-d872f2087c98
* Android: Cast JNI pointer to jint instead of jlongjanx@chromium.org2013-06-051-1/+1
| | | | | | | | | | | | A VideoCaptureDeviceAndroid pointer was being cast to jlong instead of jint. The usual way is to cast to jint, which has sufficient size for pointers. BUG=246979 Review URL: https://chromiumcodereview.appspot.com/15793008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204365 0039d316-1c4b-4281-b951-d872f2087c98
* Roll webrtc 4143:4179sergeyu@chromium.org2013-06-051-16/+16
| | | | | | | | R=alexeypa@chromium.org, ronghuawu@chromium.org Review URL: https://codereview.chromium.org/16383002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204088 0039d316-1c4b-4281-b951-d872f2087c98
* VideoCaptureDeviceLinux: added support for framerate configurationmcasas@chromium.org2013-06-031-0/+26
| | | | | | | | | | In followup of issue 160494 (The frameRate in mediaConstraints is ignored on Linux.), and at least two webrtc issues, Issue 1750 (Enable 1920 x 1080 resolution (encoding) in WebRTC) and Issue 1819 (FrameRate constraints of getUserMedia is not work) - the latter one is multiplatform. BUG=160494 Review URL: https://chromiumcodereview.appspot.com/15648009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203692 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup dependencies on src/base from screen capturers.sergeyu@chromium.org2013-05-213-136/+161
| | | | | | | | | | | Screen capturers will be moved to webrtc where they can't depend on chromium base. This change removes base dependices on base the capturers can live without. There are some remaining dependencies - I will replace them with webrtc base libraries when moving this code. Review URL: https://chromiumcodereview.appspot.com/15020018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201226 0039d316-1c4b-4281-b951-d872f2087c98
* Use webrtc::DesktopCapturer for screen capturer implementation.sergeyu@chromium.org2013-05-1636-1381/+973
| | | | | | | | | | | | | Screen capturers are being moved from media/video/capture/screen to third_party/webrtc. This CL is an intermediate step in that process. Depends on https://webrtc-codereview.appspot.com/1322007/ TBR=brettw@chromium.org (third_party/webrtc dependency) Review URL: https://chromiumcodereview.appspot.com/13983010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200504 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 198820 "Move FileEnumerator to its own file, do some refa..."dbeam@chromium.org2013-05-081-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Broke both windows clobber and official builders' compile with this error: 771>Link: 771> Creating library ..\..\..\build\Release\lib\gcp_portmon64.lib and object ..\..\..\build\Release\lib\gcp_portmon64.exp 771>base.lib(path_service.obj) : fatalerror LNK1112: module machine type 'X86' conflicts with target machine type 'x64' 771> 771>Build FAILED. > Move FileEnumerator to its own file, do some refactoring. > > It creates a class FileInfo to contain the details rather than using a platform-specific typedef. This allows the accessors GetName, GetSize, etc. to be moved directly to this class (previously they were static helpers on the FileEnumerator class) which makes a bunch of code much cleaner. It also gives reasonable getting and initialization which the previous version lacked. > > BUG=175002 > R=rvargas@chromium.org > > Review URL: https://codereview.chromium.org/13165005 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/14824006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198850 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 198844 "Move sequenced_task_runner to base/task"dbeam@chromium.org2013-05-082-2/+2
| | | | | | | | | | | | | | | | | Reverting revisions that rely on r198820 so to unbreak the build. > Move sequenced_task_runner to base/task > > BUG= > R=akalin@chromium.org > > Review URL: https://codereview.chromium.org/14927008 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/14985007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198848 0039d316-1c4b-4281-b951-d872f2087c98
* Move sequenced_task_runner to base/taskbrettw@chromium.org2013-05-082-2/+2
| | | | | | | | | BUG= R=akalin@chromium.org Review URL: https://codereview.chromium.org/14927008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198844 0039d316-1c4b-4281-b951-d872f2087c98
* Move FileEnumerator to its own file, do some refactoring.brettw@chromium.org2013-05-071-6/+6
| | | | | | | | | | | It creates a class FileInfo to contain the details rather than using a platform-specific typedef. This allows the accessors GetName, GetSize, etc. to be moved directly to this class (previously they were static helpers on the FileEnumerator class) which makes a bunch of code much cleaner. It also gives reasonable getting and initialization which the previous version lacked. BUG=175002 R=rvargas@chromium.org Review URL: https://codereview.chromium.org/13165005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198820 0039d316-1c4b-4281-b951-d872f2087c98
* Collect UMA stats for ppapi hardware video decode.ihf@chromium.org2013-05-021-1/+5
| | | | | | | | | | | | | The values are in particular Media.PepperVideoDecoderPictureCount Number of requested PictureBuffers. Media.PepperVideoDecoderPictureHeight Height of picture. Media.PepperVideoDecoderError Decoder NotifyError code. BUG=chromium:217356 Review URL: https://chromiumcodereview.appspot.com/14184005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197785 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify ScreenCapturer interface.sergeyu@chromium.org2013-04-2311-96/+18
| | | | | | | | Removed Stop() and InvalidateRegion() from ScreenCapturer interface. Review URL: https://codereview.chromium.org/14305004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195887 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>.erg@chromium.org2013-04-231-1/+1
| | | | | | | | | | | In r174057, enne@ added support for implicit testing to scoped_ptr<>. Removes these in media/. BUG=232084 Review URL: https://chromiumcodereview.appspot.com/13870018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195875 0039d316-1c4b-4281-b951-d872f2087c98
* Use base::MessageLoop in media code.xhwang@chromium.org2013-04-222-8/+8
| | | | | | | | | | | | | | | | | | | | | | MessageLoop is moved to base namespace in r191566. This CL is the followup cleanup in media code. The following folders are replaced: chrome/browser/media content/browser/renderer_host/media content/common/gpu/media content/common/media content/renderer/media media webkit/media The following command is used to make sure all instances in these folders are updated: grep -rin '[^a-zA-Z]MessageLoop[^a-zA-Z]' media chrome/browser/media content/browser/renderer_host/media content/common/gpu/media content/common/media content/renderer/media webkit/media | grep -v 'base::MessageLoop' | grep -v 'class MessageLoop' Review URL: https://chromiumcodereview.appspot.com/14385002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195626 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ScreenCapturerMacTest to pass on high-DPI hostswez@chromium.org2013-04-221-6/+10
| | | | | | | | BUG=233395 Review URL: https://chromiumcodereview.appspot.com/14192011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195510 0039d316-1c4b-4281-b951-d872f2087c98
* Linux video capture, invoking mmap() with both READ and WRITE.braveyao@chromium.org2013-04-191-1/+3
| | | | | | | | | BUG=178582 TEST=media_unittests Review URL: https://chromiumcodereview.appspot.com/14265002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195150 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Clang errors in the Windows screen capture codernk@chromium.org2013-04-191-6/+6
| | | | | | | | | | | | | | | "and" and "xor" are alternate spellings of the "&&" and "^" operators, and clang doesn't like it if you use them as identifiers. Clang also doesn't like static_cast<> from void * to a function pointer, but reinterpret_cast<> works. R=alexeypa@chromium.org BUG=82385 Review URL: https://chromiumcodereview.appspot.com/13852007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195057 0039d316-1c4b-4281-b951-d872f2087c98
* Add CreateWithDisableAero, to allow Windows capturer to be created without ↵wez@chromium.org2013-04-183-16/+32
| | | | | | | | | | disabling Aero. BUG=195849 Review URL: https://chromiumcodereview.appspot.com/13556004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194753 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite scoped_array<T> to scoped_ptr<T[]> in media.dcheng@chromium.org2013-04-152-2/+2
| | | | | | | | | | | This is a manual cleanup pass using sed for files which are not built on Linux. BUG=171111 Review URL: https://codereview.chromium.org/13986005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194225 0039d316-1c4b-4281-b951-d872f2087c98
* Disable XDAMAGE for screen capture under ARM.hshi@chromium.org2013-04-111-1/+3
| | | | | | | | | | | The ChromeOS ARM driver does not support XDAMAGE properly, causing video to not refresh. BUG=230105 TEST=manually on daisy Review URL: https://chromiumcodereview.appspot.com/14105006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193745 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite scoped_array<T> to scoped_ptr<T[]> in media/ and webkit/.dcheng@chromium.org2013-04-077-8/+8
| | | | | | | | | | This changelist was automatically generated using a clang tool. BUG=171111 Review URL: https://codereview.chromium.org/13752002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192779 0039d316-1c4b-4281-b951-d872f2087c98
* Don't wait forever for flushing the video capture device.xians@chromium.org2013-04-041-1/+7
| | | | | | | | | | | | | | | | Flushing of the video capture device will not be responsive if the device has been unplugged before, so we should not wait there forever. This patch setup a timer and will just timeout if it exceeds the time, so the thread won't hang there. BUG=167164 TEST= 1goto https://apprtc.appspot.com/?debug=loopback and hit allow 2. unplug camera 3. plugin the same camera again and refresh the apprtc page Review URL: https://chromiumcodereview.appspot.com/13550002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192352 0039d316-1c4b-4281-b951-d872f2087c98
* To enumerate webcams on Linux more robusticallybraveyao@chromium.org2013-04-031-41/+28
| | | | | | | | | BUG=178359 TEST=media_unittests Review URL: https://chromiumcodereview.appspot.com/13056002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192048 0039d316-1c4b-4281-b951-d872f2087c98
* Update the remaining references to sys_string_conversions.h to its new location.tfarina@chromium.org2013-03-302-2/+2
| | | | | | | | | | | | BUG=196305 TBR=isherman@chromium.org,rsleevi@chromium.org,keybuk@chromium.org,fischman@chromium.org, thestig@chromium.org,alexeypa@chromium.org,rogerta@chromium.org,cpu@chromium.org, akalin@chromium.org,ben@chromium.org,tony@chromium.org Review URL: https://chromiumcodereview.appspot.com/13322003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191479 0039d316-1c4b-4281-b951-d872f2087c98
* Handle camera error during dequeue bufferkcwu@chromium.org2013-03-262-2/+23
| | | | | | | | | | | Break the busy loop and close device node. BUG=174756 Review URL: https://chromiumcodereview.appspot.com/12378051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190774 0039d316-1c4b-4281-b951-d872f2087c98
* Gestalt is gone in 64 bit, and 10.6 is Chromium minimum anyway.avi@chromium.org2013-03-241-13/+0
| | | | | | | | | | BUG=177744 TEST=more compilation Review URL: https://chromiumcodereview.appspot.com/12757006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190161 0039d316-1c4b-4281-b951-d872f2087c98
* Take advantage of XDAMAGE to support Screen Capture under ChromeOS.wez@chromium.org2013-03-231-0/+7
| | | | | | | | | | | | | | | Screen Capture polls under Linux/X11, to avoid issues with poor XDAMAGE support in some X hardware drivers for things like 3D rendering. This CL enables XDAMAGE support under ChromeOS, since on that platform we can make sure that the drivers support it properly. BUG=177977 Review URL: https://chromiumcodereview.appspot.com/12408035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190032 0039d316-1c4b-4281-b951-d872f2087c98
* * Update the desired aspect ratio in StartCapture call so that later the videoronghuawu@chromium.org2013-03-211-0/+37
| | | | | | | | | | | | | | | frame can be cropped to meet the requirement if the camera returns a different resolution than asked for. * Restrict video capture to a limited set of resolution on Mac QTKit can scale captured frame to any size requested, which would lead to undesired aspect ratio change. This patch allows client to request any size for video capture and VideoCaptureDevice will return only supported sizes which will not change aspect ratio. BUG=170464 TEST= 1) apprtc with minre=640x360&maxre=640x360 on mac 2) a local preview with 640x360 Review URL: https://chromiumcodereview.appspot.com/12545048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189553 0039d316-1c4b-4281-b951-d872f2087c98
* [Cleanup] Remove StringPrintf from global namespacegroby@chromium.org2013-03-183-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | use of StringPrintf now requires prefixing with base:: or a per-scope using directive TBR'd: abodenha: chrome/service brettw: content, third_party, webkit darin: base, chrome/browser, chrome/renderer dgarret: courgette enne: cc fischmann: media gbillock: sql joi: google_apis,components rsleevi: net, crypto sky: chrome/test thestig: printing, chrome/common, tsepez: ipc wez: remoting yfriedman: testing/android NOTRY=true R=brettw@chromium.org TBR=joi@chromium.org, rsleevi@chromium.org, enne@chromium.org, thestig@chromium.org, darin@chromium.org, abodenha@chromium.org, sky@chromium.org, dgarret@chromium.org, tsepez@chromium.org, fishman@chromium.org, wez@chromium.org, gbillock@chromium.org, yfriedman@chromium.org BUG= Review URL: https://codereview.chromium.org/12767006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188857 0039d316-1c4b-4281-b951-d872f2087c98
* Android: cleans up hand-written JNI for video_capture_device_android.ccbulach@chromium.org2013-03-111-36/+11
| | | | | | | | | | | | | It's dangerous to rely on hand-written, run-time binding for JNI. By wrapping the usage in a thin class, we get build-time type-safety. It also clarifies the boundaries, and make the code on each side clearer. BUG= Review URL: https://chromiumcodereview.appspot.com/12604003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187295 0039d316-1c4b-4281-b951-d872f2087c98
* Make the Chromoting IT2Me host high-DPI aware.wez@chromium.org2013-03-081-0/+5
| | | | | | | | | | | | This CL also adds code to annotate captured frames with their DPI, allowing high-DPI clients to display high-DPI hosts without up-scaling. BUG=180315 Review URL: https://chromiumcodereview.appspot.com/12428010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187051 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Convert ignore-exceptions helpers to block version.shess@chromium.org2013-03-071-1/+1
| | | | | | | | | | | | PerformSelectorIgnoringExceptions() -> RunBlockIgnoringExceptions(), as the block version is more generalized. BUG=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/12342021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186789 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos and media: Allow building chromeos without X.sadrul@chromium.org2013-03-074-7/+36
| | | | | | | | BUG=none Review URL: https://codereview.chromium.org/12476005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186743 0039d316-1c4b-4281-b951-d872f2087c98
* New API in VideoCaptureDevice::EventHandler which allows shared-memory ↵nick@chromium.org2013-03-073-11/+58
| | | | | | | | | | | | | | | | output buffers to be written directly by a VideoCaptureDevice. Implement this API in VideoCaptureController. As part of the implementation, split all the DIB-management logic out of the VideoCaptureController, and into a new class with a well-defined interface, VideoCaptureBufferPool. In essence, VideoCaptureBufferPool gets all the code that previously lived behind the DIB lock in VideoCaptureController. VideoCaptureBufferPool must be refcounted so as to extend the lifetime of the shared memory buffers until both the VideoCaptureController and VideoCaptureDevices are done with them. TBR=jam@chromium.org BUG=174520 TEST=content_unittests Review URL: https://chromiumcodereview.appspot.com/12321092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186607 0039d316-1c4b-4281-b951-d872f2087c98
* Remove one video frame copying in video capture.wjia@chromium.org2013-02-2812-66/+49
| | | | | | | | On Android, the captured frame might need to be rotated. By moving the rotation code into VideoCaptureController, one video frame copying is reduced. On Nexus 4, the frame copying from intermedia buffer to shared memory takes about 0.1 ms per frame for VGA YV12. Review URL: https://codereview.chromium.org/12378007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185339 0039d316-1c4b-4281-b951-d872f2087c98
* Do not use division in ScreenCapturerLinux::SlowBlit().alexeypa@chromium.org2013-02-263-40/+51
| | | | | | | | | BUG=174381 Review URL: https://chromiumcodereview.appspot.com/12315088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184553 0039d316-1c4b-4281-b951-d872f2087c98
* Re-register refresh and move callbacks when the screen mode changes.jamiewalch@chromium.org2013-02-261-18/+39
| | | | | | | | | | | | Occasionally these callbacks stop being called after the screen mode changes. There seem to be no ill effects from re-registering them in this case. BUG=176414 Review URL: https://chromiumcodereview.appspot.com/12318028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184535 0039d316-1c4b-4281-b951-d872f2087c98
* Move file_path.h to base/files.brettw@chromium.org2013-02-242-3/+3
| | | | | | TBR=sky git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184344 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Make content_shell_apk and chromium_testshell components friendly.yfriedman@chromium.org2013-02-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | This includes the remaining changes to atleast _compile_ the above targets. More work is needed for starting up the apps and running. Inclues: - Misc EXPORT additions (I assume I can TBR these) - Introduce a ShellDialogs JNI registrar since it's now a separate component and ui can't depend on it. - Random gyp tweaks that are needed to fully specify dependencies - Change from using NPN_MemAlloc to just plain malloc for the java bridge. For some reason the NPN_MemAlloc symbol cannot be found in the component build, but regardless all our implementations end up calling straight throught to malloc. BUG=158821 TBR=wjia@chromium.org,willchan@chromium.org,jcivelli@chromium.org Review URL: https://chromiumcodereview.appspot.com/12281017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184173 0039d316-1c4b-4281-b951-d872f2087c98
* [MIPS] Use BlockDifference_C for MIPSpetarj@mips.com2013-02-211-2/+2
| | | | | | | | | | | Use C version for block difference. Fixes a build break for MIPS. BUG= https://code.google.com/p/chromium/issues/detail?id=130022 TEST=make chrome Review URL: https://chromiumcodereview.appspot.com/12326024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183715 0039d316-1c4b-4281-b951-d872f2087c98
* Add test for RotatePlaneByPixels.wjia@chromium.org2013-02-191-98/+1
| | | | | | | | | This is a follow-up patch for https://codereview.chromium.org/11860002/ BUG=161417 Review URL: https://codereview.chromium.org/12207190 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183257 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable ScreenCapturer.Capture test under TSan v2.wez@chromium.org2013-02-121-7/+1
| | | | | | | | | | | | | The test has moved since the issue was reported, and only repro'd if the full remoting test-suite was run, suggesting that some other test is at fault. BUG=167260 Review URL: https://chromiumcodereview.appspot.com/12223066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181888 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ScreenCapturerMac handling of secondary display configurations.wez@chromium.org2013-02-123-24/+46
| | | | | | | | | | | | - Fix bugs in translating capture regions into display coordinates. - Fix MacDeskopConfiguration to support inverse-Cartesian coordinates. BUG=175261,174090 Review URL: https://chromiumcodereview.appspot.com/12221103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181885 0039d316-1c4b-4281-b951-d872f2087c98
* Assert both display and system keep-alive on each capture.wez@chromium.org2013-02-121-3/+13
| | | | | | | | | | | | This ensures that while the screen is actively being captured, the host system will not suspend, e.g. due to inactivity. BUG=129912 Review URL: https://chromiumcodereview.appspot.com/12211101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181864 0039d316-1c4b-4281-b951-d872f2087c98
* Add video capture on Android.wjia@chromium.org2013-02-123-0/+525
| | | | | | | | | | The capture video frames are obtained by using camera's PreviewCallbackWithBuffer. Most of VideoCaptureDevice unit tests are disabled on Android due to different data flow and threading. BUG=161417 Review URL: https://codereview.chromium.org/11860002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181839 0039d316-1c4b-4281-b951-d872f2087c98
* Re-assert vote to disable Aero on switching desktops.wez@chromium.org2013-02-121-0/+6
| | | | | | | | | | | | This is required to ensure that the Desktop Window Manager is not enabled when switching from the logon desktop to the default one. BUG=129906 Review URL: https://chromiumcodereview.appspot.com/12221104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181803 0039d316-1c4b-4281-b951-d872f2087c98