/external/libvpx/libvpx/tools/ |
D | tiny_ssim.c | 324 size_t i, n_frames = 0, allocated_frames = 0; in main() local 444 if (n_frames == allocated_frames) { in main() 453 psnr_and_ssim(ssimy[n_frames], psnry[n_frames], y[0], y[1], w, h); in main() 454 psnr_and_ssim(ssimu[n_frames], psnru[n_frames], u[0], u[1], (w + 1) / 2, in main() 456 psnr_and_ssim(ssimv[n_frames], psnrv[n_frames], v[0], v[1], (w + 1) / 2, in main() 459 n_frames++; in main() 467 for (i = 0; i < n_frames; ++i) { in main() 499 ssimavg /= n_frames; in main() 500 ssimyavg /= n_frames; in main() 501 ssimuavg /= n_frames; in main() [all …]
|
/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 | 100 n_frames = len(np_array) // self.channel 102 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 __anonfd817c960111::CQTest 117 static_cast<unsigned int>(file_size()) * 8 * 30 / (n_frames() * 1000); in TEST_P()
|
/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/adhd/cras/src/tests/ |
D | iodev_unittest.cc | 840 int n_frames = 53; in TEST() local 866 rc = cras_iodev_put_output_buffer(&iodev, frames, n_frames, NULL, nullptr); in TEST() 869 EXPECT_EQ(n_frames, put_buffer_nframes); in TEST() 870 EXPECT_EQ(n_frames, rate_estimator_add_frames_num_frames); in TEST() 884 rc = cras_iodev_put_output_buffer(&iodev, frames, n_frames, NULL, nullptr); in TEST() 893 EXPECT_EQ(n_frames, cras_scale_buffer_increment_frame); in TEST() 906 EXPECT_EQ(n_frames, put_buffer_nframes); in TEST() 907 EXPECT_EQ(n_frames, rate_estimator_add_frames_num_frames); in TEST() 915 int n_frames = 53; in TEST() local 936 rc = cras_iodev_put_output_buffer(&iodev, frames, n_frames, NULL, nullptr); in TEST() [all …]
|
/external/mesa3d/src/vulkan/overlay-layer/ |
D | overlay.cpp | 182 uint64_t n_frames; member 773 uint32_t f_idx = data->n_frames % ARRAY_SIZE(data->frames_stats); in snapshot_swapchain_frame() 862 data->n_frames++; in snapshot_swapchain_frame() 869 if ((ARRAY_SIZE(data->frames_stats) - _idx) > data->n_frames) in get_time_stat() 872 data->n_frames < ARRAY_SIZE(data->frames_stats) ? in get_time_stat() 873 _idx - data->n_frames : in get_time_stat() 874 _idx + data->n_frames; in get_time_stat() 883 if ((ARRAY_SIZE(data->frames_stats) - _idx) > data->n_frames) in get_stat() 886 data->n_frames < ARRAY_SIZE(data->frames_stats) ? in get_stat() 887 _idx - data->n_frames : in get_stat() [all …]
|
/external/python/cpython3/Lib/test/ |
D | pickletester.py | 2422 n_frames = count_opcode(pickle.FRAME, pickled) 2425 self.assertEqual(n_frames, 1) 2509 n_frames = (len(pickled) - 1) // self.FRAME_SIZE_TARGET + 1 2511 self.assertGreaterEqual(len(writer.chunks), n_frames) 2516 self.assertLessEqual(len(writer.chunks), 2 * n_frames + 3)
|