summaryrefslogtreecommitdiff
path: root/va
diff options
context:
space:
mode:
authorliubolun <bolun.liu@intel.com>2014-01-22 15:10:23 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2014-03-17 11:07:12 +0800
commit8663aef5d3eec675838fc903ac8b09b5ff055b8c (patch)
tree939d0b4658038d172a25f36d15bcaf0000d87ca7 /va
parent23f716d2cf0b794d7442ff5844926eb1618d5d97 (diff)
Dump max frame size in libva trace.
Change-Id: I4b38bc5930d653c96b45e4ce91856bfaf0cb277a Signed-off-by: liubolun <bolun.liu@intel.com> (cherry picked from commit 753421b8b3e9bd4529986dc0418e39e05dc2f394)
Diffstat (limited to 'va')
-rw-r--r--va/va_trace.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/va/va_trace.c b/va/va_trace.c
index 6c0e146..ca8931f 100644
--- a/va/va_trace.c
+++ b/va/va_trace.c
@@ -1803,6 +1803,14 @@ static void va_TraceVAEncMiscParameterBuffer(
va_TraceMsg(trace_ctx, "\tbuffer_size = %d\n", p->buffer_size);
break;
}
+ case VAEncMiscParameterTypeMaxFrameSize:
+ {
+ VAEncMiscParameterBufferMaxFrameSize *p = (VAEncMiscParameterBufferMaxFrameSize *)tmp->data;
+
+ va_TraceMsg(trace_ctx, "\t--VAEncMiscParameterTypeMaxFrameSize\n");
+ va_TraceMsg(trace_ctx, "\tmax_frame_size = %d\n", p->max_frame_size);
+ break;
+ }
default:
va_TraceMsg(trace_ctx, "Unknown VAEncMiscParameterBuffer(type = %d):\n", tmp->type);
va_TraceVABuffers(dpy, context, buffer, type, size, num_elements, data);