Lines Matching full:dst_img
1323 exynos_gsc_img *dst_img)
1342 (src_img->drmMode != dst_img->drmMode)) {
1345 src_img->drmMode, dst_img->drmMode);
1350 dst_color_space = HAL_PIXEL_FORMAT_2_V4L2_PIX(dst_img->format);
1351 rotateValueHAL2GSC(dst_img->rot, &rotate, &hflip, &vflip);
1364 ret = exynos_gsc_set_dst_format(gsc_handle, dst_img->fw, dst_img->fh,
1365 dst_img->x, dst_img->y, dst_img->w, dst_img->h,
1366 dst_color_space, dst_img->cacheable, dst_img->drmMode,
1367 dst_img->narrowRgb);
1370 __func__, dst_img->fw, dst_img->fh, dst_img->x, dst_img->y, dst_img->w, dst_img->h,
1371 src_color_space, dst_img->rot);
1382 exynos_gsc_img *dst_img)
1396 int csc_range = !dst_img->narrowRgb;
1417 memcpy(&gsc_handle->dst_img, dst_img, sizeof(exynos_gsc_img));
1419 dst_color_space = HAL_PIXEL_FORMAT_2_V4L2_PIX(dst_img->format);
1423 rotateValueHAL2GSC(dst_img->rot, &rotate, &hflip, &vflip);
1433 if (m_exynos_gsc_check_dst_size(&gsc_handle->dst_img.fw, &gsc_handle->dst_img.fh,
1434 &gsc_handle->dst_img.x, &gsc_handle->dst_img.y,
1435 &gsc_handle->dst_img.w, &gsc_handle->dst_img.h,
1449 sd_fmt.format.width = gsc_handle->dst_img.fw;
1450 sd_fmt.format.height = gsc_handle->dst_img.fh;
1452 sd_fmt.format.width = gsc_handle->dst_img.w;
1453 sd_fmt.format.height = gsc_handle->dst_img.h;
1466 sd_crop.rect.left = gsc_handle->dst_img.x;
1467 sd_crop.rect.top = gsc_handle->dst_img.y;
1468 sd_crop.rect.width = gsc_handle->dst_img.w;
1469 sd_crop.rect.height = gsc_handle->dst_img.h;
1473 sd_crop.rect.width = gsc_handle->dst_img.w;
1474 sd_crop.rect.height = gsc_handle->dst_img.h;
1485 sd_fmt.format.width = gsc_handle->dst_img.w;
1486 sd_fmt.format.height = gsc_handle->dst_img.h;
1489 sd_fmt.format.width = gsc_handle->dst_img.w + gsc_handle->dst_img.x*2;
1490 sd_fmt.format.height = gsc_handle->dst_img.h + gsc_handle->dst_img.y*2;
1509 sd_crop.rect.left = gsc_handle->dst_img.x;
1510 sd_crop.rect.top = gsc_handle->dst_img.y;
1511 sd_crop.rect.width = gsc_handle->dst_img.w;
1512 sd_crop.rect.height = gsc_handle->dst_img.h;
1516 sd_crop.rect.width = gsc_handle->dst_img.w;
1517 sd_crop.rect.height = gsc_handle->dst_img.h;
1527 sd_fmt.format.width = gsc_handle->dst_img.w + gsc_handle->dst_img.x*2;
1528 sd_fmt.format.height = gsc_handle->dst_img.h + gsc_handle->dst_img.y*2;
1537 sd_crop.rect.left = gsc_handle->dst_img.x;
1538 sd_crop.rect.top = gsc_handle->dst_img.y;
1539 sd_crop.rect.width = gsc_handle->dst_img.w;
1540 sd_crop.rect.height = gsc_handle->dst_img.h;
2086 exynos_gsc_img *dst_img)
2104 addr[0] = (void *)dst_img->yaddr;
2105 addr[1] = (void *)dst_img->uaddr;
2106 addr[2] = (void *)dst_img->vaddr;
2107 ret = exynos_gsc_set_dst_addr(handle, addr, dst_img->acquireFenceFd);
2125 if (dst_img->acquireFenceFd >= 0) {
2126 close(dst_img->acquireFenceFd);
2127 dst_img->acquireFenceFd = -1;
2131 dst_img->releaseFenceFd = gsc_handle->dst.releaseFenceFd;
2140 exynos_gsc_img *dst_img)
2155 ret = exynos_gsc_m2m_config(handle, src_img, dst_img);
2158 ret = exynos_gsc_out_config(handle, src_img, dst_img);
2175 exynos_gsc_img *dst_img)
2190 ret = exynos_gsc_m2m_run(handle, src_img, dst_img);