summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2012-02-29 09:03:49 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2012-02-29 09:05:12 +0800
commitf8be4a5477e58c4a27170f0c87eeedac8de60aef (patch)
tree258c42b2441f519aefa930d778980d5b980bf9e7
parentbaa1c0e18619e23c30e26240a087f6ce95c089df (diff)
test/transcode/mpeg2transcode: set right picture width/height in macroblocks
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rw-r--r--test/transcode/mpeg2transcode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/transcode/mpeg2transcode.cpp b/test/transcode/mpeg2transcode.cpp
index 3b55581..5f51cb1 100644
--- a/test/transcode/mpeg2transcode.cpp
+++ b/test/transcode/mpeg2transcode.cpp
@@ -1938,8 +1938,8 @@ static VASurfaceID zoom_surface_id = VA_INVALID_SURFACE;
static Display *x11_display;
static VADisplay va_dpy;
-static int picture_width = 1280, picture_width_in_mbs;
-static int picture_height = 960, picture_height_in_mbs;
+static int picture_width = 1280, picture_width_in_mbs = 80;
+static int picture_height = 960, picture_height_in_mbs = 60;
static int frame_size = picture_width * picture_height + ((picture_width * picture_height) >> 1) ;
static unsigned char *newImageBuffer = 0;