Home
last modified time | relevance | path

Searched refs:frame_count (Results 1 – 25 of 86) sorted by relevance

1234

/external/libaom/libaom/examples/
Dtwopass_encoder.c123 int frame_count = 0; in pass0() local
130 while (aom_img_read(raw, infile) && frame_count < limit) { in pass0()
131 ++frame_count; in pass0()
132 get_frame_stats(&codec, raw, frame_count, 1, 0, &stats); in pass0()
136 while (get_frame_stats(&codec, NULL, frame_count, 1, 0, &stats)) { in pass0()
139 printf("Pass 0 complete. Processed %d frames.\n", frame_count); in pass0()
155 int frame_count = 0; in pass1() local
164 while (aom_img_read(raw, infile) && frame_count < limit) { in pass1()
165 ++frame_count; in pass1()
166 encode_frame(&codec, raw, frame_count, 1, 0, writer); in pass1()
[all …]
Dset_maps.c123 int frame_count = 0; in main() local
182 while (aom_img_read(&raw, infile) && frame_count < limit) { in main()
183 ++frame_count; in main()
185 if (frame_count == 5) { in main()
187 } else if (frame_count == 11) { in main()
191 encode_frame(&codec, &raw, frame_count, writer); in main()
200 printf("Processed %d frames.\n", frame_count); in main()
Dlightfield_encoder.c136 int frame_count = 0; in pass0() local
179 ++frame_count; in pass0()
180 get_frame_stats(&codec, frame_to_encode, frame_count, 1, in pass0()
209 ++frame_count; in pass0()
210 get_frame_stats(&codec, frame_to_encode, frame_count, 1, in pass0()
223 while (get_frame_stats(&codec, NULL, frame_count, 1, 0, &stats)) { in pass0()
228 printf("\nFirst pass complete. Processed %d frames.\n", frame_count); in pass0()
244 int frame_count = 0; in pass1() local
332 ++frame_count; in pass1()
335 encode_frame(&codec, frame_to_encode, frame_count, 1, in pass1()
[all …]
Dsimple_encoder.c149 int frame_count = 0; in main() local
229 if (keyframe_interval > 0 && frame_count % keyframe_interval == 0) in main()
231 encode_frame(&codec, &raw, frame_count++, flags, writer); in main()
241 printf("Processed %d frames.\n", frame_count); in main()
/external/libvpx/libvpx/examples/
Dtwopass_encoder.c127 int frame_count = 0; in pass0() local
135 ++frame_count; in pass0()
136 get_frame_stats(&codec, raw, frame_count, 1, 0, VPX_DL_GOOD_QUALITY, in pass0()
138 if (max_frames > 0 && frame_count >= max_frames) break; in pass0()
142 while (get_frame_stats(&codec, NULL, frame_count, 1, 0, VPX_DL_GOOD_QUALITY, in pass0()
146 printf("Pass 0 complete. Processed %d frames.\n", frame_count); in pass0()
161 int frame_count = 0; in pass1() local
171 ++frame_count; in pass1()
172 encode_frame(&codec, raw, frame_count, 1, 0, VPX_DL_GOOD_QUALITY, writer); in pass1()
174 if (max_frames > 0 && frame_count >= max_frames) break; in pass1()
[all …]
Dset_maps.c157 int frame_count = 0; in main() local
216 ++frame_count; in main()
218 if (frame_count == 22 && encoder->fourcc == VP8_FOURCC) { in main()
220 } else if (frame_count == 33) { in main()
222 } else if (frame_count == 44) { in main()
226 encode_frame(&codec, &raw, frame_count, writer); in main()
235 printf("Processed %d frames.\n", frame_count); in main()
Dvp8cx_set_ref.c99 int frame_count = 0; in main() local
162 if (frame_count + 1 == update_frame_num) { in main()
170 encode_frame(&codec, &raw, frame_count++, writer); in main()
179 printf("Processed %d frames.\n", frame_count); in main()
Dsimple_encoder.c150 int frame_count = 0; in main() local
226 if (keyframe_interval > 0 && frame_count % keyframe_interval == 0) in main()
228 encode_frame(&codec, &raw, frame_count++, flags, writer); in main()
239 printf("Processed %d frames.\n", frame_count); in main()
/external/libvpx/libvpx/
Dvideo_writer.c20 int frame_count; member
24 int frame_count) { in write_header() argument
31 ivf_write_file_header(file, &cfg, info->codec_fourcc, frame_count); in write_header()
49 writer->frame_count = 0; in vpx_video_writer_open()
65 write_header(writer->file, &writer->info, writer->frame_count); in vpx_video_writer_close()
77 ++writer->frame_count; in vpx_video_writer_write_frame()
/external/libaom/libaom/common/
Dvideo_writer.c21 int frame_count; member
25 int frame_count) { in write_header() argument
32 ivf_write_file_header(file, &cfg, info->codec_fourcc, frame_count); in write_header()
48 writer->frame_count = 0; in aom_video_writer_open()
64 write_header(writer->file, &writer->info, writer->frame_count); in aom_video_writer_close()
76 ++writer->frame_count; in aom_video_writer_write_frame()
/external/v8/src/base/debug/
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()
/external/skia/modules/skottie/src/
DSkottieTool.cpp303 auto frame_count = static_cast<int>(duration * fps); in main() local
305 if (frame_count > kMaxFrames) { in main()
306 frame_count = kMaxFrames; in main()
307 fps = frame_count / duration; in main()
311 SkDebugf("Rendering %f seconds (%d frames @%f fps).\n", duration, frame_count, fps); in main()
314 gMP4Frames.resize(frame_count); in main()
317 std::vector<double> frames_ms(frame_count); in main()
327 tg.batch(frame_count, [&](int i) { in main()
330 i = frame_count - 1 - i; in main()
386 starved_ms[0], starved_ms[frame_count/2], sum/frame_count, starved_ms.back(), sum, in main()
[all …]
/external/adhd/cras/src/tests/
Da2dp_info_unittest.cc36 a2dp.frame_count = 0; in ResetStubData()
57 ASSERT_EQ(a2dp.frame_count, 0); in TEST()
89 a2dp.frame_count = 12; in TEST()
94 ASSERT_EQ(a2dp.frame_count, 0); in TEST()
111 ASSERT_EQ(4, a2dp.frame_count); in TEST()
/external/libvpx/libvpx/tools/3D-Reconstruction/sketch_3D_reconstruction/
DScene.pde8 int frame_count;
30 frame_count = 0;
37 frame_count += 1;
54 void save(String path) { saveFrame(path + "_" + str(frame_count) + ".png"); }
57 motion_field.save(path + "_" + str(frame_count) + ".txt");
/external/libchrome/base/debug/
Dstack_trace_android.cc29 frame_count(0), in StackCrawlState()
34 size_t frame_count; member
49 state->frames[state->frame_count++] = ip; in TraceStackFrame()
50 if (state->frame_count >= state->max_depth) in TraceStackFrame()
77 count_ = state.frame_count; in StackTrace()
/external/adhd/cras/src/server/
Dcras_a2dp_info.c80 a2dp->frame_count = 0; in init_a2dp()
113 a2dp->frame_count = 0; in a2dp_drain()
126 payload->frame_count = a2dp->frame_count; in avdtp_write()
143 a2dp->frame_count = 0; in avdtp_write()
171 a2dp->frame_count += processed / a2dp->codesize; in a2dp_encode()
/external/v8/src/objects/
Dframe-array-inl.h50 const int frame_count = Smi::ToInt(get(kFrameCountIndex)); in FrameCount() local
51 DCHECK_LE(0, frame_count); in FrameCount()
52 return frame_count; in FrameCount()
/external/webrtc/talk/media/devices/
Dfilevideocapturer_unittest.cc73 int frame_count() const { return frame_count_; } in frame_count() function in __anon68fb97be0111::FileVideoCapturerTest::VideoCapturerListener
152 EXPECT_EQ(48, listener.frame_count()); in TEST_F()
168 listener.frame_count() >= 150, 20000); in TEST_F()
171 EXPECT_GE(listener.frame_count(), 150); in TEST_F()
187 EXPECT_EQ(1, listener.frame_count()); in TEST_F()
/external/autotest/server/cros/network/
Dframe_sender.py12 num_bss=None, frame_count=None, delay=None, dest_addr=None, argument
35 self._frame_count = frame_count
50 num_bss=self._num_bss, frame_count=self._frame_count,
/external/perfetto/src/base/
Ddebug_crash_stack_trace.cc84 frame_count(0), in StackCrawlState()
89 size_t frame_count; member
103 state->frames[state->frame_count++] = ip; in TraceStackFrame()
104 if (state->frame_count >= state->max_depth) in TraceStackFrame()
156 for (uint8_t i = 0; i < unwind_state.frame_count; i++) { in SignalHandler()
/external/skia/tests/
DMultiPictureDocumentTest.cpp182 int frame_count = SkMultiPictureDocumentReadPageCount(writtenStream.get()); in DEF_TEST() local
183 REPORTER_ASSERT(reporter, frame_count == NUM_FRAMES, in DEF_TEST()
185 "MultiPictureDocument.", NUM_FRAMES, frame_count); in DEF_TEST()
188 std::vector<SkDocumentPage> frames(frame_count); in DEF_TEST()
190 SkMultiPictureDocumentRead(writtenStream.get(), frames.data(), frame_count, &dprocs), in DEF_TEST()
/external/webrtc/talk/media/base/
Dvideoengine_unittest.h270 int frame_count = 0; in WaitForDecoder() local
271 while (frame_count < static_cast<int>(kTimeout) / 66) { in WaitForDecoder()
273 ++frame_count; in WaitForDecoder()
275 return frame_count; in WaitForDecoder()
1195 int frame_count = 0; in AdaptFramerate() local
1199 EXPECT_EQ(frame_count, renderer_.num_rendered_frames()); in AdaptFramerate()
1202 frame_count += 2; in AdaptFramerate()
1203 EXPECT_FRAME_WAIT(frame_count, codec.width, codec.height, kTimeout); in AdaptFramerate()
1213 frame_count += 2; in AdaptFramerate()
1214 EXPECT_EQ_WAIT(frame_count, renderer_.num_rendered_frames(), kTimeout); in AdaptFramerate()
[all …]
/external/webrtc/webrtc/common_video/libyuv/
Dscaler_unittest.cc311 int frame_count = 0; in ComputeAvgSequencePSNR() local
324 frame_count++; in ComputeAvgSequencePSNR()
332 avg_psnr = avg_psnr / frame_count; in ComputeAvgSequencePSNR()
358 int frame_count = 0; in ScaleSequence() local
383 frame_count++; in ScaleSequence()
386 if (frame_count) { in ScaleSequence()
390 (static_cast<double>(total_clock) / frame_count)); in ScaleSequence()
/external/adhd/audio_streams/src/
Dcapture.rs185 frame_count: usize, in trigger() field
189 self.frame_count += nwritten; in trigger()
192 let mut test_drop = TestDrop { frame_count: 0 }; in trigger()
201 assert_eq!(test_drop.frame_count, 480); in trigger()
/external/adhd/cras/src/common/
Drtp.h42 unsigned frame_count : 4; member
71 unsigned frame_count : 4; member

1234