gecko-dev/dom/camera
Boris Zbarsky 79dab91ff6 Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
..
test Bug 980484 - make the zoom setting more robust, r=dhylands 2014-03-07 01:07:27 -05:00
AutoRwLock.h Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 17:41:07 -05:00
CameraCommon.h Bug 988699: Remove custom NS_LOG_ADDREF / NS_LOG_RELEASE definitions in CameraCommon.h. r=mikeh 2014-03-28 17:58:31 -07:00
CameraControlImpl.cpp Bug 975472 - fix crash in DOM error handler, r=dhylands 2014-02-24 13:01:21 -05:00
CameraControlImpl.h Bug 940424 - add a failable test shim to the Gonk hardware wrapper, r=dclarke,dhylands,jesup 2014-02-19 23:18:52 -05:00
CameraControlListener.h Bug 984786 part 4: Give NS_INLINE_DECL_*REFCOUNTING classes private/protected destructor & MOZ_FINAL annotation where appropriate, in /dom. r=smaug 2014-04-02 09:21:03 -07:00
CameraPreviewMediaStream.cpp Bug 886897 - Call VideoFrameContainer::ClearCurrentFrame() before camera hw close. r=mikeh 2013-07-12 09:33:50 -04:00
CameraPreviewMediaStream.h Bug 886897 - Call VideoFrameContainer::ClearCurrentFrame() before camera hw close. r=mikeh 2013-07-12 09:33:50 -04:00
CameraRecorderProfiles.cpp Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 17:41:07 -05:00
CameraRecorderProfiles.h Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 17:41:07 -05:00
DOMCameraCapabilities.cpp Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
DOMCameraCapabilities.h Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
DOMCameraControl.cpp Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
DOMCameraControl.h Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
DOMCameraControlListener.cpp Bug 975472 - fix crash in DOM error handler, r=dhylands 2014-02-24 13:01:21 -05:00
DOMCameraControlListener.h Bug 940424 - add a failable test shim to the Gonk hardware wrapper, r=dclarke,dhylands,jesup 2014-02-19 23:18:52 -05:00
DOMCameraManager.cpp Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
DOMCameraManager.h Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
FallbackCameraCapabilities.cpp Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 17:41:07 -05:00
FallbackCameraControl.cpp Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 17:41:07 -05:00
FallbackCameraManager.cpp Bug 940424 - add a failable test shim to the Gonk hardware wrapper, r=dclarke,dhylands,jesup 2014-02-19 23:18:52 -05:00
GonkCameraControl.cpp Bug 985481 - Make sure that a supported video size is set. r=mikeh 2014-04-08 00:21:00 +02:00
GonkCameraControl.h Bug 985481 - Make sure that a supported video size is set. r=mikeh 2014-04-08 00:21:00 +02:00
GonkCameraHwMgr.cpp Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
GonkCameraHwMgr.h Bug 940424 - add a failable test shim to the Gonk hardware wrapper, r=dclarke,dhylands,jesup 2014-02-19 23:18:52 -05:00
GonkCameraListener.h Bug 803471 - Part 5c - Cange GonkCamera to use android::Camera. r=mhabicher 2013-03-08 14:43:33 -05:00
GonkCameraManager.cpp Bug 940424 - add a failable test shim to the Gonk hardware wrapper, r=dclarke,dhylands,jesup 2014-02-19 23:18:52 -05:00
GonkCameraParameters.cpp Bug 980484 - make the zoom setting more robust, r=dhylands 2014-03-07 01:07:27 -05:00
GonkCameraParameters.h Bug 965425 - expose ISO setting, r=dhylands,jst 2014-03-07 01:00:43 -05:00
GonkCameraSource.cpp Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 17:41:07 -05:00
GonkCameraSource.h Bug 871364 - Support GonkNativeWindow on gonk-JB r=jmuizelaar,mwu,doublec,mikeh,glandium 2013-09-12 11:40:26 +02:00
GonkRecorder.cpp Bug 944567 - [Flatfish] Camera recording should support AAC encoding based on Android JB (4.2.2). r=sotaro 2013-11-29 11:04:54 +08:00
GonkRecorder.h Bug 944567 - [Flatfish] Camera recording should support AAC encoding based on Android JB (4.2.2). r=sotaro 2013-11-29 11:04:54 +08:00
GonkRecorderProfiles.cpp Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 17:41:07 -05:00
GonkRecorderProfiles.def Bug 795379 - Add support for getting and setting video recording profiles. r=jst 2012-10-23 18:30:28 -04:00
GonkRecorderProfiles.h Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 17:41:07 -05:00
ICameraControl.h Bug 965425 - expose ISO setting, r=dhylands,jst 2014-03-07 01:00:43 -05:00
README Bug 776062: Add support for recording video on gonk. r=cjones,double,ikumar,mikeh sr=sicking 2012-09-28 22:30:52 -07:00
TestGonkCameraHardware.cpp Bug 976802 - add support for testing fake CameraParameters, r=dhylands 2014-02-28 17:51:26 -05:00
TestGonkCameraHardware.h Bug 976802 - add support for testing fake CameraParameters, r=dhylands 2014-02-28 17:51:26 -05:00
moz.build Bug 940424 - add a failable test shim to the Gonk hardware wrapper, r=dclarke,dhylands,jesup 2014-02-19 23:18:52 -05:00
update.patch Bug 776062: Add support for recording video on gonk. r=cjones,double,ikumar,mikeh sr=sicking 2012-09-28 22:30:52 -07:00
update.sh Bug 776062: Add support for recording video on gonk. r=cjones,double,ikumar,mikeh sr=sicking 2012-09-28 22:30:52 -07:00
update2.patch Bug 776062: Add support for recording video on gonk. r=cjones,double,ikumar,mikeh sr=sicking 2012-09-28 22:30:52 -07:00

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.