encoder: add infrastructure for per-slice handling of packed headers.
[platform/upstream/gstreamer-vaapi.git] / gst-libs / gst / vaapi / gstvaapiencoder_objects.h
index dca1cda..aa1ccbf 100644 (file)
@@ -118,6 +118,7 @@ struct _GstVaapiEncSlice
   /*< public >*/
   VABufferID param_id;
   gpointer param;
+  GPtrArray *packed_headers;
 };
 
 G_GNUC_INTERNAL
@@ -231,6 +232,11 @@ gst_vaapi_enc_picture_add_slice (GstVaapiEncPicture * picture,
     GstVaapiEncSlice * slice);
 
 G_GNUC_INTERNAL
+void
+gst_vaapi_enc_slice_add_packed_header (GstVaapiEncSlice *slice,
+    GstVaapiEncPackedHeader * header);
+
+G_GNUC_INTERNAL
 gboolean
 gst_vaapi_enc_picture_encode (GstVaapiEncPicture * picture);