Lines Matching refs:src_pix_fmt
2741 enum AVPixelFormat src_pix_fmt, in get_pix_fmt_score() argument
2744 const AVPixFmtDescriptor *src_desc = av_pix_fmt_desc_get(src_pix_fmt); in get_pix_fmt_score()
2756 if (dst_pix_fmt == src_pix_fmt) in get_pix_fmt_score()
2765 if (dst_pix_fmt == src_pix_fmt) in get_pix_fmt_score()
2768 if ((ret = get_pix_fmt_depth(&src_min_depth, &src_max_depth, src_pix_fmt)) < 0) in get_pix_fmt_score()
2844 …(src_pix_fmt != AV_PIX_FMT_PAL8 && (src_color != FF_COLOR_GRAY || (pixdesc_has_alpha(src_desc) && … in get_pix_fmt_score()
2854 enum AVPixelFormat src_pix_fmt, in av_get_pix_fmt_loss() argument
2858 int ret = get_pix_fmt_score(dst_pix_fmt, src_pix_fmt, &loss, has_alpha ? ~0 : ~FF_LOSS_ALPHA); in av_get_pix_fmt_loss()
2865 … enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr) in av_find_best_pix_fmt_of_2() argument
2882 score1 = get_pix_fmt_score(dst_pix_fmt1, src_pix_fmt, &loss1, loss_mask); in av_find_best_pix_fmt_of_2()
2883 score2 = get_pix_fmt_score(dst_pix_fmt2, src_pix_fmt, &loss2, loss_mask); in av_find_best_pix_fmt_of_2()
2897 *loss_ptr = av_get_pix_fmt_loss(dst_pix_fmt, src_pix_fmt, has_alpha); in av_find_best_pix_fmt_of_2()