Home
last modified time | relevance | path

Searched refs:frames (Results 201 - 225 of 493) sorted by relevance

12345678910>>...20

/third_party/libsnd/src/
H A Dmat5.c175 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()
H A Dhtk.c221 if (! psf->sf.frames && psf->blockwidth) in htk_read_header()
222 psf->sf.frames = (psf->filelength - psf->dataoffset) / psf->blockwidth ; in htk_read_header()
H A Drf64.c414 psf->sf.frames = (psf->filelength - psf->dataoffset) / psf->blockwidth ; in rf64_read_header()
416 psf->sf.frames = psf->datalength / psf->blockwidth ; in rf64_read_header()
419 if (frame_count != psf->sf.frames) in rf64_read_header()
420 psf_log_printf (psf, "*** Calculated frame count %d does not match value from 'ds64' chunk of %d.\n", psf->sf.frames, frame_count) ; in rf64_read_header()
658 psf->sf.frames = psf->datalength / (psf->bytewidth * psf->sf.channels) ; in rf64_write_header()
674 psf_binheader_writef (psf, "m48884", BHWm (ds64_MARKER), BHW4 (28), BHW8 (psf->filelength - 8), BHW8 (psf->datalength), BHW8 (psf->sf.frames), BHW4 (0)) ; in rf64_write_header()
692 psf_binheader_writef (psf, "tm48", BHWm (fact_MARKER), BHW4 (4), BHW8 (psf->sf.frames)) ; in rf64_write_header()
781 { psf->datalength = psf->sf.frames * psf->bytewidth * psf->sf.channels ; in rf64_write_tailer()
/third_party/libsnd/programs/
H A Dsndfile-info.c206 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()
H A Dsndfile-play.c88 static int alsa_write_float (snd_pcm_t *alsa_dev, float *data, int frames, int channels) ;
267 alsa_write_float (snd_pcm_t *alsa_dev, float *data, int frames, int channels) in alsa_write_float() argument
276 while (total < frames) in alsa_write_float()
277 { retval = snd_pcm_writei (alsa_dev, data + total * channels, frames - total) ; in alsa_write_float()
281 if (total == frames) in alsa_write_float()
587 audio_data.remaining = audio_data.sfinfo.frames * audio_data.sfinfo.channels ; in win32_play()
/third_party/node/deps/v8/src/profiler/
H A Dtick-sample.cc13 #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 DvktDrawDifferingInterpolationTests.cpp178 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 DvktDrawDifferingInterpolationTests.cpp178 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 DAnimatedImageTest.cpp309 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()
/third_party/python/Lib/test/
H A Dtest_sys_setprofile.py27 self.frames = []
42 frameno = self.frames.index(frame)
44 frameno = len(self.frames)
45 self.frames.append(frame)
52 self.frames = None
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/sample/helper/
H A Dsample_helper.cpp110 AVCODEC_LOGI("codec type: %{public}s, codec run mode: %{public}s, max frames: %{public}u", in PrintSampleInfo()
123 void PrintProgress(int32_t times, int32_t frames) in PrintProgress() argument
125 std::cout << "\r\033[K" << "Repeat times left: " << times << ", frames: " << frames << " " << std::flush; in PrintProgress()
/third_party/ffmpeg/tests/fate/
H A Dlibswscale.mak25 -frames 1 \
33 -frames 1 \
/third_party/alsa-utils/alsaloop/
H A Deffect-sweep.c77 snd_uframes_t frames) in effect_apply()
83 for (i=0; i < frames; i++) { in effect_apply()
73 effect_apply(struct loopback *loopback, void *private_data, const snd_pcm_channel_area_t *areas, snd_uframes_t offset, snd_uframes_t frames) effect_apply() argument
/third_party/skia/demos.skia.org/demos/path_performance/
H A Dmain.js44 textEl.innerText = `${fps.toFixed(2)} fps over ${framesCount} frames`;
51 `${fps.toFixed(2)} fps over ${svgAnimator.framesCount} frames`;
/third_party/ffmpeg/libavcodec/
H A Dopusenc_psy.c197 s->p.frames = FFMIN(silent_frames / (1 << fsize), 48 >> fsize); in flush_silent_frames()
205 /* Main function which decides frame size and frames per current packet */
215 /* Flush silent frames ASAP */ in psy_output_groups()
220 s->p.frames = 1; in psy_output_groups()
246 p->frames = s->p.frames; in ff_opus_psy_process()
482 int steps_out = s->p.frames*(frame_size/120); in ff_opus_psy_postencode_update()
502 for (i = 0; i < s->p.frames; i++) { in ff_opus_psy_postencode_update()
507 s->avg_is_band /= (s->p.frames + 1); in ff_opus_psy_postencode_update()
512 s->total_packets_out += s->p.frames; in ff_opus_psy_postencode_update()
[all...]
H A Dadts_parser.h28 * Extract the number of samples and frames from AAC data.
31 * @param[out] frames Pointer to where number of frames is written
35 uint8_t *frames);
H A Dopusenc.h35 /* 120 ms / 2.5 ms = 48 frames (extremely improbable, but the encoder'll work) */
51 int frames; member
H A Dvp9recon.c230 uint8_t *dst = td->dst[0], *dst_r = s->s.frames[CUR_FRAME].tf.f->data[0] + y_off; in intra_recon()
245 s->s.frames[CUR_FRAME].tf.f->linesize[0], in intra_recon()
253 dst_r += 4 * step1d * s->s.frames[CUR_FRAME].tf.f->linesize[0]; in intra_recon()
264 dst_r = s->s.frames[CUR_FRAME].tf.f->data[1 + p] + uv_off; in intra_recon()
274 s->s.frames[CUR_FRAME].tf.f->linesize[1], in intra_recon()
282 dst_r += 4 * uvstep1d * s->s.frames[CUR_FRAME].tf.f->linesize[1]; in intra_recon()
417 if (s->s.frames[CUR_FRAME].tf.f->width == ref_frame->f->width && in mc_luma_scaled()
418 s->s.frames[CUR_FRAME].tf.f->height == ref_frame->f->height) { in mc_luma_scaled()
477 if (s->s.frames[CUR_FRAME].tf.f->width == ref_frame->f->width && in mc_chroma_scaled()
478 s->s.frames[CUR_FRAM in mc_chroma_scaled()
[all...]
/third_party/alsa-lib/src/pcm/
H A Dpcm_shm.c429 *delayp = ctrl->u.delay.frames; in snd_pcm_shm_delay()
517 static snd_pcm_sframes_t snd_pcm_shm_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_shm_rewind() argument
522 ctrl->u.rewind.frames = frames; in snd_pcm_shm_rewind()
531 static snd_pcm_sframes_t snd_pcm_shm_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames) in snd_pcm_shm_forward() argument
536 ctrl->u.forward.frames = frames; in snd_pcm_shm_forward()
556 ctrl->u.mmap_commit.frames = size; in snd_pcm_shm_mmap_commit()
/third_party/alsa-lib/include/
H A Dpcm.h395 /** Unsigned frames quantity */
397 /** Signed frames quantity */
564 snd_pcm_sframes_t snd_pcm_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames);
566 snd_pcm_sframes_t snd_pcm_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames);
857 int snd_pcm_hw_params_get_period_size(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *frames, int *dir);
858 int snd_pcm_hw_params_get_period_size_min(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *frames, int *dir);
859 int snd_pcm_hw_params_get_period_size_max(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *frames, int *dir);
1137 snd_pcm_uframes_t *frames);
1140 snd_pcm_uframes_t frames);
1173 ssize_t snd_pcm_frames_to_bytes(snd_pcm_t *pcm, snd_pcm_sframes_t frames);
[all...]
/third_party/ffmpeg/libavdevice/
H A Dkmsgrab.c56 AVHWFramesContext *frames; member
641 ctx->frames = (AVHWFramesContext*)ctx->frames_ref->data; in kmsgrab_read_header()
643 ctx->frames->format = AV_PIX_FMT_DRM_PRIME; in kmsgrab_read_header()
644 ctx->frames->sw_format = ctx->format, in kmsgrab_read_header()
645 ctx->frames->width = ctx->width; in kmsgrab_read_header()
646 ctx->frames->height = ctx->height; in kmsgrab_read_header()
651 "hardware frames context: %d.\n", err); in kmsgrab_read_header()
/third_party/ffmpeg/libavformat/
H A Ddv.c62 int frames; member
154 /* We work with 720p frames split in half, thus even frames have in dv_extract_audio()
159 av_log(NULL, AV_LOG_ERROR, "too many dv pcm frames\n"); in dv_extract_audio()
411 c->audio_pkt[i].pts = (c->sys->height == 720) ? (c->frames & ~1) : c->frames; in avpriv_dv_produce_packet()
418 /* We work with 720p frames split in half, thus even frames have in avpriv_dv_produce_packet()
435 pkt->pts = c->frames; in avpriv_dv_produce_packet()
437 c->frames in avpriv_dv_produce_packet()
[all...]
/third_party/pulseaudio/src/modules/alsa/
H A Dalsa-sink.c712 snd_pcm_uframes_t offset, frames; in mmap_write() local
716 frames = (snd_pcm_uframes_t) (n_bytes / u->frame_size); in mmap_write()
717 /* pa_log_debug("%lu frames to write", (unsigned long) frames); */ in mmap_write()
719 if (PA_UNLIKELY((err = pa_alsa_safe_mmap_begin(u->pcm_handle, &areas, &offset, &frames, u->hwbuf_size, &u->sink->sample_spec)) < 0)) { in mmap_write()
734 frames = PA_MIN(frames, u->frames_per_block); in mmap_write()
736 if (!after_avail && frames == 0) in mmap_write()
739 pa_assert(frames > 0); in mmap_write()
752 written = frames * in mmap_write()
891 snd_pcm_sframes_t frames; unix_write() local
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/sample/helper/include/
H A Dsample_helper.h29 void PrintProgress(int32_t times, int32_t frames);
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dplugin_texture_encode_test.cpp63 size_t frames; member
583 for (size_t idx = 0; idx < testPara.frames; idx++) { in EncodeMutiFrames()
636 testPara.param.height_ << " frames " << in TestCaseMultiFrameEnc()
637 testPara.frames << " gpu astc encoding average time: " << in TestCaseMultiFrameEnc()
638 static_cast<float>(testPara.totalTime) / static_cast<float>(testPara.frames) << "us"; in TestCaseMultiFrameEnc()
644 uint8_t block, size_t frames, bool isBasedOnGpu) in CreateAstcEncTestPara()
651 testPara.frames = frames; in CreateAstcEncTestPara()
661 * : BasedOnCPU / 64x64 / quality 20 / self-created images / 5000frames
666 // test condition: width 64, height 64, block 4x4 , frames 500 in HWTEST_F()
643 CreateAstcEncTestPara(int32_t width, int32_t height, uint8_t block, size_t frames, bool isBasedOnGpu) CreateAstcEncTestPara() argument
[all...]

Completed in 23 milliseconds

12345678910>>...20