gecko-dev/dom/camera
Eric Rahm 75c4bebb79 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
..
test Bug 1124338 - Fix possible camera cached parameters invalidation from underlying driver modification. r=aosmond 2015-05-24 11:36:00 -04:00
AutoRwLock.h
CameraCommon.h Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj 2015-06-03 15:25:57 -07:00
CameraControlImpl.cpp Bug 1163201 - Part 1: Remove instances of #ifdef PR_LOGGING in dom/. r=froydnj 2015-05-14 10:13:23 -07:00
CameraControlImpl.h Bug 1169342 - Remove nsIDOMDeviceStorage. Cleanup nsDOMDeviceStorage event wrappers. r=dhylands 2015-05-28 18:53:16 -04:00
CameraControlListener.h Bug 1129051 - Fix double free in Camera Control Listener. Fix webrtc memory leak. r=aosmond 2015-04-28 16:08:40 -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 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan 2015-03-17 09:29:17 -07:00
CameraPreviewMediaStream.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
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 Merge inbound to m-c. a=merge 2015-05-29 09:32:46 -04:00
DOMCameraControl.h Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
DOMCameraControlListener.cpp Bug 1159401 - Split Blob and File classes, r=bz 2015-05-12 13:09:51 +01:00
DOMCameraControlListener.h Bug 1129051 - Fix double free in Camera Control Listener. Fix webrtc memory leak. r=aosmond 2015-04-28 16:08:40 -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 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
FallbackCameraControl.cpp 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
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 1124338 - Fix possible camera cached parameters invalidation from underlying driver modification. r=aosmond 2015-05-24 11:36:00 -04:00
GonkCameraControl.h Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan 2015-04-22 08:29:20 +02:00
GonkCameraHwMgr.cpp Bug 1146671 - Ensure camera not already released when performing operations. r=dhylands 2015-06-03 07:24:57 -04:00
GonkCameraHwMgr.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
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 1107300 - (gonk-L-Camera) [meta] Camera Android L Porting. r=Sotaro 2014-12-22 14:17:22 +08:00
GonkRecorder.h Bug 1073081 - Fix -Wattribute warnings by removing MOZ_EXPORT from forward declarations. r=ehsan 2014-11-24 19:40:59 -05: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 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan 2015-04-22 08:29:20 +02: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 1166231 - Make nsIDOMBlob an empty interface, r=ehsan 2015-05-19 15:36:37 +01: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 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04: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.