Home
last modified time | relevance | path

Searched refs:structure (Results 1 – 25 of 2587) sorted by relevance

12345678910>>...104

/third_party/gstreamer/gstreamer/gst/
Dgststructure.c103 #define GST_STRUCTURE_FIELD(structure, index) \ argument
104 &g_array_index(GST_STRUCTURE_FIELDS(structure), GstStructureField, (index))
106 #define IS_MUTABLE(structure) \ argument
107 (!GST_STRUCTURE_REFCOUNT(structure) || \
108 g_atomic_int_get (GST_STRUCTURE_REFCOUNT(structure)) == 1)
110 #define IS_TAGLIST(structure) \ argument
111 (structure->name == GST_QUARK (TAGLIST))
113 static void gst_structure_set_field (GstStructure * structure,
116 structure, const gchar * fieldname);
118 structure, GQuark field);
[all …]
Dgstquery.c75 GstStructure *structure; member
78 #define GST_QUERY_STRUCTURE(q) (((GstQueryImpl *)(q))->structure)
237 GstStructure *structure; in gst_query_new_position() local
239 structure = gst_structure_new_id (GST_QUARK (QUERY_POSITION), in gst_query_new_position()
243 query = gst_query_new_custom (GST_QUERY_POSITION, structure); in gst_query_new_position()
285 GstStructure *structure; in gst_query_parse_position() local
289 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_position()
292 (GstFormat) g_value_get_enum (gst_structure_id_get_value (structure, in gst_query_parse_position()
295 *cur = g_value_get_int64 (gst_structure_id_get_value (structure, in gst_query_parse_position()
316 GstStructure *structure; in gst_query_new_duration() local
[all …]
Dgststructure.h128 GstStructure * gst_structure_copy (const GstStructure * structure) G_GNUC_M…
131 gboolean gst_structure_set_parent_refcount (GstStructure * structure,
134 void gst_structure_free (GstStructure * structure);
141 const gchar * gst_structure_get_name (const GstStructure * structure);
144 GQuark gst_structure_get_name_id (const GstStructure * structure);
147 gboolean gst_structure_has_name (const GstStructure * structure,
150 void gst_structure_set_name (GstStructure * structure,
153 void gst_structure_id_set_value (GstStructure * structure,
157 void gst_structure_set_value (GstStructure * structure,
161 void gst_structure_set_array (GstStructure * structure,
[all …]
Dgstmessage.c63 GstStructure *structure; member
66 #define GST_MESSAGE_STRUCTURE(m) (((GstMessageImpl *)(m))->structure)
204 GstStructure *structure; in _gst_message_free() local
216 structure = GST_MESSAGE_STRUCTURE (message); in _gst_message_free()
217 if (structure) { in _gst_message_free()
218 gst_structure_set_parent_refcount (structure, NULL); in _gst_message_free()
219 gst_structure_free (structure); in _gst_message_free()
236 GstStructure *structure; in _gst_message_copy() local
250 structure = GST_MESSAGE_STRUCTURE (message); in _gst_message_copy()
251 if (structure) { in _gst_message_copy()
[all …]
Dgstevent.c91 GstStructure *structure; member
95 #define GST_EVENT_STRUCTURE(e) (((GstEventImpl *)(e))->structure)
302 gst_event_new_custom (GstEventType type, GstStructure * structure) in gst_event_new_custom() argument
311 if (structure) { in gst_event_new_custom()
313 if (!gst_structure_set_parent_refcount (structure, in gst_event_new_custom()
320 GST_EVENT_STRUCTURE (event) = structure; in gst_event_new_custom()
370 GstStructure *structure; in gst_event_writable_structure() local
375 structure = GST_EVENT_STRUCTURE (event); in gst_event_writable_structure()
377 if (structure == NULL) { in gst_event_writable_structure()
378 structure = in gst_event_writable_structure()
[all …]
Dgstcontext.c72 GstStructure *structure; member
76 #define GST_CONTEXT_STRUCTURE(c) (((GstContext *)(c))->structure)
97 GstStructure *structure; in _gst_context_free() local
104 structure = GST_CONTEXT_STRUCTURE (context); in _gst_context_free()
105 if (structure) { in _gst_context_free()
106 gst_structure_set_parent_refcount (structure, NULL); in _gst_context_free()
107 gst_structure_free (structure); in _gst_context_free()
124 GstStructure *structure; in _gst_context_copy() local
135 structure = GST_CONTEXT_STRUCTURE (context); in _gst_context_copy()
136 GST_CONTEXT_STRUCTURE (copy) = gst_structure_copy (structure); in _gst_context_copy()
[all …]
Dgstcaps.c76 GstStructure *structure; member
110 (g_array_index (GST_CAPS_ARRAY (caps), GstCapsArrayElement, (index)).structure)
118 if (gst_structure_set_parent_refcount (__e.structure, &GST_MINI_OBJECT_REFCOUNT(caps)) && \
168 GstStructure *structure; in _gst_caps_copy() local
181 structure = gst_caps_get_structure_unchecked (caps, i); in _gst_caps_copy()
183 gst_caps_append_structure_full (newcaps, gst_structure_copy (structure), in _gst_caps_copy()
194 GstStructure *structure; in _gst_caps_free() local
204 structure = gst_caps_get_structure_unchecked (caps, i); in _gst_caps_free()
205 gst_structure_set_parent_refcount (structure, NULL); in _gst_caps_free()
206 gst_structure_free (structure); in _gst_caps_free()
[all …]
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpstreamdepay.c110 GstStructure *structure; in gst_rtp_stream_depay_set_sink_caps() local
114 structure = gst_caps_get_structure (othercaps, 0); in gst_rtp_stream_depay_set_sink_caps()
116 if (gst_structure_has_name (structure, "application/x-rtp-stream")) in gst_rtp_stream_depay_set_sink_caps()
117 gst_structure_set_name (structure, "application/x-rtp"); in gst_rtp_stream_depay_set_sink_caps()
118 else if (gst_structure_has_name (structure, "application/x-rtcp-stream")) in gst_rtp_stream_depay_set_sink_caps()
119 gst_structure_set_name (structure, "application/x-rtcp"); in gst_rtp_stream_depay_set_sink_caps()
120 else if (gst_structure_has_name (structure, "application/x-srtp-stream")) in gst_rtp_stream_depay_set_sink_caps()
121 gst_structure_set_name (structure, "application/x-srtp"); in gst_rtp_stream_depay_set_sink_caps()
123 gst_structure_set_name (structure, "application/x-srtcp"); in gst_rtp_stream_depay_set_sink_caps()
136 GstStructure *structure; in gst_rtp_stream_depay_get_sink_caps() local
[all …]
Dgstrtpstreampay.c109 GstStructure *structure; in gst_rtp_stream_pay_sink_get_caps() local
116 structure = gst_caps_get_structure (peerfilter, i); in gst_rtp_stream_pay_sink_get_caps()
118 if (gst_structure_has_name (structure, "application/x-rtp")) in gst_rtp_stream_pay_sink_get_caps()
119 gst_structure_set_name (structure, "application/x-rtp-stream"); in gst_rtp_stream_pay_sink_get_caps()
120 else if (gst_structure_has_name (structure, "application/x-rtcp")) in gst_rtp_stream_pay_sink_get_caps()
121 gst_structure_set_name (structure, "application/x-rtcp-stream"); in gst_rtp_stream_pay_sink_get_caps()
122 else if (gst_structure_has_name (structure, "application/x-srtp")) in gst_rtp_stream_pay_sink_get_caps()
123 gst_structure_set_name (structure, "application/x-srtp-stream"); in gst_rtp_stream_pay_sink_get_caps()
125 gst_structure_set_name (structure, "application/x-srtcp-stream"); in gst_rtp_stream_pay_sink_get_caps()
137 structure = gst_caps_get_structure (peercaps, i); in gst_rtp_stream_pay_sink_get_caps()
[all …]
Dgstrtpg722depay.c104 gst_rtp_g722_depay_parse_int (GstStructure * structure, const gchar * field, in gst_rtp_g722_depay_parse_int() argument
110 if ((str = gst_structure_get_string (structure, field))) in gst_rtp_g722_depay_parse_int()
113 if (gst_structure_get_int (structure, field, &res)) in gst_rtp_g722_depay_parse_int()
122 GstStructure *structure; in gst_rtp_g722_depay_setcaps() local
135 structure = gst_caps_get_structure (caps, 0); in gst_rtp_g722_depay_setcaps()
138 gst_structure_get_int (structure, "payload", &payload); in gst_rtp_g722_depay_setcaps()
155 gst_rtp_g722_depay_parse_int (structure, "clock-rate", clock_rate); in gst_rtp_g722_depay_setcaps()
166 gst_rtp_g722_depay_parse_int (structure, "encoding-params", channels); in gst_rtp_g722_depay_setcaps()
168 channels = gst_rtp_g722_depay_parse_int (structure, "channels", channels); in gst_rtp_g722_depay_setcaps()
185 channel_order = gst_structure_get_string (structure, "channel-order"); in gst_rtp_g722_depay_setcaps()
DgstrtpL24depay.c112 gst_rtp_L24_depay_parse_int (GstStructure * structure, const gchar * field, in gst_rtp_L24_depay_parse_int() argument
118 if ((str = gst_structure_get_string (structure, field))) in gst_rtp_L24_depay_parse_int()
121 if (gst_structure_get_int (structure, field, &res)) in gst_rtp_L24_depay_parse_int()
130 GstStructure *structure; in gst_rtp_L24_depay_setcaps() local
142 structure = gst_caps_get_structure (caps, 0); in gst_rtp_L24_depay_setcaps()
145 gst_structure_get_int (structure, "payload", &payload); in gst_rtp_L24_depay_setcaps()
152 gst_rtp_L24_depay_parse_int (structure, "clock-rate", clock_rate); in gst_rtp_L24_depay_setcaps()
157 gst_rtp_L24_depay_parse_int (structure, "encoding-params", channels); in gst_rtp_L24_depay_setcaps()
159 channels = gst_rtp_L24_depay_parse_int (structure, "channels", channels); in gst_rtp_L24_depay_setcaps()
176 channel_order = gst_structure_get_string (structure, "channel-order"); in gst_rtp_L24_depay_setcaps()
Dgstrtpbvpay.c117 GstStructure *structure; in gst_rtp_bv_pay_sink_setcaps() local
123 structure = gst_caps_get_structure (caps, 0); in gst_rtp_bv_pay_sink_setcaps()
125 payload_name = gst_structure_get_name (structure); in gst_rtp_bv_pay_sink_setcaps()
129 if (!gst_structure_get_int (structure, "mode", &mode)) in gst_rtp_bv_pay_sink_setcaps()
195 GstStructure *structure; in gst_rtp_bv_pay_sink_getcaps() local
199 structure = gst_caps_get_structure (otherpadcaps, 0); in gst_rtp_bv_pay_sink_getcaps()
202 mode_str = gst_structure_get_string (structure, "encoding-name"); in gst_rtp_bv_pay_sink_getcaps()
213 structure = gst_caps_get_structure (caps, 0); in gst_rtp_bv_pay_sink_getcaps()
214 gst_structure_set (structure, "mode", G_TYPE_INT, mode, NULL); in gst_rtp_bv_pay_sink_getcaps()
Dgstrtpilbcpay.c114 GstStructure *structure; in gst_rtp_ilbc_pay_sink_setcaps() local
120 structure = gst_caps_get_structure (caps, 0); in gst_rtp_ilbc_pay_sink_setcaps()
122 payload_name = gst_structure_get_name (structure); in gst_rtp_ilbc_pay_sink_setcaps()
126 if (!gst_structure_get_int (structure, "mode", &mode)) in gst_rtp_ilbc_pay_sink_setcaps()
190 GstStructure *structure; in gst_rtp_ilbc_pay_sink_getcaps() local
194 structure = gst_caps_get_structure (otherpadcaps, 0); in gst_rtp_ilbc_pay_sink_getcaps()
197 mode_str = gst_structure_get_string (structure, "mode"); in gst_rtp_ilbc_pay_sink_getcaps()
202 structure = gst_caps_get_structure (caps, 0); in gst_rtp_ilbc_pay_sink_getcaps()
203 gst_structure_set (structure, "mode", G_TYPE_INT, mode, NULL); in gst_rtp_ilbc_pay_sink_getcaps()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgststructure.c53 GstStructure *structure; in GST_START_TEST() local
63 structure = gst_structure_from_string (s, NULL); in GST_START_TEST()
64 fail_if (structure == NULL, "Could not get structure from string %s", s); in GST_START_TEST()
65 name = gst_structure_nth_field_name (structure, 0); in GST_START_TEST()
66 fail_unless (gst_structure_get_int (structure, name, &value)); in GST_START_TEST()
72 gst_structure_free (structure); in GST_START_TEST()
96 GstStructure *structure; in GST_START_TEST() local
106 structure = gst_structure_from_string (s, NULL); in GST_START_TEST()
107 fail_if (structure == NULL, "Could not get structure from string %s", s); in GST_START_TEST()
108 name = gst_structure_nth_field_name (structure, 0); in GST_START_TEST()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DStructureHLSL.cpp23 TString Define(const TStructure &structure, in Define() argument
28 const TFieldList &fields = structure.fields(); in Define()
29 const bool isNameless = (structure.symbolType() == SymbolType::Empty); in Define()
31 QualifiedStructNameString(structure, useHLSLRowMajorPacking, useStd140Packing); in Define()
55 string += " " + fieldTypeString + " " + DecorateField(field->name(), structure) + in Define()
176 const TStructure *structure = type.getStruct(); in postPaddingString() local
191 else if (structure) in postPaddingString()
194 QualifiedStructNameString(*structure, useHLSLRowMajorPacking, true); in postPaddingString()
223 TString StructureHLSL::defineQualified(const TStructure &structure, in defineQualified() argument
230 return Define(structure, useHLSLRowMajorPacking, useStd140Packing, &padHelper); in defineQualified()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DStructureHLSL.cpp23 TString Define(const TStructure &structure, in Define() argument
29 const TFieldList &fields = structure.fields(); in Define()
30 const bool isNameless = (structure.symbolType() == SymbolType::Empty); in Define()
31 const TString &structName = QualifiedStructNameString(structure, useHLSLRowMajorPacking, in Define()
59 string += " " + fieldTypeString + " " + DecorateField(field->name(), structure) + in Define()
241 const TStructure *structure = type.getStruct(); in postPaddingString() local
256 else if (structure) in postPaddingString()
259 QualifiedStructNameString(*structure, useHLSLRowMajorPacking, true, false); in postPaddingString()
288 TString StructureHLSL::defineQualified(const TStructure &structure, in defineQualified() argument
296 return Define(structure, useHLSLRowMajorPacking, useStd140Packing, forcePadding, in defineQualified()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/examples/opencv/
Dgsthanddetect_test.c36 const GstStructure *structure; in bus_sync_handler() local
48 structure = gst_message_get_structure (message); in bus_sync_handler()
51 if (structure && in bus_sync_handler()
52 strcmp (gst_structure_get_name (structure), "hand-gesture") == 0 && in bus_sync_handler()
53 strcmp (gst_structure_get_string (structure, "gesture"), "palm") == 0) { in bus_sync_handler()
59 if (structure && in bus_sync_handler()
60 strcmp (gst_structure_get_name (structure), "hand-gesture") == 0 && in bus_sync_handler()
61 strcmp (gst_structure_get_string (structure, "gesture"), "fist") == 0) { in bus_sync_handler()
64 gst_structure_get_name (structure)); in bus_sync_handler()
66 for (i = 0; i < gst_structure_n_fields (structure); i++) { in bus_sync_handler()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRewriteStructSamplers.cpp78 const TStructure *structure = node->getLeft()->getType().getStruct(); in RewriteExpressionVisitBinaryHelper() local
79 ASSERT(structure); in RewriteExpressionVisitBinaryHelper()
83 if (!node->getType().isSampler() && structureMap.find(structure) == structureMap.end()) in RewriteExpressionVisitBinaryHelper()
93 ASSERT(structureMap.find(structure) != structureMap.end()); in RewriteExpressionVisitBinaryHelper()
285 const TStructure *structure = indexNode->getLeft()->getType().getStruct(); in RewriteModifiedStructFieldSelectionExpression() local
286 ASSERT(structureMap.find(structure) != structureMap.end()); in RewriteModifiedStructFieldSelectionExpression()
294 static_cast<int>(structureMap.at(structure).fieldMap.size())); in RewriteModifiedStructFieldSelectionExpression()
296 const int mappedFieldIndex = structureMap.at(structure).fieldMap[fieldIndex]; in RewriteModifiedStructFieldSelectionExpression()
363 const TStructure *structure = type.getStruct(); in visitDeclaration() local
364 ASSERT(structure && mStructureMap.find(structure) == mStructureMap.end()); in visitDeclaration()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/bluez/
Dgstavdtputil.c252 GstStructure *structure; in gst_avdtp_util_parse_sbc_raw() local
257 structure = gst_structure_new_empty ("audio/x-sbc"); in gst_avdtp_util_parse_sbc_raw()
279 gst_structure_set_value (structure, "channel-mode", value); in gst_avdtp_util_parse_sbc_raw()
281 gst_structure_take_value (structure, "channel-mode", list); in gst_avdtp_util_parse_sbc_raw()
297 gst_structure_set_value (structure, "subbands", value); in gst_avdtp_util_parse_sbc_raw()
299 gst_structure_take_value (structure, "subbands", list); in gst_avdtp_util_parse_sbc_raw()
323 gst_structure_set_value (structure, "blocks", value); in gst_avdtp_util_parse_sbc_raw()
325 gst_structure_take_value (structure, "blocks", list); in gst_avdtp_util_parse_sbc_raw()
341 gst_structure_set_value (structure, "allocation-method", value); in gst_avdtp_util_parse_sbc_raw()
343 gst_structure_take_value (structure, "allocation-method", list); in gst_avdtp_util_parse_sbc_raw()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DTypes.h247 structure(0), mangled(0) in POOL_ALLOCATOR_NEW_DELETE()
254 structure(0), mangled(0) in type()
261 structure(userDef), mangled(0) in type()
269 interfaceBlock(interfaceBlockIn), layoutQualifier(layoutQualifierIn), structure(0), mangled(0) in TType()
292 structure->setMatrixPackingIfUnspecified((layoutQualifier.matrixPacking == EmpUnspecified) ? in setMatrixPackingIfUnspecified()
340 if(structure) in samplerRegisterCount()
344 const TFieldList& fields = isInterfaceBlock() ? interfaceBlock->fields() : structure->fields(); in samplerRegisterCount()
358 if(structure || isInterfaceBlock()) in elementRegisterCount()
362 const TFieldList& fields = isInterfaceBlock() ? interfaceBlock->fields() : structure->fields(); in elementRegisterCount()
447 …bool isScalar() const { return primarySize == 1 && !isMatrix() && !structure && !isInterfaceBlock(… in isScalar()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dnavigation.c102 gst_navigation_send_event (GstNavigation * navigation, GstStructure * structure) in gst_navigation_send_event() argument
107 iface->send_event (navigation, structure); in gst_navigation_send_event()
109 gst_structure_free (structure); in gst_navigation_send_event()
231 GstStructure *structure; in gst_navigation_query_new_commands() local
233 structure = gst_structure_new (GST_NAVIGATION_QUERY_NAME, in gst_navigation_query_new_commands()
235 query = gst_query_new_custom (GST_QUERY_CUSTOM, structure); in gst_navigation_query_new_commands()
265 GstStructure *structure; in gst_navigation_query_set_commands() local
279 structure = gst_query_writable_structure (query); in gst_navigation_query_set_commands()
280 gst_structure_take_value (structure, "commands", &list); in gst_navigation_query_set_commands()
298 GstStructure *structure; in gst_navigation_query_set_commandsv() local
[all …]
/third_party/gstreamer/gstplugins_bad/gst/bayer/
Dgstrgb2bayer.c131 GstStructure *structure; in gst_rgb2bayer_transform_caps() local
139 structure = gst_caps_get_structure (res_caps, i); in gst_rgb2bayer_transform_caps()
141 gst_structure_set_name (structure, "video/x-raw"); in gst_rgb2bayer_transform_caps()
142 gst_structure_remove_field (structure, "format"); in gst_rgb2bayer_transform_caps()
144 gst_structure_set_name (structure, "video/x-bayer"); in gst_rgb2bayer_transform_caps()
145 gst_structure_remove_fields (structure, "format", "colorimetry", in gst_rgb2bayer_transform_caps()
164 GstStructure *structure; in gst_rgb2bayer_get_unit_size() local
169 structure = gst_caps_get_structure (caps, 0); in gst_rgb2bayer_get_unit_size()
171 if (gst_structure_get_int (structure, "width", &width) && in gst_rgb2bayer_get_unit_size()
172 gst_structure_get_int (structure, "height", &height)) { in gst_rgb2bayer_get_unit_size()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/winks/
Dksvideohelpers.c131 GstStructure *structure = NULL; in ks_video_format_to_structure() local
171 structure = gst_structure_new ("video/x-raw", "format", in ks_video_format_to_structure()
174 structure = gst_structure_new ("video/x-raw", "format", in ks_video_format_to_structure()
180 structure = gst_structure_new ("video/x-dv", in ks_video_format_to_structure()
183 structure = gst_structure_new ("video/x-dv", in ks_video_format_to_structure()
190 structure = gst_structure_new_empty (media_type); in ks_video_format_to_structure()
192 gst_structure_set (structure, "format", G_TYPE_STRING, format, NULL); in ks_video_format_to_structure()
199 if (!structure) { in ks_video_format_to_structure()
208 return structure; in ks_video_format_to_structure()
268 ks_video_append_video_stream_cfg_fields (GstStructure * structure, in ks_video_append_video_stream_cfg_fields() argument
[all …]
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dspectrum.c129 const GstStructure *structure; in GST_START_TEST() local
182 structure = gst_message_get_structure (message); in GST_START_TEST()
183 fail_if (structure == NULL); in GST_START_TEST()
184 fail_unless_equals_string ((char *) gst_structure_get_name (structure), in GST_START_TEST()
186 fail_unless (gst_structure_get_clock_time (structure, "endtime", &endtime)); in GST_START_TEST()
188 list = gst_structure_get_value (structure, "magnitude"); in GST_START_TEST()
229 const GstStructure *structure; in GST_START_TEST() local
282 structure = gst_message_get_structure (message); in GST_START_TEST()
283 fail_if (structure == NULL); in GST_START_TEST()
284 fail_unless_equals_string ((char *) gst_structure_get_name (structure), in GST_START_TEST()
[all …]
Dlevel.c209 const GstStructure *structure; in GST_START_TEST() local
226 structure = gst_message_get_structure (message); in GST_START_TEST()
227 fail_if (structure == NULL); in GST_START_TEST()
228 fail_unless_equals_string (gst_structure_get_name (structure), "level"); in GST_START_TEST()
229 fail_unless (gst_structure_get_clock_time (structure, "endtime", &endtime)); in GST_START_TEST()
230 fail_unless (gst_structure_get_clock_time (structure, "timestamp", &ts)); in GST_START_TEST()
231 fail_unless (gst_structure_get_clock_time (structure, "duration", &duration)); in GST_START_TEST()
251 const GstStructure *structure; in GST_START_TEST() local
274 structure = gst_message_get_structure (message); in GST_START_TEST()
281 list = gst_structure_get_value (structure, fields[j]); in GST_START_TEST()
[all …]

12345678910>>...104