Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeCodecTestBase.cpp531 int cropLeft, cropRight, cropTop, cropBottom; in getWidth() local
533 if (AMediaFormat_getRect(format, "crop", &cropLeft, &cropTop, &cropRight, &cropBottom) || in getWidth()
543 int cropLeft, cropRight, cropTop, cropBottom; in getHeight() local
545 if (AMediaFormat_getRect(format, "crop", &cropLeft, &cropTop, &cropRight, &cropBottom) || in getHeight()
546 (AMediaFormat_getInt32(format, "crop-top", &cropTop) && in getHeight()
548 height = cropBottom + 1 - cropTop; in getHeight()
/cts/tests/tests/media/src/android/media/cts/
DEncodeDecodeTest.java1186 int cropTop = format.getInteger("crop-top"); in checkFrame() local
1191 cropTop = image.getCropRect().top; in checkFrame()
1195 int cropHeight = cropBottom - cropTop + 1; in checkFrame()
1210 y += cropTop; in checkFrame()
DVideoCodecTestBase.java554 int cropTop = 0; in decode() local
670 cropTop = format.getInteger("crop-top"); in decode()
678 cropHeight = format.getInteger("crop-bottom") - cropTop + 1; in decode()
682 Log.d(TAG, "Frame crop window origin: " + cropLeft + " x " + cropTop in decode()
685 cropHeight = Math.min(frameHeight - cropTop, cropHeight); in decode()
716 frame = PackYUV420(cropLeft, cropTop, cropWidth, cropHeight, in decode()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java1268 int cropTop = crop.top; in getImageMD5Checksum() local
1272 int imageHeight = cropBottom - cropTop; in getImageMD5Checksum()
1285 top = cropTop; in getImageMD5Checksum()
1290 top = cropTop / 2; in getImageMD5Checksum()
/cts/tests/tests/graphics/src/android/graphics/cts/
DAImageDecoderTest.java1070 int cropLeft, int cropTop, int cropRight, int cropBottom);