diff options
author | Austin Yuan <shengquan.yuan@gmail.com> | 2010-10-26 10:27:31 -0700 |
---|---|---|
committer | Austin Yuan <shengquan.yuan@gmail.com> | 2010-10-26 10:27:31 -0700 |
commit | 95a4736925b2892f2a6e167aefb3f536c1b49c8b (patch) | |
tree | 477c70db4ec40ebbfeeb427e5c9eb7f579bbf6c7 | |
parent | 866360c82ea76182bfa601a074c87d4c83325419 (diff) | |
download | libva-95a4736925b2892f2a6e167aefb3f536c1b49c8b.tar.gz |
Refine for va_trace
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
-rw-r--r-- | va/va.c | 4 | ||||
-rw-r--r-- | va/va_trace.c | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -1238,7 +1238,7 @@ VAStatus vaGetDisplayAttributes ( va_status = ctx->vtable.vaGetDisplayAttributes ( ctx, attr_list, num_attributes ); - VA_TRACE(va_SetDisplayAttributes, dpy, attr_list, num_attributes); + VA_TRACE(va_TraceSetDisplayAttributes, dpy, attr_list, num_attributes); return va_status; } @@ -1259,7 +1259,7 @@ VAStatus vaSetDisplayAttributes ( CHECK_DISPLAY(dpy); ctx = CTX(dpy); - VA_TRACE(va_SetDisplayAttributes, dpy, attr_list, num_attributes); + VA_TRACE(va_TraceSetDisplayAttributes, dpy, attr_list, num_attributes); return ctx->vtable.vaSetDisplayAttributes ( ctx, attr_list, num_attributes ); diff --git a/va/va_trace.c b/va/va_trace.c index 9163588..4ce1b16 100644 --- a/va/va_trace.c +++ b/va/va_trace.c @@ -37,6 +37,8 @@ #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> +#include <time.h> + /* * Env. to debug some issue, e.g. the decode/encode issue in a video conference scenerio: @@ -793,7 +795,8 @@ static void va_TraceVAIQMatrixBufferH264( DPY2INDEX(dpy); va_TraceMsg(idx, "==========VAIQMatrixBufferH264\n"); - + + va_TraceMsg(idx, "\tScalingList4x4[6][16]=\n"); for (i = 0; i < 6; i++) { for (j = 0; j < 16; j++) { va_TraceMsg(idx, "\t%d\t", p->ScalingList4x4[i][j]); @@ -802,6 +805,7 @@ static void va_TraceVAIQMatrixBufferH264( } } + va_TraceMsg(idx, "\tScalingList8x8[2][64]=\n"); for (i = 0; i < 2; i++) { for (j = 0; j < 64; j++) { va_TraceMsg(idx, "\t%d", p->ScalingList8x8[i][j]); |