SimaPluginStaticManifestAbi.h File
#include <gst/gst.h>
Classes Index
Typedefs Index
Functions Index
Macro Definitions Index
Typedefs
SimaPluginStaticManifestAbiHeader
| typedef struct SimaPluginStaticManifestAbiHeader SimaPluginStaticManifestAbiHeader |
|
SimaPluginStaticManifestAccessorV1
| typedef struct SimaPluginStaticManifestAccessorV1 SimaPluginStaticManifestAccessorV1 |
|
Functions
sima_plugin_manifest_context_accessor()
| const SimaPluginStaticManifestAccessorV1* sima_plugin_manifest_context_accessor (const GstContext * context) |
|
inline
static
|
Definition at line 79 of file SimaPluginStaticManifestAbi.h.
79sima_plugin_manifest_context_accessor(const GstContext* context) {
80 const GstStructure* structure = sima_plugin_manifest_context_structure(context);
81 if (!structure) {
82 return NULL;
83 }
84 const GValue* accessor_val =
86 if (!accessor_val || !G_VALUE_HOLDS_POINTER(accessor_val)) {
87 return NULL;
88 }
92 return NULL;
93 }
94 return accessor;
95}
sima_plugin_manifest_context_matches()
| gboolean sima_plugin_manifest_context_matches (const GstContext * context) |
|
inline
static
|
Definition at line 62 of file SimaPluginStaticManifestAbi.h.
62static inline gboolean sima_plugin_manifest_context_matches(const GstContext* context) {
63 if (!context) {
64 return FALSE;
65 }
66 return g_strcmp0(gst_context_get_context_type(context),
68}
sima_plugin_manifest_context_structure()
| const GstStructure* sima_plugin_manifest_context_structure (const GstContext * context) |
|
inline
static
|
Definition at line 71 of file SimaPluginStaticManifestAbi.h.
71sima_plugin_manifest_context_structure(const GstContext* context) {
72 if (!sima_plugin_manifest_context_matches(context)) {
73 return NULL;
74 }
75 return gst_context_get_structure(context);
76}
sima_plugin_manifest_lookup_stage_by_element_name()
Definition at line 97 of file SimaPluginStaticManifestAbi.h.
97static inline const gchar* sima_plugin_manifest_lookup_stage_by_element_name(
100 return NULL;
101 }
103}
sima_plugin_manifest_lookup_stage_by_logical_id()
Macro Definitions
SIMA_PLUGIN_STATIC_MANIFEST_ABI_VERSION
| #define SIMA_PLUGIN_STATIC_MANIFEST_ABI_VERSION ((guint)1) |
|
SIMA_PLUGIN_STATIC_MANIFEST_CONTEXT_TYPE
| #define SIMA_PLUGIN_STATIC_MANIFEST_CONTEXT_TYPE "sima.model.manifest.v1" |
|
SIMA_PLUGIN_STATIC_MANIFEST_KEY_ACCESSOR_V1
| #define SIMA_PLUGIN_STATIC_MANIFEST_KEY_ACCESSOR_V1 "manifest_accessor_v1" |
|
SIMA_PLUGIN_STATIC_MANIFEST_KEY_JSON
| #define SIMA_PLUGIN_STATIC_MANIFEST_KEY_JSON "manifest_json" |
|
SIMA_PLUGIN_STATIC_MANIFEST_KEY_MODEL_ID
| #define SIMA_PLUGIN_STATIC_MANIFEST_KEY_MODEL_ID "model_id" |
|
SIMA_PLUGIN_STATIC_MANIFEST_KEY_SESSION_ID
| #define SIMA_PLUGIN_STATIC_MANIFEST_KEY_SESSION_ID "session_id" |
|
SIMA_PLUGIN_STATIC_MANIFEST_KEY_VERSION
| #define SIMA_PLUGIN_STATIC_MANIFEST_KEY_VERSION "manifest_version" |
|
File Listing
The file content with the documentation metadata removed is:
29#define SIMA_PLUGIN_STATIC_MANIFEST_CONTEXT_TYPE "sima.model.manifest.v1"
30#define SIMA_PLUGIN_STATIC_MANIFEST_ABI_VERSION ((guint)1)
32#define SIMA_PLUGIN_STATIC_MANIFEST_KEY_VERSION "manifest_version"
33#define SIMA_PLUGIN_STATIC_MANIFEST_KEY_JSON "manifest_json"
34#define SIMA_PLUGIN_STATIC_MANIFEST_KEY_SESSION_ID "session_id"
35#define SIMA_PLUGIN_STATIC_MANIFEST_KEY_MODEL_ID "model_id"
36#define SIMA_PLUGIN_STATIC_MANIFEST_KEY_ACCESSOR_V1 "manifest_accessor_v1"
58 const gchar* (*stage_json_by_element_name)(gpointer user_data, const gchar* element_name);
59 const gchar* (*stage_json_by_logical_stage_id)(gpointer user_data, const gchar* logical_stage_id);
62static inline gboolean sima_plugin_manifest_context_matches(const GstContext* context) {
66 return g_strcmp0(gst_context_get_context_type(context),
70static inline const GstStructure*
71sima_plugin_manifest_context_structure(const GstContext* context) {
72 if (!sima_plugin_manifest_context_matches(context)) {
75 return gst_context_get_structure(context);
79sima_plugin_manifest_context_accessor(const GstContext* context) {
80 const GstStructure* structure = sima_plugin_manifest_context_structure(context);
84 const GValue* accessor_val =
86 if (!accessor_val || !G_VALUE_HOLDS_POINTER(accessor_val)) {
97static inline const gchar* sima_plugin_manifest_lookup_stage_by_element_name(
105static inline const gchar*
107 const gchar* logical_stage_id) {
109 !*logical_stage_id) {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.