Home
last modified time | relevance | path

Searched refs:frames (Results 251 - 275 of 766) sorted by relevance

1...<<11121314151617181920>>...31

/third_party/libsnd/src/
H A Dogg_pcm.c86 psf->sf.frames = opcm_length (psf) ; in ogg_pcm_open()
105 psf->sf.frames = SF_COUNT_MAX ; /* Unknown really */ in ogg_pcm_open()
H A Dw64.c160 if (psf->sf.frames <= 0) in w64_open()
161 psf->sf.frames = (psf->blockwidth) ? psf->filelength / psf->blockwidth : psf->filelength ; in w64_open()
297 { sf_count_t frames ; in w64_read_header() local
299 psf_binheader_readf (psf, "e8", &frames) ; in w64_read_header()
300 psf_log_printf (psf, "fact : %D\n frames : %D\n", in w64_read_header()
301 chunk_size, frames) ; in w64_read_header()
391 psf->sf.frames = (psf->filelength - psf->dataoffset) / psf->blockwidth ; in w64_read_header()
393 psf->sf.frames = psf->datalength / psf->blockwidth ; in w64_read_header()
454 psf->sf.frames = psf->datalength / (psf->bytewidth * psf->sf.channels) ; in w64_write_header()
616 psf_binheader_writef (psf, "eh88", BHWh (fact_MARKER16), BHW8 ((sf_count_t) (16 + 8 + 8)), BHW8 (psf->sf.frames)) ; in w64_write_header()
[all...]
H A Dnist.c74 psf->sf.frames = 0 ; in nist_open()
182 psf->sf.frames = samples ; in nist_read_header()
303 psf->sf.frames = psf->datalength / (psf->bytewidth * psf->sf.channels) ; in nist_write_header()
355 samples = psf->sf.frames ; in nist_write_header()
/third_party/skia/tools/perf-canvaskit-puppeteer/
H A Dbenchmark.js30 // warmupFrames - Run this number of frames before starting to measure things.
73 // If we have maxed out the frames we are measuring or have completed the animation,
97 console.log(`test aborted due to timeout after ${idx} frames`);
98 reject(`test aborted due to timeout after ${idx} frames`);
/third_party/node/deps/v8/src/execution/
H A Dframes.cc5 #include "src/execution/frames.h"
18 #include "src/execution/frames-inl.h"
72 // For CWasmEntry frames, the handler was registered by the last C++ in StackHandlerIterator()
138 // When we're done iterating over the stack frames, the handler in Advance()
248 std::vector<FrameSummary> frames; in GetTopValidFrame() local
249 frame()->Summarize(&frames); in GetTopValidFrame()
251 for (int i = static_cast<int>(frames.size()) - 1; i >= 0; i--) { in GetTopValidFrame()
252 if (!IsValidJSFunction(*frames[i].AsJavaScript().function())) continue; in GetTopValidFrame()
253 return frames[i]; in GetTopValidFrame()
258 if (is_wasm()) return frames in GetTopValidFrame()
1699 std::vector<FrameSummary> frames; GetTop() local
1710 std::vector<FrameSummary> frames; GetSingle() local
1718 std::vector<FrameSummary> frames; Get() local
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_stack.c61 AVFrame **frames; member
118 s->frames = av_calloc(s->nb_inputs, sizeof(*s->frames)); in init()
119 if (!s->frames) in init()
145 AVFrame **in = s->frames; in process_slice()
169 AVFrame **in = s->frames; in process_frame()
425 av_freep(&s->frames); in uninit()
/third_party/ffmpeg/libavformat/tests/
H A Dmovenc.c66 int frames; variable
231 frames = 0; in init_fps()
250 int end_frames = frames + n; in mux_frames()
261 if (frames == end_frames) in mux_frames()
266 if ((frames % gop_size) == 0) { in mux_frames()
278 if (((frames + 1) % gop_size) == 0) { in mux_frames()
291 frames++; in mux_frames()
398 // Write a similar file, but with B-frames and audio preroll, handled in main()
408 // Use B-frames but no audio-preroll, but without an edit list. in main()
421 // Write an ISMV, with B-frames an in main()
[all...]
/third_party/ffmpeg/libavutil/
H A Dhwcontext.c309 AVFrame **frames; in hwframe_pool_prealloc() local
312 frames = av_calloc(ctx->initial_pool_size, sizeof(*frames)); in hwframe_pool_prealloc()
313 if (!frames) in hwframe_pool_prealloc()
317 frames[i] = av_frame_alloc(); in hwframe_pool_prealloc()
318 if (!frames[i]) in hwframe_pool_prealloc()
321 ret = av_hwframe_get_buffer(ref, frames[i], 0); in hwframe_pool_prealloc()
328 av_frame_free(&frames[i]); in hwframe_pool_prealloc()
329 av_freep(&frames); in hwframe_pool_prealloc()
372 /* preallocate the frames i in av_hwframe_ctx_init()
[all...]
/third_party/alsa-utils/seq/aplaymidi/
H A Darecordmidi.c71 static int frames; variable
295 switch (frames) { in create_queue()
313 fatal("Invalid SMPTE frames %d", frames); in create_queue()
641 time_division |= (0x100 - frames) << 8; in write_file()
708 " -f,--fps=frames resolution in frames per second (SMPTE)\n" in help()
779 frames = atoi(optarg); in main()
780 if (frames != 24 && frames ! in main()
[all...]
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
H A Du_uac1_legacy.c158 snd_pcm_sframes_t frames; in u_audio_playback() local
172 frames = bytes_to_frames(runtime, count); in u_audio_playback()
173 result = snd_pcm_kernel_write(snd->substream, buf, frames); in u_audio_playback()
174 if (result != frames) { in u_audio_playback()
/kernel/linux/linux-5.10/sound/firewire/digi00x/
H A Damdtp-dot.c146 __be32 *buffer, unsigned int frames, in write_pcm_s32()
165 for (i = 0; i < frames; ++i) { in write_pcm_s32()
178 __be32 *buffer, unsigned int frames, in read_pcm_s32()
197 for (i = 0; i < frames; ++i) { in read_pcm_s32()
145 write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, __be32 *buffer, unsigned int frames, unsigned int pcm_frames) write_pcm_s32() argument
177 read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, __be32 *buffer, unsigned int frames, unsigned int pcm_frames) read_pcm_s32() argument
/kernel/linux/linux-5.10/sound/usb/line6/
H A Dcapture.c92 int frames = fsize / bytes_per_frame; in line6_capture_copy() local
97 if (line6pcm->in.pos_done + frames > runtime->buffer_size) { in line6_capture_copy()
111 (frames - len) * bytes_per_frame); in line6_capture_copy()
123 line6pcm->in.pos_done += frames; in line6_capture_copy()
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Du_uac1_legacy.c158 snd_pcm_sframes_t frames; in u_audio_playback() local
172 frames = bytes_to_frames(runtime, count); in u_audio_playback()
173 result = snd_pcm_kernel_write(snd->substream, buf, frames); in u_audio_playback()
174 if (result != frames) { in u_audio_playback()
/kernel/linux/linux-6.6/sound/firewire/digi00x/
H A Damdtp-dot.c146 __be32 *buffer, unsigned int frames, in write_pcm_s32()
165 for (i = 0; i < frames; ++i) { in write_pcm_s32()
178 __be32 *buffer, unsigned int frames, in read_pcm_s32()
197 for (i = 0; i < frames; ++i) { in read_pcm_s32()
145 write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, __be32 *buffer, unsigned int frames, unsigned int pcm_frames) write_pcm_s32() argument
177 read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, __be32 *buffer, unsigned int frames, unsigned int pcm_frames) read_pcm_s32() argument
/kernel/linux/linux-6.6/sound/usb/line6/
H A Dcapture.c92 int frames = fsize / bytes_per_frame; in line6_capture_copy() local
97 if (line6pcm->in.pos_done + frames > runtime->buffer_size) { in line6_capture_copy()
111 (frames - len) * bytes_per_frame); in line6_capture_copy()
123 line6pcm->in.pos_done += frames; in line6_capture_copy()
/third_party/alsa-lib/src/pcm/
H A Dpcm_generic.c193 snd_pcm_sframes_t snd_pcm_generic_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_generic_forward() argument
196 return INTERNAL(snd_pcm_forward)(generic->slave, frames); in snd_pcm_generic_forward()
205 snd_pcm_sframes_t snd_pcm_generic_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_generic_rewind() argument
208 return snd_pcm_rewind(generic->slave, frames); in snd_pcm_generic_rewind()
H A Dpcm_dmix.c671 static snd_pcm_sframes_t snd_pcm_dmix_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_dmix_rewind() argument
686 /* (appl_ptr - last_appl_ptr) indicates the frames which are not in snd_pcm_dmix_rewind()
688 * (last_appl_ptr - hw_ptr) indicates the frames which are already in snd_pcm_dmix_rewind()
694 if (frames < size) in snd_pcm_dmix_rewind()
695 size = frames; in snd_pcm_dmix_rewind()
697 frames -= size; in snd_pcm_dmix_rewind()
698 if (!frames) in snd_pcm_dmix_rewind()
703 * So (appl_ptr - hw_ptr) indicates the frames which can be remixed in snd_pcm_dmix_rewind()
706 if (size > frames) in snd_pcm_dmix_rewind()
707 size = frames; in snd_pcm_dmix_rewind()
758 snd_pcm_dmix_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames) snd_pcm_dmix_forward() argument
[all...]
/third_party/libsnd/tests/
H A Daiff_rw_test.c161 if (sfinfo_rd.frames != sfinfo_rw.frames) in rw_test()
163 sfinfo_rd.frames, sfinfo_rw.frames) ; in rw_test()
/third_party/node/lib/internal/test_runner/reporter/
H A Dtap.js235 const frames = [];
247 ArrayPrototypePush(frames, processed);
252 if (frames.length > 0) {
256 result += `${ArrayPrototypeJoin(frames, frameDelimiter)}\n`;
/third_party/python/Lib/test/
H A Dtest_contextlib.py100 frames = traceback.extract_tb(e.__traceback__)
102 self.assertEqual(len(frames), 1)
103 self.assertEqual(frames[0].name, 'test_contextmanager_traceback')
104 self.assertEqual(frames[0].line, '1/0')
114 frames = traceback.extract_tb(e.__traceback__) variable in ContextManagerTestCase.test_contextmanager_traceback.RuntimeErrorSubclass
116 self.assertEqual(len(frames), 1)
117 self.assertEqual(frames[0].name, 'test_contextmanager_traceback')
118 self.assertEqual(frames[0].line, 'raise RuntimeErrorSubclass(42)')
133 frames = traceback.extract_tb(e.__traceback__) variable in ContextManagerTestCase.test_contextmanager_traceback.StopIterationSubclass
137 self.assertEqual(len(frames),
[all...]
/third_party/ffmpeg/tests/fate/
H A Dfilter-audio.mak100 fate-filter-asetrate: CMD = framecrc -i $(SRC) -frames:a 20 -af asetrate=20000
105 fate-filter-chorus: CMD = framecrc -i $(SRC) -frames:a 10 -af aresample,chorus=0.050001:0.050002:64:0.050001:0.025003:2.00004,aresample
115 fate-filter-dcshift: CMD = framecrc -i $(SRC) -frames:a 20 -af aresample,dcshift=shift=0.25:limitergain=0.05,aresample
120 fate-filter-earwax: CMD = framecrc -i $(SRC) -frames:a 20 -af aresample,earwax,aresample
125 fate-filter-extrastereo: CMD = framecrc -i $(SRC) -frames:a 20 -af aresample,extrastereo=m=2,aresample
139 fate-filter-pan-mono1: CMD = framecrc -ss 3.14 -i $(SRC) -frames:a 20 -filter:a "pan=mono|FC=FL"
144 fate-filter-pan-mono2: CMD = framecrc -ss 3.14 -i $(SRC) -frames:a 20 -filter:a "pan=1C|c0=c0+c1"
149 fate-filter-pan-stereo1: CMD = framecrc -ss 3.14 -i $(SRC) -frames:a 20 -filter:a "pan=2c|FL=FR|FR=FL"
154 fate-filter-pan-stereo2: CMD = framecrc -ss 3.14 -i $(SRC) -frames:a 20 -filter:a "pan=stereo|c0=c0-c2|c1=c1-c2"
159 fate-filter-pan-stereo3: CMD = framecrc -ss 3.14 -i $(SRC) -frames
[all...]
/kernel/linux/linux-5.10/sound/core/oss/
H A Dpcm_oss.c585 static long snd_pcm_oss_bytes(struct snd_pcm_substream *substream, long frames) in snd_pcm_oss_bytes() argument
589 long bytes = frames_to_bytes(runtime, frames); in snd_pcm_oss_bytes()
1024 snd_pcm_uframes_t frames; in snd_pcm_oss_change_params_locked() local
1025 frames = runtime->period_size + 16; in snd_pcm_oss_change_params_locked()
1026 if (frames > runtime->buffer_size) in snd_pcm_oss_change_params_locked()
1027 frames = runtime->buffer_size; in snd_pcm_oss_change_params_locked()
1028 sw_params->silence_threshold = frames; in snd_pcm_oss_change_params_locked()
1029 sw_params->silence_size = frames; in snd_pcm_oss_change_params_locked()
1204 snd_pcm_uframes_t frames; in snd_pcm_oss_capture_position_fixup() local
1216 frames in snd_pcm_oss_capture_position_fixup()
1226 snd_pcm_oss_write3(struct snd_pcm_substream *substream, const char *ptr, snd_pcm_uframes_t frames, int in_kernel) snd_pcm_oss_write3() argument
1257 snd_pcm_oss_read3(struct snd_pcm_substream *substream, char *ptr, snd_pcm_uframes_t frames, int in_kernel) snd_pcm_oss_read3() argument
1301 snd_pcm_oss_writev3(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) snd_pcm_oss_writev3() argument
1330 snd_pcm_oss_readv3(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) snd_pcm_oss_readv3() argument
1362 snd_pcm_sframes_t frames, frames1; snd_pcm_oss_write2() local
1472 snd_pcm_sframes_t frames, frames1; snd_pcm_oss_read2() local
[all...]
/kernel/linux/linux-6.6/sound/core/oss/
H A Dpcm_oss.c585 static long snd_pcm_oss_bytes(struct snd_pcm_substream *substream, long frames) in snd_pcm_oss_bytes() argument
589 long bytes = frames_to_bytes(runtime, frames); in snd_pcm_oss_bytes()
1030 snd_pcm_uframes_t frames; in snd_pcm_oss_change_params_locked() local
1031 frames = runtime->period_size + 16; in snd_pcm_oss_change_params_locked()
1032 if (frames > runtime->buffer_size) in snd_pcm_oss_change_params_locked()
1033 frames = runtime->buffer_size; in snd_pcm_oss_change_params_locked()
1034 sw_params->silence_threshold = frames; in snd_pcm_oss_change_params_locked()
1035 sw_params->silence_size = frames; in snd_pcm_oss_change_params_locked()
1213 snd_pcm_uframes_t frames; in snd_pcm_oss_capture_position_fixup() local
1225 frames in snd_pcm_oss_capture_position_fixup()
1235 snd_pcm_oss_write3(struct snd_pcm_substream *substream, const char *ptr, snd_pcm_uframes_t frames, int in_kernel) snd_pcm_oss_write3() argument
1266 snd_pcm_oss_read3(struct snd_pcm_substream *substream, char *ptr, snd_pcm_uframes_t frames, int in_kernel) snd_pcm_oss_read3() argument
1310 snd_pcm_oss_writev3(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) snd_pcm_oss_writev3() argument
1339 snd_pcm_oss_readv3(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) snd_pcm_oss_readv3() argument
1371 snd_pcm_sframes_t frames, frames1; snd_pcm_oss_write2() local
1481 snd_pcm_sframes_t frames, frames1; snd_pcm_oss_read2() local
[all...]
/kernel/linux/linux-5.10/include/xen/
H A Dgrant_table.h194 int arch_gnttab_map_shared(xen_pfn_t *frames, unsigned long nr_gframes,
197 int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes,
243 xen_pfn_t *frames; member
267 * to paged out target frames.
/kernel/linux/linux-6.6/include/xen/
H A Dgrant_table.h194 int arch_gnttab_map_shared(xen_pfn_t *frames, unsigned long nr_gframes,
197 int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes,
243 xen_pfn_t *frames; member
267 * to paged out target frames.

Completed in 22 milliseconds

1...<<11121314151617181920>>...31