Home
last modified time | relevance | path

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

/bsp/allwinner/libraries/sunxi-hal/hal/test/disp2/
A Ddisp_lbc_test.c40 u32 seg_width = 16, seg_height = 4; in cal() local
48 seg_tar_bits = ((seg_width * seg_height * bit_depth * cmp_ratio * 3 / 2000) / ALIGN) * ALIGN; in cal()
51 dec_segline_tar_bits = ((frm_width + seg_width - 1) / seg_width) * seg_tar_bits; in cal()
55 …dec_segline_tar_bits = ((frm_width + seg_width - 1) / seg_width * seg_width * seg_height * bit_dep… in cal()
/bsp/allwinner/libraries/sunxi-hal/hal/source/g2d_rcq/
A Dg2d_rotate.c288 u32 seg_width = 16, seg_height = 4; in g2d_lbc_calc_ctrl() local
296 seg_tar_bits = ((seg_width * seg_height * bit_depth * cmp_ratio * 3 / 2000) / ALIGN) * ALIGN; in g2d_lbc_calc_ctrl()
299 dec_segline_tar_bits = ((frm_width + seg_width - 1) / seg_width) * seg_tar_bits; in g2d_lbc_calc_ctrl()
301 enc_segline_tar_bits = ((frm_height + seg_width - 1) / seg_width) * seg_tar_bits; in g2d_lbc_calc_ctrl()
305 y_mode_bits = seg_width / 8 * (3 * 2 + 2); in g2d_lbc_calc_ctrl()
306 c_mode_bits = 2 * (seg_width / 2 / 8 * 2); in g2d_lbc_calc_ctrl()
307 y_data_bits = seg_width * seg_height * bit_depth; in g2d_lbc_calc_ctrl()
308 c_data_bits = seg_width * seg_height * bit_depth / 2 + 2 * (seg_width / 2 / 8) * 4; in g2d_lbc_calc_ctrl()
312 dec_segline_tar_bits = ((frm_width + seg_width - 1) / seg_width) * seg_tar_bits; in g2d_lbc_calc_ctrl()
314 enc_segline_tar_bits = ((frm_height + seg_width - 1) / seg_width) * seg_tar_bits; in g2d_lbc_calc_ctrl()

Completed in 8 milliseconds