summaryrefslogtreecommitdiff
path: root/src/gen8_post_processing.c
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2014-03-18 16:15:15 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2014-04-23 14:17:06 +0800
commit257198d36dd8d4c8fbdef36aa319c2ddf7a9b50d (patch)
treea1f86b7fe65c3e5d3bf957c36f604b1108274420 /src/gen8_post_processing.c
parent071e5f9abebad6e44e052074b6fc0a1bf62a39be (diff)
downloadlibva-intel-driver-257198d36dd8d4c8fbdef36aa319c2ddf7a9b50d.tar.gz
VPP: Fix the typo error of "VV16"
It should be "YV16" instead of "VV16". Thank Gwenole for capturing this typo error which is caused by the commit 2b5fad11a5c12d3c6ffbef15c02449a3b4e90b98. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit abd77ff2014322d152d723a3e8b1cba1e41b0a5f)
Diffstat (limited to 'src/gen8_post_processing.c')
-rw-r--r--src/gen8_post_processing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen8_post_processing.c b/src/gen8_post_processing.c
index 84d4864e..3abe287f 100644
--- a/src/gen8_post_processing.c
+++ b/src/gen8_post_processing.c
@@ -540,7 +540,7 @@ gen8_pp_set_media_rw_message_surface(VADriverContextP ctx, struct i965_post_proc
height[2] = obj_image->image.height / 2;
pitch[2] = obj_image->image.pitches[V];
offset[2] = obj_image->image.offsets[V];
- if (fourcc == VA_FOURCC('V', 'V', '1', '6')) {
+ if (fourcc == VA_FOURCC('Y', 'V', '1', '6')) {
width[1] = obj_image->image.width / 2;
height[1] = obj_image->image.height;
width[2] = obj_image->image.width / 2;