Home
last modified time | relevance | path

Searched refs:cropHeight (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/media/common/jni/
Dcodec-utils-jni.cpp62 size_t cropHeight; member
243 img->plane[ix].cropHeight = in getNativeImage()
276 for (size_t y = img->plane[ix].cropHeight; y > 0; --y) { in Java_android_media_cts_CodecUtils_getImageChecksumAlder32()
304 for (size_t y = img->plane[ix].cropHeight; y > 0; --y) { 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()
354 for (size_t y = 0; y < tgt->plane[ix].cropHeight; ++y) { in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
358 + src->plane[ix].rowInc * (y % src->plane[ix].cropHeight)); in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
380 for (size_t y = img->plane[ix].cropHeight; y > 0; --y) { in Java_android_media_cts_CodecUtils_fillImageRectWithYUV()
415 for (size_t y = img->plane[0].cropHeight; y; --y) { in getRawStats()
[all …]
/cts/tests/media/common/src/android/mediav2/common/cts/
DVideoErrorManager.java135 int cropHeight = imgHeight; in computeMSE() local
140 cropHeight = cropRect.height(); in computeMSE()
148 for (int h = 0; h < cropHeight; h++) { in computeMSE()
157 for (int h = 0; h < cropHeight; h++) { in computeMSE()
165 return (double) squareError / (cropWidth * cropHeight); in computeMSE()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DVideoCodecTestBase.java603 int cropHeight = frameHeight; in decode() local
724 cropHeight = format.getInteger("crop-bottom") - cropTop + 1; in decode()
726 cropHeight = frameHeight; in decode()
729 + ", size: " + cropWidth + " x " + cropHeight); in decode()
731 cropHeight = Math.min(frameHeight - cropTop, cropHeight); 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()
DEncodeDecodeTest.java1091 int cropHeight = cropBottom - cropTop + 1; in checkFrame() local
1094 assertEquals(mHeight, cropHeight); in checkFrame()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRegionDecoderTest.java422 int cropHeight = Math.min(h, scaledDim); in testInBitmapReuse() local
423 Rect crop = new Rect(0 ,0, cropWidth, cropHeight); in testInBitmapReuse()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java3024 int cropHeight = (int) (activeArray.height() / zoomFactor); in getCropRegionForZoom() local
3028 /*top*/cropCenterY - cropHeight / 2, in getCropRegionForZoom()
3030 /*bottom*/cropCenterY + cropHeight / 2); in getCropRegionForZoom()