Lines Matching refs:dst_img

1338     exynos_gsc_img *dst_img)  in exynos_gsc_m2m_config()  argument
1357 (src_img->drmMode != dst_img->drmMode)) { in exynos_gsc_m2m_config()
1360 src_img->drmMode, dst_img->drmMode); in exynos_gsc_m2m_config()
1365 dst_color_space = HAL_PIXEL_FORMAT_2_V4L2_PIX(dst_img->format); in exynos_gsc_m2m_config()
1366 rotateValueHAL2GSC(dst_img->rot, &rotate, &hflip, &vflip); in exynos_gsc_m2m_config()
1379 ret = exynos_gsc_set_dst_format(gsc_handle, dst_img->fw, dst_img->fh, in exynos_gsc_m2m_config()
1380 dst_img->x, dst_img->y, dst_img->w, dst_img->h, in exynos_gsc_m2m_config()
1381 dst_color_space, dst_img->cacheable, dst_img->drmMode, in exynos_gsc_m2m_config()
1382 dst_img->narrowRgb); in exynos_gsc_m2m_config()
1385 __func__, dst_img->fw, dst_img->fh, dst_img->x, dst_img->y, dst_img->w, dst_img->h, in exynos_gsc_m2m_config()
1386 src_color_space, dst_img->rot); in exynos_gsc_m2m_config()
1397 exynos_gsc_img *dst_img) in exynos_gsc_out_config() argument
1411 int csc_range = !dst_img->narrowRgb; in exynos_gsc_out_config()
1432 memcpy(&gsc_handle->dst_img, dst_img, sizeof(exynos_gsc_img)); in exynos_gsc_out_config()
1434 dst_color_space = HAL_PIXEL_FORMAT_2_V4L2_PIX(dst_img->format); in exynos_gsc_out_config()
1438 rotateValueHAL2GSC(dst_img->rot, &rotate, &hflip, &vflip); in exynos_gsc_out_config()
1448 if (m_exynos_gsc_check_dst_size(&gsc_handle->dst_img.fw, &gsc_handle->dst_img.fh, in exynos_gsc_out_config()
1449 &gsc_handle->dst_img.x, &gsc_handle->dst_img.y, in exynos_gsc_out_config()
1450 &gsc_handle->dst_img.w, &gsc_handle->dst_img.h, in exynos_gsc_out_config()
1464 sd_fmt.format.width = gsc_handle->dst_img.fw; in exynos_gsc_out_config()
1465 sd_fmt.format.height = gsc_handle->dst_img.fh; in exynos_gsc_out_config()
1467 sd_fmt.format.width = gsc_handle->dst_img.w; in exynos_gsc_out_config()
1468 sd_fmt.format.height = gsc_handle->dst_img.h; in exynos_gsc_out_config()
1481 sd_crop.rect.left = gsc_handle->dst_img.x; in exynos_gsc_out_config()
1482 sd_crop.rect.top = gsc_handle->dst_img.y; in exynos_gsc_out_config()
1483 sd_crop.rect.width = gsc_handle->dst_img.w; in exynos_gsc_out_config()
1484 sd_crop.rect.height = gsc_handle->dst_img.h; in exynos_gsc_out_config()
1488 sd_crop.rect.width = gsc_handle->dst_img.w; in exynos_gsc_out_config()
1489 sd_crop.rect.height = gsc_handle->dst_img.h; in exynos_gsc_out_config()
1500 sd_fmt.format.width = gsc_handle->dst_img.w; in exynos_gsc_out_config()
1501 sd_fmt.format.height = gsc_handle->dst_img.h; in exynos_gsc_out_config()
1504 sd_fmt.format.width = gsc_handle->dst_img.w + gsc_handle->dst_img.x*2; in exynos_gsc_out_config()
1505 sd_fmt.format.height = gsc_handle->dst_img.h + gsc_handle->dst_img.y*2; in exynos_gsc_out_config()
1524 sd_crop.rect.left = gsc_handle->dst_img.x; in exynos_gsc_out_config()
1525 sd_crop.rect.top = gsc_handle->dst_img.y; in exynos_gsc_out_config()
1526 sd_crop.rect.width = gsc_handle->dst_img.w; in exynos_gsc_out_config()
1527 sd_crop.rect.height = gsc_handle->dst_img.h; in exynos_gsc_out_config()
1531 sd_crop.rect.width = gsc_handle->dst_img.w; in exynos_gsc_out_config()
1532 sd_crop.rect.height = gsc_handle->dst_img.h; in exynos_gsc_out_config()
1542 sd_fmt.format.width = gsc_handle->dst_img.w + gsc_handle->dst_img.x*2; in exynos_gsc_out_config()
1543 sd_fmt.format.height = gsc_handle->dst_img.h + gsc_handle->dst_img.y*2; in exynos_gsc_out_config()
1552 sd_crop.rect.left = gsc_handle->dst_img.x; in exynos_gsc_out_config()
1553 sd_crop.rect.top = gsc_handle->dst_img.y; in exynos_gsc_out_config()
1554 sd_crop.rect.width = gsc_handle->dst_img.w; in exynos_gsc_out_config()
1555 sd_crop.rect.height = gsc_handle->dst_img.h; in exynos_gsc_out_config()
2101 exynos_gsc_img *dst_img) in exynos_gsc_m2m_run() argument
2119 addr[0] = (void *)dst_img->yaddr; in exynos_gsc_m2m_run()
2120 addr[1] = (void *)dst_img->uaddr; in exynos_gsc_m2m_run()
2121 addr[2] = (void *)dst_img->vaddr; in exynos_gsc_m2m_run()
2122 ret = exynos_gsc_set_dst_addr(handle, addr, dst_img->acquireFenceFd); in exynos_gsc_m2m_run()
2140 if (dst_img->acquireFenceFd >= 0) { in exynos_gsc_m2m_run()
2141 close(dst_img->acquireFenceFd); in exynos_gsc_m2m_run()
2142 dst_img->acquireFenceFd = -1; in exynos_gsc_m2m_run()
2146 dst_img->releaseFenceFd = gsc_handle->dst.releaseFenceFd; in exynos_gsc_m2m_run()
2155 exynos_gsc_img *dst_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()
2190 exynos_gsc_img *dst_img) in exynos_gsc_run_exclusive() argument
2205 ret = exynos_gsc_m2m_run(handle, src_img, dst_img); in exynos_gsc_run_exclusive()