27 name = gst_structure_get_name (gst_caps_get_structure (caps, 0));
30 if (g_ascii_strcasecmp (name,
"other/tensors") == 0) {
32 }
else if (g_ascii_strcasecmp (name,
"video/x-raw") == 0) {
34 }
else if (g_ascii_strcasecmp (name,
"audio/x-raw") == 0) {
36 }
else if (g_ascii_strcasecmp (name,
"text/x-raw") == 0) {
38 }
else if (g_ascii_strcasecmp (name,
"application/octet-stream") == 0) {
40 }
else if (g_ascii_strcasecmp (name,
"image/png") == 0
41 || g_ascii_strcasecmp (name,
"image/jpeg") == 0
42 || g_ascii_strcasecmp (name,
"image/tiff") == 0
43 || g_ascii_strcasecmp (name,
"image/gif") == 0) {
47 GST_ERROR (
"Could not get a data type from caps.");
57 if (!gst_element_register (plugin,
"datareposrc", GST_RANK_NONE,
61 if (!gst_element_register (plugin,
"datareposink", GST_RANK_NONE,
69 #define PACKAGE "NNStreamer MLOps Data Repository Plugins"
75 "NNStreamer MLOps Data Repository plugin library",
77 "https://github.com/nnstreamer/nnstreamer")