History log of /hardware/qcom/display/liboverlay/overlayUtils.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
91a6a994e8d799ea2d4c4cbe6ff2e9be76105988 21-Aug-2012 Saurabh Shah <saurshah@codeaurora.org> hwc/overlay: Add premultiplied alpha support.

Add premultiplied alpha belnding support while using MDP for composition.
Layers could have PMA blending which was missing from hwc1.1
This change just handles the PMA case.

Bug: 7301436
Change-Id: I7d83169831b40943b2b595723fefc3a95a177137
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/display/liboverlay/overlayUtils.h
c4d034f4b8d12953632907d30c0b78856d829579 28-Sep-2012 Saurabh Shah <saurshah@codeaurora.org> hwc: enable dual display on hwc 1.1

Enable dual display on HWC 1.1; video uses overlay.

Bug: 7124159
Change-Id: I8333e46cfc74072f6259fba2b82368f0dd52b6df
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/display/liboverlay/overlayUtils.h
56f610dd235b577725198e9341caae92379fdf23 08-Aug-2012 Saurabh Shah <saurshah@codeaurora.org> display: Create QService binder interface.

Add QService binder interface to enable communication
to display by the mediaserver for Securing/Unsecuring start and end
notifications.

Create separate lib for external.
Clear reserved field before applying format.

Change-Id: I463c9c6deac7587bd0c4e0b84513b5d0b5dd7e98
/hardware/qcom/display/liboverlay/overlayUtils.h
cb3da0a5e4313f55bd27514006c3ce64293ff8a2 07-Sep-2012 Ajay Dudani <adudani@codeaurora.org> liboverlay: close all the opened pipes after framework reboot.

b/7147557

Add initOverlay() function to close all the opened pipes when
Surfaceflinger process gets killed.

Change-Id: I9c65a61c81f9c81198f1076d6cbd27933b164c05
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/display/liboverlay/overlayUtils.h
799a39759ba03b08cb96ffb4bb7a2359a2959d93 01-Sep-2012 Saurabh Shah <saurshah@codeaurora.org> display: Enable MDP pixel repeat on MDP Composition.

This change sets MDP_BACKEND_COMPOSITION flag during
MDP composition to enable pixel repeat in MDP H/W

Acked-by: Jeykumar Sankaran <jsanka@codeaurora.org>
Change-Id: Ibc04878831c84e1e1fd0ace7c185bddce9b7ab7f
/hardware/qcom/display/liboverlay/overlayUtils.h
ae1044e0cbab8d26851782e85525ee9e0e6127e6 22-Aug-2012 Saurabh Shah <saurshah@codeaurora.org> Overlay: Change MDP format for YV12 buffers

Android uses different alignments for YV12 buffers.
Hence, introduce a new format (MDP_Y_CR_CB_GH2V2) for
such buffers.

Acked-by: Amara Venkata Mastan Manoj Kumar <manojavm@codeaurora.org>
Change-Id: Id4d58dd77f22c9efb8ece9caa34a8717964bf58d
/hardware/qcom/display/liboverlay/overlayUtils.h
9c876d9f8c446aaf01cf8dc3a2cd5cff48dc3585 26-Aug-2012 Saurabh Shah <saurshah@codeaurora.org> overlay: Remove OVASSERT from getFormatString utility

Remove OVASSERT from getFormatString utility. OVASSERTS should happen only from
critically wrong states of overlay.
Just failing in this utility method would allow a fall back to GPU.

Change-Id: I4467a750574ee90aee4fa2e0fbb041e7f386a63b
/hardware/qcom/display/liboverlay/overlayUtils.h
b121e140e51d0dfcd4885289d56fb54b4d0d8e6e 21-Aug-2012 Saurabh Shah <saurshah@codeaurora.org> liboverlay: Adjust values to align with MDP requirement

For YUV only:
Crop rectangle (src_rect) needs to be even for x/y and w/h
Destination dst_rect w/h need to be even (x/y can be odd).

Signed-off-by: Saurabh Shah <saurshah@codeaurora.org>

Change-Id: Ib0c1b7d31773e71d60f080b4beacaa68e32a990e
/hardware/qcom/display/liboverlay/overlayUtils.h
e012f7ad3026349c5a6edafbd550cd83655b99d5 19-Aug-2012 Saurabh Shah <saurshah@codeaurora.org> liboverlay: Add support for MDSS Rotator.

Acked-by: Sushil Chauhan <sushilchauhan@codeaurora.org>

Change-Id: I60a2b0ce2b491d03b2b1a04966113e253b7f3dd8
/hardware/qcom/display/liboverlay/overlayUtils.h
a73738dc7058df8821807b42a43c289e372136b8 10-Aug-2012 Saurabh Shah <saurshah@codeaurora.org> Overlay: Switch the flip for MDP, on 90 rotated source

Camera client doesn't factor in the 90-rotated source when setting the flip
Switch the flips when the source is 90-rotated.

Change-Id: Ia5f18afff4384a33b8ad2ca051be1a120aefa4d5
Acked-by: Kinjal Bhavsar <kbhavsar@codeaurora.org>
/hardware/qcom/display/liboverlay/overlayUtils.h
1ddf366c267e01dbb7ac736d9c40272d5541b724 01-Aug-2012 Naseer Ahmed <naseer@codeaurora.org> liboverlay: Remove waitForVsync, getOvPipeType APIs

Remove waitForVsync support.
Vsync will be done explicitly by clients outside of overlay.

Remove support for the unused getOvPipeType API.
Remove redundant state checks in class Overlay

Change-Id: I8b35d7868bb46b0be755833dc8f28a158d3ff104
Acked-by: Saurabh Shah <saurshah@codeaurora.org>
/hardware/qcom/display/liboverlay/overlayUtils.h
2cc53dd510a5e1ffaaac8493b1ff65a908df6c13 01-Aug-2012 Naseer Ahmed <naseer@codeaurora.org> overlay: Refactor State Transitions.

Refactor transitions by templatizing to have default behavior for most cases
and full specializations for specific cases.
Partial specialization of functions is not allowed, so create templatized
intermediate functions for those use cases.
For ex: if we have 8 states, we don't need 8x8 transition handlers.

Add and define OV_DUAL_DISPLAY state.
Add a GenericPipe for subtitles to OV_2D_VIDEO_ON_PANEL_TV state.
Add a 2D_VIDEO_ON_TV state and its transitions.

Change-Id: I064cf813c43c3e3736800fbd465c6f1aa9b3a2d3
Acked-by: Saurabh Shah <saurshah@codeaurora.org>
/hardware/qcom/display/liboverlay/overlayUtils.h
f48aef64b218d42bd2ede62dcb03a3d7831ebbf9 20-Jul-2012 Naseer Ahmed <naseer@codeaurora.org> liboverlay: Refactor, bug-fixes, upgrade.

* Fix memory leak during copying pipe objects.
* Remove unused / unnecessary code.
* setMemoryId API is merged with queueBuffer.
* setParameter API is setTransform now.
* Rotator upgraded to:
--Allow different rotator hardware types.
--Remove dependency on MDP code.
--Allocate memory only during first playback,
close when the associated pipe is closed.
* Have single commit implementation.
* Include new format types.
* Remove WAIT and CHANNEL enums and usage. Replace BypassPipe with
GenericPipe. Client expected to set alignments and parameters.
Add transform combination enums.
* Allow APIs to be called in any order. Do transform calcs in commit.
Move ext type setter and getter functions.
* Add calculations for 180 transform.
* Add secure session support in rotator
* Implement all rotations in terms of H flip, V flip and 90 rotation.

Change-Id: I34a9a2a0f1255b3467a0abbaa254d0b584e901ce
/hardware/qcom/display/liboverlay/overlayUtils.h
3b4cee666da166eb118f4e0e5cd6ad2c6593068a 22-Jun-2012 Naseer Ahmed <naseer@codeaurora.org> liboverlay: Fix format masking

The format was masked earlier for interlaced
videos and 3D content. Remove this masking

Change-Id: Ia167ef5ca6405fcb430f7e1ae453092de3597c4a
/hardware/qcom/display/liboverlay/overlayUtils.h
29a26818d7294055539167b2fbfdaa168bcf725c 14-Jun-2012 Naseer Ahmed <naseer@codeaurora.org> qcom/display: Update HALs

- Update the display HAL from Code Aurora Forum
- Add updated overlay library
- Enable HWC with basic video going through overlay
- Cleanup some files

Change-Id: I65c687c51be458cee71213c79e03eeda962d9086
/hardware/qcom/display/liboverlay/overlayUtils.h