Home
last modified time | relevance | path

Searched refs:G_LIKELY (Results 1 – 25 of 215) sorted by relevance

123456789

/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbytereader.h482 G_LIKELY(_gst_byte_reader_get_uint8_inline(reader,val))
484 G_LIKELY(_gst_byte_reader_get_int8_inline(reader,val))
486 G_LIKELY(_gst_byte_reader_get_uint16_le_inline(reader,val))
488 G_LIKELY(_gst_byte_reader_get_int16_le_inline(reader,val))
490 G_LIKELY(_gst_byte_reader_get_uint16_be_inline(reader,val))
492 G_LIKELY(_gst_byte_reader_get_int16_be_inline(reader,val))
494 G_LIKELY(_gst_byte_reader_get_uint24_le_inline(reader,val))
496 G_LIKELY(_gst_byte_reader_get_int24_le_inline(reader,val))
498 G_LIKELY(_gst_byte_reader_get_uint24_be_inline(reader,val))
500 G_LIKELY(_gst_byte_reader_get_int24_be_inline(reader,val))
[all …]
Dgstbytewriter.h250 if (G_LIKELY (size <= writer->alloc_size - writer->parent.byte)) in _gst_byte_writer_ensure_free_space_inline()
410 G_LIKELY (_gst_byte_writer_ensure_free_space_inline (writer, size))
412 G_LIKELY (_gst_byte_writer_put_uint8_inline (writer, val))
414 G_LIKELY (_gst_byte_writer_put_int8_inline (writer, val))
416 G_LIKELY (_gst_byte_writer_put_uint16_be_inline (writer, val))
418 G_LIKELY (_gst_byte_writer_put_uint16_le_inline (writer, val))
420 G_LIKELY (_gst_byte_writer_put_int16_be_inline (writer, val))
422 G_LIKELY (_gst_byte_writer_put_int16_le_inline (writer, val))
424 G_LIKELY (_gst_byte_writer_put_uint24_be_inline (writer, val))
426 G_LIKELY (_gst_byte_writer_put_uint24_le_inline (writer, val))
[all …]
Dgstbitreader.h303 G_LIKELY (_gst_bit_reader_skip_inline(reader, nbits))
305 G_LIKELY (_gst_bit_reader_skip_to_byte_inline(reader))
308 G_LIKELY (_gst_bit_reader_get_bits_uint8_inline (reader, val, nbits))
310 G_LIKELY (_gst_bit_reader_get_bits_uint16_inline (reader, val, nbits))
312 G_LIKELY (_gst_bit_reader_get_bits_uint32_inline (reader, val, nbits))
314 G_LIKELY (_gst_bit_reader_get_bits_uint64_inline (reader, val, nbits))
317 G_LIKELY (_gst_bit_reader_peek_bits_uint8_inline (reader, val, nbits))
319 G_LIKELY (_gst_bit_reader_peek_bits_uint16_inline (reader, val, nbits))
321 G_LIKELY (_gst_bit_reader_peek_bits_uint32_inline (reader, val, nbits))
323 G_LIKELY (_gst_bit_reader_peek_bits_uint64_inline (reader, val, nbits))
Dgstbitwriter.h362 G_LIKELY (_gst_bit_writer_set_pos_inline (bitwriter, pos))
367 G_LIKELY (_gst_bit_writer_put_bits_uint8_inline (bitwriter, value, nbits))
369 G_LIKELY (_gst_bit_writer_put_bits_uint16_inline (bitwriter, value, nbits))
371 G_LIKELY (_gst_bit_writer_put_bits_uint32_inline (bitwriter, value, nbits))
373 G_LIKELY (_gst_bit_writer_put_bits_uint64_inline (bitwriter, value, nbits))
376 G_LIKELY (_gst_bit_writer_put_bytes_inline (bitwriter, data, nbytes))
379 G_LIKELY (_gst_bit_writer_align_bytes_inline(bitwriter, trailing_bit))
/third_party/glib/glib/
Dgmem.c102 if (G_LIKELY (n_bytes)) in g_malloc()
132 if (G_LIKELY (n_bytes)) in g_malloc0()
169 if (G_LIKELY (n_bytes)) in g_realloc()
255 if (G_LIKELY (n_bytes)) in g_try_malloc()
280 if (G_LIKELY (n_bytes)) in g_try_malloc0()
307 if (G_LIKELY (n_bytes)) in g_try_realloc()
Dgtestutils.h184 if G_LIKELY (expr) ; else \
189 if G_LIKELY (!(expr)) ; else \
196 #define g_assert_null(expr) G_STMT_START { if G_LIKELY ((expr) == nullptr) ; else \
201 if G_LIKELY ((expr) != nullptr) ; else \
206 #define g_assert_null(expr) G_STMT_START { if G_LIKELY ((expr) == NULL) ; else \
211 if G_LIKELY ((expr) != NULL) ; else \
232 if G_LIKELY (expr) ; else \
Dgbsearcharray.h169 …return G_LIKELY (!sibling_or_after) ? NULL : (sibling_or_after > 1 && cmp > 0) ? check + sizeof_no… in g_bsearch_array_lookup_fuzzy()
176 return (G_LIKELY (nth < barray->n_nodes) ? in g_bsearch_array_get_nth()
233 if (G_LIKELY (node)) in g_bsearch_array_insert()
253 if (G_LIKELY (node)) /* expected path */ in g_bsearch_array_replace()
/third_party/gstreamer/gstreamer/gst/
Dgstsegment.c446 if (G_LIKELY (segment->applied_rate > 0.0)) { in gst_segment_to_stream_time_full()
447 if (G_LIKELY (position > start)) { in gst_segment_to_stream_time_full()
601 if (G_LIKELY (segment->applied_rate > 0.0)) { in gst_segment_position_from_stream_time_full()
602 if (G_LIKELY (stream_time > time)) { in gst_segment_position_from_stream_time_full()
638 if (G_LIKELY (res == 1)) { in gst_segment_position_from_stream_time_full()
646 if (G_LIKELY (res == 1)) { in gst_segment_position_from_stream_time_full()
753 if (G_LIKELY (segment->rate > 0.0)) { in gst_segment_to_running_time_full()
1036 if (G_LIKELY (segment->rate > 0.0)) { in gst_segment_position_from_running_time_full()
1038 if (G_LIKELY (running_time >= base)) { in gst_segment_position_from_running_time_full()
1062 if (G_LIKELY (running_time >= base)) { in gst_segment_position_from_running_time_full()
[all …]
Dgstiterator.c346 if (G_LIKELY (it->lock)) in gst_iterator_next()
361 if (G_LIKELY (it->lock)) in gst_iterator_next()
375 if (G_LIKELY (it->lock)) in gst_iterator_next()
400 if (G_LIKELY (it->lock)) in gst_iterator_resync()
404 if (G_LIKELY (it->lock)) in gst_iterator_resync()
472 while (G_LIKELY (!done)) { in filter_next()
476 if (G_LIKELY (it->master_lock)) in filter_next()
483 if (G_LIKELY (it->master_lock)) in filter_next()
Dgstbufferpool.c343 if (G_LIKELY (pclass->release_buffer)) in default_start()
370 if (G_LIKELY (pclass->start)) { in do_start()
398 if (G_LIKELY (pclass->free_buffer)) in do_free_buffer()
439 if (G_LIKELY (pclass->stop)) { in do_stop()
697 if (G_LIKELY (pclass->set_config)) in gst_buffer_pool_set_config()
785 if (G_LIKELY (pclass->get_options)) { in gst_buffer_pool_get_options()
1121 if (G_LIKELY (*buffer)) { in default_acquire_buffer()
1141 if (G_LIKELY (result == GST_FLOW_OK)) in default_acquire_buffer()
1288 if (G_LIKELY (pclass->acquire_buffer)) in gst_buffer_pool_acquire_buffer()
1293 if (G_LIKELY (result == GST_FLOW_OK)) { in gst_buffer_pool_acquire_buffer()
[all …]
Dgstcontrolsource.c89 if (G_LIKELY (self->get_value)) { in gst_control_source_get_value()
119 if (G_LIKELY (self->get_value_array)) { in gst_control_source_get_value_array()
Dgstcontrolbinding.c270 if (G_LIKELY (klass->sync_values != NULL)) { in gst_control_binding_sync_values()
300 if (G_LIKELY (klass->get_value != NULL)) { in gst_control_binding_get_value()
344 if (G_LIKELY (klass->get_value_array != NULL)) { in gst_control_binding_get_value_array()
399 if (G_LIKELY (klass->get_g_value_array != NULL)) { in gst_control_binding_get_g_value_array()
Dgstatomicqueue.c238 if (G_LIKELY (head != tail)) in gst_atomic_queue_peek()
294 if G_LIKELY in gst_atomic_queue_pop()
355 if G_LIKELY in gst_atomic_queue_push()
Dglib-compat-private.h34 #define g_memdup2(ptr,sz) ((G_LIKELY(((guint64)(sz)) < G_MAXUINT)) ? g_memdup(ptr,sz) : (g_abort(),…
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudioringbuffer.c468 if (G_LIKELY (rclass->open_device)) in gst_audio_ring_buffer_open_device()
528 if (G_LIKELY (rclass->close_device)) in gst_audio_ring_buffer_close_device()
624 if (G_LIKELY (rclass->acquire)) in gst_audio_ring_buffer_acquire()
727 if (G_LIKELY (buf->timestamps)) { in gst_audio_ring_buffer_release()
743 if (G_LIKELY (rclass->release)) in gst_audio_ring_buffer_release()
837 if (G_LIKELY (rclass->activate)) in gst_audio_ring_buffer_activate()
1000 if (G_LIKELY (rclass->resume)) in gst_audio_ring_buffer_start()
1003 if (G_LIKELY (rclass->start)) in gst_audio_ring_buffer_start()
1059 if (G_LIKELY (rclass->pause)) in gst_audio_ring_buffer_pause_unlocked()
1168 if (G_LIKELY (rclass->stop)) in gst_audio_ring_buffer_stop()
[all …]
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dqtatomparser.h31 return G_LIKELY (parser->size >= bytes_needed) && in qt_atom_parser_has_remaining()
32 G_LIKELY ((parser->size - bytes_needed) >= parser->byte); in qt_atom_parser_has_remaining()
/third_party/glib/tests/
Dbit-test.c15 if (G_LIKELY (nth_bit < GLIB_SIZEOF_LONG * 8 - 1)) in builtin_bit_nth_lsf1()
28 if (G_LIKELY (nth_bit < GLIB_SIZEOF_LONG * 8 - 1)) in builtin_bit_nth_lsf2()
/third_party/gstreamer/gstplugins_bad/ext/openaptx/
Dgstopenaptxdec.c118 if (G_LIKELY (buffer)) { in gst_openaptx_dec_handle_frame()
168 if (G_LIKELY (outbuf)) { in gst_openaptx_dec_handle_frame()
169 if (G_LIKELY (written > 0)) in gst_openaptx_dec_handle_frame()
Dgstopenaptxenc.c185 if (G_LIKELY (buffer)) { in gst_openaptx_enc_handle_frame()
221 if (G_LIKELY (outbuf)) { in gst_openaptx_enc_handle_frame()
222 if (G_LIKELY (written > 0)) in gst_openaptx_enc_handle_frame()
/third_party/glib/gio/gvdb/
Dgvdb-reader.c264 if G_LIKELY (parent < file->n_hash_items && this_size > 0) in gvdb_table_check_name()
299 while G_LIKELY (itemno < lastno) in gvdb_table_lookup()
304 if G_LIKELY (gvdb_table_check_name (file, item, key, key_length)) in gvdb_table_lookup()
305 if G_LIKELY (item->type == type) in gvdb_table_lookup()
324 if G_LIKELY (*list == NULL || size % 4) in gvdb_table_list_from_item()
/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/
Dgstmpegtsmux.c161 if (G_LIKELY (buf)) { in new_packet_m2ts()
195 if (G_LIKELY (new_pcr > 0)) { in new_packet_m2ts()
207 if (G_LIKELY (offset >= mux->previous_offset)) in new_packet_m2ts()
/third_party/gettext/libtextstyle/gnulib-local/lib/glib/
Dgmacros.in.h277 #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
280 #define G_LIKELY(expr) (expr)
/third_party/gstreamer/gstplugins_good/gst/matroska/
Debml-read.h162 if (G_LIKELY (!res && auto_pop)) { in gst_ebml_read_has_remaining()
166 return G_LIKELY (res); in gst_ebml_read_has_remaining()
/third_party/gstreamer/gstreamer/libs/gst/controller/
Dgsttimedvaluecontrolsource.c190 if (G_LIKELY (self->values)) { in gst_timed_value_control_source_set_internal()
339 if (G_LIKELY (self->values) && (iter = in gst_timed_value_control_source_unset()
411 if (G_LIKELY (self->values)) in gst_timed_value_control_source_get_all()
/third_party/gstreamer/gstplugins_base/gst/typefind/
Dgsttypefindfunctionsdata.c36 if (G_LIKELY (sw_data->caps != NULL)) in sw_data_destroy()

123456789