Home
last modified time | relevance | path

Searched refs:src_pix_fmt (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dimgconvert.c48 enum AVPixelFormat src_pix_fmt, in avcodec_get_pix_fmt_loss() argument
51 return av_get_pix_fmt_loss(dst_pix_fmt, src_pix_fmt, has_alpha); in avcodec_get_pix_fmt_loss()
55 … enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr) in avcodec_find_best_pix_fmt_of_2() argument
57 return av_find_best_pix_fmt_of_2(dst_pix_fmt1, dst_pix_fmt2, src_pix_fmt, has_alpha, loss_ptr); in avcodec_find_best_pix_fmt_of_2()
61 … enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr) in avcodec_find_best_pix_fmt2() argument
63 …return avcodec_find_best_pix_fmt_of_2(dst_pix_fmt1, dst_pix_fmt2, src_pix_fmt, has_alpha, loss_ptr… in avcodec_find_best_pix_fmt2()
67 enum AVPixelFormat src_pix_fmt, in avcodec_find_best_pix_fmt_of_list() argument
76 best = avcodec_find_best_pix_fmt_of_2(best, pix_fmt_list[i], src_pix_fmt, has_alpha, &loss); in avcodec_find_best_pix_fmt_of_list()
Davcodec.h3802 int avcodec_get_pix_fmt_loss(enum AVPixelFormat dst_pix_fmt, enum AVPixelFormat src_pix_fmt,
3823 enum AVPixelFormat src_pix_fmt,
3830 … enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr);
3834 … enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr);
/third_party/ffmpeg/libavfilter/
Dlswsutils.c25 int src_w, int src_h, enum AVPixelFormat src_pix_fmt, in ff_scale_image() argument
29 struct SwsContext *sws_ctx = sws_getContext(src_w, src_h, src_pix_fmt, in ff_scale_image()
36 av_get_pix_fmt_name(src_pix_fmt), src_w, src_h, in ff_scale_image()
Dlswsutils.h35 int src_w, int src_h, enum AVPixelFormat src_pix_fmt,
/third_party/ffmpeg/doc/examples/
Dscaling_video.c57 enum AVPixelFormat src_pix_fmt = AV_PIX_FMT_YUV420P, dst_pix_fmt = AV_PIX_FMT_RGB24; in main() local
90 sws_ctx = sws_getContext(src_w, src_h, src_pix_fmt, in main()
97 av_get_pix_fmt_name(src_pix_fmt), src_w, src_h, in main()
105 src_w, src_h, src_pix_fmt, 16)) < 0) { in main()
/third_party/ffmpeg/libavutil/
Dpixdesc.h416 enum AVPixelFormat src_pix_fmt,
438 … enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr);
Dpixdesc.c2715 enum AVPixelFormat src_pix_fmt, in get_pix_fmt_score() argument
2718 const AVPixFmtDescriptor *src_desc = av_pix_fmt_desc_get(src_pix_fmt); in get_pix_fmt_score()
2730 if (dst_pix_fmt == src_pix_fmt) in get_pix_fmt_score()
2739 if (dst_pix_fmt == src_pix_fmt) in get_pix_fmt_score()
2742 if ((ret = get_pix_fmt_depth(&src_min_depth, &src_max_depth, src_pix_fmt)) < 0) in get_pix_fmt_score()
2818 …(src_pix_fmt != AV_PIX_FMT_PAL8 && (src_color != FF_COLOR_GRAY || (pixdesc_has_alpha(src_desc) && … in get_pix_fmt_score()
2828 enum AVPixelFormat src_pix_fmt, in av_get_pix_fmt_loss() argument
2832 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()
2839 … enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr) in av_find_best_pix_fmt_of_2() argument
2856 score1 = get_pix_fmt_score(dst_pix_fmt1, src_pix_fmt, &loss1, loss_mask); in av_find_best_pix_fmt_of_2()
[all …]