From e57b1833cfabb163a48276d69c7c026342fbf620 Mon Sep 17 00:00:00 2001 From: Adrian Marius Negreanu Date: Mon, 11 Feb 2013 10:21:33 +0200 Subject: [PATCH] vatrace: buffer_type_to_string: add missing VABufferType sync with VABufferType in va/va.h. Signed-off-by: Adrian Marius Negreanu (cherry picked from commit d5160173f9dd5a37c793518d1d483b09d278d90c) [Remove unsupported types on master] Signed-off-by: Xiang, Haihao --- va/va_trace.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/va/va_trace.c b/va/va_trace.c index 421fe6d..0cfc1fe 100644 --- a/va/va_trace.c +++ b/va/va_trace.c @@ -602,11 +602,19 @@ static char * buffer_type_to_string(int type) case VAResidualDataBufferType: return "VAResidualDataBufferType"; case VADeblockingParameterBufferType: return "VADeblockingParameterBufferType"; case VAImageBufferType: return "VAImageBufferType"; + case VAQMatrixBufferType: return "VAQMatrixBufferType"; + case VAHuffmanTableBufferType: return "VAHuffmanTableBufferType"; +/* Following are encode buffer types */ case VAEncCodedBufferType: return "VAEncCodedBufferType"; case VAEncSequenceParameterBufferType: return "VAEncSequenceParameterBufferType"; case VAEncPictureParameterBufferType: return "VAEncPictureParameterBufferType"; case VAEncSliceParameterBufferType: return "VAEncSliceParameterBufferType"; + case VAEncPackedHeaderParameterBufferType: return "VAEncPackedHeaderParameterBufferType"; + case VAEncPackedHeaderDataBufferType: return "VAEncPackedHeaderDataBufferType"; case VAEncMiscParameterBufferType: return "VAEncMiscParameterBufferType"; + case VAEncMacroblockParameterBufferType: return "VAEncMacroblockParameterBufferType"; + case VAProcPipelineParameterBufferType: return "VAProcPipelineParameterBufferType"; + case VAProcFilterParameterBufferType: return "VAProcFilterParameterBufferType"; default: return "UnknowBuffer"; } } -- 2.7.4