Lines Matching defs:profile
1339 const VAAPIEncodeProfile *profile;
1393 profile = &ctx->codec->profiles[i];
1394 if (depth != profile->depth ||
1395 desc->nb_components != profile->nb_components)
1398 (desc->log2_chroma_w != profile->log2_chroma_w ||
1399 desc->log2_chroma_h != profile->log2_chroma_h))
1401 if (avctx->profile != profile->av_profile &&
1402 avctx->profile != FF_PROFILE_UNKNOWN)
1406 profile_string = vaProfileStr(profile->va_profile);
1408 profile_string = "(no profile names)";
1412 if (va_profiles[j] == profile->va_profile)
1416 av_log(avctx, AV_LOG_VERBOSE, "Compatible profile %s (%d) "
1418 profile->va_profile);
1422 ctx->profile = profile;
1425 if (!ctx->profile) {
1426 av_log(avctx, AV_LOG_ERROR, "No usable encoding profile found.\n");
1431 avctx->profile = profile->av_profile;
1432 ctx->va_profile = profile->va_profile;
1433 av_log(avctx, AV_LOG_VERBOSE, "Using VAAPI profile %s (%d).\n",
1446 "profile %s (%d): %d (%s).\n", profile_string,
1462 "for profile %s (%d).\n", profile_string, ctx->va_profile);
1479 rt_format->nb_components == profile->nb_components &&
1480 rt_format->log2_chroma_w == profile->log2_chroma_w &&
1481 rt_format->log2_chroma_h == profile->log2_chroma_h)
1486 "found for profile %s (%d) entrypoint %s (%d).\n",
1510 "by driver for encoding profile %s (%d) entrypoint %s (%d).\n",