GitHub/LineageOS/android_hardware_samsung_slsi_exynos5.git
12 years agohardware: samsung_slsi: libcamera2: Supports scene mode override and quirks
Sungjoong Kang [Tue, 2 Oct 2012 04:50:09 +0000 (21:50 -0700)]
hardware: samsung_slsi: libcamera2: Supports scene mode override and quirks

With this patch, HAL will send scene mode override parameters
and quirk parameters for zsl and af mode.

BUG: 7172543
BUG: 7159577
Change-Id: Ia40cf3b600c1ae89a579c3f57f45752cb99ccf3b
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: AE lock bug fix
Hyeonmyeong Choi [Sat, 29 Sep 2012 08:38:37 +0000 (17:38 +0900)]
hardware: samsung_slsi: libcamera2: AE lock bug fix

This patch fix the bug that AE mode is locked after capture.
And fix exposure compensation bug that wrong enumeration.

Bug: 7251985
Change-Id: Idfea6abb194c2bc692a38d0303bef9c9d73c4cea
Signed-off-by: Hyeonmyeong Choi <hyeon.choi@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: Modify FPS range static metadata
Sungjoong Kang [Mon, 1 Oct 2012 20:01:11 +0000 (13:01 -0700)]
hardware: samsung_slsi: libcamera2: Modify FPS range static metadata

This patch corrects supported FPS range.

Bug: 7259959
Change-Id: I29d9811b356128d7d47e86a0c5bfdde7fc6ad63d
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: Fix Android YV12 Alignment
Sungjoong Kang [Sat, 29 Sep 2012 03:07:32 +0000 (20:07 -0700)]
hardware: samsung_slsi: libcamera2: Fix Android YV12 Alignment

This patch fixes UV plane misalignment of YV12 format
for the resolutions of which width is not multiple of 32.

BUG: 7225357
Change-Id: I1faa7fbc4d9781466f3e8c8b502e33942c52a746
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agogralloc: change align of stride for EXYNOS_YV12
Seho Kim [Sun, 30 Sep 2012 20:35:01 +0000 (13:35 -0700)]
gralloc: change align of stride for EXYNOS_YV12

alignment of stride for EXNOS_YV12 is changed to 32.

Bug: 7225357
Change-Id: I6ed66ecba77fde6ad22cd366766bd79d7e1d2b50
Signed-off-by: Seho Kim <sh1645.kim@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: Use new JPEG transport header in HAL
Sungjoong Kang [Sat, 29 Sep 2012 00:14:57 +0000 (17:14 -0700)]
hardware: samsung_slsi: libcamera2: Use new JPEG transport header in HAL

HAL sends the actual size of JPEG data by using new jpeg blob structure.
(size will be placed at the end of buffer)

Bug: 7108816
Change-Id: I80b93ed843eabea16656d5677a109979682fba04
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: Fix AE state for night mode
Sungjoong Kang [Sat, 29 Sep 2012 10:32:04 +0000 (03:32 -0700)]
hardware: samsung_slsi: libcamera2: Fix AE state for night mode

Makes AE state to be passed to camera service properly
so that service can decide capture method between ZSL and normal.

Bug: 7257412
Change-Id: I58e8b69a9e444cdc6a69de73075fe67e85ddaa08
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: Fix AWB metadata error with ZSL
Sungjoong Kang [Wed, 26 Sep 2012 20:48:48 +0000 (13:48 -0700)]
hardware: samsung_slsi: libcamera2: Fix AWB metadata error with ZSL

This patch fixes AWB metadata error that causes
stillshot with invaild AWB setting in case of rapid shot.

Bug: 7239330
Change-Id: Ibaa9e4278ea158a0f26a299ad566f3aa045ed108
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: AF stalling bug fix
Younghwan Joo [Sat, 29 Sep 2012 07:32:43 +0000 (16:32 +0900)]
hardware: samsung_slsi: libcamera2: AF stalling bug fix

This patch is to fix a bug that capture operation is impossible
to af stalled.

Bug: 7256969
Change-Id: I156914321137a7f66df4184d64cb6364dfe27a48
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: Supports FPS range metadata
Sungjoong Kang [Sat, 29 Sep 2012 07:21:47 +0000 (00:21 -0700)]
hardware: samsung_slsi: libcamera2: Supports FPS range metadata

This patch enables the processing of min/max FPS metadata.

Bug: 7249364
Change-Id: I27b87ef05d482a37ccf71e87f4d726dfecc4f74f
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agohwc: fix gscaler color order for 565 surfaces
Greg Hackmann [Sun, 30 Sep 2012 20:43:09 +0000 (13:43 -0700)]
hwc: fix gscaler color order for 565 surfaces

Bug: 7257843
Change-Id: I8847cbd49d384238483c1494a1a777d8aef4cff0
Signed-off-by: Greg Hackmann <ghackmann@google.com>
12 years agoMerge "hwc: switch HDMI gscaler input to RGBX" into jb-mr1-dev
Greg Hackmann [Sun, 30 Sep 2012 16:17:01 +0000 (09:17 -0700)]
Merge "hwc: switch HDMI gscaler input to RGBX" into jb-mr1-dev

12 years agoMerge "exynos_omx: Do not call memset on object to be freed" into jb-mr1-dev
Dima Zavin [Fri, 28 Sep 2012 20:46:05 +0000 (13:46 -0700)]
Merge "exynos_omx: Do not call memset on object to be freed" into jb-mr1-dev

12 years agohwc: switch HDMI gscaler input to RGBX
Greg Hackmann [Fri, 28 Sep 2012 20:19:46 +0000 (13:19 -0700)]
hwc: switch HDMI gscaler input to RGBX

Framebuffer format has changed to match mixer's RGB order

Bug: 7229550
Change-Id: Ibb8e9201f0b906ceb06e9fe1fe59e44d0e6e8724
Signed-off-by: Greg Hackmann <ghackmann@google.com>
12 years agoexynos_omx: Do not call memset on object to be freed
SeungBeom Kim [Thu, 27 Sep 2012 19:40:28 +0000 (12:40 -0700)]
exynos_omx: Do not call memset on object to be freed

pointer could be null, in which case free would succeed
but we first called memset() and things exploded.

Fixes a crash when video editor test attempts to export video
with multiple transitions.

Bug: 7233929
Change-Id: Iac752effe2c239b218cfe3c7d46d1b0ad19b7080
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
12 years agoMerge "hwc: reduce blank ioctl EBUSY from error to info" into jb-mr1-dev
Greg Hackmann [Fri, 28 Sep 2012 17:57:22 +0000 (10:57 -0700)]
Merge "hwc: reduce blank ioctl EBUSY from error to info" into jb-mr1-dev

12 years agohwc: reduce blank ioctl EBUSY from error to info
Greg Hackmann [Fri, 28 Sep 2012 17:28:51 +0000 (10:28 -0700)]
hwc: reduce blank ioctl EBUSY from error to info

EBUSY means the screen is already in the requested state.  This happens
during normal initialization and isn't harmful in practice.

Bug: 7249087
Change-Id: Ic8b6078aadd48d776191523e9696455d68b6ac62
Signed-off-by: Greg Hackmann <ghackmann@google.com>
12 years agomobicore: remove useless kernel header
Dima Zavin [Wed, 26 Sep 2012 21:16:37 +0000 (14:16 -0700)]
mobicore: remove useless kernel header

Change-Id: I99713461f5211b3322eb0cdb86bc50f9537714a8
Signed-off-by: Dima Zavin <dima@android.com>
12 years agoexynos: mobicore: update Mobicore userspace daemon and libraries
Jungtae Kim [Fri, 21 Sep 2012 14:23:57 +0000 (23:23 +0900)]
exynos: mobicore: update Mobicore userspace daemon and libraries

Mobicore is updated to MC1.2_V005 from MC1.2_V003
In addition, it fixed Mobicore Startup fail problem.

Change-Id: Iee6e975c043cecc63d3fa95aaee3fc8ff2522ba7
Signed-off-by: Jungtae Kim <jt1217.kim@samsung.com>
12 years agoRevert "Double the memory in any blob allocations"
Rebecca Schultz Zavin [Thu, 27 Sep 2012 23:45:04 +0000 (16:45 -0700)]
Revert "Double the memory in any blob allocations"

This reverts commit 53efd24f292043771988c4715225a2bca32ad2a8.

12 years agohardware: samsung_slsi: libcamera2: Temp increase of jpeg max size
Sungjoong Kang [Thu, 27 Sep 2012 23:02:40 +0000 (16:02 -0700)]
hardware: samsung_slsi: libcamera2: Temp increase of jpeg max size

Before determining actual maximum size of jpeg image,
temporarily increased ANDROID_JPEG_MAX_SIZE to 10MB
so that still capture can be done without gralloc HACK for blob.

Bug: 7234975
Change-Id: I98093fa07068d4a4aa55dda8030558fa81385405
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: Modify stream release condition
Sungjoong Kang [Wed, 26 Sep 2012 20:31:46 +0000 (13:31 -0700)]
hardware: samsung_slsi: libcamera2: Modify stream release condition

This patch fixes preview stuck on 2nd recording after changing
record resolution.

Bug: 7239183
Change-Id: Ic6a852725dcb52a713664f13a4f0d869a99519d1
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: ion_map buffers for required case only
Sungjoong Kang [Thu, 27 Sep 2012 22:40:59 +0000 (15:40 -0700)]
hardware: samsung_slsi: libcamera2: ion_map buffers for required case only

For the buffers which don't require to be handled with address,
don't ion_map them.

Bug: 7208003
Change-Id: Ibcbe29792a57065abd4fd8d266edb1faf077868d
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agoMerge "hardware: samsung_slsi: libcamera2: Enqueue every frame to ISP" into jb-mr1-dev
Rebecca Zavin [Thu, 27 Sep 2012 22:40:05 +0000 (15:40 -0700)]
Merge "hardware: samsung_slsi: libcamera2: Enqueue every frame to ISP" into jb-mr1-dev

12 years agohardware: samsung_slsi: libcamera2: Enqueue every frame to ISP
Sungjoong Kang [Wed, 26 Sep 2012 21:04:23 +0000 (14:04 -0700)]
hardware: samsung_slsi: libcamera2: Enqueue every frame to ISP

Even during shot-to-shot delay, enqueue all the frames
to the ISP for 3A operation.

Bug: 7239574
Change-Id: I995aee96b6aca10ceee8c9027f582526e1507d1f
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agohwc: enforce X-coordinate alignment constraints
Greg Hackmann [Thu, 27 Sep 2012 21:09:18 +0000 (14:09 -0700)]
hwc: enforce X-coordinate alignment constraints

The FIMD requires buffers' X coordinates to be aligned to word
boundaries.  Use a Gscaler to convert unaligned buffers to 32-bpp, which
have no alignment constraints (1 word == 1 pixel).

Bug: 7242154
Change-Id: I169f89d3eaff4d7694a1e7fc4696caaf4bbd512d
Signed-off-by: Greg Hackmann <ghackmann@google.com>
12 years agoMerge "clean kernel headers" into jb-mr1-dev
Greg Hackmann [Thu, 27 Sep 2012 00:30:02 +0000 (17:30 -0700)]
Merge "clean kernel headers" into jb-mr1-dev

12 years agohwc: support HAL_PIXEL_FORMAT_BGRA_8888
Greg Hackmann [Wed, 26 Sep 2012 16:37:12 +0000 (09:37 -0700)]
hwc: support HAL_PIXEL_FORMAT_BGRA_8888

Bug: 7229550
Change-Id: Idec29ccb8b84af52e7c4e7af613bfdde6a6cb011
Signed-off-by: Greg Hackmann <ghackmann@google.com>
12 years agoclean kernel headers
Greg Hackmann [Wed, 26 Sep 2012 21:05:35 +0000 (14:05 -0700)]
clean kernel headers

Change-Id: I51c0119e9c743e21f571a743327fe299496ece81
Signed-off-by: Greg Hackmann <ghackmann@google.com>
12 years agohwc: Return a release fence for the FRAMEBUFFER_TARGET layer
Benoit Goby [Fri, 21 Sep 2012 20:19:30 +0000 (13:19 -0700)]
hwc: Return a release fence for the FRAMEBUFFER_TARGET layer

Bug: 7123196
Change-Id: I2236b187dc6fa8e8504c667797bc73efe596dc05

12 years agoMerge "libgscaler: Add support for sync" into jb-mr1-dev
Benoit Goby [Wed, 26 Sep 2012 22:15:02 +0000 (15:15 -0700)]
Merge "libgscaler: Add support for sync" into jb-mr1-dev

12 years agohardware: samsung_slsi: libcamera2: bug fix of single AF
Younghwan Joo [Wed, 26 Sep 2012 13:51:10 +0000 (22:51 +0900)]
hardware: samsung_slsi: libcamera2: bug fix of single AF

This patch is to fix a bug of single AF in case of successive capturing

Change-Id: I437c128c88b76680a49b89aa98c8cc1ca696b35e
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: modify CAF sequence for flash
Younghwan Joo [Fri, 21 Sep 2012 07:42:08 +0000 (00:42 -0700)]
hardware: samsung_slsi: libcamera2: modify CAF sequence for flash

This patch is to modify CAF sequence for proper operation
with flash

Change-Id: I0118463e7d8dc1d60c335d1ddf08f94fb1347cd7
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
12 years agolibgscaler: Add support for sync
Benoit Goby [Thu, 6 Sep 2012 03:12:03 +0000 (20:12 -0700)]
libgscaler: Add support for sync

Changed gsc_out_run to return the fence returned by qbuf and to
dequeue a buffer only when all buffers have been enqueued.
Start streaming after one buffer has been enqueued.

Bug: 7123196
Change-Id: Ib2a563b9d39888d66f0d4a37c79fde2f7b7140fa

12 years agohwc: Remove force_fb flag, there's always content for HDMI
Benoit Goby [Sat, 22 Sep 2012 00:16:45 +0000 (17:16 -0700)]
hwc: Remove force_fb flag, there's always content for HDMI

Bug: 7123196
Change-Id: Id0327b5fd7d3a7777c2dc13a99e51d5b11864388

12 years agohwc: Ignore content for HDMI when it is not enabled
Benoit Goby [Sat, 22 Sep 2012 00:12:28 +0000 (17:12 -0700)]
hwc: Ignore content for HDMI when it is not enabled

Bug: 7231798
Change-Id: I82d4baa3c1b84c2f16e6b633f4e1457730333124

12 years agoMerge changes I970f5995,I2cf7120a,I2118dee2,Ib6082faa,Iad063164,If454186d,If189904f...
Rebecca Zavin [Wed, 26 Sep 2012 18:42:06 +0000 (11:42 -0700)]
Merge changes I970f5995,I2cf7120a,I2118dee2,Ib6082faa,Iad063164,If454186d,If189904f,I261e454e into jb-mr1-dev

* changes:
  hardware: samsung_slsi: libcamera2: Fix capture aspect ratio bug
  hardware: samsung_slsi: libcamera2: Change ISP streamoff sequence
  hardware: samsung_slsi: libcamera2: update meta data region
  hardware: samsung_slsi: libcamera2: Fix frame completion scheme
  hardware: samsung_slsi: libcamera2: Preserve SCC info on res change.
  hardware: samsung_slsi: libcamera2: change min fd score value for meta data
  hardware: samsung_slsi: libcamera2: support face priority scene mode
  hardware: samsung_slsi: libcamera2: support flash off mode with ZSL

12 years agoMerge "hwc: enable gscaler on RGBX surfaces" into jb-mr1-dev
Greg Hackmann [Wed, 26 Sep 2012 17:30:38 +0000 (10:30 -0700)]
Merge "hwc: enable gscaler on RGBX surfaces" into jb-mr1-dev

12 years agohardware: samsung_slsi: libcamera2: Fix capture aspect ratio bug
Sungjoong Kang [Mon, 24 Sep 2012 01:57:37 +0000 (18:57 -0700)]
hardware: samsung_slsi: libcamera2: Fix capture aspect ratio bug

When preview aspect ratio is wider than capture,
center of image will be used for capture.

Bug: 7191491

Change-Id: I970f5995993e716bc02a6306609d7570a71829b6
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: Change ISP streamoff sequence
Sungjoong Kang [Mon, 24 Sep 2012 08:48:33 +0000 (01:48 -0700)]
hardware: samsung_slsi: libcamera2: Change ISP streamoff sequence

To prevent memory-related crash, modified streamoff sequence.
After applying this patch, ISP streamoff will be called before
scaler streamoff.

Change-Id: I2cf7120a0bebb2341d07b256c42c975649f473f3
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: update meta data region
Younghwan Joo [Fri, 21 Sep 2012 00:52:19 +0000 (17:52 -0700)]
hardware: samsung_slsi: libcamera2: update meta data region

This is to update meta data, synchnonized data region between
cameraHAL and driver

Change-Id: I2118dee22e01138675a0f8058096810d218b7f79
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: Fix frame completion scheme
Sungjoong Kang [Tue, 25 Sep 2012 08:39:19 +0000 (01:39 -0700)]
hardware: samsung_slsi: libcamera2: Fix frame completion scheme

Modified RequestMgr to preserve the order of frame completion
so that request queue acts always FIFO.

Change-Id: Ib6082faa77661200b602ade7019e4ecd4ac81180
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: Preserve SCC info on res change.
Sungjoong Kang [Mon, 24 Sep 2012 20:46:10 +0000 (13:46 -0700)]
hardware: samsung_slsi: libcamera2: Preserve SCC info on res change.

Preserve ScalerC buffer information on preview stream size change
for the consistency with camera service.

Change-Id: Iad063164598191bcf4c7e26266e2e1f26679560e
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agohwc: enable gscaler on RGBX surfaces
Greg Hackmann [Thu, 20 Sep 2012 16:35:37 +0000 (09:35 -0700)]
hwc: enable gscaler on RGBX surfaces

Bug: 6979023
Change-Id: I3df195443d547f3cd3d36089925dc5c9a135e261
Signed-off-by: Greg Hackmann <ghackmann@google.com>
12 years agohardware: samsung_slsi: libcamera2: change min fd score value for meta data
Younghwan Joo [Tue, 25 Sep 2012 13:01:10 +0000 (22:01 +0900)]
hardware: samsung_slsi: libcamera2: change min fd score value for meta data

This patch is to change min fd score value to decide upload fd meta data
to camera service or not

Change-Id: If454186d982e265c5f82dc34f96c551cec9bb6db
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: support face priority scene mode
Younghwan Joo [Tue, 25 Sep 2012 12:12:30 +0000 (21:12 +0900)]
hardware: samsung_slsi: libcamera2: support face priority scene mode

This patch is to support AF with face result at face priority scene
mode. This feature is required camera fimware which version is #2645
or above.

Change-Id: If189904f88be0737a011f32e9831b457f6f77261
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: support flash off mode with ZSL
Younghwan Joo [Sat, 22 Sep 2012 08:15:20 +0000 (01:15 -0700)]
hardware: samsung_slsi: libcamera2: support flash off mode with ZSL

This commit is to change aeState at flash off mode.
At FIMC-ISP, between ZSL capture and standard capture is
the same as the image quality

Change-Id: I261e454e9430ffd066d116961bd2c169a45121dd
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
12 years agoRevert "hardware: samsung_slsi: libcamera2: update meta data region"
Rebecca Zavin [Wed, 26 Sep 2012 16:55:41 +0000 (09:55 -0700)]
Revert "hardware: samsung_slsi: libcamera2: update meta data region"

This reverts commit bb2401f4cd673f302ecd44197dbc85b2563ddb32

Change-Id: I80e014ba72f83dcdb78af19bf6b9cd8d21e695bf

12 years agohardware: samsung_slsi: libcamera2: update meta data region
Younghwan Joo [Fri, 21 Sep 2012 00:52:19 +0000 (17:52 -0700)]
hardware: samsung_slsi: libcamera2: update meta data region

This is to update meta data, synchnonized data region between
cameraHAL and driver

Change-Id: I7f0bf0d75680e9667d382bf47ce64642e914bea1
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
12 years agoDouble the memory in any blob allocations
Rebecca Schultz Zavin [Wed, 26 Sep 2012 07:24:18 +0000 (00:24 -0700)]
Double the memory in any blob allocations

Images can not be captured unless the jpeg buffers
are twice what was requested -- this was previously
masked by another issue causing us to allocate much
more memory than requested (16x).  With this
patch we can still capture images.

Bug: 7234975
Bug: 7223936
Change-Id: I7b6f167070a883621e0ba38e0a8d41eace6bc1b0
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
12 years agoFix bug in allocation of HAL_PIXEL_FORMAT_BLOB
Rebecca Schultz Zavin [Tue, 25 Sep 2012 23:49:28 +0000 (16:49 -0700)]
Fix bug in allocation of HAL_PIXEL_FORMAT_BLOB

Bug: 7223936
Change-Id: I36f0ac3ea3065b16c505be5dce33d3c6202285ea
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
12 years agohardware: samsung_slsi: libcamera2: Add safety code for frame drop
Sungjoong Kang [Sun, 23 Sep 2012 23:49:12 +0000 (16:49 -0700)]
hardware: samsung_slsi: libcamera2: Add safety code for frame drop

In case of frame drop in scalers, properly sends notify
so that image chain go on processing.

Change-Id: Ia57105d4ee99c7e60d1a59dba53db161b1eb99fd
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: Increase request queue size
Sungjoong Kang [Sat, 22 Sep 2012 07:47:33 +0000 (00:47 -0700)]
hardware: samsung_slsi: libcamera2: Increase request queue size

Enabling VDIS requires one more request queue due to frame delay.
This patch increases request size by one
and changes night scene mode routine for changed timing.

Change-Id: Ia6627679d125c1c0dc83ef049ca7dcb19d3fa793
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: Support for disabling thumbnail
Sungjoong Kang [Fri, 21 Sep 2012 22:44:48 +0000 (15:44 -0700)]
hardware: samsung_slsi: libcamera2: Support for disabling thumbnail

When jpeg thumbnail size is set as 0 by 0,
thumbnail will not be generated.

Change-Id: I02cf1c3578befc585f4168ef2bbbc4e73eec93b8
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: Support reverse order of ZSL setup
Sungjoong Kang [Thu, 20 Sep 2012 09:26:22 +0000 (02:26 -0700)]
hardware: samsung_slsi: libcamera2: Support reverse order of ZSL setup

This patch enables the support for reverse order of
allocating ZSL stream

Change-Id: Ie029c305a20fc298683d0f69f67258b7a51f2431
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
12 years agohardware: samsung_slsi: libcamera2: modify CAF sequence for flash
Younghwan Joo [Fri, 21 Sep 2012 07:42:08 +0000 (00:42 -0700)]
hardware: samsung_slsi: libcamera2: modify CAF sequence for flash

This patch is to modify CAF sequence for proper operation
with flash

Change-Id: I59fb549d8eec763ca74d7fa2ba3be747946ef995
Signed-off-by: Younghwan Joo <yhwan.joo@samsung.com>
12 years agoexynos_omx: multi_thread: Remove hardcoded limit on the max of number of input buffer...
SeungBeom Kim [Sat, 15 Sep 2012 03:01:55 +0000 (12:01 +0900)]
exynos_omx: multi_thread: Remove hardcoded limit on the max of number of input buffers allowed in video encoders

For [Issue 7166718] Remove hardcoded limit on the max of number of input buffers allowed in video encoders

Change-Id: I35bf8e5820aa95c3db5dd8d2cc049c3a028d93c9
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
12 years agoMerge "hwc: Call hotplug on HPD" into jb-mr1-dev
Benoit Goby [Fri, 21 Sep 2012 23:56:56 +0000 (16:56 -0700)]
Merge "hwc: Call hotplug on HPD" into jb-mr1-dev

12 years agolibcamera2: Enable video stabilization
Alex Ray [Fri, 21 Sep 2012 08:52:40 +0000 (01:52 -0700)]
libcamera2: Enable video stabilization

Bug: 7208193
Change-Id: Ib1cf6a716413e15a7c6576d5b844fe37e496aefe

12 years agohwc: Call hotplug on HPD
Benoit Goby [Fri, 21 Sep 2012 05:36:09 +0000 (22:36 -0700)]
hwc: Call hotplug on HPD

Bug: 7123196
Change-Id: I982b6af991c9d6d2fb76a7984138b4f999eb61b0

12 years agohwc: Implement prepare and set for HDMI
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

12 years agoMerge "hardware: samsung_slsi: libcamera2: add classification of FD meta data" into...
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

12 years agoMerge "hardware: samsung_slsi: libcamera2: Touch AF and WB exif bug fix" into jb...
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

12 years agoexynos5: libhwc: support the directFB for RGB565.
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>
12 years agoMerge "hwc: send non-gscaler fence fds to kernel" into jb-mr1-dev
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

12 years agohwc: send non-gscaler fence fds to kernel
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>
12 years agohardware: samsung_slsi: libcamera2: add classification of FD meta data
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>
12 years agohardware: samsung_slsi: libcamera2: Touch AF and WB exif bug fix
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>
12 years agoUpdate gralloc to use new ion flag
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>
12 years agoMerge "getDisplayAttributes now returns an error code" into jb-mr1-dev
Jesse Hall [Thu, 20 Sep 2012 21:13:09 +0000 (14:13 -0700)]
Merge "getDisplayAttributes now returns an error code" into jb-mr1-dev

12 years agogetDisplayAttributes now returns an error code
Jesse Hall [Thu, 20 Sep 2012 18:43:49 +0000 (11:43 -0700)]
getDisplayAttributes now returns an error code

Change-Id: I79d2d38cc74fa5c4b3cc7d0538cef1c6d7f3e484

12 years agoMerge "hardware: samsung_slsi: libcamera2: Change timing of stream notification"...
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

12 years agoMerge "hardware: samsung_slsi: libcamera2: ZSL Bug fixes" 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

12 years agoMerge "hardware: samsung_slsi: libcamera2: Supports VDIS static metadata" into jb...
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

12 years agohwc: fixup windows configurations that extend past screen edge
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>
12 years agohardware: samsung_slsi: libcamera2: Change timing of stream notification
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>
12 years agohardware: samsung_slsi: libcamera2: ZSL Bug fixes
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>
12 years agohardware: samsung_slsi: libcamera2: Supports VDIS static metadata
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>
12 years agoMerge changes I83981ce2,I352ca1a1 into jb-mr1-dev
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

12 years agoMerge "hwc: add system property to force gpu composition" into jb-mr1-dev
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

12 years agoMerge "hardware: samsung_slsi: libcamera2: Add a signal buffer to threads" into jb...
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

12 years agoMerge "hardware: samsung_slsi: libcamera2: Fix mode switch bug and log msgs" into...
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

12 years agoMerge "hardware: samsung_slsi: libcamera2: Modify thread creators" 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

12 years agohwc: add system property to force gpu composition
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>
12 years agohardware: samsung_slsi: exynos5: Seperate Secure memory region
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>
12 years agomobicore : Added external variable for DRM library
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>
12 years agohwc: implement HWC HAL 1.1
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>
12 years agoHACK: hwc: hard-code screen resolution
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>
12 years agohwc: read display configuration directly from fb device
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>
12 years agoMerge "hwc: increase gscaler ring buffer size to 3" into jb-mr1-dev
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

12 years agohardware: samsung_slsi: libcamera2: Add a signal buffer to threads
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>
12 years agohardware: samsung_slsi: libcamera2: Fix mode switch bug and log msgs
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>
12 years agohardware: samsung_slsi: libcamera2: Modify thread creators
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>
12 years agoMerge "STOPSHIP libcamera2: remove device metadata" into jb-mr1-dev
Rebecca Schultz Zavin [Tue, 18 Sep 2012 18:37:30 +0000 (11:37 -0700)]
Merge "STOPSHIP libcamera2: remove device metadata" into jb-mr1-dev

12 years agoMerge "hardware: samsung_slsi: libcamera2: Adjust exposure time in metadata" into...
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

12 years agoMerge "hardware : samsung_slsi: libcamera2: pre-capture metering bug fix" into jb...
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

12 years agoMerge "hardware: samsung_slsi: libcamera2: manual focus mode 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

12 years agohwc: increase gscaler ring buffer size to 3
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>
12 years agohardware: samsung_slsi: libcamera2: Adjust exposure time in metadata
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>
12 years agoMerge "exynos5: libkeymaster: add keymaster HAL for Exynos5" into jb-mr1-dev
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