libmix: fix GEN vaCreateSurfaces not workable issue on BYT

BZ: 145088

set flag for attribute and switch pixel_format to VA_FOURCC_NV12
Need pass VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_GRALLOC as flag.
Also need set pixel format as FOURCC, not HAL format.

Change-Id: Ib6cd1d7c77cf3483a367b4e6d9ba6312ae181d65
Signed-off-by: Fei Jiang <fei.jiang@intel.com>
Reviewed-on: http://android.intel.com:8080/138145
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
1 file changed