replicant:replicant_hardware_msm7k.git
9 years agomerge from donut master
Jean-Baptiste Queru [Thu, 3 Sep 2009 21:13:11 +0000 (14:13 -0700)]
merge from donut

9 years agomerge new donut version into open-source variant
Jean-Baptiste Queru [Mon, 31 Aug 2009 16:57:27 +0000 (09:57 -0700)]
merge new donut version into open-source variant

9 years agoChange the default effect value from "off" to "none".
Wu-cheng Li [Mon, 10 Aug 2009 07:07:38 +0000 (15:07 +0800)]
Change the default effect value from "off" to "none".

9 years agoMerge from donut
Jean-Baptiste Queru [Fri, 7 Aug 2009 15:34:19 +0000 (08:34 -0700)]
Merge from donut

9 years agoDeactivate libcamera2
Jean-Baptiste Queru [Thu, 6 Aug 2009 23:36:30 +0000 (16:36 -0700)]
Deactivate libcamera2

It can't be built without proprietary files

9 years agomerge from donut
Jean-Baptiste Queru [Mon, 3 Aug 2009 14:45:46 +0000 (07:45 -0700)]
merge from donut

9 years agoRemove antibanding because driver does not support them.
Wu-cheng Li [Fri, 31 Jul 2009 05:21:39 +0000 (13:21 +0800)]
Remove antibanding because driver does not support them.

9 years agoFix 2026448: Missing jpeg-quality parameter in donut.
Chih-Chung Chang [Fri, 31 Jul 2009 03:28:01 +0000 (11:28 +0800)]
Fix 2026448: Missing jpeg-quality parameter in donut.

9 years agomerge from donut
Jean-Baptiste Queru [Wed, 29 Jul 2009 21:57:05 +0000 (14:57 -0700)]
merge from donut

9 years agoMerge korg/donut into korg/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 00:36:37 +0000 (17:36 -0700)]
Merge korg/donut into korg/master

Conflicts:

libcamera/QualcommCameraHardware.cpp

9 years agoCorrect the spelling of posterize.
Wu-cheng Li [Thu, 23 Jul 2009 08:51:29 +0000 (16:51 +0800)]
Correct the spelling of posterize.

9 years agoMake sure shutter callback is called before raw callback.
Wu-cheng Li [Tue, 21 Jul 2009 04:28:45 +0000 (12:28 +0800)]
Make sure shutter callback is called before raw callback.

9 years agoRemove unsupported white balance and effect options.
Wu-cheng Li [Mon, 20 Jul 2009 06:37:26 +0000 (14:37 +0800)]
Remove unsupported white balance and effect options.

9 years ago1. Remove the zoom and brightness.
Wu-cheng Li [Wed, 15 Jul 2009 07:58:21 +0000 (15:58 +0800)]
1. Remove the zoom and brightness.
2. Set default value of antibanding, effect, and white-balance at initialization.
3. Do not set the parameter if it is not found.

9 years agoFix 1956740: startPreview failed
Chih-Chung Chang [Mon, 13 Jul 2009 11:29:25 +0000 (19:29 +0800)]
Fix 1956740: startPreview failed

The problem is even after release() is done, the singleton
variable is not cleared, so a new openCameraHardware()
call could return an instance which is already released.

The singleton variable is cleared in the destructor, so
we wait until that happens in openCameraHardware().

9 years agoThe antibanding (60Hz) broke the bar code scanner.
James Dong [Sat, 11 Jul 2009 00:20:16 +0000 (17:20 -0700)]
The antibanding (60Hz) broke the bar code scanner.
bug 1962986

9 years agoAdd timestamps to video frames to improve A/V sync.
Dave Sparks [Wed, 8 Jul 2009 22:58:41 +0000 (15:58 -0700)]
Add timestamps to video frames to improve A/V sync.
Bug 1927069.

9 years agoChange the timing of shutter callback.
Wu-cheng Li [Mon, 22 Jun 2009 15:23:37 +0000 (23:23 +0800)]
Change the timing of shutter callback.

9 years agolibcamera: set antibanding to 60Hz, use cropping information on snapshot
Iliyan Malchev [Tue, 30 Jun 2009 23:07:21 +0000 (16:07 -0700)]
libcamera: set antibanding to 60Hz, use cropping information on snapshot

-- Set the antibanding to 60Hz for the US (Should be 50Hz for the
   rest of the world.)
-- Save the cropping info returned when taking a picture and then
   pass it to the JPEG encoder.  This enables digital zoom for JPEG
   images (cropping and upsampling).

Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agolibcamera: dlopen() libqcamera in the AF thread
Iliyan Malchev [Mon, 29 Jun 2009 20:09:24 +0000 (13:09 -0700)]
libcamera: dlopen() libqcamera in the AF thread

Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agoAdd preview size 384x288.
Wu-cheng Li [Thu, 25 Jun 2009 08:48:11 +0000 (16:48 +0800)]
Add preview size 384x288.

9 years agolibcamera fixes
Iliyan Malchev [Wed, 24 Jun 2009 02:10:08 +0000 (19:10 -0700)]
libcamera fixes

-- general cleanup: made a bunch of functions static to
   QualcommCameraHardware.cpp, not class members; got rid of unnecessary
   private member variables.  The only functions that remain as members
   are native_set_dimension() and native_jpeg_encode()
-- removed kRawFrameHeaderSize; aDSP frame offsets are zero now;
-- simplify reg_unreg_buf
-- Removed PreviewPmemPool and RawPmemPool, which do not need to be
   specialized on top of PmemPool.  We use PmemPool instead.
-- use PmemPool to both create pmem pools and register them with the driver
-- takePicture runs in a separate thread
-- the destructor keeps a singleton lock
-- PmemPool calls dup() on the camera-control file descriptor to guard against
   release() calling close() on it before PmemPool has a chance to deregister
   pmem from the camera driver.
-- got rid of hal_mmap() and hal_munmap() entirely and created a PmemHeap to
   manage thumbnails.
-- removed support for CAPTURE_RAW.  The CameraService can already do this.

Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agoAdd location to exif.
Wu-cheng Li [Fri, 19 Jun 2009 08:04:38 +0000 (16:04 +0800)]
Add location to exif.

9 years agoAdd picture size values and fix effect values.
Wu-cheng Li [Wed, 17 Jun 2009 11:03:42 +0000 (19:03 +0800)]
Add picture size values and fix effect values.

9 years agoGet the values returned from CAMERA_GET_PARM_ZOOM correctly.
Wu-cheng Li [Mon, 15 Jun 2009 17:46:46 +0000 (01:46 +0800)]
Get the values returned from CAMERA_GET_PARM_ZOOM correctly.

9 years agoEnable more debug message to debug the Camera startPreview bug.
Chih-Chung Chang [Tue, 16 Jun 2009 09:15:48 +0000 (17:15 +0800)]
Enable more debug message to debug the Camera startPreview bug.

9 years agolibcamera2: update to match new libqcamera.so
Iliyan Malchev [Mon, 15 Jun 2009 22:22:17 +0000 (15:22 -0700)]
libcamera2: update to match new libqcamera.so

Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agoAdd set rotation function.
Chih-Chung Chang [Mon, 15 Jun 2009 09:00:23 +0000 (17:00 +0800)]
Add set rotation function.

9 years agoAccept parameter "jpeg-thumbnail-quality" to specify thumbnail quality.
Chih-Chung Chang [Mon, 15 Jun 2009 06:20:59 +0000 (14:20 +0800)]
Accept parameter "jpeg-thumbnail-quality" to specify thumbnail quality.

9 years agoCancel autofocus in stopPreview.
Wu-cheng Li [Wed, 10 Jun 2009 06:27:39 +0000 (14:27 +0800)]
Cancel autofocus in stopPreview.

9 years agoFix deadlock in camera hal when auto focus failed
James Dong [Thu, 11 Jun 2009 02:59:25 +0000 (19:59 -0700)]
Fix deadlock in camera hal when auto focus failed

9 years agolibcamera: avoid a race condition on starting and stopping a recording
Iliyan Malchev [Wed, 10 Jun 2009 21:49:11 +0000 (14:49 -0700)]
libcamera: avoid a race condition on starting and stopping a recording

precondition: preview is running
-- call startRecording()
-- a preview frame arrives, causing the record callback to be called, and then
   blocks on mRecordWait.wait()
-- call stopRecording(), which sets mReleasedRecordingFrame and signals
   mRecordWait;
-- call startRecording(), which clears mReleasedRecordingFrame;
-- receivePreviewFrame() wakes up, checks mReleasedRecordingFrame, and
   blocks again on mRecordWait.wait(), without having notified the client.

Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agolibcamera: default brightness to 5 when not specified by camera
Iliyan Malchev [Wed, 10 Jun 2009 21:48:33 +0000 (14:48 -0700)]
libcamera: default brightness to 5 when not specified by camera

Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agoremove floats from libcamera2
Iliyan Malchev [Wed, 10 Jun 2009 23:46:51 +0000 (16:46 -0700)]
remove floats from libcamera2

Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agolibcamera2: update the frame offset after we call the recording callback
Iliyan Malchev [Wed, 10 Jun 2009 22:32:57 +0000 (15:32 -0700)]
libcamera2: update the frame offset after we call the recording callback

Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agoRestore the support for SQVGA (bug 1901755)
James Dong [Sat, 6 Jun 2009 00:59:32 +0000 (17:59 -0700)]
Restore the support for SQVGA (bug 1901755)

9 years agodisable libcamera and enable libcamera2
Iliyan Malchev [Wed, 27 May 2009 01:22:13 +0000 (18:22 -0700)]
disable libcamera and enable libcamera2

Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agoUpdate reflects changes in type names in msm_camera.h.
Iliyan Malchev [Thu, 4 Jun 2009 20:36:10 +0000 (13:36 -0700)]
Update reflects changes in type names in msm_camera.h.

Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agoAdd new implementation of libcamera (as libcamera2) (disabled)
Iliyan Malchev [Thu, 30 Apr 2009 19:19:03 +0000 (12:19 -0700)]
Add new implementation of libcamera  (as libcamera2) (disabled)

libcamera2 uses code under vendor/qcom/proprietary/mm-camera, which is the
(Qualcomm proprietary) user-space component of the new camera framework.

Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agoFix issue 1846343 - part 1
Eric Laurent [Fri, 22 May 2009 16:18:59 +0000 (09:18 -0700)]
Fix issue 1846343 - part 1

This change is the first part of a fix for issue 1846343, :
- Added new enum values for input sources in AudioRecord and MediaRecorder for voice uplink, downlink and uplink+downlink sources.
- renamed streamType to inputSource in all native functions handling audio record.

A second change is required in opencore author driver and android audio input to completely fix the issue.

9 years agoRemove deprecated openInputStream factory method
Dave Sparks [Wed, 20 May 2009 01:57:42 +0000 (18:57 -0700)]
Remove deprecated openInputStream factory method

9 years agoModify openInputStream function to add inputSource type
Dave Sparks [Tue, 19 May 2009 21:37:08 +0000 (14:37 -0700)]
Modify openInputStream function to add inputSource type
Continuation of bug 1846343

9 years agoAdd high ISO setting.
Wu-cheng Li [Sun, 26 Apr 2009 07:45:22 +0000 (15:45 +0800)]
Add high ISO setting.
modified:   libcamera/QualcommCameraHardware.cpp
modified:   libcamera/camera_ifc.h

b1815094

9 years agoremove yuv420sp2rgb from hardware/msm7k
Iliyan Malchev [Thu, 23 Apr 2009 20:46:40 +0000 (13:46 -0700)]
remove yuv420sp2rgb from hardware/msm7k

Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agomerge cupcake into donut
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:56:59 +0000 (17:56 -0700)]
merge cupcake into donut

9 years agoChange the severity of debug messages.
Wu-cheng Li [Wed, 22 Apr 2009 08:27:04 +0000 (16:27 +0800)]
Change the severity of debug messages.
modified:   QualcommCameraHardware.cpp

9 years agoDisable debug messages.
Wu-cheng Li [Mon, 20 Apr 2009 09:01:17 +0000 (17:01 +0800)]
Disable debug messages.

http://b/1786334

9 years agoAdd brightness control and adjust brightness formula for better effect.
Ray Chen [Wed, 15 Apr 2009 05:21:35 +0000 (13:21 +0800)]
Add brightness control and adjust brightness formula for better effect.

9 years agoAI 145679: Add picture size settings.
Wu-cheng Li [Fri, 10 Apr 2009 06:46:14 +0000 (23:46 -0700)]
AI 145679: Add picture size settings.
  BUG=1761248

Automated import of CL 145679

9 years agoAI 144213: Initial implementation of effect settings.
Wu-cheng Li [Thu, 2 Apr 2009 09:38:09 +0000 (02:38 -0700)]
AI 144213: Initial implementation of effect settings.
  BUG=1753515

Automated import of CL 144213

9 years agoAI 144187: Initial implementation of manual white-balance setting.
Wu-cheng Li [Thu, 2 Apr 2009 08:39:36 +0000 (01:39 -0700)]
AI 144187: Initial implementation of manual white-balance setting.
  BUG=1742461

Automated import of CL 144187

9 years agoAI 143161: am: CL 142857 Add some bluring to the animation. This requires a new kerne...
Mathias Agopian [Fri, 27 Mar 2009 22:40:04 +0000 (15:40 -0700)]
AI 143161: am: CL 142857 Add some bluring to the animation. This requires a new kernel which will be checked-in later, at which point the blur effect will automatically be enabled.
  Original author: mathias
  Merged from: //branches/cupcake/...

Automated import of CL 143161

9 years agoAI 143154: am: CL 142838 Fix that the colors of preview and captured images are diffe...
Wu-cheng Li [Fri, 27 Mar 2009 22:16:26 +0000 (15:16 -0700)]
AI 143154: am: CL 142838 Fix that the colors of preview and captured images are different.
  After testing, setting auto-focus (AF) and white-balance (WB) change
  the color.
  AF will be enabled during AF start (camera_af_start()). There is no
  need to enable autofocus in setParameters. So, it is removed.
  WB is "AUTO" by default. If WB setting is unchanged, do not set it
  again.
  Original author: wuchengli
  Merged from: //branches/cupcake/...

Automated import of CL 143154

9 years agoAutomated import from //branches/cupcake/...@142857,142857
Mathias Agopian [Thu, 26 Mar 2009 04:43:45 +0000 (21:43 -0700)]
Automated import from //branches/cupcake/...@142857,142857

9 years agoAutomated import from //branches/cupcake/...@142838,142838
Wu-cheng Li [Thu, 26 Mar 2009 02:27:41 +0000 (19:27 -0700)]
Automated import from //branches/cupcake/...@142838,142838

9 years agoAutomated import from //branches/donutburger/...@142828,142828
Joe Onorato [Thu, 26 Mar 2009 01:22:18 +0000 (18:22 -0700)]
Automated import from //branches/donutburger/...@142828,142828

9 years agoAutomated import from //branches/cupcake/...@142827,142827
Joe Onorato [Thu, 26 Mar 2009 01:19:11 +0000 (18:19 -0700)]
Automated import from //branches/cupcake/...@142827,142827

9 years agoAutomated import from //branches/donutburger/...@142425,142425
Iliyan Malchev [Wed, 25 Mar 2009 05:41:38 +0000 (22:41 -0700)]
Automated import from //branches/donutburger/...@142425,142425

9 years agoAutomated import from //branches/donutburger/...@142268,142268
Iliyan Malchev [Wed, 25 Mar 2009 05:19:38 +0000 (22:19 -0700)]
Automated import from //branches/donutburger/...@142268,142268

9 years agoAutomated import from //branches/donutburger/...@141204,141204
Eric Laurent [Wed, 25 Mar 2009 02:49:29 +0000 (19:49 -0700)]
Automated import from //branches/donutburger/...@141204,141204

9 years agoAutomated import from //branches/cupcake/...@142424,142424
Iliyan Malchev [Wed, 25 Mar 2009 02:40:56 +0000 (19:40 -0700)]
Automated import from //branches/cupcake/...@142424,142424

9 years agoAutomated import from //branches/donutburger/...@141086,141086
Joe Onorato [Wed, 25 Mar 2009 02:29:20 +0000 (19:29 -0700)]
Automated import from //branches/donutburger/...@141086,141086

9 years agoAutomated import from //branches/cupcake/...@142174,142174
Iliyan Malchev [Wed, 25 Mar 2009 02:13:05 +0000 (19:13 -0700)]
Automated import from //branches/cupcake/...@142174,142174

9 years agoMerge cupcake into master
Jean-Baptiste Queru [Fri, 20 Mar 2009 22:33:48 +0000 (15:33 -0700)]
Merge cupcake into master

Conflicts:
libaudio/AudioHardware.cpp
libaudio/AudioHardware.h
libcamera/QualcommCameraHardware.cpp
libcamera/QualcommCameraHardware.h

9 years agoauto import from //branches/cupcake_rel/...@141571
The Android Open Source Project [Fri, 20 Mar 2009 06:08:56 +0000 (23:08 -0700)]
auto import from //branches/cupcake_rel/...@141571

9 years agoauto import from //branches/cupcake_rel/...@140373
The Android Open Source Project [Thu, 19 Mar 2009 00:39:47 +0000 (17:39 -0700)]
auto import from //branches/cupcake_rel/...@140373

9 years agoauto import from //branches/cupcake_rel/...@138607
The Android Open Source Project [Fri, 13 Mar 2009 20:04:24 +0000 (13:04 -0700)]
auto import from //branches/cupcake_rel/...@138607

9 years agoauto import from //branches/cupcake/...@137873
The Android Open Source Project [Thu, 12 Mar 2009 18:02:43 +0000 (11:02 -0700)]
auto import from //branches/cupcake/...@137873

9 years agoFix dream build
Jean-Baptiste Queru [Sat, 17 Jan 2009 01:50:39 +0000 (17:50 -0800)]
Fix dream build

update to refer to the new location of the underlying header

9 years agoUpdate QualcommCameraHardware.{h,cpp} to a cupcake-compatible version.
Jean-Baptiste Queru [Wed, 14 Jan 2009 17:51:35 +0000 (09:51 -0800)]
Update QualcommCameraHardware.{h,cpp} to a cupcake-compatible version.

This fixes the dream builds.

9 years agocupcake: update libaudio
Iliyan Malchev [Fri, 26 Dec 2008 09:18:10 +0000 (01:18 -0800)]
cupcake: update libaudio

This fixes the htc_dream build.

Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agouser-space RPC library
Iliyan Malchev [Thu, 13 Nov 2008 01:27:52 +0000 (17:27 -0800)]
user-space RPC library

Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agoadd camera-interface library for dream
Iliyan Malchev [Thu, 6 Nov 2008 01:34:46 +0000 (17:34 -0800)]
add camera-interface library for dream

Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agoupdate libaudio to new snd-driver ioctls
Iliyan Malchev [Tue, 4 Nov 2008 06:12:27 +0000 (22:12 -0800)]
update libaudio to new snd-driver ioctls

Signed-off-by: Iliyan Malchev <malchev@google.com>
9 years agomsm7k hardware glue, initial checkin: libaudio
Brian Swetland [Wed, 29 Oct 2008 04:53:33 +0000 (21:53 -0700)]
msm7k hardware glue, initial checkin: libaudio