/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 | RectChecker.java | 51 public boolean validatePlane(Image.Plane plane, 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 | 61 Image.Plane plane = image.getPlanes()[0]; 62 if (plane.getPixelStride() != PIXEL_STRIDE) { 64 + plane.getPixelStride()); 68 boolean success = mPixelChecker.validatePlane(plane, mBoundsToCheck, mWidth, mHeight);
|
D | PixelChecker.java | 42 public boolean validatePlane(Image.Plane plane, Rect boundsToCheck, int width, int height) { in validatePlane() argument 43 int rowStride = plane.getRowStride(); in validatePlane() 44 ByteBuffer buffer = plane.getBuffer(); in validatePlane()
|
/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/CameraITS/tests/scene1/ |
D | test_locked_burst.py | 73 plane = COLORS[i] 76 print '%s patch mean spread %.5f. means = [' % (plane, spread), 81 plane, min_means, VALUE_THRESH) 86 plane, spread, threshold)
|
D | test_burst_sameness_manual.py | 95 for plane, means in enumerate([r_means, g_means, b_means]): 98 COLORS[plane], spread, SPREAD_THRESH)
|
D | test_dng_noise_model.py | 93 plane = its.image.get_image_patch(planes[i], 0.49, 0.49, 95 tile_raw = plane * white_level
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
D | ProjectionOffscreenActivity.java | 244 final Image.Plane plane = image.getPlanes()[0]; in scanImage() local 245 final ByteBuffer buffer = plane.getBuffer(); in scanImage() 248 final int pixelStride = plane.getPixelStride(); in scanImage() 249 final int rowStride = plane.getRowStride(); in scanImage()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | VirtualDisplayTest.java | 381 final Image.Plane plane = image.getPlanes()[0]; in scanImage() local 382 final ByteBuffer buffer = plane.getBuffer(); in scanImage() 385 final int pixelStride = plane.getPixelStride(); in scanImage() 386 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()
|
/cts/tests/tests/location/protos/ |
D | ephemeris.proto | 70 // Longitude of ascending node of orbit plane at the beginning of week.
|
/cts/tests/media/jni/ |
D | NativeCodecEncoderTest.cpp | 231 for (int plane = 0; plane < numOfPlanes; plane++) { in fillByteBuffer() local 232 if (plane == 0) { in fillByteBuffer()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecTestBase.java | 1224 for (int plane = 0; plane < 3; plane++) { in fillByteBuffer() 1229 if (plane != 0) { in fillByteBuffer()
|
/cts/tests/video/src/android/video/cts/ |
D | VideoEncoderDecoderTest.java | 1458 private byte getPixelFromPlane(Plane plane, int x, int y) { in getPixelFromPlane() argument 1459 ByteBuffer buf = plane.getBuffer(); in getPixelFromPlane() 1460 return buf.get(y * plane.getRowStride() + x * plane.getPixelStride()); in getPixelFromPlane()
|