summaryrefslogtreecommitdiff
path: root/drivers/video/b2r2/b2r2_utils.c
AgeCommit message (Collapse)Author
2012-05-22b2r2: Modify src and dst rect to avoid clippingMaciej Socha
Whenever the destination rectangle is larger than the destination image or extends outside that image, source and destination rectangles are modified to avoid the clipping operation. The background rectangle is also modified if a separate background image is supplied. ST-Ericsson ID: 372917 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ia00f287fd3c344316349e650caaded17725b9ee4 Signed-off-by: Maciej Socha <maciej.socha@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36792 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Jorgen NILSSON <jorgen.nilsson@stericsson.com> Reviewed-by: Per-Daniel OLSSON <per-daniel.olsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22b2r2: Add support for blending on background imageJörgen Nilsson
Instead of blending only on the destination there is now a possibility to blend on a supplied background using standard blending flags. The background blending option is enabled through setting a flag in the request. When background blending is enabled the destination blending is omitted and the destination buffer is simply overwritten. ST-Ericsson Linux next: NA Depends-On: I85ba9d0006e7480167f72f2a6b5c9d8fff272813, Ia34f98cfb20e2f0486049e82581dcea28b465ed4, I5cbeb4525a98a5b9884c3464154182810ee7449b ST-Ericsson ID: 350337 ST-Ericsson FOSS-OUT ID: Trivial Introduce non-backward compatible changes to exposed interfaces Signed-off-by: Jörgen Nilsson <jorgen.nilsson@stericsson.com> Change-Id: Ifeb8eb66c2fed97c541b09715a17251a81e493ab Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34023 Tested-by: Jorgen NILSSON <jorgen.nilsson@stericsson.com> Reviewed-by: Maciej SOCHA <maciej.socha@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2012-05-22b2r2:Migrate driver to kernel 3.0Naveen Kumar Gaddipati
Migrate the following b2r2 driver patches to kernel3.0 dbc424d b2r2: Add optimized path for VUY(A)888(8) 24/32-bit formats 2142b2d b2r2: Add VUY(A)888(8) 24/32-bit formats 797c68c [b2r2] Fix QA tools warning in b2r2_node_split.c ST-Ericsson ID: 352334 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: NA Change-Id: I5f3160a9568ad17eb05eae0b7b8adba146153ea9 Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29563
2012-05-22video: B2R2: Add support for YVU420/2_PACKED_(SEMI)_PLANAR.Maciej Socha
The new formats differ from their YUV counterparts only by the order of chroma samples. In YVU formats red chroma (V-component) comes before blue, whereas in YUV formats it is the other way around. ST-Ericsson ID: ER 325111 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10068 Change-Id: Ib7b2eb8bf36623a88fca87e34aacdff77c0df030 Signed-off-by: Maciej Socha <maciej.socha@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18952 Reviewed-by: Robert LIND <robert.lind@stericsson.com> Reviewed-by: Magnus SMITH <magnus.xm.smith@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Robert FEKETE <robert.fekete@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22Porting b2r2 portion of video driver from .35 to .38Philippe Langlais
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>