did the weston do the YUV to RGB convert internally?

tugouxp 13824125580 at 163.com
Tue Sep 4 12:14:49 UTC 2018


hi folks:


i launch a pipe line with with gstreamer command as below:
gst-launch-1.0 filesrc location=/mnt/UDISK/N_1080P_AVC_60F.avi ! avidemux ! h264parse ! omxh264dec ! queue ! waylandsink
the target sink i use was "waylandsink" ,  which take weston wayland server as compositor server.  i grab the pipe line graph like follows picture, the waylandsink receive data format with "YV12" format, which can be supported 

by my soc display hardware, but when i debug the kernel with display register,  i can only found one RGB graphic layer was used, not even a single YUV layer was take up. which means there must be someone doing the 
convertion job from "YV12" to "RGB" fomrat, and compositor the video picture and GUI into one layer.


but from the below picture, the only module between the YV12 gstwaylandsink  and the display device is the "weston" server, so is the weston is the key to do the convertion job?  can i show the yuv picuture directly without convertion?


thanks for your help!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180904/1a1ff21d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 35766 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180904/1a1ff21d/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image (1).png
Type: image/png
Size: 41935 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180904/1a1ff21d/attachment-0003.png>


More information about the wayland-devel mailing list