Benoit Goby [Fri, 21 Sep 2012 05:36:09 +0000 (22:36 -0700)]
hwc: Call hotplug on HPD
Bug:
7123196
Change-Id: I982b6af991c9d6d2fb76a7984138b4f999eb61b0
Benoit Goby [Thu, 20 Sep 2012 02:24:19 +0000 (19:24 -0700)]
hwc: Implement prepare and set for HDMI
Bug:
7123196
Change-Id: I0ba82e8772adba8bc43fbfa329008e096bcecd0d
Rebecca Zavin [Fri, 21 Sep 2012 00:14:20 +0000 (17:14 -0700)]
Merge "hardware: samsung_slsi: libcamera2: add classification of FD meta data" into jb-mr1-dev
Rebecca Zavin [Fri, 21 Sep 2012 00:14:05 +0000 (17:14 -0700)]
Merge "hardware: samsung_slsi: libcamera2: Touch AF and WB exif bug fix" into jb-mr1-dev
Sanghee Kim [Sat, 15 Sep 2012 06:58:28 +0000 (23:58 -0700)]
exynos5: libhwc: support the directFB for RGB565.
Gaia display controller supports RGB order each window.
Even if differet order of several formats are mixed,
can control RGB order each window.
Change-Id: Id4117d56f548af40579580632e83c140257d2d5d
Signed-off-by: Sanghee Kim <haya93@samsung.com>
Rebecca Zavin [Thu, 20 Sep 2012 21:40:48 +0000 (14:40 -0700)]
Merge "hwc: send non-gscaler fence fds to kernel" into jb-mr1-dev
Greg Hackmann [Tue, 18 Sep 2012 20:10:33 +0000 (13:10 -0700)]
hwc: send non-gscaler fence fds to kernel
Waiting for the fences inside the kernel's worker thread (instead of
blocking in userspace) allows better pipelining. Gscaler support for
sync is not yet complete, so still wait for those buffers inside the
HWC.
Change-Id: I8f7fcf7c0d7f4d0bed622239e5fbe626444bf4d9
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Younghwan Joo [Thu, 20 Sep 2012 20:56:59 +0000 (13:56 -0700)]
hardware: samsung_slsi: libcamera2: add classification of FD meta data
This commit is to add classification of FD meta data by
fd scores
Change-Id: I593383eca67b7a84421ef8d69f532878923db5eb
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
Younghwan Joo [Thu, 20 Sep 2012 01:41:35 +0000 (18:41 -0700)]
hardware: samsung_slsi: libcamera2: Touch AF and WB exif bug fix
This patch is to fix bugs belonged to touch AF and WB exif
Change-Id: I71e61b6a22bc78e821f0c4f04f70fc8f6911dfa2
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
Conflicts:
libcamera2/ExynosCameraHWInterface2.cpp
libcamera2/ExynosCameraHWInterface2.h
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
Conflicts:
libcamera2/ExynosCameraHWInterface2.cpp
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
Rebecca Schultz Zavin [Thu, 20 Sep 2012 07:21:01 +0000 (00:21 -0700)]
Update gralloc to use new ion flag
Switches cached allocations from faulting in mappings, to
allocating them at mmap time. Caches now have to be managed manually
from gralloc lock/unlock
Bug:
6854979
Change-Id: I2fa31719c70bb1ce836ca34c49cb34ab509ff1db
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Jesse Hall [Thu, 20 Sep 2012 21:13:09 +0000 (14:13 -0700)]
Merge "getDisplayAttributes now returns an error code" into jb-mr1-dev
Jesse Hall [Thu, 20 Sep 2012 18:43:49 +0000 (11:43 -0700)]
getDisplayAttributes now returns an error code
Change-Id: I79d2d38cc74fa5c4b3cc7d0538cef1c6d7f3e484
Rebecca Zavin [Thu, 20 Sep 2012 18:05:49 +0000 (11:05 -0700)]
Merge "hardware: samsung_slsi: libcamera2: Change timing of stream notification" into jb-mr1-dev
Rebecca Zavin [Thu, 20 Sep 2012 18:05:27 +0000 (11:05 -0700)]
Merge "hardware: samsung_slsi: libcamera2: ZSL Bug fixes" into jb-mr1-dev
Rebecca Zavin [Thu, 20 Sep 2012 18:05:15 +0000 (11:05 -0700)]
Merge "hardware: samsung_slsi: libcamera2: Supports VDIS static metadata" into jb-mr1-dev
Greg Hackmann [Wed, 19 Sep 2012 22:09:04 +0000 (15:09 -0700)]
hwc: fixup windows configurations that extend past screen edge
Also warn on (and don't compose) completely off-screen surfaces, which
would be "fixed up" in nonsensical ways
Bug
7188695
Change-Id: If50df49c958a743783a5a3e8c616ba2d3b284461
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Sungjoong Kang [Mon, 17 Sep 2012 23:50:07 +0000 (16:50 -0700)]
hardware: samsung_slsi: libcamera2: Change timing of stream notification
Changes stream output notification after enqueue_buffer()
to camera service.
Added synchronization to output stream parameters.
Change-Id: Iaae415c4c7ef043a75f0933cd209e9b5ab5fe295
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Sungjoong Kang [Wed, 19 Sep 2012 07:13:43 +0000 (00:13 -0700)]
hardware: samsung_slsi: libcamera2: ZSL Bug fixes
Fixed crash on switching modes.
Reprocessed stream data will have proper timestamp.
Change-Id: I4453aa237eef6911f4c44a7f02a8494f32f58072
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Sungjoong Kang [Wed, 19 Sep 2012 06:44:00 +0000 (23:44 -0700)]
hardware: samsung_slsi: libcamera2: Supports VDIS static metadata
To make this patch take effect, VDIS_ENABLE should be defined.
VDIS parameters are defined within static information and
default request template.
Change-Id: I7cab259c00268278b0100aba30439e3a957dc6a7
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Dima Zavin [Tue, 18 Sep 2012 23:25:35 +0000 (16:25 -0700)]
Merge changes I83981ce2,I352ca1a1 into jb-mr1-dev
* changes:
hardware: samsung_slsi: exynos5: Seperate Secure memory region
mobicore : Added external variable for DRM library
Greg Hackmann [Tue, 18 Sep 2012 22:46:06 +0000 (15:46 -0700)]
Merge "hwc: add system property to force gpu composition" into jb-mr1-dev
Rebecca Zavin [Tue, 18 Sep 2012 22:21:59 +0000 (15:21 -0700)]
Merge "hardware: samsung_slsi: libcamera2: Add a signal buffer to threads" into jb-mr1-dev
Rebecca Zavin [Tue, 18 Sep 2012 22:21:45 +0000 (15:21 -0700)]
Merge "hardware: samsung_slsi: libcamera2: Fix mode switch bug and log msgs" into jb-mr1-dev
Rebecca Zavin [Tue, 18 Sep 2012 22:21:31 +0000 (15:21 -0700)]
Merge "hardware: samsung_slsi: libcamera2: Modify thread creators" into jb-mr1-dev
Greg Hackmann [Tue, 18 Sep 2012 00:47:09 +0000 (17:47 -0700)]
hwc: add system property to force gpu composition
Change-Id: I7cbe01109675d373ec6e55439020f0f926a9e5a9
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Jihyun Kim [Wed, 12 Sep 2012 07:51:53 +0000 (16:51 +0900)]
hardware: samsung_slsi: exynos5: Seperate Secure memory region
This patch update OMX and HWC to separate secure memory region.
Secure memory region is separated with MFC_INPUT, MFC_OUTPU, FIMD_VIDEO.
Change-Id: I83981ce288de76ea5fb123bfc471d790a7706cee
Signed-off-by: Jihyun Kim <jihyun86.kim@samsung.com>
Jungtae Kim [Thu, 23 Aug 2012 23:13:22 +0000 (16:13 -0700)]
mobicore : Added external variable for DRM library
Added external variable that is needed to compile liboemcrypto library
Change-Id: I352ca1a15c0d24bbdb0132fb658abfa22caf3cb1
Signed-off-by: Jungtae Kim <jt1217.kim@samsung.com>
Greg Hackmann [Tue, 11 Sep 2012 22:57:50 +0000 (15:57 -0700)]
hwc: implement HWC HAL 1.1
Change-Id: I687dee326846e148f559556a4ba045601f362c27
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Greg Hackmann [Thu, 13 Sep 2012 20:38:12 +0000 (13:38 -0700)]
HACK: hwc: hard-code screen resolution
Change-Id: Id0e3d50e07f56395873e14286772e2b3f6497d4a
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Greg Hackmann [Tue, 11 Sep 2012 21:28:41 +0000 (14:28 -0700)]
hwc: read display configuration directly from fb device
In preparation for framebuffer device going away in HWC 1.1
Change-Id: I6b5b3fcd521aa130343386487170bc8518ebf95a
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Greg Hackmann [Tue, 18 Sep 2012 20:49:46 +0000 (13:49 -0700)]
Merge "hwc: increase gscaler ring buffer size to 3" into jb-mr1-dev
Sungjoong Kang [Tue, 18 Sep 2012 19:25:13 +0000 (12:25 -0700)]
hardware: samsung_slsi: libcamera2: Add a signal buffer to threads
Add a simple signal buffer to threads
so that they can hold one pending signal.
Change-Id: I38474b5fabdaf337d683a6291a3a0f6d522ec256
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Sungjoong Kang [Tue, 18 Sep 2012 08:13:52 +0000 (01:13 -0700)]
hardware: samsung_slsi: libcamera2: Fix mode switch bug and log msgs
Removed repeated logs.
Fixed potential bug that may make lockup on mode switch.
Change-Id: Ib2581d0a24d629fdccf1fbc7745c773961b45150
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Sungjoong Kang [Tue, 18 Sep 2012 00:46:52 +0000 (17:46 -0700)]
hardware: samsung_slsi: libcamera2: Modify thread creators
This patch resolves the crash with pure virtual functions
on changing modes.
Thread creators are modified not to call run function.
Change-Id: Ib4864aaf46852583d742a8f36001ef93b0504e07
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Rebecca Schultz Zavin [Tue, 18 Sep 2012 18:37:30 +0000 (11:37 -0700)]
Merge "STOPSHIP libcamera2: remove device metadata" into jb-mr1-dev
Rebecca Zavin [Tue, 18 Sep 2012 18:32:59 +0000 (11:32 -0700)]
Merge "hardware: samsung_slsi: libcamera2: Adjust exposure time in metadata" into jb-mr1-dev
Rebecca Zavin [Tue, 18 Sep 2012 18:32:32 +0000 (11:32 -0700)]
Merge "hardware : samsung_slsi: libcamera2: pre-capture metering bug fix" into jb-mr1-dev
Rebecca Zavin [Tue, 18 Sep 2012 18:31:53 +0000 (11:31 -0700)]
Merge "hardware: samsung_slsi: libcamera2: manual focus mode bug fix" into jb-mr1-dev
Greg Hackmann [Tue, 18 Sep 2012 00:31:30 +0000 (17:31 -0700)]
hwc: increase gscaler ring buffer size to 3
Fixes tearing reported in bug
7147037
Change-Id: I1b646b31fb23d1386c0cf48e2bfbfd3f1acc9378
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Sungjoong Kang [Tue, 18 Sep 2012 01:02:01 +0000 (18:02 -0700)]
hardware: samsung_slsi: libcamera2: Adjust exposure time in metadata
Represent exposure time just above 500ms as 1/2sec, not 1 sec
in metadata field.
Change-Id: I0e58f8fa23ded1bb19e832bcb11e823d8e6502ee
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Dima Zavin [Tue, 18 Sep 2012 17:34:34 +0000 (10:34 -0700)]
Merge "exynos5: libkeymaster: add keymaster HAL for Exynos5" into jb-mr1-dev
DongJin Park [Fri, 31 Aug 2012 09:08:58 +0000 (18:08 +0900)]
exynos5: libkeymaster: add keymaster HAL for Exynos5
Change-Id: I5f89cbda9f24683ace7dd13e5d279af3546811e2
Signed-off-by: DongJin Park <djpax.park@samsung.com>
Benoit Goby [Mon, 17 Sep 2012 22:24:57 +0000 (15:24 -0700)]
exynos5: Add V4L2_CID_TV_MAX_AUDIO_CHANNELS
Change-Id: I2b6851d6b9a4331a152f38d5d0746204334002cd
Younghwan Joo [Mon, 17 Sep 2012 04:05:30 +0000 (21:05 -0700)]
hardware : samsung_slsi: libcamera2: pre-capture metering bug fix
This patch is to fix a bug of flash operation at pre-capture
metering.
Change-Id: I6178481d0fa208ecb24a5f508229a276e2d97bb9
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
Younghwan Joo [Sat, 15 Sep 2012 08:22:10 +0000 (01:22 -0700)]
hardware: samsung_slsi: libcamera2: manual focus mode bug fix
This patch is to fix a bug that internal af canceling may be
duplicated with manual af
Change-Id: I492cc7a7292089808551067e3d68eee3e9daa566
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
Rebecca Zavin [Sat, 15 Sep 2012 05:51:25 +0000 (22:51 -0700)]
Merge "hardware: samsung_slsi: libcamera2: pre-capture metering bug fix" into jb-mr1-dev
Younghwan Joo [Sat, 15 Sep 2012 01:21:16 +0000 (18:21 -0700)]
hardware: samsung_slsi: libcamera2: pre-capture metering bug fix
This patch is to fix a bug still and video mode transition
during flash sequence.
Change-Id: Icf7a66d8df87bbd66b5306edfa92ec842b62c0b4
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
Rebecca Zavin [Sat, 15 Sep 2012 05:15:30 +0000 (22:15 -0700)]
Merge "hardware: samsung_slsi: libcamera2: support AE and AWB state" into jb-mr1-dev
Rebecca Zavin [Sat, 15 Sep 2012 05:14:37 +0000 (22:14 -0700)]
Merge "hardware: samsung_slsi: libcamera2: Use FORMAT_ZSL for stream setup" into jb-mr1-dev
Younghwan Joo [Fri, 14 Sep 2012 17:36:19 +0000 (10:36 -0700)]
hardware: samsung_slsi: libcamera2: support AE and AWB state
This commit is to add AE and AWB state to dynamic meta data
sent by cameraHAL to camera service.
Change-Id: If73d729c310c8daf002e5ba433a8c52ea1c7b2b5
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
Sungjoong Kang [Fri, 14 Sep 2012 03:49:27 +0000 (20:49 -0700)]
hardware: samsung_slsi: libcamera2: Use FORMAT_ZSL for stream setup
Use CAMERA2_HAL_PIXEL_FORMAT_ZSL for ZSL stream setup.
Also fixes bugs when switching betwwen still and recording mode
and ZSL reprocessing failure case.
Change-Id: Ib12427c5535a834bbd01b37bf3708643a6fe7c40
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
James Dong [Fri, 14 Sep 2012 23:26:37 +0000 (16:26 -0700)]
Merge "exynos_omx: multi_thread: Change bitrate setting in encode component." into jb-mr1-dev
Dima Zavin [Fri, 14 Sep 2012 21:56:07 +0000 (14:56 -0700)]
Merge changes I054eba95,I833315b5 into jb-mr1-dev
* changes:
mobicore: remove useless Android.mk files
mobicore: update MobiCore userspace daemon and libraries
SeungBeom Kim [Wed, 5 Sep 2012 06:35:55 +0000 (15:35 +0900)]
exynos_omx: multi_thread: Change bitrate setting in encode component.
Change bitrate setting in encode component for VBR and CBR support.
CBR mains a relative constant bit rate for a small window of time period and the actual bit rate for that small window should be really close to the target bit rate.
VBR maintains a larger variable bit rate for a small window of time duration, but the avg bit rate still needs to converge to the target bit rate for a relatively large window of time duration.
Change-Id: I25e7ccdf3c53e6abacc1c7ed9235292ab97b940a
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
Sungjoong Kang [Fri, 14 Sep 2012 20:50:31 +0000 (13:50 -0700)]
hardware: samsung_slsi: libcamera2: Modify Debug Message
Changed message levels of essential non per-frame logs to debug
and lowered level of per-frame logs.
Change-Id: I015608cac05990a9e16b7e7908eed005dac5fa05
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Dima Zavin [Thu, 13 Sep 2012 23:15:42 +0000 (16:15 -0700)]
mobicore: remove useless Android.mk files
Change-Id: I054eba9532d34fae0a198e8f28cedcae4adb90d3
Signed-off-by: Dima Zavin <dima@android.com>
Jihyun Kim [Wed, 12 Sep 2012 12:08:11 +0000 (21:08 +0900)]
mobicore: update MobiCore userspace daemon and libraries
Mobicore is updated to MC1.2_V003 from MC1.2_V002.
So, mobicore driver is updated following
SAMSUNG_Exynos5250_EngineeringRelease_MC1.2_V003
In addition, provisioning library is removed.
Change-Id: I833315b54bbc9b046017d7ddddcb1a19e028bcf9
Signed-off-by: Jihyun Kim <jihyun86.kim@samsung.com>
Younghwan Joo [Fri, 14 Sep 2012 09:07:41 +0000 (02:07 -0700)]
hardware: samsung_slsi: libcamera2: remove redundant code at CAF video
This patch is to remove unnecessary operation of CAF video.
At CAF video, automatic trigger is performed in case of
scene change.
Change-Id: Ieb53cdfe1ffda8062c3de1ed9fafbe68b479c3b1
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
Younghwan Joo [Fri, 14 Sep 2012 05:07:41 +0000 (22:07 -0700)]
hardware: samsung_slsi: libcamera2: support infinity focus mode
This patch is to support infinity focus mode.
Change-Id: I1eb8854a76b8522f1e0c043c7d6d7f059b1035c6
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
Younghwan Joo [Thu, 13 Sep 2012 22:22:26 +0000 (15:22 -0700)]
hardware: samsung_slsi: libcamera2: update metadata header
This patch is to update meta data header shared with
driver and frimware. So this commit is needed driver
commit and camera commit for proper operation.
Change-Id: I2b962517d597de98f6801c62b240011251a215f3
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
hyeonmyeong Choi [Thu, 13 Sep 2012 09:05:37 +0000 (02:05 -0700)]
hardware: samsung_slsi: libcamera2: Modify to support video stabilization(VDIS)
This patch modify to support video stabilizaion(VDIS).
Change-Id: Ie155f5e3e310aa12b77b75fe0b8789ac45932404
Signed-off-by: hyeonmyeong Choi <hyeon.choi@samsung.com>
hyeonmyeong Choi [Sun, 9 Sep 2012 21:37:06 +0000 (14:37 -0700)]
hardware: samsung_slsi: libcamera2: Modify max count of face detection
This patch increase the number of maximum face detection from 3 to 16.
Change-Id: Ifa6ea64012772d13130d55a83553315599783ad3
Signed-off-by: hyeonmyeong Choi <hyeon.choi@samsung.com>
Sungjoong Kang [Fri, 14 Sep 2012 09:46:47 +0000 (02:46 -0700)]
hardware: samsung_slsi: libcamera2: Fix memory leak on exit
Fix memory leak caused by not freeing image buffers.
Change-Id: I151fb374f75256c2c96ec4256c11aa2a235d93a0
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Sungjoong Kang [Thu, 13 Sep 2012 23:29:41 +0000 (16:29 -0700)]
hardware: samsung_slsi: libcamera2: Remove HACK used for frame sync
Remove hack code used before frame sync is enabled.
With this patch, v4l2 error msg when zsl is enabled
will be removed also.
Change-Id: I34c38d7f3d29b1fb66f41f90afd377cf7308f238
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Sungjoong Kang [Thu, 13 Sep 2012 23:16:51 +0000 (16:16 -0700)]
hardware: samsung_slsi: libcamera2: Fix video snapshot crash
Fix the bug that video snapshot crashes sometimes
by using mutex for timestamp-related function
Change-Id: I9fc1f957b63959d16ec8256fe858438ba8044809
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
hyeonmyeong Choi [Wed, 12 Sep 2012 23:50:09 +0000 (16:50 -0700)]
hardware: samsung_slsi: libcamera2: Fix the preview callback bug.
This patch fix the preview callback bug
that the camera is failed when color format of preview callback is YV12.
Change-Id: Ib5f607773111da54e3365045c67da9aca1b634b4
Signed-off-by: hyeonmyeong Choi <hyeon.choi@samsung.com>
Sungjoong Kang [Thu, 13 Sep 2012 08:50:21 +0000 (01:50 -0700)]
hardware: samsung_slsi:libcamera2: Fix Night scene mode crash
Fix the crash on snapshot under dark condition
by reducing response time to avoid capture sequencer timeout.
Change-Id: Ib072acf8dd490f72991914f1c1e4aff6494a4f9c
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Younghwan Joo [Thu, 13 Sep 2012 05:21:55 +0000 (22:21 -0700)]
hardware: samsung_slsi: libcamera2: support pre-capture metering
This patch is to support pre-capture metering.
In case of standard capture, camera service uses pre-capture
tigger and notification for AE and AWB measurement before capture
Change-Id: Iec9067ea1f2ed6496062a20e339e6a417a48ec3c
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
Younghwan Joo [Wed, 12 Sep 2012 18:50:04 +0000 (11:50 -0700)]
hardware: samsung_slsi: libcamera2: support wb exif info
This patch is to fix a bug that whitebalance info of EXIF
is not proper. Handling AE and AWB lock are changed due to
these parameter were separated from AE and AWB mode
Change-Id: Id5c906fb80e714813531de78238196e3e97bfee9
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
Sungjoong Kang [Wed, 12 Sep 2012 03:41:10 +0000 (20:41 -0700)]
hardware: samsung_slsi:libcamera2: Enable ZSL and frame sync
This patch enables ZSL feature.
Stream structure has been re-organized for supporting ZSL.
Modified Start/End sequence.
Requires frame sync functionalities.
Change-Id: I02a77027934fcc4238afd63ee67259708893ea5e
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Greg Hackmann [Wed, 12 Sep 2012 22:11:07 +0000 (15:11 -0700)]
hwc: clear cached gscaler info after failed allocation
Prevents next allocation attempt from "re-using" NULL pointers
Change-Id: I380c37317a82fdead09ad48c7836ce0e795ee80d
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Rebecca Schultz Zavin [Wed, 12 Sep 2012 22:42:13 +0000 (15:42 -0700)]
STOPSHIP libcamera2: remove device metadata
Goes with earlier patch to remove device metadata
With this change the thumbnail will still be present
even though the metadata is removed
Change-Id: Iefb79a2e9f17f360526bfa57dd5649452d1e1d10
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Greg Hackmann [Wed, 12 Sep 2012 22:07:23 +0000 (15:07 -0700)]
hwc: store gscaler configuration in correct slot
gsc_map is indexed by window #, not by layer #
Change-Id: I6f89e9b0de3787e0ab2aeb490bb6eb3c86bdcf8a
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Greg Hackmann [Wed, 12 Sep 2012 16:49:29 +0000 (09:49 -0700)]
Revert "hwc: enforce bandwidth limitations on each memory interface"
This reverts commit
aa14c9fba2a5790cfc249afe0cd361aef774d16b.
Greg Hackmann [Wed, 12 Sep 2012 16:28:22 +0000 (09:28 -0700)]
Revert "hwc: enable gscaler on RGBX8888 surfaces"
This reverts commit
36530ec6d52ee39c3755e1d26f6a9ead6b41e2bb.
Rebecca Schultz Zavin [Wed, 12 Sep 2012 07:33:27 +0000 (00:33 -0700)]
Revert "libgscaler: rework configuration checking and alignment"
This reverts commit
a9ea534343fd683fda86df74646b57fc95caaa78.
Rebecca Schultz Zavin [Wed, 12 Sep 2012 07:30:52 +0000 (00:30 -0700)]
Revert "hwc: rewrite supports_gscaler() to use libgscaler"
This reverts commit
f3416d3fd62de43b5f15076957d94282e13b30ba.
Rebecca Zavin [Wed, 12 Sep 2012 00:12:28 +0000 (17:12 -0700)]
Merge changes Ia20f32e5,I8adb05ca into jb-mr1-dev
* changes:
hardware: samsung_slsi:libcamera2: enable frame sync
hardware: samsung_slsi: libcamera2: decrease the number of request entry
Rebecca Zavin [Wed, 12 Sep 2012 00:10:20 +0000 (17:10 -0700)]
Merge "hardware: samsung_slsi: libcamera2: Bug fix for stop sequence" into jb-mr1-dev
Jiyoung Shin [Mon, 10 Sep 2012 14:14:54 +0000 (23:14 +0900)]
hardware: samsung_slsi:libcamera2: enable frame sync
To secure frame by frame operation, frame sync is enabled
It needs "USE_FRAME_SYNC" option in kernel
Change-Id: Ia20f32e540b426e3d6ea9175fab2e32ab643c1f5
Signed-off-by: Jiyoung Shin <idon.shin@samsung.com>
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Greg Hackmann [Thu, 30 Aug 2012 17:07:48 +0000 (10:07 -0700)]
hwc: enforce bandwidth limitations on each memory interface
The memory bandwidth is divided between two interfaces. Check this
after making an allocation, since it's tricky to account for during
allocation (anything involving the framebuffer can completely change the
bandwidth on each interface).
Change-Id: I17a4bc079fc24d924c3a1c2c651d1e544ebc4325
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Greg Hackmann [Sat, 8 Sep 2012 00:35:48 +0000 (17:35 -0700)]
hwc: rewrite supports_gscaler() to use libgscaler
Change-Id: Ia9afc69b827a42199d2dba53245a9bf272f9aff1
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Greg Hackmann [Sat, 8 Sep 2012 00:32:59 +0000 (17:32 -0700)]
libgscaler: rework configuration checking and alignment
Rewritten based on constraints listed in Gscaler application note,
extracted to its own file for readability, and exposed to other modules
(i.e. the HWC) through exynos_gscaler.h.
Change-Id: I963596bbee6301fdf55f6956a0bf6b44de42c861
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Greg Hackmann [Wed, 1 Aug 2012 22:11:52 +0000 (15:11 -0700)]
hwc: enable gscaler on RGBX8888 surfaces
Change-Id: I6985c89d93add9134135b4a900094dd5a529b2ea
Signed-off-by: Greg Hackmann <ghackmann@google.com>
hyeonmyeong Choi [Sat, 8 Sep 2012 22:39:58 +0000 (15:39 -0700)]
hardware: samsung_slsi: libcamera2: Bug fix for stop sequence
This patch fixed the bug that system hang when stop sequence.
This patch make clear that the video node is closed after stream off.
Change-Id: I0a6554f50d5814a6357749b8db3b46c07b25f9c0
Signed-off-by: hyeonmyeong Choi <hyeon.choi@samsung.com>
Sungjoong Kang [Tue, 4 Sep 2012 12:43:06 +0000 (21:43 +0900)]
hardware: samsung_slsi: libcamera2: decrease the number of request entry
for faster response of cameraService, decrease the number of entry from 10 to 4
Change-Id: I8adb05ca4933e261786fae59767f41910e09052e
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Greg Hackmann [Tue, 11 Sep 2012 22:03:25 +0000 (15:03 -0700)]
Merge "hwc: moved GSC dst's drmmode checking." into jb-mr1-dev
Sanghee Kim [Fri, 31 Aug 2012 05:59:43 +0000 (22:59 -0700)]
hwc: moved GSC dst's drmmode checking.
gsc_dst_cfg_changed() function check whether drmmode is changed.
so The checking code for drm mode should be located beforing
gsc_dst_cfg_changed().
Currently GSC dst's buffer property is same with GSC src's buffer
property related with drm mode.
Change-Id: Ib8c8b0f96d7e22c83d24ef9c77b3a0ff896dee9c
Signed-off-by: Sanghee Kim <haya93@samsung.com>
hyeonmyeong Choi [Mon, 10 Sep 2012 18:53:49 +0000 (11:53 -0700)]
hardware: samsung_slsi: libcamera2: Add log level for camera debug
This patch add new log level for camera debug.
CAM_LOGs are only enable when EXYNOS_CAMERA_LOG is defined.
Change-Id: Idf866527db839d3b8a37848d8958f91dad22186c
Signed-off-by: hyeonmyeong Choi <hyeon.choi@samsung.com>
Rebecca Schultz Zavin [Tue, 11 Sep 2012 18:15:48 +0000 (11:15 -0700)]
Remove compiler warning from gralloc, fix some white space
Change-Id: I0cc4577a52bb1f63fae07a02d8c5df8562fcbaf1
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Sungjoong Kang [Fri, 7 Sep 2012 00:11:16 +0000 (17:11 -0700)]
hardware: samsung_slsi: gralloc: Support HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED
When allocation with HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED is requested,
gralloc chooses proper format using the usage flag.
Change-Id: Ie706444af82ba014a90af968703889963fb763d4
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Sungjoong Kang [Sat, 8 Sep 2012 02:05:31 +0000 (19:05 -0700)]
hardware: samsung_slsi: Add fnumber item for metadata
This patch adds f-number item to camera static information.
Fnumber is used for metadata.
Change-Id: Ia4a4624c36a634d087543a42e2575b2eba17bdbe
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Younghwan Joo [Sun, 9 Sep 2012 04:11:18 +0000 (21:11 -0700)]
hardware: samsung_slsi: libcamera2: change flash sequence
This patch is to change flash sequence
- seperate ae/awb lock and flashMode checking routine
- apply flash status to EXIF
Change-Id: I02796340ad317327f22b2e833058a3665ef1334e
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
hyeonmyeong Choi [Sun, 9 Sep 2012 18:50:21 +0000 (11:50 -0700)]
hardware: samsung_slsi: libcamera2: Recording bug fix
This patch fixed bug that frame drop while video recording.
Change-Id: I0fc64daa70c6689b328f4fd6b6fe96c1078ea6bb
Signed-off-by: hyeonmyeong Choi <hyeon.choi@samsung.com>
hyeonmyeong Choi [Thu, 6 Sep 2012 19:45:44 +0000 (12:45 -0700)]
device: samsung_slsi: libcamera2: Add support video resolutions.
This patch add support video resolutions as below :
1920, 1080, // 16:9
1440, 1080, // 4:3
1280, 1024, // 5:4
1280, 720, // 16:9
960, 720, // 4:3
800, 480, // 5:3
768, 576, // 4:3
720, 576, // 5:4
720, 480, // 3:2
640, 480, // 4:3
352, 288, // 11:9
320, 240, // 4:3
240, 160, // 3:2
176, 144, // 6:5
128, 96, // 4:3
Change-Id: I9ed59a5c7869b293ec55718fab7e556347fae8f1
Signed-off-by: hyeonmyeong Choi <hyeon.choi@samsung.com>
Younghwan Joo [Fri, 7 Sep 2012 20:34:20 +0000 (13:34 -0700)]
hardware: samsung_slsi: libcamera2: modify flash function
This patch is to fix some bugs about flash operation
- support flash torch at video mode
- fix a bug of flash with manual white balance
- fix a bug of EV setting during capture
- change checking flash status methods
Change-Id: Iecc5010bdf9a09aff27d3c2b9e6bf3b84ae77e60
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
Greg Hackmann [Tue, 14 Aug 2012 22:50:51 +0000 (15:50 -0700)]
hwc: warn about unexpected formats
Change-Id: Id4f48dba0b8be40ac3bbb228234abb10bfb45ce5
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Younghwan Joo [Thu, 6 Sep 2012 00:52:08 +0000 (17:52 -0700)]
hardware: samsung_slsi: libcamera2: update flash function
This patch is to modify flash sequence base on the defined
flash scenario. this patch is also applied to monitor dynamic
meta data. Due to change camera meta data structure, updating
driver and camera firmware is needed to apply this patch.
Change-Id: I39a9a1b648a20470b017a5ea614dc3260e3d838a
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
hyeonmyeong Choi [Wed, 5 Sep 2012 07:51:31 +0000 (00:51 -0700)]
hardware: samsung_slsi: libcamera2: Fix preview delay and recording bugs
This patch fixed bugs that the preview is going slower when after capture.
This patch also fixed preview color corruption when 480p recording.
Change-Id: I4823830362cac17cd65a13776cd654801ab2d1fc
Signed-off-by: hyeonmyeong Choi <hyeon.choi@samsung.com>
Younghwan Joo [Tue, 4 Sep 2012 03:47:21 +0000 (20:47 -0700)]
hardware: samsung_slsi: libcamera2: Fix AF and CAF transition bug
This patch is to fix a bug that the transition beween
single AF and continuous AF. In that case, the region
information of single AF affects to CAF. At starting of
CAF, region infos are initialized.
Change-Id: I6cf6c7c86cd84284bc34fdaee1750ab72391fb76
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>