eglglessink: Documentation: GstEglGlesBuffer struct (DRAFT)

This commit is contained in:
Reynaldo H. Verdejo Pinochet 2012-10-09 23:04:05 -03:00 committed by Sebastian Dröge
parent c27c11582e
commit 38ca631a7a

View file

@ -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;