Home
last modified time | relevance | path

Searched refs:cropLeft (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()
534 (AMediaFormat_getInt32(format, "crop-left", &cropLeft) && in getWidth()
536 width = cropRight + 1 - cropLeft; in getWidth()
543 int cropLeft, cropRight, cropTop, cropBottom; in getHeight() local
545 if (AMediaFormat_getRect(format, "crop", &cropLeft, &cropTop, &cropRight, &cropBottom) || in getHeight()
/cts/tests/tests/media/src/android/media/cts/
DEncodeDecodeTest.java1184 int cropLeft = format.getInteger("crop-left"); in checkFrame() local
1189 cropLeft = image.getCropRect().left; in checkFrame()
1194 int cropWidth = cropRight - cropLeft + 1; in checkFrame()
1211 x += cropLeft; in checkFrame()
DVideoCodecTestBase.java553 int cropLeft = 0; in decode() local
667 cropLeft = format.getInteger("crop-left"); in decode()
673 cropWidth = format.getInteger("crop-right") - cropLeft + 1; in decode()
682 Log.d(TAG, "Frame crop window origin: " + cropLeft + " x " + cropTop in decode()
684 cropWidth = Math.min(frameWidth - cropLeft, cropWidth); in decode()
716 frame = PackYUV420(cropLeft, cropTop, cropWidth, cropHeight, in decode()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java1266 int cropLeft = crop.left; in getImageMD5Checksum() local
1271 int imageWidth = cropRight - cropLeft; in getImageMD5Checksum()
1284 left = cropLeft; in getImageMD5Checksum()
1289 left = cropLeft / 2; in getImageMD5Checksum()
/cts/tests/tests/graphics/src/android/graphics/cts/
DAImageDecoderTest.java1070 int cropLeft, int cropTop, int cropRight, int cropBottom);