Lines Matching refs:hw_frames_ctx
396 AVHWFramesContext *ctx = (AVHWFramesContext*)src->hw_frames_ctx->data;
411 ret = av_hwframe_transfer_get_formats(src->hw_frames_ctx,
454 if (src->hw_frames_ctx && dst->hw_frames_ctx) {
456 (AVHWFramesContext*)src->hw_frames_ctx->data;
458 (AVHWFramesContext*)dst->hw_frames_ctx->data;
480 if (src->hw_frames_ctx) {
481 ctx = (AVHWFramesContext*)src->hw_frames_ctx->data;
486 } else if (dst->hw_frames_ctx) {
487 ctx = (AVHWFramesContext*)dst->hw_frames_ctx->data;
510 frame->hw_frames_ctx = av_buffer_ref(hwframe_ref);
511 if (!frame->hw_frames_ctx)
547 frame->hw_frames_ctx = av_buffer_ref(hwframe_ref);
548 if (!frame->hw_frames_ctx)
553 av_buffer_unref(&frame->hw_frames_ctx);
729 av_buffer_unref(&hwmap->hw_frames_ctx);
759 hwmap->hw_frames_ctx = av_buffer_ref(hwframe_ref);
760 if (!hwmap->hw_frames_ctx) {
779 av_buffer_unref(&hwmap->hw_frames_ctx);
788 AVBufferRef *orig_dst_frames = dst->hw_frames_ctx;
794 if (src->hw_frames_ctx && dst->hw_frames_ctx) {
795 src_frames = (AVHWFramesContext*)src->hw_frames_ctx->data;
796 dst_frames = (AVHWFramesContext*)dst->hw_frames_ctx->data;
819 if (src->hw_frames_ctx) {
820 src_frames = (AVHWFramesContext*)src->hw_frames_ctx->data;
833 if (dst->hw_frames_ctx) {
834 dst_frames = (AVHWFramesContext*)dst->hw_frames_ctx->data;
853 orig_dst_frames == dst->hw_frames_ctx);
857 dst->hw_frames_ctx = NULL;
860 dst->hw_frames_ctx = orig_dst_frames;