Lines Matching defs:desc
83 const char *desc;
99 static int svt_map_error(EbErrorType eb_err, const char **desc)
103 av_assert0(desc);
106 *desc = svt_errors[i].desc;
110 *desc = "unknown error";
117 const char *desc;
118 int ret = svt_map_error(err, &desc);
120 av_log(log_ctx, AV_LOG_ERROR, "%s: %s (0x%x)\n", error_string, desc, err);
153 const AVPixFmtDescriptor *desc;
196 desc = av_pix_fmt_desc_get(avctx->pix_fmt);
198 param->matrix_coefficients = (desc->flags & AV_PIX_FMT_FLAG_RGB) ?
205 param->color_range = !!(desc->flags & AV_PIX_FMT_FLAG_RGB);
277 param->encoder_bit_depth = desc->comp[0].depth;
279 if (desc->log2_chroma_w == 1 && desc->log2_chroma_h == 1)
281 else if (desc->log2_chroma_w == 1 && desc->log2_chroma_h == 0)
283 else if (!desc->log2_chroma_w && !desc->log2_chroma_h)