Home | History | Annotate | Download | only in libgscaler

Lines Matching full:sd_crop

1389     struct v4l2_subdev_crop   sd_crop;
1463 sd_crop.pad = GSCALER_SUBDEV_PAD_SOURCE;
1464 sd_crop.which = V4L2_SUBDEV_FORMAT_ACTIVE;
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;
1471 sd_crop.rect.left = 0;
1472 sd_crop.rect.top = 0;
1473 sd_crop.rect.width = gsc_handle->dst_img.w;
1474 sd_crop.rect.height = gsc_handle->dst_img.h;
1476 if (exynos_subdev_s_crop(gsc_handle->gsc_sd_entity->fd, &sd_crop) < 0) {
1503 sd_crop.pad = FIMD_SUBDEV_PAD_SINK;
1505 sd_crop.pad = MIXER_V_SUBDEV_PAD_SINK;
1507 sd_crop.which = V4L2_SUBDEV_FORMAT_ACTIVE;
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;
1514 sd_crop.rect.left = 0;
1515 sd_crop.rect.top = 0;
1516 sd_crop.rect.width = gsc_handle->dst_img.w;
1517 sd_crop.rect.height = gsc_handle->dst_img.h;
1519 if (exynos_subdev_s_crop(gsc_handle->sink_sd_entity->fd, &sd_crop) < 0) {
1520 ALOGE("%s::sink: subdev set crop failed(PAD=%d)", __func__, sd_crop.pad);
1536 sd_crop.which = V4L2_SUBDEV_FORMAT_ACTIVE;
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;
1541 if (exynos_subdev_s_crop(gsc_handle->sink_sd_entity->fd, &sd_crop) < 0) {
1542 ALOGE("%s::sink: subdev set crop failed(PAD=%d)", __func__, sd_crop.pad);