Searched refs:IS_POWER_OF_TWO (Results 1 – 17 of 17) sorted by relevance
30 #define IS_POWER_OF_TWO(a) ((a & ((a) - 1)) == 0) macro39 assert(IS_POWER_OF_TWO(main_bit)); in main()44 assert(IS_POWER_OF_TWO(foo_bit)); in main()49 assert(IS_POWER_OF_TWO(bar_bit)); in main()
32 assert(IS_POWER_OF_TWO(h)); in aom_blend_a64_vmask_c()33 assert(IS_POWER_OF_TWO(w)); in aom_blend_a64_vmask_c()59 assert(IS_POWER_OF_TWO(h)); in aom_highbd_blend_a64_vmask_c()60 assert(IS_POWER_OF_TWO(w)); in aom_highbd_blend_a64_vmask_c()
32 assert(IS_POWER_OF_TWO(h)); in aom_blend_a64_hmask_c()33 assert(IS_POWER_OF_TWO(w)); in aom_blend_a64_hmask_c()58 assert(IS_POWER_OF_TWO(h)); in aom_highbd_blend_a64_hmask_c()59 assert(IS_POWER_OF_TWO(w)); in aom_highbd_blend_a64_hmask_c()
54 assert(IS_POWER_OF_TWO(h)); in aom_lowbd_blend_a64_d16_mask_c()55 assert(IS_POWER_OF_TWO(w)); in aom_lowbd_blend_a64_d16_mask_c()140 assert(IS_POWER_OF_TWO(h)); in aom_highbd_blend_a64_d16_mask_c()141 assert(IS_POWER_OF_TWO(w)); in aom_highbd_blend_a64_d16_mask_c()239 assert(IS_POWER_OF_TWO(h)); in aom_blend_a64_mask_c()240 assert(IS_POWER_OF_TWO(w)); in aom_blend_a64_mask_c()300 assert(IS_POWER_OF_TWO(h)); in aom_highbd_blend_a64_mask_c()301 assert(IS_POWER_OF_TWO(w)); in aom_highbd_blend_a64_mask_c()
33 #define IS_POWER_OF_TWO(x) (((x) & ((x)-1)) == 0) macro
39 assert(IS_POWER_OF_TWO(w)); in obmc_variance_w8n()40 assert(IS_POWER_OF_TWO(h)); in obmc_variance_w8n()96 assert(IS_POWER_OF_TWO(w)); in obmc_variance_w16n()97 assert(IS_POWER_OF_TWO(h)); in obmc_variance_w16n()
139 assert(IS_POWER_OF_TWO(h)); in aom_blend_a64_vmask_sse4_1()140 assert(IS_POWER_OF_TWO(w)); in aom_blend_a64_vmask_sse4_1()267 assert(IS_POWER_OF_TWO(h)); in aom_highbd_blend_a64_vmask_sse4_1()268 assert(IS_POWER_OF_TWO(w)); in aom_highbd_blend_a64_vmask_sse4_1()
49 assert(IS_POWER_OF_TWO(w)); in obmc_variance_w8n()50 assert(IS_POWER_OF_TWO(h)); in obmc_variance_w8n()179 assert(IS_POWER_OF_TWO(h)); in hbd_obmc_variance_w4()220 assert(IS_POWER_OF_TWO(w)); in hbd_obmc_variance_w8n()221 assert(IS_POWER_OF_TWO(h)); in hbd_obmc_variance_w8n()
73 assert(IS_POWER_OF_TWO(width)); in obmc_sad_w8n()197 assert(IS_POWER_OF_TWO(width)); in hbd_obmc_sad_w8n()
28 assert(IS_POWER_OF_TWO(h)); in obmc_variance_w4()
78 assert(IS_POWER_OF_TWO(width)); in obmc_sad_w8n_avx2()204 assert(IS_POWER_OF_TWO(width)); in hbd_obmc_sad_w8n_avx2()
413 assert(IS_POWER_OF_TWO(h)); in aom_blend_a64_mask_sse4_1()414 assert(IS_POWER_OF_TWO(w)); in aom_blend_a64_mask_sse4_1()855 assert(IS_POWER_OF_TWO(h)); in aom_highbd_blend_a64_mask_sse4_1()856 assert(IS_POWER_OF_TWO(w)); in aom_highbd_blend_a64_mask_sse4_1()1030 assert(IS_POWER_OF_TWO(h)); in aom_lowbd_blend_a64_d16_mask_sse4_1()1031 assert(IS_POWER_OF_TWO(w)); in aom_lowbd_blend_a64_d16_mask_sse4_1()1504 assert(IS_POWER_OF_TWO(h)); in aom_highbd_blend_a64_d16_mask_sse4_1()1505 assert(IS_POWER_OF_TWO(w)); in aom_highbd_blend_a64_d16_mask_sse4_1()
304 assert(IS_POWER_OF_TWO(h)); in aom_lowbd_blend_a64_d16_mask_avx2()305 assert(IS_POWER_OF_TWO(w)); in aom_lowbd_blend_a64_d16_mask_avx2()879 assert(IS_POWER_OF_TWO(h)); in aom_blend_a64_mask_avx2()880 assert(IS_POWER_OF_TWO(w)); in aom_blend_a64_mask_avx2()1318 assert(IS_POWER_OF_TWO(h)); in aom_highbd_blend_a64_d16_mask_avx2()1319 assert(IS_POWER_OF_TWO(w)); in aom_highbd_blend_a64_d16_mask_avx2()
32 assert(IS_POWER_OF_TWO(h)); in aom_blend_a64_hmask_neon()33 assert(IS_POWER_OF_TWO(w)); in aom_blend_a64_hmask_neon()
37 assert(IS_POWER_OF_TWO(h)); in aom_blend_a64_vmask_neon()38 assert(IS_POWER_OF_TWO(w)); in aom_blend_a64_vmask_neon()
154 assert(IS_POWER_OF_TWO(h)); in aom_lowbd_blend_a64_d16_mask_neon()155 assert(IS_POWER_OF_TWO(w)); in aom_lowbd_blend_a64_d16_mask_neon()
536 assert(IS_POWER_OF_TWO(bw)); in highbd_dc_predictor()