On 24/03/14 20:32, wm4 wrote:
> My code in theory supports different hardware formats (although in
> practice it's always 420, and anything else wasn't useful yet). I
> simply store the format separately. That is no problem, because with all
> hwaccels (except VDA) you allocate the surfaces yourself. VDA allocates
> surfaces for you, but I'm sure CVPixelBufferRefs let you easily query
> the underlying format.

See the avconv_vda.c for an example, the format of the CVPixelBufferRefs
had been set since both the main users (you and vlc) seem to favour UVYV
(and works decently).

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to