GitHub/LineageOS/android_hardware_samsung_slsi_exynos5.git
9 years agoRemove superfluous OpenSSL include paths.
Adam Langley [Fri, 23 Jan 2015 01:17:14 +0000 (17:17 -0800)]
Remove superfluous OpenSSL include paths.

The libcrypto and libssl modules (and their respective static and host
versions) use LOCAL_EXPORT_C_INCLUDE_DIRS thus just including the module
is sufficient.

Change-Id: Ie591e149b4252284c1344261fdabe785250ee16e

9 years agoMerge "Suppress or fix clang errors before the fix from upstream."
Chih-Hung Hsieh [Tue, 6 Jan 2015 19:52:15 +0000 (19:52 +0000)]
Merge "Suppress or fix clang errors before the fix from upstream."

9 years agoSuppress or fix clang errors before the fix from upstream.
Chih-Hung Hsieh [Tue, 6 Jan 2015 18:39:24 +0000 (10:39 -0800)]
Suppress or fix clang errors before the fix from upstream.

* Make Exynos_UpdateFrameSize global to link with other modules.
* Suppress warnings about int conversion, pointer conversion,
  implicit function declaration, sign/unsign comparison, and
  c++11-narrowing.

Change-Id: I462902cbc0d1c3442d59a6741c66d8a870a99e8c

9 years agoMerge "Fix "hardware/samsung_slsi/exynos5/libcsc/csc.c:341:67: error: 'errno' undecla...
Elliott Hughes [Mon, 29 Dec 2014 22:23:27 +0000 (22:23 +0000)]
Merge "Fix "hardware/samsung_slsi/exynos5/libcsc/csc.c:341:67: error: 'errno' undeclared"."

9 years agoFix "hardware/samsung_slsi/exynos5/libcsc/csc.c:341:67: error: 'errno' undeclared".
Elliott Hughes [Mon, 29 Dec 2014 22:22:44 +0000 (14:22 -0800)]
Fix "hardware/samsung_slsi/exynos5/libcsc/csc.c:341:67: error: 'errno' undeclared".

Change-Id: Ic5982302a0dd0a88bac7aaf30128a84b2c1cd95c

9 years agoMerge "Cleanup Obsolete LOCAL_PRELINK_MODULE."
Ying Wang [Tue, 16 Dec 2014 20:38:10 +0000 (20:38 +0000)]
Merge "Cleanup Obsolete LOCAL_PRELINK_MODULE."

9 years agoCleanup Obsolete LOCAL_PRELINK_MODULE.
Ying Wang [Tue, 16 Dec 2014 20:33:57 +0000 (12:33 -0800)]
Cleanup Obsolete LOCAL_PRELINK_MODULE.

Bug: 18675947
Change-Id: Id460accbd37f1cbdf84c94510064ac4ac261f77e

9 years agoMerge "Fix a build break due to a change in libui"
Dan Stoza [Mon, 8 Dec 2014 20:23:34 +0000 (20:23 +0000)]
Merge "Fix a build break due to a change in libui"

9 years agoFix a build break due to a change in libui
Dan Stoza [Mon, 8 Dec 2014 19:54:16 +0000 (11:54 -0800)]
Fix a build break due to a change in libui

The Rect constructor became ambiguous because of the addition of a
new overload. This resolves the ambiguity to fix the build, but the
dependency on libui should be removed altogether.

Bug: 18668702
Change-Id: I923fcf793790776cd067933292ec8c8050f27d1c

9 years agoMerge "Fix build after C++11 migration."
Dan Albert [Tue, 25 Nov 2014 19:18:40 +0000 (19:18 +0000)]
Merge "Fix build after C++11 migration."

9 years agoFix build after C++11 migration.
Dan Albert [Tue, 25 Nov 2014 19:16:24 +0000 (11:16 -0800)]
Fix build after C++11 migration.

More UD literal issues.
`using namespace std` should be illegal.

Change-Id: If408f360e28acf9159705b9b724c7c083391ff71

10 years agoMerge "Stop using stlport."
Dan Albert [Mon, 17 Nov 2014 22:27:44 +0000 (22:27 +0000)]
Merge "Stop using stlport."

10 years agoStop using stlport.
Dan Albert [Mon, 17 Nov 2014 22:21:24 +0000 (14:21 -0800)]
Stop using stlport.

Bug: 15193147
Change-Id: Ib432eb3d54ccc04bcd21562c87384bd8ea292828

10 years agoam 88c954f6: remove misleading error messages: free only allocated ion buffers on...
SeungBeom Kim [Tue, 14 Oct 2014 08:27:10 +0000 (08:27 +0000)]
am 88c954f6: remove misleading error messages: free only allocated ion buffers on exit

* commit '88c954f60ea8c74f305942bc55c32bc30f6aa9ef':
  remove misleading error messages: free only allocated ion buffers on exit

10 years agoam d4ec0f61: exynos_omx: multi_thread: Fix bug for video encode tests.
SeungBeom Kim [Tue, 14 Oct 2014 08:27:09 +0000 (08:27 +0000)]
am d4ec0f61: exynos_omx: multi_thread: Fix bug for video encode tests.

* commit 'd4ec0f61b9819c82c57daa98b891a3132ffa03b5':
  exynos_omx: multi_thread: Fix bug for video encode tests.

10 years agoam 6f3be1e3: exynos_omx: multi_thread: Fix bug for adaptiveDrc tests.
SeungBeom Kim [Tue, 14 Oct 2014 08:27:09 +0000 (08:27 +0000)]
am 6f3be1e3: exynos_omx: multi_thread: Fix bug for adaptiveDrc tests.

* commit '6f3be1e305dfb9a36d9771f0e71d0cf028afb017':
  exynos_omx: multi_thread: Fix bug for adaptiveDrc tests.

10 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>
10 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>
10 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>
10 years agoam 17071e43: Fix JPEG thumbnail size check.
Ruben Brunk [Thu, 2 Oct 2014 19:38:05 +0000 (19:38 +0000)]
am 17071e43: Fix JPEG thumbnail size check.

* commit '17071e43a448f45e864bc41049528ceb82f21a37':
  Fix JPEG thumbnail size check.

10 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

10 years agoam 177dd33d: Manta: exynos: libcamera2: plug /dev/ion file descriptor leak
Mark Salyzyn [Mon, 29 Sep 2014 20:49:01 +0000 (20:49 +0000)]
am 177dd33d: Manta: exynos: libcamera2: plug /dev/ion file descriptor leak

* commit '177dd33d9cdf40946f5e52962c9d625b5134a2e7':
  Manta: exynos: libcamera2: plug /dev/ion file descriptor leak

10 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

10 years agoam 2113fb14: Merge "Don\'t manually link stlport."
Dan Albert [Fri, 26 Sep 2014 19:53:00 +0000 (19:53 +0000)]
am 2113fb14: Merge "Don\'t manually link stlport."

* commit '2113fb14d60becb6d419513f3752d4efa2f6a4cc':
  Don't manually link stlport.

10 years agoMerge "Don't manually link stlport."
Dan Albert [Fri, 26 Sep 2014 19:40:01 +0000 (19:40 +0000)]
Merge "Don't manually link stlport."

10 years agoDon't manually link stlport.
Dan Albert [Fri, 26 Sep 2014 17:58:03 +0000 (10:58 -0700)]
Don't manually link stlport.

Change-Id: Ie2c698447ba478b3f79f2cc8331427190973ebf0

10 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

10 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

10 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

10 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

10 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

10 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>
10 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>
10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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>
10 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

10 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>
10 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

10 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>
10 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>
10 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"

10 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).

10 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).

10 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)."

10 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

10 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

10 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

10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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

10 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

10 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':

10 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':

10 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':

10 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"