Add MVC encoding parameter buffer definitions

Define sequence and picture encoding parameter buffer
types for MVC encoding.

version 3: correct one parameter type error and refine code.

Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
Add more VA Buffer print to ease debug

Add more VA Buffer print to ease debug:
1) correct the RefList1 print
2) the luma_weight, luma_offset, chroma_weight and
chroma_offset should always be printed

Change-Id: Id122e5fa186d24623d1c541c24c761ab2d807aac
Signed-off-by: wfeng6 <wei.feng@intel.com>
Dump max frame size in libva trace.

Change-Id: I4b38bc5930d653c96b45e4ce91856bfaf0cb277a
Signed-off-by: liubolun <bolun.liu@intel.com>
Add auto denoise support in Libva
Made VAMotionVector structure generic and moved it from va_intel_statistics.h to va.h.
vatrace: print VASurfaceAttribExternalBufferDescriptor

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
libva:Add the bits mask of color-sapce conversion standards

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
libva:Add the BT2020 color-space conversion standard

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
libva:Add range parameter flag to reflect the JPEG/JFIF CSC coeff matrix

V1->V2: Follow Peene and Jonathan to reduce the JPEG flag. Instead it is
derived from the combination of the range flag and BT601 CSC standard.
At the same time the chroma_siting flag in va_vpp.h is rename as
input_surface_flag to hold the corresponding range flag on the input
pixel data.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
va: reorder VAProfileH264MultiviewHigh/VAProfileH264StereoHigh/VAProfileVP8Version0_3

We will merge the VP8 decoding API into the master branch soon. The unused minimal
profile is 14 in the master branch. To avoid compatibility issue in the future, reorder
VAProfileH264MultiviewHigh/VAProfileH264StereoHigh/VAProfileVP8Version0_3 in the staging
branch.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
vainfo: clean up resource in the error handling path

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
vainfo: Query the supported profile list before listing profile/entrypoint

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
vatrace: Remove VA_TRACE_LOGSIZE because it is useless

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
vatrace: simplify coded buffer trace

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
VPP: add video processing test case

Test case for deinterlacing, denoise, color balance, sharpening,
blending, scaling and some surface formats conversion
(NV12<->YV12<-->I420).

Version5:
1). Clean dependecy on X11 in Makefile.am
2). Change bin_PROGRAMS to noinst_PROGRAMS for valgrind check

Version4:
1). Remove dependency on X11.
2). Change bin_PROGRAMS to noinst_PROGRAMS to avoid installing test
    application to system directory.
3). Correct copy right time and adjust some code style.

Version3:
1). Realloc surface attribute array if its size is smaller than the
    requirement of driver when calling vaQuerySurfaceAttrib() function.
2). Fix typo error of BLENDING_GLOBAL_ALPHA in config file.

Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
vatrace: make standalone LIBVA_TRACE_CODEDBUF work w/o LIBVA_TRACE

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
vatrace: fix a missing field of va_TraceMsg

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>