Lines Matching refs:src_desc
2141 const AVPixFmtDescriptor *src_desc = av_pix_fmt_desc_get(src_pix_fmt);
2162 src_color = get_color_type(src_desc);
2165 nb_components = FFMIN(src_desc->nb_components, 4);
2167 nb_components = FFMIN(src_desc->nb_components, dst_desc->nb_components);
2171 if (src_desc->comp[i].depth_minus1 > depth_minus1 && (consider & FF_LOSS_DEPTH)) {
2178 if (dst_desc->log2_chroma_w > src_desc->log2_chroma_w) {
2182 if (dst_desc->log2_chroma_h > src_desc->log2_chroma_h) {
2187 if (dst_desc->log2_chroma_w == 1 && src_desc->log2_chroma_w == 0 &&
2188 dst_desc->log2_chroma_h == 1 && src_desc->log2_chroma_h == 0 ) {
2221 score -= (nb_components * 65536) >> FFMIN(dst_desc->comp[0].depth_minus1, src_desc->comp[0].depth_minus1);
2228 if (!pixdesc_has_alpha(dst_desc) && (pixdesc_has_alpha(src_desc) && (consider & FF_LOSS_ALPHA))) {
2233 (src_pix_fmt != AV_PIX_FMT_PAL8 && (src_color != FF_COLOR_GRAY || (pixdesc_has_alpha(src_desc) && (consider & FF_LOSS_ALPHA))))) {