Searched refs:crop (Results 1 – 8 of 8) sorted by relevance
/cts/apps/CameraITS/tests/inprog/ |
D | test_crop_region.py | 50 crop = req['android.scaler.cropRegion'] 52 crop["left"],crop["top"], 53 crop["right"]-crop["left"],crop["bottom"]-crop["top"]) 60 crop = cap["metadata"]['android.scaler.cropRegion'] 63 crop["left"],crop["top"], 64 crop["right"]-crop["left"],crop["bottom"]-crop["top"])
|
/cts/tests/tests/media/libmediandkjni/ |
D | codec-utils-jni.cpp | 37 struct crop { struct 42 } crop; member 181 img->crop.left = env->GetIntField(area, gFields.fieldLeft); in getNativeImage() 182 img->crop.top = env->GetIntField(area, gFields.fieldTop); in getNativeImage() 183 img->crop.right = env->GetIntField(area, gFields.fieldRight); in getNativeImage() 184 img->crop.bottom = env->GetIntField(area, gFields.fieldBottom); in getNativeImage() 185 if (img->crop.right == 0 && img->crop.bottom == 0) { in getNativeImage() 186 img->crop.right = img->width; in getNativeImage() 187 img->crop.bottom = img->height; in getNativeImage() 221 (img->crop.left >> xDecim) * img->plane[ix].colInc in getNativeImage() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | ScriptYuvCrop.java | 63 RectF crop = parameters.get(CROP_WINDOW); in createOutputInfo() local 65 (int)(crop.width() * inputSize.getWidth()), in createOutputInfo() 66 (int)(crop.height() * inputSize.getHeight())); in createOutputInfo()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ImageReaderDecoderTest.java | 630 Rect crop = image.getCropRect(); in validateSwirl() local 645 Rect area = new Rect(pos - step, pos, crop.width() / 2, crop.height() + 2 * step - pos); in validateSwirl() 649 area.offset(crop.left, crop.top); in validateSwirl() 650 area.intersect(crop); in validateSwirl() 668 area.offset(crop.centerX() - area.left, 2 * (crop.centerY() - area.centerY())); in validateSwirl() 753 Rect crop = image.getCropRect(); in getDataFromImage() local 755 int width = crop.width(); in getDataFromImage() 756 int height = crop.height(); in getDataFromImage() 787 int w = crop.width() >> shift; in getDataFromImage() 788 int h = crop.height() >> shift; in getDataFromImage() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | crop_yuvf_420_to_yuvx_444.rs | 27 yuvx_444 RS_KERNEL crop(uint32_t x, uint32_t y) {
|
D | ImageReaderTest.java | 583 Rect crop = new Rect(/*left*/wOffset, /*top*/hOffset, /*right*/wOffset + w, in convertPixelYuvToRgba() local 585 assertTrue("Output rectangle" + crop + " must lie within image bounds " + imageBounds, in convertPixelYuvToRgba() 586 imageBounds.contains(crop)); in convertPixelYuvToRgba()
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | TextureTestRenderer.java | 105 int crop[] = new int[] { 0, 0, 4, 4 }; in onDrawFrame() local 108 GL11Ext.GL_TEXTURE_CROP_RECT_OES, crop, 0); in onDrawFrame()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapRegionDecoderTest.java | 373 Rect crop = new Rect(0 ,0, cropWidth, cropHeight); in testInBitmapReuse() local 374 Bitmap reuseCropped = cropBitmap(reuseResult, crop); in testInBitmapReuse() 375 Bitmap defaultCropped = cropBitmap(defaultResult, crop); in testInBitmapReuse()
|