Home
last modified time | relevance | path

Searched refs:get_msb (Results 1 – 25 of 29) sorted by relevance

12

/external/libaom/libaom/test/
Dlog2_test.cc21 EXPECT_EQ(get_msb(n), static_cast<int>(floor(log2(n)))); in TEST()
27 EXPECT_EQ(get_msb(power_of_2 - 1), exponent - 1); in TEST()
28 EXPECT_EQ(get_msb(power_of_2), exponent); in TEST()
29 EXPECT_EQ(get_msb(power_of_2 + 1), exponent); in TEST()
/external/libvpx/libvpx/vpx_ports/
Dbitops.h36 static INLINE int get_msb(unsigned int n) { in get_msb() function
43 static INLINE int get_msb(unsigned int n) {
52 static INLINE int get_msb(unsigned int n) {
/external/libaom/libaom/aom_ports/
Dbitops.h40 static INLINE int get_msb(unsigned int n) { in get_msb() function
47 static INLINE int get_msb(unsigned int n) {
55 static INLINE int get_msb(unsigned int n) {
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dr300_fragprog.c52 static int get_msb(unsigned int bit, unsigned int r400_ext_addr) in get_msb() function
138 int msbc = get_msb(R400_ADDR_EXT_RGB_MSB_BIT(j), in r300FragmentProgramDump()
140 int msba = get_msb(R400_ADDR_EXT_A_MSB_BIT(j), in r300FragmentProgramDump()
158 unsigned int msb = get_msb( in r300FragmentProgramDump()
188 unsigned int msb = get_msb( in r300FragmentProgramDump()
/external/libaom/libaom/aom_dsp/
Dbinary_codes_writer.c43 const int l = get_msb(n) + 1; in aom_write_primitive_quniform()
55 const int l = get_msb(n) + 1; in aom_count_primitive_quniform()
Dbinary_codes_reader.c19 const int l = get_msb(n) + 1; in aom_read_primitive_quniform_()
Dbitreader_buffer.c74 const int l = get_msb(n) + 1; in aom_rb_read_primitive_quniform()
Dbitwriter_buffer.c94 const int l = get_msb(n) + 1; in wb_write_primitive_quniform()
/external/libaom/libaom/av1/encoder/
Dcost.h38 const int shift = CDF_PROB_BITS - 1 - get_msb(p15); in av1_cost_symbol()
Dencodemv.h61 return n == 0 ? 0 : get_msb(n); in av1_log_in_base_2()
Dglobal_motion.c927 frm_width < frm_height ? get_msb(frm_width) : get_msb(frm_height); in compute_global_motion_disflow_based()
Dbitstream.c302 rem_bits = get_msb(abs - 1); in write_delta_qindex()
332 rem_bits = get_msb(abs - 1); in write_delta_lflevel()
3079 aom_wb_write_literal(wb, get_msb(delta_q_info->delta_q_res), 2); in write_uncompressed_header_obu()
3086 aom_wb_write_literal(wb, get_msb(delta_q_info->delta_lf_res), 2); in write_uncompressed_header_obu()
/external/libaom/libaom/av1/common/
Dcommon.h49 return num_values > 0 ? get_msb(num_values) + 1 : 0; in get_unsigned_bits()
Dcdef.h31 const int shift = AOMMAX(0, damping - get_msb(threshold)); in constrain()
Dodintrin.h51 #define OD_ILOG_NZ(x) (1 + get_msb(x))
Dcdef_block_simd.h189 best_dir = get_msb(best_dir ^ (best_dir - 1)); // Count trailing zeros in SIMD_FUNC()
244 pri_damping = AOMMAX(0, pri_damping - get_msb(pri_strength)); in SIMD_FUNC()
246 sec_damping = AOMMAX(0, sec_damping - get_msb(sec_strength)); in SIMD_FUNC()
411 pri_damping = AOMMAX(0, pri_damping - get_msb(pri_strength)); in SIMD_FUNC()
413 sec_damping = AOMMAX(0, sec_damping - get_msb(sec_strength)); in SIMD_FUNC()
557 pri_damping = AOMMAX(0, pri_damping - get_msb(pri_strength)); in SIMD_FUNC()
559 sec_damping = AOMMAX(0, sec_damping - get_msb(sec_strength)); in SIMD_FUNC()
714 pri_damping = AOMMAX(0, pri_damping - get_msb(pri_strength)); in SIMD_FUNC()
716 sec_damping = AOMMAX(0, sec_damping - get_msb(sec_strength)); in SIMD_FUNC()
Dwarped_motion.c230 *shift = (int16_t)((D >> 32) ? get_msb((unsigned int)(D >> 32)) + 32 in resolve_divisor_64()
231 : get_msb((unsigned int)D)); in resolve_divisor_64()
247 *shift = get_msb(D); in resolve_divisor_32()
881 msb = (int16_t)((D >> 32) ? get_msb((unsigned int)(D >> 32)) + 32 in resolve_multiplier_64()
882 : get_msb((unsigned int)D)); in resolve_multiplier_64()
Dcdef_block.c171 const int i = var >> 6 ? AOMMIN(get_msb(var >> 6), 12) : 0; in adjust_strength()
/external/libvpx/libvpx/vp9/common/
Dvp9_common.h46 return num_values > 0 ? get_msb(num_values) + 1 : 0; in get_unsigned_bits()
/external/libvpx/libvpx/test/
Dsvc_test.cc56 encoder->Control(VP9E_SET_TILE_COLUMNS, get_msb(cfg_.g_threads)); in PreEncodeFrameHookSetup()
Dvp9_datarate_test.cc132 encoder->Control(VP9E_SET_TILE_COLUMNS, get_msb(cfg_.g_threads)); in PreEncodeFrameHook()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_rd.c456 const int k = get_msb(tmp) - 3; in model_rd_norm()
472 const int k = get_msb(tmp) - 3; in model_rd_norm_vec()
Dvp9_encoder.h1088 return get_msb(vp9_level_defs[i].max_col_tiles); in log_tile_cols_from_picsize_level()
/external/libvpx/libvpx/examples/
Dvpx_temporal_svc_encoder.c842 vpx_codec_control(&codec, VP9E_SET_TILE_COLUMNS, get_msb(cfg.g_threads)); in main()
Dvp9_spatial_svc_encoder.c1034 get_msb(svc_ctx.threads)); in main()

12