diff options
author | liubolun <bolun.liu@intel.com> | 2014-01-22 15:10:23 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2014-03-17 11:07:12 +0800 |
commit | 8663aef5d3eec675838fc903ac8b09b5ff055b8c (patch) | |
tree | 939d0b4658038d172a25f36d15bcaf0000d87ca7 /va/va_trace.c | |
parent | 23f716d2cf0b794d7442ff5844926eb1618d5d97 (diff) | |
download | libva-8663aef5d3eec675838fc903ac8b09b5ff055b8c.tar.gz |
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/va_trace.c')
-rw-r--r-- | va/va_trace.c | 8 |
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); |