summaryrefslogtreecommitdiff
path: root/sys/kms/gstkmsallocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kms/gstkmsallocator.h')
-rw-r--r--sys/kms/gstkmsallocator.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/kms/gstkmsallocator.h b/sys/kms/gstkmsallocator.h
index 76d431200..d36e34951 100644
--- a/sys/kms/gstkmsallocator.h
+++ b/sys/kms/gstkmsallocator.h
@@ -86,6 +86,14 @@ GstKMSMemory* gst_kms_allocator_dmabuf_import (GstAllocator *allocator,
gsize offsets[GST_VIDEO_MAX_PLANES],
GstVideoInfo *vinfo);
+GstMemory * gst_kms_allocator_get_cached (GstMemory * mem);
+
+void gst_kms_allocator_clear_cache (GstAllocator * allocator);
+
+void gst_kms_allocator_cache (GstAllocator * allocator,
+ GstMemory * mem,
+ GstMemory * kmsmem);
+
G_END_DECLS