Home
last modified time | relevance | path

Searched refs:plane (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp50 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/
DRectChecker.java51 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()
DSurfacePixelValidator2.java61 Image.Plane plane = image.getPlanes()[0];
62 if (plane.getPixelStride() != PIXEL_STRIDE) {
64 + plane.getPixelStride());
68 boolean success = mPixelChecker.validatePlane(plane, mBoundsToCheck, mWidth, mHeight);
DPixelChecker.java42 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/
DHardwareRendererTests.kt88 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/
Dtest_locked_burst.py73 plane = COLORS[i]
76 print '%s patch mean spread %.5f. means = [' % (plane, spread),
81 plane, min_means, VALUE_THRESH)
86 plane, spread, threshold)
Dtest_burst_sameness_manual.py95 for plane, means in enumerate([r_means, g_means, b_means]):
98 COLORS[plane], spread, SPREAD_THRESH)
Dtest_dng_noise_model.py93 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/
DProjectionOffscreenActivity.java244 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/
DVirtualDisplayTest.java381 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/
DCodecUtils.java98 PlaneWrapper(Image.Plane plane) { in PlaneWrapper() argument
99 mPlane = plane; in PlaneWrapper()
/cts/tests/tests/location/protos/
Dephemeris.proto70 // Longitude of ascending node of orbit plane at the beginning of week.
/cts/tests/media/jni/
DNativeCodecEncoderTest.cpp231 for (int plane = 0; plane < numOfPlanes; plane++) { in fillByteBuffer() local
232 if (plane == 0) { in fillByteBuffer()
/cts/tests/media/src/android/mediav2/cts/
DCodecTestBase.java1224 for (int plane = 0; plane < 3; plane++) { in fillByteBuffer()
1229 if (plane != 0) { in fillByteBuffer()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java1458 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()