frontends/va: Add AV1 picture description
authorLeo Liu <leo.liu@amd.com>
Sat, 7 Aug 2021 19:50:32 +0000 (15:50 -0400)
committerLeo Liu <leo.liu@amd.com>
Fri, 13 Aug 2021 13:24:01 +0000 (09:24 -0400)
Driver will get codec parameters for hardware from it.

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12307>

src/gallium/frontends/va/va_private.h

index 67fc6ff..be9bcd1 100644 (file)
@@ -286,6 +286,7 @@ typedef struct {
       struct pipe_h265_picture_desc h265;
       struct pipe_mjpeg_picture_desc mjpeg;
       struct pipe_vp9_picture_desc vp9;
+      struct pipe_av1_picture_desc av1;
       struct pipe_h264_enc_picture_desc h264enc;
       struct pipe_h265_enc_picture_desc h265enc;
    } desc;