Home
last modified time | relevance | path

Searched refs:write_pos (Results 1 – 11 of 11) sorted by relevance

/third_party/ffmpeg/libavfilter/
Daf_asubboost.c40 int *write_pos; member
108 s->write_pos = av_calloc(inlink->channels, sizeof(*s->write_pos)); in config_input()
109 if (!s->buffer || !s->w || !s->write_pos) in config_input()
143 int write_pos = s->write_pos[ch]; in filter_channels() local
152 buffer[write_pos] = buffer[write_pos] * decay + out_sample * feedback; in filter_channels()
153 dst[n] = (src[n] * dry + buffer[write_pos] * mix) * wet; in filter_channels()
155 if (++write_pos >= buffer_samples) in filter_channels()
156 write_pos = 0; in filter_channels()
159 s->write_pos[ch] = write_pos; in filter_channels()
198 av_freep(&s->write_pos); in uninit()
Daf_headphone.c289 int write_pos = (wr + j) & modulo; in headphone_fast_convolute() local
291 *(ringbuffer + write_pos) += fft_acc[in->nb_samples + j].re * fft_scale; in headphone_fast_convolute()
Daf_sofalizer.c559 int write_pos = (wr + j) & modulo; in sofalizer_fast_convolute() local
561 *(ringbuffer + write_pos) += fft_acc[in->nb_samples + j].re * fft_scale; in sofalizer_fast_convolute()
/third_party/gstreamer/gstplugins_bad/gst/adpcmenc/
Dadpcmenc.c282 guint32 write_pos = 0; in adpcmenc_encode_ima_block() local
292 write_pos = channel * HEADER_SIZE; in adpcmenc_encode_ima_block()
293 outbuf[write_pos + 0] = (samples[channel] & 0xFF); in adpcmenc_encode_ima_block()
294 outbuf[write_pos + 1] = (samples[channel] >> 8) & 0xFF; in adpcmenc_encode_ima_block()
295 outbuf[write_pos + 2] = enc->step_index[channel]; in adpcmenc_encode_ima_block()
296 outbuf[write_pos + 3] = 0; in adpcmenc_encode_ima_block()
305 write_pos = HEADER_SIZE * enc->channels; in adpcmenc_encode_ima_block()
307 while (write_pos < enc->blocksize) { in adpcmenc_encode_ima_block()
329 outbuf[write_pos++] = packed_byte; in adpcmenc_encode_ima_block()
/third_party/gstreamer/gstplugins_good/gst/audiofx/
Daudioecho.c397 guint write_pos = (buffer_pos % buffer_size_frames) * channels; \
406 buffer[write_pos] = in + feedback * echo; \
408 write_pos = (write_pos + 1) % buffer_size; \
411 buffer_pos = write_pos / channels; \
415 guint write_pos = (buffer_pos % buffer_size_frames) * channels; \
431 buffer[write_pos + j] = in; \
439 buffer[write_pos + j] = in + feedback * echo; \
444 write_pos = (write_pos + channels) % buffer_size; \
447 buffer_pos = write_pos / channels; \
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstdownloadbuffer.c359 dlbuf->write_pos = 0; in reset_positions()
624 dlbuf->write_pos = offset; in perform_seek_to_offset()
708 if (dlbuf->write_pos != offset) { in gst_download_buffer_wait_for_data()
718 if (dlbuf->write_pos > dlbuf->read_pos) in gst_download_buffer_wait_for_data()
719 update_levels (dlbuf, dlbuf->write_pos - dlbuf->read_pos); in gst_download_buffer_wait_for_data()
1174 offset = dlbuf->write_pos; in gst_download_buffer_chain()
1199 dlbuf->write_pos = offset + info.size; in gst_download_buffer_chain()
1202 GST_DOWNLOAD_BUFFER_SIGNAL_ADD (dlbuf, dlbuf->write_pos + available); in gst_download_buffer_chain()
1205 if (dlbuf->write_pos + available == dlbuf->upstream_size) { in gst_download_buffer_chain()
1226 perform_seek_to_offset (dlbuf, dlbuf->write_pos + available); in gst_download_buffer_chain()
[all …]
Dgstdownloadbuffer.h73 guint64 write_pos; member
/third_party/python/Modules/_io/
Dbufferedio.c228 Py_off_t write_pos; member
1768 self->write_pos = 0; in _bufferedwriter_reset_buf()
1866 if (!VALID_WRITE_BUFFER(self) || self->write_pos == self->write_end) in _bufferedwriter_flush_unlocked()
1869 rewind = RAW_OFFSET(self) + (self->pos - self->write_pos); in _bufferedwriter_flush_unlocked()
1877 while (self->write_pos < self->write_end) { in _bufferedwriter_flush_unlocked()
1879 self->buffer + self->write_pos, in _bufferedwriter_flush_unlocked()
1880 Py_SAFE_DOWNCAST(self->write_end - self->write_pos, in _bufferedwriter_flush_unlocked()
1890 self->write_pos += n; in _bufferedwriter_flush_unlocked()
1891 self->raw_pos = self->write_pos; in _bufferedwriter_flush_unlocked()
1952 if (!VALID_WRITE_BUFFER(self) || self->write_pos > self->pos) { in _io_BufferedWriter_write_impl()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/audio/
DSDL_sysaudio.h144 int read_pos, write_pos; /* the position of the write and read heads in bytes */ member
/third_party/libsnd/tests/
Dutils.tpl135 (SNDFILE *file, int line_num, int pass, sf_count_t read_pos, sf_count_t write_pos) ;
592 …_position_or_die (SNDFILE *file, int line_num, int pass, sf_count_t read_pos, sf_count_t write_pos)
605 if (write_pos >= 0 && (pos = sf_seek (file, 0, SEEK_CUR | SFM_WRITE)) != write_pos)
609 printf (" : Write position (%" PRId64 ") should be %" PRId64 ".\n", pos, write_pos) ;
/third_party/boost/boost/interprocess/streams/
Dvectorstream.hpp155 typename vector_type::difference_type write_pos = base_t::pptr() - base_t::pbase(); in reserve() local
160 base_t::pbump((int)write_pos); in reserve()