Lines Matching refs:query
73 GstQuery query; member
188 _gst_query_free (GstQuery * query) in _gst_query_free() argument
192 g_return_if_fail (query != NULL); in _gst_query_free()
194 s = GST_QUERY_STRUCTURE (query); in _gst_query_free()
200 memset (query, 0xff, sizeof (GstQueryImpl)); in _gst_query_free()
203 g_slice_free1 (sizeof (GstQueryImpl), query); in _gst_query_free()
207 _gst_query_copy (GstQuery * query) in _gst_query_copy() argument
212 s = GST_QUERY_STRUCTURE (query); in _gst_query_copy()
216 copy = gst_query_new_custom (query->type, s); in _gst_query_copy()
236 GstQuery *query; in gst_query_new_position() local
243 query = gst_query_new_custom (GST_QUERY_POSITION, structure); in gst_query_new_position()
245 return query; in gst_query_new_position()
257 gst_query_set_position (GstQuery * query, GstFormat format, gint64 cur) in gst_query_set_position() argument
261 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_POSITION); in gst_query_set_position()
263 s = GST_QUERY_STRUCTURE (query); in gst_query_set_position()
283 gst_query_parse_position (GstQuery * query, GstFormat * format, gint64 * cur) in gst_query_parse_position() argument
287 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_POSITION); in gst_query_parse_position()
289 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_position()
315 GstQuery *query; in gst_query_new_duration() local
322 query = gst_query_new_custom (GST_QUERY_DURATION, structure); in gst_query_new_duration()
324 return query; in gst_query_new_duration()
336 gst_query_set_duration (GstQuery * query, GstFormat format, gint64 duration) in gst_query_set_duration() argument
340 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_DURATION); in gst_query_set_duration()
342 s = GST_QUERY_STRUCTURE (query); in gst_query_set_duration()
360 gst_query_parse_duration (GstQuery * query, GstFormat * format, in gst_query_parse_duration() argument
365 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_DURATION); in gst_query_parse_duration()
367 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_duration()
392 GstQuery *query; in gst_query_new_latency() local
400 query = gst_query_new_custom (GST_QUERY_LATENCY, structure); in gst_query_new_latency()
402 return query; in gst_query_new_latency()
415 gst_query_set_latency (GstQuery * query, gboolean live, in gst_query_set_latency() argument
420 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_LATENCY); in gst_query_set_latency()
423 structure = GST_QUERY_STRUCTURE (query); in gst_query_set_latency()
440 gst_query_parse_latency (GstQuery * query, gboolean * live, in gst_query_parse_latency() argument
445 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_LATENCY); in gst_query_parse_latency()
447 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_latency()
478 GstQuery *query; in gst_query_new_convert() local
487 query = gst_query_new_custom (GST_QUERY_CONVERT, structure); in gst_query_new_convert()
489 return query; in gst_query_new_convert()
503 gst_query_set_convert (GstQuery * query, GstFormat src_format, gint64 src_value, in gst_query_set_convert() argument
508 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_CONVERT); in gst_query_set_convert()
510 structure = GST_QUERY_STRUCTURE (query); in gst_query_set_convert()
533 gst_query_parse_convert (GstQuery * query, GstFormat * src_format, in gst_query_parse_convert() argument
538 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_CONVERT); in gst_query_parse_convert()
540 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_convert()
572 GstQuery *query; in gst_query_new_segment() local
581 query = gst_query_new_custom (GST_QUERY_SEGMENT, structure); in gst_query_new_segment()
583 return query; in gst_query_new_segment()
607 gst_query_set_segment (GstQuery * query, gdouble rate, GstFormat format, in gst_query_set_segment() argument
612 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_SEGMENT); in gst_query_set_segment()
614 structure = GST_QUERY_STRUCTURE (query); in gst_query_set_segment()
637 gst_query_parse_segment (GstQuery * query, gdouble * rate, GstFormat * format, in gst_query_parse_segment() argument
642 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_SEGMENT); in gst_query_parse_segment()
644 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_segment()
675 GstQueryImpl *query; in gst_query_new_custom() local
677 query = g_slice_new0 (GstQueryImpl); in gst_query_new_custom()
679 GST_DEBUG ("creating new query %p %s", query, gst_query_type_get_name (type)); in gst_query_new_custom()
684 &query->query.mini_object.refcount)) in gst_query_new_custom()
688 gst_mini_object_init (GST_MINI_OBJECT_CAST (query), 0, _gst_query_type, in gst_query_new_custom()
692 GST_QUERY_TYPE (query) = type; in gst_query_new_custom()
693 GST_QUERY_STRUCTURE (query) = structure; in gst_query_new_custom()
695 return GST_QUERY_CAST (query); in gst_query_new_custom()
700 g_slice_free1 (sizeof (GstQueryImpl), query); in gst_query_new_custom()
717 gst_query_get_structure (GstQuery * query) in gst_query_get_structure() argument
719 g_return_val_if_fail (GST_IS_QUERY (query), NULL); in gst_query_get_structure()
721 return GST_QUERY_STRUCTURE (query); in gst_query_get_structure()
736 gst_query_writable_structure (GstQuery * query) in gst_query_writable_structure() argument
740 g_return_val_if_fail (GST_IS_QUERY (query), NULL); in gst_query_writable_structure()
741 g_return_val_if_fail (gst_query_is_writable (query), NULL); in gst_query_writable_structure()
743 structure = GST_QUERY_STRUCTURE (query); in gst_query_writable_structure()
748 (query))); in gst_query_writable_structure()
749 gst_structure_set_parent_refcount (structure, &query->mini_object.refcount); in gst_query_writable_structure()
750 GST_QUERY_STRUCTURE (query) = structure; in gst_query_writable_structure()
769 GstQuery *query; in gst_query_new_seeking() local
778 query = gst_query_new_custom (GST_QUERY_SEEKING, structure); in gst_query_new_seeking()
780 return query; in gst_query_new_seeking()
794 gst_query_set_seeking (GstQuery * query, GstFormat format, in gst_query_set_seeking() argument
799 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_SEEKING); in gst_query_set_seeking()
800 g_return_if_fail (gst_query_is_writable (query)); in gst_query_set_seeking()
802 structure = GST_QUERY_STRUCTURE (query); in gst_query_set_seeking()
824 gst_query_parse_seeking (GstQuery * query, GstFormat * format, in gst_query_parse_seeking() argument
829 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_SEEKING); in gst_query_parse_seeking()
831 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_seeking()
885 GstQuery *query; in gst_query_new_formats() local
889 query = gst_query_new_custom (GST_QUERY_FORMATS, structure); in gst_query_new_formats()
891 return query; in gst_query_new_formats()
915 gst_query_set_formats (GstQuery * query, gint n_formats, ...) in gst_query_set_formats() argument
922 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_FORMATS); in gst_query_set_formats()
923 g_return_if_fail (gst_query_is_writable (query)); in gst_query_set_formats()
933 structure = GST_QUERY_STRUCTURE (query); in gst_query_set_formats()
951 gst_query_set_formatsv (GstQuery * query, gint n_formats, in gst_query_set_formatsv() argument
958 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_FORMATS); in gst_query_set_formatsv()
959 g_return_if_fail (gst_query_is_writable (query)); in gst_query_set_formatsv()
965 structure = GST_QUERY_STRUCTURE (query); in gst_query_set_formatsv()
979 gst_query_parse_n_formats (GstQuery * query, guint * n_formats) in gst_query_parse_n_formats() argument
983 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_FORMATS); in gst_query_parse_n_formats()
988 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_n_formats()
1008 gst_query_parse_nth_format (GstQuery * query, guint nth, GstFormat * format) in gst_query_parse_nth_format() argument
1012 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_FORMATS); in gst_query_parse_nth_format()
1017 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_nth_format()
1045 GstQuery *query; in gst_query_new_buffering() local
1062 query = gst_query_new_custom (GST_QUERY_BUFFERING, structure); in gst_query_new_buffering()
1064 return query; in gst_query_new_buffering()
1077 gst_query_set_buffering_percent (GstQuery * query, gboolean busy, gint percent) in gst_query_set_buffering_percent() argument
1081 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_BUFFERING); in gst_query_set_buffering_percent()
1082 g_return_if_fail (gst_query_is_writable (query)); in gst_query_set_buffering_percent()
1085 structure = GST_QUERY_STRUCTURE (query); in gst_query_set_buffering_percent()
1101 gst_query_parse_buffering_percent (GstQuery * query, gboolean * busy, in gst_query_parse_buffering_percent() argument
1106 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_BUFFERING); in gst_query_parse_buffering_percent()
1108 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_buffering_percent()
1128 gst_query_set_buffering_stats (GstQuery * query, GstBufferingMode mode, in gst_query_set_buffering_stats() argument
1133 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_BUFFERING); in gst_query_set_buffering_stats()
1134 g_return_if_fail (gst_query_is_writable (query)); in gst_query_set_buffering_stats()
1136 structure = GST_QUERY_STRUCTURE (query); in gst_query_set_buffering_stats()
1156 gst_query_parse_buffering_stats (GstQuery * query, in gst_query_parse_buffering_stats() argument
1162 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_BUFFERING); in gst_query_parse_buffering_stats()
1164 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_buffering_stats()
1193 gst_query_set_buffering_range (GstQuery * query, GstFormat format, in gst_query_set_buffering_range() argument
1198 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_BUFFERING); in gst_query_set_buffering_range()
1199 g_return_if_fail (gst_query_is_writable (query)); in gst_query_set_buffering_range()
1201 structure = GST_QUERY_STRUCTURE (query); in gst_query_set_buffering_range()
1224 gst_query_parse_buffering_range (GstQuery * query, GstFormat * format, in gst_query_parse_buffering_range() argument
1229 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_BUFFERING); in gst_query_parse_buffering_range()
1231 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_buffering_range()
1267 gst_query_add_buffering_range (GstQuery * query, gint64 start, gint64 stop) in gst_query_add_buffering_range() argument
1273 g_return_val_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_BUFFERING, FALSE); in gst_query_add_buffering_range()
1274 g_return_val_if_fail (gst_query_is_writable (query), FALSE); in gst_query_add_buffering_range()
1279 structure = GST_QUERY_STRUCTURE (query); in gst_query_add_buffering_range()
1309 gst_query_get_n_buffering_ranges (GstQuery * query) in gst_query_get_n_buffering_ranges() argument
1314 g_return_val_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_BUFFERING, 0); in gst_query_get_n_buffering_ranges()
1316 structure = GST_QUERY_STRUCTURE (query); in gst_query_get_n_buffering_ranges()
1337 gst_query_parse_nth_buffering_range (GstQuery * query, guint index, in gst_query_parse_nth_buffering_range() argument
1344 g_return_val_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_BUFFERING, FALSE); in gst_query_parse_nth_buffering_range()
1346 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_nth_buffering_range()
1377 GstQuery *query; in gst_query_new_uri() local
1383 query = gst_query_new_custom (GST_QUERY_URI, structure); in gst_query_new_uri()
1385 return query; in gst_query_new_uri()
1396 gst_query_set_uri (GstQuery * query, const gchar * uri) in gst_query_set_uri() argument
1400 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_URI); in gst_query_set_uri()
1401 g_return_if_fail (gst_query_is_writable (query)); in gst_query_set_uri()
1404 structure = GST_QUERY_STRUCTURE (query); in gst_query_set_uri()
1419 gst_query_parse_uri (GstQuery * query, gchar ** uri) in gst_query_parse_uri() argument
1423 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_URI); in gst_query_parse_uri()
1425 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_uri()
1441 gst_query_set_uri_redirection (GstQuery * query, const gchar * uri) in gst_query_set_uri_redirection() argument
1445 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_URI); in gst_query_set_uri_redirection()
1446 g_return_if_fail (gst_query_is_writable (query)); in gst_query_set_uri_redirection()
1449 structure = GST_QUERY_STRUCTURE (query); in gst_query_set_uri_redirection()
1467 gst_query_parse_uri_redirection (GstQuery * query, gchar ** uri) in gst_query_parse_uri_redirection() argument
1471 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_URI); in gst_query_parse_uri_redirection()
1473 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_uri_redirection()
1492 gst_query_set_uri_redirection_permanent (GstQuery * query, gboolean permanent) in gst_query_set_uri_redirection_permanent() argument
1496 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_URI); in gst_query_set_uri_redirection_permanent()
1497 g_return_if_fail (gst_query_is_writable (query)); in gst_query_set_uri_redirection_permanent()
1499 structure = GST_QUERY_STRUCTURE (query); in gst_query_set_uri_redirection_permanent()
1518 gst_query_parse_uri_redirection_permanent (GstQuery * query, in gst_query_parse_uri_redirection_permanent() argument
1523 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_URI); in gst_query_parse_uri_redirection_permanent()
1525 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_uri_redirection_permanent()
1547 GstQuery *query; in gst_query_new_allocation() local
1554 query = gst_query_new_custom (GST_QUERY_ALLOCATION, structure); in gst_query_new_allocation()
1556 return query; in gst_query_new_allocation()
1573 gst_query_parse_allocation (GstQuery * query, GstCaps ** caps, in gst_query_parse_allocation() argument
1578 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ALLOCATION); in gst_query_parse_allocation()
1580 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_allocation()
1615 gst_query_add_allocation_pool (GstQuery * query, GstBufferPool * pool, in gst_query_add_allocation_pool() argument
1622 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ALLOCATION); in gst_query_add_allocation_pool()
1623 g_return_if_fail (gst_query_is_writable (query)); in gst_query_add_allocation_pool()
1625 structure = GST_QUERY_STRUCTURE (query); in gst_query_add_allocation_pool()
1648 gst_query_get_n_allocation_pools (GstQuery * query) in gst_query_get_n_allocation_pools() argument
1653 g_return_val_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ALLOCATION, 0); in gst_query_get_n_allocation_pools()
1655 structure = GST_QUERY_STRUCTURE (query); in gst_query_get_n_allocation_pools()
1676 gst_query_parse_nth_allocation_pool (GstQuery * query, guint index, in gst_query_parse_nth_allocation_pool() argument
1684 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ALLOCATION); in gst_query_parse_nth_allocation_pool()
1686 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_nth_allocation_pool()
1716 gst_query_set_nth_allocation_pool (GstQuery * query, guint index, in gst_query_set_nth_allocation_pool() argument
1723 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ALLOCATION); in gst_query_set_nth_allocation_pool()
1725 structure = GST_QUERY_STRUCTURE (query); in gst_query_set_nth_allocation_pool()
1751 gst_query_remove_nth_allocation_pool (GstQuery * query, guint index) in gst_query_remove_nth_allocation_pool() argument
1756 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ALLOCATION); in gst_query_remove_nth_allocation_pool()
1757 g_return_if_fail (gst_query_is_writable (query)); in gst_query_remove_nth_allocation_pool()
1759 structure = GST_QUERY_STRUCTURE (query); in gst_query_remove_nth_allocation_pool()
1790 gst_query_add_allocation_meta (GstQuery * query, GType api, in gst_query_add_allocation_meta() argument
1797 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ALLOCATION); in gst_query_add_allocation_meta()
1799 g_return_if_fail (gst_query_is_writable (query)); in gst_query_add_allocation_meta()
1801 structure = GST_QUERY_STRUCTURE (query); in gst_query_add_allocation_meta()
1822 gst_query_get_n_allocation_metas (GstQuery * query) in gst_query_get_n_allocation_metas() argument
1827 g_return_val_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ALLOCATION, 0); in gst_query_get_n_allocation_metas()
1829 structure = GST_QUERY_STRUCTURE (query); in gst_query_get_n_allocation_metas()
1849 gst_query_parse_nth_allocation_meta (GstQuery * query, guint index, in gst_query_parse_nth_allocation_meta() argument
1856 g_return_val_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ALLOCATION, 0); in gst_query_parse_nth_allocation_meta()
1858 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_nth_allocation_meta()
1881 gst_query_remove_nth_allocation_meta (GstQuery * query, guint index) in gst_query_remove_nth_allocation_meta() argument
1886 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ALLOCATION); in gst_query_remove_nth_allocation_meta()
1887 g_return_if_fail (gst_query_is_writable (query)); in gst_query_remove_nth_allocation_meta()
1889 structure = GST_QUERY_STRUCTURE (query); in gst_query_remove_nth_allocation_meta()
1911 gst_query_find_allocation_meta (GstQuery * query, GType api, guint * index) in gst_query_find_allocation_meta() argument
1917 g_return_val_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ALLOCATION, FALSE); in gst_query_find_allocation_meta()
1920 structure = GST_QUERY_STRUCTURE (query); in gst_query_find_allocation_meta()
1959 gst_query_add_allocation_param (GstQuery * query, GstAllocator * allocator, in gst_query_add_allocation_param() argument
1966 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ALLOCATION); in gst_query_add_allocation_param()
1967 g_return_if_fail (gst_query_is_writable (query)); in gst_query_add_allocation_param()
1970 structure = GST_QUERY_STRUCTURE (query); in gst_query_add_allocation_param()
1999 gst_query_get_n_allocation_params (GstQuery * query) in gst_query_get_n_allocation_params() argument
2004 g_return_val_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ALLOCATION, 0); in gst_query_get_n_allocation_params()
2006 structure = GST_QUERY_STRUCTURE (query); in gst_query_get_n_allocation_params()
2024 gst_query_parse_nth_allocation_param (GstQuery * query, guint index, in gst_query_parse_nth_allocation_param() argument
2031 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ALLOCATION); in gst_query_parse_nth_allocation_param()
2033 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_nth_allocation_param()
2058 gst_query_set_nth_allocation_param (GstQuery * query, guint index, in gst_query_set_nth_allocation_param() argument
2065 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ALLOCATION); in gst_query_set_nth_allocation_param()
2067 structure = GST_QUERY_STRUCTURE (query); in gst_query_set_nth_allocation_param()
2095 gst_query_remove_nth_allocation_param (GstQuery * query, guint index) in gst_query_remove_nth_allocation_param() argument
2100 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ALLOCATION); in gst_query_remove_nth_allocation_param()
2101 g_return_if_fail (gst_query_is_writable (query)); in gst_query_remove_nth_allocation_param()
2103 structure = GST_QUERY_STRUCTURE (query); in gst_query_remove_nth_allocation_param()
2124 GstQuery *query; in gst_query_new_scheduling() local
2132 query = gst_query_new_custom (GST_QUERY_SCHEDULING, structure); in gst_query_new_scheduling()
2134 return query; in gst_query_new_scheduling()
2148 gst_query_set_scheduling (GstQuery * query, GstSchedulingFlags flags, in gst_query_set_scheduling() argument
2153 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_SCHEDULING); in gst_query_set_scheduling()
2154 g_return_if_fail (gst_query_is_writable (query)); in gst_query_set_scheduling()
2156 structure = GST_QUERY_STRUCTURE (query); in gst_query_set_scheduling()
2175 gst_query_parse_scheduling (GstQuery * query, GstSchedulingFlags * flags, in gst_query_parse_scheduling() argument
2180 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_SCHEDULING); in gst_query_parse_scheduling()
2182 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_scheduling()
2198 gst_query_add_scheduling_mode (GstQuery * query, GstPadMode mode) in gst_query_add_scheduling_mode() argument
2203 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_SCHEDULING); in gst_query_add_scheduling_mode()
2204 g_return_if_fail (gst_query_is_writable (query)); in gst_query_add_scheduling_mode()
2206 structure = GST_QUERY_STRUCTURE (query); in gst_query_add_scheduling_mode()
2223 gst_query_get_n_scheduling_modes (GstQuery * query) in gst_query_get_n_scheduling_modes() argument
2228 g_return_val_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_SCHEDULING, 0); in gst_query_get_n_scheduling_modes()
2230 structure = GST_QUERY_STRUCTURE (query); in gst_query_get_n_scheduling_modes()
2248 gst_query_parse_nth_scheduling_mode (GstQuery * query, guint index) in gst_query_parse_nth_scheduling_mode() argument
2253 g_return_val_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_SCHEDULING, in gst_query_parse_nth_scheduling_mode()
2256 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_nth_scheduling_mode()
2280 gst_query_has_scheduling_mode (GstQuery * query, GstPadMode mode) in gst_query_has_scheduling_mode() argument
2286 g_return_val_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_SCHEDULING, FALSE); in gst_query_has_scheduling_mode()
2288 structure = GST_QUERY_STRUCTURE (query); in gst_query_has_scheduling_mode()
2313 gst_query_has_scheduling_mode_with_flags (GstQuery * query, GstPadMode mode, in gst_query_has_scheduling_mode_with_flags() argument
2318 g_return_val_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_SCHEDULING, FALSE); in gst_query_has_scheduling_mode_with_flags()
2320 gst_query_parse_scheduling (query, &sched_flags, NULL, NULL, NULL); in gst_query_has_scheduling_mode_with_flags()
2323 gst_query_has_scheduling_mode (query, mode); in gst_query_has_scheduling_mode_with_flags()
2339 GstQuery *query; in gst_query_new_accept_caps() local
2347 query = gst_query_new_custom (GST_QUERY_ACCEPT_CAPS, structure); in gst_query_new_accept_caps()
2349 return query; in gst_query_new_accept_caps()
2361 gst_query_parse_accept_caps (GstQuery * query, GstCaps ** caps) in gst_query_parse_accept_caps() argument
2365 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ACCEPT_CAPS); in gst_query_parse_accept_caps()
2368 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_accept_caps()
2381 gst_query_set_accept_caps_result (GstQuery * query, gboolean result) in gst_query_set_accept_caps_result() argument
2385 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ACCEPT_CAPS); in gst_query_set_accept_caps_result()
2386 g_return_if_fail (gst_query_is_writable (query)); in gst_query_set_accept_caps_result()
2388 structure = GST_QUERY_STRUCTURE (query); in gst_query_set_accept_caps_result()
2401 gst_query_parse_accept_caps_result (GstQuery * query, gboolean * result) in gst_query_parse_accept_caps_result() argument
2405 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_ACCEPT_CAPS); in gst_query_parse_accept_caps_result()
2407 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_accept_caps_result()
2442 GstQuery *query; in gst_query_new_caps() local
2448 query = gst_query_new_custom (GST_QUERY_CAPS, structure); in gst_query_new_caps()
2450 return query; in gst_query_new_caps()
2462 gst_query_parse_caps (GstQuery * query, GstCaps ** filter) in gst_query_parse_caps() argument
2466 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_CAPS); in gst_query_parse_caps()
2469 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_caps()
2482 gst_query_set_caps_result (GstQuery * query, GstCaps * caps) in gst_query_set_caps_result() argument
2486 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_CAPS); in gst_query_set_caps_result()
2487 g_return_if_fail (gst_query_is_writable (query)); in gst_query_set_caps_result()
2489 structure = GST_QUERY_STRUCTURE (query); in gst_query_set_caps_result()
2502 gst_query_parse_caps_result (GstQuery * query, GstCaps ** caps) in gst_query_parse_caps_result() argument
2506 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_CAPS); in gst_query_parse_caps_result()
2509 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_caps_result()
2516 gst_query_intersect_caps_result (GstQuery * query, GstCaps * filter,
2521 gst_query_parse_caps_result (query, &caps);
2523 gst_query_set_caps_result (query, res);
2540 GstQuery *query; in gst_query_new_drain() local
2544 query = gst_query_new_custom (GST_QUERY_DRAIN, structure); in gst_query_new_drain()
2546 return query; in gst_query_new_drain()
2564 GstQuery *query; in gst_query_new_context() local
2571 query = gst_query_new_custom (GST_QUERY_CONTEXT, structure); in gst_query_new_context()
2573 return query; in gst_query_new_context()
2586 gst_query_set_context (GstQuery * query, GstContext * context) in gst_query_set_context() argument
2591 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_CONTEXT); in gst_query_set_context()
2593 gst_query_parse_context_type (query, &context_type); in gst_query_set_context()
2597 s = GST_QUERY_STRUCTURE (query); in gst_query_set_context()
2614 gst_query_parse_context (GstQuery * query, GstContext ** context) in gst_query_parse_context() argument
2619 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_CONTEXT); in gst_query_parse_context()
2622 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_context()
2642 gst_query_parse_context_type (GstQuery * query, const gchar ** context_type) in gst_query_parse_context_type() argument
2647 g_return_val_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_CONTEXT, FALSE); in gst_query_parse_context_type()
2649 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_context_type()
2673 GstQuery *query; in gst_query_new_bitrate() local
2677 query = gst_query_new_custom (GST_QUERY_BITRATE, structure); in gst_query_new_bitrate()
2679 return query; in gst_query_new_bitrate()
2694 gst_query_set_bitrate (GstQuery * query, guint nominal_bitrate) in gst_query_set_bitrate() argument
2698 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_BITRATE); in gst_query_set_bitrate()
2700 s = GST_QUERY_STRUCTURE (query); in gst_query_set_bitrate()
2716 gst_query_parse_bitrate (GstQuery * query, guint * nominal_bitrate) in gst_query_parse_bitrate() argument
2721 g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_BITRATE); in gst_query_parse_bitrate()
2723 structure = GST_QUERY_STRUCTURE (query); in gst_query_parse_bitrate()