/third_party/ffmpeg/libavcodec/ |
D | imgconvert.c | 49 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()
|
D | avcodec.h | 3856 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/doc/examples/ |
D | scaling_video.c | 57 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/libavfilter/ |
D | lswsutils.c | 25 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()
|
D | lswsutils.h | 35 int src_w, int src_h, enum AVPixelFormat src_pix_fmt,
|
/third_party/ffmpeg/libavutil/ |
D | pixdesc.h | 418 enum AVPixelFormat src_pix_fmt, 440 … enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr);
|
D | pixdesc.c | 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() [all …]
|