gstglbuffer

## gstglbuffer gstglbuffer |

## Synopsis

                        GstGLBuffer;
    #define             gst_gl_buffer_ref                   (x)
    #define             gst_gl_buffer_unref                 (x)
    GstGLBuffer*        gst_gl_buffer_new                   (GstGLDisplay *display,
                                                             gint gl_width,
                                                             gint gl_height);
    gint                gst_gl_buffer_get_size              (gint width,
                                                             gint height);
    gboolean            gst_gl_buffer_parse_caps            (GstCaps *caps,
                                                             gint *width,
                                                             gint *height);
    #define             GST_GL_VIDEO_CAPS

## Description

## Details

### GstGLBuffer

    typedef struct {
        GstBuffer buffer;

        GstGLDisplay *display;

        gint width;
        gint height;
        GLuint texture;
    } GstGLBuffer;

### gst_gl_buffer_ref()

    #define gst_gl_buffer_ref(x) ((GstGLBuffer *)(gst_buffer_ref((GstBuffer *)(x))))

`x` : |

### gst_gl_buffer_unref()

    #define gst_gl_buffer_unref(x) (gst_buffer_unref((GstBuffer *)(x)))

`x` : |

### gst_gl_buffer_new ()

    GstGLBuffer*        gst_gl_buffer_new                   (GstGLDisplay *display,
                                                             gint gl_width,
                                                             gint gl_height);

`display` : |
`gl_width` : |
`gl_height` : |
Returns : |

### gst_gl_buffer_get_size ()

    gint                gst_gl_buffer_get_size              (gint width,
                                                             gint height);

`width` : |
`height` : |
Returns : |

### gst_gl_buffer_parse_caps ()

    gboolean            gst_gl_buffer_parse_caps            (GstCaps *caps,
                                                             gint *width,
                                                             gint *height);

`caps` : |
`width` : |
`height` : |
Returns : |

### GST_GL_VIDEO_CAPS

    #define             GST_GL_VIDEO_CAPS