width of plane 1 is same as width of plane 0 in case of ST12(NV12MT) 48/25048/1
authorBoram Park <boram1288.park@samsung.com>
Mon, 28 Jul 2014 06:41:28 +0000 (15:41 +0900)
committerBoram Park <boram1288.park@samsung.com>
Mon, 28 Jul 2014 06:41:28 +0000 (15:41 +0900)
Change-Id: Ia2829df6308a68ad8f1022a895dd374f4fea1955

src/xv/sec_video.c

index ed02c64..3784f65 100644 (file)
@@ -2279,7 +2279,7 @@ secVideoQueryImageAttrs (ScrnInfoPtr  pScrn,
             lengths[0] = size;
 
         if (pitches)
-            pitches[1] = *w >> 1;
+            pitches[1] = *w;
 
         tmp = ALIGN_TO_8KB(ALIGN_TO_128B(*w) * ALIGN_TO_32B(*h >> 1));
         size += tmp;