Home
last modified time | relevance | path

Searched refs:frame_count (Results 1 - 25 of 92) sorted by relevance

1234

/third_party/alsa-utils/axfer/
H A Dxfer-libasound-irq-rw.c16 snd_pcm_state_t status, unsigned int *frame_count,
57 static int read_frames(struct libasound_state *state, unsigned int *frame_count, in read_frames() argument
67 if (*frame_count < avail_count) in read_frames()
68 avail_count = *frame_count; in read_frames()
102 *frame_count = consumed_count; in read_frames()
109 unsigned int *frame_count, in r_process_frames_blocking()
136 snd_pcm_uframes_t frame_count; in r_process_frames_blocking() local
138 &frame_count); in r_process_frames_blocking()
142 avail_count = (unsigned int)frame_count; in r_process_frames_blocking()
145 err = read_frames(state, frame_count, avail_coun in r_process_frames_blocking()
107 r_process_frames_blocking(struct libasound_state *state, snd_pcm_state_t status, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) r_process_frames_blocking() argument
155 r_process_frames_nonblocking(struct libasound_state *state, snd_pcm_state_t status, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) r_process_frames_nonblocking() argument
201 write_frames(struct libasound_state *state, unsigned int *frame_count, unsigned int avail_count, struct mapper_context *mapper, struct container_context *cntrs) write_frames() argument
251 w_process_frames_blocking(struct libasound_state *state, snd_pcm_state_t status, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) w_process_frames_blocking() argument
315 w_process_frames_nonblocking(struct libasound_state *state, snd_pcm_state_t pcm_state ATTRIBUTE_UNUSED, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) w_process_frames_nonblocking() argument
409 irq_rw_process_frames(struct libasound_state *state, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) irq_rw_process_frames() argument
[all...]
H A Dmapper-single.c13 void (*align_frames)(void *frame_buf, unsigned int frame_count,
19 static void align_to_vector(void *frame_buf, unsigned int frame_count, in align_to_vector() argument
32 for (j = 0; j < frame_count; ++j) { in align_to_vector()
41 static void align_from_vector(void *frame_buf, unsigned int frame_count, in align_from_vector() argument
54 for (j = 0; j < frame_count; ++j) { in align_from_vector()
111 unsigned int *frame_count, in single_muxer_process_frames()
127 err = container_context_process_frames(cntrs, src, frame_count); in single_muxer_process_frames()
132 if (src != frame_buf && *frame_count > 0) in single_muxer_process_frames()
133 state->align_frames(frame_buf, *frame_count, src, in single_muxer_process_frames()
142 unsigned int *frame_count, in single_demuxer_process_frames()
109 single_muxer_process_frames(struct mapper_context *mapper, void *frame_buf, unsigned int *frame_count, struct container_context *cntrs, unsigned int cntr_count ATTRIBUTE_UNUSED) single_muxer_process_frames() argument
140 single_demuxer_process_frames(struct mapper_context *mapper, void *frame_buf, unsigned int *frame_count, struct container_context *cntrs, unsigned int cntr_count ATTRIBUTE_UNUSED) single_demuxer_process_frames() argument
[all...]
H A Dmapper-multiple.c13 void (*align_frames)(void *frame_buf, unsigned int frame_count,
21 static void align_to_i(void *frame_buf, unsigned int frame_count, in align_to_i() argument
38 for (j = 0; j < frame_count; ++j) { in align_to_i()
48 static void align_from_i(void *frame_buf, unsigned int frame_count, in align_from_i() argument
64 for (j = 0; j < frame_count; ++j) { in align_from_i()
148 static int process_containers(char **src_bufs, unsigned int *frame_count, in process_containers() argument
157 // TODO: arrangement for *frame_count. in process_containers()
162 err = container_context_process_frames(cntr, src, frame_count); in process_containers()
172 unsigned int *frame_count, in multiple_muxer_process_frames()
188 err = process_containers(src_bufs, frame_count, cntr in multiple_muxer_process_frames()
170 multiple_muxer_process_frames(struct mapper_context *mapper, void *frame_buf, unsigned int *frame_count, struct container_context *cntrs, unsigned int cntr_count) multiple_muxer_process_frames() argument
202 multiple_demuxer_process_frames(struct mapper_context *mapper, void *frame_buf, unsigned int *frame_count, struct container_context *cntrs, unsigned int cntr_count) multiple_demuxer_process_frames() argument
[all...]
H A Dxfer-libasound-irq-mmap.c71 unsigned int *frame_count, in irq_mmap_process_frames()
133 if (*frame_count < avail) in irq_mmap_process_frames()
134 avail = *frame_count; in irq_mmap_process_frames()
141 if (*frame_count < avail) in irq_mmap_process_frames()
142 avail_count = *frame_count; in irq_mmap_process_frames()
168 *frame_count = 0; in irq_mmap_process_frames()
179 *frame_count = consumed_count; in irq_mmap_process_frames()
185 unsigned *frame_count, in irq_mmap_r_process_frames()
228 err = irq_mmap_process_frames(state, frame_count, mapper, cntrs); in irq_mmap_r_process_frames()
234 *frame_count in irq_mmap_r_process_frames()
70 irq_mmap_process_frames(struct libasound_state *state, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) irq_mmap_process_frames() argument
184 irq_mmap_r_process_frames(struct libasound_state *state, unsigned *frame_count, struct mapper_context *mapper, struct container_context *cntrs) irq_mmap_r_process_frames() argument
238 irq_mmap_w_process_frames(struct libasound_state *state, unsigned *frame_count, struct mapper_context *mapper, struct container_context *cntrs) irq_mmap_w_process_frames() argument
[all...]
H A Dxfer-libasound-timer-mmap.c120 unsigned int *frame_count, in timer_mmap_process_frames()
154 if (*frame_count < planned_count) in timer_mmap_process_frames()
155 planned_count = *frame_count; in timer_mmap_process_frames()
200 *frame_count = planned_count; in timer_mmap_process_frames()
202 err = mapper_context_process_frames(mapper, frame_buf, frame_count, in timer_mmap_process_frames()
208 *frame_count); in timer_mmap_process_frames()
209 if (consumed_count != *frame_count) { in timer_mmap_process_frames()
214 *frame_count = consumed_count; in timer_mmap_process_frames()
245 unsigned *frame_count, in timer_mmap_r_process_frames()
276 err = timer_mmap_process_frames(state, frame_count, mappe in timer_mmap_r_process_frames()
119 timer_mmap_process_frames(struct libasound_state *state, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) timer_mmap_process_frames() argument
244 timer_mmap_r_process_frames(struct libasound_state *state, unsigned *frame_count, struct mapper_context *mapper, struct container_context *cntrs) timer_mmap_r_process_frames() argument
374 timer_mmap_w_process_frames(struct libasound_state *state, unsigned *frame_count, struct mapper_context *mapper, struct container_context *cntrs) timer_mmap_w_process_frames() argument
[all...]
H A Dxfer-libasound.c574 snd_pcm_uframes_t frame_count; in configure_sw_params() local
578 frame_count = msec_for_avail_min * frames_per_second / 1000000; in configure_sw_params()
579 if (frame_count == 0 || frame_count > frames_per_buffer) { in configure_sw_params()
583 frame_count == 0 ? "small" : "large", in configure_sw_params()
584 msec_for_avail_min, frame_count, in configure_sw_params()
589 state->sw_params, frame_count); in configure_sw_params()
598 frame_count = msec_for_start_threshold * frames_per_second / in configure_sw_params()
600 if (frame_count == 0 || frame_count > frames_per_buffe in configure_sw_params()
758 xfer_libasound_process_frames(struct xfer_context *xfer, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) xfer_libasound_process_frames() argument
[all...]
H A Dsubcmd-transfer.c196 uint64_t frame_count; in capture_pre_process() local
216 &frame_count); in capture_pre_process()
221 *total_frame_count = frame_count; in capture_pre_process()
222 if (frame_count < *total_frame_count) in capture_pre_process()
223 *total_frame_count = frame_count; in capture_pre_process()
250 uint64_t frame_count; in playback_pre_process() local
279 &frame_count); in playback_pre_process()
295 *total_frame_count = frame_count; in playback_pre_process()
314 if (frame_count < *total_frame_count) in playback_pre_process()
315 *total_frame_count = frame_count; in playback_pre_process()
376 unsigned int frame_count; context_process_frames() local
[all...]
H A Dcontainer.c286 uint64_t *frame_count) in container_context_pre_process()
296 assert(frame_count); in container_context_pre_process()
331 *frame_count = byte_count / bytes_per_frame; in container_context_pre_process()
349 *frame_count); in container_context_pre_process()
352 *frame_count); in container_context_pre_process()
361 unsigned int *frame_count) in container_context_process_frames()
372 assert(frame_count); in container_context_process_frames()
375 target_byte_count = *frame_count * bytes_per_frame; in container_context_process_frames()
397 *frame_count = 0; in container_context_process_frames()
405 *frame_count in container_context_process_frames()
282 container_context_pre_process(struct container_context *cntr, snd_pcm_format_t *format, unsigned int *samples_per_frame, unsigned int *frames_per_second, uint64_t *frame_count) container_context_pre_process() argument
359 container_context_process_frames(struct container_context *cntr, void *frame_buffer, unsigned int *frame_count) container_context_process_frames() argument
410 container_context_post_process(struct container_context *cntr, uint64_t *frame_count) container_context_post_process() argument
[all...]
H A Dxfer-libffado.c36 unsigned int *frame_count,
175 unsigned int *frame_count, in r_process_frames()
187 if (*frame_count < avail_count) in r_process_frames()
188 avail_count = *frame_count; in r_process_frames()
232 *frame_count = consumed_count; in r_process_frames()
238 unsigned int *frame_count, in w_process_frames()
250 // Trim up to expected frame_count. in w_process_frames()
252 if (*frame_count < avail_count) in w_process_frames()
253 avail_count = *frame_count; in w_process_frames()
294 *frame_count in w_process_frames()
174 r_process_frames(struct xfer_context *xfer, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) r_process_frames() argument
237 w_process_frames(struct xfer_context *xfer, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) w_process_frames() argument
474 xfer_libffado_process_frames(struct xfer_context *xfer, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) xfer_libffado_process_frames() argument
[all...]
H A Dmapper.c122 unsigned int *frame_count, in mapper_context_process_frames()
127 assert(frame_count); in mapper_context_process_frames()
128 assert(*frame_count <= mapper->frames_per_buffer); in mapper_context_process_frames()
131 return mapper->ops->process_frames(mapper, frame_buffer, frame_count, in mapper_context_process_frames()
120 mapper_context_process_frames(struct mapper_context *mapper, void *frame_buffer, unsigned int *frame_count, struct container_context *cntrs) mapper_context_process_frames() argument
H A Dcontainer.h76 uint64_t *frame_count);
79 unsigned int *frame_count);
81 uint64_t *frame_count);
/third_party/alsa-utils/axfer/test/
H A Dmapper-test.c43 void *frame_buffer, unsigned int frame_count, in test_demuxer()
59 total_frame_count = frame_count; in test_demuxer()
63 assert(total_frame_count == frame_count); in test_demuxer()
74 void *frame_buffer, unsigned int frame_count, in test_demux()
95 total_frame_count = frame_count; in test_demux()
117 frame_count, cntrs, cntr_count, trial->verbose); in test_demux()
121 assert(total_frame_count == frame_count); in test_demux()
134 void *frame_buffer, unsigned int frame_count, in test_muxer()
150 total_frame_count = frame_count; in test_muxer()
154 assert(total_frame_count == frame_count); in test_muxer()
39 test_demuxer(struct mapper_context *mapper, snd_pcm_access_t access, unsigned int bytes_per_sample, unsigned int samples_per_frame, unsigned int frames_per_buffer, void *frame_buffer, unsigned int frame_count, struct container_context *cntrs, unsigned int cntr_count, bool verbose) test_demuxer() argument
69 test_demux(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, unsigned int frames_per_buffer, void *frame_buffer, unsigned int frame_count, int *cntr_fds, unsigned int cntr_count) test_demux() argument
130 test_muxer(struct mapper_context *mapper, snd_pcm_access_t access, unsigned int bytes_per_sample, unsigned int samples_per_frame, unsigned int frames_per_buffer, void *frame_buffer, unsigned int frame_count, struct container_context *cntrs, unsigned int cntr_count, bool verbose) test_muxer() argument
160 test_mux(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, unsigned int frames_per_buffer, void *frame_buffer, unsigned int frame_count, int *cntr_fds, unsigned int cntr_count) test_mux() argument
220 test_mapper(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, void *check_buffer, unsigned int frame_count, unsigned int cntr_count) test_mapper() argument
279 test_i_buf(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, unsigned int cntr_count) test_i_buf() argument
319 test_vector(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, unsigned int cntr_count) test_vector() argument
378 test_n_buf(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, unsigned int cntr_count) test_n_buf() argument
406 callback(struct test_generator *gen, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, void *frame_buffer, unsigned int frame_count) callback() argument
[all...]
H A Dgenerator.c51 unsigned int frame_count) in allocate_buf()
57 return calloc(samples_per_frame * frame_count, bytes_per_sample); in allocate_buf()
63 unsigned int frame_count) in allocate_vector()
76 bufs[i] = calloc(frame_count, bytes_per_sample); in allocate_vector()
90 unsigned int samples_per_frame, unsigned int frame_count) in fill_buf()
96 samples_per_frame * frame_count; in fill_buf()
109 unsigned int samples_per_frame, unsigned int frame_count) in fill_vector()
117 size = frame_count * in fill_vector()
156 unsigned int frame_count); in test_frame_count()
159 unsigned int samples_per_frame, unsigned int frame_count); in test_frame_count()
48 allocate_buf(snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frame_count) allocate_buf() argument
60 allocate_vector(snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frame_count) allocate_vector() argument
88 fill_buf(int fd, void *frame_buffer, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frame_count) fill_buf() argument
107 fill_vector(int fd, void *frame_buffer, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frame_count) fill_vector() argument
[all...]
H A Dcontainer-test.c42 void *frame_buffer, unsigned int frame_count, in test_builder()
68 handled_frame_count = frame_count; in test_builder()
73 assert(handled_frame_count <= frame_count); in test_builder()
78 assert(total_frame_count == frame_count); in test_builder()
88 void *frame_buffer, unsigned int frame_count, in test_parser()
111 assert(total_frame_count == frame_count); in test_parser()
117 assert(handled_frame_count == frame_count); in test_parser()
130 unsigned int frame_count) in callback()
148 size = frame_count * samples_per_frame * in callback()
172 frames_per_second, frame_buffer, frame_count, in callback()
36 test_builder(struct container_context *cntr, int fd, enum container_format format, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, bool verbose) test_builder() argument
83 test_parser(struct container_context *cntr, int fd, enum container_format format, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, bool verbose) test_parser() argument
127 callback(struct test_generator *gen, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, void *frame_buffer, unsigned int frame_count) callback() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Daudio_frame_queue.c33 afq->frame_count = 0; in ff_af_queue_init()
38 if(afq->frame_count) in ff_af_queue_close()
39 av_log(afq->avctx, AV_LOG_WARNING, "%d frames left in the queue on closing\n", afq->frame_count); in ff_af_queue_close()
46 AudioFrame *new = av_fast_realloc(afq->frames, &afq->frame_alloc, sizeof(*afq->frames)*(afq->frame_count+1)); in ff_af_queue_add()
50 new += afq->frame_count; in ff_af_queue_add()
60 if(afq->frame_count && new[-1].pts >= new->pts) in ff_af_queue_add()
70 afq->frame_count++; in ff_af_queue_add()
82 if (afq->frame_count || afq->frame_alloc) { in ff_af_queue_remove()
86 if(!afq->frame_count) in ff_af_queue_remove()
91 for(i=0; nb_samples && i<afq->frame_count; in ff_af_queue_remove()
[all...]
/third_party/libsnd/include/
H A Dsndfile.hh306 SndfileHandle::seek (sf_count_t frame_count, int whence) in seek() argument
307 { return sf_seek (p->sf, frame_count, whence) ; } in seek()
371 SndfileHandle::readf (short *ptr, sf_count_t frame_count) in readf() argument
372 { return sf_readf_short (p->sf, ptr, frame_count) ; } in readf()
375 SndfileHandle::readf (int *ptr, sf_count_t frame_count) in readf() argument
376 { return sf_readf_int (p->sf, ptr, frame_count) ; } in readf()
379 SndfileHandle::readf (float *ptr, sf_count_t frame_count) in readf() argument
380 { return sf_readf_float (p->sf, ptr, frame_count) ; } in readf()
383 SndfileHandle::readf (double *ptr, sf_count_t frame_count) in readf() argument
384 { return sf_readf_double (p->sf, ptr, frame_count) ; } in readf()
387 writef(const short *ptr, sf_count_t frame_count) writef() argument
391 writef(const int *ptr, sf_count_t frame_count) writef() argument
395 writef(const float *ptr, sf_count_t frame_count) writef() argument
399 writef(const double *ptr, sf_count_t frame_count) writef() argument
[all...]
/third_party/node/deps/v8/src/base/debug/
H A Dstack_trace_android.cc25 frame_count(0), in StackCrawlState()
30 size_t frame_count; member
45 state->frames[state->frame_count++] = ip; in TraceStackFrame()
46 if (state->frame_count >= state->max_depth) in TraceStackFrame()
75 count_ = state.frame_count; in StackTrace()
/third_party/ffmpeg/libavformat/
H A Drl2.c81 unsigned int frame_count; in rl2_read_header() local
102 frame_count = avio_rl32(pb); in rl2_read_header()
105 if(back_size > INT_MAX/2 || frame_count > INT_MAX / sizeof(uint32_t)) in rl2_read_header()
163 chunk_size = av_malloc(frame_count * sizeof(uint32_t)); in rl2_read_header()
164 audio_size = av_malloc(frame_count * sizeof(uint32_t)); in rl2_read_header()
165 chunk_offset = av_malloc(frame_count * sizeof(uint32_t)); in rl2_read_header()
175 for(i=0; i < frame_count;i++) { in rl2_read_header()
182 for(i=0; i < frame_count;i++) { in rl2_read_header()
189 for(i=0; i < frame_count;i++) { in rl2_read_header()
198 for(i=0;i<frame_count; in rl2_read_header()
[all...]
H A Dwebpenc.c29 int frame_count; member
100 if (w->frame_count > 1) // first non-empty packet in flush()
101 w->frame_count = 1; // so we don't count previous empty packets. in flush()
104 if (w->frame_count == 1) { in flush()
126 if (w->frame_count > trailer) { in flush()
167 ++w->frame_count; in webp_write_packet()
H A Dsierravmd.c51 unsigned int frame_count; member
179 vmd->frame_count = AV_RL16(&vmd->vmd_header[6]); in vmd_read_header()
186 raw_frame_table_size = vmd->frame_count * 6; in vmd_read_header()
188 vmd->frame_table = av_malloc_array(vmd->frame_count * vmd->frames_per_block + sound_buffers, sizeof(vmd_frame)); in vmd_read_header()
200 for (i = 0; i < vmd->frame_count; i++) { in vmd_read_header()
256 vmd->frame_count = total_frames; in vmd_read_header()
272 if (vmd->current_frame >= vmd->frame_count) in vmd_read_packet()
H A Dxmv.c63 uint32_t frame_count; ///< The amount of frames within this video packet. member
280 xmv->video.frame_count = (AV_RL32(data) >> 23) & 0xFF; in xmv_process_packet_header()
316 if (!xmv->video.frame_count) { in xmv_process_packet_header()
317 xmv->video.frame_count = 1; in xmv_process_packet_header()
361 /* Carve up the audio data in frame_count slices */ in xmv_process_packet_header()
362 packet->frame_size = packet->data_size / xmv->video.frame_count; in xmv_process_packet_header()
451 if ((xmv->video.current_frame + 1) < xmv->video.frame_count) in xmv_fetch_audio_packet()
547 if (xmv->video.current_frame == xmv->video.frame_count) { in xmv_read_packet()
566 xmv->video.current_frame = xmv->video.frame_count; in xmv_read_packet()
/third_party/skia/modules/skottie/src/
H A DSkottieTool.cpp309 auto frame_count = static_cast<int>(duration * fps); in main() local
311 if (frame_count > kMaxFrames) { in main()
312 frame_count = kMaxFrames; in main()
313 fps = frame_count / duration; in main()
317 SkDebugf("Rendering %f seconds (%d frames @%f fps).\n", duration, frame_count, fps); in main()
320 gMP4Frames.resize(frame_count); in main()
323 std::vector<double> frames_ms(frame_count); in main()
333 tg.batch(frame_count, [&](int i) { in main()
336 i = frame_count - 1 - i; in main()
385 starved_ms[0], starved_ms[frame_count/ in main()
[all...]
/third_party/pulseaudio/src/modules/bluetooth/
H A Da2dp-codec-sbc.c728 size_t frame_count = (link_mtu - rtp_size) / sbc_info->frame_length; in get_block_size() local
730 /* frame_count is only 4 bit number */ in get_block_size()
731 if (frame_count > 15) in get_block_size()
732 frame_count = 15; in get_block_size()
737 if (frame_count < 1) { in get_block_size()
739 frame_count = 1; in get_block_size()
742 return frame_count * sbc_info->codesize; in get_block_size()
788 uint8_t frame_count; in encode_buffer() local
793 frame_count = 0; in encode_buffer()
801 /* frame_count i in encode_buffer()
871 uint8_t frame_count; decode_buffer() local
[all...]
/third_party/skia/tests/
H A DMultiPictureDocumentTest.cpp141 int frame_count = SkMultiPictureDocumentReadPageCount(writtenStream.get()); in DEF_TEST() local
142 REPORTER_ASSERT(reporter, frame_count == NUM_FRAMES, in DEF_TEST()
144 "MultiPictureDocument.", NUM_FRAMES, frame_count); in DEF_TEST()
147 std::vector<SkDocumentPage> frames(frame_count); in DEF_TEST()
149 SkMultiPictureDocumentRead(writtenStream.get(), frames.data(), frame_count, &dprocs), in DEF_TEST()
375 int frame_count = SkMultiPictureDocumentReadPageCount(writtenStream.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
376 REPORTER_ASSERT(reporter, frame_count == 1, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
378 "MultiPictureDocument.", frame_count); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
381 std::vector<SkDocumentPage> frames(frame_count); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
383 SkMultiPictureDocumentRead(writtenStream.get(), frames.data(), frame_count, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all...]
/third_party/glfw/tests/
H A Dtearing.c158 unsigned long frame_count = 0; in main() local
236 frame_count++; in main()
241 frame_rate = frame_count / (current_time - last_time); in main()
242 frame_count = 0; in main()

Completed in 20 milliseconds

1234