diff options
author | Leo Liu <[email protected]> | 2018-03-14 15:55:00 -0400 |
---|---|---|
committer | Leo Liu <[email protected]> | 2018-04-12 11:15:13 -0400 |
commit | 9ff83d13e5fe9aeed0ab6192a0e5dc6f01046700 (patch) | |
tree | 2b1614db30acf8dde4dd94a4b0a12bb9c3bc3595 /src/gallium/state_trackers/va/picture.c | |
parent | 30438fbf466677b8e2159ac1db02cb4cdc4acdaa (diff) |
st/va: add handles for VP9 buffers
Signed-off-by: Leo Liu <[email protected]>
Acked-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/va/picture.c')
-rw-r--r-- | src/gallium/state_trackers/va/picture.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/va/picture.c b/src/gallium/state_trackers/va/picture.c index f2e9ba8ef6a..e483ea3e217 100644 --- a/src/gallium/state_trackers/va/picture.c +++ b/src/gallium/state_trackers/va/picture.c @@ -134,6 +134,10 @@ handlePictureParameterBuffer(vlVaDriver *drv, vlVaContext *context, vlVaBuffer * vlVaHandlePictureParameterBufferMJPEG(drv, context, buf); break; + case PIPE_VIDEO_FORMAT_VP9: + vlVaHandlePictureParameterBufferVP9(drv, context, buf); + break; + default: break; } @@ -223,6 +227,10 @@ handleSliceParameterBuffer(vlVaContext *context, vlVaBuffer *buf) vlVaHandleSliceParameterBufferMJPEG(context, buf); break; + case PIPE_VIDEO_FORMAT_VP9: + vlVaHandleSliceParameterBufferVP9(context, buf); + break; + default: break; } @@ -294,6 +302,9 @@ handleVASliceDataBufferType(vlVaContext *context, vlVaBuffer *buf) break; case PIPE_VIDEO_FORMAT_JPEG: break; + case PIPE_VIDEO_FORMAT_VP9: + /* TODO */ + break; default: break; } |