Home
last modified time | relevance | path

Searched refs:area (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DCodecUtils.java130 CodecImage image, Rect area, int y, int u, int v); in fillImageRectWithYUV() argument
132 public static void fillImageRectWithYUV(Image image, Rect area, int y, int u, int v) { in fillImageRectWithYUV() argument
133 fillImageRectWithYUV(ImageWrapper.createFromImage(image), area, y, u, v); in fillImageRectWithYUV() local
136 public native static long[] getRawStats(CodecImage image, Rect area); in getRawStats() argument
138 public static long[] getRawStats(Image image, Rect area) { in getRawStats() argument
139 return getRawStats(ImageWrapper.createFromImage(image), area); in getRawStats()
142 public native static float[] getYUVStats(CodecImage image, Rect area); in getYUVStats() argument
144 public static float[] getYUVStats(Image image, Rect area) { in getYUVStats() argument
145 return getYUVStats(ImageWrapper.createFromImage(image), area); in getYUVStats()
DImageReaderDecoderTest.java645 Rect area = new Rect(pos - step, pos, crop.width() / 2, crop.height() + 2 * step - pos); in validateSwirl() local
646 if (area.isEmpty()) { in validateSwirl()
649 area.offset(crop.left, crop.top); in validateSwirl()
650 area.intersect(crop); in validateSwirl()
652 long[] oneStat = CodecUtils.getRawStats(image, area); in validateSwirl()
653 if (VERBOSE) Log.v(TAG, "area=" + area + ", layer=" + layer + ", last=" in validateSwirl()
668 area.offset(crop.centerX() - area.left, 2 * (crop.centerY() - area.centerY())); in validateSwirl()
/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp161 NativeImage *getNativeImage(JNIEnv *env, jobject image, jobject area = NULL) { in getNativeImage() argument
176 if (area == NULL) { in getNativeImage()
178 area = cropRect; in getNativeImage()
181 img->crop.left = env->GetIntField(area, gFields.fieldLeft); in getNativeImage()
182 img->crop.top = env->GetIntField(area, gFields.fieldTop); in getNativeImage()
183 img->crop.right = env->GetIntField(area, gFields.fieldRight); in getNativeImage()
184 img->crop.bottom = env->GetIntField(area, gFields.fieldBottom); in getNativeImage()
351 jclass /*clazz*/, jobject image, jobject area, jint y, jint u, jint v) in Java_android_media_cts_CodecUtils_fillImageRectWithYUV() argument
353 NativeImage *img = getNativeImage(env, image, area); in Java_android_media_cts_CodecUtils_fillImageRectWithYUV()
473 jclass /*clazz*/, jobject image, jobject area) in Java_android_media_cts_CodecUtils_getRawStats() argument
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DRegionTest.java102 private void assertPointsInsideRegion(int[][] area) { in assertPointsInsideRegion() argument
103 for (int i = 0; i < area.length; i ++) { in assertPointsInsideRegion()
104 assertTrue(mRegion.contains(area[i][0], area[i][1])); in assertPointsInsideRegion()
108 private void assertPointsOutsideRegion(int[][] area) { in assertPointsOutsideRegion() argument
109 for (int i = 0; i < area.length; i ++) { in assertPointsOutsideRegion()
110 assertFalse(mRegion.contains(area[i][0], area[i][1])); in assertPointsOutsideRegion()
/cts/hostsidetests/sustainedperf/dhrystone/
DDrystone-2.1.sh29 XCPU/compiler performance measurement, in particular in the area of
DRationale13 CPU/compiler performance measurement, in particular in the area of
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...