Home | History | Annotate | Download | only in HAL3

Lines Matching refs:scalerCropRegion

1943              int32_t scalerCropRegion[4];
1944 scalerCropRegion[0] = hScalerCropRegion->left;
1945 scalerCropRegion[1] = hScalerCropRegion->top;
1946 scalerCropRegion[2] = hScalerCropRegion->width;
1947 scalerCropRegion[3] = hScalerCropRegion->height;
1948 camMetadata.update(ANDROID_SCALER_CROP_REGION, scalerCropRegion, 4);
2287 * @scalerCropRegion : cam_crop_region_t region to compare against
2292 const cam_crop_region_t* scalerCropRegion)
2296 int32_t crop_x_max = scalerCropRegion->width + scalerCropRegion->left;
2297 int32_t crop_y_max = scalerCropRegion->height + scalerCropRegion->top;
2298 if ((roi_x_max < scalerCropRegion->left) ||
2299 (roi_y_max < scalerCropRegion->top) ||
2304 if (roi->rect.left < scalerCropRegion->left) {
2305 roi->rect.left = scalerCropRegion->left;
2307 if (roi->rect.top < scalerCropRegion->top) {
2308 roi->rect.top = scalerCropRegion->top;
3790 cam_crop_region_t scalerCropRegion;
3793 scalerCropRegion.left =
3795 scalerCropRegion.top =
3797 scalerCropRegion.width =
3799 scalerCropRegion.height =
3803 sizeof(scalerCropRegion), &scalerCropRegion);
3969 reset = resetIfNeededROI(&roi, &scalerCropRegion);
3982 reset = resetIfNeededROI(&roi, &scalerCropRegion);
3995 reset = resetIfNeededROI(&roi, &scalerCropRegion);