Lines Matching refs:src_img

912     exynos_mpp_img *src_img, exynos_mpp_img *dst_img)  in m_gsc_m2m_config()  argument
928 if ((src_img->drmMode && !gsc->allow_drm) || in m_gsc_m2m_config()
929 (src_img->drmMode != dst_img->drmMode)) { in m_gsc_m2m_config()
931 __func__, gsc->gsc_id, src_img->drmMode, dst_img->drmMode); in m_gsc_m2m_config()
935 src_color_space = hal_pixfmt_to_v4l2(src_img->format); in m_gsc_m2m_config()
940 ret = exynos_gsc_set_src_format(gsc, src_img->fw, src_img->fh, in m_gsc_m2m_config()
941 src_img->x, src_img->y, src_img->w, src_img->h, in m_gsc_m2m_config()
942 src_color_space, src_img->cacheable, src_img->drmMode); in m_gsc_m2m_config()
946 __func__, src_img->fw, src_img->fh, src_img->x, src_img->y, in m_gsc_m2m_config()
947 src_img->w, src_img->h, src_color_space, src_img->rot); in m_gsc_m2m_config()
968 exynos_mpp_img *src_img, exynos_mpp_img *dst_img) in m_gsc_out_config() argument
997 memcpy(&gsc->src_img, src_img, sizeof(exynos_mpp_img)); in m_gsc_out_config()
999 src_color_space = hal_pixfmt_to_v4l2(src_img->format); in m_gsc_out_config()
1006 if (CGscaler::m_gsc_check_src_size(&gsc->src_img.fw, in m_gsc_out_config()
1007 &gsc->src_img.fh, &gsc->src_img.x, &gsc->src_img.y, in m_gsc_out_config()
1008 &gsc->src_img.w, &gsc->src_img.h, src_color_space, in m_gsc_out_config()
1150 ctrl.value = gsc->src_img.drmMode; in m_gsc_out_config()
1180 fmt.fmt.pix_mp.width = gsc->src_img.fw; in m_gsc_out_config()
1181 fmt.fmt.pix_mp.height = gsc->src_img.fh; in m_gsc_out_config()
1193 crop.c.left = gsc->src_img.x; in m_gsc_out_config()
1194 crop.c.top = gsc->src_img.y; in m_gsc_out_config()
1195 crop.c.width = gsc->src_img.w; in m_gsc_out_config()
1196 crop.c.height = gsc->src_img.h; in m_gsc_out_config()
1218 exynos_mpp_img *src_img, exynos_mpp_img *dst_img) in m_gsc_cap_config() argument
1242 memcpy(&gsc->src_img, src_img, sizeof(exynos_mpp_img)); in m_gsc_cap_config()
1244 src_color_space = hal_pixfmt_to_v4l2(src_img->format); in m_gsc_cap_config()
1249 CGscaler::rotateValueHAL2GSC(src_img->rot, &rotate, &hflip, &vflip); in m_gsc_cap_config()
1251 if (CGscaler::m_gsc_check_src_size(&gsc->src_img.fw, in m_gsc_cap_config()
1252 &gsc->src_img.fh, &gsc->src_img.x, &gsc->src_img.y, in m_gsc_cap_config()
1253 &gsc->src_img.w, &gsc->src_img.h, src_color_space, in m_gsc_cap_config()
1295 ctrl.value = gsc->src_img.drmMode; in m_gsc_cap_config()
1312 sd_fmt.format.width = gsc->src_img.w; in m_gsc_cap_config()
1313 sd_fmt.format.height = gsc->src_img.h; in m_gsc_cap_config()
1340 sd_fmt.format.width = gsc->src_img.w; in m_gsc_cap_config()
1341 sd_fmt.format.height = gsc->src_img.h; in m_gsc_cap_config()
1364 sd_crop.rect.width = gsc->src_img.w; in m_gsc_cap_config()
1365 sd_crop.rect.height = gsc->src_img.h; in m_gsc_cap_config()
1427 exynos_mpp_img *src_img, exynos_mpp_img *dst_img) in m_gsc_m2m_run() argument
1439 addr[0] = (void *)src_img->yaddr; in m_gsc_m2m_run()
1440 addr[1] = (void *)src_img->uaddr; in m_gsc_m2m_run()
1441 addr[2] = (void *)src_img->vaddr; in m_gsc_m2m_run()
1442 ret = exynos_gsc_set_src_addr(handle, addr, src_img->mem_type, in m_gsc_m2m_run()
1443 src_img->acquireFenceFd); in m_gsc_m2m_run()
1467 if (src_img->acquireFenceFd >= 0) { in m_gsc_m2m_run()
1468 close(src_img->acquireFenceFd); in m_gsc_m2m_run()
1469 src_img->acquireFenceFd = -1; in m_gsc_m2m_run()
1477 src_img->releaseFenceFd = gsc->src_info.releaseFenceFd; in m_gsc_m2m_run()
1485 int CGscaler::m_gsc_out_run(void *handle, exynos_mpp_img *src_img) in m_gsc_out_run() argument
1512 src_color_space = hal_pixfmt_to_v4l2(gsc->src_img.format); in m_gsc_out_run()
1540 src_color_space = hal_pixfmt_to_v4l2(gsc->src_img.format); in m_gsc_out_run()
1552 gsc->src_info.buf.addr[0] = (void*)src_img->yaddr; in m_gsc_out_run()
1553 gsc->src_info.buf.addr[1] = (void*)src_img->uaddr; in m_gsc_out_run()
1554 gsc->src_info.buf.addr[2] = (void*)src_img->vaddr; in m_gsc_out_run()
1557 gsc->src_img.fw, gsc->src_img.fh, src_planes) != true) { in m_gsc_out_run()
1791 exynos_mpp_img *src_img, exynos_mpp_img __UNUSED__ *dst_img) in SetInputCrop() argument
1801 crop.c.left = src_img->x; in SetInputCrop()
1802 crop.c.top = src_img->y; in SetInputCrop()
1803 crop.c.width = src_img->w; in SetInputCrop()
1804 crop.c.height = src_img->h; in SetInputCrop()