GitHub/LineageOS/android_hardware_samsung_slsi_exynos5.git
9 years agoMerge tag 'android-5.1.0_r1' of https://android.googlesource.com/platform/hardware... cm-12.1 stable/cm-12.1-YOG3C stable/cm-12.1-YOG4P stable/cm-12.1-YOG7D staging/cm-12.1
Steve Kondik [Sun, 15 Mar 2015 06:27:50 +0000 (23:27 -0700)]
Merge tag 'android-5.1.0_r1' of https://android.googlesource.com/platform/hardware/samsung_slsi/exynos5 into cm-12.1

Android 5.1.0 release 1

9 years agoexynos: vdec: report width/height as stride/slice-height for BUFFER_COPY
Lajos Molnar [Thu, 5 Feb 2015 18:57:24 +0000 (10:57 -0800)]
exynos: vdec: report width/height as stride/slice-height for BUFFER_COPY

This is a workaround for bytebuffer mode, as decoder actually uses width
and height as stride and slice height for the output buffer.  Changing
only at getParam as the internal value may be used elsewhere.

Bug: 19179288

Change-Id: I2a85f02bf626971ae3fa31bafe5af9ac761d3ca8

9 years agomerge in lmp-mr1-release history after reset to lmp-mr1-dev
The Android Automerger [Thu, 5 Feb 2015 14:13:32 +0000 (06:13 -0800)]
merge in lmp-mr1-release history after reset to lmp-mr1-dev

9 years agoMerge "exynos: vdec: support disabling metadata and native buffer modes" into lmp...
Lajos Molnar [Wed, 4 Feb 2015 15:28:30 +0000 (15:28 +0000)]
Merge "exynos: vdec: support disabling metadata and native buffer modes" into lmp-mr1-dev

9 years agoexynos: vdec: support disabling metadata and native buffer modes
Lajos Molnar [Sat, 31 Jan 2015 01:44:31 +0000 (17:44 -0800)]
exynos: vdec: support disabling metadata and native buffer modes

Bug: 19179288
Change-Id: I57495379be6170fec6e07ea9a1f67ed81aeeadf2

9 years agoRevert "exynos: gralloc: implement gralloc_lock_ycbcr"
Lajos Molnar [Sat, 31 Jan 2015 01:45:07 +0000 (17:45 -0800)]
Revert "exynos: gralloc: implement gralloc_lock_ycbcr"

This format is not SW readable

This reverts commit 25ffbfe5e8b51f392fafc1bffb16b6633a8ba3df.

Bug: 19179288
Change-Id: Icbfc098f4a079f32a3809ab9ef9bfcbc509a89ee

9 years agomerge in lmp-mr1-release history after reset to lmp-mr1-dev
The Android Automerger [Thu, 29 Jan 2015 14:10:36 +0000 (06:10 -0800)]
merge in lmp-mr1-release history after reset to lmp-mr1-dev

9 years agoexynos: gralloc: implement gralloc_lock_ycbcr
Lajos Molnar [Wed, 28 Jan 2015 02:47:28 +0000 (18:47 -0800)]
exynos: gralloc: implement gralloc_lock_ycbcr

Support only NV12 TILED format used by video decoder for surface output.

Bug: 19179288
Change-Id: Iac345ca76cb856a39031d82ee1bbb6177c09a30d

9 years agomanta: libcamera2: fix copy-and-paste regression
Mark Salyzyn [Fri, 16 Jan 2015 20:27:52 +0000 (12:27 -0800)]
manta: libcamera2: fix copy-and-paste regression

In "manta: libcamera2: if captured shot drained, record current shot data"
m_reprocessingFrameCnt was taken from previous fragment and not replaced
in the new context with shot_ext->shot.ctl.request.frameCount. This resulted
in CTS:android.hardware.cts.CameraTest@testJpegExif failures.

Bug: 18958123
Change-Id: I3e55fe5be64e2fbc15e14c34891b26afbdb52640

9 years agomanta: libcamera2: fix copy-and-paste regression
Mark Salyzyn [Fri, 16 Jan 2015 20:27:52 +0000 (12:27 -0800)]
manta: libcamera2: fix copy-and-paste regression

In "manta: libcamera2: if captured shot drained, record current shot data"
m_reprocessingFrameCnt was taken from previous fragment and not replaced
in the new context with shot_ext->shot.ctl.request.frameCount. This resulted
in CTS:android.hardware.cts.CameraTest@testJpegExif failures.

Bug: 18958123
Change-Id: I3e55fe5be64e2fbc15e14c34891b26afbdb52640

9 years agomerge in lmp-mr1-release history after reset to lmp-mr1-dev
The Android Automerger [Thu, 8 Jan 2015 17:33:11 +0000 (09:33 -0800)]
merge in lmp-mr1-release history after reset to lmp-mr1-dev

9 years agoexynos_omx: check pointer before use to workaround potential crash.
Ronghua Wu [Fri, 19 Dec 2014 21:53:19 +0000 (13:53 -0800)]
exynos_omx: check pointer before use to workaround potential crash.

Bug: 18639414
Change-Id: Ia603736d4c81488cc9772ce0cf7b253f2932a2b4

9 years agomerge in lmp-mr1-release history after reset to lmp-mr1-dev
The Android Automerger [Wed, 3 Dec 2014 14:10:36 +0000 (06:10 -0800)]
merge in lmp-mr1-release history after reset to lmp-mr1-dev

9 years agomanta: libcamera2: if captured shot drained, record current shot data
Mark Salyzyn [Tue, 2 Dec 2014 00:27:15 +0000 (16:27 -0800)]
manta: libcamera2: if captured shot drained, record current shot data

Bug: 18523848
Change-Id: Ia394570f1ce22997cf8ba13c4f4165cdf2549402

9 years agomanta: libcamera2: drain requests on empty request queue
Mark Salyzyn [Wed, 19 Nov 2014 16:38:54 +0000 (08:38 -0800)]
manta: libcamera2: drain requests on empty request queue

Bug: 18118823
Bug: 17771002
Bug: 17660746
Bug: 13921808
Bug: 13358648
Bug: 13299991
Change-Id: Ib81b7d8b76470eebcd434a20b46d6235f5381f8b

9 years agomanta: libcamera2: drain requests on empty request queue
Mark Salyzyn [Wed, 19 Nov 2014 16:38:54 +0000 (08:38 -0800)]
manta: libcamera2: drain requests on empty request queue

Bug: 18118823
Bug: 17771002
Bug: 17660746
Bug: 13921808
Bug: 13358648
Bug: 13299991
Change-Id: Ib81b7d8b76470eebcd434a20b46d6235f5381f8b

9 years agoexynos5: allow selective variant to be used cm-12.0 stable/cm-12.0-YNG1I stable/cm-12.0-YNG1T stable/cm-12.0-YNG1TA stable/cm-12.0-YNG3C stable/cm-12.0-YNG4N
Ethan Chen [Mon, 19 Aug 2013 06:07:29 +0000 (23:07 -0700)]
exynos5: allow selective variant to be used

Change-Id: I9b5d5abf387bc55fe2c75cadafca05cf09534e71

9 years agolibgscaler: fix a mutex leak
Chien-Yu Chen [Tue, 11 Nov 2014 19:46:54 +0000 (11:46 -0800)]
libgscaler: fix a mutex leak

Bug: 11132653
Change-Id: I23ab470682d3483a7c2e5666c91db232e6c57a27

9 years agoremove misleading error messages: free only allocated ion buffers on exit staging/cm-12.0-caf
SeungBeom Kim [Mon, 1 Sep 2014 02:00:58 +0000 (11:00 +0900)]
remove misleading error messages: free only allocated ion buffers on exit

Fixed of print error message that occurs at the end of the video play.
ex)
 E/ion(130): ioctl c0044901 failed with code -1: Invalid argument

Bug: 17720260
Change-Id: Ib823b8d5e9bf80a07917d17379d5e6d6022e8a66
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
9 years agoexynos_omx: multi_thread: Fix bug for video encode tests.
SeungBeom Kim [Fri, 10 Oct 2014 06:05:34 +0000 (15:05 +0900)]
exynos_omx: multi_thread: Fix bug for video encode tests.

If the output buffer that has been entered is invalid,
OMX component may experience problems in Flush operation.
This patch performs the following actions.
If invalid output buffer has been entered in the codec setup process, OMX Component will return an error.

Bug: 17785600
Bug: 17811083
Change-Id: Ida0939fae2b7102ab87d5242c8c71e732aba10a2
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
9 years agoexynos_omx: multi_thread: Fix bug for adaptiveDrc tests.
SeungBeom Kim [Tue, 7 Oct 2014 05:11:04 +0000 (14:11 +0900)]
exynos_omx: multi_thread: Fix bug for adaptiveDrc tests.

Component Drc scheme has some bug.
This patch is bug fix in VP8, MPEG4 and H.263 codec components.

Bug: 17769922
Bug: 17769714
Change-Id: Id4924411083ac11a8a81776eef894c0276ed03c2
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
9 years agoFix JPEG thumbnail size check.
Ruben Brunk [Thu, 2 Oct 2014 00:00:21 +0000 (17:00 -0700)]
Fix JPEG thumbnail size check.

Bug: 17590892

Change-Id: I72363eca10fc5c2fb6eb76934bc908b42b2741db

9 years agoManta: exynos: libcamera2: plug /dev/ion file descriptor leak
Mark Salyzyn [Mon, 29 Sep 2014 00:13:22 +0000 (17:13 -0700)]
Manta: exynos: libcamera2: plug /dev/ion file descriptor leak

Bug: 17656634
Change-Id: I0462c2629b341e806241289034f34c2663d303c8

9 years agoexynos_omx: multi_thread: set crop only if frame dimensions change
Robert Shih [Wed, 24 Sep 2014 16:15:48 +0000 (09:15 -0700)]
exynos_omx: multi_thread: set crop only if frame dimensions change

Bug: 17609133
Change-Id: I2293c7501b33cade04443f631b2ca6f356932082

9 years agoManta: exynos: libcamera2: Add Exif subsec time
Mark Salyzyn [Tue, 16 Sep 2014 21:00:10 +0000 (14:00 -0700)]
Manta: exynos: libcamera2: Add Exif subsec time

- Add SUBSEC_TIME, SUBSEC_TIME_ORG and SUBSEC_TIME_DIGITIZE
- resolve compiler warnings

Bug: 17472049
Change-Id: I930b9643998017ad07b982a9a905afc29882b669

9 years agoRevert "Manta: libcamera2: prevent HAL crash when ZSL stream freed"
Mark Salyzyn [Sun, 14 Sep 2014 19:24:16 +0000 (19:24 +0000)]
Revert "Manta: libcamera2: prevent HAL crash when ZSL stream freed"

This reverts commit 492f70a554a92abd6c4b3159ca151f162b467b8b.

Bug: 17489789
Change-Id: Iffec3971acc6cbb4a760c2163d634f9d5c61ca3d

9 years agoManta: libcamera2: prevent HAL crash when ZSL stream freed
Mark Salyzyn [Wed, 3 Sep 2014 18:06:49 +0000 (11:06 -0700)]
Manta: libcamera2: prevent HAL crash when ZSL stream freed

This is a hardening band-aid to prevent HAL crash. Crash results in
Inaccessible camera hardware requiring a reboot of the device to recover.

NB: With Current GoogleCamera.app: Camera to Video switch, snapshots are
all green (blank). Workaround, switch to video mode, exit Camera application
and re-enter before running video where one expects to take snapshots as well.

Bug: 15408128
Change-Id: I1e6057069cace0e46e367f76f4a91f6b1f5459a5

9 years agoManta: libcamera2: compile warnings
Mark Salyzyn [Wed, 3 Sep 2014 21:55:16 +0000 (14:55 -0700)]
Manta: libcamera2: compile warnings

Change-Id: Ia810a40af2099f80847a2cc0d4e24ed4c2ed13f0

9 years agoexynos_omx: multi_thread: Support for resubmit CSDs after flush.
SeungBeom Kim [Wed, 27 Aug 2014 04:33:40 +0000 (13:33 +0900)]
exynos_omx: multi_thread: Support for resubmit CSDs after flush.

Modify OMX code for seeking.
Support for resubmit CSDs after seeking and flush.

Bug: 17294121

Change-Id: I407569f529fa6ffd82b3be5deb1dcc82cd505c2b
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
9 years agoexynos_omx: multi_thread: Add crop info update code.
SeungBeom Kim [Thu, 7 Aug 2014 01:57:56 +0000 (10:57 +0900)]
exynos_omx: multi_thread: Add crop info update code.

This patch resolves the failure of testH264_flushConfigureDrc CTS.
OMX update the Crop information when client call the SetParameter with OMX_IndexParamPortDefinition.

Bug: 17294121

Change-Id: Ib11db6694421bbc18e562fd734f1afdb0041ab2a
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
9 years agomerge in lmp-release history after reset to 99e0c3cdbe7278cea88ada37aaa24ae0a51cabb5
The Android Automerger [Wed, 27 Aug 2014 13:13:07 +0000 (06:13 -0700)]
merge in lmp-release history after reset to 99e0c3cdbe7278cea88ada37aaa24ae0a51cabb5

9 years agomerge in lmp-release history after reset to 99e0c3cdbe7278cea88ada37aaa24ae0a51cabb5
The Android Automerger [Tue, 26 Aug 2014 13:12:36 +0000 (06:12 -0700)]
merge in lmp-release history after reset to 99e0c3cdbe7278cea88ada37aaa24ae0a51cabb5

9 years agomerge in lmp-release history after reset to 99e0c3cdbe7278cea88ada37aaa24ae0a51cabb5
The Android Automerger [Mon, 25 Aug 2014 13:12:49 +0000 (06:12 -0700)]
merge in lmp-release history after reset to 99e0c3cdbe7278cea88ada37aaa24ae0a51cabb5

9 years agomerge in lmp-release history after reset to 99e0c3cdbe7278cea88ada37aaa24ae0a51cabb5
The Android Automerger [Sun, 24 Aug 2014 13:10:39 +0000 (06:10 -0700)]
merge in lmp-release history after reset to 99e0c3cdbe7278cea88ada37aaa24ae0a51cabb5

9 years agomerge in lmp-release history after reset to 99e0c3cdbe7278cea88ada37aaa24ae0a51cabb5
The Android Automerger [Sat, 23 Aug 2014 13:11:33 +0000 (06:11 -0700)]
merge in lmp-release history after reset to 99e0c3cdbe7278cea88ada37aaa24ae0a51cabb5

9 years agomerge in lmp-release history after reset to 99e0c3cdbe7278cea88ada37aaa24ae0a51cabb5
The Android Automerger [Thu, 21 Aug 2014 13:12:47 +0000 (06:12 -0700)]
merge in lmp-release history after reset to 99e0c3cdbe7278cea88ada37aaa24ae0a51cabb5

9 years agomerge in lmp-release history after reset to 99e0c3cdbe7278cea88ada37aaa24ae0a51cabb5
The Android Automerger [Wed, 20 Aug 2014 13:12:23 +0000 (06:12 -0700)]
merge in lmp-release history after reset to 99e0c3cdbe7278cea88ada37aaa24ae0a51cabb5

9 years agomerge in lmp-release history after reset to 99e0c3cdbe7278cea88ada37aaa24ae0a51cabb5
The Android Automerger [Tue, 19 Aug 2014 13:11:48 +0000 (06:11 -0700)]
merge in lmp-release history after reset to 99e0c3cdbe7278cea88ada37aaa24ae0a51cabb5

9 years agomerge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381
The Android Automerger [Mon, 18 Aug 2014 13:11:01 +0000 (06:11 -0700)]
merge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381

9 years agoHandle sRGB gralloc formats.
Jesse Hall [Mon, 18 Aug 2014 04:41:25 +0000 (21:41 -0700)]
Handle sRGB gralloc formats.

gralloc: recognize and allocate sRGB_{A,X}_8888
hwcomposer: punt sRGB formats to FRAMEBUFFER composition
- This would happen already due to the format-supported test, this
  change just avoids an unrecognized-format log warning from
  exynos5_format_to_bpp().

Bug: 10134664
Change-Id: I78b7791217cbde28d5bc7d02caf6a955960828ce

9 years agomerge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381
The Android Automerger [Sun, 17 Aug 2014 14:18:53 +0000 (07:18 -0700)]
merge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381

9 years agomerge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381
The Android Automerger [Thu, 14 Aug 2014 13:12:15 +0000 (06:12 -0700)]
merge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381

9 years agomerge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381
The Android Automerger [Wed, 13 Aug 2014 13:13:11 +0000 (06:13 -0700)]
merge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381

9 years agomerge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381
The Android Automerger [Tue, 12 Aug 2014 13:11:57 +0000 (06:11 -0700)]
merge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381

9 years agomerge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381
The Android Automerger [Mon, 11 Aug 2014 06:16:17 +0000 (06:16 +0000)]
merge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381

9 years agomerge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381
The Android Automerger [Sun, 10 Aug 2014 13:09:00 +0000 (06:09 -0700)]
merge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381

9 years agomerge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381
The Android Automerger [Sat, 9 Aug 2014 13:10:10 +0000 (06:10 -0700)]
merge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381

9 years agomerge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381
The Android Automerger [Thu, 7 Aug 2014 13:10:17 +0000 (06:10 -0700)]
merge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381

9 years agomerge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381
The Android Automerger [Wed, 6 Aug 2014 13:09:42 +0000 (06:09 -0700)]
merge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381

9 years agomerge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381
The Android Automerger [Tue, 5 Aug 2014 13:09:31 +0000 (06:09 -0700)]
merge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381

9 years agomerge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381
The Android Automerger [Mon, 4 Aug 2014 13:08:51 +0000 (06:08 -0700)]
merge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381

9 years agomerge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381
The Android Automerger [Sun, 3 Aug 2014 13:09:03 +0000 (06:09 -0700)]
merge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381

9 years agomerge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381
The Android Automerger [Sat, 2 Aug 2014 13:10:10 +0000 (06:10 -0700)]
merge in lmp-release history after reset to 4ec0f6d29023b78e08ed6afb3a985c91495ae381

9 years agoexynos_omx: multi_thread: Limit the number of added minUndequeuedBufs.
SeungBeom Kim [Tue, 22 Jul 2014 02:29:07 +0000 (11:29 +0900)]
exynos_omx: multi_thread: Limit the number of added minUndequeuedBufs.

The case of DRM Play,
Root cause is try to allocate more memory than the memory size reserved.

Bug: 13655631

Change-Id: Ib3799026a6fce87ea22fb680e02cd20402a8ce59
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
9 years agoMerge "exynos_omx: multi_thread: Fix the wrong type casting and data access." into...
Lajos Molnar [Thu, 31 Jul 2014 14:31:06 +0000 (14:31 +0000)]
Merge "exynos_omx: multi_thread: Fix the wrong type casting and data access." into lmp-dev

9 years agoexynos_omx: multi_thread: Fix the wrong type casting and data access.
SeungBeom Kim [Wed, 23 Jul 2014 06:04:13 +0000 (15:04 +0900)]
exynos_omx: multi_thread: Fix the wrong type casting and data access.

The case of using AndroidNativeBuffer,
Errors can happen in Exynos_OSAL_RefANB_Increase by wrong type casting and data access.
The cause, there was a omit to commit merge.
(currently don't need. =>  https://partner-android-review.googlesource.com/#/c/28006/2)

Bug: 10192533
Change-Id: Ie296d6a25da447c4d29b671dc722019cd57aa994
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
9 years agoMerge "exynos_omx: multi_thread: Fix bug about EOS Flag multi return." into lmp-dev
Lajos Molnar [Thu, 31 Jul 2014 14:30:15 +0000 (14:30 +0000)]
Merge "exynos_omx: multi_thread: Fix bug about EOS Flag multi return." into lmp-dev

9 years agoexynos_omx: multi_thread: Limit the number of added minUndequeuedBufs.
SeungBeom Kim [Tue, 22 Jul 2014 02:29:07 +0000 (11:29 +0900)]
exynos_omx: multi_thread: Limit the number of added minUndequeuedBufs.

The case of DRM Play,
Root cause is try to allocate more memory than the memory size reserved.

Bug: 13655631

Change-Id: Ib3799026a6fce87ea22fb680e02cd20402a8ce59
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
9 years agoexynos_omx: multi_thread: Fix bug about EOS Flag multi return.
SeungBeom Kim [Thu, 5 Jun 2014 06:34:27 +0000 (15:34 +0900)]
exynos_omx: multi_thread: Fix bug about EOS Flag multi return.

There is a bug that EOS Flag is returned many times in special cases.
Bug: 11998913

Change-Id: I98b334384faaeb3897d1b0ecfb695b9e254e13ac
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
9 years agoMerge "HWComposer: Fix an fd leak on boot with HDMI"
Dan Stoza [Thu, 19 Jun 2014 17:29:24 +0000 (17:29 +0000)]
Merge "HWComposer: Fix an fd leak on boot with HDMI"

9 years agoam 382b877c: am d7bd3543: Merge "Switch from getdtablesize(3) to sysconf(3)."
Dan Albert [Tue, 17 Jun 2014 09:35:44 +0000 (09:35 +0000)]
am 382b877c: am d7bd3543: Merge "Switch from getdtablesize(3) to sysconf(3)."

* commit '382b877cf52e23faee17fdaa9404d5feebed2bb4':
  Switch from getdtablesize(3) to sysconf(3).

9 years agoam d7bd3543: Merge "Switch from getdtablesize(3) to sysconf(3)."
Dan Albert [Tue, 17 Jun 2014 08:52:32 +0000 (08:52 +0000)]
am d7bd3543: Merge "Switch from getdtablesize(3) to sysconf(3)."

* commit 'd7bd354358ecfb1e52afb3da4fc586c0822c696a':
  Switch from getdtablesize(3) to sysconf(3).

9 years agoMerge "Switch from getdtablesize(3) to sysconf(3)."
Dan Albert [Tue, 17 Jun 2014 05:07:34 +0000 (05:07 +0000)]
Merge "Switch from getdtablesize(3) to sysconf(3)."

9 years agoSwitch from getdtablesize(3) to sysconf(3).
Dan Albert [Mon, 16 Jun 2014 22:36:30 +0000 (15:36 -0700)]
Switch from getdtablesize(3) to sysconf(3).

Change-Id: I4741ea034fdadf1c6cd07c36aee3156f2415fae2

9 years agoSwitch from getdtablesize(3) to sysconf(3).
Dan Albert [Mon, 16 Jun 2014 22:36:30 +0000 (15:36 -0700)]
Switch from getdtablesize(3) to sysconf(3).

Change-Id: I4741ea034fdadf1c6cd07c36aee3156f2415fae2

9 years agoHWComposer: Fix an fd leak on boot with HDMI
Dan Stoza [Tue, 10 Jun 2014 17:19:10 +0000 (10:19 -0700)]
HWComposer: Fix an fd leak on boot with HDMI

When the device is booting with an attached external display, every
frame leaks a file descriptor until the display manager enables the
external display, resulting in hundreds of leaked descriptors. This
plugs the leak.

Change-Id: Ib7e2af3638dab28c2ed04c02ddf9c485edf2bb9d

9 years agoexynos_omx: multi_thread: Add Dynamic resolution change support code for Mpeg4 and...
SeungBeom Kim [Tue, 8 Apr 2014 00:54:55 +0000 (09:54 +0900)]
exynos_omx: multi_thread: Add Dynamic resolution change support code for Mpeg4 and Vp8.

Add Dynamic resolution change support code for Mpeg4 and Vp8.
Need revert commit 0904c3659d032f759aa2877873e1fb335166435a

Bug: 11972823
Change-Id: I0ca913baaa890b2d766ce257923617349797e9bf
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
9 years agoexynos_omx: multi_thread: Modified the scheme of reference count inc/dec.
SeungBeom Kim [Fri, 13 Dec 2013 02:11:19 +0000 (11:11 +0900)]
exynos_omx: multi_thread: Modified the scheme of reference count inc/dec.

<Old>
    - Call the hw_get_module for reference count processing when receives a buffer of each.
    - Call the hw_get_module every frame, an increase in power consumption.
<New>
    - Call the hw_get_module once on init time.
    - It is a small amount, but the reduction of power consumption.

Change-Id: I8489144ef57a46637c32c869c23032d353830c70
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
9 years agoexynos_omx: multi_thread: Change scheme of codec buffer alloc in video encode.
SeungBeom Kim [Fri, 8 Nov 2013 03:33:36 +0000 (12:33 +0900)]
exynos_omx: multi_thread: Change scheme of codec buffer alloc in video encode.

The case of input port copy mode in video encode, Need codec buffer.
This patch supports dynamic calculation of the buffer size of the codec.

Bug: 10838086
Change-Id: I7b7ad97a57455a861ad8e93964891565d95a3899
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
9 years agoexynos_omx: multi_thread: Fix scheme of output metadata buffer in Decode component.
SeungBeom Kim [Tue, 29 Oct 2013 23:40:23 +0000 (08:40 +0900)]
exynos_omx: multi_thread: Fix scheme of output metadata buffer in Decode component.

ION-FD reference count increase works incorrect. if using output metadata buffer in Decode component.

Bug: 10916591
Change-Id: I34241372c089339290bb43a65832a4eebd6ca86c
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
9 years agoexynos_omx: multi_thread: Add compensate the defect of dynamic resolution change.
SeungBeom Kim [Wed, 23 Oct 2013 04:59:49 +0000 (13:59 +0900)]
exynos_omx: multi_thread: Add compensate the defect of dynamic resolution change.

If seek position immediately after Dynamic resolution change, error occurs.
Also, the case of if send port_disable command immediately after flush, error occurs.

Bug: 11006942
Change-Id: I9db181542b84778df5609c1f4ce9bec297fe7dd1
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
9 years agoexynos_omx: multi_thread: Add buffer index reset scheme.
SeungBeom Kim [Wed, 23 Oct 2013 04:54:39 +0000 (13:54 +0900)]
exynos_omx: multi_thread: Add buffer index reset scheme.

Add buffer index reset scheme when the Dynamic Resolution Change with dynamic DPB Change working.

Bug: 10916591
Change-Id: I897c81beb2d0c8a83399e0d1e1d5c4658d9bb00c
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
9 years agoRevert "Don't advertise metadata mode for VP8 decoder."
Lajos Molnar [Fri, 16 May 2014 23:26:51 +0000 (16:26 -0700)]
Revert "Don't advertise metadata mode for VP8 decoder."

This reverts commit 0904c3659d032f759aa2877873e1fb335166435a.

Bug: 11972823
Change-Id: I6bf6fe90a0ae269ad4725d972f68587c0bad248c

9 years agomantaray: drop FACE autofocus in Camera HAL for continuous video
Mark Salyzyn [Fri, 23 May 2014 16:25:49 +0000 (09:25 -0700)]
mantaray: drop FACE autofocus in Camera HAL for continuous video

BUG: 14818996
Change-Id: Ifc031c3bb69693642094776e6c48828ef5f877eb

9 years agoam 5b485127: am 49520247: am 0904c365: Don\'t advertise metadata mode for VP8 decoder.
Lajos Molnar [Wed, 30 Apr 2014 12:50:19 +0000 (12:50 +0000)]
am 5b485127: am 49520247: am 0904c365: Don\'t advertise metadata mode for VP8 decoder.

* commit '5b485127089c591c2744076ac73c10e2fca3da81':

9 years agoam f9860bce: am 565c46f8: am 5b1fd182: Merge "Remove #include <asm/page.h>."
Elliott Hughes [Wed, 30 Apr 2014 12:50:19 +0000 (12:50 +0000)]
am f9860bce: am 565c46f8: am 5b1fd182: Merge "Remove #include <asm/page.h>."

* commit 'f9860bce64d998ee696d6bc546b1fb2cdc4186f3':

9 years agoam 49520247: am 0904c365: Don\'t advertise metadata mode for VP8 decoder.
Lajos Molnar [Wed, 30 Apr 2014 00:59:01 +0000 (00:59 +0000)]
am 49520247: am 0904c365: Don\'t advertise metadata mode for VP8 decoder.

* commit '49520247dc58b67ab4bdbb19be37556d3c494305':

9 years agoam 565c46f8: am 5b1fd182: Merge "Remove #include <asm/page.h>."
Elliott Hughes [Wed, 30 Apr 2014 00:59:01 +0000 (00:59 +0000)]
am 565c46f8: am 5b1fd182: Merge "Remove #include <asm/page.h>."

* commit '565c46f8b714bca200cb5d55625a5154645196b4':

10 years agogralloc: refcount private_module_t
Greg Hackmann [Wed, 2 Apr 2014 18:52:10 +0000 (11:52 -0700)]
gralloc: refcount private_module_t

gralloc_open() can be called multiple times in the same process, which
led to the existing ion fd leaking on each open; the surviving fd also
leaked on close.  Refcount the private_module_t to prevent this.

Bug: 13633155
Change-Id: I09ac8096fe0101b91b23e7c8d2ee9e11efe29b03
Signed-off-by: Greg Hackmann <ghackmann@google.com>
10 years agoam 5d58cc59: (-s ours) am bb2255ab: am 0904c365: Don\'t advertise metadata mode for...
Lajos Molnar [Mon, 24 Mar 2014 18:43:48 +0000 (18:43 +0000)]
am 5d58cc59: (-s ours) am bb2255ab: am 0904c365: Don\'t advertise metadata mode for VP8 decoder.

* commit '5d58cc59cf7a360cdb7403c3ed85412f3be44ae2':
  Don't advertise metadata mode for VP8 decoder.

10 years agoam bb2255ab: am 0904c365: Don\'t advertise metadata mode for VP8 decoder.
Lajos Molnar [Fri, 21 Mar 2014 19:35:16 +0000 (19:35 +0000)]
am bb2255ab: am 0904c365: Don\'t advertise metadata mode for VP8 decoder.

* commit 'bb2255abfe61c47fe33fac2478becc70d5412796':
  Don't advertise metadata mode for VP8 decoder.

10 years agoam 0904c365: Don\'t advertise metadata mode for VP8 decoder.
Lajos Molnar [Fri, 21 Mar 2014 19:32:13 +0000 (19:32 +0000)]
am 0904c365: Don\'t advertise metadata mode for VP8 decoder.

* commit '0904c3659d032f759aa2877873e1fb335166435a':
  Don't advertise metadata mode for VP8 decoder.

10 years agoam 0904c365: Don\'t advertise metadata mode for VP8 decoder.
Lajos Molnar [Fri, 21 Mar 2014 19:31:53 +0000 (19:31 +0000)]
am 0904c365: Don\'t advertise metadata mode for VP8 decoder.

* commit '0904c3659d032f759aa2877873e1fb335166435a':
  Don't advertise metadata mode for VP8 decoder.

10 years agoDon't advertise metadata mode for VP8 decoder.
Lajos Molnar [Thu, 13 Feb 2014 22:09:17 +0000 (14:09 -0800)]
Don't advertise metadata mode for VP8 decoder.

Disable metadata mode until android.media.cts.AdaptivePlaybackTest passes.

Bug: 11972823
Change-Id: I759fb94c91c9f9e8108ed30fa2a2861ffc25096a

10 years agoam 5b1fd182: Merge "Remove #include <asm/page.h>."
Elliott Hughes [Tue, 11 Mar 2014 00:52:53 +0000 (00:52 +0000)]
am 5b1fd182: Merge "Remove #include <asm/page.h>."

* commit '5b1fd1826dc8f13a26390f42190093c366aac01e':
  Remove #include <asm/page.h>.

10 years agoam 7da161f6: am 5b1fd182: Merge "Remove #include <asm/page.h>."
Elliott Hughes [Tue, 25 Feb 2014 00:40:51 +0000 (00:40 +0000)]
am 7da161f6: am 5b1fd182: Merge "Remove #include <asm/page.h>."

* commit '7da161f6dbd796876b561d094cc0334a9d901368':
  Remove #include <asm/page.h>.

10 years agoam 5b1fd182: Merge "Remove #include <asm/page.h>."
Elliott Hughes [Tue, 25 Feb 2014 00:34:37 +0000 (00:34 +0000)]
am 5b1fd182: Merge "Remove #include <asm/page.h>."

* commit '5b1fd1826dc8f13a26390f42190093c366aac01e':
  Remove #include <asm/page.h>.

10 years agoMerge "Remove #include <asm/page.h>."
Elliott Hughes [Tue, 25 Feb 2014 00:29:17 +0000 (00:29 +0000)]
Merge "Remove #include <asm/page.h>."

10 years agoRemove #include <asm/page.h>.
Elliott Hughes [Tue, 25 Feb 2014 00:28:31 +0000 (16:28 -0800)]
Remove #include <asm/page.h>.

Change-Id: I29a9f289cc053aaf017aa316bc9232885139e0e4

10 years agoDon't advertise metadata mode for VP8 decoder.
Lajos Molnar [Thu, 13 Feb 2014 22:09:17 +0000 (14:09 -0800)]
Don't advertise metadata mode for VP8 decoder.

Disable metadata mode until android.media.cts.AdaptivePlaybackTest passes.

Bug: 13012352
Change-Id: I759fb94c91c9f9e8108ed30fa2a2861ffc25096a

10 years agocamera3: Remove geometric correction tags.
Ruben Brunk [Mon, 10 Feb 2014 18:56:54 +0000 (10:56 -0800)]
camera3: Remove geometric correction tags.

Change-Id: I01d70e06540862f7f30df570cb447c4411d9e4d4

10 years agocamera3: Update maxRegions tag.
Ruben Brunk [Fri, 24 Jan 2014 02:21:46 +0000 (18:21 -0800)]
camera3: Update maxRegions tag.

Change-Id: I22501cbf7f941d9626b88182e2dda8a13a620d01

10 years agocamera3: Update sceneMode tag spec.
Ruben Brunk [Sat, 18 Jan 2014 01:17:01 +0000 (17:17 -0800)]
camera3: Update sceneMode tag spec.

Change-Id: I495435397086a295280c556d94fe8efd442a12c3

10 years agoam 8256754b: am cd277b44: am e6c4cd2f: Merge "exynos: gralloc: replace struct ion_han...
Colin Cross [Thu, 19 Dec 2013 22:29:27 +0000 (22:29 +0000)]
am 8256754b: am cd277b44: am e6c4cd2f: Merge "exynos: gralloc: replace struct ion_handle with ion_user_handle_t"

* commit '8256754b2e0763cb4e900e3ebb9c64e0ee0f62c5':
  exynos: gralloc: replace struct ion_handle with ion_user_handle_t

10 years agoam cd277b44: am e6c4cd2f: Merge "exynos: gralloc: replace struct ion_handle with...
Colin Cross [Thu, 19 Dec 2013 22:24:58 +0000 (22:24 +0000)]
am cd277b44: am e6c4cd2f: Merge "exynos: gralloc: replace struct ion_handle with ion_user_handle_t"

* commit 'cd277b441029619a0d6dc7dfad7025c2c971d1ee':
  exynos: gralloc: replace struct ion_handle with ion_user_handle_t

10 years agoam e6c4cd2f: Merge "exynos: gralloc: replace struct ion_handle with ion_user_handle_t"
Colin Cross [Thu, 19 Dec 2013 22:19:07 +0000 (14:19 -0800)]
am e6c4cd2f: Merge "exynos: gralloc: replace struct ion_handle with ion_user_handle_t"

* commit 'e6c4cd2f1e766609ee5ae538c5c78907d8313cb9':
  exynos: gralloc: replace struct ion_handle with ion_user_handle_t

10 years agoMerge "exynos: gralloc: replace struct ion_handle with ion_user_handle_t"
Colin Cross [Thu, 19 Dec 2013 22:14:16 +0000 (22:14 +0000)]
Merge "exynos: gralloc: replace struct ion_handle with ion_user_handle_t"

10 years agoexynos: gralloc: replace struct ion_handle with ion_user_handle_t
Rom Lemarchand [Thu, 24 Oct 2013 18:22:55 +0000 (11:22 -0700)]
exynos: gralloc: replace struct ion_handle with ion_user_handle_t

Replace struct ion_handle with ion_user_handle_t to match new kernel headers

Change-Id: Iefff2036f01dccbd47f0f0e6eef09e804e1e2ea0

10 years agoam 174345d6: am b39943bf: am a61de09c: Merge "Move videodev2.h to include/linux."
Christopher Ferris [Mon, 16 Dec 2013 08:05:59 +0000 (08:05 +0000)]
am 174345d6: am b39943bf: am a61de09c: Merge "Move videodev2.h to include/linux."

* commit '174345d689a0cd52d0aac5bd405ff9e846c11d2a':
  Move videodev2.h to include/linux.

10 years agoam b39943bf: am a61de09c: Merge "Move videodev2.h to include/linux."
Christopher Ferris [Mon, 16 Dec 2013 08:00:34 +0000 (08:00 +0000)]
am b39943bf: am a61de09c: Merge "Move videodev2.h to include/linux."

* commit 'b39943bf1902f5ff6967f55721066f787465f035':
  Move videodev2.h to include/linux.