Top |
Functions
Description
GstGLUpload is an object that uploads data from system memory into GL textures.
A GstGLUpload can be created with gst_gl_upload_new()
Functions
gst_gl_upload_set_context ()
void gst_gl_upload_set_context (GstGLUpload *upload
,GstGLContext *context
);
gst_gl_upload_get_caps ()
void gst_gl_upload_get_caps (GstGLUpload *upload
,GstCaps **in_caps
,GstCaps **out_caps
);
gst_gl_upload_set_caps ()
gboolean gst_gl_upload_set_caps (GstGLUpload *upload
,GstCaps *in_caps
,GstCaps *out_caps
);
Initializes upload
with the information required for upload.
gst_gl_upload_propose_allocation ()
void gst_gl_upload_propose_allocation (GstGLUpload *upload
,GstQuery *decide_query
,GstQuery *query
);
Adds the required allocation parameters to support uploading.
Parameters
upload |
||
decide_query |
a GstQuery from a decide allocation. |
[allow-none] |
query |
the proposed allocation query |
gst_gl_upload_transform_caps ()
GstCaps * gst_gl_upload_transform_caps (GstGLUpload *upload
,GstGLContext *context
,GstPadDirection direction
,GstCaps *caps
,GstCaps *filter
);
gst_gl_upload_perform_with_buffer ()
GstGLUploadReturn gst_gl_upload_perform_with_buffer (GstGLUpload *upload
,GstBuffer *buffer
,GstBuffer **outbuf_ptr
);
Uploads buffer
using the transformation specified by
gst_gl_upload_set_caps()
creating a new GstBuffer in outbuf_ptr
.