]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vaapi_internal.h
Add missing release_buffer on close
[ffmpeg] / libavcodec / vaapi_internal.h
index 345289086e7df3fd99d748e764a2d60de973155a..bfc0f80162b2b39911d52533d176f2ebb643b1b6 100644 (file)
@@ -44,6 +44,15 @@ static inline VASurfaceID ff_vaapi_get_surface(Picture *pic)
 /** Common AVHWAccel.end_frame() implementation */
 int ff_vaapi_common_end_frame(MpegEncContext *s);
 
+/** Allocate a new picture parameter buffer */
+void *ff_vaapi_alloc_picture(struct vaapi_context *vactx, unsigned int size);
+
+/** Allocate a new IQ matrix buffer */
+void *ff_vaapi_alloc_iq_matrix(struct vaapi_context *vactx, unsigned int size);
+
+/** Allocate a new bit-plane buffer */
+uint8_t *ff_vaapi_alloc_bitplane(struct vaapi_context *vactx, uint32_t size);
+
 /**
  * Allocate a new slice descriptor for the input slice.
  *