Add JPEG Rotation feature and BGR for color space conversion.
Add two more choices for VA_ENC_SLICE_STRUCTURE_*.
vafool: fix the vaMapBuffer for the buffer from vaDeriveImage

It is not desired to run into FOOL path for the vaMapBuffer
from vaDeriveImage

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
va: include <stdint.h> header.

Always include <stdint.h> header by default as we are using standard
fixed-size integral types from now on.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
(cherry picked from commit 4f2686b7969078f76eaa535872013a0934c2f096)
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>
(cherry picked from commit 0b71390aac4b0b7971d5c279a87005e4c33d1b45)