Home
last modified time | relevance | path

Searched refs:sd_crop (Results 1 – 2 of 2) sorted by relevance

/hardware/google/graphics/common/libgscaler/
Dlibgscaler_obj.cpp976 struct v4l2_subdev_crop sd_crop; in m_gsc_out_config() local
1035 sd_crop.pad = GSCALER_SUBDEV_PAD_SOURCE; in m_gsc_out_config()
1036 sd_crop.which = V4L2_SUBDEV_FORMAT_ACTIVE; in m_gsc_out_config()
1038 sd_crop.rect.left = gsc->dst_img.x; in m_gsc_out_config()
1039 sd_crop.rect.top = gsc->dst_img.y; in m_gsc_out_config()
1040 sd_crop.rect.width = gsc->dst_img.w; in m_gsc_out_config()
1041 sd_crop.rect.height = gsc->dst_img.h; in m_gsc_out_config()
1043 sd_crop.rect.left = 0; in m_gsc_out_config()
1044 sd_crop.rect.top = 0; in m_gsc_out_config()
1045 sd_crop.rect.width = gsc->dst_img.w; in m_gsc_out_config()
[all …]
Dlibgscaler.cpp366 struct v4l2_subdev_crop sd_crop; in exynos_gsc_subdev_s_crop() local
373 sd_crop.pad = GSCALER_SUBDEV_PAD_SOURCE; in exynos_gsc_subdev_s_crop()
374 sd_crop.which = V4L2_SUBDEV_FORMAT_ACTIVE; in exynos_gsc_subdev_s_crop()
375 sd_crop.rect.left = dst_img->x; in exynos_gsc_subdev_s_crop()
376 sd_crop.rect.top = dst_img->y; in exynos_gsc_subdev_s_crop()
377 sd_crop.rect.width = dst_img->w; in exynos_gsc_subdev_s_crop()
378 sd_crop.rect.height = dst_img->h; in exynos_gsc_subdev_s_crop()
380 return exynos_subdev_s_crop(gsc->mdev.gsc_sd_entity->fd, &sd_crop); in exynos_gsc_subdev_s_crop()