Doxygen tags in libva.

Updated the doxygen tags in libva for generating
doxygen based documentation.

Signed-off-by: Sameer Kibey <sameer.kibey@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Added HEVC decode API

Signed-off-by: Jonathan Bian <jonathan.bian@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
VPP: Add STDE(Skin tone detection and enhancement) test case.

In this commit, I added a testcase for VPP-STDE feature.
I also made relevant changes to the methods and the config file.
Add the new YV16 fourcc code

Some input sources require YV16, which is described as the following:
Planar YUV4:2:2; 8 bit Y plane, followed by 8 bit 2x1 subsampled
V and U planes.

V1->V2: Follow Gwenole and Haihao to update the comment

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Bind the default verion of vaCreateSurfaces() to the node VA_API_0.33.0

Currently the default version of vaCreateSurfaces() in master branch is
bound to VA_API_0.33.0, however the same function in staging branch is
bound to VA_API_0.34.0. To sync the two branches, bind the default version
of vaCreateSurfaces() to the node VA_API_0.33.0 in staging branch

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
VP9 decode API

Signed-off-by: Wang, Ce <ce.wang@intel.com>
Signed-off-by: Jonathan Bian <jonathan.bian@intel.com>
test/avcenc: Remove the dynamic shrink of coded buffer

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
test/avcenc: Fix the incorrect parameter setting for SPS under CBR mode

Currently the parameter setting is incorrect for CBR, which causes that
it will complain the underflow/overflow during encoding.

V1->V2: Follow Haihao's comment to update some incorrect usage about the
frame_bit_rate.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Corrected JPEG encoding's libva log trace.

Issue: The format of JPEG encoding's log
dumped by libva trace was messy:

[51461.446753] 	element[0] =
[51461.446837] 	--VAQMatrixBufferJPEG
[51461.446850] 	load_lum_quantiser_matrix = 1[51461.446858]
	[51461.446864] 	0x03[51461.446873] 	0x02[51461.446880] 	0x02[51461.446887] 	0x03[51461.446895] 	0x02[51461.446902] 	0x02[51461.446909] 	0x03[51461.446916] 	0x03[51461.446923]
	[51461.446930] 	0x03[51461.446937]

Solution: Corrected that log trace.

Change-Id: Id5322f34e2c3cfa45e388bfa7b543161284af893
Signed-off-by: Jing SUN <jing.a.sun@intel.com>
Added processing rate query for encode/decode.
Fixed the KW issue of the "Corrected JPEG encoding's libva log trace" patch's.

Signed-off-by: Jing SUN <jing.a.sun@intel.com>
Change-Id: I738250b879b1a4e47d3fc7c14b5c619137a59ce9
Minor changes to the VP9 decode API to remove fields that are not needed.

Signed-off-by: Wang, Ce <ce.wang@intel.com>
Signed-off-by: Jonathan Bian <jonathan.bian@intel.com>
test: fix mpeg2transcode compilation issue with gcc 4.3.4

Signed-off-by: Sang, Oliver <oliver.sang@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
va: Reorder the enum of the video filter types

To keep compatibility with the master branch

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Fix VA_ENC_PACKED_HEADER_RAW_DATA value.

Attribute values for VAConfigAttribEncPackedHeaders config shall
represent a valid maskable set of bits. So, make sure "raw" packed
header mask is 0x10, not 0x0c.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
(cherry picked from commit 9856039347088c118897a36a63f4dcf8e328e06f)
Made VASliceParameterBufferVP9 consistent with other codecs.
test/encode/avcenc: update the SPS parameter for encoding

It will simplify the calculation of POC and frame_num.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
test/encode/avcenc: Follow the idea in h264encode to generalize avcenc test case

The following is generalized:
a. the switch between encoding order and displaying order.
b. Reference list0/1
c. It can insert more IDR frames intead of one IDR frame.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
add a new attribute to indicate full vs. reduced range

The flag is used to indicate that the range flag of color-space conversion.

Signed-off-by: Gu, Wangyi <wangyi.gu@intel.com>
Change-Id: I90e9479d3d1ce3c9bae2f02af53533209e95abaf
Add VA trace support for HEVC

BZ:189819

Change-Id: I505a9e638191494f7f69c9ef9995fabc9d82dffb
Signed-off-by: Tang, XiaoxiX <xiaoxix.tang@intel.com>