Home
last modified time | relevance | path

Searched refs:frames (Results 26 - 50 of 758) sorted by relevance

12345678910>>...31

/third_party/ffmpeg/libavfilter/
H A Dvf_thumbnail.c45 int n_frames; ///< number of frames for analysis
46 struct thumb_frame *frames; ///< the n_frames frames member
57 { "n", "set the frames batch size", OFFSET(n_frames), AV_OPT_TYPE_INT, {.i64=100}, 2, INT_MAX, FLAGS },
67 s->frames = av_calloc(s->n_frames, sizeof(*s->frames)); in init()
68 if (!s->frames) { in init()
70 "Allocation failure, try to lower the number of frames\n"); in init()
73 av_log(ctx, AV_LOG_VERBOSE, "batch size: %d frames\n", s->n_frames); in init()
103 // average histogram of the N frames in get_best_frame()
[all...]
H A Df_reverse.c33 AVFrame **frames; member
50 s->frames = av_fast_realloc(NULL, &s->frames_size, in init()
51 DEFAULT_LENGTH * sizeof(*(s->frames))); in init()
52 if (!s->frames) { in init()
65 av_frame_free(&s->frames[s->nb_frames - 1]); in uninit()
70 av_freep(&s->frames); in uninit()
86 if (s->nb_frames + 1 > s->frames_size / sizeof(*(s->frames))) { in filter_frame()
87 ptr = av_fast_realloc(s->frames, &s->frames_size, s->frames_size * 2); in filter_frame()
90 s->frames = ptr; in filter_frame()
93 s->frames[ in filter_frame()
[all...]
H A Dvf_shuffleframes.c33 AVFrame **frames; member
52 s->frames = av_calloc(nb_items, sizeof(*s->frames)); in init()
55 if (!s->map || !s->frames || !s->pts) { in init()
89 s->frames[s->in_frames] = frame; in filter_frame()
102 out = av_frame_clone(s->frames[x]); in filter_frame()
112 av_frame_free(&s->frames[n]); in filter_frame()
124 av_frame_free(&s->frames[s->in_frames]); in uninit()
127 av_freep(&s->frames); in uninit()
135 { "mapping", "set destination indexes of input frames", OFFSE
[all...]
H A Dvf_tmidequalizer.c49 AVFrame **frames; member
181 if (!s->frames[idx]) in filter_frame()
183 in = av_frame_clone(s->frames[idx]); in filter_frame()
190 s->frames[s->f_frames] = in; in filter_frame()
202 s->frames[s->f_frames] = av_frame_clone(in); in filter_frame()
203 if (!s->frames[s->f_frames]) in filter_frame()
217 s->frames[s->f_frames] = av_frame_clone(in); in filter_frame()
218 if (!s->frames[s->f_frames]) in filter_frame()
231 av_frame_free(&s->frames[s->del_frame]); in filter_frame()
232 s->frames[ in filter_frame()
[all...]
/third_party/ffmpeg/tests/
H A Dtiny_ssim.c162 static void print_results(uint64_t ssd[3], double ssim[3], int frames, int w, int h) in print_results() argument
165 ssd_to_psnr( ssd[0], (uint64_t)frames*w*h ), in print_results()
166 ssd_to_psnr( ssd[1], (uint64_t)frames*w*h/4 ), in print_results()
167 ssd_to_psnr( ssd[2], (uint64_t)frames*w*h/4 ), in print_results()
168 ssd_to_psnr( ssd[0] + ssd[1] + ssd[2], (uint64_t)frames*w*h*3/2 ) ); in print_results()
170 ssim[0] / frames, in print_results()
171 ssim[1] / frames, in print_results()
172 ssim[2] / frames, in print_results()
173 (ssim[0]*4 + ssim[1] + ssim[2]) / (frames*6), in print_results()
174 ssim_db(ssim[0] * 4 + ssim[1] + ssim[2], frames* in print_results()
185 int frames, seek; main() local
[all...]
/third_party/lame/frontend/
H A Dbrhist.c135 brhist_disp_line(int i, int br_hist_TOT, int br_hist_LR, int full, int frames) in brhist_disp_line() argument
140 int res = digits(frames) + 3 + 4 + 1; in brhist_disp_line()
143 /* some problems when br_hist_TOT \approx br_hist_LR: You can't see that there are still MS frames */ in brhist_disp_line()
151 sprintf(brppt, " [%*i]", digits(frames), br_hist_TOT); in brhist_disp_line()
171 progress_line(const lame_global_flags * gf, int full, int frames) in progress_line() argument
181 if (full < frames) { in progress_line()
182 full = frames; in progress_line()
185 time_in_sec = (float)(full - frames); in progress_line()
203 /* some problems when br_hist_TOT \approx br_hist_LR: You can't see that there are still MS frames */ in progress_line()
205 barlen_COD = (frames * (Console_I in progress_line()
310 int frames; /* total number of encoded frames */ brhist_disp() local
[all...]
/third_party/python/Lib/test/
H A Daudiotests.py63 def check_file(self, testfile, nframes, frames):
69 self.assertEqual(f.readframes(nframes), frames)
74 f.writeframes(self.frames)
129 f.writeframes(self.frames)
132 self.check_file(TESTFN, self.nframes, self.frames)
137 f.writeframes(bytearray(self.frames))
140 self.check_file(TESTFN, self.nframes, self.frames)
145 f.writeframes(array.array('h', self.frames))
148 self.check_file(TESTFN, self.nframes, self.frames)
153 f.writeframes(memoryview(self.frames))
[all...]
H A Dtest_wave.py24 frames = bytes.fromhex("""\
41 frames = bytes.fromhex("""\
50 frames = wave._byteswap(frames, 2) variable in WavePCM16Test
62 frames = bytes.fromhex("""\
77 frames = wave._byteswap(frames, 3) variable in WavePCM24Test
89 frames = bytes.fromhex("""\
104 frames = wave._byteswap(frames, variable in WavePCM32Test
[all...]
/kernel/linux/linux-5.10/sound/core/oss/
H A Dlinear.c58 snd_pcm_uframes_t frames) in convert()
70 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in convert()
79 frames1 = frames; in convert()
91 snd_pcm_uframes_t frames) in linear_transfer()
95 if (frames == 0) in linear_transfer()
110 if (frames > dst_channels[0].frames) in linear_transfer()
111 frames = dst_channels[0].frames; in linear_transfer()
112 convert(plugin, src_channels, dst_channels, frames); in linear_transfer()
55 convert(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, snd_pcm_uframes_t frames) convert() argument
88 linear_transfer(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, snd_pcm_uframes_t frames) linear_transfer() argument
[all...]
H A Dmulaw.c144 snd_pcm_uframes_t frames);
171 snd_pcm_uframes_t frames) in mulaw_decode()
183 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in mulaw_decode()
192 frames1 = frames; in mulaw_decode()
217 snd_pcm_uframes_t frames) in mulaw_encode()
229 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in mulaw_encode()
238 frames1 = frames; in mulaw_encode()
251 snd_pcm_uframes_t frames) in mulaw_transfer()
257 if (frames == 0) in mulaw_transfer()
272 if (frames > dst_channel in mulaw_transfer()
168 mulaw_decode(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, snd_pcm_uframes_t frames) mulaw_decode() argument
214 mulaw_encode(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, snd_pcm_uframes_t frames) mulaw_encode() argument
248 mulaw_transfer(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, snd_pcm_uframes_t frames) mulaw_transfer() argument
[all...]
H A Dio.c40 snd_pcm_uframes_t frames) in io_playback_transfer()
47 return pcm_write(plugin->plug, src_channels->area.addr, frames); in io_playback_transfer()
59 return pcm_writev(plugin->plug, bufs, frames); in io_playback_transfer()
66 snd_pcm_uframes_t frames) in io_capture_transfer()
73 return pcm_read(plugin->plug, dst_channels->area.addr, frames); in io_capture_transfer()
85 return pcm_readv(plugin->plug, bufs, frames); in io_capture_transfer()
91 snd_pcm_uframes_t frames, in io_src_channels()
97 err = snd_pcm_plugin_client_channels(plugin, frames, &v); in io_src_channels()
105 return frames; in io_src_channels()
37 io_playback_transfer(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, snd_pcm_uframes_t frames) io_playback_transfer() argument
63 io_capture_transfer(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, snd_pcm_uframes_t frames) io_capture_transfer() argument
90 io_src_channels(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames, struct snd_pcm_plugin_channel **channels) io_src_channels() argument
/kernel/linux/linux-6.6/sound/core/oss/
H A Dlinear.c58 snd_pcm_uframes_t frames) in convert()
70 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in convert()
79 frames1 = frames; in convert()
91 snd_pcm_uframes_t frames) in linear_transfer()
95 if (frames == 0) in linear_transfer()
110 if (frames > dst_channels[0].frames) in linear_transfer()
111 frames = dst_channels[0].frames; in linear_transfer()
112 convert(plugin, src_channels, dst_channels, frames); in linear_transfer()
55 convert(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, snd_pcm_uframes_t frames) convert() argument
88 linear_transfer(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, snd_pcm_uframes_t frames) linear_transfer() argument
[all...]
H A Dmulaw.c144 snd_pcm_uframes_t frames);
171 snd_pcm_uframes_t frames) in mulaw_decode()
183 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in mulaw_decode()
192 frames1 = frames; in mulaw_decode()
217 snd_pcm_uframes_t frames) in mulaw_encode()
229 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in mulaw_encode()
238 frames1 = frames; in mulaw_encode()
251 snd_pcm_uframes_t frames) in mulaw_transfer()
257 if (frames == 0) in mulaw_transfer()
272 if (frames > dst_channel in mulaw_transfer()
168 mulaw_decode(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, snd_pcm_uframes_t frames) mulaw_decode() argument
214 mulaw_encode(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, snd_pcm_uframes_t frames) mulaw_encode() argument
248 mulaw_transfer(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, snd_pcm_uframes_t frames) mulaw_transfer() argument
[all...]
H A Dio.c40 snd_pcm_uframes_t frames) in io_playback_transfer()
47 return pcm_write(plugin->plug, src_channels->area.addr, frames); in io_playback_transfer()
59 return pcm_writev(plugin->plug, bufs, frames); in io_playback_transfer()
66 snd_pcm_uframes_t frames) in io_capture_transfer()
73 return pcm_read(plugin->plug, dst_channels->area.addr, frames); in io_capture_transfer()
85 return pcm_readv(plugin->plug, bufs, frames); in io_capture_transfer()
91 snd_pcm_uframes_t frames, in io_src_channels()
97 err = snd_pcm_plugin_client_channels(plugin, frames, &v); in io_src_channels()
105 return frames; in io_src_channels()
37 io_playback_transfer(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, snd_pcm_uframes_t frames) io_playback_transfer() argument
63 io_capture_transfer(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, snd_pcm_uframes_t frames) io_capture_transfer() argument
90 io_src_channels(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames, struct snd_pcm_plugin_channel **channels) io_src_channels() argument
/third_party/node/test/fixtures/wpt/dom/events/scrolling/
H A Dscroll_support.js17 // after MAX_FRAME animation frames.
20 function waitFor(condition, error_message = 'Reaches the maximum frames.') {
22 function tick(frames) {
23 // We requestAnimationFrame either for MAX_FRAM frames or until condition
25 if (frames >= MAX_FRAME)
30 requestAnimationFrame(tick.bind(this, frames + 1));
54 function tick(frames) {
57 if (frames >= MAX_FRAME || frames - last_changed_frame > MAX_UNCHANGED_FRAMES) {
62 last_changed_frame = frames;
[all...]
/third_party/alsa-lib/test/
H A Daudio_time.c107 snd_pcm_sframes_t frames; in main() local
328 frames = snd_pcm_writei(handle_p, buffer_p, PERIOD); in main()
329 if (frames < 0) { in main()
330 printf("snd_pcm_writei failed: %s\n", snd_strerror(frames)); in main()
333 frame_count_p += frames; in main()
355 frames = snd_pcm_wait(handle_c, -1); in main()
356 if (frames < 0) { in main()
357 printf("snd_pcm_wait failed: %s\n", snd_strerror(frames)); in main()
361 frames = snd_pcm_readi(handle_c, buffer_c, PERIOD); in main()
362 if (frames < in main()
[all...]
/third_party/alsa-lib/src/pcm/
H A Dpcm_plugin.h69 snd_pcm_sframes_t snd_pcm_plugin_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames);
70 snd_pcm_sframes_t snd_pcm_plugin_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames);
110 unsigned int channels, snd_pcm_uframes_t frames,
114 unsigned int channels, snd_pcm_uframes_t frames,
120 unsigned int channels, snd_pcm_uframes_t frames,
126 unsigned int channels, snd_pcm_uframes_t frames,
132 unsigned int channels, snd_pcm_uframes_t frames,
138 unsigned int channels, snd_pcm_uframes_t frames,
150 unsigned int channels, snd_pcm_uframes_t frames,
157 unsigned int channels, snd_pcm_uframes_t frames,
[all...]
/third_party/node/deps/v8/src/inspector/
H A Dv8-stack-trace-impl.cc47 std::vector<std::shared_ptr<StackFrame>> frames(frameCount); in toFramesVector()
49 frames[i] = in toFramesVector()
52 return frames; in toFramesVector()
72 const std::vector<std::shared_ptr<StackFrame>>& frames, in buildInspectorObjectCommon()
76 if (asyncParent && frames.empty() && in buildInspectorObjectCommon()
83 for (const std::shared_ptr<StackFrame>& frame : frames) { in buildInspectorObjectCommon()
234 std::vector<std::shared_ptr<StackFrame>> frames; in create() local
236 frames = toFramesVector(debugger, v8StackTrace, maxStackSize); in create()
243 if (frames.empty() && !asyncParent && externalParent.IsInvalid()) in create()
246 std::move(frames), maxAsyncDept in create()
70 buildInspectorObjectCommon( V8Debugger* debugger, const std::vector<std::shared_ptr<StackFrame>>& frames, const String16& description, const std::shared_ptr<AsyncStackTrace>& asyncParent, const V8StackTraceId& externalParent, int maxAsyncDepth) buildInspectorObjectCommon() argument
269 V8StackTraceImpl( std::vector<std::shared_ptr<StackFrame>> frames, int maxAsyncDepth, std::shared_ptr<AsyncStackTrace> asyncParent, const V8StackTraceId& externalParent) V8StackTraceImpl() argument
380 const std::vector<std::shared_ptr<StackFrame>>& frames = m_parent->frames(); next() local
409 std::vector<std::shared_ptr<StackFrame>> frames; capture() local
438 AsyncStackTrace( const String16& description, std::vector<std::shared_ptr<StackFrame>> frames, std::shared_ptr<AsyncStackTrace> asyncParent, const V8StackTraceId& externalParent) AsyncStackTrace() argument
[all...]
/kernel/linux/linux-5.10/drivers/xen/
H A Dmem-reservation.c31 xen_pfn_t *frames) in __xenmem_reservation_va_mapping_update()
47 set_phys_to_machine(pfn, frames[i]); in __xenmem_reservation_va_mapping_update()
55 mfn_pte(frames[i], PAGE_KERNEL), in __xenmem_reservation_va_mapping_update()
92 /* @frames is an array of PFNs */
93 int xenmem_reservation_increase(int count, xen_pfn_t *frames) in xenmem_reservation_increase() argument
102 set_xen_guest_handle(reservation.extent_start, frames); in xenmem_reservation_increase()
108 /* @frames is an array of GFNs */
109 int xenmem_reservation_decrease(int count, xen_pfn_t *frames) in xenmem_reservation_decrease() argument
118 set_xen_guest_handle(reservation.extent_start, frames); in xenmem_reservation_decrease()
29 __xenmem_reservation_va_mapping_update(unsigned long count, struct page **pages, xen_pfn_t *frames) __xenmem_reservation_va_mapping_update() argument
/kernel/linux/linux-6.6/drivers/xen/
H A Dmem-reservation.c31 xen_pfn_t *frames) in __xenmem_reservation_va_mapping_update()
48 set_phys_to_machine(pfn, frames[i]); in __xenmem_reservation_va_mapping_update()
52 mfn_pte(frames[i], PAGE_KERNEL), 0); in __xenmem_reservation_va_mapping_update()
85 /* @frames is an array of PFNs */
86 int xenmem_reservation_increase(int count, xen_pfn_t *frames) in xenmem_reservation_increase() argument
95 set_xen_guest_handle(reservation.extent_start, frames); in xenmem_reservation_increase()
101 /* @frames is an array of GFNs */
102 int xenmem_reservation_decrease(int count, xen_pfn_t *frames) in xenmem_reservation_decrease() argument
111 set_xen_guest_handle(reservation.extent_start, frames); in xenmem_reservation_decrease()
29 __xenmem_reservation_va_mapping_update(unsigned long count, struct page **pages, xen_pfn_t *frames) __xenmem_reservation_va_mapping_update() argument
/third_party/libsnd/tests/
H A Dlossy_comp_test.c669 sfinfo.frames = 123456789 ; /* Ridiculous value. */ in lcomp_test_short()
690 if (sfinfo.frames < datalen / channels) in lcomp_test_short()
691 { printf ("Too few frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", sfinfo.frames, datalen) ; in lcomp_test_short()
695 if (sfinfo.frames > (datalen + datalen / 20)) in lcomp_test_short()
696 { printf ("Too many frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", sfinfo.frames, datalen) ; in lcomp_test_short()
726 if ((k = (int) sf_readf_short (file, data, datalen)) != sfinfo.frames - datalen) in lcomp_test_short()
728 channels * sfinfo.frames - datalen, k) ; in lcomp_test_short()
735 for (k = 0 ; k < sfinfo.frames in lcomp_test_short()
[all...]
/third_party/libsnd/src/
H A Ddither.c194 static void dither_short (const short *in, short *out, int frames, int channels) ;
195 static void dither_int (const int *in, int *out, int frames, int channels) ;
197 static void dither_float (const float *in, float *out, int frames, int channels) ;
198 static void dither_double (const double *in, double *out, int frames, int channels) ;
396 dither_short (const short *in, short *out, int frames, int channels) in dither_short() argument
400 for (k = ch ; k < channels * frames ; k += channels) in dither_short()
406 dither_int (const int *in, int *out, int frames, int channels) in dither_int() argument
410 for (k = ch ; k < channels * frames ; k += channels) in dither_int()
416 dither_float (const float *in, float *out, int frames, int channels) in dither_float() argument
420 for (k = ch ; k < channels * frames ; in dither_float()
426 dither_double(const double *in, double *out, int frames, int channels) dither_double() argument
[all...]
/third_party/node/deps/v8/src/debug/wasm/gdb-server/
H A Dwasm-module-debug.cc10 #include "src/execution/frames-inl.h"
11 #include "src/execution/frames.h"
102 // A standard frame may include many summarized frames, due to inlining. in GetCallStack()
103 std::vector<FrameSummary> frames; in GetCallStack() local
104 CommonFrame::cast(frame)->Summarize(&frames); in GetCallStack()
105 for (size_t i = frames.size(); i-- != 0;) { in GetCallStack()
109 auto& summary = frames[i]; in GetCallStack()
161 // A standard frame may include many summarized frames, due to inlining. in FindWasmFrame()
162 std::vector<FrameSummary> frames; in FindWasmFrame() local
163 CommonFrame::cast(frame)->Summarize(&frames); in FindWasmFrame()
192 std::vector<FrameSummary> frames = FindWasmFrame(&frame_it, &frame_index); GetWasmInstance() local
229 std::vector<FrameSummary> frames = FindWasmFrame(&frame_it, &frame_index); GetWasmLocal() local
262 std::vector<FrameSummary> frames = FindWasmFrame(&frame_it, &frame_index); GetWasmStackValue() local
[all...]
/third_party/libsnd/programs/
H A Dsndfile-concat.c138 int frames, readcount ; in concat_data_fp() local
140 frames = BUFFER_LEN / channels ; in concat_data_fp()
141 readcount = frames ; in concat_data_fp()
146 { readcount = (int) sf_readf_double (rofile, data, frames) ; in concat_data_fp()
156 int frames, readcount ; in concat_data_int() local
158 frames = BUFFER_LEN / channels ; in concat_data_int()
159 readcount = frames ; in concat_data_int()
164 { readcount = (int) sf_readf_int (rofile, data, frames) ; in concat_data_int()
/kernel/linux/linux-5.10/include/xen/
H A Dmem-reservation.h31 xen_pfn_t *frames);
39 xen_pfn_t *frames) in xenmem_reservation_va_mapping_update()
43 __xenmem_reservation_va_mapping_update(count, pages, frames); in xenmem_reservation_va_mapping_update()
56 int xenmem_reservation_increase(int count, xen_pfn_t *frames);
58 int xenmem_reservation_decrease(int count, xen_pfn_t *frames);
37 xenmem_reservation_va_mapping_update(unsigned long count, struct page **pages, xen_pfn_t *frames) xenmem_reservation_va_mapping_update() argument

Completed in 12 milliseconds

12345678910>>...31