[Libva] [PATCH] Add support for HEVC decoding on CHV

Xiang, Haihao haihao.xiang at intel.com
Tue Feb 24 22:23:49 PST 2015


Applied.

Thanks
Haihao

> We can re-use SKL HEVC decode pipeline
> 
> Signed-off-by: Sean V Kelley <seanvk at posteo.de>
> Cc: haihao.xiang at intel.com
> Cc: focus.luo at intel.com
> ---
>  src/i965_device_info.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/src/i965_device_info.c b/src/i965_device_info.c
> index a7e2546..655b9e1 100755
> --- a/src/i965_device_info.c
> +++ b/src/i965_device_info.c
> @@ -265,8 +265,9 @@ static struct hw_codec_info bdw_hw_codec_info = {
>      },
>  };
>  
> +extern struct hw_context *gen9_dec_hw_context_init(VADriverContextP, struct object_config *);
>  static struct hw_codec_info chv_hw_codec_info = {
> -    .dec_hw_context_init = gen8_dec_hw_context_init,
> +    .dec_hw_context_init = gen9_dec_hw_context_init,
>      .enc_hw_context_init = gen8_enc_hw_context_init,
>      .proc_hw_context_init = gen75_proc_context_init,
>      .render_init = gen8_render_init,
> @@ -299,6 +300,7 @@ static struct hw_codec_info chv_hw_codec_info = {
>      .has_vp8_decoding = 1,
>      .has_vp8_encoding = 1,
>      .has_h264_mvc_encoding = 1,
> +    .has_hevc_decoding = 1,
>  
>      .num_filters = 5,
>      .filters = {
> @@ -310,7 +312,6 @@ static struct hw_codec_info chv_hw_codec_info = {
>      },
>  };
>  
> -extern struct hw_context *gen9_dec_hw_context_init(VADriverContextP, struct object_config *);
>  extern struct hw_context *gen9_enc_hw_context_init(VADriverContextP, struct object_config *);
>  extern void gen9_post_processing_context_init(VADriverContextP, void *, struct intel_batchbuffer *);
>  static struct hw_codec_info skl_hw_codec_info = {




More information about the Libva mailing list