/third_party/ffmpeg/libavutil/ |
H A D | hwcontext.c | 309 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 D | arecordmidi.c | 71 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...] |
/third_party/libsnd/src/ |
H A D | w64.c | 160 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 D | mat5.c | 175 psf->sf.frames = psf->datalength / (psf->bytewidth * psf->sf.channels) ; in mat5_write_header() 233 datasize = psf->sf.frames * psf->sf.channels * psf->bytewidth ; in mat5_write_header() 236 psf_binheader_writef (psf, "t4448", BHW4 (MAT5_TYPE_INT32), BHW4 (8), BHW4 (psf->sf.channels), BHW8 (psf->sf.frames)) ; in mat5_write_header() 239 datasize = psf->sf.frames * psf->sf.channels * psf->bytewidth ; in mat5_write_header() 464 psf->sf.frames = cols ; in mat5_read_header()
|
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/example/ |
H A D | oh_audio_renderer_test.cpp | 150 int64_t frames; in PlayerTest() local 151 OH_AudioRenderer_GetFramesWritten(audioRenderer, &frames); in PlayerTest() 152 printf("Wait for the audio to finish playing.(..%d s) frames:%" PRId64 "\n", ++timer, frames); in PlayerTest()
|
/kernel/linux/linux-5.10/include/xen/ |
H A D | grant_table.h | 194 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 D | grant_table.h | 194 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/drivers/net/hyperv/ |
H A D | netvsc_bpf.c | 248 struct xdp_frame **frames, u32 flags) in netvsc_ndoxdp_xmit() 273 return vf_ops->ndo_xdp_xmit(vf_netdev, n, frames, flags); in netvsc_ndoxdp_xmit() 279 if (netvsc_ndoxdp_xmit_fm(ndev, frames[i], q_idx)) in netvsc_ndoxdp_xmit() 247 netvsc_ndoxdp_xmit(struct net_device *ndev, int n, struct xdp_frame **frames, u32 flags) netvsc_ndoxdp_xmit() argument
|
/third_party/ffmpeg/tests/fate/ |
H A D | audio.mak | 28 fate-dss-lp: CMD = framecrc -i $(TARGET_SAMPLES)/dss/lp.dss -frames 30 -af aresample 29 fate-dss-sp: CMD = framecrc -i $(TARGET_SAMPLES)/dss/sp.dss -frames 30 56 fate-on2avc: CMD = framecrc -i $(TARGET_SAMPLES)/vp7/potter-40.vp7 -frames 30 -vn -af aresample
|
H A D | filter-audio.mak | 100 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...] |
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_dmix.c | 671 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...] |
H A D | pcm_lfloat.c | 56 unsigned int channels, snd_pcm_uframes_t frames, 97 unsigned int channels, snd_pcm_uframes_t frames, in snd_pcm_lfloat_convert_integer_float() 122 frames1 = frames; in snd_pcm_lfloat_convert_integer_float() 142 unsigned int channels, snd_pcm_uframes_t frames, in snd_pcm_lfloat_convert_float_integer() 167 frames1 = frames; in snd_pcm_lfloat_convert_float_integer() 95 snd_pcm_lfloat_convert_integer_float(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, unsigned int get32idx, unsigned int put32floatidx) snd_pcm_lfloat_convert_integer_float() argument 140 snd_pcm_lfloat_convert_float_integer(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, unsigned int put32idx, unsigned int get32floatidx) snd_pcm_lfloat_convert_float_integer() argument
|
H A D | pcm_mulaw.c | 45 unsigned int channels, snd_pcm_uframes_t frames, 164 unsigned int channels, snd_pcm_uframes_t frames, in snd_pcm_mulaw_decode() 183 frames1 = frames; in snd_pcm_mulaw_decode() 201 unsigned int channels, snd_pcm_uframes_t frames, in snd_pcm_mulaw_encode() 221 frames1 = frames; in snd_pcm_mulaw_encode() 160 snd_pcm_mulaw_decode(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, unsigned int putidx) snd_pcm_mulaw_decode() argument 197 snd_pcm_mulaw_encode(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, unsigned int getidx) snd_pcm_mulaw_encode() argument
|
H A D | pcm_adpcm.c | 75 unsigned int channels, snd_pcm_uframes_t frames, 219 unsigned int channels, snd_pcm_uframes_t frames, in snd_pcm_adpcm_decode() 243 frames1 = frames; in snd_pcm_adpcm_decode() 272 unsigned int channels, snd_pcm_uframes_t frames, in snd_pcm_adpcm_encode() 297 frames1 = frames; in snd_pcm_adpcm_encode() 215 snd_pcm_adpcm_decode(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, unsigned int putidx, snd_pcm_adpcm_state_t *states) snd_pcm_adpcm_decode() argument 268 snd_pcm_adpcm_encode(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, unsigned int getidx, snd_pcm_adpcm_state_t *states) snd_pcm_adpcm_encode() argument
|
H A D | pcm_alaw.c | 46 unsigned int channels, snd_pcm_uframes_t frames, 148 unsigned int channels, snd_pcm_uframes_t frames, in snd_pcm_alaw_decode() 167 frames1 = frames; in snd_pcm_alaw_decode() 185 unsigned int channels, snd_pcm_uframes_t frames, in snd_pcm_alaw_encode() 205 frames1 = frames; in snd_pcm_alaw_encode() 144 snd_pcm_alaw_decode(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, unsigned int putidx) snd_pcm_alaw_decode() argument 181 snd_pcm_alaw_encode(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, unsigned int getidx) snd_pcm_alaw_encode() argument
|
/third_party/python/Lib/test/ |
H A D | test_contextlib.py | 100 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...] |
/kernel/linux/linux-5.10/sound/core/oss/ |
H A D | pcm_oss.c | 585 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 D | pcm_oss.c | 585 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...] |
/third_party/ffmpeg/libavcodec/ |
H A D | wmaprodec.c | 35 * Every such packet contains one or more wma frames. 36 * The compressed frames may have a variable length and frames may 38 * Common to all wmapro frames is the number of samples that are stored in 43 * The wmapro frames themselves are again split into a variable number of 51 * || frame 0 || frame 1 || frame 2 || frames 250 AVFrame *frames[XMA_MAX_STREAMS]; member 1438 * 1 if there are additional frames 1676 ff_dlog(avctx, "packet[%d]: number of frames %d\n", avctx->frame_number, num_frames); in decode_packet() 1724 does not start to decode incomplete frames i in decode_packet() [all...] |
/kernel/linux/linux-6.6/sound/soc/fsl/ |
H A D | fsl_dma.c | 583 * whole frames. Each frame occupies two slots in the FIFO. The in fsl_dma_hw_params() 680 snd_pcm_uframes_t frames; in fsl_dma_pointer() local 716 frames = bytes_to_frames(runtime, position - dma_private->dma_buf_phys); in fsl_dma_pointer() 722 if (frames == runtime->buffer_size) in fsl_dma_pointer() 723 frames = 0; in fsl_dma_pointer() 725 return frames; in fsl_dma_pointer()
|
/third_party/libsnd/programs/ |
H A D | sndfile-info.c | 206 if (sfinfo->frames / sfinfo->samplerate > 0x7FFFFFFF) in generate_duration_str() 209 seconds = (1.0 * sfinfo->frames) / sfinfo->samplerate ; in generate_duration_str() 243 if (sfinfo.frames == SF_COUNT_MAX) in info_dump() 246 printf ("Frames : %" PRId64 "\n", sfinfo.frames) ; in info_dump() 254 if (sfinfo.frames < 100 * 1024 * 1024) in info_dump()
|
/third_party/node/deps/v8/src/profiler/ |
H A D | tick-sample.cc | 13 #include "src/execution/frames-inl.h" 208 void** frames, size_t frames_limit, in GetStackSample() 279 // 'Fast API calls' are similar to fast C calls (see frames.cc) in that in GetStackSample() 309 frames[i] = reinterpret_cast<void*>(isolate->c_function()); in GetStackSample() 320 frames[i++] = reinterpret_cast<void*>(timer->counter()); in GetStackSample() 327 // For interpreted frames use the bytecode array pointer as the pc. in GetStackSample() 343 frames[i++] = reinterpret_cast<void*>( in GetStackSample() 351 frames[i++] = reinterpret_cast<void*>(it.frame()->unauthenticated_pc()); in GetStackSample() 361 PrintF(" - stack: (%u frames)\n", frames_count); in print() 206 GetStackSample(Isolate* v8_isolate, RegisterState* regs, RecordCEntryFrame record_c_entry_frame, void** frames, size_t frames_limit, v8::SampleInfo* sample_info, StateTag* out_state, bool use_simulator_reg_state) GetStackSample() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawDifferingInterpolationTests.cpp | 178 tcu::ConstPixelBufferAccess frames[2]; in iterate() local 187 for (deUint32 frameIdx = 0; frameIdx < DE_LENGTH_OF_ARRAY(frames); frameIdx++) in iterate() 390 frames[frameIdx] = colorTargetImages[frameIdx]->readSurface(queue, m_context.getDefaultAllocator(), VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, VK_IMAGE_ASPECT_COLOR_BIT); in iterate() 395 if (!tcu::intThresholdCompare(log, "Result", "Image comparison result", frames[0], frames[1], tcu::UVec4(0), tcu::COMPARE_LOG_RESULT)) in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawDifferingInterpolationTests.cpp | 178 tcu::ConstPixelBufferAccess frames[2]; in iterate() local 187 for (deUint32 frameIdx = 0; frameIdx < DE_LENGTH_OF_ARRAY(frames); frameIdx++) in iterate() 390 frames[frameIdx] = colorTargetImages[frameIdx]->readSurface(queue, m_context.getDefaultAllocator(), VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, VK_IMAGE_ASPECT_COLOR_BIT); in iterate() 395 if (!tcu::intThresholdCompare(log, "Result", "Image comparison result", frames[0], frames[1], tcu::UVec4(0), tcu::COMPARE_LOG_RESULT)) in iterate()
|
/third_party/skia/tests/ |
H A D | AnimatedImageTest.cpp | 309 std::vector<SkBitmap> frames(frameInfos.size()); in DEF_TEST() 315 auto& bm = frames[i]; in DEF_TEST() 324 const SkBitmap& priorFrame = frames[options.fPriorFrame]; in DEF_TEST() 352 auto testDraw = [r, &frames, &imageInfo, file](const sk_sp<SkAnimatedImage>& animatedImage, in DEF_TEST() 360 const SkBitmap& frame = frames[expectedFrame]; in DEF_TEST() 403 // Test reset from all the frames. in DEF_TEST()
|