I'm using libav to display video via D3D. The obvious picture format to
use was BGR24, which I've been using until I realised that some cards
just don't do 24-bit textures. So I need to use 32-bit textures in this
case.
The output from sws_scale() is pretty confusing though. I expected
simply 32 bits per pixel, ABGRABGR format, similar to BGR24.
I also expected avpicture_get_size() to return w*h*4.
I'd appreciate it if someone could explain the 32-bit format that
swscale uses, or even better, let me know how I can get the format I
expected (packed A8B8G8R8)..
Cheers
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user