Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dimgconvert.c49 enum AVPixelFormat src_pix_fmt, in avcodec_get_pix_fmt_loss() argument
52 return av_get_pix_fmt_loss(dst_pix_fmt, src_pix_fmt, has_alpha); in avcodec_get_pix_fmt_loss()
56 … enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr) in avcodec_find_best_pix_fmt_of_2() argument
58 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()
62 … enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr) in avcodec_find_best_pix_fmt2() argument
64 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_fmt2()
69 enum AVPixelFormat src_pix_fmt, in avcodec_find_best_pix_fmt_of_list() argument
78 best = av_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.h3856 enum AVPixelFormat src_pix_fmt,
3864 int avcodec_get_pix_fmt_loss(enum AVPixelFormat dst_pix_fmt, enum AVPixelFormat src_pix_fmt,
3871 … enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr);
3875 … 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.h418 enum AVPixelFormat src_pix_fmt,
440 … enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr);
Dpixdesc.c2741 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()
[all …]