Home
last modified time | relevance | path

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

/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp43 struct plane { struct
51 } plane[3]; member
210 ScopedLocalRef<jobject> plane( in getNativeImage() local
212 img->plane[ix].colInc = env->CallIntMethod(plane.get(), gFields.methodPixelStride); in getNativeImage()
213 img->plane[ix].rowInc = env->CallIntMethod(plane.get(), gFields.methodRowStride); in getNativeImage()
215 env, env->CallObjectMethod(plane.get(), gFields.methodBuffer)); in getNativeImage()
217 img->plane[ix].buffer = (const uint8_t *)env->GetDirectBufferAddress(buffer.get()); in getNativeImage()
218 img->plane[ix].size = env->GetDirectBufferCapacity(buffer.get()); in getNativeImage()
220 img->plane[ix].cropOffs = in getNativeImage()
221 (img->crop.left >> xDecim) * img->plane[ix].colInc in getNativeImage()
[all …]
/cts/apps/CameraITS/tests/scene1/
Dtest_dng_noise_model.py81 plane = its.image.convert_capture_to_planes(cap, props)[ch]
82 plane = (plane * white_level - black_levels[ch]) / (
84 tile = its.image.get_image_patch(plane, 0.49,0.49,0.02,0.02)
Dtest_raw_sensitivity.py62 plane = its.image.convert_capture_to_planes(cap, props)[1]
63 tile = its.image.get_image_patch(plane, 0.45,0.45,0.1,0.1)
Dtest_raw_burst_sensitivity.py69 plane = its.image.convert_capture_to_planes(cap, props)[1]
70 tile = its.image.get_image_patch(plane, 0.45,0.45,0.1,0.1)
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DProjectionOffscreenActivity.java236 final Image.Plane plane = image.getPlanes()[0]; in scanImage() local
237 final ByteBuffer buffer = plane.getBuffer(); in scanImage()
240 final int pixelStride = plane.getPixelStride(); in scanImage()
241 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.java93 PlaneWrapper(Image.Plane plane) { in PlaneWrapper() argument
94 mPlane = plane; in PlaneWrapper()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java1331 private byte getPixelFromPlane(Plane plane, int x, int y) { in getPixelFromPlane() argument
1332 ByteBuffer buf = plane.getBuffer(); in getPixelFromPlane()
1333 return buf.get(y * plane.getRowStride() + x * plane.getPixelStride()); in getPixelFromPlane()