vatrace: trace vaQuerySurfaceAttributes

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
(cherry picked from commit e468728f9e49603f91ccbce3a232aa3bd98d1fd4)
[Haihao: Remove JPEG encode from this commit]
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
va_trace: avoid to dereference a NULL pointer

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit e635bf060b68694174cbf24c6b06c573b629ddcc)
vatrace: always printf RefPicList

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
(cherry picked from commit e9e685fe752b9865ba9e28cb63e18ce3f8aed2a0)
vatrace/vafool: save the context data into display context

The static allocation of context data has issue in
multiple threads environment. Put the allocation into
display context strcuture

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
(cherry picked from commit e1ab961b20583c6c54ad05e2fe6bab619462106f)

Conflicts:

	va/va_trace.c
vatrace: fix compile warnings and refine some format

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
(cherry picked from commit d68c9fb7eebe195d96e113abbf654f782a1450d8)

Conflicts:

	va/va_trace.c
vatrace: Initialize the local variable 'i'

Otherwise the variable is used without being initialized.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit f5a6a2867b88b36936bf721682b674e2979065d3)
vatrace: check the pointer against NULL before using it

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 7ae3f1f3666e3571774a9b98ee6571433dcc73d5)
vatrace: Partial dumping of VAProcPipelineParameterBuffer

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit f5c913765e6af38d835cacf339054ccc60bddefb)

Conflicts:

	va/va_trace.c
vatrace: refine the log format

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
(cherry picked from commit f78e4a6a84178c4561a5b1c8dbb7773e5a575d0f)
vatrace: fix UV data offset issue of LIBVA_TRACE_SURFACE_GEOMETRY

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
(cherry picked from commit c954ff868057e02f620470d64c1f2071e2cfbb4e)
vatrace: add trace for VP8 decoding
(cherry picked from commit 303ab444365e7de29d471b28331e1c214877b63a)

Conflicts:

	va/va_trace.c

Signed-off-by: Zhao Halley <halley.zhao@intel.com>
Signed-off-by: Liu Bolun <bolun.liu@intel.com>
[Haihao: fix conflicts with some modifications come from bc49c42bcbfb24286c06b3e7cdb171b2a01c6f80]
Signed-off-by: Xiang, Haihao <haihao.xiang@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>
(cherry picked from commit 8d1eec87d3bf1e4ce13e4302c944569a22129c5d)
Dump max frame size in libva trace.

Change-Id: I4b38bc5930d653c96b45e4ce91856bfaf0cb277a
Signed-off-by: liubolun <bolun.liu@intel.com>
(cherry picked from commit 753421b8b3e9bd4529986dc0418e39e05dc2f394)
vatrace: print VASurfaceAttribExternalBufferDescriptor

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
(cherry picked from commit fae9c44816a4c3cfc480d2879d1b4a0c1c3a1527)
vatrace: Remove VA_TRACE_LOGSIZE because it is useless

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
(cherry picked from commit 733bcaeef5ef7a5a0f2f3b12e9565e4c178d58fd)

Conflicts:

	va/va_trace.c
vatrace: simplify coded buffer trace

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
(cherry picked from commit d46a3d927ce66e0f7b61c8c184cf80b6d926327e)

Conflicts:

	va/va_trace.c
vatrace: fix a missing field of va_TraceMsg

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
(cherry picked from commit 2bf493a4838b419a61fa5cc6925fab4d4786dbcd)
va: Bump VA-API to 0.35 and libva to 1.3.0.pre1

Update NEWS as well

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
va: keep compatibility with the backend driver built against 0.34.x

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
libva 1.3.0

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