va: drop VAEntrypointMax enumeration.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 3 Mar 2014 09:11:58 +0000 (10:11 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 3 Mar 2014 09:16:09 +0000 (10:16 +0100)
commit0b71390aac4b0b7971d5c279a87005e4c33d1b45
tree882f5020551933673cac0feb968e4344372d5e97
parent4f2686b7969078f76eaa535872013a0934c2f096
va: drop VAEntrypointMax enumeration.

This is an oversight, and that was supposed to be removed earlier.
User applications cannot rely on this value to statically allocate
an array of possible VA entrypoints. The correct interface is to
use vaMaxNumEntrypoints() and dynamically allocate that array.

Rationale: VA entrypoints values are maintained sparsely, so this
can yield to a large number overall.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
test/encode/h264encode.c
va/va.h