Lines Matching refs:dst_ref
651 AVBufferRef *dst_ref = NULL, *tmp_ref; in av_hwdevice_ctx_create_derived_opts() local
659 dst_ref = av_buffer_ref(tmp_ref); in av_hwdevice_ctx_create_derived_opts()
660 if (!dst_ref) { in av_hwdevice_ctx_create_derived_opts()
669 dst_ref = av_hwdevice_ctx_alloc(type); in av_hwdevice_ctx_create_derived_opts()
670 if (!dst_ref) { in av_hwdevice_ctx_create_derived_opts()
674 dst_ctx = (AVHWDeviceContext*)dst_ref->data; in av_hwdevice_ctx_create_derived_opts()
690 ret = av_hwdevice_ctx_init(dst_ref); in av_hwdevice_ctx_create_derived_opts()
705 *dst_ref_ptr = dst_ref; in av_hwdevice_ctx_create_derived_opts()
709 av_buffer_unref(&dst_ref); in av_hwdevice_ctx_create_derived_opts()
853 AVBufferRef *dst_ref = NULL; in av_hwframe_ctx_create_derived() local
877 dst_ref = av_hwframe_ctx_alloc(derived_device_ctx); in av_hwframe_ctx_create_derived()
878 if (!dst_ref) { in av_hwframe_ctx_create_derived()
883 dst = (AVHWFramesContext*)dst_ref->data; in av_hwframe_ctx_create_derived()
913 *derived_frame_ctx = dst_ref; in av_hwframe_ctx_create_derived()
919 av_buffer_unref(&dst_ref); in av_hwframe_ctx_create_derived()