Open
Description
As far as decoding is concerned, the only relevant format is the RT format. The VA_FOURCC_*
are only used to present a view of the buffer in the layout given by the fourcc.
However the current code requires a fourcc to be specified (or at least chosen by default) in the open
method, and that even if we have no intent to read the decoded result using the CPU. This should probably be changed to something that does not involve fourccs until we actually want to map a decoded buffer.
The interface would probably be such that we can query which DecodedFormat
s are supported for the decoder on the current settings ; then we can request a mapping of a given frame to one of the supported formats.