GitHub/LineageOS/android_hardware_samsung_slsi_exynos5.git
11 years agoam e6a4b5d8: am a6302fad: libcamera2: new return code when camera in use
Alex Ray [Wed, 2 Oct 2013 16:57:04 +0000 (09:57 -0700)]
am e6a4b5d8: am a6302fad: libcamera2: new return code when camera in use

* commit 'e6a4b5d8a9ab44f52c73fd032445eb7fcffe1416':
  libcamera2: new return code when camera in use

11 years agoam 646e2287: am 30f3ec95: libcamera2: Add exposure time to default request
Alex Ray [Wed, 2 Oct 2013 16:57:04 +0000 (09:57 -0700)]
am 646e2287: am 30f3ec95: libcamera2: Add exposure time to default request

* commit '646e2287cdcec6596e723c999d324a3dad642a9f':
  libcamera2: Add exposure time to default request

11 years agoam a6302fad: libcamera2: new return code when camera in use
Alex Ray [Wed, 2 Oct 2013 16:36:40 +0000 (09:36 -0700)]
am a6302fad: libcamera2: new return code when camera in use

* commit 'a6302fad7a2d78736ae39a341b6f3468b9c6f5a3':
  libcamera2: new return code when camera in use

11 years agoam 30f3ec95: libcamera2: Add exposure time to default request
Alex Ray [Wed, 2 Oct 2013 16:36:39 +0000 (09:36 -0700)]
am 30f3ec95: libcamera2: Add exposure time to default request

* commit '30f3ec95f62e0a6998d87f909844eb332c7b66e7':
  libcamera2: Add exposure time to default request

11 years agoam a9911a58: am c0b4a4f1: hwc: do not allow gsc downscaling by exactly max_downscale
Greg Hackmann [Wed, 2 Oct 2013 03:59:06 +0000 (20:59 -0700)]
am a9911a58: am c0b4a4f1: hwc: do not allow gsc downscaling by exactly max_downscale

* commit 'a9911a58520a0defc2e1628c6932cd67e6260736':

11 years agolibcamera2: new return code when camera in use
Alex Ray [Mon, 30 Sep 2013 17:26:24 +0000 (10:26 -0700)]
libcamera2: new return code when camera in use

Bug: 10838065
Change-Id: I7f3e447a2082b8102968137ed0eee59de5d0de55

11 years agolibcamera2: Add exposure time to default request
Alex Ray [Mon, 30 Sep 2013 17:19:21 +0000 (10:19 -0700)]
libcamera2: Add exposure time to default request

Bug: 10837491
Change-Id: I0ec0850cabb4aef76ed97a14838594ed3f549266

11 years agoam c0b4a4f1: hwc: do not allow gsc downscaling by exactly max_downscale
Greg Hackmann [Tue, 1 Oct 2013 00:08:24 +0000 (17:08 -0700)]
am c0b4a4f1: hwc: do not allow gsc downscaling by exactly max_downscale

* commit 'c0b4a4f1a8b088964ded32dfee294b9199c71534':
  hwc: do not allow gsc downscaling by exactly max_downscale

11 years agoam c0b4a4f1: hwc: do not allow gsc downscaling by exactly max_downscale
Greg Hackmann [Mon, 30 Sep 2013 21:14:45 +0000 (14:14 -0700)]
am c0b4a4f1: hwc: do not allow gsc downscaling by exactly max_downscale

* commit 'c0b4a4f1a8b088964ded32dfee294b9199c71534':
  hwc: do not allow gsc downscaling by exactly max_downscale

11 years agohwc: do not allow gsc downscaling by exactly max_downscale
Greg Hackmann [Fri, 27 Sep 2013 17:23:41 +0000 (10:23 -0700)]
hwc: do not allow gsc downscaling by exactly max_downscale

The Gscaler registers do not have enough bits to represent downscaling
by exactly 16x

Bug: 10946861

Change-Id: I6a9921193d9188bca2344815c29863c550c5e3dd
Signed-off-by: Greg Hackmann <ghackmann@google.com>
11 years agoam 0c218aca: am d03ee772: Merge "Restore overlay support for RGB565 layers" into...
Jesse Hall [Tue, 24 Sep 2013 17:23:36 +0000 (10:23 -0700)]
am 0c218aca: am d03ee772: Merge "Restore overlay support for RGB565 layers" into klp-dev

* commit '0c218acabced1726f66b3a19f88e20460cc96547':
  Restore overlay support for RGB565 layers

11 years agoam 2fc43c35: am ff33d0b2: Merge "libcamera2: fix test crash issue due to garbage...
Zhijun He [Tue, 24 Sep 2013 17:23:36 +0000 (10:23 -0700)]
am 2fc43c35: am ff33d0b2: Merge "libcamera2: fix test crash issue due to garbage function pointer." into klp-dev

* commit '2fc43c35b61cc3a88cd883aab0f8fbff0442472d':
  libcamera2: fix test crash issue due to garbage function pointer.

11 years agoam db543703: am a4863a2a: libcamera2: hardwareSupportedLevel should be limited
Zhijun He [Tue, 24 Sep 2013 17:23:35 +0000 (10:23 -0700)]
am db543703: am a4863a2a: libcamera2: hardwareSupportedLevel should be limited

* commit 'db54370366ac839386858e0c94079cab2e5d6157':
  libcamera2: hardwareSupportedLevel should be limited

11 years agoam d03ee772: Merge "Restore overlay support for RGB565 layers" into klp-dev
Jesse Hall [Tue, 24 Sep 2013 02:00:39 +0000 (19:00 -0700)]
am d03ee772: Merge "Restore overlay support for RGB565 layers" into klp-dev

* commit 'd03ee77200600d35e18055b8cea259c613ffcfa1':
  Restore overlay support for RGB565 layers

11 years agoam ff33d0b2: Merge "libcamera2: fix test crash issue due to garbage function pointer...
Zhijun He [Tue, 24 Sep 2013 02:00:01 +0000 (19:00 -0700)]
am ff33d0b2: Merge "libcamera2: fix test crash issue due to garbage function pointer." into klp-dev

* commit 'ff33d0b29cb23eeabc3629f24584dc8dc5f2267a':
  libcamera2: fix test crash issue due to garbage function pointer.

11 years agoam a4863a2a: libcamera2: hardwareSupportedLevel should be limited
Zhijun He [Tue, 24 Sep 2013 01:59:52 +0000 (18:59 -0700)]
am a4863a2a: libcamera2: hardwareSupportedLevel should be limited

* commit 'a4863a2a81c6c3bbb3600e41c9847a10f4e6e96d':
  libcamera2: hardwareSupportedLevel should be limited

11 years agoMerge "Restore overlay support for RGB565 layers" into klp-dev
Jesse Hall [Mon, 23 Sep 2013 23:38:17 +0000 (23:38 +0000)]
Merge "Restore overlay support for RGB565 layers" into klp-dev

11 years agoRestore overlay support for RGB565 layers
Jesse Hall [Mon, 23 Sep 2013 23:07:31 +0000 (16:07 -0700)]
Restore overlay support for RGB565 layers

This was accidentally removed by change-id
  I2b0eb35344631d162b30dd22ee0ad7651f22e6fa
which removed HAL formats 5551 and 4444.

Bug: 10748683
Change-Id: Id610083732f0495a7c4a29660c7c2c8750929510

11 years agoMerge "libcamera2: fix test crash issue due to garbage function pointer." into klp-dev
Zhijun He [Mon, 23 Sep 2013 21:30:00 +0000 (21:30 +0000)]
Merge "libcamera2: fix test crash issue due to garbage function pointer." into klp-dev

11 years agolibcamera2: fix test crash issue due to garbage function pointer.
Zhijun He [Thu, 19 Sep 2013 22:11:00 +0000 (15:11 -0700)]
libcamera2: fix test crash issue due to garbage function pointer.

Bug: 10838065
Change-Id: I89e2044f57e8588d6e7024e22a633ebe37d5a37f

11 years agolibcamera2: hardwareSupportedLevel should be limited
Zhijun He [Mon, 23 Sep 2013 17:03:03 +0000 (10:03 -0700)]
libcamera2: hardwareSupportedLevel should be limited

Bug: 10388724
Change-Id: I564e8c5860aa322d3f5261e027f8ffcf3a02974a

11 years agoam e7b90726: am 24b40bec: exynos_omx: multi_thread: Fix CodecReconfig issue.
SeungBeom Kim [Thu, 19 Sep 2013 00:09:46 +0000 (17:09 -0700)]
am e7b90726: am 24b40bec: exynos_omx: multi_thread: Fix CodecReconfig issue.

* commit 'e7b9072624866e733020dfdff8c77f201c3a24dd':
  exynos_omx: multi_thread: Fix CodecReconfig issue.

11 years agoam abe4b6d8: am bd09b814: exynos_omx: multi_thread: Fix for dynamic resolution change...
SeungBeom Kim [Thu, 19 Sep 2013 00:09:46 +0000 (17:09 -0700)]
am abe4b6d8: am bd09b814: exynos_omx: multi_thread: Fix for dynamic resolution change timing issue.

* commit 'abe4b6d876ec331003a6759e287f803bd0a72c13':
  exynos_omx: multi_thread: Fix for dynamic resolution change timing issue.

11 years agoam 24b40bec: exynos_omx: multi_thread: Fix CodecReconfig issue.
SeungBeom Kim [Thu, 19 Sep 2013 00:06:25 +0000 (17:06 -0700)]
am 24b40bec: exynos_omx: multi_thread: Fix CodecReconfig issue.

* commit '24b40bec52d792aa9907d5b76fbb66ebc15a56ed':
  exynos_omx: multi_thread: Fix CodecReconfig issue.

11 years agoam bd09b814: exynos_omx: multi_thread: Fix for dynamic resolution change timing issue.
SeungBeom Kim [Thu, 19 Sep 2013 00:06:25 +0000 (17:06 -0700)]
am bd09b814: exynos_omx: multi_thread: Fix for dynamic resolution change timing issue.

* commit 'bd09b8148180c902648b5ac57d024f457f852efa':
  exynos_omx: multi_thread: Fix for dynamic resolution change timing issue.

11 years agoam 4a13c150: am 30a4fead: Merge "Use canonical UniquePtr.h header"
Kenny Root [Wed, 18 Sep 2013 19:08:37 +0000 (12:08 -0700)]
am 4a13c150: am 30a4fead: Merge "Use canonical UniquePtr.h header"

* commit '4a13c150ffe58c53148bab8db32e647ef4e535e7':
  Use canonical UniquePtr.h header

11 years agoam 30a4fead: Merge "Use canonical UniquePtr.h header"
Kenny Root [Wed, 18 Sep 2013 19:05:24 +0000 (12:05 -0700)]
am 30a4fead: Merge "Use canonical UniquePtr.h header"

* commit '30a4fead6c0dc70dff115ac9d9f79ac7c4646fde':
  Use canonical UniquePtr.h header

11 years agoexynos_omx: multi_thread: Fix CodecReconfig issue.
SeungBeom Kim [Tue, 17 Sep 2013 00:39:46 +0000 (09:39 +0900)]
exynos_omx: multi_thread: Fix CodecReconfig issue.

Change-Id: I60494d236ca458c90d6b2a64c19980688517941d
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
Bug: 10728106

11 years agoexynos_omx: multi_thread: Fix for dynamic resolution change timing issue.
SeungBeom Kim [Tue, 17 Sep 2013 01:03:40 +0000 (10:03 +0900)]
exynos_omx: multi_thread: Fix for dynamic resolution change timing issue.

Change-Id: I302de465745513a29dcacb33fe623c3cad7f6b1d
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
Bug: 10192533

11 years agoam 07bbe49f: Merge "exynos_omx: multi_thread: Fix the return data length with EOS...
Lajos Molnar [Tue, 17 Sep 2013 23:01:39 +0000 (16:01 -0700)]
am 07bbe49f: Merge "exynos_omx: multi_thread: Fix the return data length with EOS in meta data mode." into klp-dev

* commit '07bbe49f0f6fa58abf567c41ca99c39d110839f4':
  exynos_omx: multi_thread: Fix the return data length with EOS in meta data mode.

11 years agoMerge "exynos_omx: multi_thread: Fix the return data length with EOS in meta data...
Lajos Molnar [Tue, 17 Sep 2013 22:54:23 +0000 (22:54 +0000)]
Merge "exynos_omx: multi_thread: Fix the return data length with EOS in meta data mode." into klp-dev

11 years agoam 884ab8ad: Fix compile warning
Colin Cross [Tue, 17 Sep 2013 18:22:41 +0000 (11:22 -0700)]
am 884ab8ad: Fix compile warning

* commit '884ab8ada3f087be212c44aedc47d5e1fa959230':
  Fix compile warning

11 years agoFix compile warning
Colin Cross [Mon, 16 Sep 2013 22:17:01 +0000 (15:17 -0700)]
Fix compile warning

Use int instead of enum in the getMemory function definition.

Change-Id: I0d4928f382fb63639fca4409ab28ddfae625fc9f

11 years agoexynos_omx: multi_thread: Fix the return data length with EOS in meta data mode.
SeungBeom Kim [Mon, 16 Sep 2013 07:41:43 +0000 (16:41 +0900)]
exynos_omx: multi_thread: Fix the return data length with EOS in meta data mode.

Change-Id: Ia65b6da0e4ce6b4f8bbc4fa2ffaa8b8c359f2ad3
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
Bug: 10704989

11 years agoam 461c790a: Merge "Initial memory tracker hal for exynos5" into klp-dev
Rom Lemarchand [Fri, 13 Sep 2013 20:27:09 +0000 (13:27 -0700)]
am 461c790a: Merge "Initial memory tracker hal for exynos5" into klp-dev

* commit '461c790adc346474a2e2db833ebaf9827f5f6837':
  Initial memory tracker hal for exynos5

11 years agoMerge "Initial memory tracker hal for exynos5" into klp-dev
Rom Lemarchand [Fri, 13 Sep 2013 18:24:46 +0000 (18:24 +0000)]
Merge "Initial memory tracker hal for exynos5" into klp-dev

11 years agoUse canonical UniquePtr.h header
Kenny Root [Wed, 11 Sep 2013 21:47:32 +0000 (14:47 -0700)]
Use canonical UniquePtr.h header

Change-Id: Ic8f3263ad83c3cd3bf0f5a9c847ee26910afb616

11 years agoMerge "Use canonical UniquePtr.h header"
Kenny Root [Wed, 11 Sep 2013 21:50:06 +0000 (21:50 +0000)]
Merge "Use canonical UniquePtr.h header"

11 years agoUse canonical UniquePtr.h header
Kenny Root [Wed, 11 Sep 2013 21:47:32 +0000 (14:47 -0700)]
Use canonical UniquePtr.h header

Change-Id: Ic8f3263ad83c3cd3bf0f5a9c847ee26910afb616

11 years agoam 09a7ac37: Merge "Exynos5: Camera HAL v2: Increase the number of gralloc buffers...
Sasha Levitskiy [Tue, 10 Sep 2013 19:55:11 +0000 (12:55 -0700)]
am 09a7ac37: Merge "Exynos5: Camera HAL v2: Increase the number of gralloc buffers in allocateStream()" into klp-dev

* commit '09a7ac37a95dfe3f3099df8869f8347afcee0b9c':
  Exynos5: Camera HAL v2: Increase the number of gralloc buffers in allocateStream()

11 years agoMerge "Exynos5: Camera HAL v2: Increase the number of gralloc buffers in allocateStre...
Sasha Levitskiy [Tue, 10 Sep 2013 19:48:40 +0000 (19:48 +0000)]
Merge "Exynos5: Camera HAL v2: Increase the number of gralloc buffers in allocateStream()" into klp-dev

11 years agoam 0c5aeec9: libcamera2: Fix stream id types
Zhijun He [Mon, 9 Sep 2013 18:32:59 +0000 (11:32 -0700)]
am 0c5aeec9: libcamera2: Fix stream id types

* commit '0c5aeec9d23b62d45c62e736341ede29b53b95d4':
  libcamera2: Fix stream id types

11 years agoInitial memory tracker hal for exynos5
Colin Cross [Fri, 6 Sep 2013 23:39:46 +0000 (16:39 -0700)]
Initial memory tracker hal for exynos5

Only tracks GL memory so far.

Bug: 10294768
Change-Id: I47d8ecd6e98f883878dbb32788739d63828a2459

11 years agolibcamera2: Fix stream id types
Zhijun He [Sat, 7 Sep 2013 00:52:02 +0000 (17:52 -0700)]
libcamera2: Fix stream id types

Bug: 10604704
Change-Id: Ie336eaf06693a33179625fc93defc7e878f630f7

11 years agoam 7604f7bc: Use EVP_PKEY_get1_RSA to get RSA reference
Kenny Root [Fri, 6 Sep 2013 20:46:33 +0000 (13:46 -0700)]
am 7604f7bc: Use EVP_PKEY_get1_RSA to get RSA reference

* commit '7604f7bcac36402e983db7ca6f391c90d175ab83':
  Use EVP_PKEY_get1_RSA to get RSA reference

11 years agoUse EVP_PKEY_get1_RSA to get RSA reference
Kenny Root [Fri, 6 Sep 2013 16:51:27 +0000 (09:51 -0700)]
Use EVP_PKEY_get1_RSA to get RSA reference

EVP_PKEY structures could be of any number of key types. Switch to
EVP_PKEY_get1_RSA because that will check that the key type before it
tries to pull out the RSA pointer. This prevents crashes when the key
type is not actually RSA.

Bug: 10647482
Change-Id: I6848db52b04ed11331138ac00f0796574a87fa6a

11 years agoExynos5: Camera HAL v2: Increase the number of gralloc buffers in allocateStream()
Sasha Levitskiy [Wed, 4 Sep 2013 22:42:06 +0000 (15:42 -0700)]
Exynos5: Camera HAL v2: Increase the number of gralloc buffers in allocateStream()

Bug: 10415750

Signed-off-by: Sasha Levitskiy <sanek@google.com>
Change-Id: Ic4a62619ff49617a0b56650f469e45a099ceeb5c

11 years agoam 209209d0: Revert "exynos_omx: : fail storeMetaDataInBuffers on output port"
Lajos Molnar [Fri, 30 Aug 2013 22:16:39 +0000 (15:16 -0700)]
am 209209d0: Revert "exynos_omx: : fail storeMetaDataInBuffers on output port"

* commit '209209d02c383873663c441cbf54b2025f252b57':
  Revert "exynos_omx: : fail storeMetaDataInBuffers on output port"

11 years agoam c01f2434: exynos_omx: multi_thread: add Dynamic resolution change support code.
SeungBeom Kim [Fri, 30 Aug 2013 22:16:39 +0000 (15:16 -0700)]
am c01f2434: exynos_omx: multi_thread: add Dynamic resolution change support code.

* commit 'c01f2434dc56e71482229e8ab8c7d5cda7c46d01':
  exynos_omx: multi_thread: add Dynamic resolution change support code.

11 years agoam f8d511af: exynos_omx: multi_thread: Code clean up.
SeungBeom Kim [Fri, 30 Aug 2013 22:16:39 +0000 (15:16 -0700)]
am f8d511af: exynos_omx: multi_thread: Code clean up.

* commit 'f8d511af096144c3c33d823f879ae0e471ae5284':
  exynos_omx: multi_thread: Code clean up.

11 years agoam 3b1c2e30: exynos_omx: multi_thread: Add dynamic DPB change scheme.
SeungBeom Kim [Fri, 30 Aug 2013 22:16:38 +0000 (15:16 -0700)]
am 3b1c2e30: exynos_omx: multi_thread: Add dynamic DPB change scheme.

* commit '3b1c2e30b8c73bb51c3e2c93504e3571ab851268':
  exynos_omx: multi_thread: Add dynamic DPB change scheme.

11 years agoam 07ded9cf: exynos: add CID for dynamic DPB change scheme in video decoder output...
SeungBeom Kim [Fri, 30 Aug 2013 22:16:38 +0000 (15:16 -0700)]
am 07ded9cf: exynos: add CID for dynamic DPB change scheme in video decoder output port.

* commit '07ded9cf974a05e16be7797a9932f03b9fe70010':
  exynos: add CID for dynamic DPB change scheme in video decoder output port.

11 years agoam 57e06166: exynos: add API for reference count of ion fd.
SeungBeom Kim [Fri, 30 Aug 2013 22:13:19 +0000 (15:13 -0700)]
am 57e06166: exynos: add API for reference count of ion fd.

* commit '57e0616607fc3022bf0dc5ee6e6453dba3c4e88e':
  exynos: add API for reference count of ion fd.

11 years agoam e8aae8ed: exynos_omx: multi_thread: Add ThumbnailMode decoding.
SeungBeom Kim [Fri, 30 Aug 2013 22:13:19 +0000 (15:13 -0700)]
am e8aae8ed: exynos_omx: multi_thread: Add ThumbnailMode decoding.

* commit 'e8aae8edcacf01c588e0bd0ba2c3ca64aa54e107':
  exynos_omx: multi_thread: Add ThumbnailMode decoding.

11 years agoam 1021eb30: exynos_omx: multi_thread: Added prependSPSPPSToIDRFrames to support...
SeungBeom Kim [Fri, 30 Aug 2013 22:13:19 +0000 (15:13 -0700)]
am 1021eb30: exynos_omx: multi_thread: Added prependSPSPPSToIDRFrames to support the expansion of Google.

* commit '1021eb3052b6af322b604a07f3cafaf3d45e711f':
  exynos_omx: multi_thread: Added prependSPSPPSToIDRFrames to support the expansion of Google.

11 years agoRevert "exynos_omx: : fail storeMetaDataInBuffers on output port"
Lajos Molnar [Tue, 6 Aug 2013 18:54:04 +0000 (11:54 -0700)]
Revert "exynos_omx: : fail storeMetaDataInBuffers on output port"

Now that Samsung codec actually supports meta-data mode on video decoder
output port, revert earlier block.

Change-Id: I48a0af73d8c9a8ce0eb73e89e13021d0f2d7943b
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10192533

11 years agoexynos_omx: multi_thread: add Dynamic resolution change support code.
SeungBeom Kim [Thu, 1 Aug 2013 23:33:37 +0000 (08:33 +0900)]
exynos_omx: multi_thread: add Dynamic resolution change support code.

Added Dynamic resolution change to H.264 Component.

Change-Id: I73a2d1eaa3412199f886a9a4a4a046c234c06350
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
Bug: 10192533

11 years agoexynos_omx: multi_thread: Code clean up.
SeungBeom Kim [Fri, 2 Aug 2013 01:05:22 +0000 (10:05 +0900)]
exynos_omx: multi_thread: Code clean up.

for GED Code and S.LSI code synchronization.

Change-Id: I10f450cbd688a7802ade7bbb6e3623646611062b
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
Bug: 10192533

11 years agoexynos_omx: multi_thread: Add dynamic DPB change scheme.
SeungBeom Kim [Wed, 31 Jul 2013 04:46:35 +0000 (13:46 +0900)]
exynos_omx: multi_thread: Add dynamic DPB change scheme.

- Decode output port supported StoreMetaDataBuffer.
- Dynamic DPB change supported.

Change-Id: If23a5eb5cc6fef3781c4a45fb06fe7eab41b1b5b
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
Bug: 10192533

11 years agoexynos: add CID for dynamic DPB change scheme in video decoder output port.
SeungBeom Kim [Mon, 29 Jul 2013 22:50:12 +0000 (07:50 +0900)]
exynos: add CID for dynamic DPB change scheme in video decoder output port.

Change-Id: I90161a9c269fcde31723d66b72b661a1417a1981
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
Bug: 10192533

11 years agoexynos: add API for reference count of ion fd.
SeungBeom Kim [Mon, 29 Jul 2013 22:41:12 +0000 (07:41 +0900)]
exynos: add API for reference count of ion fd.

Change-Id: I93e8807ff4a66203c763071bccfcffbfac0463e4
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
Bug: 10192533

11 years agoexynos_omx: multi_thread: Add ThumbnailMode decoding.
SeungBeom Kim [Thu, 13 Jun 2013 03:17:56 +0000 (12:17 +0900)]
exynos_omx: multi_thread: Add ThumbnailMode decoding.

Extension name:
 - EXYNOS_INDEX_PARAM_ENABLE_THUMBNAIL "OMX.SEC.index.enableThumbnailMode"

if you want enable thumbnail decoding,
Use SetParameter and EXYNOS_OMX_VIDEO_THUMBNAILMODE struct.

typedef struct _EXYNOS_OMX_VIDEO_THUMBNAILMODE {
    OMX_U32 nSize;
    OMX_VERSIONTYPE nVersion;
    OMX_U32 nPortIndex;
    OMX_BOOL bEnable;
} EXYNOS_OMX_VIDEO_THUMBNAILMODE;

Change-Id: I199f286bfbd35266b6f319538a55e64a71070f8e
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
Bug: 10192533

11 years agoexynos_omx: multi_thread: Added prependSPSPPSToIDRFrames to support the expansion...
SeungBeom Kim [Tue, 4 Jun 2013 07:37:06 +0000 (16:37 +0900)]
exynos_omx: multi_thread: Added prependSPSPPSToIDRFrames to support the expansion of Google.

When using "OMX.google.android.index.prependSPSPPSToIDRFrames" extension index,
support prepending SPS/PPS at every IDR/I frame.

Change-Id: Idf6669708d627ede013f053de9c8bfaa78181675
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
Bug: 10192533

11 years agoam 1e1f2ade: Merge "exynos_omx: multi_thread: Increase default buffer size for copy...
Greg Hackmann [Thu, 29 Aug 2013 21:51:56 +0000 (14:51 -0700)]
am 1e1f2ade: Merge "exynos_omx: multi_thread: Increase default buffer size for copy mode recording." into klp-dev

* commit '1e1f2adea2506cd1d2e30cd1b3dbe5f8389f9dc9':
  exynos_omx: multi_thread: Increase default buffer size for copy mode recording.

11 years agoam 2207ac2e: gralloc: use BGRA byte order for video encoder targets
Greg Hackmann [Thu, 29 Aug 2013 21:51:56 +0000 (14:51 -0700)]
am 2207ac2e: gralloc: use BGRA byte order for video encoder targets

* commit '2207ac2e1f0555393320bd6fe7c849d359bbd408':
  gralloc: use BGRA byte order for video encoder targets

11 years agoMerge "exynos: gralloc: register buffers in alloc"
Colin Cross [Thu, 29 Aug 2013 21:43:38 +0000 (21:43 +0000)]
Merge "exynos: gralloc: register buffers in alloc"

11 years agoMerge "exynos_omx: multi_thread: Increase default buffer size for copy mode recording...
Greg Hackmann [Thu, 29 Aug 2013 21:43:01 +0000 (21:43 +0000)]
Merge "exynos_omx: multi_thread: Increase default buffer size for copy mode recording." into klp-dev

11 years agogralloc: use BGRA byte order for video encoder targets
Greg Hackmann [Thu, 29 Aug 2013 17:24:35 +0000 (10:24 -0700)]
gralloc: use BGRA byte order for video encoder targets

Encoder does not recognize RGBA byte order, so refuse to allocate if SW
usage flags are set

Bug: 10429036

Change-Id: I3b9d0e71566c3565068b7c38c4f9189f4bb93fd0
Signed-off-by: Greg Hackmann <ghackmann@google.com>
11 years agogralloc: use BGRA byte order for framebuffer target
Greg Hackmann [Wed, 28 Aug 2013 00:14:27 +0000 (17:14 -0700)]
gralloc: use BGRA byte order for framebuffer target

Bug: 10429036

Change-Id: Idac73fd588cca70e075c017af00dd590b14b0c7e
Signed-off-by: Greg Hackmann <ghackmann@google.com>
11 years agoexynos_omx: multi_thread: Increase default buffer size for copy mode recording.
SeungBeom Kim [Mon, 26 Aug 2013 04:00:35 +0000 (13:00 +0900)]
exynos_omx: multi_thread: Increase default buffer size for copy mode recording.

Bug: 10307151

Change-Id: Ie2627d571dff7ee1d5e3ce86839d20b681aac200
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
11 years agoexynos: gralloc: register buffers in alloc
Colin Cross [Fri, 23 Aug 2013 02:44:28 +0000 (19:44 -0700)]
exynos: gralloc: register buffers in alloc

gralloc_alloc was creating buffers with ion_alloc_fd, which results
in a dmabuf but no ion handle.  This makes it hard to track buffers
that are never registered with another process, or ones that are
unregistered from their process like the wallpaper.

Call gralloc_register_buffer from inside alloc to convert the dmabufs
to ion handles, and gralloc_unregister_buffer inside free.
gralloc_register_buffer currently unnecissarily maps the buffer as
well, which gralloc_lock will do as necessary, so remove the map.
gralloc_unregister_buffer will unmap if necesssary, so remove
the call to grallocUnmap in gralloc_free.  That leaves no callers
to grallocUnmap (and there weren't any callers to grallocMap), so
remove them and gr.h.

Change-Id: I20cf2d50732d018f12779d78582686ca622a332a

11 years ago*HACK* assume android requests 1 more buffer then we specify
Lajos Molnar [Thu, 1 Aug 2013 20:20:12 +0000 (13:20 -0700)]
*HACK* assume android requests 1 more buffer then we specify

This used to be usually 2, but for synchronous surfaces that are
used most commonly, it is now 1.

The proper fix would be to allow android to request arbitrarily
more buffers than we specify to account for different buffer
consumer requirements, but that does not work with current code
base.

Change-Id: Ieeafda28b547343d420e7b74e0e5c4a7033673b8
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 9970482

11 years agoget rid of HAL pixelformats 5551 and 4444
Mathias Agopian [Fri, 26 Jul 2013 21:50:14 +0000 (14:50 -0700)]
get rid of HAL pixelformats 5551 and 4444

Change-Id: I2b0eb35344631d162b30dd22ee0ad7651f22e6fa

11 years agoCamera2: Update static camera metadata
Zhijun He [Thu, 18 Jul 2013 01:06:25 +0000 (18:06 -0700)]
Camera2: Update static camera metadata

Change-Id: Ia2ad2879446e3e03e9c120f38d5d68ed6d35231d

11 years agoUpdate VP8 component role
Lajos Molnar [Fri, 12 Jul 2013 19:31:26 +0000 (12:31 -0700)]
Update VP8 component role

VP8 component role changed to "video_decoder.vp8" in the framework.

Change-Id: Icba81db7ae921df321e2426ca426b3eaf13fbb98
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 9759512

11 years agoam 86dc75dc: (-s ours) Reconcile with jb-mr2-release jb-mr2-zeroday-release - do...
The Android Open Source Project [Thu, 6 Jun 2013 17:43:05 +0000 (10:43 -0700)]
am 86dc75dc: (-s ours) Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge

* commit '86dc75dcb45880832dc125d2f38dce4ca63a1e78':
  libcamera2: add hardwareLevel to camera metadata

11 years agoReconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Thu, 6 Jun 2013 17:37:30 +0000 (10:37 -0700)]
Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge

Change-Id: Id19e45c1de96766e22fa6e721c864214ba233fd6

11 years agomerge in jb-mr2-zeroday-release history after reset to jb-mr2-dev
The Android Automerger [Wed, 5 Jun 2013 17:17:51 +0000 (10:17 -0700)]
merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev

11 years agolibcamera2: add hardwareLevel to camera metadata
Alex Ray [Mon, 3 Jun 2013 20:23:34 +0000 (13:23 -0700)]
libcamera2: add hardwareLevel to camera metadata

Technically, this is only required for v3 and higher devices, and this
is a v2 device.  There aren't any other v2 devices, so our framework
logic just treats them the same.  Adding this metadata entry puts this
device back as a first-class full (v3) device in the framework.

Bug: 9261359
Change-Id: I4ba91c5689fd17d4a3f2044fae1c39dd9ee625df

11 years agoam b10d106f: am 05c0c1a4: libcamera2: add hardwareLevel to camera metadata
Alex Ray [Tue, 4 Jun 2013 00:16:35 +0000 (17:16 -0700)]
am b10d106f: am 05c0c1a4: libcamera2: add hardwareLevel to camera metadata

* commit 'b10d106f6e991177020c318ffb9d0fb0cca3eddc':
  libcamera2: add hardwareLevel to camera metadata

11 years agoam 05c0c1a4: libcamera2: add hardwareLevel to camera metadata
Alex Ray [Tue, 4 Jun 2013 00:03:58 +0000 (17:03 -0700)]
am 05c0c1a4: libcamera2: add hardwareLevel to camera metadata

* commit '05c0c1a4b70392cf7a8a3fd7d12f99e597a3e996':
  libcamera2: add hardwareLevel to camera metadata

11 years agolibcamera2: add hardwareLevel to camera metadata
Alex Ray [Mon, 3 Jun 2013 20:23:34 +0000 (13:23 -0700)]
libcamera2: add hardwareLevel to camera metadata

Technically, this is only required for v3 and higher devices, and this
is a v2 device.  There aren't any other v2 devices, so our framework
logic just treats them the same.  Adding this metadata entry puts this
device back as a first-class full (v3) device in the framework.

Bug: 9261359
Change-Id: I4ba91c5689fd17d4a3f2044fae1c39dd9ee625df

11 years agoam 81f2b4af: am d5d1a4e8: Merge "Fix missing argument."
Christopher Ferris [Thu, 23 May 2013 21:38:15 +0000 (14:38 -0700)]
am 81f2b4af: am d5d1a4e8: Merge "Fix missing argument."

* commit '81f2b4af7e151709230e80d690b454783efd3809':
  Fix missing argument.

11 years agoam d5d1a4e8: Merge "Fix missing argument."
Christopher Ferris [Thu, 23 May 2013 21:32:03 +0000 (14:32 -0700)]
am d5d1a4e8: Merge "Fix missing argument."

* commit 'd5d1a4e8e844e806c48d99d0ecfd2ff37bd253ed':
  Fix missing argument.

11 years agoMerge "Fix missing argument."
Christopher Ferris [Thu, 23 May 2013 20:26:01 +0000 (20:26 +0000)]
Merge "Fix missing argument."

11 years agoFix missing argument.
Christopher Ferris [Fri, 3 May 2013 23:58:30 +0000 (16:58 -0700)]
Fix missing argument.

Merge from internal master.

(cherry-picked from 32c3b671851f36604c616030365e6047257998c2)

Change-Id: Ibbdba220eb3f79505eac5aa810f942a76a0f49d9

11 years agoFix missing argument.
Christopher Ferris [Fri, 3 May 2013 23:58:30 +0000 (16:58 -0700)]
Fix missing argument.

Change-Id: Ic067f205acb379aa112db6adc717b53d3e79db22

11 years agoMerge "exynos_omx: : fail storeMetaDataInBuffers on output port"
Chong Zhang [Mon, 20 May 2013 20:18:00 +0000 (20:18 +0000)]
Merge "exynos_omx: : fail storeMetaDataInBuffers on output port"

11 years agoam e15285c1: (-s ours) Reconcile with jb-mr2-release - do not merge
The Android Open Source Project [Mon, 20 May 2013 15:26:24 +0000 (08:26 -0700)]
am e15285c1: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit 'e15285c1fa96c9e3c3dacbe8f1a2e25b7be299f1':
  Camera: Fix green JPEGs

11 years agoReconcile with jb-mr2-release - do not merge
The Android Open Source Project [Mon, 20 May 2013 15:20:32 +0000 (08:20 -0700)]
Reconcile with jb-mr2-release - do not merge

Change-Id: I388b86949eef906330343df9a5b3166d0c21d743

11 years agoCamera: Fix green JPEGs
Eino-Ville Talvala [Fri, 17 May 2013 00:33:06 +0000 (17:33 -0700)]
Camera: Fix green JPEGs

Need crop regions to be 4 entries on the input and the output; otherwise
the sanity checks when doing reprocessing will reject the HAL's own output.

Bug: 8947463
Change-Id: I0be0ac816cb65c802c3a5ae56af732edf9145edc

11 years agoam 27b4511d: (-s ours) Reconcile with jb-mr2-release - do not merge
The Android Open Source Project [Fri, 17 May 2013 19:59:38 +0000 (12:59 -0700)]
am 27b4511d: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit '27b4511d4bee1ae302de2af0fd14c6b7361a7590':

11 years agoReconcile with jb-mr2-release - do not merge
The Android Open Source Project [Fri, 17 May 2013 19:54:40 +0000 (12:54 -0700)]
Reconcile with jb-mr2-release - do not merge

Change-Id: Ie94a2d958b0a91e2ea0e0c48a91b4092f6fab942

11 years agoam a44d2d1e: am 39ed5163: Camera: Fix green JPEGs
Eino-Ville Talvala [Fri, 17 May 2013 03:50:45 +0000 (20:50 -0700)]
am a44d2d1e: am 39ed5163: Camera: Fix green JPEGs

* commit 'a44d2d1e3a66d93b2be5bb11ab05b886d70099d1':
  Camera: Fix green JPEGs

11 years agoam 39ed5163: Camera: Fix green JPEGs
Eino-Ville Talvala [Fri, 17 May 2013 03:45:45 +0000 (20:45 -0700)]
am 39ed5163: Camera: Fix green JPEGs

* commit '39ed516364d4f0b2648113cb3f94533e86c2da95':
  Camera: Fix green JPEGs

11 years agoCamera: Fix green JPEGs
Eino-Ville Talvala [Fri, 17 May 2013 00:33:06 +0000 (17:33 -0700)]
Camera: Fix green JPEGs

Need crop regions to be 4 entries on the input and the output; otherwise
the sanity checks when doing reprocessing will reject the HAL's own output.

Bug: 8947463
Change-Id: I0be0ac816cb65c802c3a5ae56af732edf9145edc

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Thu, 16 May 2013 12:55:38 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoam 38d9ff02: (-s ours) Reconcile with jb-mr2-release - do not merge
The Android Open Source Project [Thu, 16 May 2013 12:48:21 +0000 (05:48 -0700)]
am 38d9ff02: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit '38d9ff020b56bd7b1dfcbfa9f5c0185271bc08c8':

11 years agoReconcile with jb-mr2-release - do not merge
The Android Open Source Project [Thu, 16 May 2013 12:43:56 +0000 (05:43 -0700)]
Reconcile with jb-mr2-release - do not merge

Change-Id: Iec327c611f56804aeddd1a4310e967b9fd6c7467

11 years agoexynos_omx: : fail storeMetaDataInBuffers on output port
Chong Zhang [Wed, 15 May 2013 22:45:11 +0000 (15:45 -0700)]
exynos_omx: : fail storeMetaDataInBuffers on output port

Metadata mode is not supported yet on output port.

Bug: 8987541

Change-Id: Ia9b88ee9e4535194b40dca143a188ad19af36ccc