]> code.ossystems Code Review - meta-freescale.git/blob
1183b29dc0e944c1cba3cdaacc56143836ce959e
[meta-freescale.git] /
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
5
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.
8
9 Signed-off-by: Sammy He <r62914@freescale.com>
10 ---
11  vpu/vpu_lib.c |    2 --
12  1 files changed, 0 insertions(+), 2 deletions(-)
13
14 diff --git a/vpu/vpu_lib.c b/vpu/vpu_lib.c
15 index 32d44b2..0fcf5d5 100644
16 --- a/vpu/vpu_lib.c
17 +++ b/vpu/vpu_lib.c
18 @@ -1306,7 +1306,6 @@ RetCode vpu_EncStartOneFrame(EncHandle handle, EncParam * param)
19                 return RETCODE_FAILURE_TIMEOUT;
20  
21         if (pEncInfo->rotationEnable) {
22 -               rotMirEnable = 0x10;    /* Enable rotator */
23                 switch (pEncInfo->rotationAngle) {
24                 case 0:
25                         rotMirMode |= 0x0;
26 @@ -1326,7 +1325,6 @@ RetCode vpu_EncStartOneFrame(EncHandle handle, EncParam * param)
27                 }
28         }
29         if (pEncInfo->mirrorEnable) {
30 -               rotMirEnable = 0x10;    /* Enable mirror */
31                 switch (pEncInfo->mirrorDirection) {
32                 case MIRDIR_NONE:
33                         rotMirMode |= 0x0;
34 -- 
35 1.7.1
36