本文整理汇总了C++中C_FLAGS函数的典型用法代码示例。如果您正苦于以下问题:C++ C_FLAGS函数的具体用法?C++ C_FLAGS怎么用?C++ C_FLAGS使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了C_FLAGS函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: gst_plugin_dependency_flags_get_type
GType
gst_plugin_dependency_flags_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{C_FLAGS (GST_PLUGIN_DEPENDENCY_FLAG_NONE),
"GST_PLUGIN_DEPENDENCY_FLAG_NONE", "none"},
{C_FLAGS (GST_PLUGIN_DEPENDENCY_FLAG_RECURSE),
"GST_PLUGIN_DEPENDENCY_FLAG_RECURSE", "recurse"},
{C_FLAGS (GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY),
"GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY",
"paths-are-default-only"},
{C_FLAGS (GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX),
"GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX",
"file-name-is-suffix"},
{0, NULL, NULL}
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstPluginDependencyFlags", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:sanyaade-webdev,项目名称:deftbuild,代码行数:25,代码来源:gstenumtypes.c
示例2: gst_buffer_flag_get_type
/* enumerations from "gstbuffer.h" */
GType
gst_buffer_flag_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{C_FLAGS (GST_BUFFER_FLAG_READONLY), "GST_BUFFER_FLAG_READONLY",
"readonly"},
{C_FLAGS (GST_BUFFER_FLAG_PREROLL), "GST_BUFFER_FLAG_PREROLL", "preroll"},
{C_FLAGS (GST_BUFFER_FLAG_DISCONT), "GST_BUFFER_FLAG_DISCONT", "discont"},
{C_FLAGS (GST_BUFFER_FLAG_IN_CAPS), "GST_BUFFER_FLAG_IN_CAPS", "in-caps"},
{C_FLAGS (GST_BUFFER_FLAG_GAP), "GST_BUFFER_FLAG_GAP", "gap"},
{C_FLAGS (GST_BUFFER_FLAG_DELTA_UNIT), "GST_BUFFER_FLAG_DELTA_UNIT",
"delta-unit"},
{C_FLAGS (GST_BUFFER_FLAG_MEDIA1), "GST_BUFFER_FLAG_MEDIA1", "media1"},
{C_FLAGS (GST_BUFFER_FLAG_MEDIA2), "GST_BUFFER_FLAG_MEDIA2", "media2"},
{C_FLAGS (GST_BUFFER_FLAG_MEDIA3), "GST_BUFFER_FLAG_MEDIA3", "media3"},
{C_FLAGS (GST_BUFFER_FLAG_LAST), "GST_BUFFER_FLAG_LAST", "last"},
{0, NULL, NULL}
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstBufferFlag", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:sanyaade-webdev,项目名称:deftbuild,代码行数:28,代码来源:gstenumtypes.c
示例3: gst_bus_flags_get_type
/* enumerations from "gstbus.h" */
GType
gst_bus_flags_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{C_FLAGS (GST_BUS_FLUSHING), "GST_BUS_FLUSHING", "flushing"},
{C_FLAGS (GST_BUS_FLAG_LAST), "GST_BUS_FLAG_LAST", "flag-last"},
{0, NULL, NULL}
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstBusFlags", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:sanyaade-webdev,项目名称:deftbuild,代码行数:18,代码来源:gstenumtypes.c
示例4: gst_caps_flags_get_type
/* enumerations from "gstcaps.h" */
GType
gst_caps_flags_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{C_FLAGS (GST_CAPS_FLAGS_NONE), "GST_CAPS_FLAGS_NONE", "none"},
{C_FLAGS (GST_CAPS_FLAGS_ANY), "GST_CAPS_FLAGS_ANY", "any"},
{0, NULL, NULL}
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstCapsFlags", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:AlerIl,项目名称:gstreamer0.10,代码行数:18,代码来源:gstenumtypes.c
示例5: gst_clock_flags_get_type
GType
gst_clock_flags_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{C_FLAGS (GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC),
"GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC", "can-do-single-sync"},
{C_FLAGS (GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC),
"GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC", "can-do-single-async"},
{C_FLAGS (GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC),
"GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC", "can-do-periodic-sync"},
{C_FLAGS (GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC),
"GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC", "can-do-periodic-async"},
{C_FLAGS (GST_CLOCK_FLAG_CAN_SET_RESOLUTION),
"GST_CLOCK_FLAG_CAN_SET_RESOLUTION", "can-set-resolution"},
{C_FLAGS (GST_CLOCK_FLAG_CAN_SET_MASTER), "GST_CLOCK_FLAG_CAN_SET_MASTER",
"can-set-master"},
{C_FLAGS (GST_CLOCK_FLAG_LAST), "GST_CLOCK_FLAG_LAST", "last"},
{0, NULL, NULL}
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstClockFlags", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:sanyaade-webdev,项目名称:deftbuild,代码行数:28,代码来源:gstenumtypes.c
示例6: gst_pad_template_flags_get_type
GType
gst_pad_template_flags_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{C_FLAGS (GST_PAD_TEMPLATE_FIXED), "GST_PAD_TEMPLATE_FIXED", "fixed"},
{C_FLAGS (GST_PAD_TEMPLATE_FLAG_LAST), "GST_PAD_TEMPLATE_FLAG_LAST",
"flag-last"},
{0, NULL, NULL}
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstPadTemplateFlags", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:sanyaade-webdev,项目名称:deftbuild,代码行数:18,代码来源:gstenumtypes.c
示例7: gst_object_flags_get_type
/* enumerations from "gstobject.h" */
GType
gst_object_flags_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{C_FLAGS (GST_OBJECT_DISPOSING), "GST_OBJECT_DISPOSING", "disposing"},
{C_FLAGS (GST_OBJECT_FLOATING), "GST_OBJECT_FLOATING", "floating"},
{C_FLAGS (GST_OBJECT_FLAG_LAST), "GST_OBJECT_FLAG_LAST", "flag-last"},
{0, NULL, NULL}
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstObjectFlags", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:sanyaade-webdev,项目名称:deftbuild,代码行数:19,代码来源:gstenumtypes.c
示例8: gst_plugin_flags_get_type
GType
gst_plugin_flags_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{C_FLAGS (GST_PLUGIN_FLAG_CACHED), "GST_PLUGIN_FLAG_CACHED", "cached"},
{C_FLAGS (GST_PLUGIN_FLAG_BLACKLISTED), "GST_PLUGIN_FLAG_BLACKLISTED",
"blacklisted"},
{0, NULL, NULL}
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstPluginFlags", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:Anthony-Biget,项目名称:openjfx,代码行数:18,代码来源:gstenumtypes.c
示例9: gst_pipeline_flags_get_type
/* enumerations from "gstpipeline.h" */
GType
gst_pipeline_flags_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{C_FLAGS (GST_PIPELINE_FLAG_FIXED_CLOCK), "GST_PIPELINE_FLAG_FIXED_CLOCK",
"fixed-clock"},
{C_FLAGS (GST_PIPELINE_FLAG_LAST), "GST_PIPELINE_FLAG_LAST", "last"},
{0, NULL, NULL}
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstPipelineFlags", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:sanyaade-webdev,项目名称:deftbuild,代码行数:19,代码来源:gstenumtypes.c
示例10: gst_mini_object_flags_get_type
/* enumerations from "gstminiobject.h" */
GType
gst_mini_object_flags_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{C_FLAGS (GST_MINI_OBJECT_FLAG_READONLY), "GST_MINI_OBJECT_FLAG_READONLY",
"readonly"},
{C_FLAGS (GST_MINI_OBJECT_FLAG_LAST), "GST_MINI_OBJECT_FLAG_LAST", "last"},
{0, NULL, NULL}
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstMiniObjectFlags", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:sanyaade-webdev,项目名称:deftbuild,代码行数:19,代码来源:gstenumtypes.c
示例11: gst_index_flags_get_type
GType
gst_index_flags_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{C_FLAGS (GST_INDEX_WRITABLE), "GST_INDEX_WRITABLE", "writable"},
{C_FLAGS (GST_INDEX_READABLE), "GST_INDEX_READABLE", "readable"},
{C_FLAGS (GST_INDEX_FLAG_LAST), "GST_INDEX_FLAG_LAST", "flag-last"},
{0, NULL, NULL}
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstIndexFlags", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:sanyaade-webdev,项目名称:deftbuild,代码行数:18,代码来源:gstenumtypes.c
示例12: gst_alloc_trace_flags_get_type
/* enumerations from "gsttrace.h" */
GType
gst_alloc_trace_flags_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{C_FLAGS (GST_ALLOC_TRACE_LIVE), "GST_ALLOC_TRACE_LIVE", "live"},
{C_FLAGS (GST_ALLOC_TRACE_MEM_LIVE), "GST_ALLOC_TRACE_MEM_LIVE",
"mem-live"},
{0, NULL, NULL}
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstAllocTraceFlags", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:sanyaade-webdev,项目名称:deftbuild,代码行数:19,代码来源:gstenumtypes.c
示例13: gst_parse_flags_get_type
GType
gst_parse_flags_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{C_FLAGS (GST_PARSE_FLAG_NONE), "GST_PARSE_FLAG_NONE", "none"},
{C_FLAGS (GST_PARSE_FLAG_FATAL_ERRORS), "GST_PARSE_FLAG_FATAL_ERRORS",
"fatal-errors"},
{0, NULL, NULL}
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstParseFlags", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:sanyaade-webdev,项目名称:deftbuild,代码行数:18,代码来源:gstenumtypes.c
示例14: gst_buffer_copy_flags_get_type
GType
gst_buffer_copy_flags_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{C_FLAGS (GST_BUFFER_COPY_FLAGS), "GST_BUFFER_COPY_FLAGS", "flags"},
{C_FLAGS (GST_BUFFER_COPY_TIMESTAMPS), "GST_BUFFER_COPY_TIMESTAMPS",
"timestamps"},
{C_FLAGS (GST_BUFFER_COPY_CAPS), "GST_BUFFER_COPY_CAPS", "caps"},
{0, NULL, NULL}
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstBufferCopyFlags", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:sanyaade-webdev,项目名称:deftbuild,代码行数:19,代码来源:gstenumtypes.c
示例15: gst_event_type_flags_get_type
/* enumerations from "gstevent.h" */
GType
gst_event_type_flags_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{C_FLAGS (GST_EVENT_TYPE_UPSTREAM), "GST_EVENT_TYPE_UPSTREAM", "upstream"},
{C_FLAGS (GST_EVENT_TYPE_DOWNSTREAM), "GST_EVENT_TYPE_DOWNSTREAM",
"downstream"},
{C_FLAGS (GST_EVENT_TYPE_SERIALIZED), "GST_EVENT_TYPE_SERIALIZED",
"serialized"},
{0, NULL, NULL}
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstEventTypeFlags", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:sanyaade-webdev,项目名称:deftbuild,代码行数:21,代码来源:gstenumtypes.c
示例16: gst_assoc_flags_get_type
GType
gst_assoc_flags_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{C_FLAGS (GST_ASSOCIATION_FLAG_NONE), "GST_ASSOCIATION_FLAG_NONE", "none"},
{C_FLAGS (GST_ASSOCIATION_FLAG_KEY_UNIT), "GST_ASSOCIATION_FLAG_KEY_UNIT",
"key-unit"},
{C_FLAGS (GST_ASSOCIATION_FLAG_DELTA_UNIT),
"GST_ASSOCIATION_FLAG_DELTA_UNIT", "delta-unit"},
{C_FLAGS (GST_ASSOCIATION_FLAG_LAST), "GST_ASSOCIATION_FLAG_LAST", "last"},
{0, NULL, NULL}
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstAssocFlags", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:sanyaade-webdev,项目名称:deftbuild,代码行数:21,代码来源:gstenumtypes.c
示例17: gst_element_flags_get_type
GType
gst_element_flags_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{C_FLAGS (GST_ELEMENT_LOCKED_STATE), "GST_ELEMENT_LOCKED_STATE",
"locked-state"},
{C_FLAGS (GST_ELEMENT_IS_SINK), "GST_ELEMENT_IS_SINK", "is-sink"},
{C_FLAGS (GST_ELEMENT_UNPARENTING), "GST_ELEMENT_UNPARENTING",
"unparenting"},
{C_FLAGS (GST_ELEMENT_FLAG_LAST), "GST_ELEMENT_FLAG_LAST", "flag-last"},
{0, NULL, NULL}
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstElementFlags", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:sanyaade-webdev,项目名称:deftbuild,代码行数:21,代码来源:gstenumtypes.c
示例18: gst_vp9_dec_post_processing_flags_get_type
static GType
gst_vp9_dec_post_processing_flags_get_type (void)
{
static const GFlagsValue values[] = {
{C_FLAGS (VP8_DEBLOCK), "Deblock", "deblock"},
{C_FLAGS (VP8_DEMACROBLOCK), "Demacroblock", "demacroblock"},
{C_FLAGS (VP8_ADDNOISE), "Add noise", "addnoise"},
{C_FLAGS (VP8_MFQE), "Multi-frame quality enhancement", "mfqe"},
{0, NULL, NULL}
};
static volatile GType id = 0;
if (g_once_init_enter ((gsize *) & id)) {
GType _id;
_id = g_flags_register_static ("GstVP9DecPostProcessingFlags", values);
g_once_init_leave ((gsize *) & id, _id);
}
return id;
}
开发者ID:ndufresne,项目名称:gst-plugins-good,代码行数:22,代码来源:gstvp9dec.c
示例19: gst_pad_link_check_get_type
GType
gst_pad_link_check_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{C_FLAGS (GST_PAD_LINK_CHECK_NOTHING), "GST_PAD_LINK_CHECK_NOTHING",
"nothing"},
{C_FLAGS (GST_PAD_LINK_CHECK_HIERARCHY), "GST_PAD_LINK_CHECK_HIERARCHY",
"hierarchy"},
{C_FLAGS (GST_PAD_LINK_CHECK_TEMPLATE_CAPS),
"GST_PAD_LINK_CHECK_TEMPLATE_CAPS", "template-caps"},
{C_FLAGS (GST_PAD_LINK_CHECK_CAPS), "GST_PAD_LINK_CHECK_CAPS", "caps"},
{0, NULL, NULL}
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstPadLinkCheck", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:Anthony-Biget,项目名称:openjfx,代码行数:22,代码来源:gstenumtypes.c
示例20: gst_debug_graph_details_get_type
EXPORT_C
#endif
GType
gst_debug_graph_details_get_type (void)
{
static gsize id = 0;
static const GFlagsValue values[] = {
{ C_FLAGS(GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE), "GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE", "media-type" },
{ C_FLAGS(GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS), "GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS", "caps-details" },
{ C_FLAGS(GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS), "GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS", "non-default-params" },
{ C_FLAGS(GST_DEBUG_GRAPH_SHOW_STATES), "GST_DEBUG_GRAPH_SHOW_STATES", "states" },
{ C_FLAGS(GST_DEBUG_GRAPH_SHOW_ALL), "GST_DEBUG_GRAPH_SHOW_ALL", "all" },
{ 0, NULL, NULL }
};
if (g_once_init_enter (&id)) {
GType tmp = g_flags_register_static ("GstDebugGraphDetails", values);
g_once_init_leave (&id, tmp);
}
return (GType) id;
}
开发者ID:kuailexs,项目名称:symbiandump-mw1,代码行数:23,代码来源:gstenumtypes.c
注:本文中的C_FLAGS函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论