Home
last modified time | relevance | path

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

/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp56 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/
DVpxCodecTestBase.java535 int cropWidth = frameWidth; in decode() local
648 cropWidth = format.getInteger("crop-right") - cropLeft + 1; in decode()
650 cropWidth = frameWidth; in decode()
658 + ", size: " + cropWidth + " x " + cropHeight); in decode()
659 cropWidth = Math.min(frameWidth - cropLeft, cropWidth); 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()
DEncodeDecodeTest.java1192 int cropWidth = cropRight - cropLeft + 1; in checkFrame() local
1195 assertEquals(mWidth, cropWidth); in checkFrame()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRegionDecoderTest.java424 int cropWidth = Math.min(w, scaledDim); in testInBitmapReuse() local
426 Rect crop = new Rect(0 ,0, cropWidth, cropHeight); in testInBitmapReuse()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1878 int cropWidth = (int) (activeArray.width() / zoomFactor); in getCropRegionForZoom() local
1882 /*left*/cropCenterX - cropWidth / 2, in getCropRegionForZoom()
1884 /*right*/ cropCenterX + cropWidth / 2 - 1, in getCropRegionForZoom()