Home
last modified time | relevance | path

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

12

/external/libaom/libaom/av1/common/
Dtile_common.c31 int mi_cols = ALIGN_POWER_OF_TWO(cm->mi_cols, cm->seq_params.mib_size_log2); in av1_get_tile_limits()
32 int mi_rows = ALIGN_POWER_OF_TWO(cm->mi_rows, cm->seq_params.mib_size_log2); in av1_get_tile_limits()
48 int mi_cols = ALIGN_POWER_OF_TWO(cm->mi_cols, cm->seq_params.mib_size_log2); in av1_calculate_tile_cols()
49 int mi_rows = ALIGN_POWER_OF_TWO(cm->mi_rows, cm->seq_params.mib_size_log2); in av1_calculate_tile_cols()
60 int size_sb = ALIGN_POWER_OF_TWO(sb_cols, cm->log2_tile_cols); in av1_calculate_tile_cols()
101 int mi_rows = ALIGN_POWER_OF_TWO(cm->mi_rows, cm->seq_params.mib_size_log2); in av1_calculate_tile_rows()
106 size_sb = ALIGN_POWER_OF_TWO(sb_rows, cm->log2_tile_rows); in av1_calculate_tile_rows()
146 int mi_rows_aligned_to_sb = ALIGN_POWER_OF_TWO( in av1_get_sb_rows_in_tile()
154 int mi_cols_aligned_to_sb = ALIGN_POWER_OF_TWO( in av1_get_sb_cols_in_tile()
Dalloccommon.c24 const int aligned_width = ALIGN_POWER_OF_TWO(width, 3); in av1_get_MBs()
25 const int aligned_height = ALIGN_POWER_OF_TWO(height, 3); in av1_get_MBs()
72 const int aligned_width = ALIGN_POWER_OF_TWO(width, 3); in av1_set_mb_mi()
73 const int aligned_height = ALIGN_POWER_OF_TWO(height, 3); in av1_set_mb_mi()
148 const int stride = ALIGN_POWER_OF_TWO(plane_w, 5); in av1_alloc_restoration_buffers()
235 ALIGN_POWER_OF_TWO(cm->mi_cols, MAX_MIB_SIZE_LOG2); in av1_alloc_above_context_buffers()
Dcdef_block.h28 ALIGN_POWER_OF_TWO((1 << MAX_SB_SIZE_LOG2) + 2 * CDEF_HBORDER, 3)
Dthread_common.c271 ALIGN_POWER_OF_TWO(cm->mi_cols, MAX_MIB_SIZE_LOG2) >> MAX_MIB_SIZE_LOG2; in thread_loop_filter_rows()
334 ALIGN_POWER_OF_TWO(cm->mi_cols, MIN_MIB_SIZE_LOG2) >> MIN_MIB_SIZE_LOG2; in thread_loop_filter_bitmask_rows()
406 ALIGN_POWER_OF_TWO(cm->mi_rows, MIN_MIB_SIZE_LOG2) >> MIN_MIB_SIZE_LOG2; in loop_filter_rows_mt()
409 ALIGN_POWER_OF_TWO(cm->mi_rows, MAX_MIB_SIZE_LOG2) >> MAX_MIB_SIZE_LOG2; in loop_filter_rows_mt()
414 ALIGN_POWER_OF_TWO(cm->mi_rows, MAX_MIB_SIZE_LOG2) >> MAX_MIB_SIZE_LOG2; in loop_filter_rows_mt()
Donyxc_int.h810 return ALIGN_POWER_OF_TWO(len, MAX_MIB_SIZE_LOG2); in calc_mi_size()
1106 return ALIGN_POWER_OF_TWO(max_blocks_wide, tx_size_wide_log2[tx_size]); in max_intra_block_width()
1114 return ALIGN_POWER_OF_TWO(max_blocks_high, tx_size_high_log2[tx_size]); in max_intra_block_height()
1123 ALIGN_POWER_OF_TWO(width, seq_params->mib_size_log2); in av1_zero_above_context()
/external/libaom/libaom/test/
Dhiprec_convolve_test_util.cc86 int output_n = ALIGN_POWER_OF_TWO(out_w, 4) * out_h; in RunCheckOutput()
132 int output_n = ALIGN_POWER_OF_TWO(out_w, 4) * out_h; in RunSpeedTest()
223 int output_n = ALIGN_POWER_OF_TWO(out_w, 4) * out_h; in RunCheckOutput()
274 int output_n = ALIGN_POWER_OF_TWO(out_w, 4) * out_h; in RunSpeedTest()
Dav1_horz_only_frame_superres_test.cc52 src_stride_ = ALIGN_POWER_OF_TWO(w_src_ + 2 * kHPad, 4); in TestImage()
53 dst_stride_ = ALIGN_POWER_OF_TWO(w_dst_ + 2 * kHPad, 4); in TestImage()
/external/libaom/libaom/examples/
Dlightfield_bitstream_parsing.c62 #define ALIGN_POWER_OF_TWO(value, n) \ macro
344 const size_t data_sz = MAX_TILES * ALIGN_POWER_OF_TWO(tile_width, 5) * in main()
345 ALIGN_POWER_OF_TWO(tile_height, 5) * bps / 8; in main()
Danalyzer.cc134 ALIGN_POWER_OF_TWO(info->frame_width, 6)) - in getWidthPadding()
145 ALIGN_POWER_OF_TWO(info->frame_height, 6)) - in getHeightPadding()
/external/libvpx/libvpx/vp9/common/
Dvp9_alloccommon.c21 const int aligned_width = ALIGN_POWER_OF_TWO(width, MI_SIZE_LOG2); in vp9_set_mb_mi()
22 const int aligned_height = ALIGN_POWER_OF_TWO(height, MI_SIZE_LOG2); in vp9_set_mb_mi()
Dvp9_postproc.c328 const int width = ALIGN_POWER_OF_TWO(cm->width, 4); in vp9_post_proc_frame()
329 const int height = ALIGN_POWER_OF_TWO(cm->height, 4); in vp9_post_proc_frame()
Dvp9_onyxc_int.h311 return ALIGN_POWER_OF_TWO(n_mis, MI_BLOCK_SIZE_LOG2); in mi_cols_aligned_to_sb()
/external/libaom/libaom/av1/decoder/
Dinspection.c24 int mi_cols = ALIGN_POWER_OF_TWO(frame_width, 3) >> MI_SIZE_LOG2; in ifd_init()
25 int mi_rows = ALIGN_POWER_OF_TWO(frame_height, 3) >> MI_SIZE_LOG2; in ifd_init()
Ddecodeframe.c2342 ALIGN_POWER_OF_TWO(height, MI_SIZE_LOG2) >> MI_SIZE_LOG2; in resize_context_buffers()
2344 ALIGN_POWER_OF_TWO(width, MI_SIZE_LOG2) >> MI_SIZE_LOG2; in resize_context_buffers()
2520 int width_mi = ALIGN_POWER_OF_TWO(cm->mi_cols, cm->seq_params.mib_size_log2); in read_tile_info_max_tile()
2521 int height_mi = ALIGN_POWER_OF_TWO(cm->mi_rows, cm->seq_params.mib_size_log2); in read_tile_info_max_tile()
4041 ALIGN_POWER_OF_TWO(tile_info.mi_row_end - tile_info.mi_row_start, in row_mt_frame_init()
4044 ALIGN_POWER_OF_TWO(tile_info.mi_col_end - tile_info.mi_col_start, in row_mt_frame_init()
/external/libvpx/libvpx/vpx_ports/
Dmem.h34 #define ALIGN_POWER_OF_TWO(value, n) \ macro
/external/libaom/libaom/av1/encoder/
Dextend.c113 AOMMAX(src->y_width + 16, ALIGN_POWER_OF_TWO(src->y_width, 6)) - in av1_copy_and_extend_frame()
116 AOMMAX(src->y_height + 16, ALIGN_POWER_OF_TWO(src->y_height, 6)) - in av1_copy_and_extend_frame()
Dencoder.h1163 const int sb_rows = ALIGN_POWER_OF_TWO(mb_rows, shift) >> shift; in get_token_alloc()
1164 const int sb_cols = ALIGN_POWER_OF_TWO(mb_cols, shift) >> shift; in get_token_alloc()
Dencoder.c852 ALIGN_POWER_OF_TWO(cm->mi_rows, cm->seq_params.mib_size_log2); in alloc_compressor_data()
893 int mi_cols = ALIGN_POWER_OF_TWO(cm->mi_cols, cm->seq_params.mib_size_log2); in set_tile_info()
913 int mi_rows = ALIGN_POWER_OF_TWO(cm->mi_rows, cm->seq_params.mib_size_log2); in set_tile_info()
2731 int mi_cols = ALIGN_POWER_OF_TWO(cm->mi_cols, MAX_MIB_SIZE_LOG2); in av1_create_compressor()
2732 int mi_rows = ALIGN_POWER_OF_TWO(cm->mi_rows, MAX_MIB_SIZE_LOG2); in av1_create_compressor()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_extend.c114 VPXMAX(src->y_width + 16, ALIGN_POWER_OF_TWO(src->y_width, 6)) - in vp9_copy_and_extend_frame()
117 VPXMAX(src->y_height + 16, ALIGN_POWER_OF_TWO(src->y_height, 6)) - in vp9_copy_and_extend_frame()
Dvp9_ethread.c60 const int aligned_width = ALIGN_POWER_OF_TWO(cpi->oxcf.width, MI_SIZE_LOG2); in get_max_tile_cols()
/external/libaom/libaom/aom_ports/
Dmem.h61 #define ALIGN_POWER_OF_TWO(value, n) \ macro
/external/libvpx/libvpx/vp9/
Dvp9_iface_common.h43 img->h = ALIGN_POWER_OF_TWO(yv12->y_height + 2 * VP9_ENC_BORDER_IN_PIXELS, 3); in yuvconfig2image()
/external/libaom/libaom/av1/common/x86/
Dselfguided_avx2.c556 const int buf_elts = ALIGN_POWER_OF_TWO(RESTORATION_PROC_UNIT_PELS, 3); in av1_selfguided_restoration_avx2()
559 32, 4 * sizeof(*buf) * ALIGN_POWER_OF_TWO(RESTORATION_PROC_UNIT_PELS, 3)); in av1_selfguided_restoration_avx2()
568 int buf_stride = ALIGN_POWER_OF_TWO(width_ext + 16, 3); in av1_selfguided_restoration_avx2()
/external/libaom/libaom/av1/
Dav1_dx_iface.c710 const int w_even = ALIGN_POWER_OF_TWO(img->d_w, 1); in add_grain_if_needed()
711 const int h_even = ALIGN_POWER_OF_TWO(img->d_h, 1); in add_grain_if_needed()
714 const int alloc_w = ALIGN_POWER_OF_TWO(grain_img_buf->d_w, 1); in add_grain_if_needed()
715 const int alloc_h = ALIGN_POWER_OF_TWO(grain_img_buf->d_h, 1); in add_grain_if_needed()
Dav1_cx_iface.c1655 size_t data_sz = ALIGN_POWER_OF_TWO(ctx->cfg.g_w, 5) * in encoder_encode()
1656 ALIGN_POWER_OF_TWO(ctx->cfg.g_h, 5) * get_image_bps(img); in encoder_encode()

12