mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 21:30:09 +01:00
st/va: add VP9 picture to context
Signed-off-by: Leo Liu <leo.liu@amd.com> Acked-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
parent
0f373a65e5
commit
30438fbf46
2 changed files with 5 additions and 0 deletions
|
|
@ -288,6 +288,10 @@ vlVaCreateContext(VADriverContextP ctx, VAConfigID config_id, int picture_width,
|
|||
}
|
||||
break;
|
||||
|
||||
case PIPE_VIDEO_FORMAT_VP9:
|
||||
context->templat.max_references = num_render_targets;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -270,6 +270,7 @@ typedef struct {
|
|||
struct pipe_h264_picture_desc h264;
|
||||
struct pipe_h265_picture_desc h265;
|
||||
struct pipe_mjpeg_picture_desc mjpeg;
|
||||
struct pipe_vp9_picture_desc vp9;
|
||||
struct pipe_h264_enc_picture_desc h264enc;
|
||||
struct pipe_h265_enc_picture_desc h265enc;
|
||||
} desc;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue