/third_party/ffmpeg/libavfilter/ |
D | af_asubboost.c | 40 int write_pos; member 121 int write_pos; in filter_frame() local 142 write_pos = s->write_pos; in filter_frame() 152 buffer[write_pos] = buffer[write_pos] * decay + out_sample * feedback; in filter_frame() 153 dst[n] = src[n] * dry + buffer[write_pos] * wet; in filter_frame() 155 if (++write_pos >= s->buffer_samples) in filter_frame() 156 write_pos = 0; in filter_frame() 160 s->write_pos = write_pos; in filter_frame()
|
D | af_headphone.c | 318 int write_pos = (wr + j) & modulo; in headphone_fast_convolute() local 320 *(ringbuffer + write_pos) += fft_acc[in->nb_samples + j].re * fft_scale; in headphone_fast_convolute()
|
D | af_sofalizer.c | 550 int write_pos = (wr + j) & modulo; in sofalizer_fast_convolute() local 552 *(ringbuffer + write_pos) += fft_acc[in->nb_samples + j].re * fft_scale; in sofalizer_fast_convolute()
|
/third_party/gstreamer/gstplugins_bad/gst/adpcmenc/ |
D | adpcmenc.c | 277 guint32 write_pos = 0; in adpcmenc_encode_ima_block() local 287 write_pos = channel * HEADER_SIZE; in adpcmenc_encode_ima_block() 288 outbuf[write_pos + 0] = (samples[channel] & 0xFF); in adpcmenc_encode_ima_block() 289 outbuf[write_pos + 1] = (samples[channel] >> 8) & 0xFF; in adpcmenc_encode_ima_block() 290 outbuf[write_pos + 2] = enc->step_index[channel]; in adpcmenc_encode_ima_block() 291 outbuf[write_pos + 3] = 0; in adpcmenc_encode_ima_block() 300 write_pos = HEADER_SIZE * enc->channels; in adpcmenc_encode_ima_block() 302 while (write_pos < enc->blocksize) { in adpcmenc_encode_ima_block() 324 outbuf[write_pos++] = packed_byte; in adpcmenc_encode_ima_block()
|
/third_party/gstreamer/gstplugins_good/gst/audiofx/ |
D | audioecho.c | 395 guint write_pos = (buffer_pos % buffer_size_frames) * channels; \ 404 buffer[write_pos] = in + feedback * echo; \ 406 write_pos = (write_pos + 1) % buffer_size; \ 409 buffer_pos = write_pos / channels; \ 413 guint write_pos = (buffer_pos % buffer_size_frames) * channels; \ 429 buffer[write_pos + j] = in; \ 437 buffer[write_pos + j] = in + feedback * echo; \ 442 write_pos = (write_pos + channels) % buffer_size; \ 445 buffer_pos = write_pos / channels; \
|
/third_party/gstreamer/gstreamer/plugins/elements/ |
D | gstdownloadbuffer.c | 357 dlbuf->write_pos = 0; in reset_positions() 622 dlbuf->write_pos = offset; in perform_seek_to_offset() 706 if (dlbuf->write_pos != offset) { in gst_download_buffer_wait_for_data() 716 if (dlbuf->write_pos > dlbuf->read_pos) in gst_download_buffer_wait_for_data() 717 update_levels (dlbuf, dlbuf->write_pos - dlbuf->read_pos); in gst_download_buffer_wait_for_data() 1170 offset = dlbuf->write_pos; in gst_download_buffer_chain() 1195 dlbuf->write_pos = offset + info.size; in gst_download_buffer_chain() 1198 GST_DOWNLOAD_BUFFER_SIGNAL_ADD (dlbuf, dlbuf->write_pos + available); in gst_download_buffer_chain() 1201 if (dlbuf->write_pos + available == dlbuf->upstream_size) { in gst_download_buffer_chain() 1222 perform_seek_to_offset (dlbuf, dlbuf->write_pos + available); in gst_download_buffer_chain() [all …]
|
D | gstdownloadbuffer.h | 73 guint64 write_pos; member
|
/third_party/python/Modules/_io/ |
D | bufferedio.c | 228 Py_off_t write_pos; member 1757 self->write_pos = 0; in _bufferedwriter_reset_buf() 1855 if (!VALID_WRITE_BUFFER(self) || self->write_pos == self->write_end) in _bufferedwriter_flush_unlocked() 1858 rewind = RAW_OFFSET(self) + (self->pos - self->write_pos); in _bufferedwriter_flush_unlocked() 1866 while (self->write_pos < self->write_end) { in _bufferedwriter_flush_unlocked() 1868 self->buffer + self->write_pos, in _bufferedwriter_flush_unlocked() 1869 Py_SAFE_DOWNCAST(self->write_end - self->write_pos, in _bufferedwriter_flush_unlocked() 1879 self->write_pos += n; in _bufferedwriter_flush_unlocked() 1880 self->raw_pos = self->write_pos; in _bufferedwriter_flush_unlocked() 1941 if (!VALID_WRITE_BUFFER(self) || self->write_pos > self->pos) { in _io_BufferedWriter_write_impl() [all …]
|
/third_party/minimp4/ |
D | minimp4.h | 691 int64_t write_pos; member 823 mux->write_pos = sizeof(box_ftyp); in MP4E_open() 827 if (mux->write_callback(mux->write_pos, box_ftyp, 8, mux->token)) in MP4E_open() 832 mux->write_pos += 16; // box_ftyp + box_free for 32bit or 64bit size encoding in MP4E_open() 959 ERR(mux->write_callback(mux->write_pos, base, p - base, mux->token)); in write_pending_data() 960 mux->write_pos += p - base; in write_pending_data() 965 smpl_desc->offset = (boxsize_t)mux->write_pos; in write_pending_data() 968 …ERR(mux->write_callback(mux->write_pos, tr->pending_sample.data, tr->pending_sample.bytes, mux->to… in write_pending_data() 969 mux->write_pos += tr->pending_sample.bytes; in write_pending_data() 981 smp.offset = (boxsize_t)mux->write_pos; in add_sample_descriptor() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/ |
D | SDL_sysaudio.h | 144 int read_pos, write_pos; /* the position of the write and read heads in bytes */ member
|
/third_party/libsnd/tests/ |
D | utils.tpl | 135 (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/ |
D | vectorstream.hpp | 155 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()
|