Searched refs:cropWidth (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/media/libmediandkjni/ |
D | codec-utils-jni.cpp | 56 size_t cropWidth; member 232 img->plane[ix].cropWidth = in getNativeImage() 267 for (size_t x = img->plane[ix].cropWidth; x > 0; --x) { in Java_android_media_cts_CodecUtils_getImageChecksumAlder32() 295 for (size_t x = img->plane[ix].cropWidth; x > 0; --x) { 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() 347 for (size_t x = 0; x < tgt->plane[ix].cropWidth; ++x) { in Java_android_media_cts_CodecUtils_copyFlexYUVImage() 348 *col = srcRow[src->plane[ix].colInc * (x % src->plane[ix].cropWidth)]; in Java_android_media_cts_CodecUtils_copyFlexYUVImage() 371 for (size_t x = img->plane[ix].cropWidth; x > 0; --x) { in Java_android_media_cts_CodecUtils_fillImageRectWithYUV() 408 for (size_t x = img->plane[0].cropWidth; x; --x) { in getRawStats() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | VideoCodecTestBase.java | 557 int cropWidth = frameWidth; in decode() local 675 cropWidth = format.getInteger("crop-right") - cropLeft + 1; in decode() 677 cropWidth = frameWidth; in decode() 685 + ", size: " + cropWidth + " x " + cropHeight); in decode() 686 cropWidth = Math.min(frameWidth - cropLeft, cropWidth); in decode() 714 int writeLength = Math.min(cropWidth * cropHeight * 3 / 2, frame.length); in decode() 717 (frameStride > cropWidth || frameSliceHeight > cropHeight)) { in decode() 718 frame = PackYUV420(cropLeft, cropTop, cropWidth, cropHeight, in decode()
|
D | EncodeDecodeTest.java | 1203 int cropWidth = cropRight - cropLeft + 1; in checkFrame() local 1206 assertEquals(mWidth, cropWidth); in checkFrame()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapRegionDecoderTest.java | 421 int cropWidth = Math.min(w, scaledDim); in testInBitmapReuse() local 423 Rect crop = new Rect(0 ,0, cropWidth, cropHeight); in testInBitmapReuse()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 2403 int cropWidth = (int) (activeArray.width() / zoomFactor); in getCropRegionForZoom() local 2407 /*left*/cropCenterX - cropWidth / 2, in getCropRegionForZoom() 2409 /*right*/ cropCenterX + cropWidth / 2, in getCropRegionForZoom()
|