iMX6 hardware decode issue on Android

Carlos Rafael Giani dv at pseudoterminal.org
Fri Sep 4 07:02:29 PDT 2015



Am 2015-09-04 um 15:51 schrieb Nicolas Dufresne:
> Le vendredi 04 septembre 2015 à 15:29 +0200, Carlos Rafael Giani a
> écrit :
>> You are referring to the Vivante video texture extension. While it
>> does
>> allow for zerocopy by using DMA to the video framebuffer, it also
>> requires custom, Vivante-specific code, which glimagesink doesn't
>> have.
>> This is why I wrote eglvivsink in gstreamer-imx. Ideally, it would be
>> possible to hook up the Vivante stuff through GLUploadMeta, but the
>> discussion about this has been going on for a while:
>> http://lists.freedesktop.org/archives/gstreamer-bugs/2014-April/12309
>> 7.html
> I think the discussion is not relevant to implementing the upload. We
> where just trying to explain that you need to do some caps negotiation
> and not just attach the meta. The reason is that after the upload, you
> most likely have an RGBA texture (the caps MAY needs to reflect that).
>
> Nicolas
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

Well the main problem was that the Vivante stuff can implicitely do 
color space conversion, transparently exposing YUV textures as RGB(A) 
ones to OpenGL ES shaders, and this is not possible with this meta, 
since you cannot specify two caps (the input format - typically some YUV 
format - and the format that the glimagesink textures - some RGB format).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150904/8cd54996/attachment-0001.html>


More information about the gstreamer-devel mailing list