I'm updating some old (pre-0.5) code to svn, decoding videos into a buffer for use with 3D rendering (OGL and D3D). For performance, I need to negotiate the right format: when possible, one which is both directly supported by the 3D backend and which has an accelerated conversion path in swscale.
I need to query whether an SwsContext (or pixel format pair, if that's enough) is accelerated, so I can search for an accelerated path before falling back on an unaccelerated one. This seems like an integral part of format negotiation, but there doesn't seem to be an API for this. How is this handled? -- Glenn Maynard _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
