Home
last modified time | relevance | path

Searched refs:glsl_versions (Results 1 – 2 of 2) sorted by relevance

/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dgstglsl.c41 static const struct {GstGLSLVersion version; const gchar * name;} glsl_versions[] = { variable
204 for (i = 0; i < G_N_ELEMENTS (glsl_versions); i++) { in GST_START_TEST()
208 version_s = gst_glsl_version_to_string (glsl_versions[i].version); in GST_START_TEST()
209 fail_unless (g_strcmp0 (version_s, glsl_versions[i].name) == 0, "%s != %s", in GST_START_TEST()
210 version_s, glsl_versions[i].name); in GST_START_TEST()
211 version = gst_glsl_version_from_string (glsl_versions[i].name); in GST_START_TEST()
212 fail_unless (version == glsl_versions[i].version, "%s != %s", in GST_START_TEST()
213 gst_glsl_version_to_string (glsl_versions[i].version), in GST_START_TEST()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglsl.c69 static const struct glsl_version_string glsl_versions[] = { variable
116 for (i = 0; i < G_N_ELEMENTS (glsl_versions); i++) { in gst_glsl_version_to_string()
117 if (version == glsl_versions[i].version) in gst_glsl_version_to_string()
118 return glsl_versions[i].name; in gst_glsl_version_to_string()
142 for (i = 0; i < G_N_ELEMENTS (glsl_versions); i++) { in gst_glsl_version_from_string()
143 if (g_strcmp0 (str, glsl_versions[i].name) == 0) { in gst_glsl_version_from_string()
145 return glsl_versions[i].version; in gst_glsl_version_from_string()