Lines Matching defs:dst_img

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