static void vda_decoder_callback(void *vda_hw_ctx,
                                 CFDictionaryRef user_info,
                                 OSStatus status,
                                 uint32_t infoFlags,
                                 CVImageBufferRef image_buffer)
{
    struct vda_context *vda_ctx = vda_hw_ctx;
    if (!image_buffer)
        return;
    if (vda_ctx->cv_pix_fmt_type != CVPixelBufferGetPixelFormatType(image_buffer))
        return;
    vda_ctx->cv_buffer = CVPixelBufferRetain(image_buffer);
}
static void vda_decoder_callback(void *vda_hw_ctx,
                                 CFDictionaryRef user_info,
                                 OSStatus status,
                                 uint32_t infoFlags,
                                 CVImageBufferRef image_buffer)
{
    struct vda_context *vda_ctx = vda_hw_ctx;
    if (!image_buffer)
        return;
    if (vda_ctx->cv_pix_fmt_type != CVPixelBufferGetPixelFormatType(image_buffer))
        return;
    vda_ctx->cv_buffer = CVPixelBufferRetain(image_buffer);
}
static void FUNC_0(void *VAR_0,
                                 CFDictionaryRef VAR_1,
                                 OSStatus VAR_2,
                                 uint32_t VAR_3,
                                 CVImageBufferRef VAR_4)
{
    struct vda_context *VAR_5 = VAR_0;
    if (!VAR_4)
        return;
    if (VAR_5->cv_pix_fmt_type != CVPixelBufferGetPixelFormatType(VAR_4))
        return;
    VAR_5->cv_buffer = CVPixelBufferRetain(VAR_4);
}
static void FUNC_0(void *VAR_0,
CFDictionaryRef VAR_1,
OSStatus VAR_2,
uint32_t VAR_3,
CVImageBufferRef VAR_4)
{ struct vda_context *VAR_5 = VAR_0; if (!VAR_4)
return; if (VAR_5->cv_pix_fmt_type != CVPixelBufferGetPixelFormatType(VAR_4))
return; VAR_5->cv_buffer = CVPixelBufferRetain(VAR_4); }