[FFmpeg-devel] [PATCH] vp9: add hwaccel hooks
    Ronald S. Bultje 
    rsbultje at gmail.com
       
    Thu Dec  3 17:21:57 CET 2015
    
    
  
Hi,
On Thu, Dec 3, 2015 at 4:55 AM, Hendrik Leppkes <h.leppkes at gmail.com> wrote:
> +    if (s->pix_fmt == AV_PIX_FMT_YUV420P) {
>
+#if CONFIG_VP9_DXVA2_HWACCEL
> +        *fmtp++ = AV_PIX_FMT_DXVA2_VLD;
> +#endif
> +#if CONFIG_VP9_D3D11VA_HWACCEL
> +        *fmtp++ = AV_PIX_FMT_D3D11VA_VLD;
> +#endif
> +    }
So ... this suggests that hwaccels will ever only support 420, 8bpp. That
may currently be true, but is that likely to hold forever? What happens if
we just do this regardless of pixfmt and let the hwaccel figure out if the
hw supports 420 or something else?
Ronald
    
    
More information about the ffmpeg-devel
mailing list