Lines Matching defs:par
2359 static const UID *mxf_get_mpeg2_codec_ul(AVCodecParameters *par)
2363 if (par->profile == 4) { // Main
2364 if (par->level == 8) // Main
2366 else if (par->level == 4) // High
2368 else if (par->level == 6) // High 14
2370 } else if (par->profile == 0) { // 422
2371 if (par->level == 5) // Main
2373 else if (par->level == 2) // High
2501 AVCodecParameters *par = st->codecpar;
2502 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(par->format);
2504 if (par->chroma_location != AVCHROMA_LOC_UNSPECIFIED)
2505 return par->chroma_location;
2511 if (par->field_order == AV_FIELD_UNKNOWN || par->field_order == AV_FIELD_PROGRESSIVE) {
2512 switch (par->codec_id) {
2517 if (par->field_order == AV_FIELD_UNKNOWN || par->field_order != AV_FIELD_PROGRESSIVE) {
2518 switch (par->codec_id) {