+ /**
+ * Create a video surface suitable for use as a decoding target by the
+ * driver's pipe_video_context.
+ */
+ struct pipe_video_surface*
+ (*video_surface_create)( struct pipe_screen *screen,
+ enum pipe_video_chroma_format chroma_format,
+ unsigned width, unsigned height );
+
+ void (*video_surface_destroy)( struct pipe_video_surface *vsfc );
+
+ /**
+ * Do any special operations to ensure buffer size is correct
+ * \param context_private the private data of the calling context
+ */
+ void (*update_buffer)( struct pipe_screen *ws,
+ void *context_private );