/third_party/ffmpeg/libavfilter/ |
H A D | f_streamselect.c | 38 AVFrame **frames; member 57 AVFrame **in = s->frames; in process_frame() 150 s->frames = av_calloc(ctx->nb_inputs, sizeof(*s->frames)); in config_output() 151 if (!s->frames) in config_output() 297 av_freep(&s->frames); in uninit()
|
/third_party/ffmpeg/libavformat/ |
H A D | aacdec.c | 37 int fsize, frames; in adts_aac_probe() local 48 for (frames = 0; buf2 < end; frames++) { in adts_aac_probe() 56 frames = 0; in adts_aac_probe() 66 max_frames = FFMAX(max_frames, frames); in adts_aac_probe() 68 first_frames = frames; in adts_aac_probe() 334 // Parse all the ID3 headers between frames in adts_aac_read_packet()
|
/third_party/libsnd/Octave/ |
H A D | sndfile.cc | 85 if (sfinfo.frames > FOUR_GIG) in DEFUN_DLD() 86 printf ("This is a really huge file (%lld frames).\nYou may run out of memory trying to load it.\n", (long long) sfinfo.frames) ; in DEFUN_DLD() 90 dim (0) = sfinfo.frames ; in DEFUN_DLD() 103 /* Make sure we don't read more frames than we allocated. */ in DEFUN_DLD() 104 if (total + readcount > sfinfo.frames) in DEFUN_DLD() 105 readcount = sfinfo.frames - total ; in DEFUN_DLD() 113 } while (readcount > 0 && total < sfinfo.frames) ; in DEFUN_DLD() 196 /* Make sure we don't read more frames than we allocated. */ in DEFUN_DLD()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_debug_flush.c | 95 struct debug_stack_frame *frames; in debug_flush_capture_frame() local 97 frames = CALLOC(depth, sizeof(*frames)); in debug_flush_capture_frame() 98 if (!frames) in debug_flush_capture_frame() 101 debug_backtrace_capture(frames, start, depth); in debug_flush_capture_frame() 102 return frames; in debug_flush_capture_frame()
|
/third_party/python/Lib/test/ |
H A D | test_frame.py | 32 Clear all frames in a traceback. 46 # A reference to c is held through the frames 166 frames = [] 168 frames.append(tb.tb_frame) 170 return frames 224 frames = [] 226 frames.append(tb.tb_frame) 231 f_this, f_outer, f_inner = frames 277 Yo dawg, I heard you like frames, so I'm allocating a frame while
|
/kernel/linux/linux-5.10/include/sound/ |
H A D | pcm.h | 679 * bytes_to_frames - Unit conversion of the size from bytes to frames 699 * frames_to_bytes - Unit conversion of the size from frames to bytes 701 * @size: size in frames 709 * frame_aligned - Check whether the byte size is aligned to frames 935 * params_period_size - Get the period size (in frames) from the hw params 953 * params_buffer_size - Get the buffer size (in frames) from the hw params 1064 int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int frames); 1074 snd_pcm_uframes_t frames, bool in_kernel); 1078 const void __user *buf, snd_pcm_uframes_t frames) in snd_pcm_lib_write() 1080 return __snd_pcm_lib_xfer(substream, (void __force *)buf, true, frames, fals in snd_pcm_lib_write() 1077 snd_pcm_lib_write(struct snd_pcm_substream *substream, const void __user *buf, snd_pcm_uframes_t frames) snd_pcm_lib_write() argument 1084 snd_pcm_lib_read(struct snd_pcm_substream *substream, void __user *buf, snd_pcm_uframes_t frames) snd_pcm_lib_read() argument 1091 snd_pcm_lib_writev(struct snd_pcm_substream *substream, void __user **bufs, snd_pcm_uframes_t frames) snd_pcm_lib_writev() argument 1098 snd_pcm_lib_readv(struct snd_pcm_substream *substream, void __user **bufs, snd_pcm_uframes_t frames) snd_pcm_lib_readv() argument 1105 snd_pcm_kernel_write(struct snd_pcm_substream *substream, const void *buf, snd_pcm_uframes_t frames) snd_pcm_kernel_write() argument 1112 snd_pcm_kernel_read(struct snd_pcm_substream *substream, void *buf, snd_pcm_uframes_t frames) snd_pcm_kernel_read() argument 1119 snd_pcm_kernel_writev(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) snd_pcm_kernel_writev() argument 1126 snd_pcm_kernel_readv(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) snd_pcm_kernel_readv() argument [all...] |
/kernel/linux/linux-6.6/include/sound/ |
H A D | pcm.h | 713 * bytes_to_frames - Unit conversion of the size from bytes to frames 717 * Return: the size in frames 737 * frames_to_bytes - Unit conversion of the size from frames to bytes 739 * @size: size in frames 749 * frame_aligned - Check whether the byte size is aligned to frames 993 * params_period_size - Get the period size (in frames) from the hw params 996 * Return: the period size in frames 1015 * params_buffer_size - Get the buffer size (in frames) from the hw params 1018 * Return: the buffer size in frames 1130 int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int frames); 1144 snd_pcm_lib_write(struct snd_pcm_substream *substream, const void __user *buf, snd_pcm_uframes_t frames) snd_pcm_lib_write() argument 1151 snd_pcm_lib_read(struct snd_pcm_substream *substream, void __user *buf, snd_pcm_uframes_t frames) snd_pcm_lib_read() argument 1158 snd_pcm_lib_writev(struct snd_pcm_substream *substream, void __user **bufs, snd_pcm_uframes_t frames) snd_pcm_lib_writev() argument 1165 snd_pcm_lib_readv(struct snd_pcm_substream *substream, void __user **bufs, snd_pcm_uframes_t frames) snd_pcm_lib_readv() argument 1172 snd_pcm_kernel_write(struct snd_pcm_substream *substream, const void *buf, snd_pcm_uframes_t frames) snd_pcm_kernel_write() argument 1179 snd_pcm_kernel_read(struct snd_pcm_substream *substream, void *buf, snd_pcm_uframes_t frames) snd_pcm_kernel_read() argument 1186 snd_pcm_kernel_writev(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) snd_pcm_kernel_writev() argument 1193 snd_pcm_kernel_readv(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) snd_pcm_kernel_readv() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/nvidia/tegra-vde/ |
H A D | h264.c | 174 struct tegra_video_frame *frames, in tegra_setup_frameidx() 181 tegra_vde_setup_frameid(vde, &frames[idx], idx, in tegra_setup_frameidx() 431 dev_err(dev, "MBE frames setup failed %d\n", err); in tegra_vde_setup_hw_context() 746 vde->frames[id].flags = flags; in tegra_vde_h264_setup_frame() 747 vde->frames[id].y_addr = tb->dma_addr[0]; in tegra_vde_h264_setup_frame() 748 vde->frames[id].cb_addr = tb->dma_addr[1]; in tegra_vde_h264_setup_frame() 749 vde->frames[id].cr_addr = tb->dma_addr[2]; in tegra_vde_h264_setup_frame() 750 vde->frames[id].aux_addr = tb->aux->dma_addr; in tegra_vde_h264_setup_frame() 751 vde->frames[id].frame_num = frame_num & 0x7fffff; in tegra_vde_h264_setup_frame() 752 vde->frames[i in tegra_vde_h264_setup_frame() 173 tegra_setup_frameidx(struct tegra_vde *vde, struct tegra_video_frame *frames, unsigned int frames_nb, u32 mbs_width, u32 mbs_height) tegra_setup_frameidx() argument [all...] |
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_iec958.c | 51 unsigned int channels, snd_pcm_uframes_t frames); 93 * Compose 32bit IEC958 subframe, two sub frames 101 * 30 = channel status (24 bytes for 192 frames) 150 unsigned int channels, snd_pcm_uframes_t frames) in snd_pcm_iec958_decode() 168 frames1 = frames; in snd_pcm_iec958_decode() 187 unsigned int channels, snd_pcm_uframes_t frames) in snd_pcm_iec958_encode() 211 frames1 = frames; in snd_pcm_iec958_encode() 233 iec->counter = (counter + frames * counter_step) % 192; in snd_pcm_iec958_encode() 502 static snd_pcm_sframes_t snd_pcm_iec958_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_iec958_rewind() argument 506 snd_pcm_sframes_t result = snd_pcm_plugin_rewind(pcm, frames); in snd_pcm_iec958_rewind() 145 snd_pcm_iec958_decode(snd_pcm_iec958_t *iec, const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int channels, snd_pcm_uframes_t frames) snd_pcm_iec958_decode() argument 182 snd_pcm_iec958_encode(snd_pcm_iec958_t *iec, const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int channels, snd_pcm_uframes_t frames) snd_pcm_iec958_encode() argument 516 snd_pcm_iec958_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames) snd_pcm_iec958_forward() argument [all...] |
H A D | pcm_dsnoop.c | 331 static snd_pcm_sframes_t snd_pcm_dsnoop_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_dsnoop_rewind() argument 336 if (frames > (snd_pcm_uframes_t)avail) in snd_pcm_dsnoop_rewind() 337 frames = avail; in snd_pcm_dsnoop_rewind() 338 snd_pcm_mmap_appl_backward(pcm, frames); in snd_pcm_dsnoop_rewind() 339 return frames; in snd_pcm_dsnoop_rewind() 347 static snd_pcm_sframes_t snd_pcm_dsnoop_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_dsnoop_forward() argument 352 if (frames > (snd_pcm_uframes_t)avail) in snd_pcm_dsnoop_forward() 353 frames = avail; in snd_pcm_dsnoop_forward() 354 snd_pcm_mmap_appl_forward(pcm, frames); in snd_pcm_dsnoop_forward() 355 return frames; in snd_pcm_dsnoop_forward() [all...] |
H A D | pcm_null.c | 192 static snd_pcm_sframes_t snd_pcm_null_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_null_rewind() argument 197 snd_pcm_mmap_hw_backward(pcm, frames); in snd_pcm_null_rewind() 200 snd_pcm_mmap_appl_backward(pcm, frames); in snd_pcm_null_rewind() 201 return frames; in snd_pcm_null_rewind() 207 static snd_pcm_sframes_t snd_pcm_null_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_null_forward() argument 212 snd_pcm_mmap_hw_forward(pcm, frames); in snd_pcm_null_forward() 215 snd_pcm_mmap_appl_forward(pcm, frames); in snd_pcm_null_forward() 216 return frames; in snd_pcm_null_forward()
|
H A D | pcm_route.c | 80 snd_pcm_uframes_t frames, 116 snd_pcm_uframes_t frames, in snd_pcm_route_convert1_zero() 120 snd_pcm_area_silence(dst_area, dst_offset, frames, params->dst_sfmt); in snd_pcm_route_convert1_zero() 130 snd_pcm_uframes_t frames, in snd_pcm_route_convert1_one() 155 frames, ttable, params); in snd_pcm_route_convert1_one() 164 while (frames-- > 0) { in snd_pcm_route_convert1_one() 180 snd_pcm_uframes_t frames, in snd_pcm_route_convert1_one_getput() 206 frames, ttable, params); in snd_pcm_route_convert1_one_getput() 216 while (frames-- > 0) { in snd_pcm_route_convert1_one_getput() 232 snd_pcm_uframes_t frames, in snd_pcm_route_convert1_many() 111 snd_pcm_route_convert1_zero(const snd_pcm_channel_area_t *dst_area, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas ATTRIBUTE_UNUSED, snd_pcm_uframes_t src_offset ATTRIBUTE_UNUSED, unsigned int src_channels ATTRIBUTE_UNUSED, snd_pcm_uframes_t frames, const snd_pcm_route_ttable_dst_t* ttable ATTRIBUTE_UNUSED, const snd_pcm_route_params_t *params) snd_pcm_route_convert1_zero() argument 125 snd_pcm_route_convert1_one(const snd_pcm_channel_area_t *dst_area, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int src_channels, snd_pcm_uframes_t frames, const snd_pcm_route_ttable_dst_t* ttable, const snd_pcm_route_params_t *params) snd_pcm_route_convert1_one() argument 175 snd_pcm_route_convert1_one_getput(const snd_pcm_channel_area_t *dst_area, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int src_channels, snd_pcm_uframes_t frames, const snd_pcm_route_ttable_dst_t* ttable, const snd_pcm_route_params_t *params) snd_pcm_route_convert1_one_getput() argument 227 snd_pcm_route_convert1_many(const snd_pcm_channel_area_t *dst_area, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int src_channels, snd_pcm_uframes_t frames, const snd_pcm_route_ttable_dst_t* ttable, const snd_pcm_route_params_t *params) snd_pcm_route_convert1_many() argument 400 snd_pcm_route_convert(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas, snd_pcm_uframes_t src_offset, unsigned int src_channels, unsigned int dst_channels, snd_pcm_uframes_t frames, snd_pcm_route_params_t *params) snd_pcm_route_convert() argument [all...] |
/third_party/alsa-utils/bat/ |
H A D | bat.c | 96 bat->frames = duration_f * bat->rate; in get_duration() 98 bat->frames = duration_i; in get_duration() 100 bat->frames = -1; in get_duration() 102 if (bat->frames <= 0 || bat->frames > MAX_FRAMES) { in get_duration() 325 " -n frames to playback or capture\n" in usage() 329 " -B buffer size in frames\n" in usage() 330 " -E period size in frames\n" in usage() 360 bat->frames = bat->rate * 2; in set_defaults() 592 if (bat->frames) { in bat_init() [all...] |
/kernel/linux/linux-5.10/arch/arm/xen/ |
H A D | grant-table.c | 36 int arch_gnttab_map_shared(xen_pfn_t *frames, unsigned long nr_gframes, in arch_gnttab_map_shared() argument 48 int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes, in arch_gnttab_map_status() argument
|
/kernel/linux/linux-6.6/arch/arm/xen/ |
H A D | grant-table.c | 36 int arch_gnttab_map_shared(xen_pfn_t *frames, unsigned long nr_gframes, in arch_gnttab_map_shared() argument 48 int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes, in arch_gnttab_map_status() argument
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/utils/ |
H A D | UtilityFunctions.h | 33 constexpr int64_t convertFramesToMillis(const int64_t frames, const int sampleRate){ in convertFramesToMillis() argument 34 return static_cast<int64_t>((static_cast<double>(frames)/ sampleRate) * kMillisecondsInSecond); in convertFramesToMillis()
|
/kernel/linux/linux-6.6/drivers/most/ |
H A D | most_snd.c | 186 unsigned int frames; in copy_data() local 190 frames = mbo->processed_length / frame_bytes; in copy_data() 192 frames = mbo->buffer_length / frame_bytes; in copy_data() 193 fr0 = min(buffer_size - channel->buffer_pos, frames); in copy_data() 199 if (frames > fr0) { in copy_data() 203 (frames - fr0) * frame_bytes); in copy_data() 206 channel->buffer_pos += frames; in copy_data() 209 channel->period_pos += frames; in copy_data() 395 * hardware position on the buffer. The position must be returned in frames,
|
/kernel/linux/linux-6.6/sound/firewire/motu/ |
H A D | amdtp-motu.c | 257 static void __maybe_unused copy_sph(u32 *frames, __be32 *buffer, in copy_sph() argument 264 *frames = be32_to_cpu(*buffer); in copy_sph() 266 frames++; in copy_sph() 271 static void __maybe_unused copy_message(u64 *frames, __be32 *buffer, in copy_message() argument 279 *frames = be32_to_cpu(buffer[1]); in copy_message() 280 *frames <<= 16; in copy_message() 281 *frames |= be32_to_cpu(buffer[2]) >> 16; in copy_message() 282 ++frames; in copy_message()
|
/third_party/ffmpeg/libavcodec/ |
H A D | vp9mvs.c | 140 VP9mvrefPair *mv = &s->s.frames[CUR_FRAME].mv[(row - 1) * s->sb_cols * 8 + col]; in find_ref_mvs() 147 VP9mvrefPair *mv = &s->s.frames[CUR_FRAME].mv[row * s->sb_cols * 8 + col - 1]; in find_ref_mvs() 164 VP9mvrefPair *mv = &s->s.frames[CUR_FRAME].mv[r * s->sb_cols * 8 + c]; in find_ref_mvs() 175 VP9mvrefPair *mv = &s->s.frames[REF_FRAME_MVPAIR].mv[row * s->sb_cols * 8 + col]; in find_ref_mvs() 177 if (!s->s.frames[REF_FRAME_MVPAIR].uses_2pass) in find_ref_mvs() 178 ff_thread_await_progress(&s->s.frames[REF_FRAME_MVPAIR].tf, row >> 3, 0); in find_ref_mvs() 200 VP9mvrefPair *mv = &s->s.frames[CUR_FRAME].mv[r * s->sb_cols * 8 + c]; in find_ref_mvs() 216 VP9mvrefPair *mv = &s->s.frames[REF_FRAME_MVPAIR].mv[row * s->sb_cols * 8 + col]; in find_ref_mvs()
|
/third_party/libsnd/tests/ |
H A D | chunk_test.c | 126 sfinfo.frames = 0 ; in chunk_test_helper() 206 sfinfo.frames = 0 ; in multichunk_test_helper() 346 sfinfo.frames = 0 ; in wav_subchunk_test() 375 sfinfo.frames != ARRAY_LEN (audio), in wav_subchunk_test() 376 "\n\nLine %d : Incorrect sample count (%d should be %d)\n", __LINE__, (int) sfinfo.frames, (int) ARRAY_LEN (audio) in wav_subchunk_test() 406 sfinfo.frames = 0 ; in large_free_test() 435 sfinfo.frames != ARRAY_LEN (audio), in large_free_test() 436 "\n\nLine %d : Incorrect sample count (%d should be %d)\n", __LINE__, (int) sfinfo.frames, (int) ARRAY_LEN (audio) in large_free_test()
|
/third_party/node/src/ |
H A D | debug_utils.cc | 127 int GetStackTrace(void** frames, int count) override { 128 return backtrace(frames, count); 268 int GetStackTrace(void** frames, int count) override { 269 return CaptureStackBackTrace(0, count, frames, nullptr); 308 void* frames[256]; in DumpBacktrace() local 309 const int size = sym_ctx->GetStackTrace(frames, arraysize(frames)); in DumpBacktrace() 311 void* frame = frames[i]; in DumpBacktrace()
|
/third_party/node/test/fixtures/wpt/common/ |
H A D | worklet-reftest.js | 23 async function animationFrames(frames) { 24 for (let i = 0; i < frames; i++)
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | sndfile-util.h | 37 typedef sf_count_t (*pa_sndfile_readf_t)(SNDFILE *sndfile, void *ptr, sf_count_t frames); 38 typedef sf_count_t (*pa_sndfile_writef_t)(SNDFILE *sndfile, const void *ptr, sf_count_t frames);
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_sp.c | 91 initialize_stage_frames(struct ia_css_frames_sp *frames); 244 /* For now always update the dynamic data from out frames. */ in sh_css_sp_start_binary_copy() 366 initialize_stage_frames(&sh_css_sp_stage.frames); in sh_css_sp_start_isys_copy() 379 sh_css_copy_buffer_attr_to_spbuffer(&sh_css_sp_stage.frames.metadata_buf, in sh_css_sp_start_isys_copy() 562 sh_css_copy_frame_to_spframe(&sh_css_sp_stage.frames.in, frame); in set_input_frame_buffer() 605 sh_css_copy_frame_to_spframe(&sh_css_sp_stage.frames.out[idx], frame); in set_output_frame_buffer() 635 sh_css_copy_frame_to_spframe(&sh_css_sp_stage.frames.out_vf, frame); in set_view_finder_buffer() 873 initialize_stage_frames(struct ia_css_frames_sp *frames) in initialize_stage_frames() argument 877 initialize_frame_buffer_attribute(&frames->in.buf_attr); in initialize_stage_frames() 879 initialize_frame_buffer_attribute(&frames in initialize_stage_frames() [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_sp.c | 92 initialize_stage_frames(struct ia_css_frames_sp *frames); 245 /* For now always update the dynamic data from out frames. */ in sh_css_sp_start_binary_copy() 365 initialize_stage_frames(&sh_css_sp_stage.frames); in sh_css_sp_start_isys_copy() 377 sh_css_copy_buffer_attr_to_spbuffer(&sh_css_sp_stage.frames.metadata_buf, in sh_css_sp_start_isys_copy() 559 sh_css_copy_frame_to_spframe(&sh_css_sp_stage.frames.in, frame); in set_input_frame_buffer() 602 sh_css_copy_frame_to_spframe(&sh_css_sp_stage.frames.out[idx], frame); in set_output_frame_buffer() 632 sh_css_copy_frame_to_spframe(&sh_css_sp_stage.frames.out_vf, frame); in set_view_finder_buffer() 894 initialize_stage_frames(struct ia_css_frames_sp *frames) in initialize_stage_frames() argument 898 initialize_frame_buffer_attribute(&frames->in.buf_attr); in initialize_stage_frames() 900 initialize_frame_buffer_attribute(&frames in initialize_stage_frames() [all...] |