| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
TBR=sky
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184344 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|