Commit Graph

134 Commits

Author SHA1 Message Date
Mike Habicher
1f2a99f065 Bug 990761 - handle HDR sending us more than one picture, r=dhylands 2014-04-16 21:46:36 -04:00
Mike Habicher
191b93b69f Bug 986024 - expose resumeContinuousFocus() method to DOM/JS, r=bz,dhylands 2014-04-15 15:46:40 -04:00
Mike Habicher
24839a6b12 Bug 981047 - enable torch mode in low light when video recording, r=dhylands,ehsan 2014-04-09 11:53:41 -04:00
Mike Habicher
e826a6be7c Bug 965420 - camera face-tracking, r=bz,dhylands 2014-04-09 11:52:10 -04:00
Youngwoo Jo
7ed261b8a5 Bug 965421 - camera continuous autofocus status callback, r=jst,mikeh 2014-04-09 11:12:25 -04:00
Fredrik Lanker
2c245ff377 Bug 985481 - Make sure that a supported video size is set. r=mikeh 2014-04-08 00:21:00 +02:00
Sotaro Ikeda
3c541b7114 Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
Kyle Huey
fe6c4e28d6 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Dave Hylands
21e3c246cf Bug 977372 - Close IPC'd filedescriptor from device descriptor when finished with it. r=mikeh 2014-02-28 12:02:55 -08:00
Carsten "Tomcat" Book
55bbe0a399 Backed out changeset 4fb349c12a63 (bug 977372) for b2g ics emulator debug m8 test failure 2014-03-06 09:16:43 +01:00
Dave Hylands
9c9e49ec75 Bug 977372 - Close IPC'd filedescriptor from device descriptor when finished with it. r=mikeh 2014-02-28 12:02:55 -08:00
Mike Habicher
8173018d77 Bug 974455 - disable thumbnail when no correct aspect ratio can be found, r=dhylands 2014-02-24 19:50:26 -05:00
Mike Habicher
9535b293cc Bug 975472 - fix crash in DOM error handler, r=dhylands 2014-02-24 13:01:21 -05:00
Mike Habicher
f353462bf8 Bug 973790 - only call ClearCurrentFrame() when closing down the camera hardware, r=dhylands 2014-02-19 23:18:55 -05:00
Mike Habicher
6d7abcf9fe Bug 940424 - add a failable test shim to the Gonk hardware wrapper, r=dclarke,dhylands,jesup 2014-02-19 23:18:52 -05:00
Mike Habicher
557d8c2d5c Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 17:41:07 -05:00
Ryan VanderMeulen
06dd91591b Backed out changeset 6e588c56764b (bug 909542) for Gaia unit test perma-fail. 2014-02-14 08:27:44 -05:00
Mike Habicher
abbcc4db39 Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus 2014-02-14 00:28:57 -05:00
Phil Ringnalda
5a748ed604 Back out f03664765359 (bug 909542) for unexpected assertions and lack of expected assertions 2014-02-10 19:09:23 -08:00
Mike Habicher
e97948ed28 Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus
* * *
Debugging the rotation issue with new camera.js
* * *
Fix the occasionally-invalid MOZ_ASSERT on GonkCameraControl.cpp:844
2014-02-10 17:53:19 -05:00
Mike Habicher
2e97c42a00 Bug 963142 - fix negative-rotation math error in startRecording(), r=dhylands 2014-01-23 19:10:23 -05:00
Mike Habicher
2ea904f502 Bug 963142 - fix negative-rotation math error in takePicture(), r=dhylands 2014-01-23 15:17:58 -05:00
Wes Kocher
9a43f7ee39 Merge b2g-inbound to m-c 2014-01-21 17:23:48 -08:00
Sotaro Ikeda
4d758c0459 Bug 961405 - Change GraphicBufferLocked as to use AtomicRefCountedWithFinalize. r=nical, r=pchang, r=doublec, r=mikeh 2014-01-21 13:53:48 -05:00
Dave Hylands
01544254bd Bug 910498 - Camera changes to use CreateFd. r=mikeh
* * *
Fixes for camera patch
2014-01-16 17:01:43 -08:00
Ben Tian
7c91544af0 Bug 949930 - CameraControl.sensorAngle doesn't return consistent angle among different devices, r=mikeh, a=1.3+ 2014-01-13 10:12:40 +08:00
Ms2ger
43f9a33d7a Bug 950143 - Followup: fix gonk builds. 2013-12-31 11:37:46 +01:00
Ms2ger
fc0c5d7215 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
Trevor Saunders
d43c55ca0e bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Mike Habicher
6fc4849635 Bug 932669 - Expose sensor rotation offset to JS. r=dhylands 2013-12-06 09:47:29 -05:00
Mike Habicher
c9819753c4 Bug 928856 - Properly guard calls to CameraParameters.get() and .set(). r=sotaro 2013-11-13 14:24:20 -05:00
Mike Habicher
01d4c2e813 Bug 807058 - Expose thumbnail size capability and control properties. r=sotaro, r=jst 2013-10-30 15:41:08 -04:00
Nicholas Nethercote
3b80765894 Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger.
--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
2013-10-10 15:22:35 -07:00
Trevor Saunders
cbeff69f66 backout the part of e40a964458f8 that should never have landed 2013-10-21 18:38:50 -04:00
Trevor Saunders
67e6559698 bug 922566 - kill dom-config.mk r=gps 2013-10-11 12:02:41 -04:00
Sotaro Ikeda
16d41f3716 Bug 909746 - Call SetIsDOMBinding() in nsDOMCameraControl. r=bz 2013-08-29 09:57:53 -04:00
Trevor Saunders
54fb4bac29 bug 899210 - convert camera control to WebIDL r=bz 2013-07-06 16:55:10 -04:00
Mike Habicher
70e525a94a Bug 890427 - Let the Camera app know when the preview has actually started/stopped. r=jst 2013-08-05 16:24:43 -04:00
Peter Chang
a38cfef9d8 Bug 894262 - Merge GonkIOSurfaceImage to GrallocImage, r=nical, kanru 2013-07-25 10:13:35 +08:00
Jeff Walden
64982b30df Bug 891177 - Implement mozilla/Vector.h, and make js/Vector.h implement js::Vector using mozilla::Vector's implementation of the functionality. r=terrence
--HG--
rename : js/public/Vector.h => mfbt/Vector.h
extra : rebase_source : d5f87a48485e3f2241228a4b003e80974c86fd5f
2013-07-09 16:33:29 -07:00
Mike Habicher
6182bc6688 Bug 882328 - remove off-Main Thread JS callback addrefs, r=jdm 2013-06-17 11:59:53 -04:00
Mike Habicher
5dd647c3a6 Bug 834164 - handle aDataPtr == nullptr in camera driver DataCallback, r=cjones 2013-01-24 13:41:18 -05:00
Dave Hylands
c53a4e7f72 Bug 858416 - Create a composite device storage interface. r=dougt
* * *
Bug 858416 - Fix try test failures
2013-05-11 02:10:18 -07:00
Ryan VanderMeulen
bc36900668 Backed out changeset dbf0c9f4a4b9 (bug 858416) for B2G mochitest-3 failures. 2013-05-11 09:47:37 -04:00
Dave Hylands
a1b72bb10c Bug 858416 - Create a composite device storage interface. r=dougt 2013-05-11 02:10:18 -07:00
Dave Hylands
16908eb6b9 Bug 860934 - Use relative paths when handling device storage r=dougt 2013-04-18 16:13:23 +02:00
Mike Habicher
7be815fc66 Bug 850845 - don't dereference null mCameraHw pointer, r=sotaro
--HG--
extra : rebase_source : e41763a11413d1cb66c2e4914a582f35cd9b60f0
2013-03-14 17:30:38 -04:00
Sotaro Ikeda
7922e181f4 Bug 803471 - Part 5c - Cange GonkCamera to use android::Camera. r=mhabicher 2013-03-08 14:43:33 -05:00
Sotaro Ikeda
b4d9c3d0b1 Bug 826072 - Dispatch Init() out of nsGonkCameraControl's constructor. r=mikeh 2013-02-16 14:05:45 -05:00
Olli Pettay
b9080a0df7 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Dale Harvey
cfa3d2a2b5 Bug 833095 - Fix format of file notification when recording complete. r=mikeh 2013-01-23 16:35:06 -05:00
Mike Habicher
7c83d08483 Bug 819835 - add support for setting the EXIF DateTime field, r=sotaro 2013-01-18 16:06:28 -05:00
Mike Habicher
a3564c5af8 backed out changeset 0004848a182f, a=bustage 2013-01-18 16:46:26 -05:00
Mike Habicher
3fb12b17e4 Bug 819835 - add support for setting the EXIF DateTime field, r=sotaro 2013-01-18 16:06:28 -05:00
Mike Habicher
e09bb5012c 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
a471e8fe91 backing out patch for bug 827503 due to runtime crashes, r=crash 2013-01-09 16:39:37 +01:00
Doug Turner
c52c731184 Bug 827311 - Remote file update notifications. r=bent a=blocking-basecamp 2013-01-09 07:03:28 -08:00
Mike Habicher
f612f4fccc 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
521925ef88 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 (陳侃如)
da81243529 Bug 825687 - Unregister camera control from the camera hardware. r=mikeh 2013-01-07 13:54:24 +01:00
Mike Habicher
0c6c027935 Bug 820139 - Ensure video recorder exists before trying to start recording. r=kchen 2012-12-23 10:56:59 -05:00
Mike Habicher
7ab344aefb 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
49025fcfff Bug 822531 - Fix regression of bug 783682 caused by bug 779139. r=mwu 2012-12-18 18:19:38 -05:00
Mats Palmgren
51d407db90 Bug 820230 - Add missing #include to fix compile error. r=me 2012-12-12 00:15:07 +01:00
Mike Habicher
2d7844ee84 Bug 817496 - Notify DeviceStorage when a new video file is finished recording. r=dougt 2012-12-04 21:00:39 -05:00
Mike Habicher
b56d6daacd Bug 809259 - improve camera stability when switching between picture and video modes r=kanru 2012-11-23 13:31:42 +08:00
Benoit Jacob
c248c79c55 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
Mike Habicher
266e0bab6c Bug 810440 - Add missing rotation parameter to SetupRecording function call, drop default parameter values. r=daleharvey 2012-11-09 20:32:10 -05:00
Mike Habicher
39bf4c9296 Bug 808099 - Write the correct rotational meta-data to the video stream. r=cjones 2012-11-06 22:32:01 -05:00
Mike Habicher
854c16fccb 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
d390a1808b Bug 801693 - Plumb video recorder state-change (error, size/length limit) handling. r=jst 2012-11-02 16:11:50 -04:00
Mike Habicher
789fb9465d Bug 804741 - close our recorder output file handle because recorder dup()s it. r=mwu 2012-10-29 16:16:42 -07:00
Michael Vines
47d6f6b628 Bug 803733 - Normalize camera sensor orientation. r=cjones 2012-10-24 17:23:01 -07:00
Mike Habicher
249302d897 Bug 795379 - Add support for getting and setting video recording profiles. r=jst 2012-10-23 18:30:28 -04:00
Mike Habicher
03e80bf53e 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
Mike Habicher
737adc7dfa 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)
6d9d08d1fd 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
481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Mike Habicher
1bf2b1130b 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
6ae700c29b 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
Ehsan Akhgari
e368dc9c85 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
Kan-Ru Chen
4e3b4c5d63 Bug 757341 - Camera direct texturing with async video. r=cjones 2012-08-17 18:56:55 +08:00
Mike Habicher
7db1f300b0 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
9e245cc9a4 Bug 740997 - ICS camera support, r=jst,gal,roc 2012-07-30 17:59:05 -04:00