[Libva] [PATCH 5/6 v2 965 driver] support NV12/I420/YV12->I420/YV12 conversion
Xiang, Haihao
haihao.xiang at intel.com
Wed Jun 27 21:56:32 PDT 2012
Pushed.
Thanks
Haihao
> ---
> 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,
More information about the Libva
mailing list