Home
last modified time | relevance | path

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

/drivers/media/platform/samsung/exynos4-is/
Dfimc-core.c333 u32 pix_size; in fimc_prepare_addr() local
338 pix_size = frame->width * frame->height; in fimc_prepare_addr()
341 frame->fmt->memplanes, frame->fmt->colplanes, pix_size); in fimc_prepare_addr()
353 addr->cb = (u32)(addr->y + pix_size); in fimc_prepare_addr()
357 addr->cb = (u32)(addr->y + pix_size); in fimc_prepare_addr()
360 addr->cr = (u32)(addr->cb + (pix_size >> 2)); in fimc_prepare_addr()
362 addr->cr = (u32)(addr->cb + (pix_size >> 1)); in fimc_prepare_addr()
/drivers/media/platform/samsung/exynos-gsc/
Dgsc-core.c803 u32 pix_size; in gsc_prepare_addr() local
808 pix_size = frame->f_width * frame->f_height; in gsc_prepare_addr()
811 frame->fmt->num_planes, frame->fmt->num_comp, pix_size); in gsc_prepare_addr()
823 addr->cb = (dma_addr_t)(addr->y + pix_size); in gsc_prepare_addr()
828 addr->cb = (dma_addr_t)(addr->y + pix_size); in gsc_prepare_addr()
831 + (pix_size >> 2)); in gsc_prepare_addr()
834 + (pix_size >> 1)); in gsc_prepare_addr()
/drivers/gpu/drm/imx/dcss/
Ddcss-dpr.c97 enum dcss_pix_size pix_size; member
212 pix_in_64byte = pix_in_64byte_map[ch->pix_size][ch->tile]; in dcss_dpr_x_pix_wide_adjust()
310 ch->pix_size = val; in dcss_dpr_pix_size_set()
/drivers/media/platform/samsung/s5p-jpeg/
Djpeg-core.c2114 u32 pix_size, padding_bytes = 0; in exynos4_jpeg_set_img_addr() local
2119 pix_size = ctx->cap_q.w * ctx->cap_q.h; in exynos4_jpeg_set_img_addr()
2134 jpeg_addr.cb = jpeg_addr.y + pix_size - padding_bytes; in exynos4_jpeg_set_img_addr()
2136 jpeg_addr.cb = jpeg_addr.y + pix_size; in exynos4_jpeg_set_img_addr()
2138 jpeg_addr.cr = jpeg_addr.cb + pix_size / 4; in exynos4_jpeg_set_img_addr()
2140 jpeg_addr.cr = jpeg_addr.cb + pix_size / 2; in exynos4_jpeg_set_img_addr()
2275 u32 pix_size; in exynos3250_jpeg_set_img_addr() local
2277 pix_size = ctx->cap_q.w * ctx->cap_q.h; in exynos3250_jpeg_set_img_addr()
2290 jpeg_addr.cb = jpeg_addr.y + pix_size; in exynos3250_jpeg_set_img_addr()
2292 jpeg_addr.cb = jpeg_addr.y + pix_size; in exynos3250_jpeg_set_img_addr()
[all …]
/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()
/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()