Home
last modified time | relevance | path

Searched refs:getPixelStride (Results 1 – 25 of 31) sorted by relevance

12

/cts/tests/tests/media/common/src/android/media/cts/
DCodecImage.java194 public abstract int getPixelStride(); in getPixelStride() method in CodecImage.Plane
DCodecUtils.java103 public int getPixelStride() { in getPixelStride() method in CodecUtils.ImageWrapper.PlaneWrapper
104 return mPlane.getPixelStride(); in getPixelStride()
DYUVImage.java125 public int getPixelStride() { in getPixelStride() method in YUVImage.YUVPlane
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DSurfacePixelValidator2.java81 if (plane.getPixelStride() != PIXEL_STRIDE) {
83 + plane.getPixelStride());
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraUtils.java175 j * planes[0].getRowStride() + i * planes[0].getPixelStride())); in yuv420ImageHasColor()
177 jChroma * planes[1].getRowStride() + iChroma * planes[1].getPixelStride())); in yuv420ImageHasColor()
179 jChroma * planes[2].getRowStride() + iChroma * planes[2].getPixelStride())); in yuv420ImageHasColor()
/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/
DSsimHelper.java142 int pixelStride = lumaPlane.getPixelStride(); in extractLumaChannelBuffer()
/cts/tests/input/src/android/input/cts/
DVirtualDisplayActivityScenarioRule.kt188 val pixelStrideBytes: Int = image.planes[0].getPixelStride() in getScreenshot()
/cts/tests/tests/media/projection/src/android/media/projection/cts/
DMediaProjectionMirroringTest.java478 plane.getRowStride() - plane.getPixelStride() * image.getWidth(); in onImageAvailable()
480 /* width= */ image.getWidth() + rowPadding / plane.getPixelStride(), in onImageAvailable()
/cts/tests/media/common/src/android/mediav2/common/cts/
DDecodeStreamToYuv.java190 pixelStride = planes[i].getPixelStride(); in getImage()
DCodecEncoderTestBase.java376 int pixelStride = planes[i].getPixelStride(); in fillImage()
DOutputManager.java258 pixelStride = planes[i].getPixelStride(); in checksum()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCtsUtilsTest.java244 @Override public int getPixelStride() { return 1; } in getPixelStride() method in FakePlane
DImageReaderTest.java1437 int yPixStride = yPlane.getPixelStride(); in convertPixelYuvToRgba()
1440 int cbPixStride = cbPlane.getPixelStride(); in convertPixelYuvToRgba()
1443 int crPixStride = crPlane.getPixelStride(); in convertPixelYuvToRgba()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DProjectionOffscreenActivity.java259 final int pixelStride = plane.getPixelStride(); in scanImage()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DEncodeDecodeTest.java1113 … = planes[0].getBuffer().get(y * planes[0].getRowStride() + x * planes[0].getPixelStride()) & 0xff; in checkFrame()
1114 …s[1].getBuffer().get((y/2) * planes[1].getRowStride() + (x/2) * planes[1].getPixelStride()) & 0xff; in checkFrame()
1115 …s[2].getBuffer().get((y/2) * planes[2].getRowStride() + (x/2) * planes[2].getPixelStride()) & 0xff; in checkFrame()
DMediaCodecBlockModelTest.java373 rowOffset + col * plane.getPixelStride(), in runEncodeShortVideo()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DImageReaderDecoderTest.java572 Log.v(TAG, "first plane pixelstride " + imagePlanes[0].getPixelStride()); in validateImage()
746 pixelStride = planes[i].getPixelStride(); in getDataFromImage()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlTest.java2143 buffer.put(rowOffset + col * plane.getPixelStride(), color[0]); in testDefaultDataSpaceForRGBBufferIssRGB()
2144 buffer.put(rowOffset + col * plane.getPixelStride() + 1, color[1]); in testDefaultDataSpaceForRGBBufferIssRGB()
2145 buffer.put(rowOffset + col * plane.getPixelStride() + 2, color[2]); in testDefaultDataSpaceForRGBBufferIssRGB()
2146 buffer.put(rowOffset + col * plane.getPixelStride() + 3, (byte) 255); in testDefaultDataSpaceForRGBBufferIssRGB()
2228 buffer.put(rowOffset + col * plane.getPixelStride(), yuv[i]); in testDefaultDataSpaceForYUVBufferIssRGB()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java515 int uPStride = img.getPlanes()[1].getPixelStride(); in onImageAvailable()
516 int vPStride = img.getPlanes()[2].getPixelStride(); in onImageAvailable()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java610 closedPlane.getPixelStride(); // An ISE should be thrown here. in imageInvalidAccessTestAfterClose()
DCamera2AndroidTestRule.java658 closedPlane.getPixelStride(); // An ISE should be thrown here. in imageInvalidAccessTestAfterClose()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java347 pixelStride = planes[i].getPixelStride(); in dumpYUV420PToFile()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1878 pixelStride = planes[i].getPixelStride(); in getDataFromImage()
3146 int srcPixStride = srcPlanes[i].getPixelStride(); in imageCopy()
3147 int dstPixStride = dstPlanes[i].getPixelStride(); in imageCopy()
3301 (lhsPlanes[i].getPixelStride() != rhsPlanes[i].getPixelStride() || in isImageStronglyEqual()
3303 (lhsPlanes[i].getPixelStride() != 1))) { in isImageStronglyEqual()
3310 int pixStrideL = lhsPlanes[i].getPixelStride(); in isImageStronglyEqual()
3311 int pixStrideR = rhsPlanes[i].getPixelStride(); in isImageStronglyEqual()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java276 int pixelStride = planes[i].getPixelStride(); in getDataFromImage()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java698 final int pixelStride = plane.getPixelStride(); in scanImage()

12