Home
last modified time | relevance | path

Searched refs:used_frames (Results 1 – 2 of 2) sorted by relevance

/external/adhd/cras/src/tests/
Dshm_unittest.cc91 uint32_t used_frames = used_size / cras_shm_frame_bytes(&shm_); in TEST_F() local
96 EXPECT_EQ(used_frames / 4, frames_); in TEST_F()
99 EXPECT_EQ(used_frames / 2, frames_); in TEST_F()
102 cras_shm_buffer_read(&shm_, (used_frames / 2) + (used_frames / 4) - 10); in TEST_F()
104 EXPECT_EQ(((used_frames / 2) - 10) * shm_.config.frame_bytes, in TEST_F()
112 uint32_t used_frames = used_size / cras_shm_frame_bytes(&shm_); in TEST_F() local
117 EXPECT_EQ(used_frames / 4, frames_); in TEST_F()
120 EXPECT_EQ(used_frames / 2, frames_); in TEST_F()
123 cras_shm_buffer_read(&shm_, (used_frames / 2) + (used_frames / 4)); in TEST_F()
132 uint32_t used_frames = used_size / cras_shm_frame_bytes(&shm_); in TEST_F() local
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodeframe.c4249 uint8_t used_frames; in rd_pick_partition() local
4250 used_frames = ref_frames_used[0] | ref_frames_used[1]; in rd_pick_partition()
4251 if (used_frames) { in rd_pick_partition()
4252 pc_tree->horizontal[0].skip_ref_frame_mask = ~used_frames & 0xff; in rd_pick_partition()
4254 used_frames = ref_frames_used[2] | ref_frames_used[3]; in rd_pick_partition()
4255 if (used_frames) { in rd_pick_partition()
4256 pc_tree->horizontal[1].skip_ref_frame_mask = ~used_frames & 0xff; in rd_pick_partition()
4258 used_frames = ref_frames_used[0] | ref_frames_used[2]; in rd_pick_partition()
4259 if (used_frames) { in rd_pick_partition()
4260 pc_tree->vertical[0].skip_ref_frame_mask = ~used_frames & 0xff; in rd_pick_partition()
[all …]