mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
eglglessink: Documentation: GstEglGlesBuffer struct (DRAFT)
This commit is contained in:
parent
c27c11582e
commit
38ca631a7a
1 changed files with 15 additions and 1 deletions
|
@ -168,9 +168,23 @@ struct _GstEglGlesImageFmt
|
||||||
GstCaps *caps; /* Matching caps for the attribs */
|
GstCaps *caps; /* Matching caps for the attribs */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* XXX: Maybe use GstVideoRectangle for the image data? */
|
/*
|
||||||
|
* GstEglGlesBuffer:
|
||||||
|
* @buffer: GST buffer
|
||||||
|
* @eglglessink: Pointer to the eglglessink instance this buffer belongs to
|
||||||
|
* @image: Pointer to the EGL image data
|
||||||
|
* @format: Image's picture format
|
||||||
|
* @width: Image's pixel width
|
||||||
|
* @height: Image's pixel height
|
||||||
|
* @size: Image's data size
|
||||||
|
*
|
||||||
|
* This struct holds the internal representation of the sink's custom
|
||||||
|
* buffer. This implementation is just a draft and only makes sense for
|
||||||
|
* the fast rendering path logic.
|
||||||
|
*/
|
||||||
struct _GstEglGlesBuffer
|
struct _GstEglGlesBuffer
|
||||||
{
|
{
|
||||||
|
/* XXX: Maybe use GstVideoRectangle for the image data? */
|
||||||
GstBuffer buffer;
|
GstBuffer buffer;
|
||||||
GstEglGlesSink *eglglessink;
|
GstEglGlesSink *eglglessink;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue