The Android Automerger [Wed, 15 Aug 2012 13:34:29 +0000 (06:34 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Benoit Goby [Thu, 9 Aug 2012 23:11:22 +0000 (16:11 -0700)]
hwc: read hdmi resolution to properly configure gscaler
Change-Id: I3fb7741b3e51834206ee67ca3914bcaacad667b1
Greg Hackmann [Tue, 14 Aug 2012 22:51:40 +0000 (15:51 -0700)]
hwc: fix colors on YCrCb surfaces
Change-Id: Iafabe17735811fe815ad80ae1c145e1e75b63ca4
Signed-off-by: Greg Hackmann <ghackmann@google.com>
The Android Automerger [Tue, 14 Aug 2012 14:07:29 +0000 (07:07 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Sungjoong Kang [Wed, 8 Aug 2012 18:49:43 +0000 (11:49 -0700)]
hardware: samsung_slsi: libcamera2: Reconstruct static info class
Reconstruct the class for providing static information of camera
Change-Id: I67d3dabdc96c980b9d3d0278112b05d7da59902c
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Sungjoong Kang [Sun, 5 Aug 2012 17:36:19 +0000 (10:36 -0700)]
hardware: samsung_slsi: libcamera2: Change recording format to NV12M
Changed recording format from RGBA8888 to NV12M
Removed unnecessary memcpy and excessive logs.
Change-Id: Id047864dbe5468c86479c2648508a71294c00673
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
SeungBeom Kim [Tue, 7 Aug 2012 23:22:29 +0000 (16:22 -0700)]
exynos_omx: multi_thread: Add New Encode scheme for support input buffer shere.
The case of camera recording, input buffer shere.
If input is store metadata and color format is NV12M then, OpenMAX using Input buffer share scheme.
(Without CSC.)
If input color format is RGB then, OpenMAX using copy(RGB to NV12M CSC) scheme.
This Scheme is supported Dynamic change in the execute state.
(But, Can be changed only once in the time of first frame receive.)
each frame changes can not support.
Change-Id: Iba59e8c04fcea3916665ae86ece52c825ee13eec
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
The Android Automerger [Mon, 13 Aug 2012 15:09:30 +0000 (08:09 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
SeungBeom Kim [Wed, 8 Aug 2012 17:54:12 +0000 (10:54 -0700)]
exynos_omx: multi_thread: Change shared memory allocator for DRM play.
The case of DRM play, OpenMAX need reserved memory.
Reserved memory means Exynos heap.
Change-Id: Ibc4e3b8e73b1a9e6e1dcfb48a52f1a551d428112
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Tue, 7 Aug 2012 18:13:29 +0000 (11:13 -0700)]
exynos_omx: multi_thread: Fix the DRM play bug.
In case of DRM play, Registered input buffer address is incorrect.
Error log
01-01 13:38:30.755: E/ExynosVideoDecoder(99): MFC_Decoder_Enqueue_Inbuf: Failed to get index
01-01 13:38:30.755: E/EXYNOS_H264_DEC(99): Failed to enqueue input buffer for header parsing
Change-Id: Ic62914d4bb4f0a1275cdfbb6c65e9c99af87f29b
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Fri, 10 Aug 2012 03:48:04 +0000 (20:48 -0700)]
hardware: samsung_slsi: V4L2 CID update.
For Equal to the kernel CID.
Change-Id: I6cfb837f155a2f0f586deec70b83bef13d44f009
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
Dima Zavin [Fri, 10 Aug 2012 07:05:54 +0000 (00:05 -0700)]
Merge changes I7936d6f4,Ide5a1370 into jb-mr1-dev
* changes:
exynos5: mobicore: cleanup of makefiles
manta: add MobiCore userspace daemon and libraries
SeungBeom Kim [Fri, 3 Aug 2012 00:03:11 +0000 (17:03 -0700)]
exynos_omx: multi_thread: Change output color format.
YUV420SP(NV12) to NV12T.
Change-Id: Idb863b5a7015775a9ebf59dc345714264b3e2028
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
The Android Automerger [Thu, 9 Aug 2012 16:29:53 +0000 (09:29 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Rebecca Zavin [Wed, 8 Aug 2012 18:19:55 +0000 (11:19 -0700)]
Merge "hardware: samsung_slsi: libcamera2: Stability Fix and code clean-up" into jb-mr1-dev
The Android Automerger [Wed, 8 Aug 2012 13:47:31 +0000 (06:47 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Dima Zavin [Tue, 7 Aug 2012 18:03:13 +0000 (11:03 -0700)]
exynos5: mobicore: cleanup of makefiles
Change-Id: I7936d6f4dbe88f73280deb2118915b46a8a3565c
Signed-off-by: Dima Zavin <dima@android.com>
DongJin Park [Wed, 1 Aug 2012 06:44:23 +0000 (15:44 +0900)]
manta: add MobiCore userspace daemon and libraries
Change-Id: Ide5a137050bf384a5409bec6806018ae84d34767
Signed-off-by: DongJin Park <djpax.park@samsung.com>
Sungjoong Kang [Sat, 4 Aug 2012 22:36:56 +0000 (15:36 -0700)]
hardware: samsung_slsi: libcamera2: Stability Fix and code clean-up
Clean-up unused codes and logs.
Resolves instability caused by frame sync error.
Unifies internal data structure.
Change-Id: I29a220e29b5856a42f0727427f9e8af10848500c
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Jesse Hall [Tue, 31 Jul 2012 21:34:08 +0000 (14:34 -0700)]
Minimal changes to support multi-display HWC
Change-Id: I8d95065f70c18356672cb3f3e5151d38408d09c0
Sanghee Kim [Tue, 7 Aug 2012 06:55:48 +0000 (23:55 -0700)]
exynos5: libgscaler: modify set_format function.
Fixed the problem "stillshot always captures same image".
need to set_format always if someone request.
Change-Id: I2b1bb6bc83d62e8e3e5c3cbdb54e55f7ad2ed624
Signed-off-by: Sanghee Kim <haya93@samsung.com>
The Android Automerger [Tue, 7 Aug 2012 13:34:36 +0000 (06:34 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Dima Zavin [Mon, 6 Aug 2012 23:12:09 +0000 (16:12 -0700)]
Merge "HACK: exynos5: gscaler: do not skip s_fmt/reqbufs on gsc_convert path" into jb-mr1-dev
The Android Automerger [Mon, 6 Aug 2012 13:28:38 +0000 (06:28 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Dima Zavin [Sat, 4 Aug 2012 08:15:15 +0000 (01:15 -0700)]
HACK: exynos5: gscaler: do not skip s_fmt/reqbufs on gsc_convert path
This fixes the bug where still capture always captures the same
image and video recording only taking first image.
The issue is that reqbufs is reset to 0 and fmt is not set
when the buffers try to be enqueued and stremaing turned on in the path
from csc_convert().
This is temporary as the gscaler code really needs a huge cleanup.
Bug:
6925368
Change-Id: Ia8e3aee0e0b50c6a69e1eda219e484713088c042
Signed-off-by: Dima Zavin <dima@android.com>
Greg Hackmann [Fri, 3 Aug 2012 23:16:58 +0000 (16:16 -0700)]
hwc: enforce gscaler limitations on scaling factor
Change-Id: I1e21da41883ba7c3d28c5ca73e288cd75ca8381c
Signed-off-by: Greg Hackmann <ghackmann@google.com>
SeungBeom Kim [Fri, 3 Aug 2012 21:19:12 +0000 (14:19 -0700)]
exynos_omx: multi_thread: The case of "enable native buffer", Change the conditions of checking.
related-to-bug:
6923167
Change-Id: Ibdb5ad5deec3030743e99c4faff1cc20d9686f3e
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
James Dong [Thu, 2 Aug 2012 22:42:19 +0000 (15:42 -0700)]
Remove excessive logging
Change-Id: I16d15e6dc5a9b1144cd125465ab39738436d1ff9
Dima Zavin [Thu, 2 Aug 2012 23:18:49 +0000 (16:18 -0700)]
exynos5: metadata buffer contains a buffer handle, not anativewindow
Since it's a buffer handle, call LockANBHandle not LockANB.
Change-Id: Ib27dfe7884f084a96a636faa1eb9718fc281abd3
Signed-off-by: Dima Zavin <dima@android.com>
The Android Automerger [Thu, 2 Aug 2012 15:18:13 +0000 (08:18 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Yongbae Song [Fri, 29 Jun 2012 06:37:37 +0000 (15:37 +0900)]
exynos5: libgscaler: Add NV12 colorFormat
Add NV12 colorFormat.
Change-Id: I62e9cb2709f1bf42d889d46e520580b368c6c174
Signed-off-by: Yongbae Song <yb.song@samsung.com>
Yongbae Song [Fri, 29 Jun 2012 06:33:42 +0000 (15:33 +0900)]
exynos5: libgscaler: added the V4L2_PIX_FMT for YUV420P
V4L2_PIX_FMT for YUV420P is missed in the libgscaler code.
The missed V4L2_PIX_FMT code has been added.
Change-Id: I6db81a9ce3acbb44dc4fd10a767a679298f53e3b
Signed-off-by: Yongbae Song <yb.song@samsung.com>
SeungBeom Kim [Wed, 1 Aug 2012 16:58:24 +0000 (09:58 -0700)]
exynos_omx: multi_thread: Fix H.263 encoder.
for [Issue
6889100] h263 encoder produces unplayable output.
Change-Id: I2c0fa27329da85f4b9ae942bb2e780956b865630
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
Greg Hackmann [Tue, 31 Jul 2012 22:20:00 +0000 (15:20 -0700)]
hwc: set gscaler output to BGR32
Fixes swapped R/B colors on display
Change-Id: I030a653325ac1045efb13b07bb330a024317e994
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Jesse Hall [Tue, 31 Jul 2012 19:16:41 +0000 (12:16 -0700)]
Revert "Minimal changes to support multi-display HWC"
This reverts commit
57e4cb51f6a24378203e490888a3190cd744a264
Change-Id: Idc2e21c1e51f657284076a44b139f93431dc2772
Greg Hackmann [Tue, 31 Jul 2012 16:50:38 +0000 (09:50 -0700)]
HACK: hwc: reserve gscaler 2 for camera
Change-Id: Ic4a2e430849431212322d2cf6c1ae0cf588186c3
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Jesse Hall [Tue, 31 Jul 2012 19:16:41 +0000 (12:16 -0700)]
Revert "Minimal changes to support multi-display HWC"
This reverts commit
57e4cb51f6a24378203e490888a3190cd744a264
Change-Id: Idc2e21c1e51f657284076a44b139f93431dc2772
Greg Hackmann [Tue, 31 Jul 2012 16:50:38 +0000 (09:50 -0700)]
HACK: hwc: reserve gscaler 2 for camera
Change-Id: Ic4a2e430849431212322d2cf6c1ae0cf588186c3
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Jesse Hall [Thu, 26 Jul 2012 05:16:17 +0000 (22:16 -0700)]
Minimal changes to support multi-display HWC
Change-Id: I05e56d287a658f1174104b81e1b5ee0b33944555
Greg Hackmann [Mon, 30 Jul 2012 21:53:04 +0000 (14:53 -0700)]
hwc: enable gscaler memory-to-memory
Performs color conversion, scaling, and translation for YUV surfaces.
To prevent allocating a new destination buffer every frame, buffers are
reused in alternate frames whenever the configuration in unchanged.
Change-Id: I9a9c1e64a6ffe156ed111265d7e44d9dac8cbdf3
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Greg Hackmann [Mon, 30 Jul 2012 21:54:59 +0000 (14:54 -0700)]
libgscaler: fix set_dst_addr() return value
Change-Id: Id1fd55bf9b1883b8dba7b58beb6e75157341e95b
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Yongbae Song [Fri, 29 Jun 2012 05:25:33 +0000 (14:25 +0900)]
exynos5: libgscaler: GSC m2m non-blocking feature is added
Added the GSC m2m non-blocking mode in libgscaler. By using this
feature, other tasks (like glDraw) can be parallelized to GSC
processing.
libgscaler provids 3 APIs for GSC frame processing
1)exynos_gsc_config_exclusive ==> GSC configuration
2)exynos_gsc_run_exclusive ==> Queue the buffer and streamon the
GSC.
3)exynos_gsc_stop_exclusive ==> Deque the buffer (wait for frame
done) & streamoff the GSC.
Change-Id: I86d2da0b9fb9284c2a2a135f1c36a50c876928a0
Signed-off-by: Yongbae Song <yb.song@samsung.com>
Alex Ray [Mon, 30 Jul 2012 23:55:15 +0000 (16:55 -0700)]
hardware: samsung_slsi: libcamera2: verbose log messages (again)
Turn down verbosity while camera is on, missed a couple
Change-Id: Ic58f1000a069a982b8ced2e3a327eb35a51f840b
Alex Ray [Mon, 30 Jul 2012 23:42:12 +0000 (16:42 -0700)]
hardware: samsung_slsi: libcamera2: verbose log messages
Turn down verbosity while camera is on.
Change-Id: I78d5f24caebb0f36c4d84c09464fbd199947714b
Alex Ray [Sat, 28 Jul 2012 00:19:48 +0000 (17:19 -0700)]
hardware: samsung_slsi: libcamera2: update DMABUF references
Change-Id: Id6f2a9aa4e91c766bc3047a3946c365723dc4224
Signed-off-by: Alex Ray <aray@google.com>
Sungjoong Kang [Fri, 20 Jul 2012 13:31:51 +0000 (22:31 +0900)]
hardware: samsung_slsi: libhwjpeg: support DMABUF
Change-Id: I4ca119dbc9c83a2c334b095cf305fc8df72e0207
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Sungjoong Kang [Fri, 20 Jul 2012 13:30:40 +0000 (22:30 +0900)]
hardware: samsung_slsi: include: update header file for JPEG
To support DMABUF, update jpeg header file
Change-Id: Ib3b3fd3a1f8142c85a8ebf7217ab3cb6a17a8e56
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Sungjoong Kang [Fri, 27 Jul 2012 19:03:29 +0000 (12:03 -0700)]
hardware: samsung_slsi: libcamera2: Fixed Front Camera Recording
This patch fixes lockup during front camera recording.
Change-Id: I8f308a763feabc414154bb9d372e559605275244
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Sungjoong Kang [Fri, 27 Jul 2012 14:39:05 +0000 (07:39 -0700)]
hardware: samsung_slsi: libcamera2: Bug fixes and code cleanup
This patch resolves instability of last version.
With this patch and latest kernel patches,
failure on re-entering camera app has also been resolved.
Change-Id: I2acf3c659256798280c41869b9d84d72846f34af
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Sungjoong Kang [Mon, 23 Jul 2012 15:25:51 +0000 (00:25 +0900)]
hardware: samsung_slsi: libcamera2: support front camera
This version also supports Video Recording.
Fixed file permission and front camera recording failure.
Change-Id: Ibad9f007107576ff25e3d189d4f3e96435b989c1
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Sungjoong Kang [Thu, 26 Jul 2012 02:04:19 +0000 (19:04 -0700)]
hardware: samsung_slsi: libgscaler: Added support for NV21M
Added support for NV21M which means HAL_PIXEL_FORMAT_YCrCb_420_SP
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Change-Id: Ibfdd3ba5781d2ad7eff6e6c1e2c0a61351de40fc
Sungjoong Kang [Fri, 20 Jul 2012 13:33:13 +0000 (22:33 +0900)]
hardware: samsung_slsi: libgscaler: bug fix for NV16
change plane count from 2 to 1 for NV16 format
Change-Id: Id8789ddb007c03cbf04c3a26e2094f4a15e0bbcc
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Sungjoong Kang [Sat, 14 Jul 2012 01:20:39 +0000 (10:20 +0900)]
hardware: samsung_slsi: libcamera2: Camera 2.0 2nd release
This version includes HAL implementation for supporting stillshot.
This version requires dma_buf enabled gscaler and jpeg encodere.
Fixed Color Inversion.
Change-Id: Id4386733d1f3e87ac6fa9b15bb3ed93b2f5f25a5
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
Greg Hackmann [Tue, 24 Jul 2012 20:49:47 +0000 (13:49 -0700)]
hwc: skip layers flagged with HWC_SKIP_LAYER
Change-Id: Ibaab3b002ee2e891a8fa8c43b88b06059d1e2a38
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Greg Hackmann [Thu, 26 Jul 2012 21:21:16 +0000 (14:21 -0700)]
hwc: fix reading vsync timestamps from sysfs
Per the recipe in kernel commit
4508a7a734b111b8b7e39986237d84acb1168dd0. Prevents a vsync timestamp
being delivered to SurfaceFlinger before it requests them.
Change-Id: I2185594c1d15ee13ff3f78779140e7655153b540
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Erik Gilling [Wed, 25 Jul 2012 02:36:19 +0000 (19:36 -0700)]
remove ump and malisw includes
Change-Id: I4cb6bd1b94ae7fd03de97d863eb934d67c5cb192
Erik Gilling [Wed, 25 Jul 2012 17:36:27 +0000 (10:36 -0700)]
hwc: remove include of unused ump.h
Change-Id: Ieadb77625be534795a3e8f9d01403bcd17a795e3
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Wed, 25 Jul 2012 17:39:20 +0000 (10:39 -0700)]
update s3c-fb.h
Change-Id: I27ae4b287ae0d38d129cbdf99f26a228abb828cc
Signed-off-by: Erik Gilling <konkers@android.com>
Rebecca Schultz Zavin [Tue, 26 Jun 2012 19:50:15 +0000 (12:50 -0700)]
Switch to dma_buf based gralloc
Change-Id: Id804e26df5d60a174bb3f83f997d0d015459f1b0
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
SeungBeom Kim [Tue, 24 Jul 2012 01:30:50 +0000 (10:30 +0900)]
exynos_omx: multi_thread: For modify CSC API support.
Change-Id: I91e06fbad1b4aa985ef4ccd775148a17737ed1c6
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Fri, 20 Jul 2012 07:44:11 +0000 (16:44 +0900)]
exynos5: libcsc: change CSC API for DMABUF support.
Change csc_set_src_buffer and csc_set_dst_buffer API,
Change-Id: I6630ea3b11680b3a99c7610e5635d02c27ed6ccd
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Thu, 19 Jul 2012 06:12:45 +0000 (15:12 +0900)]
exynos_omx: multi_thread: Change number of metadata buffer.
Change number of metadata buffer.
for storemetadata Video recording.
Change-Id: I7f9d0b1633341f185a25e869312995143782ff3c
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Thu, 19 Jul 2012 04:18:00 +0000 (13:18 +0900)]
exynos_omx: multi_thread: Fix the bug of decode buffer Queuing.
The case of output Buffer Share,
Destination buffer Enqueue argument is wrong in all Decode Component.
Fix wrong argument.
Change-Id: I380ddd1d468bb130c78678a81d5fa401f2ecda7f
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Wed, 18 Jul 2012 00:02:37 +0000 (09:02 +0900)]
exynos_omx: multi_thread: Fix the encoder input buffer scheme.
in the case of MetadataBufferType buffer,
Fix the bug of input buffer registration scheme.
Change-Id: I05ec601777e5aae6ec20e74c933f03b3cacd8958
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Tue, 17 Jul 2012 03:01:18 +0000 (12:01 +0900)]
exynos_omx: multi_thread: Remove unused variable (cont.).
Change-Id: I35030e0c4243f9cb0a216c941a242ab725b201f2
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Wed, 11 Jul 2012 10:00:42 +0000 (19:00 +0900)]
exynos_omx: multi_thread: Modified Cache enable scheme.
the case of Buffer copy, Cache enable.
Change-Id: Idd2f96f13b6fc8fa54bc50d3931e9a8c158e82dd
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Wed, 4 Jul 2012 06:32:04 +0000 (15:32 +0900)]
exynos_omx: multi_thread: Modified AllocateBuffer & FreeBuffer.
- Modified Exynos_OMX_AllocateBuffer in video decode.
- Modified Exynos_OMX_FreeBuffer in video decode.
Change-Id: Ic1c8577ac7befd59c3a6b5d1e96b6e01828027d0
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Wed, 4 Jul 2012 06:25:59 +0000 (15:25 +0900)]
exynos_omx: multi_thread: input and output buffer struct Integration.
- remove CODEC_DEC_INPUT_BUFFER
- remove CODEC_DEC_OUTPUT_BUFFER
- add new struct CODEC_DEC_BUFFER
Change-Id: Ie4afaf5f41834606c9f5220a0f9b031f0d05b807
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Wed, 4 Jul 2012 06:01:54 +0000 (15:01 +0900)]
exynos_omx: multi_thread: Video encoder supported ION fd.
Video encode component supported ION fd.
Change-Id: Ib8dcb66eaf54371f69b5404cfdf3b954368386c0
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Wed, 4 Jul 2012 05:31:23 +0000 (14:31 +0900)]
exynos_omx: multi_thread: support to DRM component.
- support H.264 DRM playback
Change-Id: I8b8e70b0202e28c983fa4497a699b92459fd3fe0
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Wed, 4 Jul 2012 05:13:28 +0000 (14:13 +0900)]
exynos_omx: multi_thread: Modified Video Encode Scheme.
- Encode component setup scheme change.
- Add Encode component output port share.
Change-Id: Iaf145e41dd0f706cfb17fcc0fa34b1f8bf9113b7
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Wed, 4 Jul 2012 04:08:54 +0000 (13:08 +0900)]
exynos_omx: multi_thread: Video decode component code clean-up.
- Use MFC_INPUT_BUFFER_PLANE.
- Use MFC_OUTPUT_BUFFER_PLANE.
- Remove Log message.
Change-Id: Ia85646964b4167d7c6c36c1da78eaa981e7fb323
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Wed, 4 Jul 2012 01:55:37 +0000 (10:55 +0900)]
exynos_omx: multi_thread: Modified calc_plane API
Modified calc_plane(for the MFC output buffer calculate) API.
Change-Id: I86e338f27ce352932a8176e0f7137084aeb884d4
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Wed, 4 Jul 2012 01:13:01 +0000 (10:13 +0900)]
exynos_omx: multi_thread: Modified OMX_EventPortSettingsChanged scheme.
this change is for crop clip decoding of "H.264 decode Component".
Change-Id: Iad50319d4cfc35d56b2720b8b75cb3db22c1c578
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Wed, 4 Jul 2012 00:56:12 +0000 (09:56 +0900)]
exynos_omx: multi_thread: enhance the exception handling.
in case of first frame EOS, enhance the exception handling.
Change-Id: I72f74d4c5389119a499f74abb68f08bbe9cadd7a
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Wed, 4 Jul 2012 00:33:20 +0000 (09:33 +0900)]
exynos_omx: multi_thread: Add error handling.
Change-Id: I279d1e893589179a573224c383d414fbb165fc40
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Tue, 3 Jul 2012 11:03:59 +0000 (20:03 +0900)]
exynos_omx: multi_thread: Code clean-up.
- remove tab & line.
- remove log message.
Change-Id: I0e21ff7da9b1d4e3533e340be276e98e82f6f6e7
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Tue, 3 Jul 2012 10:16:46 +0000 (19:16 +0900)]
exynos_omx: multi_thread: Change variable name.
- MAXDPBNum to maxDPBNum.
Change-Id: Ic522ca6f7f6d66495f72ab02911b1f382cda220f
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Tue, 3 Jul 2012 09:31:30 +0000 (18:31 +0900)]
exynos_omx: multi_thread: Update Exynos Codec API.
- Change mutex lock & unlock position.
- Add error handling.
- Code clean-up.
Change-Id: Ia44cb1062fca16936411ea408a0ff1186dd0a296
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Tue, 3 Jul 2012 05:46:02 +0000 (14:46 +0900)]
exynos_omx: multi_thread: Add New API.
- the case of buffer allocated outside OMX, need mapping for buffer use.
- API Name
Exynos_OSAL_SharedMemory_Map
Exynos_OSAL_SharedMemory_Unmap
EX)
need this API. if using "StoreMetaDataBuffer & FD" in camera recording.
Change-Id: Ifb90d9faaf8c22c6379e273bf3e389e83b05bebc
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Tue, 3 Jul 2012 05:05:07 +0000 (14:05 +0900)]
exynos_omx: multi_thread: Modifed the Exynos_OSAL_SharedMemory.c file.
- Change the check routine about return value of ion_map
- Struct name change
SEC_OMX_SHAREDMEM_LIST to EXYNOS_SHAREDMEM_LIST
EXYNOS_OMX_SHARE_MEMORY to EXYNOS_SHARED_MEMORY
- Compliance with coding rules
Change-Id: I589cb89231c704e8d8c2cf7a001a335c621fb6c3
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Mon, 2 Jul 2012 08:41:35 +0000 (17:41 +0900)]
exynos_omx: multi_thread: Code clean-up.
remove tab & line.
Change-Id: I1486e8acf919657d4161b943f679bce3ffb5a90b
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Mon, 2 Jul 2012 08:17:35 +0000 (17:17 +0900)]
exynos_omx: multi_thread: remove OMXComponentCapabilityFlagsType.
OMXComponentCapabilityFlagsType is code for opencore.
It don't need no more.
Change-Id: If85121b276147cd11abd44341044d380025df77c
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Mon, 2 Jul 2012 06:07:19 +0000 (15:07 +0900)]
exynos_omx: multi_thread: Convert DOS to Unix.
Change-Id: I55ccef02a191e41a46442c11e57bf505130eca36
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
Greg Hackmann [Mon, 23 Jul 2012 22:31:10 +0000 (15:31 -0700)]
hwc: read vsync timestamps from sysfs
Change-Id: Ife094105b247f4cfd2edb148a1914c50f62873b4
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Greg Hackmann [Tue, 24 Jul 2012 16:46:23 +0000 (09:46 -0700)]
Revert "hwc: read vsync timestamps from sysfs"
This reverts commit
34a653d2b78534ee5370a768eda9cad94c41b974.
Greg Hackmann [Mon, 23 Jul 2012 22:31:10 +0000 (15:31 -0700)]
hwc: read vsync timestamps from sysfs
Change-Id: Ia360211a8b944c362f9d564abac91c363cef49fb
Signed-off-by: Greg Hackmann <ghackmann@google.com>
SeungBeom Kim [Thu, 5 Jul 2012 05:59:40 +0000 (14:59 +0900)]
exynos_omx: multi_thread: Add argument for selection of memory type in initial time.
void *MFC_Decoder_Init(void) to void *MFC_Decoder_Init(int nMemoryType)
void *MFC_Encoder_Init(void) to void *MFC_Encoder_Init(int nMemoryType)
Change-Id: I0e663bcf8ac111b205ac13f86fe614572ef92ee4
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Tue, 3 Jul 2012 06:45:57 +0000 (15:45 +0900)]
exynos_omx: multi_thread: Add nMemoryType variable in struct ExynosVideoDecContext.
for the V4L2_MEMORY_DMABUF support & manage.
Change-Id: If68c0963d7debaf2306fcefcad97cd8a933c2cef
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
SeungBeom Kim [Tue, 17 Jul 2012 03:01:18 +0000 (12:01 +0900)]
exynos_omx: multi_thread: Remove unused variable.
Change-Id: I647070ce0264ed0de82a3cdbcccd81618ce3107c
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
Colin Cross [Thu, 19 Jul 2012 19:22:17 +0000 (12:22 -0700)]
libhwc: don't link against libump_mali
libump_mali is not available if vendor is not available, and is not
needed by libhwc.
Change-Id: I40a60eab895e249e2de3c0851bbb4bf09708259b
Dima Zavin [Thu, 21 Jun 2012 06:11:57 +0000 (23:11 -0700)]
exynos5: omx: always set buffers as shareable
Change-Id: I162706dfc4672bacb8d5a9fc16d51283e9899f79
Signed-off-by: Dima Zavin <dima@android.com>
Greg Hackmann [Wed, 11 Jul 2012 16:53:55 +0000 (09:53 -0700)]
gralloc: reorder initializers to eliminate warnings
Change-Id: I5705972a85465697582530f5cc41891d78cb561f
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Greg Hackmann [Mon, 16 Jul 2012 23:10:27 +0000 (16:10 -0700)]
hwc: fix formatting
Change-Id: I979a05d909528239c19cffcc8c0b419fbc0ac3fe
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Greg Hackmann [Fri, 13 Jul 2012 20:23:11 +0000 (13:23 -0700)]
hwc: enable overlay support for all hardware windows
Change-Id: Ic154afc5e955275468f228a6a0a0f4cf02b99034
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Colin Cross [Fri, 13 Jul 2012 00:54:17 +0000 (17:54 -0700)]
exynos5 hwc: add blank operation
Add a blank operation that will trigger the framebuffer blanking ioctl
when surfaceflinger blanks or unblanks the screen.
Change-Id: I4451317d882523ffaac39d107cfb5b5cad8b1bfa
Benoit Goby [Wed, 11 Jul 2012 03:12:16 +0000 (20:12 -0700)]
libhwc: The gscaler -> mixer local output only supports YCbCr
Change-Id: I4e74b74b3b12fdcae2a1e0cd2b471e9d85c6b01a
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Wed, 11 Jul 2012 03:09:21 +0000 (20:09 -0700)]
libgscaler: Fix source pad mbus format
Should decide which mbus format to depending on dst_color_space, not src_color_space
Change-Id: I9fdaf044598b262bc5237838aac3fb6c3f885ce4
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Mon, 9 Jul 2012 19:09:59 +0000 (12:09 -0700)]
libhwc: Add support for hdmi mirroring
Change-Id: If9ff86c113e14cc62e74daeea957f3c3ee84604f
Signed-off-by: Benoit Goby <benoit@android.com>
Alex Ray [Mon, 9 Jul 2012 23:46:03 +0000 (16:46 -0700)]
hardware: samsung_slsi: libcamera2: ion_alloc flags
Change-Id: Ie9ebc0f3d0fbddfdc5fa20040b00e8a1d41ae6df