Commit Graph

39 Commits

Author SHA1 Message Date
Sotaro Ikeda
37ef6033e3 Bug 1036539 - Add async mode support to GonkNativeWindow r=mikeh,pchang 2014-08-15 07:41:33 -07:00
Andrew Osmond
47576fa59d Bug 1046341 - Release camera hardware if initialization fails. r=mikeh 2014-07-31 10:29:00 -04:00
Andrew Osmond
6cb6557d3f Bug 1030007 - Throttle updating the preview window when CPU low and/or encoder falls behind. r=mikeh, r=cpearce 2014-07-02 19:55:00 -04:00
Andrew Osmond
c7835d9fdf Bug 1034159 - Fix a potential buffer leak caused by a race condition when ending recording a video. r=mikeh 2014-07-03 10:30:00 +02:00
Mike Habicher
7b53c87c00 Bug 990122 - move prefs used by camera to CameraPreferences, r=ehsan 2014-06-19 09:20:49 -04:00
Vincent Liu
246ecbb60e Bug 1021765 - Backport the fix from bug 988704 to JB-based devices as well. r=sotaro 2014-06-08 08:49:50 +08:00
Vincent Liu
c3a6a56e77 Bug 988704 - [dolphin][camera]camera preview is obviously slower than android. r=sotaro 2014-05-19 09:52:47 +08:00
Mike Habicher
65f3fee910 Bug 985496 - rationalize camera error reporting, r=dhylands 2014-04-25 16:28:15 -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
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
Sotaro Ikeda
3c541b7114 Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
Solomon Chiu
e1e9ed8026 Bug 959505 - Modify nativewindow relative files which affected by KK's change. r=sotaro 2014-02-25 15:51:46 +08: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
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
Sotaro Ikeda
3d229cda0f Bug 929973 - Implement android::IGraphicBufferAlloc in B2G. r=mwu, r=mikeh 2013-11-21 16:03:27 -05:00
Peter Chang
f2befa9556 Bug 922510 - Extend GonkNativeWindow to support android JB 4.2.2, r=sotaro,gps 2013-10-18 10:42:43 +08:00
Sotaro Ikeda
422e8f19e2 Bug 871364 - Support GonkNativeWindow on gonk-JB r=jmuizelaar,mwu,doublec,mikeh,glandium 2013-09-12 11:40:26 +02:00
Mike Habicher
5dd647c3a6 Bug 834164 - handle aDataPtr == nullptr in camera driver DataCallback, r=cjones 2013-01-24 13:41:18 -05:00
Mike Habicher
282ec3c583 Bug 862256 - don't (re)reference CameraControl object during/after destructor, r=sotaro, a=tef+ 2013-04-17 16:30:44 +02:00
Ben Tian
5a6f3aa1f9 Bug 851823 - Disable shutter sound in CameraService. r=sotaro 2013-03-27 11:19:10 -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
8b05a8977a Bug 836782 - reduce gralloc buffer reallocation in camera StartPreview(), r=kchen 2013-02-06 12:57:50 -05: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
b56d6daacd Bug 809259 - improve camera stability when switching between picture and video modes r=kanru 2012-11-23 13:31:42 +08: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
Michael Vines
47d6f6b628 Bug 803733 - Normalize camera sensor orientation. r=cjones 2012-10-24 17:23:01 -07: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
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
Mike Habicher
3063ddba91 Bug 783682 - Camera - always assume the camera gives us yuv420sp [r=gal] 2012-08-20 09:11:20 -07: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
9e245cc9a4 Bug 740997 - ICS camera support, r=jst,gal,roc 2012-07-30 17:59:05 -04:00