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/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java1159 int cropLeft = crop.left; in getImageMD5Checksum() local
1164 int imageWidth = cropRight - cropLeft; in getImageMD5Checksum()
1177 left = cropLeft; in getImageMD5Checksum()
1182 left = cropLeft / 2; in getImageMD5Checksum()
/cts/tests/tests/media/src/android/media/cts/
DEncodeDecodeTest.java1182 int cropLeft = format.getInteger("crop-left"); in checkFrame() local
1187 cropLeft = image.getCropRect().left; in checkFrame()
1192 int cropWidth = cropRight - cropLeft + 1; in checkFrame()
1209 x += cropLeft; in checkFrame()
DVpxCodecTestBase.java533 int cropLeft = 0; in decode() local
642 cropLeft = format.getInteger("crop-left"); in decode()
648 cropWidth = format.getInteger("crop-right") - cropLeft + 1; in decode()
657 Log.d(TAG, "Frame crop window origin: " + cropLeft + " x " + cropTop in decode()
659 cropWidth = Math.min(frameWidth - cropLeft, cropWidth); in decode()
691 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()