VADecPictureParameterBufferVP9 *pic_param = picture->param;
GstVp9Parser *parser = priv->parser;
GstVp9FrameHdr *frame_hdr = &priv->frame_hdr;
- gint i;
/* Fill in VAPictureParameterBufferVP9 */
pic_param->frame_width = priv->width;
GstVaapiDecoderVp9Private *const priv = &decoder->priv;
GstVp9Parser *parser = priv->parser;
VASliceParameterBufferVP9 *const slice_param = slice->param;
- GstVp9FrameHdr *const frame_hdr = &priv->frame_hdr;
guint i;
#define COPY_SEG_FIELD(s, f) \
GstVaapiDecoderVp9Private *const priv = &decoder->priv;
guchar *buf;
guint buf_size, flags = 0;
- static guint cnt = 0;
buf_size = gst_adapter_available (adapter);
if (!buf_size)
flags |= GST_VAAPI_DECODER_UNIT_FLAG_SLICE;
flags |= GST_VAAPI_DECODER_UNIT_FLAG_FRAME_END;
-set_flags:
GST_VAAPI_DECODER_UNIT_FLAG_SET (unit, flags);
return GST_VAAPI_DECODER_STATUS_SUCCESS;