Searched refs:cropHeight (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/media/libmediandkjni/ |
D | codec-utils-jni.cpp | 57 size_t cropHeight; member 230 img->plane[ix].cropHeight = in getNativeImage() 264 for (size_t y = img->plane[ix].cropHeight; y > 0; --y) { in Java_android_media_cts_CodecUtils_getImageChecksumAlder32() 292 for (size_t y = img->plane[ix].cropHeight; y > 0; --y) { in Java_android_media_cts_CodecUtils_getImageChecksumMD5() 330 tgt->plane[0].cropWidth, tgt->plane[0].cropHeight, in Java_android_media_cts_CodecUtils_copyFlexYUVImage() 336 src->plane[0].cropWidth, src->plane[0].cropHeight, in Java_android_media_cts_CodecUtils_copyFlexYUVImage() 342 for (size_t y = 0; y < tgt->plane[ix].cropHeight; ++y) { in Java_android_media_cts_CodecUtils_copyFlexYUVImage() 346 + src->plane[ix].rowInc * (y % src->plane[ix].cropHeight)); in Java_android_media_cts_CodecUtils_copyFlexYUVImage() 368 for (size_t y = img->plane[ix].cropHeight; y > 0; --y) { in Java_android_media_cts_CodecUtils_fillImageRectWithYUV() 403 for (size_t y = img->plane[0].cropHeight; y; --y) { in getRawStats() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | VpxCodecTestBase.java | 536 int cropHeight = frameHeight; in decode() local 653 cropHeight = format.getInteger("crop-bottom") - cropTop + 1; in decode() 655 cropHeight = frameHeight; in decode() 658 + ", size: " + cropWidth + " x " + cropHeight); in decode() 660 cropHeight = Math.min(frameHeight - cropTop, cropHeight); in decode() 687 int writeLength = Math.min(cropWidth * cropHeight * 3 / 2, frame.length); in decode() 690 (frameStride > cropWidth || frameSliceHeight > cropHeight)) { in decode() 691 frame = PackYUV420(cropLeft, cropTop, cropWidth, cropHeight, in decode()
|
D | EncodeDecodeTest.java | 1193 int cropHeight = cropBottom - cropTop + 1; in checkFrame() local 1196 assertEquals(mHeight, cropHeight); in checkFrame()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapRegionDecoderTest.java | 425 int cropHeight = Math.min(h, scaledDim); in testInBitmapReuse() local 426 Rect crop = new Rect(0 ,0, cropWidth, cropHeight); in testInBitmapReuse()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1879 int cropHeight = (int) (activeArray.height() / zoomFactor); in getCropRegionForZoom() local 1883 /*top*/cropCenterY - cropHeight / 2, in getCropRegionForZoom() 1885 /*bottom*/cropCenterY + cropHeight / 2 - 1); in getCropRegionForZoom()
|