1 From 57e5a741c5bef4ac5afd820979a93808ecc97c64 Mon Sep 17 00:00:00 2001
2 From: Sammy He <r62914@freescale.com>
3 Date: Mon, 21 Nov 2011 23:08:18 +0800
4 Subject: [PATCH 2/3] ENGR00162690 vpu: Fix the issue of rotation 180 degree in encoder
6 There may be mosaic if rotation is 180 degree in vpu encoder on mx5.
7 This patch fixed it, same solution is applied to mx6 platform.
9 Signed-off-by: Sammy He <r62914@freescale.com>
12 1 files changed, 0 insertions(+), 2 deletions(-)
14 diff --git a/vpu/vpu_lib.c b/vpu/vpu_lib.c
15 index 32d44b2..0fcf5d5 100644
18 @@ -1306,7 +1306,6 @@ RetCode vpu_EncStartOneFrame(EncHandle handle, EncParam * param)
19 return RETCODE_FAILURE_TIMEOUT;
21 if (pEncInfo->rotationEnable) {
22 - rotMirEnable = 0x10; /* Enable rotator */
23 switch (pEncInfo->rotationAngle) {
26 @@ -1326,7 +1325,6 @@ RetCode vpu_EncStartOneFrame(EncHandle handle, EncParam * param)
29 if (pEncInfo->mirrorEnable) {
30 - rotMirEnable = 0x10; /* Enable mirror */
31 switch (pEncInfo->mirrorDirection) {