Searched refs:cropWidth (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/media/common/jni/ |
D | codec-utils-jni.cpp | 61 size_t cropWidth; member 245 img->plane[ix].cropWidth = in getNativeImage() 279 for (size_t x = img->plane[ix].cropWidth; x > 0; --x) { in Java_android_media_cts_CodecUtils_getImageChecksumAlder32() 307 for (size_t x = img->plane[ix].cropWidth; x > 0; --x) { in Java_android_media_cts_CodecUtils_getImageChecksumMD5() 342 tgt->plane[0].cropWidth, tgt->plane[0].cropHeight, in Java_android_media_cts_CodecUtils_copyFlexYUVImage() 348 src->plane[0].cropWidth, src->plane[0].cropHeight, in Java_android_media_cts_CodecUtils_copyFlexYUVImage() 359 for (size_t x = 0; x < tgt->plane[ix].cropWidth; ++x) { in Java_android_media_cts_CodecUtils_copyFlexYUVImage() 360 *col = srcRow[src->plane[ix].colInc * (x % src->plane[ix].cropWidth)]; in Java_android_media_cts_CodecUtils_copyFlexYUVImage() 383 for (size_t x = img->plane[ix].cropWidth; x > 0; --x) { in Java_android_media_cts_CodecUtils_fillImageRectWithYUV() 420 for (size_t x = img->plane[0].cropWidth; x; --x) { in getRawStats() [all …]
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | VideoErrorManager.java | 134 int cropWidth = imgWidth; in computeMSE() local 139 cropWidth = cropRect.width(); in computeMSE() 150 for (int w = 0; w < cropWidth; w++) { in computeMSE() 159 for (int w = 0; w < cropWidth; w++) { in computeMSE() 165 return (double) squareError / (cropWidth * cropHeight); in computeMSE()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | VideoCodecTestBase.java | 602 int cropWidth = frameWidth; in decode() local 719 cropWidth = format.getInteger("crop-right") - cropLeft + 1; in decode() 721 cropWidth = frameWidth; in decode() 729 + ", size: " + cropWidth + " x " + cropHeight); in decode() 730 cropWidth = Math.min(frameWidth - cropLeft, cropWidth); in decode() 758 int writeLength = Math.min(cropWidth * cropHeight * 3 / 2, frame.length); in decode() 761 (frameStride > cropWidth || frameSliceHeight > cropHeight)) { in decode() 762 frame = PackYUV420(cropLeft, cropTop, cropWidth, cropHeight, in decode()
|
D | EncodeDecodeTest.java | 1090 int cropWidth = cropRight - cropLeft + 1; in checkFrame() local 1093 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 | 3023 int cropWidth = (int) (activeArray.width() / zoomFactor); in getCropRegionForZoom() local 3027 /*left*/cropCenterX - cropWidth / 2, in getCropRegionForZoom() 3029 /*right*/ cropCenterX + cropWidth / 2, in getCropRegionForZoom()
|