[Libva] [PATCH 6/8 965 driver] add NV12->YV12 conversion support

Zhao Halley halley.zhao at intel.com
Tue Jun 26 00:32:02 PDT 2012


---
 src/i965_post_processing.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/i965_post_processing.c b/src/i965_post_processing.c
index bfb762e..73dad33 100755
--- a/src/i965_post_processing.c
+++ b/src/i965_post_processing.c
@@ -4006,7 +4006,8 @@ i965_image_pl2_processing(VADriverContextP ctx,
                                       PP_NV12_LOAD_SAVE_N12,
                                       NULL);
     } else if (fourcc == VA_FOURCC('I', 'M', 'C', '1') || 
-               fourcc == VA_FOURCC('I', 'M', 'C', '3')) {
+               fourcc == VA_FOURCC('I', 'M', 'C', '3') || 
+               fourcc == VA_FOURCC('Y', 'V', '1', '2') ) {
         i965_post_processing_internal(ctx, i965->pp_context,
                                       src_surface,
                                       src_rect,
-- 
1.7.4.1



More information about the Libva mailing list