Glen Ruedinger wrote:
I trying to convert a captured video frame from YUYV to YUV420P, which on
the surface appears to be a straight forward operation. From my research I
thought the only difference is that the YUYV is a packed format and the
YUV420P is a planar format. So what I tried to do is create a planar
buffer, and then move the bytes from the YUYV to the planar buffer. Y
followed by V and then U
I did get a video image and brightness appears correct (the Y), but the
colors are incorrect (V and U).
Any light anyone can shed on the difference that I'm missing would be
greatly appreciated.
And yes I know I can use libswscale to do the conversion but libswscale is
GPL'ed and I'm trying to only use LGPL code.
Thanks
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user
There is a LGPL version of libswscale not sure if has all the same
functionality, my impression was the GPL version has more hardware
optimizations.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user