vlVdpDecoder *vldecoder;
VdpStatus ret;
- debug_printf("[VDPAU] Creating decoder\n");
+ VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Creating decoder\n");
if (!decoder)
return VDP_STATUS_INVALID_POINTER;
goto error_handle;
}
- debug_printf("[VDPAU] Decoder created succesfully\n");
+ VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Decoder created succesfully\n");
return VDP_STATUS_OK;
{
vlVdpDecoder *vldecoder;
- debug_printf("[VDPAU] Destroying decoder\n");
+ VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Destroying decoder\n");
vldecoder = (vlVdpDecoder *)vlGetDataHTAB(decoder);
if (!vldecoder)
unsigned num_ycbcr_blocks[3] = { 0, 0, 0 };
unsigned i;
- debug_printf("[VDPAU] Decoding MPEG2\n");
+ VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Decoding MPEG2\n");
/* if surfaces equals VDP_STATUS_INVALID_HANDLE, they are not used */
if (picture_info->forward_reference == VDP_INVALID_HANDLE)
vlVdpDecoder *vldecoder;
vlVdpSurface *vlsurf;
- debug_printf("[VDPAU] Decoding\n");
+ VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Decoding\n");
if (!(picture_info && bitstream_buffers))
return VDP_STATUS_INVALID_POINTER;