[Libva] [PATCH 5/6 v2 965 driver] support NV12/I420/YV12->I420/YV12 conversion
Zhao Halley
halley.zhao at intel.com
Tue Jun 26 23:45:21 PDT 2012
---
src/i965_post_processing.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/i965_post_processing.c b/src/i965_post_processing.c
index 4bb2a74..c728936 100755
--- a/src/i965_post_processing.c
+++ b/src/i965_post_processing.c
@@ -3961,7 +3961,9 @@ i965_image_pl3_processing(VADriverContextP ctx,
PP_PL3_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') ||
+ fourcc == VA_FOURCC('I', '4', '2', '0')) {
vaStatus = i965_post_processing_internal(ctx, i965->pp_context,
src_surface,
src_rect,
@@ -4009,7 +4011,9 @@ 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') ||
+ fourcc == VA_FOURCC('I', '4', '2', '0') ) {
vaStatus = i965_post_processing_internal(ctx, i965->pp_context,
src_surface,
src_rect,
--
1.7.4.1
More information about the Libva
mailing list