/cts/tests/tests/media/libmediandkjni/ |
D | codec-utils-jni.cpp | 50 struct plane { struct 58 } plane[3]; member 217 ScopedLocalRef<jobject> plane( in getNativeImage() local 219 img->plane[ix].colInc = env->CallIntMethod(plane.get(), gFields.methodPixelStride); in getNativeImage() 220 img->plane[ix].rowInc = env->CallIntMethod(plane.get(), gFields.methodRowStride); in getNativeImage() 222 env, env->CallObjectMethod(plane.get(), gFields.methodBuffer)); in getNativeImage() 224 img->plane[ix].buffer = (const uint8_t *)env->GetDirectBufferAddress(buffer.get()); in getNativeImage() 225 img->plane[ix].size = env->GetDirectBufferCapacity(buffer.get()); in getNativeImage() 227 img->plane[ix].cropOffs = in getNativeImage() 228 (img->crop.left >> xDecim) * img->plane[ix].colInc in getNativeImage() [all …]
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | MultiFramePixelChecker.java | 42 private boolean findStartingColor(Image.Plane plane, Rect boundsToCheck) { in findStartingColor() argument 45 int numMatchingPixels = getNumMatchingPixels(mPixelColors[mStartingColorIndex], plane, in findStartingColor() 55 public boolean validatePlane(Image.Plane plane, long frameNumber, Rect boundsToCheck, int width, in validatePlane() argument 58 mStartingColorFound = findStartingColor(plane, boundsToCheck); in validatePlane() 67 mMatchingPixelCount = getNumMatchingPixels(getColor(frameNumber), plane, boundsToCheck); in validatePlane()
|
D | PixelChecker.java | 38 int getNumMatchingPixels(PixelColor expectedColor, Image.Plane plane, Rect boundsToCheck) { in getNumMatchingPixels() argument 40 ByteBuffer buffer = plane.getBuffer(); in getNumMatchingPixels() 41 int rowStride = plane.getRowStride(); in getNumMatchingPixels() 74 public boolean validatePlane(Image.Plane plane, long frameNumber, in validatePlane() argument 77 mMatchingPixelCount = getNumMatchingPixels(mPixelColor, plane, boundsToCheck); in validatePlane()
|
D | RectChecker.java | 51 public boolean validatePlane(Image.Plane plane, long framenumber, Rect boundsToCheck, in validatePlane() argument 54 if (validatePlaneForTarget(t, plane, boundsToCheck, width, height) == false) { in validatePlane() 61 public boolean validatePlaneForTarget(Target t, Image.Plane plane, Rect boundsToCheck, in validatePlaneForTarget() argument 63 int rowStride = plane.getRowStride(); in validatePlaneForTarget() 64 ByteBuffer buffer = plane.getBuffer(); in validatePlaneForTarget()
|
D | SurfacePixelValidator2.java | 62 Image.Plane plane = image.getPlanes()[0]; 63 if (plane.getPixelStride() != PIXEL_STRIDE) { 65 + plane.getPixelStride()); 69 boolean success = mPixelChecker.validatePlane(plane, mFrameNumber++, mBoundsToCheck,
|
/cts/apps/CameraITS/tests/scene1_1/ |
D | test_locked_burst.py | 99 plane = COLORS[i] 103 plane, spread, str(means)) 106 plane, j, min_means, VALUE_THRESH) 112 plane, spread, threshold)
|
D | test_burst_sameness_manual.py | 129 for plane, means in enumerate([r_means, g_means, b_means]): 132 COLORS[plane], spread, spread_thresh)
|
D | test_dng_noise_model.py | 117 plane = image_processing_utils.get_image_patch( 119 patch_raw = plane * white_level
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | HardwareRendererTests.kt | 88 val plane = planes[0] in <lambda>() constant 89 assertEquals(4, plane.pixelStride) in <lambda>() 90 assertTrue((ActivityTestBase.TEST_WIDTH * 4) <= plane.rowStride) in <lambda>() 91 val buffer = plane.buffer in <lambda>() 105 val result = CaptureResult(pixels, 0, plane.rowStride / plane.pixelStride, in <lambda>() 176 val plane = planes[0] in testBasicDrawCpuConsumer() constant 177 assertEquals(4, plane.pixelStride) in testBasicDrawCpuConsumer() 178 assertTrue((TEST_WIDTH * 4) <= plane.rowStride) in testBasicDrawCpuConsumer() 180 val buffer = plane.buffer in testBasicDrawCpuConsumer() 458 val plane = planes[0] in testLotsOfBuffers() constant [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
D | ProjectionOffscreenActivity.java | 255 final Image.Plane plane = image.getPlanes()[0]; in scanImage() local 256 final ByteBuffer buffer = plane.getBuffer(); in scanImage() 259 final int pixelStride = plane.getPixelStride(); in scanImage() 260 final int rowStride = plane.getRowStride(); in scanImage()
|
/cts/apps/CameraITS/tests/scene2_b/ |
D | test_auto_per_frame_control.py | 145 plane = image_processing_utils.convert_capture_to_planes( 148 plane = image_processing_utils.convert_capture_to_planes(cap)[_YUV_Y_CH] 151 plane, _PATCH_X, _PATCH_Y, _PATCH_W, _PATCH_H)
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CtsUtilsTest.java | 160 private static void drawGradient(FakePlane plane, int w, int h) { in drawGradient() argument 162 final int rowStride = plane.rowStride; in drawGradient() 163 final ByteBuffer buffer = plane.buffer; in drawGradient()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | VirtualDisplayTest.java | 495 final Image.Plane plane = image.getPlanes()[0]; in scanImage() local 496 final ByteBuffer buffer = plane.getBuffer(); in scanImage() 499 final int pixelStride = plane.getPixelStride(); in scanImage() 500 final int rowStride = plane.getRowStride(); in scanImage()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | CodecUtils.java | 98 PlaneWrapper(Image.Plane plane) { in PlaneWrapper() argument 99 mPlane = plane; in PlaneWrapper()
|
D | MediaCodecBlockModelTest.java | 834 for (Image.Plane plane : image.getPlanes()) { in runEncodeShortVideo() 835 ByteBuffer planeBuffer = plane.getBuffer(); in runEncodeShortVideo() 837 int rowOffset = row * plane.getRowStride(); in runEncodeShortVideo() 840 rowOffset + col * plane.getPixelStride(), in runEncodeShortVideo()
|
/cts/tests/location/location_gnss/protos/ |
D | ephemeris.proto | 70 // Longitude of ascending node of orbit plane at the beginning of week.
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | CodecTestBase.java | 581 for (int plane = 0; plane < 3; plane++) { in fillByteBuffer() 586 if (plane != 0) { in fillByteBuffer()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyTest.java | 827 Image.Plane plane = image.getPlanes()[0]; in testBufferQueueCrop() local 828 Bitmap bitmap = Bitmap.createBitmap(plane.getRowStride() / 4, in testBufferQueueCrop() 843 bitmap.copyPixelsToBuffer(plane.getBuffer()); in testBufferQueueCrop()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecTestBase.java | 1537 for (int plane = 0; plane < 3; plane++) { in fillByteBuffer() 1542 if (plane != 0) { in fillByteBuffer()
|
/cts/tests/video/src/android/video/cts/ |
D | VideoEncoderDecoderTest.java | 1432 private byte getPixelFromPlane(Plane plane, int x, int y) { in getPixelFromPlane() argument 1433 ByteBuffer buf = plane.getBuffer(); in getPixelFromPlane() 1434 return buf.get(y * plane.getRowStride() + x * plane.getPixelStride()); in getPixelFromPlane()
|