summaryrefslogtreecommitdiff
path: root/va/va_trace.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix the p->load_huffman_table[0] keep print first element in for loopLim Siew Hoon2016-07-221-1/+1
| | | | Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
* Remove unused 'i' in va_TraceVAEncPackedHeaderParameterBufferTypeLim Siew Hoon2016-06-241-1/+0
| | | | | Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de>
* Remove unused 'trace_index' in va_TraceInitLim Siew Hoon2016-06-241-1/+0
| | | | | Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de>
* Remove unused 'j' in va_TraceVAPictureParameterBufferVP9.Lim Siew Hoon2016-06-241-1/+1
| | | | | Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de>
* Remove unused 'check_sum' and 'j' in va_TraceSurfaceLim Siew Hoon2016-06-241-2/+1
| | | | | Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de>
* Remove unused 'i' and 'buf_list' in va_TraceDestroyBufferLim Siew Hoon2016-06-241-3/+0
| | | | | Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de>
* fix check NULL issuespeng.chen2016-05-271-3/+16
| | | | | | | | | | v2: code clean up v1: initial Signed-off-by: peng.chen <peng.c.chen@intel.com>
* Fix missing parameter of vatrace DisplayAttribute printAustin Yuan2016-05-241-4/+5
| | | | | | | | | | [49270.199330] ==========va_TraceMaxNumDisplayAttributes [49270.199334] max_display_attributes = 6 [49270.199362] num_attributes = 5 [49270.199365] attr_list[-1429804448] = [49270.199367] typ = 0x00000000 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
* trace: Cleanup some HEVC printsScott D Phillips2016-05-221-46/+62
| | | | | | | | Some fields in HEVC buffers had extraneous timestamps interspersed with the traced data. Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de>
* trace: Add `va_TracePrint`, `va_TraceVPrint` static functionsScott D Phillips2016-05-221-16/+34
| | | | | | | | These functions are similar to va_TraceMsg() but without emitting a timestamp. Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de>
* add the support of multiple context tracingpeng.chen2016-05-131-217/+1043
| | | | | | | | | | | | | | | Libva has a limited tracing function before. If more than one context is created in one instance, then this tracing can't work and output wrong log messages. This patch fixes this problem. Tracing is possible while multiple contexts are being used. Each log file name is suffixed by thread id. This file has all log message from this thread. Each surface or codedbuf dump file name is suffixed by context id. This file has all surface or codedbuf data of this context. Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Sean V Kelley <sean.v.kelley@intel.com> Tested-by: Daniel Charles <daniel.charles@intel.com>
* vatrace: add IVF header for VP8 coded buffer dumpAustin Yuan2015-09-061-1/+60
| | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
* va_trace.c : Fix VAIQMatrixBufferHEVC tracingTimo Rothenpieler2015-09-061-1/+1
|
* va_trace.c : Fixes incorrect hardcode printfs message.Lim Siew Hoon2015-07-171-3/+3
| | | | Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
* va_trace.c: add vp9 decoder trace infoXu Guangxin2015-07-141-0/+140
| | | | | | | | | | | | (cherry picked from commit c9ebdf432f154691464359caa7f37f8a2034f0ff) Conflicts: va/va_trace.c Signed-off-by: Xu Guangxin <Guangxin.Xu@intel.com> [Support VAProfileVP9Profile0 only on master] Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* va_trace.c: fixes incorrect use of signed decimal conversion in printfs.Jonathan Bian2015-07-141-30/+30
| | | | | Signed-off-by: Jonathan Bian <jonathan.bian@intle.com> (cherry picked from commit 27812e7144d59603bd1c2d6dfc32dbcd0a37bc7a)
* Va_trace changes to dump the HEVC encode parameterssusheel2015-07-141-0/+253
| | | | | | | | (cherry picked from commit c24b5da1a8296ca13aceb233b32eaf8bc1d47802) Conflicts: va/va_trace.c
* vatrace: print frame_type for VP8 encodingAustin Yuan2015-07-141-1/+2
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 1a011ce5bb0b80506797a25a988854f3f81ce909)
* vatrace: dump the right parameters for VP8 encodeXiang, Haihao2015-07-141-38/+36
| | | | | | | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit b7494802d94bf8af3577fbb5145f144892283585) Conflicts: va/va_trace.c
* Enhance LIBVA_TRACE to dump SPS/PPS/ for VP8 encode.Liu Bolun2015-07-141-0/+109
| | | | | | | | | | | | Enhance LIBVA_TRACE tool to dump VP8 encode related parameters based on the new libva interface. Change-Id: I2c731761bb180061e18dac6b63d77572ca1abef6 Signed-off-by: Liu Bolun <bolun.liu@intel.com> (cherry picked from commit bc49c42bcbfb24286c06b3e7cdb171b2a01c6f80) Conflicts: va/va_trace.c
* Add VA trace support for HEVCTang, XiaoxiX2014-12-041-0/+313
| | | | | | | | BZ:189819 Change-Id: I505a9e638191494f7f69c9ef9995fabc9d82dffb Signed-off-by: Tang, XiaoxiX <xiaoxix.tang@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* vatrace: trace JPEG encode parametersAustin Yuan2014-11-191-1/+51
| | | | | | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit e468728f9e49603f91ccbce3a232aa3bd98d1fd4) Conflicts: va/va_trace.c va/va_trace.h
* Extended existing JPEG encoding data structures and added configuration ↵Jonathan Bian2014-11-191-0/+1
| | | | | | | | | | | attribute for JPEG encoding. It is the combination of 1d93d44 and 970064cf Signed-off-by: Jonathan Bian <jonathan.bian@intel.com> Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> [Resovle conflicts & remove irrelevant attributes] Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* va: hide most private va_Trace* symbolsEmil Velikov2014-10-081-3/+3
| | | | | | | Hide all but va_TracePutSurface symbols from the user. The latter one is used internally by va_x11 and va_android. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* vatrace: fix segfault of VASurfaceAttribExternalBufferDescriptor dumppingAustin Yuan2014-09-091-2/+2
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit e286c3264ebf7582792ff56537dd14c9f49903cf)
* vafool: fix the vaMapBuffer for the buffer from vaDeriveImageAustin Yuan2014-09-091-2/+2
| | | | | | | | It is not desired to run into FOOL path for the vaMapBuffer from vaDeriveImage Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 2896166fefa36772ea6946ebc5df85024928dd6c)
* vatrace: make LIBVA_TRACE_SURFACE work even without LIBVA_TRACEAustin Yuan2014-09-091-1/+1
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit e39ebdd95062995e4bdf082d50bd7d9005a3be6c)
* vatrace: fix a missing field of va_TraceMsgAustin Yuan2014-03-171-2/+2
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 2bf493a4838b419a61fa5cc6925fab4d4786dbcd)
* vatrace: simplify coded buffer traceAustin Yuan2014-03-171-39/+5
| | | | | | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit d46a3d927ce66e0f7b61c8c184cf80b6d926327e) Conflicts: va/va_trace.c
* vatrace: Remove VA_TRACE_LOGSIZE because it is uselessAustin Yuan2014-03-171-51/+0
| | | | | | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 733bcaeef5ef7a5a0f2f3b12e9565e4c178d58fd) Conflicts: va/va_trace.c
* vatrace: print VASurfaceAttribExternalBufferDescriptorAustin Yuan2014-03-171-7/+38
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit fae9c44816a4c3cfc480d2879d1b4a0c1c3a1527)
* Dump max frame size in libva trace.liubolun2014-03-171-0/+8
| | | | | | Change-Id: I4b38bc5930d653c96b45e4ce91856bfaf0cb277a Signed-off-by: liubolun <bolun.liu@intel.com> (cherry picked from commit 753421b8b3e9bd4529986dc0418e39e05dc2f394)
* Add more VA Buffer print to ease debugwfeng62014-03-171-34/+34
| | | | | | | | | | | 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)
* vatrace: add trace for VP8 decodingZhao Halley2014-03-171-0/+230
| | | | | | | | | | | | | (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>
* vatrace: fix UV data offset issue of LIBVA_TRACE_SURFACE_GEOMETRYAustin Yuan2014-03-171-1/+1
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit c954ff868057e02f620470d64c1f2071e2cfbb4e)
* vatrace: refine the log formatAustin Yuan2014-03-171-52/+46
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit f78e4a6a84178c4561a5b1c8dbb7773e5a575d0f)
* vatrace: Partial dumping of VAProcPipelineParameterBufferXiang, Haihao2014-03-171-0/+230
| | | | | | | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit f5c913765e6af38d835cacf339054ccc60bddefb) Conflicts: va/va_trace.c
* vatrace: check the pointer against NULL before using itXiang, Haihao2014-03-171-8/+9
| | | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 7ae3f1f3666e3571774a9b98ee6571433dcc73d5)
* vatrace: Initialize the local variable 'i'Xiang, Haihao2014-03-171-1/+1
| | | | | | | Otherwise the variable is used without being initialized. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit f5a6a2867b88b36936bf721682b674e2979065d3)
* vatrace: fix compile warnings and refine some formatAustin Yuan2014-03-171-58/+61
| | | | | | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit d68c9fb7eebe195d96e113abbf654f782a1450d8) Conflicts: va/va_trace.c
* vatrace/vafool: save the context data into display contextAustin Yuan2014-03-171-885/+891
| | | | | | | | | | | | | 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: always printf RefPicListAustin Yuan2014-03-171-41/+40
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit e9e685fe752b9865ba9e28cb63e18ce3f8aed2a0)
* va_trace: avoid to dereference a NULL pointerXiang, Haihao2014-03-171-1/+2
| | | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit e635bf060b68694174cbf24c6b06c573b629ddcc)
* vatrace: trace vaQuerySurfaceAttributesAustin Yuan2014-03-171-21/+123
| | | | | | | 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>
* vatrace: print target_percentageAustin Yuan2013-06-191-0/+1
| | | | | | Change-Id: I220b2fa7ad6907ab0ebda3671baeeab7fa36cc00 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 82e7dc8280da22c88a28f0a4d429f28fd99f9ced)
* vatrace: trace coded buffer create/destroyAustin Yuan2013-06-191-0/+55
| | | | | | Change-Id: If0388cd5e2e141184d88ff5de5612d15e51e3d20 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 880c916092c6d68096c95e49405714d8a21f9322)
* vatrace: dump unknonw private misc parametersAustin Yuan2013-06-191-1/+2
| | | | | | Change-Id: I33bbed3a1d3f297297687197f623d6c08ee8eba9 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit df5bfb6c6f248c0bcf6f2f9a74e9ffba4b0acf15)
* vatrace: remove the delimiter of every elements dumpAustin Yuan2013-06-191-6/+0
| | | | | Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 132f22ae9b42b4657361c87b5c7d5b14a26a52a9)
* vatrace: refine the format of buf data dumpElaine Wang2013-06-191-3/+3
| | | | | Signed-off-by: Elaine Wang <elaine.wang@intel.com> (cherry picked from commit 2292299fe00036eb6055a84846f63f36cbae27d9)
* vatrace: refine VAEncPackedHeaderParameterBufferType formatAustin Yuan2013-06-191-2/+6
| | | | | | Change-Id: I1794a9c09a88b61d7abce970d7cb9a8f101162c6 Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> (cherry picked from commit 4853e4a3a6cc5218e032a19d729096862db82bc6)