![]() |
![]() |
![]() |
GStreamer Bad Plugins 1.0 Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
GstGLUploadMeta; GstGLUploadMeta * gst_gl_upload_meta_new (GstGLContext *context
); void gst_gl_upload_meta_set_format (GstGLUploadMeta *upload
,GstVideoInfo *info
); GstVideoInfo * gst_gl_upload_meta_get_format (GstGLUploadMeta *upload
); gboolean gst_gl_upload_meta_add_to_buffer (GstGLUploadMeta *upload
,GstBuffer *buffer
);
GstGLUploadMeta is an object that uploads data from system memory into GL textures.
A GstGLUpload can be created with gst_gl_upload_new()
GstGLUploadMeta * gst_gl_upload_meta_new (GstGLContext *context
);
|
a GstGLContext |
Returns : |
a new GstGLUploadMeta object |
void gst_gl_upload_meta_set_format (GstGLUploadMeta *upload
,GstVideoInfo *info
);
Initializes upload
with the information required for upload.
|
a GstGLUpload |
|
input GstVideoInfo |
GstVideoInfo * gst_gl_upload_meta_get_format (GstGLUploadMeta *upload
);
|
a GstGLUpload |
Returns : |
The GstVideoInfo set by
gst_gl_upload_meta_set_format() . [transfer none]
|
gboolean gst_gl_upload_meta_add_to_buffer (GstGLUploadMeta *upload
,GstBuffer *buffer
);
Adds a GstVideoGLTextureUploadMeta on buffer
using upload
|
a GstGLUploadMeta |
|
a GstBuffer |
Returns : |
whether it was successful |