![]() |
![]() |
![]() |
GStreamer Bad Plugins 1.0 Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
GstGLDownload; GstGLDownload * gst_gl_download_new (GstGLContext *context
); void gst_gl_download_set_format (GstGLDownload *download
,GstVideoInfo *out_info
); gboolean gst_gl_download_perform_with_data (GstGLDownload *download
,GLuint texture_id
,gpointer data[GST_VIDEO_MAX_PLANES]
);
GstGLDownload is an object that downloads GL textures into system memory.
A GstGLDownload can be created with gst_gl_download_new()
GstGLDownload * gst_gl_download_new (GstGLContext *context
);
|
a GstGLContext |
Returns : |
a new GstGLDownload object |
void gst_gl_download_set_format (GstGLDownload *download
,GstVideoInfo *out_info
);
Initializes download
with the information required for download.
|
a GstGLDownload |
|
a GstVideoFormat |
|
the width to download to |
|
the height to download to |
gboolean gst_gl_download_perform_with_data (GstGLDownload *download
,GLuint texture_id
,gpointer data[GST_VIDEO_MAX_PLANES]
);
Downloads texture_id
into data
. data
size and format is specified by
the GstVideoFormat passed to gst_gl_download_set_format()
|
a GstGLDownload |
|
the texture id to download |
|
where the downloaded data should go. [out] |
Returns : |
whether the download was successful |