Home
last modified time | relevance | path

Searched refs:buffer_length (Results 1 – 25 of 69) sorted by relevance

123

/third_party/gstreamer/gstplugins_good/tests/check/elements/
Daudiowsincband.c151 gint buffer_length; in GST_START_TEST() local
157 buffer_length = map.size / sizeof (gfloat); in GST_START_TEST()
160 for (i = 0; i < buffer_length; i++) in GST_START_TEST()
162 rms = sqrt (rms / buffer_length); in GST_START_TEST()
229 gint buffer_length; in GST_START_TEST() local
235 buffer_length = map.size / sizeof (gfloat); in GST_START_TEST()
237 for (i = 0; i < buffer_length; i++) in GST_START_TEST()
239 rms = sqrt (rms / buffer_length); in GST_START_TEST()
304 gint buffer_length; in GST_START_TEST() local
310 buffer_length = map.size / sizeof (gfloat); in GST_START_TEST()
[all …]
Daudiowsinclimit.c148 gint buffer_length; in GST_START_TEST() local
154 buffer_length = map.size / sizeof (gfloat); in GST_START_TEST()
156 for (i = 0; i < buffer_length; i++) in GST_START_TEST()
158 rms = sqrt (rms / buffer_length); in GST_START_TEST()
219 gint buffer_length; in GST_START_TEST() local
225 buffer_length = map.size / sizeof (gfloat); in GST_START_TEST()
227 for (i = 0; i < buffer_length; i++) in GST_START_TEST()
229 rms = sqrt (rms / buffer_length); in GST_START_TEST()
288 gint buffer_length; in GST_START_TEST() local
294 buffer_length = map.size / sizeof (gfloat); in GST_START_TEST()
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/data/
Dbyte_array.cc116 int32_t buffer_length = std::min<int32_t>(COPY_BUFFER_SIZE, length); in CopyTo() local
118 Get(index + src_offset, &(b[0]), 0, buffer_length)) > 0) { in CopyTo()
123 buffer_length = std::min<int32_t>(b.size(), remaining_length); in CopyTo()
136 int32_t buffer_length = std::min<int32_t>(COPY_BUFFER_SIZE, length); in CopyTo() local
137 while ((bytes_read = Get(index + offset, &(b[0]), 0, buffer_length)) > 0) { in CopyTo()
140 buffer_length = std::min<int32_t>(b.size(), length - index); in CopyTo()
149 int32_t buffer_length = std::min<int32_t>(COPY_BUFFER_SIZE, length); in CopyFrom() local
150 while ((bytes_read = is->Read(&b, 0, buffer_length)) > 0) { in CopyFrom()
160 buffer_length = std::min<int32_t>(b.size(), length); in CopyFrom()
169 int32_t buffer_length = COPY_BUFFER_SIZE; in CopyFrom() local
[all …]
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/
Dbyte_array.cc116 int32_t buffer_length = std::min<int32_t>(COPY_BUFFER_SIZE, length); in CopyTo() local
118 Get(index + src_offset, &(b[0]), 0, buffer_length)) > 0) { in CopyTo()
123 buffer_length = std::min<int32_t>(b.size(), remaining_length); in CopyTo()
136 int32_t buffer_length = std::min<int32_t>(COPY_BUFFER_SIZE, length); in CopyTo() local
137 while ((bytes_read = Get(index + offset, &(b[0]), 0, buffer_length)) > 0) { in CopyTo()
140 buffer_length = std::min<int32_t>(b.size(), length - index); in CopyTo()
149 int32_t buffer_length = std::min<int32_t>(COPY_BUFFER_SIZE, length); in CopyFrom() local
150 while ((bytes_read = is->Read(&b, 0, buffer_length)) > 0) { in CopyFrom()
160 buffer_length = std::min<int32_t>(b.size(), length); in CopyFrom()
169 int32_t buffer_length = COPY_BUFFER_SIZE; in CopyFrom() local
[all …]
/third_party/ffmpeg/libavcodec/
Dcelp_filters.h46 const float *in, int buffer_length,
66 const float *in, int buffer_length,
126 const int16_t *in, int buffer_length,
147 const float *in, int buffer_length,
166 const float *in, int buffer_length,
Dcelp_filters.c61 const int16_t *in, int buffer_length, in ff_celp_lp_synthesis_filter() argument
67 for (n = 0; n < buffer_length; n++) { in ff_celp_lp_synthesis_filter()
85 const float* in, int buffer_length, in ff_celp_lp_synthesis_filterf() argument
91 for (n = 0; n < buffer_length; n++) { in ff_celp_lp_synthesis_filterf()
114 for (n = 0; n <= buffer_length - 4; n+=4) { in ff_celp_lp_synthesis_filterf()
191 for (; n < buffer_length; n++) { in ff_celp_lp_synthesis_filterf()
200 const float *in, int buffer_length, in ff_celp_lp_zero_synthesis_filterf() argument
205 for (n = 0; n < buffer_length; n++) { in ff_celp_lp_zero_synthesis_filterf()
/third_party/mesa3d/src/imagination/vulkan/pds/
Dpvr_pds_printer.c409 size_t buffer_length) in pvr_pds_disassemble_predicate() argument
413 snprintf(buffer, buffer_length, "%s", "p0"); in pvr_pds_disassemble_predicate()
416 snprintf(buffer, buffer_length, "%s", "if0"); in pvr_pds_disassemble_predicate()
419 snprintf(buffer, buffer_length, "%s", "if1"); in pvr_pds_disassemble_predicate()
422 snprintf(buffer, buffer_length, "%s", "so_overflow_0"); in pvr_pds_disassemble_predicate()
425 snprintf(buffer, buffer_length, "%s", "so_overflow_1"); in pvr_pds_disassemble_predicate()
428 snprintf(buffer, buffer_length, "%s", "so_overflow_2"); in pvr_pds_disassemble_predicate()
431 snprintf(buffer, buffer_length, "%s", "so_overflow_3"); in pvr_pds_disassemble_predicate()
434 snprintf(buffer, buffer_length, "%s", "so_overflow_any"); in pvr_pds_disassemble_predicate()
437 snprintf(buffer, buffer_length, "%s", "keep"); in pvr_pds_disassemble_predicate()
[all …]
/third_party/flutter/skia/third_party/externals/zlib/contrib/tests/fuzzers/
Dinflate_fuzzer.cc20 uLongf buffer_length = static_cast<uLongf>(sizeof(buffer)); in LLVMFuzzerTestOneInput() local
27 stream.avail_out = buffer_length; in LLVMFuzzerTestOneInput()
28 stream.total_out = buffer_length; in LLVMFuzzerTestOneInput()
Ddeflate_set_dictionary_fuzzer.cc19 uLongf buffer_length = static_cast<uLongf>(sizeof(buffer)); in LLVMFuzzerTestOneInput() local
26 stream.avail_out = buffer_length; in LLVMFuzzerTestOneInput()
27 stream.total_out = buffer_length; in LLVMFuzzerTestOneInput()
Ddeflate_fuzzer.cc24 uLongf buffer_length = static_cast<uLongf>(sizeof(buffer)); in LLVMFuzzerTestOneInput() local
31 stream.avail_out = buffer_length; in LLVMFuzzerTestOneInput()
32 stream.total_out = buffer_length; in LLVMFuzzerTestOneInput()
Duncompress_fuzzer.cc15 uLongf buffer_length = static_cast<uLongf>(sizeof(buffer)); in LLVMFuzzerTestOneInput() local
17 uncompress(buffer, &buffer_length, data, static_cast<uLong>(size))) { in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/zlib/contrib/tests/fuzzers/
Dinflate_fuzzer.cc20 uLongf buffer_length = static_cast<uLongf>(sizeof(buffer)); in LLVMFuzzerTestOneInput() local
27 stream.avail_out = buffer_length; in LLVMFuzzerTestOneInput()
28 stream.total_out = buffer_length; in LLVMFuzzerTestOneInput()
Ddeflate_set_dictionary_fuzzer.cc19 uLongf buffer_length = static_cast<uLongf>(sizeof(buffer)); in LLVMFuzzerTestOneInput() local
26 stream.avail_out = buffer_length; in LLVMFuzzerTestOneInput()
27 stream.total_out = buffer_length; in LLVMFuzzerTestOneInput()
Duncompress_fuzzer.cc15 uLongf buffer_length = static_cast<uLongf>(sizeof(buffer)); in LLVMFuzzerTestOneInput() local
17 uncompress(buffer, &buffer_length, data, static_cast<uLong>(size))) { in LLVMFuzzerTestOneInput()
/third_party/gstreamer/gstplugins_good/gst/audiofx/
Daudiofxbasefirfilter.c115 self->buffer_length = kernel_length * channels; \
116 self->buffer = buffer = g_new0 (gdouble, self->buffer_length); \
250 guint buffer_length = self->buffer_length; \
251 guint real_buffer_length = buffer_length + kernel_length - 1; \
275 self->buffer_length = buffer_length = block_length; \
276 real_buffer_length = buffer_length + kernel_length - 1; \
284 g_assert (self->buffer_length == block_length); \
287 pass = MIN (buffer_length - buffer_fill, input_samples); \
301 if (buffer_fill < buffer_length) \
327 for (i = 0; i < buffer_length - kernel_length + 1; i++) { \
[all …]
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
Dchrome_subsetter.cc63 int buffer_length) { in SaveFile() argument
65 if (buffer_length > 0) { in SaveFile()
73 byte_count = fwrite(output_buffer, 1, buffer_length, output_file); in SaveFile()
77 return buffer_length == byte_count; in SaveFile()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
Dchrome_subsetter.cc63 int buffer_length) { in SaveFile() argument
65 if (buffer_length > 0) { in SaveFile()
73 byte_count = fwrite(output_buffer, 1, buffer_length, output_file); in SaveFile()
77 return buffer_length == byte_count; in SaveFile()
/third_party/ffmpeg/libavcodec/mips/
Dcelp_filters_mips.c64 const float* in, int buffer_length, in ff_celp_lp_synthesis_filterf_mips() argument
86 for (n = 0; n <= buffer_length - 4; n+=4) { in ff_celp_lp_synthesis_filterf_mips()
177 for (; n < buffer_length; n++) { in ff_celp_lp_synthesis_filterf_mips()
203 const float *in, int buffer_length, in ff_celp_lp_zero_synthesis_filterf_mips() argument
211 for (n = 0; n < buffer_length; n+=8) { in ff_celp_lp_zero_synthesis_filterf_mips()
/third_party/ffmpeg/libavfilter/
Daf_headphone.c65 int buffer_length; member
153 const int buffer_length = s->buffer_length; in headphone_convolute() local
154 const uint32_t modulo = (uint32_t)buffer_length - 1; in headphone_convolute()
162 buffer[l] = ringbuffer + l * buffer_length; in headphone_convolute()
183 if (read + ir_len < buffer_length) { in headphone_convolute()
186 int len = FFMIN(air_len - (read % ir_len), buffer_length - read); in headphone_convolute()
222 const int buffer_length = s->buffer_length; in headphone_fast_convolute() local
223 const uint32_t modulo = (uint32_t)buffer_length - 1; in headphone_fast_convolute()
368 s->buffer_length = 1 << (32 - ff_clz(s->air_len)); in convert_coeffs()
385 s->ringbuffer[0] = av_calloc(s->buffer_length, sizeof(float) * nb_input_channels); in convert_coeffs()
[all …]
Daf_sofalizer.c82 int buffer_length; /* is: longest IR plus max. delay in all SOFA files */ member
360 const int buffer_length = s->buffer_length; in sofalizer_convolute() local
362 const uint32_t modulo = (uint32_t)buffer_length - 1; in sofalizer_convolute()
373 buffer[l] = ringbuffer + l * buffer_length; in sofalizer_convolute()
409 read = (wr - delay[l] - (ir_samples - 1) + buffer_length) & modulo; in sofalizer_convolute()
411 if (read + ir_samples < buffer_length) { in sofalizer_convolute()
414 int len = FFMIN(n_samples - (read % ir_samples), buffer_length - read); in sofalizer_convolute()
456 const int buffer_length = s->buffer_length; in sofalizer_fast_convolute() local
458 const uint32_t modulo = (uint32_t)buffer_length - 1; in sofalizer_fast_convolute()
841 s->buffer_length = 1 << (32 - ff_clz(n_max)); in load_data()
[all …]
/third_party/skia/third_party/externals/brotli/python/
D_brotli.cc108 size_t buffer_length = 0; // Request all available output. in compress_stream() local
109 const uint8_t* buffer = BrotliEncoderTakeOutput(enc, &buffer_length); in compress_stream()
110 if (buffer_length) { in compress_stream()
111 (*output).insert((*output).end(), buffer, buffer + buffer_length); in compress_stream()
411 size_t buffer_length = 0; // Request all available output. in decompress_stream() local
412 const uint8_t* buffer = BrotliDecoderTakeOutput(dec, &buffer_length); in decompress_stream()
413 if (buffer_length) { in decompress_stream()
414 (*output).insert((*output).end(), buffer, buffer + buffer_length); in decompress_stream()
/third_party/rust/crates/os_str_bytes/tests/
Drandom_common.rs18 buffer_length: usize, in random_os_string()
20 let mut buffer = vec![0; buffer_length]; in random_os_string()
/third_party/ninja/src/
Dincludes_normalize-win32.cc32 size_t buffer_length, string *err) { in InternalGetFullPathName() argument
34 buffer_length, buffer, NULL); in InternalGetFullPathName()
39 } else if (result_size > buffer_length) { in InternalGetFullPathName()
/third_party/pulseaudio/src/utils/
Dpacat.c77 static size_t buffer_length = 0, buffer_index = 0; variable
254 buffer = pa_xrealloc(buffer, buffer_index + buffer_length + length); in stream_read_callback()
256 memcpy((uint8_t *) buffer + buffer_index + buffer_length, data, length); in stream_read_callback()
258 … pa_silence_memory((uint8_t *) buffer + buffer_index + buffer_length, length, &sample_spec); in stream_read_callback()
260 buffer_length += length; in stream_read_callback()
602 pa_assert(buffer_length); in stdout_callback()
604 if ((r = pa_write(fd, (uint8_t*) buffer+buffer_index, buffer_length, userdata)) <= 0) { in stdout_callback()
613 buffer_length -= (uint32_t) r; in stdout_callback()
616 if (!buffer_length) { in stdout_callback()
619 buffer_length = buffer_index = 0; in stdout_callback()
/third_party/gstreamer/gstplugins_bad/ext/openal/
Dgstopenalsink.c258 sink->buffer_length = 0; in gst_openal_sink_init()
834 sink->buffer_length = spec->segsize; in gst_openal_sink_parse_spec()
924 sink->buffer_length = 0; in gst_openal_sink_prepare()
955 sink->buffer_length = 0; in gst_openal_sink_unprepare()
974 g_assert (length == sink->buffer_length); in gst_openal_sink_write()
979 (guint64) (sink->buffer_length / sink->bytes_per_sample) * in gst_openal_sink_write()
1019 data, sink->buffer_length, sink->rate); in gst_openal_sink_write()
1067 ((queued * sink->buffer_length) - in gst_openal_sink_delay()

123