• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/libva


Commit MetaInfo

Revision5c05f8757628aeff94c605838ab3c29381fd08e7 (tree)
Time2013-06-19 15:46:09
AuthorAustin Yuan <shengquan.yuan@inte...>
CommiterXiang, Haihao

Log Message

vatrace: print VAEncPackedHeaderParameterBufferType

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
(cherry picked from commit 82ffa4b5bfb6cf59e90eedadbdfe3efdaced35e0)

Change Summary

Incremental Difference

--- a/va/va_trace.c
+++ b/va/va_trace.c
@@ -1585,6 +1585,31 @@ static void va_TraceVAEncSliceParameterBufferH264(
15851585 return;
15861586 }
15871587
1588+
1589+static void va_TraceVAEncPackedHeaderParameterBufferType(
1590+ VADisplay dpy,
1591+ VAContextID context,
1592+ VABufferID buffer,
1593+ VABufferType type,
1594+ unsigned int size,
1595+ unsigned int num_elements,
1596+ void *data)
1597+{
1598+ VAEncPackedHeaderParameterBuffer* p = (VAEncPackedHeaderParameterBuffer*)data;
1599+ DPY2INDEX(dpy);
1600+ int i;
1601+
1602+ if (!p)
1603+ return;
1604+ va_TraceMsg(idx, "VAEncPackedHeaderParameterBuffer\n");
1605+ va_TraceMsg(idx, "\ttype=%d = %d\n", p->type);
1606+ va_TraceMsg(idx, "\tbit_length = %d\n", p->bit_length);
1607+ va_TraceMsg(idx, "\thas_emulation_bytes = %d = %d\n", p->has_emulation_bytes);
1608+ va_TraceMsg(idx, NULL);
1609+
1610+ return;
1611+}
1612+
15881613 static void va_TraceVAEncMiscParameterBuffer(
15891614 VADisplay dpy,
15901615 VAContextID context,
@@ -2035,6 +2060,9 @@ static void va_TraceH263Buf(
20352060 case VAEncSliceParameterBufferType:
20362061 va_TraceVAEncSliceParameterBuffer(dpy, context, buffer, type, size, num_elements, pbuf);
20372062 break;
2063+ case VAEncPackedHeaderParameterBufferType:
2064+ va_TraceVAEncPackedHeaderParameterBufferType(dpy, context, buffer, type, size, num_elements, pbuf);
2065+ break;
20382066 default:
20392067 va_TraceVABuffers(dpy, context, buffer, type, size, num_elements, pbuf);
20402068 break;