Lines Matching refs:dst_desc
2142 const AVPixFmtDescriptor *dst_desc = av_pix_fmt_desc_get(dst_pix_fmt);
2163 dst_color = get_color_type(dst_desc);
2167 nb_components = FFMIN(src_desc->nb_components, dst_desc->nb_components);
2170 int depth_minus1 = (dst_pix_fmt == AV_PIX_FMT_PAL8) ? 7/nb_components : dst_desc->comp[i].depth_minus1;
2178 if (dst_desc->log2_chroma_w > src_desc->log2_chroma_w) {
2180 score -= 256 << dst_desc->log2_chroma_w;
2182 if (dst_desc->log2_chroma_h > src_desc->log2_chroma_h) {
2184 score -= 256 << dst_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))) {