Lines Matching refs:src_img

1337     exynos_gsc_img *src_img,  in exynos_gsc_m2m_config()  argument
1356 if ((src_img->drmMode && !gsc_handle->allow_drm) || in exynos_gsc_m2m_config()
1357 (src_img->drmMode != dst_img->drmMode)) { in exynos_gsc_m2m_config()
1360 src_img->drmMode, dst_img->drmMode); in exynos_gsc_m2m_config()
1364 src_color_space = HAL_PIXEL_FORMAT_2_V4L2_PIX(src_img->format); in exynos_gsc_m2m_config()
1369 ret = exynos_gsc_set_src_format(gsc_handle, src_img->fw, src_img->fh, in exynos_gsc_m2m_config()
1370 src_img->x, src_img->y, src_img->w, src_img->h, in exynos_gsc_m2m_config()
1371 src_color_space, src_img->cacheable, src_img->drmMode); in exynos_gsc_m2m_config()
1374 __func__, src_img->fw, src_img->fh, src_img->x, src_img->y, src_img->w, src_img->h, in exynos_gsc_m2m_config()
1375 src_color_space, src_img->rot); in exynos_gsc_m2m_config()
1396 exynos_gsc_img *src_img, in exynos_gsc_out_config() argument
1431 memcpy(&gsc_handle->src_img, src_img, sizeof(exynos_gsc_img)); in exynos_gsc_out_config()
1433 src_color_space = HAL_PIXEL_FORMAT_2_V4L2_PIX(src_img->format); in exynos_gsc_out_config()
1440 if (m_exynos_gsc_check_src_size(&gsc_handle->src_img.fw, &gsc_handle->src_img.fh, in exynos_gsc_out_config()
1441 &gsc_handle->src_img.x, &gsc_handle->src_img.y, in exynos_gsc_out_config()
1442 &gsc_handle->src_img.w, &gsc_handle->src_img.h, in exynos_gsc_out_config()
1584 V4L2_CID_CONTENT_PROTECTION, gsc_handle->src_img.drmMode) < 0) { in exynos_gsc_out_config()
1598 fmt.fmt.pix_mp.width = gsc_handle->src_img.fw; in exynos_gsc_out_config()
1599 fmt.fmt.pix_mp.height = gsc_handle->src_img.fh; in exynos_gsc_out_config()
1611 crop.c.left = gsc_handle->src_img.x; in exynos_gsc_out_config()
1612 crop.c.top = gsc_handle->src_img.y; in exynos_gsc_out_config()
1613 crop.c.width = gsc_handle->src_img.w; in exynos_gsc_out_config()
1614 crop.c.height = gsc_handle->src_img.h; in exynos_gsc_out_config()
1636 exynos_gsc_img *src_img) in exynos_gsc_out_run() argument
1675 src_color_space = HAL_PIXEL_FORMAT_2_V4L2_PIX(gsc_handle->src_img.format); in exynos_gsc_out_run()
1685 buf.reserved = src_img->acquireFenceFd; in exynos_gsc_out_run()
1687 gsc_handle->src.addr[0] = src_img->yaddr; in exynos_gsc_out_run()
1688 gsc_handle->src.addr[1] = src_img->uaddr; in exynos_gsc_out_run()
1689 gsc_handle->src.addr[2] = src_img->vaddr; in exynos_gsc_out_run()
1692 gsc_handle->src_img.fw * gsc_handle->src_img.fh, src_planes) != true) { in exynos_gsc_out_run()
1721 src_img->releaseFenceFd = buf.reserved; in exynos_gsc_out_run()
2100 exynos_gsc_img *src_img, in exynos_gsc_m2m_run() argument
2109 addr[0] = (void *)src_img->yaddr; in exynos_gsc_m2m_run()
2110 addr[1] = (void *)src_img->uaddr; in exynos_gsc_m2m_run()
2111 addr[2] = (void *)src_img->vaddr; in exynos_gsc_m2m_run()
2112 ret = exynos_gsc_set_src_addr(handle, addr, src_img->acquireFenceFd); in exynos_gsc_m2m_run()
2135 if (src_img->acquireFenceFd >= 0) { in exynos_gsc_m2m_run()
2136 close(src_img->acquireFenceFd); in exynos_gsc_m2m_run()
2137 src_img->acquireFenceFd = -1; in exynos_gsc_m2m_run()
2145 src_img->releaseFenceFd = gsc_handle->src.releaseFenceFd; in exynos_gsc_m2m_run()
2154 exynos_gsc_img *src_img, in exynos_gsc_config_exclusive() argument
2170 ret = exynos_gsc_m2m_config(handle, src_img, dst_img); in exynos_gsc_config_exclusive()
2173 ret = exynos_gsc_out_config(handle, src_img, dst_img); in exynos_gsc_config_exclusive()
2189 exynos_gsc_img *src_img, in exynos_gsc_run_exclusive() argument
2205 ret = exynos_gsc_m2m_run(handle, src_img, dst_img); in exynos_gsc_run_exclusive()
2208 ret = exynos_gsc_out_run(handle, src_img); in exynos_gsc_run_exclusive()