mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
[866/906] upload: update some docs
This commit is contained in:
parent
49a19fb6b1
commit
83d27b9bc2
2 changed files with 5 additions and 9 deletions
|
@ -529,8 +529,8 @@ gst_gl_upload_init_format (GstGLUpload * upload, GstVideoFormat v_format,
|
||||||
* @buffer: a #GstBuffer
|
* @buffer: a #GstBuffer
|
||||||
* @tex_id: resulting texture
|
* @tex_id: resulting texture
|
||||||
*
|
*
|
||||||
* Uploads @buffer to the texture given by @texture_id. @texture_id is valid
|
* Uploads @buffer to the texture given by @tex_id. @tex_id is valid
|
||||||
* until gst_gl_upload_release() is called.
|
* until gst_gl_upload_release_buffer() is called.
|
||||||
*
|
*
|
||||||
* Returns: whether the upload was successful
|
* Returns: whether the upload was successful
|
||||||
*/
|
*/
|
||||||
|
@ -873,7 +873,7 @@ gst_gl_upload_add_video_gl_texture_upload_meta (GstGLUpload * upload,
|
||||||
* @texture_id: the texture id to download
|
* @texture_id: the texture id to download
|
||||||
* @data: where the downloaded data should go
|
* @data: where the downloaded data should go
|
||||||
*
|
*
|
||||||
* Uploads @data into @texture_id. @data size and format is specified by
|
* Uploads @data into @texture_id. data size and format is specified by
|
||||||
* the #GstVideoFormat passed to gst_gl_upload_init_format()
|
* the #GstVideoFormat passed to gst_gl_upload_init_format()
|
||||||
*
|
*
|
||||||
* Returns: whether the upload was successful
|
* Returns: whether the upload was successful
|
||||||
|
|
|
@ -38,15 +38,12 @@ GType gst_gl_upload_get_type (void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GstGLUpload
|
* GstGLUpload
|
||||||
* @parent: the parent object
|
|
||||||
* @lock: thread safety
|
|
||||||
* @display: a #GstGLDisplay
|
|
||||||
* @info: the output video info
|
|
||||||
*
|
*
|
||||||
* Upload information for GL textures
|
* Opaque #GstGLUpload object
|
||||||
*/
|
*/
|
||||||
struct _GstGLUpload
|
struct _GstGLUpload
|
||||||
{
|
{
|
||||||
|
/* <private> */
|
||||||
GObject parent;
|
GObject parent;
|
||||||
|
|
||||||
GMutex lock;
|
GMutex lock;
|
||||||
|
@ -56,7 +53,6 @@ struct _GstGLUpload
|
||||||
/* input data */
|
/* input data */
|
||||||
GstVideoInfo info;
|
GstVideoInfo info;
|
||||||
|
|
||||||
/* <private> */
|
|
||||||
gpointer data[GST_VIDEO_MAX_PLANES];
|
gpointer data[GST_VIDEO_MAX_PLANES];
|
||||||
gboolean initted;
|
gboolean initted;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue