[VDPAU] VP8 support in the VDPAU interface
Stephen Warren
swarren at nvidia.com
Fri Mar 2 16:29:44 PST 2012
Younes Manton wrote at Wednesday, February 29, 2012 3:38 PM:
...
> Pretty much. You also have to watch out for the fact that every key
> frame can specify a new frame size, and the decoder is expected to
> scale all frames to the video's natural dimensions as required.
The way I've seen this handled in APIs before is that the application
allocates all surfaces and decoder objects based on the maximum size
expected from the stream, and when a smaller picture is encountered,
everything can just use a smaller section of the surfaces. That way,
no dynamic re-allocation is required mid-stream.
That said, how common is this feature? IIRC, one of the formats VDPAU
already theoretically supports this feature but we haven't seen any
demand to expose it in VDPAU due to lack of practical uses of it.
--
nvpublic
More information about the VDPAU
mailing list