/third_party/libsnd/tests/ |
H A D | command_test.c | 238 sfinfo.frames = BUFFER_LEN ; in float_norm_test() 283 if (sfinfo.frames != BUFFER_LEN) in float_norm_test() 284 { printf ("\n\nLine %d: Incorrect number of.frames in file. (%d => %" PRId64 ")\n", __LINE__, BUFFER_LEN, sfinfo.frames) ; in float_norm_test() 354 sfinfo.frames = BUFFER_LEN ; in double_norm_test() 399 if (sfinfo.frames != BUFFER_LEN) in double_norm_test() 400 { printf ("\n\nLine %d: Incorrect number of.frames in file. (%d => %" PRId64 ")\n", __LINE__, BUFFER_LEN, sfinfo.frames) ; in double_norm_test() 575 sfinfo.frames = frame_count ; in calc_peak_test() 594 if (sfinfo.frames ! in calc_peak_test() 1193 sf_count_t frames ; broadcast_rdwr_test() local 1629 sf_count_t frames ; cart_rdwr_test() local [all...] |
H A D | cpp_test.cc | 162 if (file.frames () != ARRAY_LEN (sbuffer) * 4) in read_file() 163 { printf ("\n\n%s %d : Error : frames %ld should be %lu.\n\n", __func__, __LINE__, in read_file() 164 (long) file.frames (), (long) ARRAY_LEN (sbuffer) * 4 / 2) ; in read_file() 189 count = file.seek (file.frames () - 10, SEEK_SET) ; in read_file() 190 if (count != file.frames () - 10) in read_file() 192 (long) count, (long) (file.frames () - 10)) ; in read_file()
|
H A D | multi_file_test.c | 209 int frames, k ; in write_file_at_end() local 216 frames = DATA_LENGTH / channels ; in write_file_at_end() 230 if (sf_writef_short (sndfile, data, frames) != frames) in write_file_at_end()
|
/third_party/ffmpeg/tests/fate/ |
H A D | filter-video.mak | 15 fate-filter-yadif-mode0: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -frames:v 30 -vf yadif=0 16 fate-filter-yadif-mode1: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -frames:v 59 -vf yadif=1 19 fate-filter-yadif10: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -flags bitexact -pix_fmt yuv420p10le -frames:v 30 -vf yadif=0,scale 20 fate-filter-yadif16: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -flags bitexact -pix_fmt yuv420p16le -frames:v 30 -vf yadif=0,scale 25 fate-filter-w3fdif-simple: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -frames:v 30 -vf w3fdif=0 28 fate-filter-w3fdif-complex: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -frames:v 30 -vf w3fdif=1 33 fate-filter-mcdeint-fast: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -frames:v 30 -vf mcdeint=fast 36 fate-filter-mcdeint-medium: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -frames:v 30 -vf mcdeint=mode=medium 41 fate-filter-codecview-mvs: CMD = framecrc -flags2 +export_mvs -i $(TARGET_SAMPLES)/real/spygames-2MB.rmvb -vf codecview=mv=pf+bf+bb -frames:v 60 -an 139 $(FATE_FILTER_FRAMEPACK): CMD = framecrc -c:v pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -c:v pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -filter_complex framepack=$(@:fate-filter-framepack-%=%) -frames 1 [all...] |
H A D | lossless-video.mak | 17 fate-lagarith-ticket4119: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lagarith-1.3.27-black-frames-and-off-by-ones.avi 18 fate-lagarith-ticket4119-cfr : CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lagarith-1.3.27-black-frames-and-off-by-ones.avi -vsync cfr 19 fate-lagarith-ticket4119-vfr : CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lagarith-1.3.27-black-frames-and-off-by-ones.avi -vsync vfr 20 fate-lagarith-ticket4119-pass: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lagarith-1.3.27-black-frames-and-off-by-ones.avi -vsync passthrough
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-microchip-core-qspi.c | 316 int total_bytes, cmd_bytes, frames, ctrl; in mchp_coreqspi_config_op() local 323 * controlled by the frames register for each SPI sequence. This supports in mchp_coreqspi_config_op() 350 frames = total_bytes & BYTESUPPER_MASK; in mchp_coreqspi_config_op() 351 writel_relaxed(frames, qspi->regs + REG_FRAMESUP); in mchp_coreqspi_config_op() 352 frames = total_bytes & BYTESLOWER_MASK; in mchp_coreqspi_config_op() 353 frames |= cmd_bytes << FRAMES_CMDBYTES_SHIFT; in mchp_coreqspi_config_op() 358 frames |= idle_cycles << FRAMES_IDLE_SHIFT; in mchp_coreqspi_config_op() 362 frames |= (1 << FRAMES_SHIFT); in mchp_coreqspi_config_op() 364 frames |= FRAMES_FLAGWORD; in mchp_coreqspi_config_op() 365 writel_relaxed(frames, qsp in mchp_coreqspi_config_op() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | f_loop.c | 39 AVFrame **frames; member 65 ctx->input_pads[0].type == AVMEDIA_TYPE_VIDEO ? "frames" : "samples"); in check_size() 301 s->frames = av_calloc(s->size, sizeof(*s->frames)); in init() 302 if (!s->frames) in init() 316 av_frame_free(&s->frames[i]); in uninit() 318 av_freep(&s->frames); in uninit() 329 AVFrame *out = av_frame_clone(s->frames[s->current_frame]); in push_frame() 365 s->frames[s->nb_frames] = av_frame_clone(frame); in filter_frame() 366 if (!s->frames[ in filter_frame() [all...] |
H A D | vf_program_opencl.c | 42 AVFrame **frames; member 129 av_assert0(ctx->frames[input]); in program_opencl_run() 131 src = (cl_mem)ctx->frames[input]->data[plane]; in program_opencl_run() 161 err = av_frame_copy_props(output, ctx->frames[0]); in program_opencl_run() 195 err = ff_framesync_get_frame(&ctx->fs, i, &ctx->frames[i], 0); in program_opencl_filter() 276 ctx->frames = av_calloc(ctx->nb_inputs, sizeof(*ctx->frames)); in program_opencl_init() 277 if (!ctx->frames) in program_opencl_init() 308 av_freep(&ctx->frames); in program_opencl_uninit()
|
H A D | ebur128.c | 75 /** How many frames are needed for a gating block. Will correspond to 400ms 319 size_t src_index, size_t frames, \ 327 for (i = 0; i < frames; ++i) { \ 343 for (i = 0; i < frames; ++i) { \ 462 size_t frames, int stride) { \ 464 while (frames > 0) { \ 465 if (frames >= st->d->needed_frames) { \ 468 frames -= st->d->needed_frames; \ 493 ebur128_filter_##type(st, srcs, src_index, frames, stride); \ 494 st->d->audio_data_index += frames * s [all...] |
/third_party/libsnd/programs/ |
H A D | common.c | 52 sf_count_t frames, readcount, k ; in sfe_copy_data_fp() local 54 frames = BUFFER_LEN / channels ; in sfe_copy_data_fp() 55 readcount = frames ; in sfe_copy_data_fp() 63 { readcount = sf_readf_double (infile, data, frames) ; in sfe_copy_data_fp() 71 { readcount = sf_readf_double (infile, data, frames) ; in sfe_copy_data_fp() 88 int frames, readcount ; in sfe_copy_data_int() local 90 frames = BUFFER_LEN / channels ; in sfe_copy_data_int() 91 readcount = frames ; in sfe_copy_data_int() 94 { readcount = (int) sf_readf_int (infile, data, frames) ; in sfe_copy_data_int()
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | cpumap.c | 12 * Unlike devmap which redirects XDP frames out to another NIC device, 13 * this map type redirects raw XDP frames to another CPU. The remote 178 void **frames, int n, in cpu_map_bpf_prog_run_xdp() 189 struct xdp_frame *xdpf = frames[i]; in cpu_map_bpf_prog_run_xdp() 207 frames[nframes++] = xdpf; in cpu_map_bpf_prog_run_xdp() 238 static int cpu_map_bpf_prog_run(struct bpf_cpu_map_entry *rcpu, void **frames, in cpu_map_bpf_prog_run() argument 249 nframes = cpu_map_bpf_prog_run_xdp(rcpu, frames, xdp_n, stats); in cpu_map_bpf_prog_run() 280 void *frames[CPUMAP_BATCH]; in cpu_map_kthread_run() local 305 n = __ptr_ring_consume_batched(rcpu->queue, frames, in cpu_map_kthread_run() 308 void *f = frames[ in cpu_map_kthread_run() 177 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-6.6/tools/testing/selftests/alsa/ |
H A D | pcm-test.c | 270 snd_pcm_sframes_t frames; in test_pcm_time() local 449 frames = snd_pcm_writei(handle, samples, rate); in test_pcm_time() 450 if (frames < 0) { in test_pcm_time() 452 "Write failed: expected %ld, wrote %li", rate, frames); in test_pcm_time() 455 if (frames < rate) { in test_pcm_time() 457 "expected %ld, wrote %li", rate, frames); in test_pcm_time() 461 frames = snd_pcm_readi(handle, samples, rate); in test_pcm_time() 462 if (frames < 0) { in test_pcm_time() 464 "expected %ld, wrote %li", rate, frames); in test_pcm_time() 467 if (frames < rat in test_pcm_time() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | icodec.c | 47 unsigned i, frames, checked = 0; in probe() local 51 frames = AV_RL16(p->buf + 4); in probe() 52 if (!frames) in probe() 54 for (i = 0; i < frames && i * 16 + 22 <= p->buf_size; i++) { in probe() 72 if (checked < frames) in probe()
|
H A D | vc1testenc.c | 25 int frames; member 37 avio_wl24(pb, 0); //frames count will be here in vc1test_write_header() 66 ctx->frames++; in vc1test_write_packet() 78 avio_wl24(pb, ctx->frames); in vc1test_write_trailer()
|
/third_party/ffmpeg/libavcodec/ |
H A D | vp9.c | 312 if (td->b_base && td->block_base && s->block_alloc_using_2pass == s->s.frames[CUR_FRAME].uses_2pass) in update_block_buffers() 318 if (s->s.frames[CUR_FRAME].uses_2pass) { in update_block_buffers() 360 s->block_alloc_using_2pass = s->s.frames[CUR_FRAME].uses_2pass; in update_block_buffers() 608 s->s.h.use_last_frame_mvs &= s->s.frames[CUR_FRAME].tf.f->width == w && in decode_frame_header() 609 s->s.frames[CUR_FRAME].tf.f->height == h; in decode_frame_header() 816 /* check reference frames */ in decode_frame_header() 832 /* Check to make sure at least one of frames that */ in decode_frame_header() 1097 AVFrame *f = s->s.frames[CUR_FRAME].tf.f; in decode_sb() 1172 AVFrame *f = s->s.frames[CUR_FRAME].tf.f; in decode_sb_mem() 1238 vp9_frame_unref(avctx, &s->s.frames[ in vp9_decode_free() [all...] |
/kernel/linux/linux-5.10/drivers/xen/ |
H A D | grant-table.c | 99 * Mapping a list of frames for storing grant entries. Frames parameter 101 * nr_gframes is the number of frames to map grant table. Returning 104 int (*map_frames)(xen_pfn_t *frames, unsigned int nr_gframes); 106 * Release a list of frames which are mapped in map_frames for grant 661 static unsigned int gnttab_frames(unsigned int frames, unsigned int align) in gnttab_frames() argument 663 return (frames * gnttab_interface->grefs_per_grant_frame + align - 1) / in gnttab_frames() 716 return 4; /* Legacy max supported number of frames */ in __max_nr_grant_frames() 748 pr_warn("Failed to ioremap gnttab share frames (addr=%pa)!\n", in gnttab_setup_auto_xlat_frames() 1007 args->frames[i] = xen_page_to_gfn(page); in gnttab_dma_alloc_pages() 1013 ret = xenmem_reservation_decrease(args->nr_pages, args->frames); in gnttab_dma_alloc_pages() 1297 gnttab_map_frames_v1(xen_pfn_t *frames, unsigned int nr_gframes) gnttab_map_frames_v1() argument 1314 gnttab_map_frames_v2(xen_pfn_t *frames, unsigned int nr_gframes) gnttab_map_frames_v2() argument 1366 xen_pfn_t *frames; gnttab_map() local [all...] |
/kernel/linux/linux-6.6/drivers/xen/ |
H A D | grant-table.c | 84 * gnttab_last_free is used to add free entries of new frames at the end of 121 * Mapping a list of frames for storing grant entries. Frames parameter 123 * nr_gframes is the number of frames to map grant table. Returning 126 int (*map_frames)(xen_pfn_t *frames, unsigned int nr_gframes); 128 * Release a list of frames which are mapped in map_frames for grant 748 static unsigned int gnttab_frames(unsigned int frames, unsigned int align) in gnttab_frames() argument 750 return (frames * gnttab_interface->grefs_per_grant_frame + align - 1) / in gnttab_frames() 800 return 4; /* Legacy max supported number of frames */ in __max_nr_grant_frames() 832 pr_warn("Failed to ioremap gnttab share frames (addr=%pa)!\n", in gnttab_setup_auto_xlat_frames() 1091 args->frames[ in gnttab_dma_alloc_pages() 1381 gnttab_map_frames_v1(xen_pfn_t *frames, unsigned int nr_gframes) gnttab_map_frames_v1() argument 1398 gnttab_map_frames_v2(xen_pfn_t *frames, unsigned int nr_gframes) gnttab_map_frames_v2() argument 1450 xen_pfn_t *frames; gnttab_map() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/camera/pipe/interface/ |
H A D | ia_css_pipe_util.h | 33 struct ia_css_frame *frames[]); 36 struct ia_css_frame *frames[],
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/camera/pipe/interface/ |
H A D | ia_css_pipe_util.h | 33 struct ia_css_frame *frames[]); 36 struct ia_css_frame *frames[],
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth-debugfs.c | 68 "VFQID", "CPU", "TC", "Type", "Frames", "Pending frames"); in dpaa2_dbg_fqs_show() 77 if (!fq->stats.frames && !fcnt) in dpaa2_dbg_fqs_show() 85 fq->stats.frames, in dpaa2_dbg_fqs_show() 111 ch->stats.frames, in dpaa2_dbg_ch_show() 113 div64_u64(ch->stats.frames, ch->stats.cdan), in dpaa2_dbg_ch_show()
|
/third_party/node/test/fixtures/wpt/encoding/resources/ |
H A D | encode-form-common.js | 14 var frames = null; variable 15 var frames = null; variable 88 frames = Array.prototype.slice.call( 107 var iframe = frames[id];
|
/third_party/skia/third_party/externals/swiftshader/src/Main/ |
H A D | FrameBufferX11.cpp | 160 static int frames = -1; in blit() local 164 frames++; in blit() 171 FPS = frames / delta; in blit() 174 frames = 0; in blit()
|
/third_party/skia/tools/ |
H A D | skottie2movie.cpp | 86 const int frames = SkScalarRoundToInt(duration * fps); in main() local 129 for (int i = 0; i <= frames; ++i) { in main() 166 SkDebugf("recording secs %g, frames %d, recording fps %d\n", in main() 167 loop_dur, frames, (int)(frames / loop_dur)); in main()
|
/kernel/linux/linux-5.10/net/can/ |
H A D | bcm.c | 117 void *frames; member 276 struct canfd_frame *cf = op->frames + op->cfsiz * op->currframe; in bcm_can_tx() 317 * (consisting of bcm_msg_head + x CAN frames) 320 struct canfd_frame *frames, int has_timestamp) in bcm_send_to_user() 336 /* CAN frames starting here */ in bcm_send_to_user() 339 skb_put_data(skb, frames, datalen); in bcm_send_to_user() 513 struct canfd_frame *cf = op->frames + op->cfsiz * index; in bcm_rx_cmp_to_index() 566 /* clear received CAN frames to indicate 'nothing received' */ in bcm_rx_timeout_handler() 666 /* send reply for RTR-request (placed in op->frames[0]) */ in bcm_rx_handler() 693 if ((get_u64(op->frames, in bcm_rx_handler() 319 bcm_send_to_user(struct bcm_op *op, struct bcm_msg_head *head, struct canfd_frame *frames, int has_timestamp) bcm_send_to_user() argument [all...] |
/kernel/linux/linux-6.6/net/can/ |
H A D | bcm.c | 117 void *frames; member 276 struct canfd_frame *cf = op->frames + op->cfsiz * op->currframe; in bcm_can_tx() 317 * (consisting of bcm_msg_head + x CAN frames) 320 struct canfd_frame *frames, int has_timestamp) in bcm_send_to_user() 336 /* CAN frames starting here */ in bcm_send_to_user() 339 skb_put_data(skb, frames, datalen); in bcm_send_to_user() 513 struct canfd_frame *cf = op->frames + op->cfsiz * index; in bcm_rx_cmp_to_index() 566 /* clear received CAN frames to indicate 'nothing received' */ in bcm_rx_timeout_handler() 671 /* send reply for RTR-request (placed in op->frames[0]) */ in bcm_rx_handler() 698 if ((get_u64(op->frames, in bcm_rx_handler() 319 bcm_send_to_user(struct bcm_op *op, struct bcm_msg_head *head, struct canfd_frame *frames, int has_timestamp) bcm_send_to_user() argument [all...] |