Lines Matching refs:offset_x
289 RK_U32 offset_x = cfg->offset_x; in get_vepu_offset_cfg() local
296 if (offset_x || offset_y) { in get_vepu_offset_cfg()
299 cfg->offset_byte[0] = offset_y * hor_stride + offset_x; in get_vepu_offset_cfg()
300 cfg->offset_byte[1] = offset_y / 2 * hor_stride + offset_x + offset_c; in get_vepu_offset_cfg()
303 cfg->offset_byte[0] = offset_y * hor_stride + offset_x; in get_vepu_offset_cfg()
304 cfg->offset_byte[1] = (offset_y / 2) * (hor_stride / 2) + (offset_x / 2) + offset_c; in get_vepu_offset_cfg()
305 … cfg->offset_byte[2] = (offset_y / 2) * (hor_stride / 2) + (offset_x / 2) + offset_c * 5 / 4; in get_vepu_offset_cfg()
309 mpp_assert((offset_x & 1) == 0); in get_vepu_offset_cfg()
310 cfg->offset_byte[0] = offset_y * hor_stride + offset_x * 2; in get_vepu_offset_cfg()
318 cfg->offset_byte[0] = offset_y * hor_stride + offset_x * 2; in get_vepu_offset_cfg()
326 cfg->offset_byte[0] = offset_y * hor_stride + offset_x * 4; in get_vepu_offset_cfg()