Searched refs:img_stride (Results 1 – 4 of 4) sorted by relevance
98 u32 img_stride; in mtk_jpeg_set_enc_params() local121 img_stride = round_up(width, 16); in mtk_jpeg_set_enc_params()125 img_stride = round_up(width * 2, 32); in mtk_jpeg_set_enc_params()126 mem_stride = img_stride; in mtk_jpeg_set_enc_params()128 writel(img_stride, base + JPEG_ENC_IMG_STRIDE); in mtk_jpeg_set_enc_params()
158 param->img_stride[i] = i ? round_up(param->comp_w[i], 16) in mtk_jpeg_calc_dst_size()162 param->dec_w = param->img_stride[0]; in mtk_jpeg_calc_dst_size()167 param->mem_stride[i] = param->img_stride[i]; in mtk_jpeg_calc_dst_size()401 mtk_jpeg_dec_set_img_stride(base, config->img_stride[0], in mtk_jpeg_dec_set_config()402 config->img_stride[1]); in mtk_jpeg_dec_set_config()
48 u32 img_stride[MTK_JPEG_COMP_MAX]; member
1440 size_t img_stride; member1532 mip->img_stride = in svga3dsurface_setup_cache()1536 if (!mip->img_stride) in svga3dsurface_setup_cache()1581 loc->z = offset / mip->img_stride; in svga3dsurface_get_loc()1582 offset -= loc->z * mip->img_stride; in svga3dsurface_get_loc()