/external/libvpx/libvpx/tools/ |
D | tiny_ssim.c | 327 size_t i, n_frames = 0, allocated_frames = 0; in main() local 446 if (n_frames == allocated_frames) { in main() 455 psnr_and_ssim(ssimy[n_frames], psnry[n_frames], y[0], y[1], w, h); in main() 456 psnr_and_ssim(ssimu[n_frames], psnru[n_frames], u[0], u[1], (w + 1) / 2, in main() 458 psnr_and_ssim(ssimv[n_frames], psnrv[n_frames], v[0], v[1], (w + 1) / 2, in main() 461 n_frames++; in main() 469 for (i = 0; i < n_frames; ++i) { in main() 501 ssimavg /= n_frames; in main() 502 ssimyavg /= n_frames; in main() 503 ssimuavg /= n_frames; in main() [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | mbgraph.c | 292 int n_frames = cpi->mbgraph_n_frames; in separate_arf_mbs() local 301 if (n_frames > cpi->rc.frames_till_gf_update_due) in separate_arf_mbs() 302 n_frames = cpi->rc.frames_till_gf_update_due; in separate_arf_mbs() 305 for (i = n_frames - 1; i >= 0; i--) { in separate_arf_mbs() 366 int i, n_frames = av1_lookahead_depth(cpi->lookahead); in av1_update_mbgraph_stats() local 373 if (n_frames <= cpi->rc.frames_till_gf_update_due) return; in av1_update_mbgraph_stats() 375 if (n_frames > MAX_LAG_BUFFERS) n_frames = MAX_LAG_BUFFERS; in av1_update_mbgraph_stats() 377 cpi->mbgraph_n_frames = n_frames; in av1_update_mbgraph_stats() 378 for (i = 0; i < n_frames; i++) { in av1_update_mbgraph_stats() 388 for (i = 0; i < n_frames; i++) { in av1_update_mbgraph_stats()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_mbgraph.c | 293 int n_frames = cpi->mbgraph_n_frames; in separate_arf_mbs() local 302 if (n_frames > cpi->rc.frames_till_gf_update_due) in separate_arf_mbs() 303 n_frames = cpi->rc.frames_till_gf_update_due; in separate_arf_mbs() 306 for (i = n_frames - 1; i >= 0; i--) { in separate_arf_mbs() 367 int i, n_frames = vp9_lookahead_depth(cpi->lookahead); in vp9_update_mbgraph_stats() local 374 if (n_frames <= cpi->rc.frames_till_gf_update_due) return; in vp9_update_mbgraph_stats() 376 if (n_frames > MAX_LAG_BUFFERS) n_frames = MAX_LAG_BUFFERS; in vp9_update_mbgraph_stats() 378 cpi->mbgraph_n_frames = n_frames; in vp9_update_mbgraph_stats() 379 for (i = 0; i < n_frames; i++) { in vp9_update_mbgraph_stats() 389 for (i = 0; i < n_frames; i++) { in vp9_update_mbgraph_stats()
|
/external/autotest/client/cros/audio/ |
D | audio_data.py | 96 n_frames = len(np_array) / self.channel 98 np_array = np_array.reshape(n_frames, self.channel)
|
/external/libvpx/libvpx/test/ |
D | cq_test.cc | 92 int n_frames() const { return n_frames_; } in n_frames() function in __anon6f6028780111::CQTest 117 static_cast<unsigned int>(file_size()) * 8 * 30 / (n_frames() * 1000); in TEST_P()
|
/external/adhd/cras/src/tests/ |
D | iodev_unittest.cc | 863 int n_frames = 53; in TEST() local 887 rc = cras_iodev_put_output_buffer(&iodev, frames, n_frames, NULL, nullptr); in TEST() 890 EXPECT_EQ(n_frames, put_buffer_nframes); in TEST() 891 EXPECT_EQ(n_frames, rate_estimator_add_frames_num_frames); in TEST() 904 rc = cras_iodev_put_output_buffer(&iodev, frames, n_frames, NULL, nullptr); in TEST() 913 EXPECT_EQ(n_frames, cras_scale_buffer_increment_frame); in TEST() 924 EXPECT_EQ(n_frames, put_buffer_nframes); in TEST() 925 EXPECT_EQ(n_frames, rate_estimator_add_frames_num_frames); in TEST() 933 int n_frames = 53; in TEST() local 952 rc = cras_iodev_put_output_buffer(&iodev, frames, n_frames, NULL, nullptr); in TEST() [all …]
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
D | H264TrackImpl.java | 283 if (seiMessage.n_frames == 0) { in readSamples() 288 offset = seiMessage.n_frames - frameNrInGop; in readSamples() 578 int n_frames; field in H264TrackImpl.SEIMessage 658 n_frames = reader.readU(8, "pic_timing SEI: n_frames"); in SEIMessage() 727 ", n_frames=" + n_frames + in toString()
|
/external/python/cpython3/Lib/test/ |
D | pickletester.py | 2195 n_frames = count_opcode(pickle.FRAME, pickled) 2198 self.assertEqual(n_frames, 1) 2280 n_frames = (len(pickled) - 1) // self.FRAME_SIZE_TARGET + 1 2282 self.assertGreaterEqual(len(writer.chunks), n_frames) 2287 self.assertLessEqual(len(writer.chunks), 2 * n_frames + 3)
|