gecko-dev/dom/camera
Andreas Pehrson 937747498a Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc
This lets us separate tracks by ownership like so:
* Input    - Owned by the producer of the DOMMediaStream (gUM etc.)
* Owned    - Contains Input tracks (per above) or tracks cloned tracks
             if this DOMMediaStream is a clone.
* Playback - Contains Owned tracks plus tracks addTrack()ed to this
             DOMMediaStream minus tracks removeTrack()ed from this
             DOMMediaStream.

--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : fba22e96c6c65a74e012509f3da67a4d7df7a244
2015-09-30 09:31:54 +08:00
..
test Bug 1187364 - Part 1. Add ability for camera to pause/resume recording. r=dhylands,bz 2015-08-17 15:20:28 -04:00
AutoRwLock.h Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:26:43 -04:00
CameraCommon.h Bug 1197563 - Polyfill __func__ for MSVC 2013 and earlier. r=froydnj 2015-08-20 23:39:18 -07:00
CameraControlImpl.cpp Bug 1008483 - Part 2. Readd missing nsPrintfCString.h include which has broken some local builds. r=me 2015-08-20 13:13:46 -04:00
CameraControlImpl.h Bug 1008483 - removes the RW lock in CameraControlImpl and replaces it with a standard mutex. r=aosmond 2015-08-17 15:48:07 -07:00
CameraControlListener.h Bug 1187364 - Part 1. Add ability for camera to pause/resume recording. r=dhylands,bz 2015-08-17 15:20:28 -04:00
CameraPreferences.cpp Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
CameraPreferences.h Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
CameraPreviewMediaStream.cpp Bug 1207741 - Remove gfxIntSize. r=nical. 2015-09-23 11:49:05 -07:00
CameraPreviewMediaStream.h Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc 2015-09-30 09:31:54 +08:00
CameraTestHardware.js Bug 1144211 - Improve code coverage of camera mochitests. r=mikeh 2015-03-17 13:01:24 -04:00
CameraTestHardware.manifest Bug 1062387 - Part 2. Implement DOM and JavaScript facing components of JS camera driver. r=mikeh r=bz 2015-03-01 13:48:37 -05:00
DOMCameraCapabilities.cpp Bug 1139721 - Fix camera memory leaks for onfacedetected events, failed initializations and capabilities. r=mikeh 2015-04-17 07:09:54 -04:00
DOMCameraCapabilities.h Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
DOMCameraControl.cpp Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc 2015-09-30 09:31:54 +08:00
DOMCameraControl.h Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc 2015-09-30 09:31:54 +08:00
DOMCameraControlListener.cpp Bug 1207741 - Remove gfxIntSize. r=nical. 2015-09-23 11:49:05 -07:00
DOMCameraControlListener.h Bug 1175656 - Implement generation of recording posters in Gecko. r=dhylands,bz 2015-06-16 20:35:00 -04:00
DOMCameraDetectedFace.cpp Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv 2015-03-19 10:13:33 -04:00
DOMCameraDetectedFace.h Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
DOMCameraManager.cpp Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
DOMCameraManager.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
FallbackCameraControl.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
FallbackCameraManager.cpp
FallbackCameraPlatform.cpp Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
FallbackCameraPlatform.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
GonkCameraControl.cpp Bug 1196330 - Do not restart preview if configuration is unchanged. r=dhylands 2015-08-20 12:44:25 -04:00
GonkCameraControl.h Bug 1196330 - Do not restart preview if configuration is unchanged. r=dhylands 2015-08-20 12:44:25 -04:00
GonkCameraHwMgr.cpp Bug 1171374 - Permit software video codecs with the emulated camera. r=sotaro 2015-06-18 17:12:06 -04:00
GonkCameraHwMgr.h Bug 1171374 - Permit software video codecs with the emulated camera. r=sotaro 2015-06-18 17:12:06 -04:00
GonkCameraListener.h
GonkCameraManager.cpp Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
GonkCameraParameters.cpp Bug 1154665 - Part 1. Provide gps processing data to avoid setParameters fail. r=aosmond 2015-04-28 13:08:24 -04:00
GonkCameraParameters.h Bug 1156416 - Validate camera parameters supplied by the application. r=mikeh 2015-04-17 14:17:18 -04:00
GonkCameraSource.cpp Bug 938034 - Enable gonk camera recording callback. r=roc 2014-12-18 01:00:00 -05:00
GonkCameraSource.h Bug 938034 - Enable gonk camera recording callback. r=roc 2014-12-18 01:00:00 -05:00
GonkRecorder.cpp Bug 1187364 - Part 2. Ensure that recording is resumed with a key frame. r=mchiang 2015-08-17 15:20:35 -04:00
GonkRecorder.h Bug 1187364 - Part 2. Ensure that recording is resumed with a key frame. r=mchiang 2015-08-17 15:20:35 -04:00
GonkRecorderProfiles.cpp Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
GonkRecorderProfiles.def Bug 1132176 - add support for '4kuhd' to Gecko, r=aosmond 2015-02-13 13:24:56 -05:00
GonkRecorderProfiles.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
ICameraControl.h Bug 1187364 - Part 1. Add ability for camera to pause/resume recording. r=dhylands,bz 2015-08-17 15:20:28 -04:00
README
TestGonkCameraControl.cpp
TestGonkCameraControl.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
TestGonkCameraHardware.cpp Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
TestGonkCameraHardware.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
moz.build Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium. 2015-08-27 20:44:53 -07:00
nsICameraTestHardware.idl Bug 1062387 - Part 2. Implement DOM and JavaScript facing components of JS camera driver. r=mikeh r=bz 2015-03-01 13:48:37 -05:00
update.patch
update.sh
update2.patch

README

This README file details from where some of the camcorder source files were derived from and how to apply the provided patch file to get the updated files for B2G.
---------------------------------

Following is the list of B2G files which were derived from an android ics_chocolate build. It also shows the corresponding locations where the original source files can be found:

GonkRecoder.cpp:
https://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base.git;a=blob;f=media/libmediaplayerservice/StagefrightRecorder.cpp;hb=ef1672482a9c2b88d8017927df68144fee42626c

GonkRecorder.h:
https://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base.git;a=blob;f=media/libmediaplayerservice/StagefrightRecorder.h;hb=e3682213bcd3fe43b059e00f0fe4dbebc3f3c35d

GonkCameraSource.cpp:
https://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base.git;a=blob;f=media/libstagefright/CameraSource.cpp;hb=7fa677babfee9c241a131b22c9c1c5ab512ef2d2

GonkCameraSource.h:
https://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base.git;a=blob;f=include/media/stagefright/CameraSource.h;hb=96af14d9b013496accf40a85a66fefcba3ac0111

AudioParameter.cpp:
https://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base.git;a=blob;f=media/libmedia/AudioParameter.cpp;hb=4dc22e77cfd2a1c3671e5646ee87c5e4c15596a0

GonkCameraListener.h:
https://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base.git;a=blob;f=include/camera/Camera.h;hb=796f35e408d9dca386f90d8fbde80471ac011fa6

There were quite a few changes done to the above listed sources to support camcorder on B2G platform.
update.patch lists the changes on top of the original files.
update.sh shell script copies the files from an android tree and applies the patch to get updated files for B2G.