Searched refs:cropTop (Results 1 – 5 of 5) sorted by relevance
/cts/tests/media/jni/ |
D | NativeCodecTestBase.cpp | 531 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/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 1161 int cropTop = crop.top; in getImageMD5Checksum() local 1165 int imageHeight = cropBottom - cropTop; in getImageMD5Checksum() 1178 top = cropTop; in getImageMD5Checksum() 1183 top = cropTop / 2; in getImageMD5Checksum()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | EncodeDecodeTest.java | 1184 int cropTop = format.getInteger("crop-top"); in checkFrame() local 1189 cropTop = image.getCropRect().top; in checkFrame() 1193 int cropHeight = cropBottom - cropTop + 1; in checkFrame() 1208 y += cropTop; in checkFrame()
|
D | VpxCodecTestBase.java | 534 int cropTop = 0; in decode() local 645 cropTop = format.getInteger("crop-top"); in decode() 653 cropHeight = format.getInteger("crop-bottom") - cropTop + 1; in decode() 657 Log.d(TAG, "Frame crop window origin: " + cropLeft + " x " + cropTop in decode() 660 cropHeight = Math.min(frameHeight - cropTop, cropHeight); in decode() 691 frame = PackYUV420(cropLeft, cropTop, cropWidth, cropHeight, in decode()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 1268 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()
|