add gray8 format support to glupload (0.10)
comic fans
comicfans44 at gmail.com
Fri Aug 30 00:29:52 PDT 2013
Hello everyone ,this is a simple patch to implement gray8 format support
on glupload element. I only put this support on OpenGL code path (have
not apply to GLES code path) , and test this code on my AMD HD 6310 (GPU in
E-350 APU , fglrx 12.104) with following command :
gst-launch-0.10 videotestsrc ! video/x-raw-gray, bpp=\(int\)8,
depth=\(int\)8 , width=\(int\)640, height=\(int\)480,
framerate=\(fraction\)4/1, pixel-aspect-ratio=\(fraction\)1/1 ! glupload !
glimagesink .
it use luminance texture , which should be supported by most graphics
card. attachment is the patch file, thank you for reviewing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130830/6c845f00/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-GRAY8-format-support-to-glupload.patch
Type: application/octet-stream
Size: 4556 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130830/6c845f00/attachment.obj>
More information about the gstreamer-devel
mailing list