Lines Matching defs:hwfc
645 static int vt_transfer_data_from(AVHWFramesContext *hwfc,
651 if (dst->width > hwfc->width || dst->height > hwfc->height)
659 err = vt_map_frame(hwfc, map, src, AV_HWFRAME_MAP_READ);
676 static int vt_transfer_data_to(AVHWFramesContext *hwfc,
682 if (src->width > hwfc->width || src->height > hwfc->height)
690 err = vt_map_frame(hwfc, map, dst, AV_HWFRAME_MAP_WRITE | AV_HWFRAME_MAP_OVERWRITE);
701 err = vt_pixbuf_set_attachments(hwfc, (CVPixelBufferRef)dst->data[3], src);
711 static int vt_map_from(AVHWFramesContext *hwfc, AVFrame *dst,
717 dst->format = hwfc->sw_format;
718 else if (dst->format != hwfc->sw_format)
721 err = vt_map_frame(hwfc, dst, src, flags);