Home
last modified time | relevance | path

Searched refs:frames (Results 226 - 250 of 760) sorted by relevance

12345678910>>...31

/kernel/linux/linux-6.6/sound/core/
H A Dpcm_native.c718 snd_pcm_uframes_t frames; in snd_pcm_hw_params() local
791 frames = 1; in snd_pcm_hw_params()
794 frames *= 2; in snd_pcm_hw_params()
797 runtime->min_align = frames; in snd_pcm_hw_params()
2931 /* increase the appl_ptr; returns the processed frames or a negative error */
2933 snd_pcm_uframes_t frames, in forward_appl_ptr()
2942 if (frames > (snd_pcm_uframes_t)avail) in forward_appl_ptr()
2943 frames = avail; in forward_appl_ptr()
2944 appl_ptr = runtime->control->appl_ptr + frames; in forward_appl_ptr()
2948 return ret < 0 ? ret : frames; in forward_appl_ptr()
2932 forward_appl_ptr(struct snd_pcm_substream *substream, snd_pcm_uframes_t frames, snd_pcm_sframes_t avail) forward_appl_ptr() argument
2952 rewind_appl_ptr(struct snd_pcm_substream *substream, snd_pcm_uframes_t frames, snd_pcm_sframes_t avail) rewind_appl_ptr() argument
2976 snd_pcm_rewind(struct snd_pcm_substream *substream, snd_pcm_uframes_t frames) snd_pcm_rewind() argument
2995 snd_pcm_forward(struct snd_pcm_substream *substream, snd_pcm_uframes_t frames) snd_pcm_forward() argument
3259 snd_pcm_uframes_t frames; snd_pcm_rewind_ioctl() local
3275 snd_pcm_uframes_t frames; snd_pcm_forward_ioctl() local
3426 snd_pcm_uframes_t *frames = arg; snd_pcm_kernel_ioctl() local
3519 snd_pcm_uframes_t frames; snd_pcm_readv() local
3559 snd_pcm_uframes_t frames; snd_pcm_writev() local
[all...]
/third_party/node/test/parallel/
H A Dtest-tls-write-error.js45 const frames = Buffer.concat([
51 client.write(frames, common.mustCall(() => {
/third_party/mesa3d/src/util/tests/
H A Du_debug_stack_test.cpp53 func_c(struct debug_stack_frame *frames) in func_c() argument
55 debug_backtrace_capture(frames, 0, 16); in func_c()
/third_party/skia/third_party/externals/oboe/src/flowgraph/
H A DRampLinear.cpp29 void RampLinear::setLengthInFrames(int32_t frames) { in setLengthInFrames() argument
30 mLengthInFrames = frames; in setLengthInFrames()
70 // Process any frames after the ramp. in onProcess()
/third_party/pulseaudio/src/modules/alsa/
H A Dalsa-source.c668 snd_pcm_uframes_t offset, frames; in mmap_read() local
671 frames = (snd_pcm_uframes_t) (n_bytes / u->frame_size); in mmap_read()
672 /* pa_log_debug("%lu frames to read", (unsigned long) frames); */ in mmap_read()
674 if (PA_UNLIKELY((err = pa_alsa_safe_mmap_begin(u->pcm_handle, &areas, &offset, &frames, u->hwbuf_size, &u->source->sample_spec)) < 0)) { in mmap_read()
690 frames = PA_MIN(frames, u->frames_per_block); in mmap_read()
692 if (!after_avail && frames == 0) in mmap_read()
695 pa_assert(frames > 0); in mmap_read()
708 chunk.memblock = pa_memblock_new_fixed(u->core->mempool, p, frames * in mmap_read()
824 snd_pcm_sframes_t frames; unix_read() local
[all...]
/kernel/linux/linux-5.10/kernel/bpf/
H A Dcpumap.c10 * Unlike devmap which redirects XDP frames out another NIC device,
11 * this map type redirects raw XDP frames to another CPU. The remote
229 void **frames, int n, in cpu_map_bpf_prog_run_xdp()
245 struct xdp_frame *xdpf = frames[i]; in cpu_map_bpf_prog_run_xdp()
263 frames[nframes++] = xdpf; in cpu_map_bpf_prog_run_xdp()
314 void *frames[CPUMAP_BATCH]; in cpu_map_kthread_run() local
337 n = __ptr_ring_consume_batched(rcpu->queue, frames, in cpu_map_kthread_run()
340 void *f = frames[i]; in cpu_map_kthread_run()
351 nframes = cpu_map_bpf_prog_run_xdp(rcpu, frames, n, &stats); in cpu_map_kthread_run()
363 struct xdp_frame *xdpf = frames[ in cpu_map_kthread_run()
228 cpu_map_bpf_prog_run_xdp(struct bpf_cpu_map_entry *rcpu, void **frames, int n, struct xdp_cpumap_stats *stats) cpu_map_bpf_prog_run_xdp() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/most/sound/
H A Dsound.c194 unsigned int frames; in copy_data() local
198 frames = mbo->processed_length / frame_bytes; in copy_data()
200 frames = mbo->buffer_length / frame_bytes; in copy_data()
201 fr0 = min(buffer_size - channel->buffer_pos, frames); in copy_data()
207 if (frames > fr0) { in copy_data()
211 (frames - fr0) * frame_bytes); in copy_data()
214 channel->buffer_pos += frames; in copy_data()
217 channel->period_pos += frames; in copy_data()
403 * hardware position on the buffer. The position must be returned in frames,
/third_party/libsnd/tests/
H A Dstdin_test.c149 sfinfo.frames = 0 ; in stdin_test()
182 if (sfinfo.frames < count) in stdin_test()
183 { fprintf (stderr, "\n\nError : Sample count (%ld) should be %d\n", (long) sfinfo.frames, count) ; in stdin_test()
192 { fprintf (stderr, "\n\nError : Expected %d frames, read %d.\n", count, total) ; in stdin_test()
H A Draw_test.c73 sfinfo.frames = 0 ; in raw_offset_test()
89 if (ABS (BUFFER_LEN - sfinfo.frames) > 1) in raw_offset_test()
90 { printf ("\n\nLine %d : Incorrect sample count (%" PRId64 " should be %d)\n", __LINE__, sfinfo.frames, BUFFER_LEN) ; in raw_offset_test()
/third_party/node/deps/v8/src/inspector/
H A Dv8-stack-trace-impl.h88 V8StackTraceImpl(std::vector<std::shared_ptr<StackFrame>> frames,
131 const std::vector<std::shared_ptr<StackFrame>>& frames() const { in frames() function in v8_inspector::AsyncStackTrace
137 std::vector<std::shared_ptr<StackFrame>> frames,
/third_party/libsnd/src/
H A Dsds.c48 { int bitwidth, frames ; member
110 psf->sf.frames = 0 ; in sds_open()
264 psf->sf.frames = psds->frames = data_length ; in sds_read_header()
354 psf->sf.frames = psds->total_written ; in sds_write_header()
429 if (psds->read_block * psds->samplesperblock > psds->frames) in sds_2byte_read()
473 if (psds->read_block * psds->samplesperblock > psds->frames) in sds_3byte_read()
517 if (psds->read_block * psds->samplesperblock > psds->frames) in sds_4byte_read()
662 { if (psds->read_block * psds->samplesperblock >= psds->frames) in sds_read()
700 if (seek_from_start < 0 || seek_from_start > psf->sf.frames) in sds_seek()
[all...]
H A Dvoc.c434 psf->sf.frames = psf->datalength / (psf->bytewidth * psf->sf.channels) ; in voc_write_header()
488 length = psf->sf.frames * psf->sf.channels * psf->bytewidth + 12 ; in voc_write_header()
495 length = psf->sf.frames * psf->sf.channels * psf->bytewidth + 12 ; in voc_write_header()
502 length = psf->sf.frames * psf->sf.channels * psf->bytewidth + 12 ; in voc_write_header()
508 length = psf->sf.frames * psf->sf.channels * psf->bytewidth + 12 ; in voc_write_header()
570 psf->sf.frames = 0 ;
H A Daiff.c276 psf->sf.frames = 0 ; in aiff_open()
323 if (psf->sf.frames > comm_fmt.numSampleFrames) in aiff_open()
324 psf->sf.frames = comm_fmt.numSampleFrames ; in aiff_open()
329 if (psf->sf.frames > comm_fmt.numSampleFrames) in aiff_open()
330 psf->sf.frames = comm_fmt.numSampleFrames ; in aiff_open()
335 if (psf->sf.frames > comm_fmt.numSampleFrames) in aiff_open()
336 psf->sf.frames = comm_fmt.numSampleFrames ; in aiff_open()
346 if (psf->sf.frames > comm_fmt.numSampleFrames) in aiff_open()
347 psf->sf.frames = comm_fmt.numSampleFrames ; in aiff_open()
365 if (psf->sf.frames > comm_fm in aiff_open()
[all...]
/kernel/linux/linux-5.10/sound/atmel/
H A Dac97c.c418 snd_pcm_uframes_t frames; in atmel_ac97c_playback_pointer() local
424 frames = bytes_to_frames(runtime, bytes); in atmel_ac97c_playback_pointer()
425 if (frames >= runtime->buffer_size) in atmel_ac97c_playback_pointer()
426 frames -= runtime->buffer_size; in atmel_ac97c_playback_pointer()
427 return frames; in atmel_ac97c_playback_pointer()
435 snd_pcm_uframes_t frames; in atmel_ac97c_capture_pointer() local
441 frames = bytes_to_frames(runtime, bytes); in atmel_ac97c_capture_pointer()
442 if (frames >= runtime->buffer_size) in atmel_ac97c_capture_pointer()
443 frames -= runtime->buffer_size; in atmel_ac97c_capture_pointer()
444 return frames; in atmel_ac97c_capture_pointer()
[all...]
/kernel/linux/linux-6.6/sound/atmel/
H A Dac97c.c417 snd_pcm_uframes_t frames; in atmel_ac97c_playback_pointer() local
423 frames = bytes_to_frames(runtime, bytes); in atmel_ac97c_playback_pointer()
424 if (frames >= runtime->buffer_size) in atmel_ac97c_playback_pointer()
425 frames -= runtime->buffer_size; in atmel_ac97c_playback_pointer()
426 return frames; in atmel_ac97c_playback_pointer()
434 snd_pcm_uframes_t frames; in atmel_ac97c_capture_pointer() local
440 frames = bytes_to_frames(runtime, bytes); in atmel_ac97c_capture_pointer()
441 if (frames >= runtime->buffer_size) in atmel_ac97c_capture_pointer()
442 frames -= runtime->buffer_size; in atmel_ac97c_capture_pointer()
443 return frames; in atmel_ac97c_capture_pointer()
[all...]
/third_party/alsa-lib/src/pcm/
H A Dpcm_dshare.c439 static snd_pcm_sframes_t snd_pcm_dshare_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_dshare_rewind() argument
444 if (frames > (snd_pcm_uframes_t)avail) in snd_pcm_dshare_rewind()
445 frames = avail; in snd_pcm_dshare_rewind()
446 snd_pcm_mmap_appl_backward(pcm, frames); in snd_pcm_dshare_rewind()
447 return frames; in snd_pcm_dshare_rewind()
455 static snd_pcm_sframes_t snd_pcm_dshare_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_dshare_forward() argument
460 if (frames > (snd_pcm_uframes_t)avail) in snd_pcm_dshare_forward()
461 frames = avail; in snd_pcm_dshare_forward()
462 snd_pcm_mmap_appl_forward(pcm, frames); in snd_pcm_dshare_forward()
463 return frames; in snd_pcm_dshare_forward()
[all...]
H A Dpcm_rate_linear.c49 static snd_pcm_uframes_t input_frames(void *obj, snd_pcm_uframes_t frames) in input_frames() argument
52 if (frames == 0) in input_frames()
55 return muldiv_near(frames, LINEAR_DIV, rate->pitch); in input_frames()
58 static snd_pcm_uframes_t output_frames(void *obj, snd_pcm_uframes_t frames) in output_frames() argument
61 if (frames == 0) in output_frames()
64 return muldiv_near(frames, rate->pitch, LINEAR_DIV); in output_frames()
H A Dpcm_multi.c623 snd_pcm_sframes_t frames = LONG_MAX; in snd_pcm_multi_rewindable() local
629 if (f < frames) in snd_pcm_multi_rewindable()
630 frames = f; in snd_pcm_multi_rewindable()
633 return frames; in snd_pcm_multi_rewindable()
641 snd_pcm_sframes_t frames = LONG_MAX; in snd_pcm_multi_forwardable() local
647 if (f < frames) in snd_pcm_multi_forwardable()
648 frames = f; in snd_pcm_multi_forwardable()
651 return frames; in snd_pcm_multi_forwardable()
655 static snd_pcm_sframes_t snd_pcm_multi_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_multi_rewind() argument
663 snd_pcm_sframes_t f = snd_pcm_rewind(slave_i, frames); in snd_pcm_multi_rewind()
686 snd_pcm_multi_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames) snd_pcm_multi_forward() argument
[all...]
/kernel/linux/linux-5.10/sound/firewire/motu/
H A Damdtp-motu.c280 static void __maybe_unused copy_sph(u32 *frames, __be32 *buffer, in copy_sph() argument
287 *frames = be32_to_cpu(*buffer); in copy_sph()
289 frames++; in copy_sph()
294 static void __maybe_unused copy_message(u64 *frames, __be32 *buffer, in copy_message() argument
302 *frames = (be32_to_cpu(buffer[1]) << 16) | in copy_message()
305 frames++; in copy_message()
/kernel/linux/linux-6.6/drivers/usb/gadget/legacy/
H A Dwebcam.c174 /* add to .frames and fill .num_frames at runtime */
313 /* add to .frames and fill .num_frames at runtime */
546 INIT_LIST_HEAD(&uvcg_format_yuv.fmt.frames); in webcam_bind()
547 list_add_tail(&uvcg_frame_ptr_yuv_360p.entry, &uvcg_format_yuv.fmt.frames); in webcam_bind()
548 list_add_tail(&uvcg_frame_ptr_yuv_720p.entry, &uvcg_format_yuv.fmt.frames); in webcam_bind()
551 INIT_LIST_HEAD(&uvcg_format_mjpeg.fmt.frames); in webcam_bind()
552 list_add_tail(&uvcg_frame_ptr_mjpeg_360p.entry, &uvcg_format_mjpeg.fmt.frames); in webcam_bind()
553 list_add_tail(&uvcg_frame_ptr_mjpeg_720p.entry, &uvcg_format_mjpeg.fmt.frames); in webcam_bind()
/third_party/ffmpeg/libavcodec/
H A Ddxva2_vp9.c56 fill_picture_entry(&pp->CurrPic, ff_dxva2_get_surface_index(avctx, ctx, h->frames[CUR_FRAME].tf.f), 0); in fill_picture_parameters()
172 struct vp9_dxva2_picture_context *ctx_pic = h->frames[CUR_FRAME].hwaccel_picture_private; in commit_bitstream_and_slice_buffer()
260 struct vp9_dxva2_picture_context *ctx_pic = h->frames[CUR_FRAME].hwaccel_picture_private; in dxva2_vp9_start_frame()
280 struct vp9_dxva2_picture_context *ctx_pic = h->frames[CUR_FRAME].hwaccel_picture_private; in dxva2_vp9_decode_slice()
296 struct vp9_dxva2_picture_context *ctx_pic = h->frames[CUR_FRAME].hwaccel_picture_private; in dxva2_vp9_end_frame()
302 ret = ff_dxva2_common_end_frame(avctx, h->frames[CUR_FRAME].tf.f, in dxva2_vp9_end_frame()
/third_party/python/Lib/
H A Dcgitb.py127 frames = [] variable
180 frames.append('''
191 return head + ''.join(frames) + ''.join(exception) + '''
215 frames = [] variable
254 frames.append('\n%s\n' % '\n'.join(rows))
261 return head + ''.join(frames) + ''.join(exception) + '''
/kernel/linux/linux-5.10/drivers/staging/media/tegra-vde/
H A Dvde.c201 struct video_frame *frames, in tegra_setup_frameidx()
208 tegra_vde_setup_frameid(vde, &frames[idx], idx, in tegra_setup_frameidx()
453 dev_err(dev, "MBE frames setup failed %d\n", err); in tegra_vde_setup_hw_context()
697 struct tegra_vde_h264_frame *frames; in tegra_vde_ioctl_decode_h264() local
730 frames = kmalloc_array(ctx.dpb_frames_nb, sizeof(*frames), GFP_KERNEL); in tegra_vde_ioctl_decode_h264()
731 if (!frames) { in tegra_vde_ioctl_decode_h264()
746 if (copy_from_user(frames, frames_user, in tegra_vde_ioctl_decode_h264()
747 ctx.dpb_frames_nb * sizeof(*frames))) { in tegra_vde_ioctl_decode_h264()
757 ret = tegra_vde_validate_frame(dev, &frames[ in tegra_vde_ioctl_decode_h264()
200 tegra_setup_frameidx(struct tegra_vde *vde, struct video_frame *frames, unsigned int frames_nb, u32 mbs_width, u32 mbs_height) tegra_setup_frameidx() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/tnr/tnr_1.0/
H A Dia_css_tnr.host.c99 const struct ia_css_frame * const *frames) in ia_css_tnr_configure()
105 config.tnr_frames[i] = frames[i]; in ia_css_tnr_configure()
97 ia_css_tnr_configure( const struct ia_css_binary *binary, const struct ia_css_frame * const *frames) ia_css_tnr_configure() argument
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/tnr/tnr_1.0/
H A Dia_css_tnr.host.c100 const struct ia_css_frame * const *frames) in ia_css_tnr_configure()
106 config.tnr_frames[i] = frames[i]; in ia_css_tnr_configure()
99 ia_css_tnr_configure(const struct ia_css_binary *binary, const struct ia_css_frame * const *frames) ia_css_tnr_configure() argument

Completed in 27 milliseconds

12345678910>>...31