int (*get_param)(struct pipe_video_context *context, int param);
/**
- * Check if the given pipe_format is supported as a texture or
- * drawing surface.
+ * Check if the given pipe_format is supported as a video buffer
*/
boolean (*is_format_supported)(struct pipe_video_context *context,
enum pipe_format format,
- unsigned usage);
+ enum pipe_video_profile profile);
/**
* create a surface of a texture
/**
* map the input buffer into memory before starting decoding
*/
- void (*map)(struct pipe_video_decode_buffer *decbuf);
+ void (*begin_frame)(struct pipe_video_decode_buffer *decbuf);
+
+ /**
+ * set the quantification matrixes
+ */
+ void (*set_quant_matrix)(struct pipe_video_decode_buffer *decbuf,
+ const uint8_t intra_matrix[64],
+ const uint8_t non_intra_matrix[64]);
/**
* get the pointer where to put the ycbcr blocks of a component
/**
* unmap decoder buffer before flushing
*/
- void (*unmap)(struct pipe_video_decode_buffer *decbuf);
+ void (*end_frame)(struct pipe_video_decode_buffer *decbuf);
};
/**