hardware/intel/libva
Révision | 4c33e3c090a24fef1fb7fe2e8f801240b10befe3 (tree) |
---|---|
l'heure | 2013-06-19 15:46:23 |
Auteur | Austin Yuan <shengquan.yuan@inte...> |
Commiter | Xiang, Haihao |
vatrace: refine VAEncPackedHeaderParameterBufferType format
Change-Id: I1794a9c09a88b61d7abce970d7cb9a8f101162c6
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
(cherry picked from commit 4853e4a3a6cc5218e032a19d729096862db82bc6)
@@ -1602,9 +1602,9 @@ static void va_TraceVAEncPackedHeaderParameterBufferType( | ||
1602 | 1602 | if (!p) |
1603 | 1603 | return; |
1604 | 1604 | va_TraceMsg(idx, "VAEncPackedHeaderParameterBuffer\n"); |
1605 | - va_TraceMsg(idx, "\ttype=%d = %d\n", p->type); | |
1605 | + va_TraceMsg(idx, "\ttype = 0x%08x\n", p->type); | |
1606 | 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); | |
1607 | + va_TraceMsg(idx, "\thas_emulation_bytes = %d\n", p->has_emulation_bytes); | |
1608 | 1608 | va_TraceMsg(idx, NULL); |
1609 | 1609 | |
1610 | 1610 | return; |
@@ -2237,6 +2237,10 @@ static void va_TraceH264Buf( | ||
2237 | 2237 | else |
2238 | 2238 | va_TraceVAEncSliceParameterBufferH264(dpy, context, buffer, type, size, num_elements, pbuf); |
2239 | 2239 | break; |
2240 | + case VAEncPackedHeaderParameterBufferType: | |
2241 | + va_TraceVAEncPackedHeaderParameterBufferType(dpy, context, buffer, type, size, num_elements, pbuf); | |
2242 | + break; | |
2243 | + | |
2240 | 2244 | case VAEncMiscParameterBufferType: |
2241 | 2245 | va_TraceVAEncMiscParameterBuffer(dpy, context, buffer, type, size, num_elements, pbuf); |
2242 | 2246 | break; |