Home
last modified time | relevance | path

Searched refs:img_stride (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/media/platform/mediatek/jpeg/
Dmtk_jpeg_enc_hw.c127 u32 img_stride; in mtk_jpeg_set_enc_params() local
151 img_stride = round_up(width, 16); in mtk_jpeg_set_enc_params()
155 img_stride = round_up(width * 2, 32); in mtk_jpeg_set_enc_params()
156 mem_stride = img_stride; in mtk_jpeg_set_enc_params()
158 writel(img_stride, base + JPEG_ENC_IMG_STRIDE); in mtk_jpeg_set_enc_params()
Dmtk_jpeg_dec_hw.c182 param->img_stride[i] = i ? round_up(param->comp_w[i], 16) in mtk_jpeg_calc_dst_size()
186 param->dec_w = param->img_stride[0]; in mtk_jpeg_calc_dst_size()
191 param->mem_stride[i] = param->img_stride[i]; in mtk_jpeg_calc_dst_size()
433 mtk_jpeg_dec_set_img_stride(base, cfg->img_stride[0], in mtk_jpeg_dec_set_config()
434 cfg->img_stride[1]); in mtk_jpeg_dec_set_config()
Dmtk_jpeg_dec_hw.h49 u32 img_stride[MTK_JPEG_COMP_MAX]; member
/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmw_surface_cache.h311 size_t img_stride; member
405 mip->img_stride = in vmw_surface_setup_cache()
409 if (!mip->img_stride) in vmw_surface_setup_cache()
454 loc->z = offset / mip->img_stride; in vmw_surface_get_loc()
455 offset -= loc->z * mip->img_stride; in vmw_surface_get_loc()