Home
last modified time | relevance | path

Searched refs:current_buffer_size (Results 1 – 12 of 12) sorted by relevance

/third_party/gstreamer/gstreamer/plugins/elements/
Dgstfilesink.c441 sink->current_buffer_size = 0; in gst_file_sink_open_file()
491 sink->current_buffer_size = 0; in gst_file_sink_close_file()
511 self->current_pos + self->current_buffer_size); in gst_file_sink_query()
616 if (filesink->current_pos + filesink->current_buffer_size != in gst_file_sink_event()
644 filesink->current_buffer_size = 0; in gst_file_sink_event()
757 filesink->current_buffer_size); in gst_file_sink_flush_buffer()
759 if (filesink->buffer && filesink->current_buffer_size) { in gst_file_sink_flush_buffer()
767 NULL, filesink->buffer, filesink->current_buffer_size, &bytes_written, in gst_file_sink_flush_buffer()
781 } else if (filesink->buffer_list && filesink->current_buffer_size) { in gst_file_sink_flush_buffer()
795 filesink->current_buffer_size = 0; in gst_file_sink_flush_buffer()
[all …]
Dgstfilesink.h92 gsize current_buffer_size; member
/third_party/mesa3d/src/virtio/vulkan/
Dvn_cs.c25 enc->end <= cur_buf->base + enc->current_buffer_size); in vn_cs_encoder_sanity_check()
29 assert(!enc->current_buffer_size); in vn_cs_encoder_sanity_check()
85 enc->current_buffer_size - used); in vn_cs_encoder_gc_buffers()
183 buf_size = next_buffer_size(0, enc->current_buffer_size, size); in vn_cs_encoder_reserve_internal()
187 buf_size = next_buffer_size(enc->current_buffer_size, in vn_cs_encoder_reserve_internal()
206 enc->current_buffer_size = buf_size; in vn_cs_encoder_reserve_internal()
Dvn_cs.h19 .buffer_count = 1, .buffer_max = 1, .current_buffer_size = size, \
27 .current_buffer_size = size, .cur = (buf)->base, \
57 size_t current_buffer_size; member
/third_party/skia/third_party/externals/libpng/
Dpngpread.c446 if (length != 0 && png_ptr->current_buffer_size != 0) in png_push_fill_buffer()
450 if (length < png_ptr->current_buffer_size) in png_push_fill_buffer()
454 save_size = png_ptr->current_buffer_size; in png_push_fill_buffer()
458 png_ptr->current_buffer_size -= save_size; in png_push_fill_buffer()
482 if (png_ptr->save_buffer_size + png_ptr->current_buffer_size > in png_push_save_buffer()
489 (png_ptr->current_buffer_size + 256)) in png_push_save_buffer()
494 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer()
512 if (png_ptr->current_buffer_size) in png_push_save_buffer()
515 png_ptr->current_buffer_ptr, png_ptr->current_buffer_size); in png_push_save_buffer()
516 png_ptr->save_buffer_size += png_ptr->current_buffer_size; in png_push_save_buffer()
[all …]
Dpngstruct.h334 size_t current_buffer_size; /* amount of data now in current_buffer */ member
/third_party/libpng/
Dpngpread.c446 if (length != 0 && png_ptr->current_buffer_size != 0) in png_push_fill_buffer()
450 if (length < png_ptr->current_buffer_size) in png_push_fill_buffer()
454 save_size = png_ptr->current_buffer_size; in png_push_fill_buffer()
458 png_ptr->current_buffer_size -= save_size; in png_push_fill_buffer()
482 if (png_ptr->save_buffer_size + png_ptr->current_buffer_size > in png_push_save_buffer()
489 (png_ptr->current_buffer_size + 256)) in png_push_save_buffer()
494 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer()
512 if (png_ptr->current_buffer_size) in png_push_save_buffer()
515 png_ptr->current_buffer_ptr, png_ptr->current_buffer_size); in png_push_save_buffer()
516 png_ptr->save_buffer_size += png_ptr->current_buffer_size; in png_push_save_buffer()
[all …]
Dpngstruct.h334 size_t current_buffer_size; /* amount of data now in current_buffer */ member
/third_party/flutter/skia/third_party/externals/libpng/
Dpngpread.c446 if (length != 0 && png_ptr->current_buffer_size != 0) in png_push_fill_buffer()
450 if (length < png_ptr->current_buffer_size) in png_push_fill_buffer()
454 save_size = png_ptr->current_buffer_size; in png_push_fill_buffer()
458 png_ptr->current_buffer_size -= save_size; in png_push_fill_buffer()
482 if (png_ptr->save_buffer_size + png_ptr->current_buffer_size > in png_push_save_buffer()
489 (png_ptr->current_buffer_size + 256)) in png_push_save_buffer()
494 new_max = png_ptr->save_buffer_size + png_ptr->current_buffer_size + 256; in png_push_save_buffer()
512 if (png_ptr->current_buffer_size) in png_push_save_buffer()
515 png_ptr->current_buffer_ptr, png_ptr->current_buffer_size); in png_push_save_buffer()
516 png_ptr->save_buffer_size += png_ptr->current_buffer_size; in png_push_save_buffer()
[all …]
Dpngstruct.h334 size_t current_buffer_size; /* amount of data now in current_buffer */ member
/third_party/protobuf/src/google/protobuf/io/
Dcoded_stream.cc242 int current_buffer_size; in ReadRaw() local
243 while ((current_buffer_size = BufferSize()) < size) { in ReadRaw()
245 memcpy(buffer, buffer_, current_buffer_size); in ReadRaw()
246 buffer = reinterpret_cast<uint8*>(buffer) + current_buffer_size; in ReadRaw()
247 size -= current_buffer_size; in ReadRaw()
248 Advance(current_buffer_size); in ReadRaw()
290 int current_buffer_size; in ReadStringFallback() local
291 while ((current_buffer_size = BufferSize()) < size) { in ReadStringFallback()
293 if (current_buffer_size != 0) { in ReadStringFallback()
297 current_buffer_size); in ReadStringFallback()
[all …]
/third_party/protobuf/php/src/Google/Protobuf/Internal/
DCodedInputStream.php297 $current_buffer_size = 0;