Home
last modified time | relevance | path

Searched refs:pix_size (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/media/platform/samsung/exynos4-is/
Dfimc-core.c332 u32 pix_size; in fimc_prepare_addr() local
337 pix_size = frame->width * frame->height; in fimc_prepare_addr()
340 frame->fmt->memplanes, frame->fmt->colplanes, pix_size); in fimc_prepare_addr()
352 addr->cb = (u32)(addr->y + pix_size); in fimc_prepare_addr()
356 addr->cb = (u32)(addr->y + pix_size); in fimc_prepare_addr()
359 addr->cr = (u32)(addr->cb + (pix_size >> 2)); in fimc_prepare_addr()
361 addr->cr = (u32)(addr->cb + (pix_size >> 1)); in fimc_prepare_addr()
/linux-6.12.1/drivers/gpu/drm/imx/dcss/
Ddcss-dpr.c97 enum dcss_pix_size pix_size; member
197 pix_in_64byte = pix_in_64byte_map[ch->pix_size][ch->tile]; in dcss_dpr_x_pix_wide_adjust()
295 ch->pix_size = val; in dcss_dpr_pix_size_set()
/linux-6.12.1/drivers/media/platform/samsung/exynos-gsc/
Dgsc-core.c802 u32 pix_size; in gsc_prepare_addr() local
807 pix_size = frame->f_width * frame->f_height; in gsc_prepare_addr()
810 frame->fmt->num_planes, frame->fmt->num_comp, pix_size); in gsc_prepare_addr()
822 addr->cb = (dma_addr_t)(addr->y + pix_size); in gsc_prepare_addr()
827 addr->cb = (dma_addr_t)(addr->y + pix_size); in gsc_prepare_addr()
830 + (pix_size >> 2)); in gsc_prepare_addr()
833 + (pix_size >> 1)); in gsc_prepare_addr()
/linux-6.12.1/drivers/media/platform/samsung/s5p-jpeg/
Djpeg-core.c2119 u32 pix_size, padding_bytes = 0; in exynos4_jpeg_set_img_addr() local
2124 pix_size = ctx->cap_q.w * ctx->cap_q.h; in exynos4_jpeg_set_img_addr()
2139 jpeg_addr.cb = jpeg_addr.y + pix_size - padding_bytes; in exynos4_jpeg_set_img_addr()
2141 jpeg_addr.cb = jpeg_addr.y + pix_size; in exynos4_jpeg_set_img_addr()
2143 jpeg_addr.cr = jpeg_addr.cb + pix_size / 4; in exynos4_jpeg_set_img_addr()
2145 jpeg_addr.cr = jpeg_addr.cb + pix_size / 2; in exynos4_jpeg_set_img_addr()
2280 u32 pix_size; in exynos3250_jpeg_set_img_addr() local
2282 pix_size = ctx->cap_q.w * ctx->cap_q.h; in exynos3250_jpeg_set_img_addr()
2295 jpeg_addr.cb = jpeg_addr.y + pix_size; in exynos3250_jpeg_set_img_addr()
2297 jpeg_addr.cb = jpeg_addr.y + pix_size; in exynos3250_jpeg_set_img_addr()
[all …]
/linux-6.12.1/drivers/media/platform/samsung/s3c-camif/
Dcamif-capture.c245 u32 pix_size; in camif_prepare_addr() local
250 pix_size = frame->rect.width * frame->rect.height; in camif_prepare_addr()
253 vp->out_fmt->colplanes, pix_size); in camif_prepare_addr()
264 paddr->cb = (u32)(paddr->y + pix_size); in camif_prepare_addr()
268 paddr->cb = (u32)(paddr->y + pix_size); in camif_prepare_addr()
271 paddr->cr = (u32)(paddr->cb + (pix_size >> 1)); in camif_prepare_addr()
273 paddr->cr = (u32)(paddr->cb + (pix_size >> 2)); in camif_prepare_addr()
/linux-6.12.1/drivers/media/platform/mediatek/mdp/
Dmtk_mdp_m2m.c431 u32 pix_size, planes, i; in mtk_mdp_prepare_addr() local
433 pix_size = frame->width * frame->height; in mtk_mdp_prepare_addr()
440 addr->addr[1] = (dma_addr_t)(addr->addr[0] + pix_size); in mtk_mdp_prepare_addr()
442 (pix_size >> 2)); in mtk_mdp_prepare_addr()
450 ctx->id, planes, pix_size, (void *)addr->addr[0], in mtk_mdp_prepare_addr()