Lines Matching refs:trace_ctx

102     struct trace_context *trace_ctx = TRACE_CTX(dpy);   \
104 if (trace_ctx == NULL) \
107 #define TRACE_FUNCNAME(idx) va_TraceMsg(trace_ctx, "==========%s\n", __func__);
151 (unsigned long)trace_ctx); \
159 struct trace_context *trace_ctx = calloc(sizeof(struct trace_context), 1); in va_TraceInit() local
161 if (trace_ctx == NULL) in va_TraceInit()
166 trace_ctx->trace_log_fn = strdup(env_value); in va_TraceInit()
170 trace_ctx->trace_fp_log = tmp; in va_TraceInit()
171 va_infoMessage("LIBVA_TRACE is on, save log into %s\n", trace_ctx->trace_log_fn); in va_TraceInit()
186 trace_ctx->trace_codedbuf_fn = strdup(env_value); in va_TraceInit()
188 trace_ctx->trace_codedbuf_fn); in va_TraceInit()
194 trace_ctx->trace_surface_fn = strdup(env_value); in va_TraceInit()
197 trace_ctx->trace_surface_fn); in va_TraceInit()
215 trace_ctx->trace_surface_width = strtod(p, &q); in va_TraceInit()
217 trace_ctx->trace_surface_height = strtod(p, &q); in va_TraceInit()
219 trace_ctx->trace_surface_xoff = strtod(p, &q); in va_TraceInit()
221 trace_ctx->trace_surface_yoff = strtod(p, &q); in va_TraceInit()
224 trace_ctx->trace_surface_width, in va_TraceInit()
225 trace_ctx->trace_surface_height, in va_TraceInit()
226 trace_ctx->trace_surface_xoff, in va_TraceInit()
227 trace_ctx->trace_surface_yoff); in va_TraceInit()
231 ((VADisplayContextP)dpy)->vatrace = trace_ctx; in va_TraceInit()
239 if (trace_ctx->trace_fp_log) in va_TraceEnd()
240 fclose(trace_ctx->trace_fp_log); in va_TraceEnd()
242 if (trace_ctx->trace_fp_codedbuf) in va_TraceEnd()
243 fclose(trace_ctx->trace_fp_codedbuf); in va_TraceEnd()
245 if (trace_ctx->trace_fp_surface) in va_TraceEnd()
246 fclose(trace_ctx->trace_fp_surface); in va_TraceEnd()
248 if (trace_ctx->trace_log_fn) in va_TraceEnd()
249 free(trace_ctx->trace_log_fn); in va_TraceEnd()
251 if (trace_ctx->trace_codedbuf_fn) in va_TraceEnd()
252 free(trace_ctx->trace_codedbuf_fn); in va_TraceEnd()
254 if (trace_ctx->trace_surface_fn) in va_TraceEnd()
255 free(trace_ctx->trace_surface_fn); in va_TraceEnd()
257 free(trace_ctx); in va_TraceEnd()
262 void va_TraceMsg(struct trace_context *trace_ctx, const char *msg, ...) in va_TraceMsg() argument
273 fprintf(trace_ctx->trace_fp_log, "[%04d.%06d] ", in va_TraceMsg()
276 vfprintf(trace_ctx->trace_fp_log, msg, args); in va_TraceMsg()
279 fflush(trace_ctx->trace_fp_log); in va_TraceMsg()
299 if (!trace_ctx->trace_fp_surface) in va_TraceSurface()
302 va_TraceMsg(trace_ctx, "==========dump surface data in file %s\n", trace_ctx->trace_surface_fn); in va_TraceSurface()
304 va_TraceMsg(trace_ctx, NULL); in va_TraceSurface()
308 trace_ctx->trace_rendertarget, in va_TraceSurface()
315 va_TraceMsg(trace_ctx, "Error:vaLockSurface failed\n"); in va_TraceSurface()
319 va_TraceMsg(trace_ctx, "\tfourcc = 0x%08x\n", fourcc); in va_TraceSurface()
320 va_TraceMsg(trace_ctx, "\twidth = %d\n", trace_ctx->trace_frame_width); in va_TraceSurface()
321 va_TraceMsg(trace_ctx, "\theight = %d\n", trace_ctx->trace_frame_height); in va_TraceSurface()
322 va_TraceMsg(trace_ctx, "\tluma_stride = %d\n", luma_stride); in va_TraceSurface()
323 va_TraceMsg(trace_ctx, "\tchroma_u_stride = %d\n", chroma_u_stride); in va_TraceSurface()
324 va_TraceMsg(trace_ctx, "\tchroma_v_stride = %d\n", chroma_v_stride); in va_TraceSurface()
325 va_TraceMsg(trace_ctx, "\tluma_offset = %d\n", luma_offset); in va_TraceSurface()
326 va_TraceMsg(trace_ctx, "\tchroma_u_offset = %d\n", chroma_u_offset); in va_TraceSurface()
327 va_TraceMsg(trace_ctx, "\tchroma_v_offset = %d\n", chroma_v_offset); in va_TraceSurface()
330 va_TraceMsg(trace_ctx, "Error:vaLockSurface return NULL buffer\n"); in va_TraceSurface()
331 va_TraceMsg(trace_ctx, NULL); in va_TraceSurface()
333 vaUnlockSurface(dpy, trace_ctx->trace_rendertarget); in va_TraceSurface()
336 va_TraceMsg(trace_ctx, "\tbuffer location = 0x%08x\n", buffer); in va_TraceSurface()
337 va_TraceMsg(trace_ctx, NULL); in va_TraceSurface()
342 tmp = Y_data + luma_stride * trace_ctx->trace_surface_yoff; in va_TraceSurface()
343 for (i=0; i<trace_ctx->trace_surface_height; i++) { in va_TraceSurface()
344 fwrite(tmp + trace_ctx->trace_surface_xoff, in va_TraceSurface()
345 trace_ctx->trace_surface_width, in va_TraceSurface()
346 1, trace_ctx->trace_fp_surface); in va_TraceSurface()
350 tmp = UV_data + chroma_u_stride * trace_ctx->trace_surface_yoff / 2; in va_TraceSurface()
352 for (i=0; i<trace_ctx->trace_surface_height/2; i++) { in va_TraceSurface()
353 fwrite(tmp + trace_ctx->trace_surface_xoff, in va_TraceSurface()
354 trace_ctx->trace_surface_width, in va_TraceSurface()
355 1, trace_ctx->trace_fp_surface); in va_TraceSurface()
361 vaUnlockSurface(dpy, trace_ctx->trace_rendertarget); in va_TraceSurface()
363 va_TraceMsg(trace_ctx, NULL); in va_TraceSurface()
402 va_TraceMsg(trace_ctx, "\tprofile = %d\n", profile); in va_TraceCreateConfig()
403 va_TraceMsg(trace_ctx, "\tentrypoint = %d\n", entrypoint); in va_TraceCreateConfig()
404 va_TraceMsg(trace_ctx, "\tnum_attribs = %d\n", num_attribs); in va_TraceCreateConfig()
407 va_TraceMsg(trace_ctx, "\t\tattrib_list[%d].type = 0x%08x\n", i, attrib_list[i].type); in va_TraceCreateConfig()
408 va_TraceMsg(trace_ctx, "\t\tattrib_list[%d].value = 0x%08x\n", i, attrib_list[i].value); in va_TraceCreateConfig()
411 va_TraceMsg(trace_ctx, NULL); in va_TraceCreateConfig()
413 trace_ctx->trace_profile = profile; in va_TraceCreateConfig()
414 trace_ctx->trace_entrypoint = entrypoint; in va_TraceCreateConfig()
417 encode = (trace_ctx->trace_entrypoint == VAEntrypointEncSlice); in va_TraceCreateConfig()
418 decode = (trace_ctx->trace_entrypoint == VAEntrypointVLD); in va_TraceCreateConfig()
419 jpeg = (trace_ctx->trace_entrypoint == VAEntrypointEncPicture); in va_TraceCreateConfig()
423 FILE *tmp = fopen(trace_ctx->trace_surface_fn, "w"); in va_TraceCreateConfig()
426 trace_ctx->trace_fp_surface = tmp; in va_TraceCreateConfig()
429 trace_ctx->trace_surface_fn, in va_TraceCreateConfig()
431 trace_ctx->trace_fp_surface = NULL; in va_TraceCreateConfig()
437 FILE *tmp = fopen(trace_ctx->trace_codedbuf_fn, "w"); in va_TraceCreateConfig()
440 trace_ctx->trace_fp_codedbuf = tmp; in va_TraceCreateConfig()
443 trace_ctx->trace_codedbuf_fn, in va_TraceCreateConfig()
445 trace_ctx->trace_fp_codedbuf = NULL; in va_TraceCreateConfig()
452 struct trace_context *trace_ctx, in va_TraceSurfaceAttributes() argument
471 va_TraceMsg(trace_ctx, "\tattrib_list[%i] =\n", i); in va_TraceSurfaceAttributes()
473 va_TraceMsg(trace_ctx, "\t\ttype = %d\n", p->type); in va_TraceSurfaceAttributes()
474 va_TraceMsg(trace_ctx, "\t\tflags = %d\n", p->flags); in va_TraceSurfaceAttributes()
475 va_TraceMsg(trace_ctx, "\t\tvalue.type = %d\n", type); in va_TraceSurfaceAttributes()
478 va_TraceMsg(trace_ctx, "\t\tvalue.value.i = 0x%08x\n", p->value.value.i); in va_TraceSurfaceAttributes()
481 va_TraceMsg(trace_ctx, "\t\tvalue.value.f = %f\n", p->value.value.f); in va_TraceSurfaceAttributes()
484 va_TraceMsg(trace_ctx, "\t\tvalue.value.p = %p\n", p->value.value.p); in va_TraceSurfaceAttributes()
489 va_TraceMsg(trace_ctx, "\t\t--VASurfaceAttribExternalBufferDescriptor\n"); in va_TraceSurfaceAttributes()
490 va_TraceMsg(trace_ctx, "\t\t pixel_format=0x%08x\n", tmp->pixel_format); in va_TraceSurfaceAttributes()
491 va_TraceMsg(trace_ctx, "\t\t width=%d\n", tmp->width); in va_TraceSurfaceAttributes()
492 va_TraceMsg(trace_ctx, "\t\t height=%d\n", tmp->height); in va_TraceSurfaceAttributes()
493 va_TraceMsg(trace_ctx, "\t\t data_size=%d\n", tmp->data_size); in va_TraceSurfaceAttributes()
494 va_TraceMsg(trace_ctx, "\t\t num_planes=%d\n", tmp->num_planes); in va_TraceSurfaceAttributes()
495 va_TraceMsg(trace_ctx, "\t\t pitches[4]=%d %d %d %d\n", in va_TraceSurfaceAttributes()
497 va_TraceMsg(trace_ctx, "\t\t offsets[4]=%d %d %d %d\n", in va_TraceSurfaceAttributes()
499 va_TraceMsg(trace_ctx, "\t\t flags=0x%08x\n", tmp->flags); in va_TraceSurfaceAttributes()
500 va_TraceMsg(trace_ctx, "\t\t num_buffers=0x%08x\n", tmp->num_buffers); in va_TraceSurfaceAttributes()
501 va_TraceMsg(trace_ctx, "\t\t buffers=%p\n", tmp->buffers); in va_TraceSurfaceAttributes()
503 va_TraceMsg(trace_ctx, "\t\t\tbuffers[%d]=%p\n", j, tmp->buffers[j]); in va_TraceSurfaceAttributes()
508 va_TraceMsg(trace_ctx, "\t\tvalue.value.fn = %p\n", p->value.value.fn); in va_TraceSurfaceAttributes()
534 va_TraceMsg(trace_ctx, "\twidth = %d\n", width); in va_TraceCreateSurfaces()
535 va_TraceMsg(trace_ctx, "\theight = %d\n", height); in va_TraceCreateSurfaces()
536 va_TraceMsg(trace_ctx, "\tformat = %d\n", format); in va_TraceCreateSurfaces()
537 va_TraceMsg(trace_ctx, "\tnum_surfaces = %d\n", num_surfaces); in va_TraceCreateSurfaces()
541 va_TraceMsg(trace_ctx, "\t\tsurfaces[%d] = 0x%08x\n", i, surfaces[i]); in va_TraceCreateSurfaces()
544 va_TraceSurfaceAttributes(trace_ctx, attrib_list, &num_attribs); in va_TraceCreateSurfaces()
546 va_TraceMsg(trace_ctx, NULL); in va_TraceCreateSurfaces()
563 va_TraceMsg(trace_ctx, "\t\tsurfaces[%d] = 0x%08x\n", i, surface_list[i]); in va_TraceDestroySurfaces()
566 va_TraceMsg(trace_ctx, NULL); in va_TraceDestroySurfaces()
586 va_TraceMsg(trace_ctx, "\tconfig = 0x%08x\n", config_id); in va_TraceCreateContext()
587 va_TraceMsg(trace_ctx, "\twidth = %d\n", picture_width); in va_TraceCreateContext()
588 va_TraceMsg(trace_ctx, "\theight = %d\n", picture_height); in va_TraceCreateContext()
589 va_TraceMsg(trace_ctx, "\tflag = 0x%08x\n", flag); in va_TraceCreateContext()
590 va_TraceMsg(trace_ctx, "\tnum_render_targets = %d\n", num_render_targets); in va_TraceCreateContext()
593 va_TraceMsg(trace_ctx, "\t\trender_targets[%d] = 0x%08x\n", i, render_targets[i]); in va_TraceCreateContext()
596 va_TraceMsg(trace_ctx, "\tcontext = 0x%08x\n", *context); in va_TraceCreateContext()
597 trace_ctx->trace_context = *context; in va_TraceCreateContext()
599 trace_ctx->trace_context = VA_INVALID_ID; in va_TraceCreateContext()
601 trace_ctx->trace_frame_no = 0; in va_TraceCreateContext()
602 trace_ctx->trace_slice_no = 0; in va_TraceCreateContext()
604 trace_ctx->trace_frame_width = picture_width; in va_TraceCreateContext()
605 trace_ctx->trace_frame_height = picture_height; in va_TraceCreateContext()
607 if (trace_ctx->trace_surface_width == 0) in va_TraceCreateContext()
608 trace_ctx->trace_surface_width = picture_width; in va_TraceCreateContext()
609 if (trace_ctx->trace_surface_height == 0) in va_TraceCreateContext()
610 trace_ctx->trace_surface_height = picture_height; in va_TraceCreateContext()
663 va_TraceMsg(trace_ctx, "\tbuf_type=%s\n", buffer_type_to_string(type)); in va_TraceCreateBuffer()
665 va_TraceMsg(trace_ctx, "\tbuf_id=0x%x\n", *buf_id); in va_TraceCreateBuffer()
666 va_TraceMsg(trace_ctx, "\tsize=%d\n", size); in va_TraceCreateBuffer()
667 va_TraceMsg(trace_ctx, "\tnum_elements=%d\n", num_elements); in va_TraceCreateBuffer()
669 va_TraceMsg(trace_ctx, NULL); in va_TraceCreateBuffer()
683 vaBufferInfo(dpy, trace_ctx->trace_context, buf_id, &type, &size, &num_elements); in va_TraceDestroyBuffer()
690 va_TraceMsg(trace_ctx, "\tbuf_type=%s\n", buffer_type_to_string(type)); in va_TraceDestroyBuffer()
691 va_TraceMsg(trace_ctx, "\tbuf_id=0x%x\n", buf_id); in va_TraceDestroyBuffer()
692 va_TraceMsg(trace_ctx, "\tsize=%d\n", size); in va_TraceDestroyBuffer()
693 va_TraceMsg(trace_ctx, "\tnum_elements=%d\n", num_elements); in va_TraceDestroyBuffer()
695 va_TraceMsg(trace_ctx, NULL); in va_TraceDestroyBuffer()
714 vaBufferInfo(dpy, trace_ctx->trace_context, buf_id, &type, &size, &num_elements); in va_TraceMapBuffer()
721 va_TraceMsg(trace_ctx, "\tbuf_id=0x%x\n", buf_id); in va_TraceMapBuffer()
722 va_TraceMsg(trace_ctx, "\tbuf_type=%s\n", buffer_type_to_string(type)); in va_TraceMapBuffer()
728 va_TraceMsg(trace_ctx, "\tCodedbuf[%d] =\n", i++); in va_TraceMapBuffer()
730 va_TraceMsg(trace_ctx, "\t size = %d\n", buf_list->size); in va_TraceMapBuffer()
731 va_TraceMsg(trace_ctx, "\t bit_offset = %d\n", buf_list->bit_offset); in va_TraceMapBuffer()
732 va_TraceMsg(trace_ctx, "\t status = 0x%08x\n", buf_list->status); in va_TraceMapBuffer()
733 va_TraceMsg(trace_ctx, "\t reserved = 0x%08x\n", buf_list->reserved); in va_TraceMapBuffer()
734 va_TraceMsg(trace_ctx, "\t buf = 0x%08x\n", buf_list->buf); in va_TraceMapBuffer()
736 if (trace_ctx->trace_fp_codedbuf) { in va_TraceMapBuffer()
737 va_TraceMsg(trace_ctx, "\tDump the content to file\n"); in va_TraceMapBuffer()
738 fwrite(buf_list->buf, buf_list->size, 1, trace_ctx->trace_fp_codedbuf); in va_TraceMapBuffer()
743 va_TraceMsg(trace_ctx, NULL); in va_TraceMapBuffer()
762 …va_TraceMsg(trace_ctx, "\t context = %d, buffer = %d, type = %d, size = %d, num_elements = %d\n… in va_TraceVABuffers()
764 va_TraceMsg(trace_ctx, "--%s\n", buffer_type_to_string(type)); in va_TraceVABuffers()
772 if (trace_ctx->trace_fp_log) { in va_TraceVABuffers()
777 fprintf(trace_ctx->trace_fp_log, "\t\t0x%04x:", i); in va_TraceVABuffers()
779 fprintf(trace_ctx->trace_fp_log, "\n\t\t0x%04x:", i); in va_TraceVABuffers()
781 fprintf(trace_ctx->trace_fp_log, " %02x", value); in va_TraceVABuffers()
783 fprintf(trace_ctx->trace_fp_log, "\n"); in va_TraceVABuffers()
786 va_TraceMsg(trace_ctx, NULL); in va_TraceVABuffers()
804 va_TraceMsg(trace_ctx,"VAPictureParameterBufferMPEG2\n"); in va_TraceVAPictureParameterBufferMPEG2()
805 va_TraceMsg(trace_ctx,"\thorizontal size= %d\n", p->horizontal_size); in va_TraceVAPictureParameterBufferMPEG2()
806 va_TraceMsg(trace_ctx,"\tvertical size= %d\n", p->vertical_size); in va_TraceVAPictureParameterBufferMPEG2()
807 va_TraceMsg(trace_ctx,"\tforward reference picture= %d\n", p->forward_reference_picture); in va_TraceVAPictureParameterBufferMPEG2()
808 va_TraceMsg(trace_ctx,"\tbackward reference picture= %d\n", p->backward_reference_picture); in va_TraceVAPictureParameterBufferMPEG2()
809 va_TraceMsg(trace_ctx,"\tpicture coding type= %d\n", p->picture_coding_type); in va_TraceVAPictureParameterBufferMPEG2()
810 va_TraceMsg(trace_ctx,"\tf mode= %d\n", p->f_code); in va_TraceVAPictureParameterBufferMPEG2()
812 va_TraceMsg(trace_ctx,"\tpicture coding extension = %d\n", p->picture_coding_extension.value); in va_TraceVAPictureParameterBufferMPEG2()
813 …va_TraceMsg(trace_ctx,"\tintra_dc_precision= %d\n", p->picture_coding_extension.bits.intra_dc_prec… in va_TraceVAPictureParameterBufferMPEG2()
814 …va_TraceMsg(trace_ctx,"\tpicture_structure= %d\n", p->picture_coding_extension.bits.picture_struct… in va_TraceVAPictureParameterBufferMPEG2()
815 …va_TraceMsg(trace_ctx,"\ttop_field_first= %d\n", p->picture_coding_extension.bits.top_field_first); in va_TraceVAPictureParameterBufferMPEG2()
816 …va_TraceMsg(trace_ctx,"\tframe_pred_frame_dct= %d\n", p->picture_coding_extension.bits.frame_pred_… in va_TraceVAPictureParameterBufferMPEG2()
817 …va_TraceMsg(trace_ctx,"\tconcealment_motion_vectors= %d\n", p->picture_coding_extension.bits.conce… in va_TraceVAPictureParameterBufferMPEG2()
818 va_TraceMsg(trace_ctx,"\tq_scale_type= %d\n", p->picture_coding_extension.bits.q_scale_type); in va_TraceVAPictureParameterBufferMPEG2()
819 …va_TraceMsg(trace_ctx,"\tintra_vlc_format= %d\n", p->picture_coding_extension.bits.intra_vlc_forma… in va_TraceVAPictureParameterBufferMPEG2()
820 … va_TraceMsg(trace_ctx,"\talternate_scan= %d\n", p->picture_coding_extension.bits.alternate_scan); in va_TraceVAPictureParameterBufferMPEG2()
821 …va_TraceMsg(trace_ctx,"\trepeat_first_field= %d\n", p->picture_coding_extension.bits.repeat_first_… in va_TraceVAPictureParameterBufferMPEG2()
822 …va_TraceMsg(trace_ctx,"\tprogressive_frame= %d\n", p->picture_coding_extension.bits.progressive_fr… in va_TraceVAPictureParameterBufferMPEG2()
823 … va_TraceMsg(trace_ctx,"\tis_first_field= %d\n", p->picture_coding_extension.bits.is_first_field); in va_TraceVAPictureParameterBufferMPEG2()
824 va_TraceMsg(trace_ctx, NULL); in va_TraceVAPictureParameterBufferMPEG2()
842 va_TraceMsg(trace_ctx,"VAIQMatrixBufferMPEG2\n"); in va_TraceVAIQMatrixBufferMPEG2()
843 va_TraceMsg(trace_ctx,"\tload_intra_quantiser_matrix = %d\n", p->load_intra_quantiser_matrix); in va_TraceVAIQMatrixBufferMPEG2()
844 …va_TraceMsg(trace_ctx,"\tload_non_intra_quantiser_matrix = %d\n", p->load_non_intra_quantiser_matr… in va_TraceVAIQMatrixBufferMPEG2()
845 …va_TraceMsg(trace_ctx,"\tload_chroma_intra_quantiser_matrix = %d\n", p->load_chroma_intra_quantise… in va_TraceVAIQMatrixBufferMPEG2()
846 …va_TraceMsg(trace_ctx,"\tload_chroma_non_intra_quantiser_matrix = %d\n", p->load_chroma_non_intra_… in va_TraceVAIQMatrixBufferMPEG2()
847 va_TraceMsg(trace_ctx,"\tintra_quantiser_matrix = %d\n", p->intra_quantiser_matrix); in va_TraceVAIQMatrixBufferMPEG2()
848 va_TraceMsg(trace_ctx,"\tnon_intra_quantiser_matrix = %d\n", p->non_intra_quantiser_matrix); in va_TraceVAIQMatrixBufferMPEG2()
849 … va_TraceMsg(trace_ctx,"\tchroma_intra_quantiser_matrix = %d\n", p->chroma_intra_quantiser_matrix); in va_TraceVAIQMatrixBufferMPEG2()
850 …va_TraceMsg(trace_ctx,"\tchroma_non_intra_quantiser_matrix = %d\n", p->chroma_non_intra_quantiser_… in va_TraceVAIQMatrixBufferMPEG2()
851 va_TraceMsg(trace_ctx, NULL); in va_TraceVAIQMatrixBufferMPEG2()
870 trace_ctx->trace_slice_no++; in va_TraceVASliceParameterBufferMPEG2()
872 trace_ctx->trace_slice_size = p->slice_data_size; in va_TraceVASliceParameterBufferMPEG2()
874 va_TraceMsg(trace_ctx,"VASliceParameterBufferMPEG2\n"); in va_TraceVASliceParameterBufferMPEG2()
875 va_TraceMsg(trace_ctx,"\tslice_data_size = %d\n", p->slice_data_size); in va_TraceVASliceParameterBufferMPEG2()
876 va_TraceMsg(trace_ctx,"\tslice_data_offset = %d\n", p->slice_data_offset); in va_TraceVASliceParameterBufferMPEG2()
877 va_TraceMsg(trace_ctx,"\tslice_data_flag = %d\n", p->slice_data_flag); in va_TraceVASliceParameterBufferMPEG2()
878 va_TraceMsg(trace_ctx,"\tmacroblock_offset = %d\n", p->macroblock_offset); in va_TraceVASliceParameterBufferMPEG2()
879 va_TraceMsg(trace_ctx,"\tslice_horizontal_position = %d\n", p->slice_horizontal_position); in va_TraceVASliceParameterBufferMPEG2()
880 va_TraceMsg(trace_ctx,"\tslice_vertical_position = %d\n", p->slice_vertical_position); in va_TraceVASliceParameterBufferMPEG2()
881 va_TraceMsg(trace_ctx,"\tquantiser_scale_code = %d\n", p->quantiser_scale_code); in va_TraceVASliceParameterBufferMPEG2()
882 va_TraceMsg(trace_ctx,"\tintra_slice_flag = %d\n", p->intra_slice_flag); in va_TraceVASliceParameterBufferMPEG2()
883 va_TraceMsg(trace_ctx, NULL); in va_TraceVASliceParameterBufferMPEG2()
901 va_TraceMsg(trace_ctx,"*VAPictureParameterBufferJPEG\n"); in va_TraceVAPictureParameterBufferJPEG()
902 va_TraceMsg(trace_ctx,"\tpicture_width = %u\n", p->picture_width); in va_TraceVAPictureParameterBufferJPEG()
903 va_TraceMsg(trace_ctx,"\tpicture_height = %u\n", p->picture_height); in va_TraceVAPictureParameterBufferJPEG()
904 va_TraceMsg(trace_ctx,"\tcomponents = \n"); in va_TraceVAPictureParameterBufferJPEG()
906 va_TraceMsg(trace_ctx,"\t\t[%d] component_id = %u\n", i, p->components[i].component_id); in va_TraceVAPictureParameterBufferJPEG()
907 … va_TraceMsg(trace_ctx,"\t\t[%d] h_sampling_factor = %u\n", i, p->components[i].h_sampling_factor); in va_TraceVAPictureParameterBufferJPEG()
908 … va_TraceMsg(trace_ctx,"\t\t[%d] v_sampling_factor = %u\n", i, p->components[i].v_sampling_factor); in va_TraceVAPictureParameterBufferJPEG()
909 …va_TraceMsg(trace_ctx,"\t\t[%d] quantiser_table_selector = %u\n", i, p->components[i].quantiser_ta… in va_TraceVAPictureParameterBufferJPEG()
927 va_TraceMsg(trace_ctx,"*VAIQMatrixParameterBufferJPEG\n"); in va_TraceVAIQMatrixBufferJPEG()
928 va_TraceMsg(trace_ctx,"\tload_quantiser_table =\n"); in va_TraceVAIQMatrixBufferJPEG()
930 va_TraceMsg(trace_ctx,"\t\t[%d] = %u\n", i, p->load_quantiser_table[i]); in va_TraceVAIQMatrixBufferJPEG()
932 va_TraceMsg(trace_ctx,"\tquantiser_table =\n"); in va_TraceVAIQMatrixBufferJPEG()
938 va_TraceMsg(trace_ctx,"\t\t[%d] = %s\n", i, tmp); in va_TraceVAIQMatrixBufferJPEG()
955 va_TraceMsg(trace_ctx,"*VASliceParameterBufferJPEG\n"); in va_TraceVASliceParameterBufferJPEG()
956 va_TraceMsg(trace_ctx,"\tslice_data_size = %u\n", p->slice_data_size); in va_TraceVASliceParameterBufferJPEG()
957 va_TraceMsg(trace_ctx,"\tslice_data_offset = %u\n", p->slice_data_offset); in va_TraceVASliceParameterBufferJPEG()
958 va_TraceMsg(trace_ctx,"\tslice_data_flag = %u\n", p->slice_data_flag); in va_TraceVASliceParameterBufferJPEG()
959 va_TraceMsg(trace_ctx,"\tslice_horizontal_position = %u\n", p->slice_horizontal_position); in va_TraceVASliceParameterBufferJPEG()
960 va_TraceMsg(trace_ctx,"\tslice_vertical_position = %u\n", p->slice_vertical_position); in va_TraceVASliceParameterBufferJPEG()
961 va_TraceMsg(trace_ctx,"\tcomponents = \n"); in va_TraceVASliceParameterBufferJPEG()
963 …va_TraceMsg(trace_ctx,"\t\t[%d] component_selector = %u\n", i, p->components[i].component_selector… in va_TraceVASliceParameterBufferJPEG()
964 … va_TraceMsg(trace_ctx,"\t\t[%d] dc_table_selector = %u\n", i, p->components[i].dc_table_selector); in va_TraceVASliceParameterBufferJPEG()
965 … va_TraceMsg(trace_ctx,"\t\t[%d] ac_table_selector = %u\n", i, p->components[i].ac_table_selector); in va_TraceVASliceParameterBufferJPEG()
967 va_TraceMsg(trace_ctx,"\trestart_interval = %u\n", p->restart_interval); in va_TraceVASliceParameterBufferJPEG()
968 va_TraceMsg(trace_ctx,"\tnum_mcus = %u\n", p->num_mcus); in va_TraceVASliceParameterBufferJPEG()
984 va_TraceMsg(trace_ctx,"*VAHuffmanTableBufferJPEG\n"); in va_TraceVAHuffmanTableBufferJPEG()
987 va_TraceMsg(trace_ctx,"\tload_huffman_table[%d] =%u\n", i, p->load_huffman_table[0]); in va_TraceVAHuffmanTableBufferJPEG()
988 va_TraceMsg(trace_ctx,"\thuffman_table[%d] =\n", i); in va_TraceVAHuffmanTableBufferJPEG()
993 va_TraceMsg(trace_ctx,"\t\tnum_dc_codes =%s\n", tmp); in va_TraceVAHuffmanTableBufferJPEG()
998 va_TraceMsg(trace_ctx,"\t\tdc_values =%s\n", tmp); in va_TraceVAHuffmanTableBufferJPEG()
1003 va_TraceMsg(trace_ctx,"\t\tnum_ac_codes =%s\n", tmp); in va_TraceVAHuffmanTableBufferJPEG()
1008 va_TraceMsg(trace_ctx,"\t\tac_values =%s\n", tmp); in va_TraceVAHuffmanTableBufferJPEG()
1013 va_TraceMsg(trace_ctx,"\t\tpad =%s\n", tmp); in va_TraceVAHuffmanTableBufferJPEG()
1031 va_TraceMsg(trace_ctx,"*VAPictureParameterBufferMPEG4\n"); in va_TraceVAPictureParameterBufferMPEG4()
1032 va_TraceMsg(trace_ctx,"\tvop_width = %d\n", p->vop_width); in va_TraceVAPictureParameterBufferMPEG4()
1033 va_TraceMsg(trace_ctx,"\tvop_height = %d\n", p->vop_height); in va_TraceVAPictureParameterBufferMPEG4()
1034 va_TraceMsg(trace_ctx,"\tforward_reference_picture = %d\n", p->forward_reference_picture); in va_TraceVAPictureParameterBufferMPEG4()
1035 va_TraceMsg(trace_ctx,"\tbackward_reference_picture = %d\n", p->backward_reference_picture); in va_TraceVAPictureParameterBufferMPEG4()
1036 va_TraceMsg(trace_ctx,"\tvol_fields value = %d\n", p->vol_fields.value); in va_TraceVAPictureParameterBufferMPEG4()
1037 va_TraceMsg(trace_ctx,"\tshort_video_header= %d\n", p->vol_fields.bits.short_video_header); in va_TraceVAPictureParameterBufferMPEG4()
1038 va_TraceMsg(trace_ctx,"\tchroma_format= %d\n", p->vol_fields.bits.chroma_format); in va_TraceVAPictureParameterBufferMPEG4()
1039 va_TraceMsg(trace_ctx,"\tinterlaced= %d\n", p->vol_fields.bits.interlaced); in va_TraceVAPictureParameterBufferMPEG4()
1040 va_TraceMsg(trace_ctx,"\tobmc_disable= %d\n", p->vol_fields.bits.obmc_disable); in va_TraceVAPictureParameterBufferMPEG4()
1041 va_TraceMsg(trace_ctx,"\tsprite_enable= %d\n", p->vol_fields.bits.sprite_enable); in va_TraceVAPictureParameterBufferMPEG4()
1042 …va_TraceMsg(trace_ctx,"\tsprite_warping_accuracy= %d\n", p->vol_fields.bits.sprite_warping_accurac… in va_TraceVAPictureParameterBufferMPEG4()
1043 va_TraceMsg(trace_ctx,"\tquant_type= %d\n", p->vol_fields.bits.quant_type); in va_TraceVAPictureParameterBufferMPEG4()
1044 va_TraceMsg(trace_ctx,"\tquarter_sample= %d\n", p->vol_fields.bits.quarter_sample); in va_TraceVAPictureParameterBufferMPEG4()
1045 va_TraceMsg(trace_ctx,"\tdata_partitioned= %d\n", p->vol_fields.bits.data_partitioned); in va_TraceVAPictureParameterBufferMPEG4()
1046 va_TraceMsg(trace_ctx,"\treversible_vlc= %d\n", p->vol_fields.bits.reversible_vlc); in va_TraceVAPictureParameterBufferMPEG4()
1047 … va_TraceMsg(trace_ctx,"\tresync_marker_disable= %d\n", p->vol_fields.bits.resync_marker_disable); in va_TraceVAPictureParameterBufferMPEG4()
1048 va_TraceMsg(trace_ctx,"\tno_of_sprite_warping_points = %d\n", p->no_of_sprite_warping_points); in va_TraceVAPictureParameterBufferMPEG4()
1049 va_TraceMsg(trace_ctx,"\tsprite_trajectory_du ="); in va_TraceVAPictureParameterBufferMPEG4()
1051 va_TraceMsg(trace_ctx,"\t%d", p->sprite_trajectory_du[i]); in va_TraceVAPictureParameterBufferMPEG4()
1053 va_TraceMsg(trace_ctx,"\n"); in va_TraceVAPictureParameterBufferMPEG4()
1054 va_TraceMsg(trace_ctx,"\tsprite_trajectory_dv ="); in va_TraceVAPictureParameterBufferMPEG4()
1056 va_TraceMsg(trace_ctx,"\t%d", p->sprite_trajectory_dv[i]); in va_TraceVAPictureParameterBufferMPEG4()
1057 va_TraceMsg(trace_ctx,"\n"); in va_TraceVAPictureParameterBufferMPEG4()
1058 va_TraceMsg(trace_ctx,"\tvop_fields value = %d\n", p->vop_fields.value); in va_TraceVAPictureParameterBufferMPEG4()
1059 va_TraceMsg(trace_ctx,"\tvop_coding_type= %d\n", p->vop_fields.bits.vop_coding_type); in va_TraceVAPictureParameterBufferMPEG4()
1060 …va_TraceMsg(trace_ctx,"\tbackward_reference_vop_coding_type= %d\n", p->vop_fields.bits.backward_re… in va_TraceVAPictureParameterBufferMPEG4()
1061 va_TraceMsg(trace_ctx,"\tvop_rounding_type= %d\n", p->vop_fields.bits.vop_rounding_type); in va_TraceVAPictureParameterBufferMPEG4()
1062 va_TraceMsg(trace_ctx,"\tintra_dc_vlc_thr= %d\n", p->vop_fields.bits.intra_dc_vlc_thr); in va_TraceVAPictureParameterBufferMPEG4()
1063 va_TraceMsg(trace_ctx,"\ttop_field_first= %d\n", p->vop_fields.bits.top_field_first); in va_TraceVAPictureParameterBufferMPEG4()
1064 …va_TraceMsg(trace_ctx,"\talternate_vertical_scan_flag= %d\n", p->vop_fields.bits.alternate_vertica… in va_TraceVAPictureParameterBufferMPEG4()
1065 va_TraceMsg(trace_ctx,"\tvop_fcode_forward = %d\n", p->vop_fcode_forward); in va_TraceVAPictureParameterBufferMPEG4()
1066 va_TraceMsg(trace_ctx,"\tvop_fcode_backward = %d\n", p->vop_fcode_backward); in va_TraceVAPictureParameterBufferMPEG4()
1067 va_TraceMsg(trace_ctx,"\tnum_gobs_in_vop = %d\n", p->num_gobs_in_vop); in va_TraceVAPictureParameterBufferMPEG4()
1068 va_TraceMsg(trace_ctx,"\tnum_macroblocks_in_gob = %d\n", p->num_macroblocks_in_gob); in va_TraceVAPictureParameterBufferMPEG4()
1069 va_TraceMsg(trace_ctx,"\tTRB = %d\n", p->TRB); in va_TraceVAPictureParameterBufferMPEG4()
1070 va_TraceMsg(trace_ctx,"\tTRD = %d\n", p->TRD); in va_TraceVAPictureParameterBufferMPEG4()
1071 va_TraceMsg(trace_ctx, NULL); in va_TraceVAPictureParameterBufferMPEG4()
1090 va_TraceMsg(trace_ctx,"VAIQMatrixBufferMPEG4\n"); in va_TraceVAIQMatrixBufferMPEG4()
1092 va_TraceMsg(trace_ctx,"\tload_intra_quant_mat = %d\n", p->load_intra_quant_mat); in va_TraceVAIQMatrixBufferMPEG4()
1093 va_TraceMsg(trace_ctx,"\tload_non_intra_quant_mat = %d\n", p->load_non_intra_quant_mat); in va_TraceVAIQMatrixBufferMPEG4()
1094 va_TraceMsg(trace_ctx,"\tintra_quant_mat =\n"); in va_TraceVAIQMatrixBufferMPEG4()
1096 va_TraceMsg(trace_ctx,"\t\t%d\n", p->intra_quant_mat[i]); in va_TraceVAIQMatrixBufferMPEG4()
1098 va_TraceMsg(trace_ctx,"\tnon_intra_quant_mat =\n"); in va_TraceVAIQMatrixBufferMPEG4()
1100 va_TraceMsg(trace_ctx,"\t\t%d\n", p->non_intra_quant_mat[i]); in va_TraceVAIQMatrixBufferMPEG4()
1101 va_TraceMsg(trace_ctx, NULL); in va_TraceVAIQMatrixBufferMPEG4()
1118 va_TraceMsg(trace_ctx, "\t--VAEncSequenceParameterBufferMPEG4\n"); in va_TraceVAEncSequenceParameterBufferMPEG4()
1119 … va_TraceMsg(trace_ctx, "\tprofile_and_level_indication = %d\n", p->profile_and_level_indication); in va_TraceVAEncSequenceParameterBufferMPEG4()
1120 va_TraceMsg(trace_ctx, "\tintra_period = %d\n", p->intra_period); in va_TraceVAEncSequenceParameterBufferMPEG4()
1121 va_TraceMsg(trace_ctx, "\tvideo_object_layer_width = %d\n", p->video_object_layer_width); in va_TraceVAEncSequenceParameterBufferMPEG4()
1122 va_TraceMsg(trace_ctx, "\tvideo_object_layer_height = %d\n", p->video_object_layer_height); in va_TraceVAEncSequenceParameterBufferMPEG4()
1123 …va_TraceMsg(trace_ctx, "\tvop_time_increment_resolution = %d\n", p->vop_time_increment_resolution); in va_TraceVAEncSequenceParameterBufferMPEG4()
1124 va_TraceMsg(trace_ctx, "\tfixed_vop_rate = %d\n", p->fixed_vop_rate); in va_TraceVAEncSequenceParameterBufferMPEG4()
1125 va_TraceMsg(trace_ctx, "\tfixed_vop_time_increment = %d\n", p->fixed_vop_time_increment); in va_TraceVAEncSequenceParameterBufferMPEG4()
1126 va_TraceMsg(trace_ctx, "\tbits_per_second = %d\n", p->bits_per_second); in va_TraceVAEncSequenceParameterBufferMPEG4()
1127 va_TraceMsg(trace_ctx, "\tframe_rate = %d\n", p->frame_rate); in va_TraceVAEncSequenceParameterBufferMPEG4()
1128 va_TraceMsg(trace_ctx, "\tinitial_qp = %d\n", p->initial_qp); in va_TraceVAEncSequenceParameterBufferMPEG4()
1129 va_TraceMsg(trace_ctx, "\tmin_qp = %d\n", p->min_qp); in va_TraceVAEncSequenceParameterBufferMPEG4()
1130 va_TraceMsg(trace_ctx, NULL); in va_TraceVAEncSequenceParameterBufferMPEG4()
1147 va_TraceMsg(trace_ctx, "\t--VAEncPictureParameterBufferMPEG4\n"); in va_TraceVAEncPictureParameterBufferMPEG4()
1148 va_TraceMsg(trace_ctx, "\treference_picture = 0x%08x\n", p->reference_picture); in va_TraceVAEncPictureParameterBufferMPEG4()
1149 va_TraceMsg(trace_ctx, "\treconstructed_picture = 0x%08x\n", p->reconstructed_picture); in va_TraceVAEncPictureParameterBufferMPEG4()
1150 va_TraceMsg(trace_ctx, "\tcoded_buf = 0x%08x\n", p->coded_buf); in va_TraceVAEncPictureParameterBufferMPEG4()
1151 va_TraceMsg(trace_ctx, "\tpicture_width = %d\n", p->picture_width); in va_TraceVAEncPictureParameterBufferMPEG4()
1152 va_TraceMsg(trace_ctx, "\tpicture_height = %d\n", p->picture_height); in va_TraceVAEncPictureParameterBufferMPEG4()
1153 va_TraceMsg(trace_ctx, "\tmodulo_time_base = %d\n", p->modulo_time_base); in va_TraceVAEncPictureParameterBufferMPEG4()
1154 va_TraceMsg(trace_ctx, "\tvop_time_increment = %d\n", p->vop_time_increment); in va_TraceVAEncPictureParameterBufferMPEG4()
1155 va_TraceMsg(trace_ctx, "\tpicture_type = %d\n", p->picture_type); in va_TraceVAEncPictureParameterBufferMPEG4()
1156 va_TraceMsg(trace_ctx, NULL); in va_TraceVAEncPictureParameterBufferMPEG4()
1175 trace_ctx->trace_slice_no++; in va_TraceVASliceParameterBufferMPEG4()
1177 trace_ctx->trace_slice_size = p->slice_data_size; in va_TraceVASliceParameterBufferMPEG4()
1179 va_TraceMsg(trace_ctx,"VASliceParameterBufferMPEG4\n"); in va_TraceVASliceParameterBufferMPEG4()
1181 va_TraceMsg(trace_ctx,"\tslice_data_size = %d\n", p->slice_data_size); in va_TraceVASliceParameterBufferMPEG4()
1182 va_TraceMsg(trace_ctx,"\tslice_data_offset = %d\n", p->slice_data_offset); in va_TraceVASliceParameterBufferMPEG4()
1183 va_TraceMsg(trace_ctx,"\tslice_data_flag = %d\n", p->slice_data_flag); in va_TraceVASliceParameterBufferMPEG4()
1184 va_TraceMsg(trace_ctx,"\tmacroblock_offset = %d\n", p->macroblock_offset); in va_TraceVASliceParameterBufferMPEG4()
1185 va_TraceMsg(trace_ctx,"\tmacroblock_number = %d\n", p->macroblock_number); in va_TraceVASliceParameterBufferMPEG4()
1186 va_TraceMsg(trace_ctx,"\tquant_scale = %d\n", p->quant_scale); in va_TraceVASliceParameterBufferMPEG4()
1187 va_TraceMsg(trace_ctx, NULL); in va_TraceVASliceParameterBufferMPEG4()
1194 struct trace_context *trace_ctx, in va_TraceFlagIfNotZero() argument
1200 va_TraceMsg(trace_ctx, "%s = %x\n", name, flag); in va_TraceFlagIfNotZero()
1219 va_TraceMsg(trace_ctx, "\t--VAPictureParameterBufferH264\n"); in va_TraceVAPictureParameterBufferH264()
1221 va_TraceMsg(trace_ctx, "\tCurrPic.picture_id = 0x%08x\n", p->CurrPic.picture_id); in va_TraceVAPictureParameterBufferH264()
1222 va_TraceMsg(trace_ctx, "\tCurrPic.frame_idx = %d\n", p->CurrPic.frame_idx); in va_TraceVAPictureParameterBufferH264()
1223 va_TraceMsg(trace_ctx, "\tCurrPic.flags = %d\n", p->CurrPic.flags); in va_TraceVAPictureParameterBufferH264()
1224 va_TraceMsg(trace_ctx, "\tCurrPic.TopFieldOrderCnt = %d\n", p->CurrPic.TopFieldOrderCnt); in va_TraceVAPictureParameterBufferH264()
1225 va_TraceMsg(trace_ctx, "\tCurrPic.BottomFieldOrderCnt = %d\n", p->CurrPic.BottomFieldOrderCnt); in va_TraceVAPictureParameterBufferH264()
1227 …va_TraceMsg(trace_ctx, "\tReferenceFrames (TopFieldOrderCnt-BottomFieldOrderCnt-picture_id-frame_i… in va_TraceVAPictureParameterBufferH264()
1232 va_TraceMsg(trace_ctx, "\t\t%08d-%08d-0x%08x-%08d-0x%08x\n", in va_TraceVAPictureParameterBufferH264()
1241 va_TraceMsg(trace_ctx, "\tpicture_width_in_mbs_minus1 = %d\n", p->picture_width_in_mbs_minus1); in va_TraceVAPictureParameterBufferH264()
1242 … va_TraceMsg(trace_ctx, "\tpicture_height_in_mbs_minus1 = %d\n", p->picture_height_in_mbs_minus1); in va_TraceVAPictureParameterBufferH264()
1243 va_TraceMsg(trace_ctx, "\tbit_depth_luma_minus8 = %d\n", p->bit_depth_luma_minus8); in va_TraceVAPictureParameterBufferH264()
1244 va_TraceMsg(trace_ctx, "\tbit_depth_chroma_minus8 = %d\n", p->bit_depth_chroma_minus8); in va_TraceVAPictureParameterBufferH264()
1245 va_TraceMsg(trace_ctx, "\tnum_ref_frames = %d\n", p->num_ref_frames); in va_TraceVAPictureParameterBufferH264()
1246 va_TraceMsg(trace_ctx, "\tseq fields = %d\n", p->seq_fields.value); in va_TraceVAPictureParameterBufferH264()
1247 va_TraceMsg(trace_ctx, "\tchroma_format_idc = %d\n", p->seq_fields.bits.chroma_format_idc); in va_TraceVAPictureParameterBufferH264()
1248 …va_TraceMsg(trace_ctx, "\tresidual_colour_transform_flag = %d\n", p->seq_fields.bits.residual_colo… in va_TraceVAPictureParameterBufferH264()
1249 va_TraceMsg(trace_ctx, "\tframe_mbs_only_flag = %d\n", p->seq_fields.bits.frame_mbs_only_flag); in va_TraceVAPictureParameterBufferH264()
1250 …va_TraceMsg(trace_ctx, "\tmb_adaptive_frame_field_flag = %d\n", p->seq_fields.bits.mb_adaptive_fra… in va_TraceVAPictureParameterBufferH264()
1251 …va_TraceMsg(trace_ctx, "\tdirect_8x8_inference_flag = %d\n", p->seq_fields.bits.direct_8x8_inferen… in va_TraceVAPictureParameterBufferH264()
1252 … va_TraceMsg(trace_ctx, "\tMinLumaBiPredSize8x8 = %d\n", p->seq_fields.bits.MinLumaBiPredSize8x8); in va_TraceVAPictureParameterBufferH264()
1253 va_TraceMsg(trace_ctx, "\tnum_slice_groups_minus1 = %d\n", p->num_slice_groups_minus1); in va_TraceVAPictureParameterBufferH264()
1254 va_TraceMsg(trace_ctx, "\tslice_group_map_type = %d\n", p->slice_group_map_type); in va_TraceVAPictureParameterBufferH264()
1255 …va_TraceMsg(trace_ctx, "\tslice_group_change_rate_minus1 = %d\n", p->slice_group_change_rate_minus… in va_TraceVAPictureParameterBufferH264()
1256 va_TraceMsg(trace_ctx, "\tpic_init_qp_minus26 = %d\n", p->pic_init_qp_minus26); in va_TraceVAPictureParameterBufferH264()
1257 va_TraceMsg(trace_ctx, "\tpic_init_qs_minus26 = %d\n", p->pic_init_qs_minus26); in va_TraceVAPictureParameterBufferH264()
1258 va_TraceMsg(trace_ctx, "\tchroma_qp_index_offset = %d\n", p->chroma_qp_index_offset); in va_TraceVAPictureParameterBufferH264()
1259 …va_TraceMsg(trace_ctx, "\tsecond_chroma_qp_index_offset = %d\n", p->second_chroma_qp_index_offset); in va_TraceVAPictureParameterBufferH264()
1260 va_TraceMsg(trace_ctx, "\tpic_fields = 0x%03x\n", p->pic_fields.value); in va_TraceVAPictureParameterBufferH264()
1261 …va_TraceFlagIfNotZero(trace_ctx, "\t\tentropy_coding_mode_flag", p->pic_fields.bits.entropy_coding… in va_TraceVAPictureParameterBufferH264()
1262 … va_TraceFlagIfNotZero(trace_ctx, "\t\tweighted_pred_flag", p->pic_fields.bits.weighted_pred_flag); in va_TraceVAPictureParameterBufferH264()
1263 …va_TraceFlagIfNotZero(trace_ctx, "\t\tweighted_bipred_idc", p->pic_fields.bits.weighted_bipred_idc… in va_TraceVAPictureParameterBufferH264()
1264 …va_TraceFlagIfNotZero(trace_ctx, "\t\ttransform_8x8_mode_flag", p->pic_fields.bits.transform_8x8_m… in va_TraceVAPictureParameterBufferH264()
1265 va_TraceFlagIfNotZero(trace_ctx, "\t\tfield_pic_flag", p->pic_fields.bits.field_pic_flag); in va_TraceVAPictureParameterBufferH264()
1266 …va_TraceFlagIfNotZero(trace_ctx, "\t\tconstrained_intra_pred_flag", p->pic_fields.bits.constrained… in va_TraceVAPictureParameterBufferH264()
1267 …va_TraceFlagIfNotZero(trace_ctx, "\t\tpic_order_present_flag", p->pic_fields.bits.pic_order_presen… in va_TraceVAPictureParameterBufferH264()
1268 …va_TraceFlagIfNotZero(trace_ctx, "\t\tdeblocking_filter_control_present_flag", p->pic_fields.bits.… in va_TraceVAPictureParameterBufferH264()
1269 …va_TraceFlagIfNotZero(trace_ctx, "\t\tredundant_pic_cnt_present_flag", p->pic_fields.bits.redundan… in va_TraceVAPictureParameterBufferH264()
1270 … va_TraceFlagIfNotZero(trace_ctx, "\t\treference_pic_flag", p->pic_fields.bits.reference_pic_flag); in va_TraceVAPictureParameterBufferH264()
1271 va_TraceMsg(trace_ctx, "\tframe_num = %d\n", p->frame_num); in va_TraceVAPictureParameterBufferH264()
1272 …va_TraceMsg(trace_ctx, "\tnum_ref_idx_l0_default_active_minus1 = %d\n", p->num_ref_idx_l0_default_… in va_TraceVAPictureParameterBufferH264()
1273 …va_TraceMsg(trace_ctx, "\tnum_ref_idx_l1_default_active_minus1 = %d\n", p->num_ref_idx_l1_default_… in va_TraceVAPictureParameterBufferH264()
1275 va_TraceMsg(trace_ctx, NULL); in va_TraceVAPictureParameterBufferH264()
1293 trace_ctx->trace_slice_no++; in va_TraceVASliceParameterBufferH264()
1294 trace_ctx->trace_slice_size = p->slice_data_size; in va_TraceVASliceParameterBufferH264()
1296 va_TraceMsg(trace_ctx, "\t--VASliceParameterBufferH264\n"); in va_TraceVASliceParameterBufferH264()
1297 va_TraceMsg(trace_ctx, "\tslice_data_size = %d\n", p->slice_data_size); in va_TraceVASliceParameterBufferH264()
1298 va_TraceMsg(trace_ctx, "\tslice_data_offset = %d\n", p->slice_data_offset); in va_TraceVASliceParameterBufferH264()
1299 va_TraceMsg(trace_ctx, "\tslice_data_flag = %d\n", p->slice_data_flag); in va_TraceVASliceParameterBufferH264()
1300 va_TraceMsg(trace_ctx, "\tslice_data_bit_offset = %d\n", p->slice_data_bit_offset); in va_TraceVASliceParameterBufferH264()
1301 va_TraceMsg(trace_ctx, "\tfirst_mb_in_slice = %d\n", p->first_mb_in_slice); in va_TraceVASliceParameterBufferH264()
1302 va_TraceMsg(trace_ctx, "\tslice_type = %d\n", p->slice_type); in va_TraceVASliceParameterBufferH264()
1303 va_TraceMsg(trace_ctx, "\tdirect_spatial_mv_pred_flag = %d\n", p->direct_spatial_mv_pred_flag); in va_TraceVASliceParameterBufferH264()
1304 … va_TraceMsg(trace_ctx, "\tnum_ref_idx_l0_active_minus1 = %d\n", p->num_ref_idx_l0_active_minus1); in va_TraceVASliceParameterBufferH264()
1305 … va_TraceMsg(trace_ctx, "\tnum_ref_idx_l1_active_minus1 = %d\n", p->num_ref_idx_l1_active_minus1); in va_TraceVASliceParameterBufferH264()
1306 va_TraceMsg(trace_ctx, "\tcabac_init_idc = %d\n", p->cabac_init_idc); in va_TraceVASliceParameterBufferH264()
1307 va_TraceMsg(trace_ctx, "\tslice_qp_delta = %d\n", p->slice_qp_delta); in va_TraceVASliceParameterBufferH264()
1308 …va_TraceMsg(trace_ctx, "\tdisable_deblocking_filter_idc = %d\n", p->disable_deblocking_filter_idc); in va_TraceVASliceParameterBufferH264()
1309 va_TraceMsg(trace_ctx, "\tslice_alpha_c0_offset_div2 = %d\n", p->slice_alpha_c0_offset_div2); in va_TraceVASliceParameterBufferH264()
1310 va_TraceMsg(trace_ctx, "\tslice_beta_offset_div2 = %d\n", p->slice_beta_offset_div2); in va_TraceVASliceParameterBufferH264()
1312 va_TraceMsg(trace_ctx, "\tRefPicList0 =\n"); in va_TraceVASliceParameterBufferH264()
1316 …va_TraceMsg(trace_ctx, "%08d-%08d-0x%08x-%08d-0x%08x\n", p->RefPicList0[i].TopFieldOrderCnt, p->Re… in va_TraceVASliceParameterBufferH264()
1320 va_TraceMsg(trace_ctx, "\tRefPicList1 =\n"); in va_TraceVASliceParameterBufferH264()
1324 …va_TraceMsg(trace_ctx, "%08d-%08d-0x%08x-%08d-0x%08x\n", p->RefPicList1[i].TopFieldOrderCnt, p->Re… in va_TraceVASliceParameterBufferH264()
1329 va_TraceMsg(trace_ctx, "\tluma_log2_weight_denom = %d\n", p->luma_log2_weight_denom); in va_TraceVASliceParameterBufferH264()
1330 va_TraceMsg(trace_ctx, "\tchroma_log2_weight_denom = %d\n", p->chroma_log2_weight_denom); in va_TraceVASliceParameterBufferH264()
1331 va_TraceMsg(trace_ctx, "\tluma_weight_l0_flag = %d\n", p->luma_weight_l0_flag); in va_TraceVASliceParameterBufferH264()
1334 va_TraceMsg(trace_ctx, "\t\t%d\t%d\n", in va_TraceVASliceParameterBufferH264()
1340 va_TraceMsg(trace_ctx, "\tchroma_weight_l0_flag = %d\n", p->chroma_weight_l0_flag); in va_TraceVASliceParameterBufferH264()
1343 va_TraceMsg(trace_ctx, "\t\t%d\t%d\t%d\t%d\n", in va_TraceVASliceParameterBufferH264()
1351 va_TraceMsg(trace_ctx, "\tluma_weight_l1_flag = %d\n", p->luma_weight_l1_flag); in va_TraceVASliceParameterBufferH264()
1354 va_TraceMsg(trace_ctx, "\t\t%d\t%d\n", in va_TraceVASliceParameterBufferH264()
1360 va_TraceMsg(trace_ctx, "\tchroma_weight_l1_flag = %d\n", p->chroma_weight_l1_flag); in va_TraceVASliceParameterBufferH264()
1363 va_TraceMsg(trace_ctx, "\t\t%d\t%d\t%d\t%d\n", in va_TraceVASliceParameterBufferH264()
1370 va_TraceMsg(trace_ctx, NULL); in va_TraceVASliceParameterBufferH264()
1388 va_TraceMsg(trace_ctx, "\t--VAIQMatrixBufferH264\n"); in va_TraceVAIQMatrixBufferH264()
1390 va_TraceMsg(trace_ctx, "\tScalingList4x4[6][16]=\n"); in va_TraceVAIQMatrixBufferH264()
1393 if (trace_ctx->trace_fp_log) { in va_TraceVAIQMatrixBufferH264()
1394 fprintf(trace_ctx->trace_fp_log, "\t%d", p->ScalingList4x4[i][j]); in va_TraceVAIQMatrixBufferH264()
1396 fprintf(trace_ctx->trace_fp_log, "\n"); in va_TraceVAIQMatrixBufferH264()
1401 va_TraceMsg(trace_ctx, "\tScalingList8x8[2][64]=\n"); in va_TraceVAIQMatrixBufferH264()
1404 if (trace_ctx->trace_fp_log) { in va_TraceVAIQMatrixBufferH264()
1405 fprintf(trace_ctx->trace_fp_log,"\t%d", p->ScalingList8x8[i][j]); in va_TraceVAIQMatrixBufferH264()
1407 fprintf(trace_ctx->trace_fp_log, "\n"); in va_TraceVAIQMatrixBufferH264()
1412 va_TraceMsg(trace_ctx, NULL); in va_TraceVAIQMatrixBufferH264()
1430 va_TraceMsg(trace_ctx, "\t--VAEncSequenceParameterBufferH264\n"); in va_TraceVAEncSequenceParameterBufferH264()
1432 va_TraceMsg(trace_ctx, "\tseq_parameter_set_id = %d\n", p->seq_parameter_set_id); in va_TraceVAEncSequenceParameterBufferH264()
1433 va_TraceMsg(trace_ctx, "\tlevel_idc = %d\n", p->level_idc); in va_TraceVAEncSequenceParameterBufferH264()
1434 va_TraceMsg(trace_ctx, "\tintra_period = %d\n", p->intra_period); in va_TraceVAEncSequenceParameterBufferH264()
1435 va_TraceMsg(trace_ctx, "\tintra_idr_period = %d\n", p->intra_idr_period); in va_TraceVAEncSequenceParameterBufferH264()
1436 va_TraceMsg(trace_ctx, "\tip_period = %d\n", p->ip_period); in va_TraceVAEncSequenceParameterBufferH264()
1437 va_TraceMsg(trace_ctx, "\tbits_per_second = %d\n", p->bits_per_second); in va_TraceVAEncSequenceParameterBufferH264()
1438 va_TraceMsg(trace_ctx, "\tmax_num_ref_frames = %d\n", p->max_num_ref_frames); in va_TraceVAEncSequenceParameterBufferH264()
1439 va_TraceMsg(trace_ctx, "\tpicture_width_in_mbs = %d\n", p->picture_width_in_mbs); in va_TraceVAEncSequenceParameterBufferH264()
1440 va_TraceMsg(trace_ctx, "\tpicture_height_in_mbs = %d\n", p->picture_height_in_mbs); in va_TraceVAEncSequenceParameterBufferH264()
1441 va_TraceMsg(trace_ctx, "\tchroma_format_idc = %d\n", p->seq_fields.bits.chroma_format_idc); in va_TraceVAEncSequenceParameterBufferH264()
1442 va_TraceMsg(trace_ctx, "\tframe_mbs_only_flag = %d\n", p->seq_fields.bits.frame_mbs_only_flag); in va_TraceVAEncSequenceParameterBufferH264()
1443 …va_TraceMsg(trace_ctx, "\tmb_adaptive_frame_field_flag = %d\n", p->seq_fields.bits.mb_adaptive_fra… in va_TraceVAEncSequenceParameterBufferH264()
1444 …va_TraceMsg(trace_ctx, "\tseq_scaling_matrix_present_flag = %d\n", p->seq_fields.bits.seq_scaling_… in va_TraceVAEncSequenceParameterBufferH264()
1445 …va_TraceMsg(trace_ctx, "\tdirect_8x8_inference_flag = %d\n", p->seq_fields.bits.direct_8x8_inferen… in va_TraceVAEncSequenceParameterBufferH264()
1446 …va_TraceMsg(trace_ctx, "\tlog2_max_frame_num_minus4 = %d\n", p->seq_fields.bits.log2_max_frame_num… in va_TraceVAEncSequenceParameterBufferH264()
1447 va_TraceMsg(trace_ctx, "\tpic_order_cnt_type = %d\n", p->seq_fields.bits.pic_order_cnt_type); in va_TraceVAEncSequenceParameterBufferH264()
1448 …va_TraceMsg(trace_ctx, "\tlog2_max_pic_order_cnt_lsb_minus4 = %d\n", p->seq_fields.bits.log2_max_p… in va_TraceVAEncSequenceParameterBufferH264()
1449 …va_TraceMsg(trace_ctx, "\tdelta_pic_order_always_zero_flag = %d\n", p->seq_fields.bits.delta_pic_o… in va_TraceVAEncSequenceParameterBufferH264()
1450 va_TraceMsg(trace_ctx, "\tbit_depth_luma_minus8 = %d\n", p->bit_depth_luma_minus8); in va_TraceVAEncSequenceParameterBufferH264()
1451 va_TraceMsg(trace_ctx, "\tbit_depth_chroma_minus8 = %d\n", p->bit_depth_chroma_minus8); in va_TraceVAEncSequenceParameterBufferH264()
1452 …va_TraceMsg(trace_ctx, "\tnum_ref_frames_in_pic_order_cnt_cycle = %d\n", p->num_ref_frames_in_pic_… in va_TraceVAEncSequenceParameterBufferH264()
1453 va_TraceMsg(trace_ctx, "\toffset_for_non_ref_pic = %d\n", p->offset_for_non_ref_pic); in va_TraceVAEncSequenceParameterBufferH264()
1454 …va_TraceMsg(trace_ctx, "\toffset_for_top_to_bottom_field = %d\n", p->offset_for_top_to_bottom_fiel… in va_TraceVAEncSequenceParameterBufferH264()
1456 va_TraceMsg(trace_ctx, "\toffset_for_ref_frame[%d] = %d\n", i, p->offset_for_ref_frame[i]); in va_TraceVAEncSequenceParameterBufferH264()
1457 va_TraceMsg(trace_ctx, "\tframe_cropping_flag = %d\n", p->frame_cropping_flag); in va_TraceVAEncSequenceParameterBufferH264()
1458 va_TraceMsg(trace_ctx, "\tframe_crop_left_offset = %d\n", p->frame_crop_left_offset); in va_TraceVAEncSequenceParameterBufferH264()
1459 va_TraceMsg(trace_ctx, "\tframe_crop_right_offset = %d\n", p->frame_crop_right_offset); in va_TraceVAEncSequenceParameterBufferH264()
1460 va_TraceMsg(trace_ctx, "\tframe_crop_top_offset = %d\n", p->frame_crop_top_offset); in va_TraceVAEncSequenceParameterBufferH264()
1461 va_TraceMsg(trace_ctx, "\tframe_crop_bottom_offset = %d\n", p->frame_crop_bottom_offset); in va_TraceVAEncSequenceParameterBufferH264()
1462 va_TraceMsg(trace_ctx, "\tvui_parameters_present_flag = %d\n", p->vui_parameters_present_flag); in va_TraceVAEncSequenceParameterBufferH264()
1463 …va_TraceMsg(trace_ctx, "\taspect_ratio_info_present_flag = %d\n", p->vui_fields.bits.aspect_ratio_… in va_TraceVAEncSequenceParameterBufferH264()
1464 …va_TraceMsg(trace_ctx, "\ttiming_info_present_flag = %d\n", p->vui_fields.bits.timing_info_present… in va_TraceVAEncSequenceParameterBufferH264()
1465 …va_TraceMsg(trace_ctx, "\tbitstream_restriction_flag = %d\n", p->vui_fields.bits.bitstream_restric… in va_TraceVAEncSequenceParameterBufferH264()
1466 …va_TraceMsg(trace_ctx, "\tlog2_max_mv_length_horizontal = %d\n", p->vui_fields.bits.log2_max_mv_le… in va_TraceVAEncSequenceParameterBufferH264()
1467 …va_TraceMsg(trace_ctx, "\tlog2_max_mv_length_vertical = %d\n", p->vui_fields.bits.log2_max_mv_leng… in va_TraceVAEncSequenceParameterBufferH264()
1468 va_TraceMsg(trace_ctx, "\taspect_ratio_idc = %d\n", p->aspect_ratio_idc); in va_TraceVAEncSequenceParameterBufferH264()
1469 va_TraceMsg(trace_ctx, "\tsar_width = %d\n", p->sar_width); in va_TraceVAEncSequenceParameterBufferH264()
1470 va_TraceMsg(trace_ctx, "\tsar_height = %d\n", p->sar_height); in va_TraceVAEncSequenceParameterBufferH264()
1471 va_TraceMsg(trace_ctx, "\tnum_units_in_tick = %d\n", p->num_units_in_tick); in va_TraceVAEncSequenceParameterBufferH264()
1472 va_TraceMsg(trace_ctx, "\ttime_scale = %d\n", p->time_scale); in va_TraceVAEncSequenceParameterBufferH264()
1474 va_TraceMsg(trace_ctx, NULL); in va_TraceVAEncSequenceParameterBufferH264()
1493 va_TraceMsg(trace_ctx, "\t--VAEncPictureParameterBufferH264\n"); in va_TraceVAEncPictureParameterBufferH264()
1495 va_TraceMsg(trace_ctx, "\tCurrPic.picture_id = 0x%08x\n", p->CurrPic.picture_id); in va_TraceVAEncPictureParameterBufferH264()
1496 va_TraceMsg(trace_ctx, "\tCurrPic.frame_idx = %d\n", p->CurrPic.frame_idx); in va_TraceVAEncPictureParameterBufferH264()
1497 va_TraceMsg(trace_ctx, "\tCurrPic.flags = %d\n", p->CurrPic.flags); in va_TraceVAEncPictureParameterBufferH264()
1498 va_TraceMsg(trace_ctx, "\tCurrPic.TopFieldOrderCnt = %d\n", p->CurrPic.TopFieldOrderCnt); in va_TraceVAEncPictureParameterBufferH264()
1499 va_TraceMsg(trace_ctx, "\tCurrPic.BottomFieldOrderCnt = %d\n", p->CurrPic.BottomFieldOrderCnt); in va_TraceVAEncPictureParameterBufferH264()
1500 …va_TraceMsg(trace_ctx, "\tReferenceFrames (TopFieldOrderCnt-BottomFieldOrderCnt-picture_id-frame_i… in va_TraceVAEncPictureParameterBufferH264()
1505 va_TraceMsg(trace_ctx, "\t\t%08d-%08d-0x%08x-%08d-0x%08x\n", in va_TraceVAEncPictureParameterBufferH264()
1515 va_TraceMsg(trace_ctx, "\tcoded_buf = %08x\n", p->coded_buf); in va_TraceVAEncPictureParameterBufferH264()
1516 va_TraceMsg(trace_ctx, "\tpic_parameter_set_id = %d\n", p->pic_parameter_set_id); in va_TraceVAEncPictureParameterBufferH264()
1517 va_TraceMsg(trace_ctx, "\tseq_parameter_set_id = %d\n", p->seq_parameter_set_id); in va_TraceVAEncPictureParameterBufferH264()
1518 va_TraceMsg(trace_ctx, "\tlast_picture = 0x%08x\n", p->last_picture); in va_TraceVAEncPictureParameterBufferH264()
1519 va_TraceMsg(trace_ctx, "\tframe_num = %d\n", p->frame_num); in va_TraceVAEncPictureParameterBufferH264()
1520 va_TraceMsg(trace_ctx, "\tpic_init_qp = %d\n", p->pic_init_qp); in va_TraceVAEncPictureParameterBufferH264()
1521 … va_TraceMsg(trace_ctx, "\tnum_ref_idx_l0_active_minus1 = %d\n", p->num_ref_idx_l0_active_minus1); in va_TraceVAEncPictureParameterBufferH264()
1522 … va_TraceMsg(trace_ctx, "\tnum_ref_idx_l1_active_minus1 = %d\n", p->num_ref_idx_l1_active_minus1); in va_TraceVAEncPictureParameterBufferH264()
1523 va_TraceMsg(trace_ctx, "\tchroma_qp_index_offset = %d\n", p->chroma_qp_index_offset); in va_TraceVAEncPictureParameterBufferH264()
1524 …va_TraceMsg(trace_ctx, "\tsecond_chroma_qp_index_offset = %d\n", p->second_chroma_qp_index_offset); in va_TraceVAEncPictureParameterBufferH264()
1525 va_TraceMsg(trace_ctx, "\tpic_fields = 0x%03x\n", p->pic_fields.value); in va_TraceVAEncPictureParameterBufferH264()
1526 va_TraceMsg(trace_ctx, "\tidr_pic_flag = %d\n", p->pic_fields.bits.idr_pic_flag); in va_TraceVAEncPictureParameterBufferH264()
1527 va_TraceMsg(trace_ctx, "\treference_pic_flag = %d\n", p->pic_fields.bits.reference_pic_flag); in va_TraceVAEncPictureParameterBufferH264()
1528 …va_TraceMsg(trace_ctx, "\tentropy_coding_mode_flag = %d\n", p->pic_fields.bits.entropy_coding_mode… in va_TraceVAEncPictureParameterBufferH264()
1529 va_TraceMsg(trace_ctx, "\tweighted_pred_flag = %d\n", p->pic_fields.bits.weighted_pred_flag); in va_TraceVAEncPictureParameterBufferH264()
1530 va_TraceMsg(trace_ctx, "\tweighted_bipred_idc = %d\n", p->pic_fields.bits.weighted_bipred_idc); in va_TraceVAEncPictureParameterBufferH264()
1531 …va_TraceMsg(trace_ctx, "\tconstrained_intra_pred_flag = %d\n", p->pic_fields.bits.constrained_intr… in va_TraceVAEncPictureParameterBufferH264()
1532 …va_TraceMsg(trace_ctx, "\ttransform_8x8_mode_flag = %d\n", p->pic_fields.bits.transform_8x8_mode_f… in va_TraceVAEncPictureParameterBufferH264()
1533 …va_TraceMsg(trace_ctx, "\tdeblocking_filter_control_present_flag = %d\n", p->pic_fields.bits.deblo… in va_TraceVAEncPictureParameterBufferH264()
1534 …va_TraceMsg(trace_ctx, "\tredundant_pic_cnt_present_flag = %d\n", p->pic_fields.bits.redundant_pic… in va_TraceVAEncPictureParameterBufferH264()
1535 …va_TraceMsg(trace_ctx, "\tpic_order_present_flag = %d\n", p->pic_fields.bits.pic_order_present_fla… in va_TraceVAEncPictureParameterBufferH264()
1536 …va_TraceMsg(trace_ctx, "\tpic_scaling_matrix_present_flag = %d\n", p->pic_fields.bits.pic_scaling_… in va_TraceVAEncPictureParameterBufferH264()
1538 va_TraceMsg(trace_ctx, NULL); in va_TraceVAEncPictureParameterBufferH264()
1555 va_TraceMsg(trace_ctx, "\t--VAEncSliceParameterBuffer\n"); in va_TraceVAEncSliceParameterBuffer()
1557 va_TraceMsg(trace_ctx, "\tstart_row_number = %d\n", p->start_row_number); in va_TraceVAEncSliceParameterBuffer()
1558 va_TraceMsg(trace_ctx, "\tslice_height = %d\n", p->slice_height); in va_TraceVAEncSliceParameterBuffer()
1559 va_TraceMsg(trace_ctx, "\tslice_flags.is_intra = %d\n", p->slice_flags.bits.is_intra); in va_TraceVAEncSliceParameterBuffer()
1560 …va_TraceMsg(trace_ctx, "\tslice_flags.disable_deblocking_filter_idc = %d\n", p->slice_flags.bits.d… in va_TraceVAEncSliceParameterBuffer()
1561 …va_TraceMsg(trace_ctx, "\tslice_flags.uses_long_term_ref = %d\n", p->slice_flags.bits.uses_long_te… in va_TraceVAEncSliceParameterBuffer()
1562 …va_TraceMsg(trace_ctx, "\tslice_flags.is_long_term_ref = %d\n", p->slice_flags.bits.is_long_term_r… in va_TraceVAEncSliceParameterBuffer()
1563 va_TraceMsg(trace_ctx, NULL); in va_TraceVAEncSliceParameterBuffer()
1584 va_TraceMsg(trace_ctx, "\t--VAEncSliceParameterBufferH264\n"); in va_TraceVAEncSliceParameterBufferH264()
1585 va_TraceMsg(trace_ctx, "\tmacroblock_address = %d\n", p->macroblock_address); in va_TraceVAEncSliceParameterBufferH264()
1586 va_TraceMsg(trace_ctx, "\tnum_macroblocks = %d\n", p->num_macroblocks); in va_TraceVAEncSliceParameterBufferH264()
1587 va_TraceMsg(trace_ctx, "\tmacroblock_info = %08x\n", p->macroblock_info); in va_TraceVAEncSliceParameterBufferH264()
1588 va_TraceMsg(trace_ctx, "\tslice_type = %d\n", p->slice_type); in va_TraceVAEncSliceParameterBufferH264()
1589 va_TraceMsg(trace_ctx, "\tpic_parameter_set_id = %d\n", p->pic_parameter_set_id); in va_TraceVAEncSliceParameterBufferH264()
1590 va_TraceMsg(trace_ctx, "\tidr_pic_id = %d\n", p->idr_pic_id); in va_TraceVAEncSliceParameterBufferH264()
1591 va_TraceMsg(trace_ctx, "\tpic_order_cnt_lsb = %d\n", p->pic_order_cnt_lsb); in va_TraceVAEncSliceParameterBufferH264()
1592 va_TraceMsg(trace_ctx, "\tdelta_pic_order_cnt_bottom = %d\n", p->delta_pic_order_cnt_bottom); in va_TraceVAEncSliceParameterBufferH264()
1593 va_TraceMsg(trace_ctx, "\tdelta_pic_order_cnt[0] = %d\n", p->delta_pic_order_cnt[0]); in va_TraceVAEncSliceParameterBufferH264()
1594 va_TraceMsg(trace_ctx, "\tdelta_pic_order_cnt[1] = %d\n", p->delta_pic_order_cnt[1]); in va_TraceVAEncSliceParameterBufferH264()
1595 va_TraceMsg(trace_ctx, "\tdirect_spatial_mv_pred_flag = %d\n", p->direct_spatial_mv_pred_flag); in va_TraceVAEncSliceParameterBufferH264()
1596 …va_TraceMsg(trace_ctx, "\tnum_ref_idx_active_override_flag = %d\n", p->num_ref_idx_active_override… in va_TraceVAEncSliceParameterBufferH264()
1597 … va_TraceMsg(trace_ctx, "\tnum_ref_idx_l1_active_minus1 = %d\n", p->num_ref_idx_l1_active_minus1); in va_TraceVAEncSliceParameterBufferH264()
1598 va_TraceMsg(trace_ctx, "\tslice_beta_offset_div2 = %d\n", p->slice_beta_offset_div2); in va_TraceVAEncSliceParameterBufferH264()
1600 …va_TraceMsg(trace_ctx, "\tRefPicList0 (TopFieldOrderCnt-BottomFieldOrderCnt-picture_id-frame_idx-f… in va_TraceVAEncSliceParameterBufferH264()
1607 va_TraceMsg(trace_ctx, "\t\t%08d-%08d-0x%08x-%08d-0x%08x\n", in va_TraceVAEncSliceParameterBufferH264()
1617 …va_TraceMsg(trace_ctx, "\tRefPicList1 (TopFieldOrderCnt-BottomFieldOrderCnt-picture_id-frame_idx-f… in va_TraceVAEncSliceParameterBufferH264()
1621 va_TraceMsg(trace_ctx, "\t\t%08d-%08d-0x%08x-%08d-0x%08d\n", in va_TraceVAEncSliceParameterBufferH264()
1632 va_TraceMsg(trace_ctx, "\tluma_log2_weight_denom = %d\n", p->luma_log2_weight_denom); in va_TraceVAEncSliceParameterBufferH264()
1633 va_TraceMsg(trace_ctx, "\tchroma_log2_weight_denom = %d\n", p->chroma_log2_weight_denom); in va_TraceVAEncSliceParameterBufferH264()
1634 va_TraceMsg(trace_ctx, "\tluma_weight_l0_flag = %d\n", p->luma_weight_l0_flag); in va_TraceVAEncSliceParameterBufferH264()
1637 va_TraceMsg(trace_ctx, "\t\t%d\t%d\n", in va_TraceVAEncSliceParameterBufferH264()
1643 va_TraceMsg(trace_ctx, "\tchroma_weight_l0_flag = %d\n", p->chroma_weight_l0_flag); in va_TraceVAEncSliceParameterBufferH264()
1646 va_TraceMsg(trace_ctx, "\t\t%d\t%d\t%d\t%d\n", in va_TraceVAEncSliceParameterBufferH264()
1654 va_TraceMsg(trace_ctx, "\tluma_weight_l1_flag = %d\n", p->luma_weight_l1_flag); in va_TraceVAEncSliceParameterBufferH264()
1657 va_TraceMsg(trace_ctx, "\t\t%d\t\t%d\n", in va_TraceVAEncSliceParameterBufferH264()
1663 va_TraceMsg(trace_ctx, "\tchroma_weight_l1_flag = %d\n", p->chroma_weight_l1_flag); in va_TraceVAEncSliceParameterBufferH264()
1666 va_TraceMsg(trace_ctx, "\t\t%d\t%d\t%d\t%d\n", in va_TraceVAEncSliceParameterBufferH264()
1673 va_TraceMsg(trace_ctx, NULL); in va_TraceVAEncSliceParameterBufferH264()
1675 va_TraceMsg(trace_ctx, "\tcabac_init_idc = %d\n", p->cabac_init_idc); in va_TraceVAEncSliceParameterBufferH264()
1676 va_TraceMsg(trace_ctx, "\tslice_qp_delta = %d\n", p->slice_qp_delta); in va_TraceVAEncSliceParameterBufferH264()
1677 …va_TraceMsg(trace_ctx, "\tdisable_deblocking_filter_idc = %d\n", p->disable_deblocking_filter_idc); in va_TraceVAEncSliceParameterBufferH264()
1678 va_TraceMsg(trace_ctx, "\tslice_alpha_c0_offset_div2 = %d\n", p->slice_alpha_c0_offset_div2); in va_TraceVAEncSliceParameterBufferH264()
1679 va_TraceMsg(trace_ctx, "\tslice_beta_offset_div2 = %d\n", p->slice_beta_offset_div2); in va_TraceVAEncSliceParameterBufferH264()
1680 va_TraceMsg(trace_ctx, NULL); in va_TraceVAEncSliceParameterBufferH264()
1700 va_TraceMsg(trace_ctx, "\t--VAEncPackedHeaderParameterBuffer\n"); in va_TraceVAEncPackedHeaderParameterBufferType()
1701 va_TraceMsg(trace_ctx, "\ttype = 0x%08x\n", p->type); in va_TraceVAEncPackedHeaderParameterBufferType()
1702 va_TraceMsg(trace_ctx, "\tbit_length = %d\n", p->bit_length); in va_TraceVAEncPackedHeaderParameterBufferType()
1703 va_TraceMsg(trace_ctx, "\thas_emulation_bytes = %d\n", p->has_emulation_bytes); in va_TraceVAEncPackedHeaderParameterBufferType()
1704 va_TraceMsg(trace_ctx, NULL); in va_TraceVAEncPackedHeaderParameterBufferType()
1726 va_TraceMsg(trace_ctx, "\t--VAEncMiscParameterFrameRate\n"); in va_TraceVAEncMiscParameterBuffer()
1727 va_TraceMsg(trace_ctx, "\tframerate = %d\n", p->framerate); in va_TraceVAEncMiscParameterBuffer()
1735 va_TraceMsg(trace_ctx, "\t--VAEncMiscParameterRateControl\n"); in va_TraceVAEncMiscParameterBuffer()
1736 va_TraceMsg(trace_ctx, "\tbits_per_second = %d\n", p->bits_per_second); in va_TraceVAEncMiscParameterBuffer()
1737 va_TraceMsg(trace_ctx, "\ttarget_percentage = %d\n", p->target_percentage); in va_TraceVAEncMiscParameterBuffer()
1738 va_TraceMsg(trace_ctx, "\twindow_size = %d\n", p->window_size); in va_TraceVAEncMiscParameterBuffer()
1739 va_TraceMsg(trace_ctx, "\tinitial_qp = %d\n", p->initial_qp); in va_TraceVAEncMiscParameterBuffer()
1740 va_TraceMsg(trace_ctx, "\tmin_qp = %d\n", p->min_qp); in va_TraceVAEncMiscParameterBuffer()
1741 va_TraceMsg(trace_ctx, "\tbasic_unit_size = %d\n", p->basic_unit_size); in va_TraceVAEncMiscParameterBuffer()
1742 va_TraceMsg(trace_ctx, "\trc_flags.reset = %d \n", p->rc_flags.bits.reset); in va_TraceVAEncMiscParameterBuffer()
1743 …va_TraceMsg(trace_ctx, "\trc_flags.disable_frame_skip = %d\n", p->rc_flags.bits.disable_frame_skip… in va_TraceVAEncMiscParameterBuffer()
1744 …va_TraceMsg(trace_ctx, "\trc_flags.disable_bit_stuffing = %d\n", p->rc_flags.bits.disable_bit_stuf… in va_TraceVAEncMiscParameterBuffer()
1751 va_TraceMsg(trace_ctx, "\t--VAEncMiscParameterTypeMaxSliceSize\n"); in va_TraceVAEncMiscParameterBuffer()
1752 va_TraceMsg(trace_ctx, "\tmax_slice_size = %d\n", p->max_slice_size); in va_TraceVAEncMiscParameterBuffer()
1759 va_TraceMsg(trace_ctx, "\t--VAEncMiscParameterAIR\n"); in va_TraceVAEncMiscParameterBuffer()
1760 va_TraceMsg(trace_ctx, "\tair_num_mbs = %d\n", p->air_num_mbs); in va_TraceVAEncMiscParameterBuffer()
1761 va_TraceMsg(trace_ctx, "\tair_threshold = %d\n", p->air_threshold); in va_TraceVAEncMiscParameterBuffer()
1762 va_TraceMsg(trace_ctx, "\tair_auto = %d\n", p->air_auto); in va_TraceVAEncMiscParameterBuffer()
1769 va_TraceMsg(trace_ctx, "\t--VAEncMiscParameterHRD\n"); in va_TraceVAEncMiscParameterBuffer()
1770 va_TraceMsg(trace_ctx, "\tinitial_buffer_fullness = %d\n", p->initial_buffer_fullness); in va_TraceVAEncMiscParameterBuffer()
1771 va_TraceMsg(trace_ctx, "\tbuffer_size = %d\n", p->buffer_size); in va_TraceVAEncMiscParameterBuffer()
1778 va_TraceMsg(trace_ctx, "\t--VAEncMiscParameterTypeMaxFrameSize\n"); in va_TraceVAEncMiscParameterBuffer()
1779 va_TraceMsg(trace_ctx, "\tmax_frame_size = %d\n", p->max_frame_size); in va_TraceVAEncMiscParameterBuffer()
1785 va_TraceMsg(trace_ctx,"\t--VAEncMiscParameterTypeTemporalLayerStructure\n"); in va_TraceVAEncMiscParameterBuffer()
1786 va_TraceMsg(trace_ctx,"\tnumber_of_layers = %d\n", p->number_of_layers); in va_TraceVAEncMiscParameterBuffer()
1787 va_TraceMsg(trace_ctx,"\tperiodicity = %d\n", p->periodicity); in va_TraceVAEncMiscParameterBuffer()
1789 va_TraceMsg(trace_ctx,"\tlayer_id[%d] = %d\n", i, p->layer_id[i]); in va_TraceVAEncMiscParameterBuffer()
1793 va_TraceMsg(trace_ctx, "Unknown VAEncMiscParameterBuffer(type = %d):\n", tmp->type); in va_TraceVAEncMiscParameterBuffer()
1797 va_TraceMsg(trace_ctx, NULL); in va_TraceVAEncMiscParameterBuffer()
1816 va_TraceMsg(trace_ctx, "\t--VAPictureParameterBufferVC1\n"); in va_TraceVAPictureParameterBufferVC1()
1817 …va_TraceMsg(trace_ctx, "\t context = %d, buffer = %d, type = %d, size = %d, num_elements = %d\n… in va_TraceVAPictureParameterBufferVC1()
1819 va_TraceMsg(trace_ctx, "\tforward_reference_picture = 0x%08x\n", p->forward_reference_picture); in va_TraceVAPictureParameterBufferVC1()
1820 … va_TraceMsg(trace_ctx, "\tbackward_reference_picture = 0x%08x\n", p->backward_reference_picture); in va_TraceVAPictureParameterBufferVC1()
1821 va_TraceMsg(trace_ctx, "\tinloop_decoded_picture = 0x%08x\n", p->inloop_decoded_picture); in va_TraceVAPictureParameterBufferVC1()
1823 va_TraceMsg(trace_ctx, "\tpulldown = %d\n", p->sequence_fields.bits.pulldown); in va_TraceVAPictureParameterBufferVC1()
1824 va_TraceMsg(trace_ctx, "\tinterlace = %d\n", p->sequence_fields.bits.interlace); in va_TraceVAPictureParameterBufferVC1()
1825 va_TraceMsg(trace_ctx, "\ttfcntrflag = %d\n", p->sequence_fields.bits.tfcntrflag); in va_TraceVAPictureParameterBufferVC1()
1826 va_TraceMsg(trace_ctx, "\tfinterpflag = %d\n", p->sequence_fields.bits.finterpflag); in va_TraceVAPictureParameterBufferVC1()
1827 va_TraceMsg(trace_ctx, "\tpsf = %d\n", p->sequence_fields.bits.psf); in va_TraceVAPictureParameterBufferVC1()
1828 va_TraceMsg(trace_ctx, "\tmultires = %d\n", p->sequence_fields.bits.multires); in va_TraceVAPictureParameterBufferVC1()
1829 va_TraceMsg(trace_ctx, "\toverlap = %d\n", p->sequence_fields.bits.overlap); in va_TraceVAPictureParameterBufferVC1()
1830 va_TraceMsg(trace_ctx, "\tsyncmarker = %d\n", p->sequence_fields.bits.syncmarker); in va_TraceVAPictureParameterBufferVC1()
1831 va_TraceMsg(trace_ctx, "\trangered = %d\n", p->sequence_fields.bits.rangered); in va_TraceVAPictureParameterBufferVC1()
1832 va_TraceMsg(trace_ctx, "\tmax_b_frames = %d\n", p->sequence_fields.bits.max_b_frames); in va_TraceVAPictureParameterBufferVC1()
1833 va_TraceMsg(trace_ctx, "\tprofile = %d\n", p->sequence_fields.bits.profile); in va_TraceVAPictureParameterBufferVC1()
1834 va_TraceMsg(trace_ctx, "\tcoded_width = %d\n", p->coded_width); in va_TraceVAPictureParameterBufferVC1()
1835 va_TraceMsg(trace_ctx, "\tcoded_height = %d\n", p->coded_height); in va_TraceVAPictureParameterBufferVC1()
1836 va_TraceMsg(trace_ctx, "\tclosed_entry = %d\n", p->entrypoint_fields.bits.closed_entry); in va_TraceVAPictureParameterBufferVC1()
1837 va_TraceMsg(trace_ctx, "\tbroken_link = %d\n", p->entrypoint_fields.bits.broken_link); in va_TraceVAPictureParameterBufferVC1()
1838 va_TraceMsg(trace_ctx, "\tclosed_entry = %d\n", p->entrypoint_fields.bits.closed_entry); in va_TraceVAPictureParameterBufferVC1()
1839 va_TraceMsg(trace_ctx, "\tpanscan_flag = %d\n", p->entrypoint_fields.bits.panscan_flag); in va_TraceVAPictureParameterBufferVC1()
1840 va_TraceMsg(trace_ctx, "\tloopfilter = %d\n", p->entrypoint_fields.bits.loopfilter); in va_TraceVAPictureParameterBufferVC1()
1841 va_TraceMsg(trace_ctx, "\tconditional_overlap_flag = %d\n", p->conditional_overlap_flag); in va_TraceVAPictureParameterBufferVC1()
1842 va_TraceMsg(trace_ctx, "\tfast_uvmc_flag = %d\n", p->fast_uvmc_flag); in va_TraceVAPictureParameterBufferVC1()
1843 …va_TraceMsg(trace_ctx, "\trange_mapping_luma_flag = %d\n", p->range_mapping_fields.bits.luma_flag); in va_TraceVAPictureParameterBufferVC1()
1844 va_TraceMsg(trace_ctx, "\trange_mapping_luma = %d\n", p->range_mapping_fields.bits.luma); in va_TraceVAPictureParameterBufferVC1()
1845 …va_TraceMsg(trace_ctx, "\trange_mapping_chroma_flag = %d\n", p->range_mapping_fields.bits.chroma_f… in va_TraceVAPictureParameterBufferVC1()
1846 va_TraceMsg(trace_ctx, "\trange_mapping_chroma = %d\n", p->range_mapping_fields.bits.chroma); in va_TraceVAPictureParameterBufferVC1()
1847 va_TraceMsg(trace_ctx, "\tb_picture_fraction = %d\n", p->b_picture_fraction); in va_TraceVAPictureParameterBufferVC1()
1848 va_TraceMsg(trace_ctx, "\tcbp_table = %d\n", p->cbp_table); in va_TraceVAPictureParameterBufferVC1()
1849 va_TraceMsg(trace_ctx, "\tmb_mode_table = %d\n", p->mb_mode_table); in va_TraceVAPictureParameterBufferVC1()
1850 va_TraceMsg(trace_ctx, "\trange_reduction_frame = %d\n", p->range_reduction_frame); in va_TraceVAPictureParameterBufferVC1()
1851 va_TraceMsg(trace_ctx, "\trounding_control = %d\n", p->rounding_control); in va_TraceVAPictureParameterBufferVC1()
1852 va_TraceMsg(trace_ctx, "\tpost_processing = %d\n", p->post_processing); in va_TraceVAPictureParameterBufferVC1()
1853 va_TraceMsg(trace_ctx, "\tpicture_resolution_index = %d\n", p->picture_resolution_index); in va_TraceVAPictureParameterBufferVC1()
1854 va_TraceMsg(trace_ctx, "\tluma_scale = %d\n", p->luma_scale); in va_TraceVAPictureParameterBufferVC1()
1855 va_TraceMsg(trace_ctx, "\tluma_shift = %d\n", p->luma_shift); in va_TraceVAPictureParameterBufferVC1()
1856 va_TraceMsg(trace_ctx, "\tpicture_type = %d\n", p->picture_fields.bits.picture_type); in va_TraceVAPictureParameterBufferVC1()
1857 va_TraceMsg(trace_ctx, "\tframe_coding_mode = %d\n", p->picture_fields.bits.frame_coding_mode); in va_TraceVAPictureParameterBufferVC1()
1858 va_TraceMsg(trace_ctx, "\ttop_field_first = %d\n", p->picture_fields.bits.top_field_first); in va_TraceVAPictureParameterBufferVC1()
1859 va_TraceMsg(trace_ctx, "\tis_first_field = %d\n", p->picture_fields.bits.is_first_field); in va_TraceVAPictureParameterBufferVC1()
1860 …va_TraceMsg(trace_ctx, "\tintensity_compensation = %d\n", p->picture_fields.bits.intensity_compens… in va_TraceVAPictureParameterBufferVC1()
1861 va_TraceMsg(trace_ctx, "\tmv_type_mb = %d\n", p->raw_coding.flags.mv_type_mb); in va_TraceVAPictureParameterBufferVC1()
1862 va_TraceMsg(trace_ctx, "\tdirect_mb = %d\n", p->raw_coding.flags.direct_mb); in va_TraceVAPictureParameterBufferVC1()
1863 va_TraceMsg(trace_ctx, "\tskip_mb = %d\n", p->raw_coding.flags.skip_mb); in va_TraceVAPictureParameterBufferVC1()
1864 va_TraceMsg(trace_ctx, "\tfield_tx = %d\n", p->raw_coding.flags.field_tx); in va_TraceVAPictureParameterBufferVC1()
1865 va_TraceMsg(trace_ctx, "\tforward_mb = %d\n", p->raw_coding.flags.forward_mb); in va_TraceVAPictureParameterBufferVC1()
1866 va_TraceMsg(trace_ctx, "\tac_pred = %d\n", p->raw_coding.flags.ac_pred); in va_TraceVAPictureParameterBufferVC1()
1867 va_TraceMsg(trace_ctx, "\toverflags = %d\n", p->raw_coding.flags.overflags); in va_TraceVAPictureParameterBufferVC1()
1868 va_TraceMsg(trace_ctx, "\tbp_mv_type_mb = %d\n", p->bitplane_present.flags.bp_mv_type_mb); in va_TraceVAPictureParameterBufferVC1()
1869 va_TraceMsg(trace_ctx, "\tbp_direct_mb = %d\n", p->bitplane_present.flags.bp_direct_mb); in va_TraceVAPictureParameterBufferVC1()
1870 va_TraceMsg(trace_ctx, "\tbp_skip_mb = %d\n", p->bitplane_present.flags.bp_skip_mb); in va_TraceVAPictureParameterBufferVC1()
1871 va_TraceMsg(trace_ctx, "\tbp_field_tx = %d\n", p->bitplane_present.flags.bp_field_tx); in va_TraceVAPictureParameterBufferVC1()
1872 va_TraceMsg(trace_ctx, "\tbp_forward_mb = %d\n", p->bitplane_present.flags.bp_forward_mb); in va_TraceVAPictureParameterBufferVC1()
1873 va_TraceMsg(trace_ctx, "\tbp_ac_pred = %d\n", p->bitplane_present.flags.bp_ac_pred); in va_TraceVAPictureParameterBufferVC1()
1874 va_TraceMsg(trace_ctx, "\tbp_overflags = %d\n", p->bitplane_present.flags.bp_overflags); in va_TraceVAPictureParameterBufferVC1()
1875 …va_TraceMsg(trace_ctx, "\treference_distance_flag = %d\n", p->reference_fields.bits.reference_dist… in va_TraceVAPictureParameterBufferVC1()
1876 …va_TraceMsg(trace_ctx, "\treference_distance = %d\n", p->reference_fields.bits.reference_distance); in va_TraceVAPictureParameterBufferVC1()
1877 …va_TraceMsg(trace_ctx, "\tnum_reference_pictures = %d\n", p->reference_fields.bits.num_reference_p… in va_TraceVAPictureParameterBufferVC1()
1878 …va_TraceMsg(trace_ctx, "\treference_field_pic_indicator = %d\n", p->reference_fields.bits.referenc… in va_TraceVAPictureParameterBufferVC1()
1879 va_TraceMsg(trace_ctx, "\tmv_mode = %d\n", p->mv_fields.bits.mv_mode); in va_TraceVAPictureParameterBufferVC1()
1880 va_TraceMsg(trace_ctx, "\tmv_mode2 = %d\n", p->mv_fields.bits.mv_mode2); in va_TraceVAPictureParameterBufferVC1()
1881 va_TraceMsg(trace_ctx, "\tmv_table = %d\n", p->mv_fields.bits.mv_table); in va_TraceVAPictureParameterBufferVC1()
1882 …va_TraceMsg(trace_ctx, "\ttwo_mv_block_pattern_table = %d\n", p->mv_fields.bits.two_mv_block_patte… in va_TraceVAPictureParameterBufferVC1()
1883 va_TraceMsg(trace_ctx, "\tfour_mv_switch = %d\n", p->mv_fields.bits.four_mv_switch); in va_TraceVAPictureParameterBufferVC1()
1884 …va_TraceMsg(trace_ctx, "\tfour_mv_block_pattern_table = %d\n", p->mv_fields.bits.four_mv_block_pat… in va_TraceVAPictureParameterBufferVC1()
1885 va_TraceMsg(trace_ctx, "\textended_mv_flag = %d\n", p->mv_fields.bits.extended_mv_flag); in va_TraceVAPictureParameterBufferVC1()
1886 va_TraceMsg(trace_ctx, "\textended_mv_range = %d\n", p->mv_fields.bits.extended_mv_range); in va_TraceVAPictureParameterBufferVC1()
1887 va_TraceMsg(trace_ctx, "\textended_dmv_flag = %d\n", p->mv_fields.bits.extended_dmv_flag); in va_TraceVAPictureParameterBufferVC1()
1888 va_TraceMsg(trace_ctx, "\textended_dmv_range = %d\n", p->mv_fields.bits.extended_dmv_range); in va_TraceVAPictureParameterBufferVC1()
1889 va_TraceMsg(trace_ctx, "\tdquant = %d\n", p->pic_quantizer_fields.bits.dquant); in va_TraceVAPictureParameterBufferVC1()
1890 va_TraceMsg(trace_ctx, "\tquantizer = %d\n", p->pic_quantizer_fields.bits.quantizer); in va_TraceVAPictureParameterBufferVC1()
1891 va_TraceMsg(trace_ctx, "\thalf_qp = %d\n", p->pic_quantizer_fields.bits.half_qp); in va_TraceVAPictureParameterBufferVC1()
1892 …va_TraceMsg(trace_ctx, "\tpic_quantizer_scale = %d\n", p->pic_quantizer_fields.bits.pic_quantizer_… in va_TraceVAPictureParameterBufferVC1()
1893 …va_TraceMsg(trace_ctx, "\tpic_quantizer_type = %d\n", p->pic_quantizer_fields.bits.pic_quantizer_t… in va_TraceVAPictureParameterBufferVC1()
1894 va_TraceMsg(trace_ctx, "\tdq_frame = %d\n", p->pic_quantizer_fields.bits.dq_frame); in va_TraceVAPictureParameterBufferVC1()
1895 va_TraceMsg(trace_ctx, "\tdq_profile = %d\n", p->pic_quantizer_fields.bits.dq_profile); in va_TraceVAPictureParameterBufferVC1()
1896 va_TraceMsg(trace_ctx, "\tdq_sb_edge = %d\n", p->pic_quantizer_fields.bits.dq_sb_edge); in va_TraceVAPictureParameterBufferVC1()
1897 va_TraceMsg(trace_ctx, "\tdq_db_edge = %d\n", p->pic_quantizer_fields.bits.dq_db_edge); in va_TraceVAPictureParameterBufferVC1()
1898 … va_TraceMsg(trace_ctx, "\tdq_binary_level = %d\n", p->pic_quantizer_fields.bits.dq_binary_level); in va_TraceVAPictureParameterBufferVC1()
1899 …va_TraceMsg(trace_ctx, "\talt_pic_quantizer = %d\n", p->pic_quantizer_fields.bits.alt_pic_quantize… in va_TraceVAPictureParameterBufferVC1()
1900 …va_TraceMsg(trace_ctx, "\tvariable_sized_transform_flag = %d\n", p->transform_fields.bits.variable… in va_TraceVAPictureParameterBufferVC1()
1901 …va_TraceMsg(trace_ctx, "\tmb_level_transform_type_flag = %d\n", p->transform_fields.bits.mb_level_… in va_TraceVAPictureParameterBufferVC1()
1902 …va_TraceMsg(trace_ctx, "\tframe_level_transform_type = %d\n", p->transform_fields.bits.frame_level… in va_TraceVAPictureParameterBufferVC1()
1903 …va_TraceMsg(trace_ctx, "\ttransform_ac_codingset_idx1 = %d\n", p->transform_fields.bits.transform_… in va_TraceVAPictureParameterBufferVC1()
1904 …va_TraceMsg(trace_ctx, "\ttransform_ac_codingset_idx2 = %d\n", p->transform_fields.bits.transform_… in va_TraceVAPictureParameterBufferVC1()
1905 …va_TraceMsg(trace_ctx, "\tintra_transform_dc_table = %d\n", p->transform_fields.bits.intra_transfo… in va_TraceVAPictureParameterBufferVC1()
1906 va_TraceMsg(trace_ctx, NULL); in va_TraceVAPictureParameterBufferVC1()
1922 trace_ctx->trace_slice_no++; in va_TraceVASliceParameterBufferVC1()
1923 trace_ctx->trace_slice_size = p->slice_data_size; in va_TraceVASliceParameterBufferVC1()
1925 va_TraceMsg(trace_ctx, "\t--VASliceParameterBufferVC1\n"); in va_TraceVASliceParameterBufferVC1()
1926 va_TraceMsg(trace_ctx, "\tslice_data_size = %d\n", p->slice_data_size); in va_TraceVASliceParameterBufferVC1()
1927 va_TraceMsg(trace_ctx, "\tslice_data_offset = %d\n", p->slice_data_offset); in va_TraceVASliceParameterBufferVC1()
1928 va_TraceMsg(trace_ctx, "\tslice_data_flag = %d\n", p->slice_data_flag); in va_TraceVASliceParameterBufferVC1()
1929 va_TraceMsg(trace_ctx, "\tmacroblock_offset = %d\n", p->macroblock_offset); in va_TraceVASliceParameterBufferVC1()
1930 va_TraceMsg(trace_ctx, "\tslice_vertical_position = %d\n", p->slice_vertical_position); in va_TraceVASliceParameterBufferVC1()
1931 va_TraceMsg(trace_ctx, NULL); in va_TraceVASliceParameterBufferVC1()
1947 va_TraceMsg(trace_ctx, "\t--VAEncSequenceParameterBufferVP8\n"); in va_TraceVAEncSequenceParameterBufferVP8()
1949 va_TraceMsg(trace_ctx, "\tbits_per_second = %d\n", p->bits_per_second); in va_TraceVAEncSequenceParameterBufferVP8()
1950 va_TraceMsg(trace_ctx, "\terror_resilient = %d\n", p->error_resilient); in va_TraceVAEncSequenceParameterBufferVP8()
1951 va_TraceMsg(trace_ctx, "\tframe_height = %d\n", p->frame_height); in va_TraceVAEncSequenceParameterBufferVP8()
1952 va_TraceMsg(trace_ctx, "\tframe_width = %d\n", p->frame_width); in va_TraceVAEncSequenceParameterBufferVP8()
1953 va_TraceMsg(trace_ctx, "\tframe_height_scale = %d\n", p->frame_height_scale); in va_TraceVAEncSequenceParameterBufferVP8()
1954 va_TraceMsg(trace_ctx, "\tframe_width_scale = %d\n", p->frame_width_scale); in va_TraceVAEncSequenceParameterBufferVP8()
1955 va_TraceMsg(trace_ctx, "\tkf_auto = %d\n", p->kf_auto); in va_TraceVAEncSequenceParameterBufferVP8()
1956 va_TraceMsg(trace_ctx, "\tkf_max_dist = %d\n", p->kf_max_dist); in va_TraceVAEncSequenceParameterBufferVP8()
1957 va_TraceMsg(trace_ctx, "\tkf_min_dist = %d\n", p->kf_min_dist); in va_TraceVAEncSequenceParameterBufferVP8()
1958 va_TraceMsg(trace_ctx, "\tintra_period = %d\n", p->intra_period); in va_TraceVAEncSequenceParameterBufferVP8()
1961 va_TraceMsg(trace_ctx, "\treference_frames[%d] = 0x%08x\n", i, p->reference_frames[i]); in va_TraceVAEncSequenceParameterBufferVP8()
1963 va_TraceMsg(trace_ctx, NULL); in va_TraceVAEncSequenceParameterBufferVP8()
1981 va_TraceMsg(trace_ctx, "\t--VAEncPictureParameterBufferVP8\n"); in va_TraceVAEncPictureParameterBufferVP8()
1983 va_TraceMsg(trace_ctx, "\treconstructed_frame = 0x%08x\n", p->reconstructed_frame); in va_TraceVAEncPictureParameterBufferVP8()
1984 va_TraceMsg(trace_ctx, "\tref_last_frame = 0x%08x\n", p->ref_last_frame); in va_TraceVAEncPictureParameterBufferVP8()
1985 va_TraceMsg(trace_ctx, "\tref_gf_frame = 0x%08x\n", p->ref_gf_frame); in va_TraceVAEncPictureParameterBufferVP8()
1986 va_TraceMsg(trace_ctx, "\tref_arf_frame = 0x%08x\n", p->ref_arf_frame); in va_TraceVAEncPictureParameterBufferVP8()
1987 va_TraceMsg(trace_ctx, "\tcoded_buf = 0x%08x\n", p->coded_buf); in va_TraceVAEncPictureParameterBufferVP8()
1989 va_TraceMsg(trace_ctx, "\tref_flags.bits.force_kf = %d\n", p->ref_flags.bits.force_kf); in va_TraceVAEncPictureParameterBufferVP8()
1990 va_TraceMsg(trace_ctx, "\tref_flags.bits.no_ref_last = %d\n", p->ref_flags.bits.no_ref_last); in va_TraceVAEncPictureParameterBufferVP8()
1991 va_TraceMsg(trace_ctx, "\tref_flags.bits.no_ref_gf = %d\n", p->ref_flags.bits.no_ref_gf); in va_TraceVAEncPictureParameterBufferVP8()
1992 va_TraceMsg(trace_ctx, "\tref_flags.bits.no_ref_arf = %d\n", p->ref_flags.bits.no_ref_arf); in va_TraceVAEncPictureParameterBufferVP8()
1993 va_TraceMsg(trace_ctx, "\tref_flags.bits.reserved = 0x%08x\n", p->ref_flags.bits.reserved); in va_TraceVAEncPictureParameterBufferVP8()
1995 va_TraceMsg(trace_ctx, "\tpic_flags.bits.frame_type = %d\n", p->pic_flags.bits.frame_type); in va_TraceVAEncPictureParameterBufferVP8()
1996 va_TraceMsg(trace_ctx, "\tpic_flags.bits.version = %d\n", p->pic_flags.bits.version); in va_TraceVAEncPictureParameterBufferVP8()
1997 va_TraceMsg(trace_ctx, "\tpic_flags.bits.show_frame = %d\n", p->pic_flags.bits.show_frame); in va_TraceVAEncPictureParameterBufferVP8()
1998 va_TraceMsg(trace_ctx, "\tpic_flags.bits.color_space = %d\n", p->pic_flags.bits.color_space); in va_TraceVAEncPictureParameterBufferVP8()
1999 …va_TraceMsg(trace_ctx, "\tpic_flags.bits.recon_filter_type = %d\n", p->pic_flags.bits.recon_filter… in va_TraceVAEncPictureParameterBufferVP8()
2000 …va_TraceMsg(trace_ctx, "\tpic_flags.bits.loop_filter_type = %d\n", p->pic_flags.bits.loop_filter_t… in va_TraceVAEncPictureParameterBufferVP8()
2001 …va_TraceMsg(trace_ctx, "\tpic_flags.bits.auto_partitions = %d\n", p->pic_flags.bits.auto_partition… in va_TraceVAEncPictureParameterBufferVP8()
2002 …va_TraceMsg(trace_ctx, "\tpic_flags.bits.num_token_partitions = %d\n", p->pic_flags.bits.num_token… in va_TraceVAEncPictureParameterBufferVP8()
2003 … va_TraceMsg(trace_ctx, "\tpic_flags.bits.clamping_type = %d\n", p->pic_flags.bits.clamping_type); in va_TraceVAEncPictureParameterBufferVP8()
2004 …va_TraceMsg(trace_ctx, "\tpic_flags.bits.segmentation_enabled = %d\n", p->pic_flags.bits.segmentat… in va_TraceVAEncPictureParameterBufferVP8()
2005 …va_TraceMsg(trace_ctx, "\tpic_flags.bits.update_mb_segmentation_map = %d\n", p->pic_flags.bits.upd… in va_TraceVAEncPictureParameterBufferVP8()
2006 …va_TraceMsg(trace_ctx, "\tpic_flags.bits.update_segment_feature_data = %d\n", p->pic_flags.bits.up… in va_TraceVAEncPictureParameterBufferVP8()
2007 …va_TraceMsg(trace_ctx, "\tpic_flags.bits.loop_filter_adj_enable = %d\n", p->pic_flags.bits.loop_fi… in va_TraceVAEncPictureParameterBufferVP8()
2008 …va_TraceMsg(trace_ctx, "\tpic_flags.bits.refresh_entropy_probs = %d\n", p->pic_flags.bits.refresh_… in va_TraceVAEncPictureParameterBufferVP8()
2009 …va_TraceMsg(trace_ctx, "\tpic_flags.bits.refresh_golden_frame = %d\n", p->pic_flags.bits.refresh_g… in va_TraceVAEncPictureParameterBufferVP8()
2010 …va_TraceMsg(trace_ctx, "\tpic_flags.bits.refresh_alternate_frame = %d\n", p->pic_flags.bits.refres… in va_TraceVAEncPictureParameterBufferVP8()
2011 va_TraceMsg(trace_ctx, "\tpic_flags.bits.refresh_last = %d\n", p->pic_flags.bits.refresh_last); in va_TraceVAEncPictureParameterBufferVP8()
2012 …va_TraceMsg(trace_ctx, "\tpic_flags.bits.copy_buffer_to_golden = %d\n", p->pic_flags.bits.copy_buf… in va_TraceVAEncPictureParameterBufferVP8()
2013 …va_TraceMsg(trace_ctx, "\tpic_flags.bits.copy_buffer_to_alternate = %d\n", p->pic_flags.bits.copy_… in va_TraceVAEncPictureParameterBufferVP8()
2015 …va_TraceMsg(trace_ctx, "\tpic_flags.bits.sign_bias_golden = %d\n", p->pic_flags.bits.sign_bias_gol… in va_TraceVAEncPictureParameterBufferVP8()
2016 …va_TraceMsg(trace_ctx, "\tpic_flags.bits.sign_bias_alternate = %d\n", p->pic_flags.bits.sign_bias_… in va_TraceVAEncPictureParameterBufferVP8()
2017 …va_TraceMsg(trace_ctx, "\tpic_flags.bits.mb_no_coeff_skip = %d\n", p->pic_flags.bits.mb_no_coeff_s… in va_TraceVAEncPictureParameterBufferVP8()
2018 …va_TraceMsg(trace_ctx, "\tpic_flags.bits.forced_lf_adjustment = %d\n", p->pic_flags.bits.forced_lf… in va_TraceVAEncPictureParameterBufferVP8()
2019 va_TraceMsg(trace_ctx, "\tpic_flags.bits.reserved = %d\n", p->pic_flags.bits.reserved); in va_TraceVAEncPictureParameterBufferVP8()
2023 va_TraceMsg(trace_ctx, "\tloop_filter_level[%d] = %d\n", i, p->loop_filter_level[i]); in va_TraceVAEncPictureParameterBufferVP8()
2025 va_TraceMsg(trace_ctx, "\tref_lf_delta[%d] = %d\n", i, p->ref_lf_delta[i]); in va_TraceVAEncPictureParameterBufferVP8()
2027 va_TraceMsg(trace_ctx, "\tmode_lf_delta[%d] = %d\n", i, p->mode_lf_delta[i]); in va_TraceVAEncPictureParameterBufferVP8()
2029 va_TraceMsg(trace_ctx, "\tsharpness_level = %d\n", p->sharpness_level); in va_TraceVAEncPictureParameterBufferVP8()
2030 va_TraceMsg(trace_ctx, "\tclamp_qindex_high = %d\n", p->clamp_qindex_high); in va_TraceVAEncPictureParameterBufferVP8()
2031 va_TraceMsg(trace_ctx, "\tclamp_qindex_low = %d\n", p->clamp_qindex_low); in va_TraceVAEncPictureParameterBufferVP8()
2033 va_TraceMsg(trace_ctx, NULL); in va_TraceVAEncPictureParameterBufferVP8()
2052 va_TraceMsg(trace_ctx, "\t--VAPictureParameterBufferVP8\n"); in va_TraceVAPictureParameterBufferVP8()
2054 va_TraceMsg(trace_ctx, "\tframe_width = %d\n", p->frame_width); in va_TraceVAPictureParameterBufferVP8()
2055 va_TraceMsg(trace_ctx, "\tframe_height = %d\n", p->frame_height); in va_TraceVAPictureParameterBufferVP8()
2056 va_TraceMsg(trace_ctx, "\tlast_ref_frame = %x\n", p->last_ref_frame); in va_TraceVAPictureParameterBufferVP8()
2057 va_TraceMsg(trace_ctx, "\tgolden_ref_frame = %x\n", p->golden_ref_frame); in va_TraceVAPictureParameterBufferVP8()
2058 va_TraceMsg(trace_ctx, "\talt_ref_frame = %x\n", p->alt_ref_frame); in va_TraceVAPictureParameterBufferVP8()
2059 va_TraceMsg(trace_ctx, "\tout_of_loop_frame = %x\n", p->out_of_loop_frame); in va_TraceVAPictureParameterBufferVP8()
2061 va_TraceMsg(trace_ctx, "\tkey_frame = %d\n", p->pic_fields.bits.key_frame); in va_TraceVAPictureParameterBufferVP8()
2062 va_TraceMsg(trace_ctx, "\tversion = %d\n", p->pic_fields.bits.version); in va_TraceVAPictureParameterBufferVP8()
2063 … va_TraceMsg(trace_ctx, "\tsegmentation_enabled = %d\n", p->pic_fields.bits.segmentation_enabled); in va_TraceVAPictureParameterBufferVP8()
2064 …va_TraceMsg(trace_ctx, "\tupdate_mb_segmentation_map = %d\n", p->pic_fields.bits.update_mb_segment… in va_TraceVAPictureParameterBufferVP8()
2065 …va_TraceMsg(trace_ctx, "\tupdate_segment_feature_data = %d\n", p->pic_fields.bits.update_segment_f… in va_TraceVAPictureParameterBufferVP8()
2066 va_TraceMsg(trace_ctx, "\tfilter_type = %d\n", p->pic_fields.bits.filter_type); in va_TraceVAPictureParameterBufferVP8()
2067 va_TraceMsg(trace_ctx, "\tsharpness_level = %d\n", p->pic_fields.bits.sharpness_level); in va_TraceVAPictureParameterBufferVP8()
2068 …va_TraceMsg(trace_ctx, "\tloop_filter_adj_enable = %d\n", p->pic_fields.bits.loop_filter_adj_enabl… in va_TraceVAPictureParameterBufferVP8()
2069 …va_TraceMsg(trace_ctx, "\tmode_ref_lf_delta_update = %d\n", p->pic_fields.bits.mode_ref_lf_delta_u… in va_TraceVAPictureParameterBufferVP8()
2070 va_TraceMsg(trace_ctx, "\tsign_bias_golden = %d\n", p->pic_fields.bits.sign_bias_golden); in va_TraceVAPictureParameterBufferVP8()
2071 va_TraceMsg(trace_ctx, "\tsign_bias_alternate = %d\n", p->pic_fields.bits.sign_bias_alternate); in va_TraceVAPictureParameterBufferVP8()
2072 va_TraceMsg(trace_ctx, "\tmb_no_coeff_skip = %d\n", p->pic_fields.bits.mb_no_coeff_skip); in va_TraceVAPictureParameterBufferVP8()
2073 va_TraceMsg(trace_ctx, "\tloop_filter_disable = %d\n", p->pic_fields.bits.loop_filter_disable); in va_TraceVAPictureParameterBufferVP8()
2075 va_TraceMsg(trace_ctx, "\tmb_segment_tree_probs: 0x%2x, 0x%2x, 0x%2x\n", in va_TraceVAPictureParameterBufferVP8()
2078 va_TraceMsg(trace_ctx, "\tloop_filter_level: %d, %d, %d, %d\n", in va_TraceVAPictureParameterBufferVP8()
2081 va_TraceMsg(trace_ctx, "\tloop_filter_deltas_ref_frame: %d, %d, %d, %d\n", in va_TraceVAPictureParameterBufferVP8()
2084 va_TraceMsg(trace_ctx, "\tloop_filter_deltas_mode: %d, %d, %d, %d\n", in va_TraceVAPictureParameterBufferVP8()
2087 va_TraceMsg(trace_ctx, "\tprob_skip_false = %2x\n", p->prob_skip_false); in va_TraceVAPictureParameterBufferVP8()
2088 va_TraceMsg(trace_ctx, "\tprob_intra = %2x\n", p->prob_intra); in va_TraceVAPictureParameterBufferVP8()
2089 va_TraceMsg(trace_ctx, "\tprob_last = %2x\n", p->prob_last); in va_TraceVAPictureParameterBufferVP8()
2090 va_TraceMsg(trace_ctx, "\tprob_gf = %2x\n", p->prob_gf); in va_TraceVAPictureParameterBufferVP8()
2092 va_TraceMsg(trace_ctx, "\ty_mode_probs: 0x%2x, 0x%2x, 0x%2x, 0x%2x\n", in va_TraceVAPictureParameterBufferVP8()
2095 va_TraceMsg(trace_ctx, "\tuv_mode_probs: 0x%2x, 0x%2x, 0x%2x\n", in va_TraceVAPictureParameterBufferVP8()
2098 va_TraceMsg(trace_ctx, "\tmv_probs[2][19]:\n"); in va_TraceVAPictureParameterBufferVP8()
2103 va_TraceMsg(trace_ctx,"\t\t[%d] = %s\n", i, tmp); in va_TraceVAPictureParameterBufferVP8()
2106 va_TraceMsg(trace_ctx, "\tbool_coder_ctx: range = %02x, value = %02x, count = %d\n", in va_TraceVAPictureParameterBufferVP8()
2109 va_TraceMsg(trace_ctx, NULL); in va_TraceVAPictureParameterBufferVP8()
2127 va_TraceMsg(trace_ctx, "\t--VASliceParameterBufferVP8\n"); in va_TraceVASliceParameterBufferVP8()
2129 va_TraceMsg(trace_ctx, "\tslice_data_size = %d\n", p->slice_data_size); in va_TraceVASliceParameterBufferVP8()
2130 va_TraceMsg(trace_ctx, "\tslice_data_offset = %d\n", p->slice_data_offset); in va_TraceVASliceParameterBufferVP8()
2131 va_TraceMsg(trace_ctx, "\tslice_data_flag = %d\n", p->slice_data_flag); in va_TraceVASliceParameterBufferVP8()
2132 va_TraceMsg(trace_ctx, "\tmacroblock_offset = %d\n", p->macroblock_offset); in va_TraceVASliceParameterBufferVP8()
2133 va_TraceMsg(trace_ctx, "\tnum_of_partitions = %d\n", p->num_of_partitions); in va_TraceVASliceParameterBufferVP8()
2136 va_TraceMsg(trace_ctx, "\tpartition_size[%d] = %d\n", i, p->partition_size[i]); in va_TraceVASliceParameterBufferVP8()
2138 va_TraceMsg(trace_ctx, NULL); in va_TraceVASliceParameterBufferVP8()
2157 va_TraceMsg(trace_ctx, "\t--VAIQMatrixBufferVP8\n"); in va_TraceVAIQMatrixBufferVP8()
2159 va_TraceMsg(trace_ctx, "\tquantization_index[4][6]=\n"); in va_TraceVAIQMatrixBufferVP8()
2164 va_TraceMsg(trace_ctx,"\t\t[%d] = %s\n", i, tmp); in va_TraceVAIQMatrixBufferVP8()
2167 va_TraceMsg(trace_ctx, NULL); in va_TraceVAIQMatrixBufferVP8()
2185 va_TraceMsg(trace_ctx, "\t--VAProbabilityDataBufferVP8\n"); in va_TraceVAProbabilityBufferVP8()
2193 va_TraceMsg(trace_ctx,"\t\t[%d, %d] = %s\n", i, j, tmp); in va_TraceVAProbabilityBufferVP8()
2196 va_TraceMsg(trace_ctx, NULL); in va_TraceVAProbabilityBufferVP8()
2211 va_TraceMsg(trace_ctx, "\trender_targets = 0x%08x\n", render_target); in va_TraceBeginPicture()
2212 va_TraceMsg(trace_ctx, "\tframe_count = #%d\n", trace_ctx->trace_frame_no); in va_TraceBeginPicture()
2213 va_TraceMsg(trace_ctx, NULL); in va_TraceBeginPicture()
2215 trace_ctx->trace_rendertarget = render_target; /* for surface data dump after vaEndPicture */ in va_TraceBeginPicture()
2217 trace_ctx->trace_frame_no++; in va_TraceBeginPicture()
2218 trace_ctx->trace_slice_no = 0; in va_TraceBeginPicture()
2289 va_TraceMsg(trace_ctx, "\t--VAEncSequenceParameterBufferH263\n"); in va_TraceVAEncSequenceParameterBufferH263()
2291 va_TraceMsg(trace_ctx, "\tintra_period = %d\n", p->intra_period); in va_TraceVAEncSequenceParameterBufferH263()
2292 va_TraceMsg(trace_ctx, "\tbits_per_second = %d\n", p->bits_per_second); in va_TraceVAEncSequenceParameterBufferH263()
2293 va_TraceMsg(trace_ctx, "\tframe_rate = %d\n", p->frame_rate); in va_TraceVAEncSequenceParameterBufferH263()
2294 va_TraceMsg(trace_ctx, "\tinitial_qp = %d\n", p->initial_qp); in va_TraceVAEncSequenceParameterBufferH263()
2295 va_TraceMsg(trace_ctx, "\tmin_qp = %d\n", p->min_qp); in va_TraceVAEncSequenceParameterBufferH263()
2296 va_TraceMsg(trace_ctx, NULL); in va_TraceVAEncSequenceParameterBufferH263()
2314 va_TraceMsg(trace_ctx, "\t--VAEncPictureParameterBufferH263\n"); in va_TraceVAEncPictureParameterBufferH263()
2315 va_TraceMsg(trace_ctx, "\treference_picture = 0x%08x\n", p->reference_picture); in va_TraceVAEncPictureParameterBufferH263()
2316 va_TraceMsg(trace_ctx, "\treconstructed_picture = 0x%08x\n", p->reconstructed_picture); in va_TraceVAEncPictureParameterBufferH263()
2317 va_TraceMsg(trace_ctx, "\tcoded_buf = %08x\n", p->coded_buf); in va_TraceVAEncPictureParameterBufferH263()
2318 va_TraceMsg(trace_ctx, "\tpicture_width = %d\n", p->picture_width); in va_TraceVAEncPictureParameterBufferH263()
2319 va_TraceMsg(trace_ctx, "\tpicture_height = %d\n", p->picture_height); in va_TraceVAEncPictureParameterBufferH263()
2320 va_TraceMsg(trace_ctx, "\tpicture_type = 0x%08x\n", p->picture_type); in va_TraceVAEncPictureParameterBufferH263()
2321 va_TraceMsg(trace_ctx, NULL); in va_TraceVAEncPictureParameterBufferH263()
2340 va_TraceMsg(trace_ctx, "\t--VAEncPictureParameterBufferJPEG\n"); in va_TraceVAEncPictureParameterBufferJPEG()
2341 va_TraceMsg(trace_ctx, "\treconstructed_picture = 0x%08x\n", p->reconstructed_picture); in va_TraceVAEncPictureParameterBufferJPEG()
2342 va_TraceMsg(trace_ctx, "\tcoded_buf = %08x\n", p->coded_buf); in va_TraceVAEncPictureParameterBufferJPEG()
2343 va_TraceMsg(trace_ctx, "\tpicture_width = %d\n", p->picture_width); in va_TraceVAEncPictureParameterBufferJPEG()
2344 va_TraceMsg(trace_ctx, "\tpicture_height = %d\n", p->picture_height); in va_TraceVAEncPictureParameterBufferJPEG()
2345 va_TraceMsg(trace_ctx, "\tpic_flags.bits.profile = %d\n", p->pic_flags.bits.profile); in va_TraceVAEncPictureParameterBufferJPEG()
2346 va_TraceMsg(trace_ctx, "\tpic_flags.bits.progressive = %d\n", p->pic_flags.bits.profile); in va_TraceVAEncPictureParameterBufferJPEG()
2347 va_TraceMsg(trace_ctx, "\tpic_flags.bits.huffman = %d\n", p->pic_flags.bits.huffman); in va_TraceVAEncPictureParameterBufferJPEG()
2348 va_TraceMsg(trace_ctx, "\tpic_flags.bits.interleaved = %d\n", p->pic_flags.bits.interleaved); in va_TraceVAEncPictureParameterBufferJPEG()
2349 va_TraceMsg(trace_ctx, "\tpic_flags.bits.differential = %d\n", p->pic_flags.bits.differential); in va_TraceVAEncPictureParameterBufferJPEG()
2350 va_TraceMsg(trace_ctx, "\tsample_bit_depth = %d\n", p->sample_bit_depth); in va_TraceVAEncPictureParameterBufferJPEG()
2351 va_TraceMsg(trace_ctx, "\tnum_scan = %d\n", p->num_scan); in va_TraceVAEncPictureParameterBufferJPEG()
2352 va_TraceMsg(trace_ctx, "\tnum_components = %d\n", p->num_components); in va_TraceVAEncPictureParameterBufferJPEG()
2354 va_TraceMsg(trace_ctx, "\tcomponent_id[%d] = %d\n", i, p->component_id[i]); in va_TraceVAEncPictureParameterBufferJPEG()
2357 va_TraceMsg(trace_ctx, "\tquality = %d\n", p->quality); in va_TraceVAEncPictureParameterBufferJPEG()
2359 va_TraceMsg(trace_ctx, "\tquantiser_table_selector[] = %d %d %d %d\n", in va_TraceVAEncPictureParameterBufferJPEG()
2365 va_TraceMsg(trace_ctx, NULL); in va_TraceVAEncPictureParameterBufferJPEG()
2382 va_TraceMsg(trace_ctx, "\t--VAQMatrixBufferJPEG\n"); in va_TraceVAEncQMatrixBufferJPEG()
2383 va_TraceMsg(trace_ctx, "\tload_lum_quantiser_matrix = %d\n", p->load_lum_quantiser_matrix); in va_TraceVAEncQMatrixBufferJPEG()
2387 va_TraceMsg(trace_ctx, in va_TraceVAEncQMatrixBufferJPEG()
2400 … va_TraceMsg(trace_ctx, "\tload_chroma_quantiser_matrix = %d\n", p->load_chroma_quantiser_matrix); in va_TraceVAEncQMatrixBufferJPEG()
2404 va_TraceMsg(trace_ctx, in va_TraceVAEncQMatrixBufferJPEG()
2417 va_TraceMsg(trace_ctx, NULL); in va_TraceVAEncQMatrixBufferJPEG()
2627 … va_TraceVABuffers(dpy, context, buffer, type, trace_ctx->trace_slice_size, num_elements, pbuf); in va_TraceH264Buf()
2762 … va_TraceVABuffers(dpy, context, buffer, type, trace_ctx->trace_slice_size, num_elements, pbuf); in va_TraceVC1Buf()
2806 va_TraceMsg(trace_ctx, "\t type = %d\n", deint->type); in va_TraceProcFilterParameterBufferDeinterlacing()
2807 va_TraceMsg(trace_ctx, "\t algorithm = %d\n", deint->algorithm); in va_TraceProcFilterParameterBufferDeinterlacing()
2808 va_TraceMsg(trace_ctx, "\t flags = %d\n", deint->flags); in va_TraceProcFilterParameterBufferDeinterlacing()
2822 va_TraceMsg(trace_ctx, "\t type = %d\n", color_balance->type); in va_TraceProcFilterParameterBufferColorBalance()
2823 va_TraceMsg(trace_ctx, "\t attrib = %d\n", color_balance->attrib); in va_TraceProcFilterParameterBufferColorBalance()
2824 va_TraceMsg(trace_ctx, "\t value = %f\n", color_balance->value); in va_TraceProcFilterParameterBufferColorBalance()
2836 va_TraceMsg(trace_ctx, "\t type = %d, context = %d\n", base->type, context); in va_TraceProcFilterParameterBufferBase()
2856 va_TraceMsg(trace_ctx, "\t num_filters = %d\n", num_filters); in va_TraceProcFilterParameterBuffer()
2857 va_TraceMsg(trace_ctx, "\t filters = %p\n", filters); in va_TraceProcFilterParameterBuffer()
2861 va_TraceMsg(trace_ctx, "\t num_filters = %d\n", num_filters); in va_TraceProcFilterParameterBuffer()
2868 va_TraceMsg(trace_ctx, "\t filters[%d] = 0x%08x (INVALID)\n", i, filters[i]); in va_TraceProcFilterParameterBuffer()
2871 va_TraceMsg(trace_ctx, "\t filters[%d] = 0x%08x\n", i, filters[i]); in va_TraceProcFilterParameterBuffer()
2920 va_TraceMsg(trace_ctx, "\t--VAProcPipelineParameterBuffer\n"); in va_TraceVAProcPipelineParameterBuffer()
2922 va_TraceMsg(trace_ctx, "\t surface = 0x%08x\n", p->surface); in va_TraceVAProcPipelineParameterBuffer()
2925 va_TraceMsg(trace_ctx, "\t surface_region\n"); in va_TraceVAProcPipelineParameterBuffer()
2926 va_TraceMsg(trace_ctx, "\t x = %d\n", p->surface_region->x); in va_TraceVAProcPipelineParameterBuffer()
2927 va_TraceMsg(trace_ctx, "\t y = %d\n", p->surface_region->y); in va_TraceVAProcPipelineParameterBuffer()
2928 va_TraceMsg(trace_ctx, "\t width = %d\n", p->surface_region->width); in va_TraceVAProcPipelineParameterBuffer()
2929 va_TraceMsg(trace_ctx, "\t height = %d\n", p->surface_region->height); in va_TraceVAProcPipelineParameterBuffer()
2931 va_TraceMsg(trace_ctx, "\t surface_region = (NULL)\n"); in va_TraceVAProcPipelineParameterBuffer()
2934 va_TraceMsg(trace_ctx, "\t surface_color_standard = %d\n", p->surface_color_standard); in va_TraceVAProcPipelineParameterBuffer()
2937 va_TraceMsg(trace_ctx, "\t output_region\n"); in va_TraceVAProcPipelineParameterBuffer()
2938 va_TraceMsg(trace_ctx, "\t x = %d\n", p->output_region->x); in va_TraceVAProcPipelineParameterBuffer()
2939 va_TraceMsg(trace_ctx, "\t y = %d\n", p->output_region->y); in va_TraceVAProcPipelineParameterBuffer()
2940 va_TraceMsg(trace_ctx, "\t width = %d\n", p->output_region->width); in va_TraceVAProcPipelineParameterBuffer()
2941 va_TraceMsg(trace_ctx, "\t height = %d\n", p->output_region->height); in va_TraceVAProcPipelineParameterBuffer()
2943 va_TraceMsg(trace_ctx, "\t output_region = (NULL)\n"); in va_TraceVAProcPipelineParameterBuffer()
2946 va_TraceMsg(trace_ctx, "\t output_background_color = 0x%08x\n", p->output_background_color); in va_TraceVAProcPipelineParameterBuffer()
2947 va_TraceMsg(trace_ctx, "\t output_color_standard = %d\n", p->output_color_standard); in va_TraceVAProcPipelineParameterBuffer()
2948 va_TraceMsg(trace_ctx, "\t pipeline_flags = 0x%08x\n", p->pipeline_flags); in va_TraceVAProcPipelineParameterBuffer()
2949 va_TraceMsg(trace_ctx, "\t filter_flags = 0x%08x\n", p->filter_flags); in va_TraceVAProcPipelineParameterBuffer()
2953 va_TraceMsg(trace_ctx, "\t num_forward_references = 0x%08x\n", p->num_forward_references); in va_TraceVAProcPipelineParameterBuffer()
2956 va_TraceMsg(trace_ctx, "\t forward_references\n"); in va_TraceVAProcPipelineParameterBuffer()
2961 … va_TraceMsg(trace_ctx, "\t forward_references[%d] = 0x%08x\n", i, p->forward_references[i]); in va_TraceVAProcPipelineParameterBuffer()
2965 va_TraceMsg(trace_ctx, "\t forward_references[%d] = (NULL)\n", i); in va_TraceVAProcPipelineParameterBuffer()
2970 va_TraceMsg(trace_ctx, "\t num_backward_references = 0x%08x\n", p->num_backward_references); in va_TraceVAProcPipelineParameterBuffer()
2973 va_TraceMsg(trace_ctx, "\t backward_references\n"); in va_TraceVAProcPipelineParameterBuffer()
2978 … va_TraceMsg(trace_ctx, "\t backward_references[%d] = 0x%08x\n", i, p->backward_references[i]); in va_TraceVAProcPipelineParameterBuffer()
2982 va_TraceMsg(trace_ctx, "\t backward_references[%d] = (NULL)\n", i); in va_TraceVAProcPipelineParameterBuffer()
2989 va_TraceMsg(trace_ctx, NULL); in va_TraceVAProcPipelineParameterBuffer()
3030 va_TraceMsg(trace_ctx, "\tnum_buffers = %d\n", num_buffers); in va_TraceRenderPicture()
3041 va_TraceMsg(trace_ctx, "\t---------------------------\n"); in va_TraceRenderPicture()
3042 va_TraceMsg(trace_ctx, "\tbuffers[%d] = 0x%08x\n", i, buffers[i]); in va_TraceRenderPicture()
3043 va_TraceMsg(trace_ctx, "\t type = %s\n", buffer_type_to_string(type)); in va_TraceRenderPicture()
3044 va_TraceMsg(trace_ctx, "\t size = %d\n", size); in va_TraceRenderPicture()
3045 va_TraceMsg(trace_ctx, "\t num_elements = %d\n", num_elements); in va_TraceRenderPicture()
3051 switch (trace_ctx->trace_profile) { in va_TraceRenderPicture()
3055 va_TraceMsg(trace_ctx, "\telement[%d] =\n", j); in va_TraceRenderPicture()
3063 va_TraceMsg(trace_ctx, "\telement[%d] =\n", j); in va_TraceRenderPicture()
3072 va_TraceMsg(trace_ctx, "\telement[%d] =\n", j); in va_TraceRenderPicture()
3081 va_TraceMsg(trace_ctx, "\telement[%d] =\n", j); in va_TraceRenderPicture()
3088 va_TraceMsg(trace_ctx, "\telement[%d] =\n", j); in va_TraceRenderPicture()
3095 va_TraceMsg(trace_ctx, "\telement[%d] =\n", j); in va_TraceRenderPicture()
3102 va_TraceMsg(trace_ctx, "\telement[%d] =\n", j); in va_TraceRenderPicture()
3109 va_TraceMsg(trace_ctx, "\telement[%d] =\n", j); in va_TraceRenderPicture()
3121 va_TraceMsg(trace_ctx, NULL); in va_TraceRenderPicture()
3135 va_TraceMsg(trace_ctx, "\trender_targets = 0x%08x\n", trace_ctx->trace_rendertarget); in va_TraceEndPicture()
3138 encode = (trace_ctx->trace_entrypoint == VAEntrypointEncSlice); in va_TraceEndPicture()
3139 decode = (trace_ctx->trace_entrypoint == VAEntrypointVLD); in va_TraceEndPicture()
3140 jpeg = (trace_ctx->trace_entrypoint == VAEntrypointEncPicture); in va_TraceEndPicture()
3149 vaSyncSurface(dpy, trace_ctx->trace_rendertarget); in va_TraceEndPicture()
3153 va_TraceMsg(trace_ctx, NULL); in va_TraceEndPicture()
3166 va_TraceMsg(trace_ctx, NULL); in va_TraceSyncSurface()
3179 va_TraceSurfaceAttributes(trace_ctx, attrib_list, num_attribs); in va_TraceQuerySurfaceAttributes()
3181 va_TraceMsg(trace_ctx, NULL); in va_TraceQuerySurfaceAttributes()
3197 va_TraceMsg(trace_ctx, "\tstatus = 0x%08x\n", *status); in va_TraceQuerySurfaceStatus()
3198 va_TraceMsg(trace_ctx, NULL); in va_TraceQuerySurfaceStatus()
3212 va_TraceMsg(trace_ctx, "\tsurface = 0x%08x\n", surface); in va_TraceQuerySurfaceError()
3213 va_TraceMsg(trace_ctx, "\terror_status = 0x%08x\n", error_status); in va_TraceQuerySurfaceError()
3217 va_TraceMsg(trace_ctx, "\t\tstatus = %d\n", p->status); in va_TraceQuerySurfaceError()
3218 va_TraceMsg(trace_ctx, "\t\tstart_mb = %d\n", p->start_mb); in va_TraceQuerySurfaceError()
3219 va_TraceMsg(trace_ctx, "\t\tend_mb = %d\n", p->end_mb); in va_TraceQuerySurfaceError()
3223 va_TraceMsg(trace_ctx, NULL); in va_TraceQuerySurfaceError()
3235 va_TraceMsg(trace_ctx, "\tmax_display_attributes = %d\n", number); in va_TraceMaxNumDisplayAttributes()
3236 va_TraceMsg(trace_ctx, NULL); in va_TraceMaxNumDisplayAttributes()
3252 va_TraceMsg(trace_ctx, "\tnum_attributes = %d\n", *num_attributes); in va_TraceQueryDisplayAttributes()
3255 va_TraceMsg(trace_ctx, "\tattr_list[%d] =\n"); in va_TraceQueryDisplayAttributes()
3256 va_TraceMsg(trace_ctx, "\t typ = 0x%08x\n", attr_list[i].type); in va_TraceQueryDisplayAttributes()
3257 va_TraceMsg(trace_ctx, "\t min_value = %d\n", attr_list[i].min_value); in va_TraceQueryDisplayAttributes()
3258 va_TraceMsg(trace_ctx, "\t max_value = %d\n", attr_list[i].max_value); in va_TraceQueryDisplayAttributes()
3259 va_TraceMsg(trace_ctx, "\t value = %d\n", attr_list[i].value); in va_TraceQueryDisplayAttributes()
3260 va_TraceMsg(trace_ctx, "\t flags = %d\n", attr_list[i].flags); in va_TraceQueryDisplayAttributes()
3262 va_TraceMsg(trace_ctx, NULL); in va_TraceQueryDisplayAttributes()
3280 va_TraceMsg(trace_ctx, "\tattr_list[%d] =\n"); in va_TraceDisplayAttributes()
3281 va_TraceMsg(trace_ctx, "\t typ = 0x%08x\n", attr_list[i].type); in va_TraceDisplayAttributes()
3282 va_TraceMsg(trace_ctx, "\t min_value = %d\n", attr_list[i].min_value); in va_TraceDisplayAttributes()
3283 va_TraceMsg(trace_ctx, "\t max_value = %d\n", attr_list[i].max_value); in va_TraceDisplayAttributes()
3284 va_TraceMsg(trace_ctx, "\t value = %d\n", attr_list[i].value); in va_TraceDisplayAttributes()
3285 va_TraceMsg(trace_ctx, "\t flags = %d\n", attr_list[i].flags); in va_TraceDisplayAttributes()
3287 va_TraceMsg(trace_ctx, NULL); in va_TraceDisplayAttributes()
3339 va_TraceMsg(trace_ctx, "\tsurface = 0x%08x\n", surface); in va_TracePutSurface()
3340 va_TraceMsg(trace_ctx, "\tdraw = 0x%08x\n", draw); in va_TracePutSurface()
3341 va_TraceMsg(trace_ctx, "\tsrcx = %d\n", srcx); in va_TracePutSurface()
3342 va_TraceMsg(trace_ctx, "\tsrcy = %d\n", srcy); in va_TracePutSurface()
3343 va_TraceMsg(trace_ctx, "\tsrcw = %d\n", srcw); in va_TracePutSurface()
3344 va_TraceMsg(trace_ctx, "\tsrch = %d\n", srch); in va_TracePutSurface()
3345 va_TraceMsg(trace_ctx, "\tdestx = %d\n", destx); in va_TracePutSurface()
3346 va_TraceMsg(trace_ctx, "\tdesty = %d\n", desty); in va_TracePutSurface()
3347 va_TraceMsg(trace_ctx, "\tdestw = %d\n", destw); in va_TracePutSurface()
3348 va_TraceMsg(trace_ctx, "\tdesth = %d\n", desth); in va_TracePutSurface()
3349 va_TraceMsg(trace_ctx, "\tcliprects = 0x%08x\n", cliprects); in va_TracePutSurface()
3350 va_TraceMsg(trace_ctx, "\tnumber_cliprects = %d\n", number_cliprects); in va_TracePutSurface()
3351 va_TraceMsg(trace_ctx, "\tflags = 0x%08x\n", flags); in va_TracePutSurface()
3352 va_TraceMsg(trace_ctx, NULL); in va_TracePutSurface()