Lines Matching refs:dst_pix_fmt
493 int avcodec_get_pix_fmt_loss(enum PixelFormat dst_pix_fmt, enum PixelFormat src_pix_fmt,
498 const AVPixFmtDescriptor *dst_desc = &av_pix_fmt_descriptors[dst_pix_fmt];
505 pf = &pix_fmt_info[dst_pix_fmt];
507 ((dst_pix_fmt == PIX_FMT_RGB555BE || dst_pix_fmt == PIX_FMT_RGB555LE ||
508 dst_pix_fmt == PIX_FMT_BGR555BE || dst_pix_fmt == PIX_FMT_BGR555LE) &&
610 enum PixelFormat dst_pix_fmt;
613 dst_pix_fmt = PIX_FMT_NONE;
623 dst_pix_fmt = i;
628 return dst_pix_fmt;
634 enum PixelFormat dst_pix_fmt;
650 dst_pix_fmt = avcodec_find_best_pix_fmt1(pix_fmt_mask, src_pix_fmt,
652 if (dst_pix_fmt >= 0)
660 *loss_ptr = avcodec_get_pix_fmt_loss(dst_pix_fmt, src_pix_fmt, has_alpha);
661 return dst_pix_fmt;