Home
last modified time | relevance | path

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

/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp57 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/
DVideoCodecTestBase.java558 int cropHeight = frameHeight; in decode() local
680 cropHeight = format.getInteger("crop-bottom") - cropTop + 1; in decode()
682 cropHeight = frameHeight; in decode()
685 + ", size: " + cropWidth + " x " + cropHeight); in decode()
687 cropHeight = Math.min(frameHeight - cropTop, cropHeight); 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()
DEncodeDecodeTest.java1204 int cropHeight = cropBottom - cropTop + 1; in checkFrame() local
1207 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.java2404 int cropHeight = (int) (activeArray.height() / zoomFactor); in getCropRegionForZoom() local
2408 /*top*/cropCenterY - cropHeight / 2, in getCropRegionForZoom()
2410 /*bottom*/cropCenterY + cropHeight / 2); in getCropRegionForZoom()