Lines Matching refs:profiles
506 GstNvEncCodecProfile profiles[] = { in gst_nvenc_get_supported_codec_profiles() local
560 for (j = 0; j < G_N_ELEMENTS (profiles); j++) { in gst_nvenc_get_supported_codec_profiles()
561 if (profiles[j].supported == FALSE && in gst_nvenc_get_supported_codec_profiles()
562 gst_nvenc_cmp_guid (profile_guids[i], profiles[j].nv_profile) && in gst_nvenc_get_supported_codec_profiles()
563 gst_nvenc_cmp_guid (codec_id, profiles[j].codec_id)) { in gst_nvenc_get_supported_codec_profiles()
564 if (profiles[j].need_yuv444 && !support_yuv444) in gst_nvenc_get_supported_codec_profiles()
567 if (profiles[j].need_10bit && !support_10bit) in gst_nvenc_get_supported_codec_profiles()
570 profiles[j].supported = TRUE; in gst_nvenc_get_supported_codec_profiles()
584 for (i = 0; i < G_N_ELEMENTS (profiles); i++) { in gst_nvenc_get_supported_codec_profiles()
585 if (!profiles[i].supported) in gst_nvenc_get_supported_codec_profiles()
588 g_value_set_static_string (&val, profiles[i].gst_profile); in gst_nvenc_get_supported_codec_profiles()
609 GValue *profiles; in gst_nv_enc_register() local
664 profiles = gst_nvenc_get_supported_codec_profiles (enc, codec_id); in gst_nv_enc_register()
665 if (!profiles) in gst_nv_enc_register()
817 gst_caps_set_value (src_templ, "profile", profiles); in gst_nv_enc_register()
823 g_value_unset (profiles); in gst_nv_enc_register()
824 g_free (profiles); in gst_nv_enc_register()