Lines Matching refs:profiles
83 GArray *profiles = (GArray *) value; in plugin_register_decoders() local
86 if (!profiles || profiles->len == 0) in plugin_register_decoders()
89 if (!gst_va_caps_from_profiles (device->display, profiles, VAEntrypointVLD, in plugin_register_decoders()
93 GST_LOG ("%d decoder codec: %" GST_FOURCC_FORMAT, profiles->len, in plugin_register_decoders()
170 GArray *profiles = (GArray *) value; in plugin_register_encoders() local
173 if (!profiles || profiles->len == 0) in plugin_register_encoders()
176 if (!gst_va_caps_from_profiles (device->display, profiles, entrypoint, in plugin_register_encoders()
180 GST_LOG ("%d encoder %scodec: %" GST_FOURCC_FORMAT, profiles->len, str, in plugin_register_encoders()
226 GArray *profiles; in _insert_profile_in_table() local
231 profiles = g_hash_table_lookup (table, &codec); in _insert_profile_in_table()
232 if (!profiles) { in _insert_profile_in_table()
236 profiles = g_array_new (FALSE, FALSE, sizeof (VAProfile)); in _insert_profile_in_table()
237 g_hash_table_insert (table, codec_ptr, profiles); in _insert_profile_in_table()
239 g_array_append_val (profiles, profile); in _insert_profile_in_table()
247 VAProfile *profiles = g_new (VAProfile, vaMaxNumProfiles (dpy)); in plugin_register_elements() local
262 status = vaQueryConfigProfiles (dpy, profiles, &num_profiles); in plugin_register_elements()
269 status = vaQueryConfigEntrypoints (dpy, profiles[i], entrypoints, in plugin_register_elements()
278 _insert_profile_in_table (decoders, profiles[i]); in plugin_register_elements()
280 _insert_profile_in_table (encoders, profiles[i]); in plugin_register_elements()
282 _insert_profile_in_table (encoderslp, profiles[i]); in plugin_register_elements()
284 _insert_profile_in_table (encodersimg, profiles[i]); in plugin_register_elements()
306 g_free (profiles); in plugin_register_elements()