Commit Graph

120 Commits

Author SHA1 Message Date
Trevor Saunders
14a806d47d no bug - remove a bunch of extra ';'s to make -pedantic happy 2013-01-11 05:14:04 -05:00
Mike Habicher
7ff92d8901 Bug 827503 - use nsMainThreadPtrHolders when passing XPCWrappedJSes around off main thread, r=bholley,jst a=blocking-basecamp+ 2013-01-09 00:43:50 +01:00
Mike Habicher
7734067ac0 backing out patch for bug 827503 due to runtime crashes, r=crash 2013-01-09 16:39:37 +01:00
Doug Turner
fd87c9795b Bug 827311 - Remote file update notifications. r=bent a=blocking-basecamp 2013-01-09 07:03:28 -08:00
Mike Habicher
aeb0f4e056 Bug 827503 - use nsMainThreadPtrHolders when passing XPCWrappedJSes around off main thread, r=bholley,jst a=blocking-basecamp+ 2013-01-09 00:43:50 +01:00
Mike Habicher
ee6b183443 Bug 825986 - propagate startRecording() return code instead of asserting; clean up GonkRecorder lifecycle management, r=kanru 2013-01-08 10:11:32 +01:00
Kan-Ru Chen (陳侃如)
96e707525e Bug 825687 - Unregister camera control from the camera hardware. r=mikeh 2013-01-07 13:54:24 +01:00
Mike Habicher
ad247f79d8 Bug 820139 - Ensure video recorder exists before trying to start recording. r=kchen 2012-12-23 10:56:59 -05:00
Mike Habicher
879ba16592 Bug 818933 - Provide a hardware release API so that we don't have to rely on CC of CameraControl objects. r=mhabicher 2012-12-23 10:54:54 -05:00
Mike Habicher
0aabd593e4 Bug 822531 - Fix regression of bug 783682 caused by bug 779139. r=mwu 2012-12-18 18:19:38 -05:00
Mats Palmgren
558a55f649 Bug 820230 - Add missing #include to fix compile error. r=me 2012-12-12 00:15:07 +01:00
Marco Chen
694465e430 Bug 811649 - Mute other audio when video recording is started by using an AudioChannelAgent to integrate with AudioChannelService. r=mhabicher a=blocking-basecamp 2012-12-11 18:14:06 +08:00
Mike Habicher
c9d7e5ef7b Bug 817496 - Notify DeviceStorage when a new video file is finished recording. r=dougt 2012-12-04 21:00:39 -05:00
Mike Habicher
771adfe91f Bug 817141 - Call EndTrack()/Finish() from StopPreview() (as well) to prevent deadlock. r=kchen 2012-12-04 21:00:39 -05:00
Ms2ger
b9aea0bb8c Bug 814898 - Part d: Cleanup CC goop in some more parts of dom/; r=mccr8 2012-12-02 09:54:51 +01:00
Ms2ger
6546506458 Bug 814898 - Part c: Cleanup CC goop in B2G-specific parts of dom/; r=mccr8 2012-12-02 09:54:37 +01:00
Mike Habicher
b4218c43ec Bug 809259 - fix for buffer exhaustion when cycling camera modes. r=cjones a=blocking-basecamp 2012-11-30 18:26:58 -08:00
Kartikaya Gupta
2898501127 Bug 814418 - Fix some warnings about unused variables. r=ehsan 2012-11-30 11:06:37 -05:00
Chris Jones
a01b80c87f Bug 809259: Properly handle allocation failures. r=kanru 2012-11-27 22:54:39 -08:00
Mike Habicher
1c51a55073 Bug 809259 - improve camera stability when switching between picture and video modes r=kanru 2012-11-23 13:31:42 +08:00
Benoit Jacob
5a8b82a1cb Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Benoit Jacob
05a309e368 Bug 798033 - adapt dom/camera code to not relying on headers to do using namespace - r=mhabicher 2012-11-12 19:06:31 -05:00
Matt Joras
6d89044915 Bug 798033 - Removes 'using namespace' from dom headers - r=khuey 2012-11-10 10:45:52 -05:00
Ryan VanderMeulen
1501d1c8ce Backed out changeset 5054c2552a30 (bug 798033) for b2g bustage. 2012-11-10 11:52:15 -05:00
Matt Joras
cca020df08 Bug 798033 - Removes 'using namespace' from dom headers - r=khuey 2012-11-10 10:45:52 -05:00
Mike Habicher
5df1575537 Bug 810440 - Add missing rotation parameter to SetupRecording function call, drop default parameter values. r=daleharvey 2012-11-09 20:32:10 -05:00
Edwin Flores
e5807d5033 Bug 798448 - Stop GonkNativeWindow::perform returning an error when the transform is set r=kanru 2012-11-08 17:24:02 +13:00
Mike Habicher
5bf2c472b4 Bug 808099 - Write the correct rotational meta-data to the video stream. r=cjones 2012-11-06 22:32:01 -05:00
Mike Habicher
1d590380e6 Bug 808030 - Make camera default to smallest non-0x0 thumbnail size with reduced quality. r=cjones 2012-11-02 19:53:40 -04:00
Mike Habicher
532b4b9ecc Bug 801693 - Plumb video recorder state-change (error, size/length limit) handling. r=jst 2012-11-02 16:11:50 -04:00
Nathan Froyd
f9b2a74082 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Mike Habicher
ff87bb2f7d Bug 804741 - close our recorder output file handle because recorder dup()s it. r=mwu 2012-10-29 16:16:42 -07:00
Robert O'Callahan
a738cb5616 Bug 805703. Part 1: MediaStreamGraph::CreateInputStream -> CreateSourceStream. r=jesup
--HG--
extra : rebase_source : 3c327e9ead92508f12df4b95f2fd24fa2ba97ab5
2012-10-29 17:36:31 +13:00
Tim Taubert
39113a159d Bug 805377 - [Camera] Change to video record mode will cause app crash r=mikeh a=blocking-basecamp 2012-10-26 14:55:08 +02:00
Randell Jesup
2eb9a9bf7e Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant 2012-10-24 19:21:32 -04:00
Ehsan Akhgari
33b4d241b7 Backed out changeset 165208ecd591 (bug 803976) 2012-10-24 20:29:32 -04:00
Michael Vines
7b8bbfd479 Bug 803733 - Normalize camera sensor orientation. r=cjones 2012-10-24 17:23:01 -07:00
Randell Jesup
5d4b72af55 Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant 2012-10-24 19:21:32 -04:00
Mike Habicher
f91fb8efb0 Bug 795379 - Add support for getting and setting video recording profiles. r=jst 2012-10-23 18:30:28 -04:00
Isaac Aggrey
9e41ce2fa0 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Isaac Aggrey
e4756de38b Bug 794510: Part 4 - Use PR_NewLogModule instead of PR_LOG_DEFINE; r=ehsan,wtc 2012-10-13 15:56:35 -05:00
Nathan Froyd
14c4b5f9e8 Bug 798573 - remove prtypes.h #includes in dom/; r=ehsan 2012-10-05 17:28:24 -04:00
Mike Habicher
3838ead36b Bug 798304 - Call AppendRelativePath() to append video filename (possibly including subpath) to data storage area root. r=dougt 2012-10-10 06:32:37 -04:00
Ehsan Akhgari
4b71a98ab2 Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-01 16:04:09 -04:00
Mike Habicher
3e1aa22ba1 Bug 779145 - Add support for unsoliciated onShutter and onClosed callbacks, handle OnNavigation to clean-up. r=jst 2012-09-30 20:37:47 -04:00
Inder Kumar ext:(%20and%20Mike%20Habicher%20%3Cmhabicher%40mozilla.com%3E)
d8f8957970 Bug 776062: Add support for recording video on gonk. r=cjones,double,ikumar,mikeh sr=sicking 2012-09-28 22:30:52 -07:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Edwin Flores
c06dc84a94 Bug 759506 - GonkNativeWindow and layers changes for B2G zero-copy OMX hardware decoding r=kanru 2012-09-27 16:33:42 +12:00
Mike Habicher
4f1885c23e Bug 776934 - Add permissions check to camera API. r=jlebar 2012-09-21 06:32:18 -04:00
Ms2ger
32e45fa34b Bug 792343 - Enable FAIL_ON_WARNINGS in some more of dom/ (first batch); r=mounir 2012-09-20 09:55:36 +02:00
Mike Habicher
b0b3d04888 Bug 790746 2012-09-12 22:24:00 -04:00
Nathan Froyd
9b227bf10d Bug 786703 - fix dom/ build failures from introducing PARALLEL_DIRS; r=glandium 2012-09-11 07:47:42 -04:00
Mike Habicher
20b183fd5a Bug 789307 - Unlock() the graphics buffer if we're not going to consume it. r=kchen 2012-09-07 16:23:01 -04:00
Mike Habicher
15e34763e4 Bug 779139 - Make DOM-facing camera objects cycle collection participants. r=jst
--HG--
rename : dom/camera/CameraControl.h => dom/camera/CameraControlImpl.h
rename : dom/camera/GonkCameraCapabilities.cpp => dom/camera/DOMCameraCapabilities.cpp
2012-09-04 21:01:56 -04:00
David Zbarsky
114264765b Bug 785486 - DomCameraManager redefines DOM_CAMERA_LOG_LEVEL r=mikeh 2012-08-24 16:50:57 -04:00
Nathan Froyd
4c779437cc Bug 783357 - part 1: add XPIDL_FLAGS to make idl dependencies more explicit; r=khuey 2012-08-24 16:01:30 -04:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Zbarsky
b27894f902 Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical 2012-08-21 00:06:46 -04:00
Paul Adenot
4315429c87 Bug 774581: Send event when starting/stopping audio or video recording; r=anant,mhabicher 2012-08-17 09:10:08 -07:00
Mike Habicher
43d63d34bf Bug 783682 - Camera - always assume the camera gives us yuv420sp [r=gal] 2012-08-20 09:11:20 -07:00
Nicolas Silva
54dd2bf57f Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Kan-Ru Chen
0fdb67a324 Bug 757341 - Camera direct texturing with async video. r=cjones 2012-08-17 18:56:55 +08:00
Mike Habicher
927fa37de8 Bug 780905 - Remove excess logging from DOMCameraManager. r=smaug 2012-08-07 20:49:07 -04:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Eric Faust
6d4e293e26 Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Mike Habicher
fd45423d62 Bug 779351 - Camera needs to get/configure the SourceMediaStream on the main thread, r=roc 2012-08-01 14:21:27 -04:00
Mike Habicher
fda42a47a7 Bug 779283: fix assertions in ICS camera r=dzbarsky 2012-07-31 17:57:39 -07:00
David Zbarsky
ea18b21eb6 Fix virtual destructor warnings in dom/camera, no bug, blanket r=bz 2012-07-31 14:30:53 -07:00
Michael Wu
9d7b627cd2 Follow up to Bug 740997 - land the right version of GonkCameraCapabilities.cpp, r=killer 2012-07-31 01:45:26 -04:00
Mike Habicher
01f8e81e31 Bug 740997 - ICS camera support, r=jst,gal,roc 2012-07-30 17:59:05 -04:00