| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes: #327
This removes redundunt check for the number of log files. The whole
'struct va_trace' is being calloc-d and we can just check that
pointers to log files are valid instead of relying on number of
active log files.
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
|
| |
|
|
|
|
| |
Signed-off-by: isergee <ilya.sergeev@intel.com>
|
|
|
|
| |
Signed-off-by: Decai Lin <decai.lin@intel.com>
|
|
|
|
|
|
|
| |
Add MPEG2 trace support for VAEncMiscParameterBufferType and
VAEncSequenceParameterBufferType.
Signed-off-by: Linjie Fu <linjie.fu@intel.com>
|
|
|
|
|
|
| |
only take effect when the call failed
Signed-off-by: intel <carl.zhang@intel.com>
|
|
|
|
| |
Signed-off-by: Decai Lin <decai.lin@intel.com>
|
|
|
|
| |
Replaces <time.h>, which was unused
|
|
|
|
|
| |
va/va_trace.c: In function 'va_TraceVAEncMiscParameterBuffer':
va/va_trace.c:3281: error: 'for' loop initial declaration used outside C99 mode
|
|
|
|
| |
Signed-off-by: Decai Lin <decai.lin@intel.com>
|
|
|
|
| |
Signed-off-by: Decai Lin <decai.lin@intel.com>
|
|
|
|
|
|
|
|
|
| |
Add va_TraceSurface support for VA_FOURCC_P010.
Currently, va_TraceSurface could only support nv12.
Add pixel_byte to indicate the bytes per pixel according to FOURCC.
Signed-off-by: Linjie Fu <linjie.fu@intel.com>
|
|
|
|
| |
Signed-off-by: Badiuzzaman Iskhandar <badiuzzaman.azzarfan.bin.iskhandar@intel.com>
|
|
|
|
| |
Change-Id: I8d38a37dc6a8a1bf190f206ce61f3b26e2f4e887
|
|
|
|
|
|
| |
Add new data structure and parameter buffer type for max frame size parameters in multiple pass case.
Signed-off-by: Wang, Chengwei C <chengwei.c.wang@intel.com>
|
|
|
|
| |
Signed-off-by: Mark Thompson <sw@jkqxz.net>
|
|
|
|
|
|
|
|
| |
va.h and va_dec_hevc.h were incorrectly marked as executable in commit d6fd111e.
va_trace.c was incorrectly marked as executable in commit b65a3d9d.
Signed-off-by: Mark Thompson <sw@jkqxz.net>
|
|
|
|
|
|
|
|
|
|
| |
Leftover from recent commit 35d7d312d45f9fd42dd
> va_trace.c:270:31: warning: unused variable 'pconfig_info'
> struct trace_config_info *pconfig_info;
> ^
Signed-off-by: Victor Toso <victortoso@redhat.com>
|
|
|
|
|
|
| |
Fixes #142
Signed-off-by: peng.chen <peng.c.chen@intel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Call pthread_mutex_init before any calls to pthread_mutex_lock.
va_TraceInit(...) calls start_tracing2log_file(...) which
calls pthread_mutex_lock on the pva_trace->resource_mutex.
Thus, we need to ensure the mutex is initialized properly via
pthread_mutex_init before attempting to lock it.
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
|
|
|
|
|
|
| |
Encode/ENC/Pre-ENC, and VPP in future.
Signed-off-by: Artem Shaporenko artem.shaporenko@intel.com
|
|
|
|
|
|
|
|
| |
The first parameter of va_{error,info}Message is VADisplay
This fixes https://github.com/01org/libva/issues/123
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
|
|
|
|
| |
Signed-off-by: Kelly Ledford <kelly.ledford@intel.com>
|
|
|
|
|
|
| |
enums marked as deprecated should not be used any more.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
|
|
|
|
|
|
|
| |
Add "va_" prefix to trace_flag, fool_codec and fool_postp to avoid
polluting the global namespace.
Signed-off-by: Mark Thompson <sw@jkqxz.net>
|
|
|
|
|
|
|
| |
This is not now and never will be supported by any hardware, nor is
it supported by any current software.
Signed-off-by: Mark Thompson <sw@jkqxz.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the logging callbacks into the display context, rather than
having them as global state. Add user-context parameter as well so
that users can distinguish between callbacks in different instances.
The default behaviour does not change, and LIBVA_MESSAGING_LEVEL
continues to be respected in that case.
Since we're breaking API here, also rename vaMessageCallback to
VAMessageCallback to be consistent with all other types.
Signed-off-by: Mark Thompson <sw@jkqxz.net>
|
|
|
|
|
|
| |
The new header is internal-only and will not be installed.
Signed-off-by: Mark Thompson <sw@jkqxz.net>
|
|
|
|
|
|
|
|
| |
Remove unused variables detected by clang-3.8
Fixes #89
Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
|
|
|
|
| |
Signed-off-by: Zhong Li <zhong.li@intel.com>
|
|
|
|
|
|
|
| |
add trace information for mb_rate_control/temporal_id in
VAEncMiscParameterRateControl
Signed-off-by: Jun Zhao <jun.zhao@intel.com>
|
|
|
|
| |
Fix #44
|
|
|
|
|
|
|
|
|
|
| |
add trace information for VAEncPictureParameterBufferVP9
and VAEncSequenceParameterBufferVP9
also add the case for VAEncMiscParameterBufferType on
va_TraceVP9Buf
Signed-off-by: Daniel Charles <daniel.charles@intel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The function strncpy() does not guarantee to nul terminate the
destination. In most cases, this cannot be triggered, but it is also
used to parse user environment variables. These are allowed to be longer
than 1023 characters, effectively resulting in an unterminated string.
I've adjusted other places as well, because it won't hurt.
https://bugs.freedesktop.org/show_bug.cgi?id=96677
|
|
|
|
| |
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
|
|
|
|
|
| |
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
|
|
|
|
|
| |
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
|
|
|
|
|
| |
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
|
|
|
|
|
| |
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
|
|
|
|
|
| |
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
|
|
|
|
|
|
|
|
|
|
| |
v2:
code clean up
v1:
initial
Signed-off-by: peng.chen <peng.c.chen@intel.com>
|
|
|
|
|
|
|
|
|
|
| |
[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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
| |
|
|
|
|
| |
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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>
|