diff --git a/src/gallium/frontends/va/picture_vp9.c b/src/gallium/frontends/va/picture_vp9.c index 0ce7073f29a..3d5189a67da 100644 --- a/src/gallium/frontends/va/picture_vp9.c +++ b/src/gallium/frontends/va/picture_vp9.c @@ -327,13 +327,13 @@ void vlVaDecoderVP9BitstreamHeader(vlVaContext *context, vlVaBuffer *buf) /* update_ref_delta */ if (vp9_u(&vlc, 1)) /* ref_deltas */ - vp9_s(&vlc, 6); + context->desc.vp9.picture_parameter.ref_deltas[i] = vp9_s(&vlc, 6); } for (i = 0; i < 2; ++i) { /* update_mode_delta */ if (vp9_u(&vlc, 1)) /* mode_deltas */ - vp9_s(&vlc, 6); + context->desc.vp9.picture_parameter.mode_deltas[i] = vp9_s(&vlc, 6); } } } diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h index d75bedd0b49..eff45134fe1 100644 --- a/src/gallium/include/pipe/p_video_state.h +++ b/src/gallium/include/pipe/p_video_state.h @@ -899,6 +899,8 @@ struct pipe_vp9_picture_desc int8_t uv_ac_delta_q; int8_t uv_dc_delta_q; uint8_t abs_delta; + uint8_t ref_deltas[4]; + uint8_t mode_deltas[2]; } picture_parameter; struct {