• Home
  • History
  • Annotate
  • only in /hardware/samsung_slsi/exynos5/libgscaler/
History log of /hardware/samsung_slsi/exynos5/libgscaler/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bcd3f11d136665f5f508aa802d27e9f4ed888b4e 11-Oct-2012 Greg Hackmann <ghackmann@google.com> libgscaler: add csc range field

Defaults to wide RGB; can be changed by setting narrowRgb field in
destination buffer configuration

Bug: 7310985
Change-Id: I7b5a4da4eeac5d82396cabb707e8651f785f039b
Signed-off-by: Greg Hackmann <ghackmann@google.com>
xynos_gsc_utils.h
xynos_gscaler.c
33aa35f1c81c92e5b44ddc898fed85ad39e1908b 06-Oct-2012 Dima Zavin <dima@android.com> libgscaler: enable/disable hardware content protection during drm playback

Bug: 7287429
Change-Id: Ife33062c8e1ee961139e8f3b50720ea43c2882e3
Signed-off-by: Dima Zavin <dima@android.com>
ndroid.mk
xynos_gsc_utils.h
xynos_gscaler.c
de5fb8eea5a909f0b85d179d0e7336770c9c6c53 08-Oct-2012 Benoit Goby <benoit@android.com> libgscaler: Fix acquireFenceFd leak with m2m gscalers

After exynos_gsc_m2m_run_core succeeds, the gscaler has a reference on
the acquireFenceFd fences, so they must be closed before returning.

Bug: 7286984
Change-Id: Ie59009e7c6a3e2648e1aa9bb974d8a908788f1e5
xynos_gscaler.c
9f6d828714b4b232205235a1c75f24ec23f8b888 04-Oct-2012 Benoit Goby <benoit@android.com> libgscaler: Add support for sync fences

gsc_m2m_run returns a release fence for both the src and dst images.
The src releaseFenceFd can be returned to userspace as the
releaseFenceFd of the layer and the dst releaseFenceFd can be used as
the acquiredFenceFd for the next pipeline step.

Bug: 7286984
Change-Id: I16bd2828f03fd3eed2c62b23e2325357b1e477e9
xynos_gsc_utils.h
xynos_gscaler.c
e2426aa8c1247ff3369f9903e25b9a94503fca46 04-Oct-2012 Greg Hackmann <ghackmann@google.com> libgscaler: don't reconfigure m2m gscaler every frame

Reconfiguration happens iff config_exclusive() is called since the last
call to run_exclusive(). Streaming can now stay on until the Gscaler is
reconfigured or explicitly stopped.

Bug: 7202379
Change-Id: I7594e39e01454785098a7abc0b6480df6553f8d0
Signed-off-by: Greg Hackmann <ghackmann@google.com>
xynos_gsc_utils.h
xynos_gscaler.c
43b5926cd6217d097b344acb1412feff1222e4d2 04-Oct-2012 Greg Hackmann <ghackmann@google.com> libgscaler: split stop operation into discrete wait and stop operations

To support keeping Gscaler streaming on between frames

Bug: 7202379
Change-Id: I831e48391a62196dcdd78b86dc2c588cae118f8c
Signed-off-by: Greg Hackmann <ghackmann@google.com>
xynos_gscaler.c
5f54c51bb480c65fd99f56f0dbee3cf31188c91f 06-Sep-2012 Benoit Goby <benoit@android.com> libgscaler: Add support for sync

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

Bug: 7123196
Change-Id: Ib2a563b9d39888d66f0d4a37c79fde2f7b7140fa
xynos_gscaler.c
e76fa9446516eb7526f66d760c7a77b8dad56739 12-Sep-2012 Rebecca Schultz Zavin <rebecca@android.com> Revert "libgscaler: rework configuration checking and alignment"

This reverts commit a9ea534343fd683fda86df74646b57fc95caaa78.
ndroid.mk
xynos_gsc_constraints.c
xynos_gscaler.c
a9ea534343fd683fda86df74646b57fc95caaa78 08-Sep-2012 Greg Hackmann <ghackmann@google.com> libgscaler: rework configuration checking and alignment

Rewritten based on constraints listed in Gscaler application note,
extracted to its own file for readability, and exposed to other modules
(i.e. the HWC) through exynos_gscaler.h.

Change-Id: I963596bbee6301fdf55f6956a0bf6b44de42c861
Signed-off-by: Greg Hackmann <ghackmann@google.com>
ndroid.mk
xynos_gsc_constraints.c
xynos_gscaler.c
aad0a4c53f4bcea7c780530175b58469a12cb332 29-Aug-2012 Benoit Goby <benoit@android.com> libgscaler: Update for HDMI full screen video

Change-Id: I0b85e5a46e1374cf599040e582a75c0ba959df24
xynos_gsc_utils.h
xynos_gscaler.c
0db2e831e9e35fdb6b94fb0ad8454899865767cd 09-Aug-2012 Sanghee Kim <haya93@samsung.com> libgscaler: support gsc's content protection ctrl.

In case of drm video play back, contents should be protected.
Added gsc's content protection control.

Change-Id: If724de5aaf5cadab8eada160211b1ab3ce1b758a
Signed-off-by: Sanghee Kim <haya93@samsung.com>
xynos_gscaler.c
5f18f78469508e24debe7c804094f963f99f4d20 07-Aug-2012 Sanghee Kim <haya93@samsung.com> 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>
xynos_gscaler.c
7bc63d1fa0e161081a7647b3b27ecf5a8aafc104 04-Aug-2012 Dima Zavin <dima@android.com> 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>
xynos_gscaler.c
2607aa30bcae2244e1bc68cbc0a0fc5a2b4ef570 29-Jun-2012 Yongbae Song <yb.song@samsung.com> exynos5: libgscaler: Add NV12 colorFormat

Add NV12 colorFormat.

Change-Id: I62e9cb2709f1bf42d889d46e520580b368c6c174
Signed-off-by: Yongbae Song <yb.song@samsung.com>
xynos_gscaler.c
4006f615bd7b5ad1f11120ad3172b5b4981e37b9 29-Jun-2012 Yongbae Song <yb.song@samsung.com> 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>
xynos_gscaler.c
994ebe9bc7c3b1da00ab8d6c80075cce0da6e47c 30-Jul-2012 Greg Hackmann <ghackmann@google.com> libgscaler: fix set_dst_addr() return value

Change-Id: Id1fd55bf9b1883b8dba7b58beb6e75157341e95b
Signed-off-by: Greg Hackmann <ghackmann@google.com>
xynos_gscaler.c
7b062be72289de0209a8d44e4a9f638539cc6e62 29-Jun-2012 Yongbae Song <yb.song@samsung.com> 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>
xynos_gscaler.c
66e91991f45bf7c56f4993a2c5c2356421017368 26-Jul-2012 Sungjoong Kang <sj3.kang@samsung.com> 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
xynos_gscaler.c
23dac69caf127d309df8157099f7a8a21102c830 20-Jul-2012 Sungjoong Kang <sj3.kang@samsung.com> 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>
xynos_gscaler.c
ba718a434c6a2ed414752043c933a4abcc821fc0 11-Jul-2012 Benoit Goby <benoit@android.com> 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>
xynos_gscaler.c
52cf3b06437639812b555d7a552ead7882bbddfc 10-Jul-2012 Greg Hackmann <ghackmann@google.com> libgscaler: allow link for window 2

Change-Id: I394a698d2130a64d1eecf54069369be7911cf124
Signed-off-by: Greg Hackmann <ghackmann@google.com>
xynos_gscaler.c
cd63257f03af96d2efa5baaa0b97d9672a79f307 10-Jul-2012 Greg Hackmann <ghackmann@google.com> libgscaler: support rgb buffers

Change-Id: I283493a52874622d33125f876f0bcb8e4132cf6c
Signed-off-by: Greg Hackmann <ghackmann@google.com>
xynos_gscaler.c
776bd695a6ab0be71a3765a40f9dcec99b0f7f51 30-Jun-2012 Benoit Goby <benoit@android.com> libgscaler: Use dmabuf instead of userptr

Change-Id: I7ac3c05708b6d8e1c5e9fa1e98ce6feb9c9c65e2
Signed-off-by: Benoit Goby <benoit@android.com>
xynos_gscaler.c
35b3cc218cb21f5d003e39cf15bb4c5bb01fe114 18-Apr-2012 Jiyoung Shin <idon.shin@samsung.com> hardware: exynos5: libgscaler: change plane number for NV16

change plane number for NV16 from 2-plane to 1-plane

Change-Id: I52d15f7630d1212562695a86807c289bae705973
Signed-off-by: Jiyoung Shin <idon.shin@samsung.com>
xynos_gscaler.c
e6a0625be3962fd12a9fbdb9f6dfb2c40a46b902 27-Apr-2012 Jiho Chang <jiho04.chang@samsung.com> hardware: exynos5: update gscaler dir

Change-Id: If5ccd29f726cd72e22e8c90168141ae96d315b68
Signed-off-by: Dima Zavin <dima@android.com>
xynos_gsc_utils.h
xynos_gscaler.c
6134b8bbccf63f722120ad2ff24b5ab629b8e269 03-Apr-2012 Dima Zavin <dima@android.com> libgscaler: LOG* -> ALOG*

Change-Id: I750b4ba3a230b570b8ca1c61e77798cb28bc3e1c
Signed-off-by: Dima Zavin <dima@android.com>
xynos_gscaler.c
70007c4e11bff0d255cdaddb753fddf8508ce08a 23-Mar-2012 Jiho Chang <jiho04.chang@samsung.com> hardware: exynos5: add initial libgscaler

Change-Id: I743bc85c6ea56d469298a7701c67464466a901ac
Signed-off-by: Jiho Chang <jiho04.chang@samsung.com>
ndroid.mk
xynos_gsc_utils.h
xynos_gscaler.c