summaryrefslogtreecommitdiff
path: root/va/va_trace.c
diff options
context:
space:
mode:
authorAustin Yuan <shengquan.yuan@gmail.com>2010-10-26 09:18:04 -0700
committerAustin Yuan <shengquan.yuan@gmail.com>2010-10-26 09:18:04 -0700
commitfe9ee747b973118f21a9b838dd02972b96924c1e (patch)
treef75edf0822c4d48a17f32444e4afb441c78c7e1a /va/va_trace.c
parent37f6ccf3142b0cefdb0feb3b32716ecf38a29e8b (diff)
downloadlibva-fe9ee747b973118f21a9b838dd02972b96924c1e.tar.gz
fix build issue on Android
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Diffstat (limited to 'va/va_trace.c')
-rw-r--r--va/va_trace.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/va/va_trace.c b/va/va_trace.c
index 9c5bc16..dd1181f 100644
--- a/va/va_trace.c
+++ b/va/va_trace.c
@@ -38,6 +38,17 @@
#include <sys/stat.h>
#include <unistd.h>
+/*
+ * Export env "VA_TRACE" to debug some corruptions issues
+ * .LIBVA_TRACE=log_file: general VA parameters saved into log_file
+ * .LIBVA_TRACE_BUFDATA: dump VA buffer data into log_file (if not set, just calculate a checksum)
+ * .LIBVA_TRACE_CODEDBUF=coded_clip_file: save the coded clip into file coded_clip_file
+ * .LIBVA_TRACE_SURFACE=decoded_yuv_file: save the decoded YUV file decoded_yuv_file
+ * .LIBVA_TRACE_LOGSIZE=numeric number: truncate the log_file or coded_clip_file, or decoded_yuv_file
+ * when the size is bigger than the number
+ */
+
+
/* global settings */
/* LIBVA_TRACE */