Home
last modified time | relevance | path

Searched refs:getRowStride (Results 1 – 25 of 35) sorted by relevance

12

/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DPixelChecker.java44 int rowStride = plane.getRowStride(); in getNumMatchingPixels()
62 int rowStride = plane.getRowStride(); in isEmpty()
DRectChecker.java63 int rowStride = plane.getRowStride(); in validatePlaneForTarget()
/cts/tests/tests/media/common/src/android/media/cts/
DCodecImage.java185 public abstract int getRowStride(); in getRowStride() method in CodecImage.Plane
DCodecUtils.java98 public int getRowStride() { in getRowStride() method in CodecUtils.ImageWrapper.PlaneWrapper
99 return mPlane.getRowStride(); in getRowStride()
DYUVImage.java120 public int getRowStride() { in getRowStride() method in YUVImage.YUVPlane
/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.java141 int rowStride = lumaPlane.getRowStride(); in extractLumaChannelBuffer()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java266 int maxRowSize = planes[0].getRowStride(); in getDataFromImage()
268 if (maxRowSize < planes[i].getRowStride()) { in getDataFromImage()
269 maxRowSize = planes[i].getRowStride(); in getDataFromImage()
275 int rowStride = planes[i].getRowStride(); in getDataFromImage()
/cts/tests/input/src/android/input/cts/
DVirtualDisplayActivityScenarioRule.kt189 val rowStrideBytes: Int = image.planes[0].getRowStride() in getScreenshot()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DImageReaderDecoderTest.java573 Log.v(TAG, "first plane rowstride " + imagePlanes[0].getRowStride()); in validateImage()
739 byte[] rowData = new byte[planes[0].getRowStride()]; in getDataFromImage()
745 rowStride = planes[i].getRowStride(); in getDataFromImage()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java512 int stride = img.getPlanes()[0].getRowStride(); in onImageAvailable()
513 int uStride = img.getPlanes()[1].getRowStride(); in onImageAvailable()
514 int vStride = img.getPlanes()[2].getRowStride(); in onImageAvailable()
/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java520 byte[] rawPlane = new byte[raw.getPlanes()[0].getRowStride() * raw.getHeight()]; in testRaw16JpegMaximumResolutionConsistency()
527 raw.getHeight(), raw.getPlanes()[0].getRowStride(), rawPlane, in testRaw16JpegMaximumResolutionConsistency()
604 byte[] rawPlane = new byte[raw.getPlanes()[0].getRowStride() * raw.getHeight()]; in testRaw16JpegConsistency()
611 raw.getHeight(), raw.getPlanes()[0].getRowStride(), rawPlane, in testRaw16JpegConsistency()
DCtsUtilsTest.java243 @Override public int getRowStride() { return rowStride; } in getRowStride() method in FakePlane
/cts/tests/media/common/src/android/mediav2/common/cts/
DDecodeStreamToYuv.java189 rowStride = planes[i].getRowStride(); in getImage()
DCodecEncoderTestBase.java375 int rowStride = planes[i].getRowStride(); in fillImage()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DProjectionOffscreenActivity.java260 final int rowStride = plane.getRowStride(); in scanImage()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewTest.java330 bitmap = Bitmap.createBitmap(plane.getRowStride() / 4, in testSDRFromSurfaceViewAndTextureView()
380 Bitmap bitmap = Bitmap.createBitmap(plane.getRowStride() / 4, image.getHeight(), in testSDRFromSurfaceViewAndTextureView()
461 Bitmap bitmap = Bitmap.createBitmap(plane.getRowStride() / 4, image.getHeight(), in testCropRect()
DPixelCopyTest.java921 Bitmap bitmap = Bitmap.createBitmap(plane.getRowStride() / 4, in testBufferQueueCrop()
961 Bitmap bitmap = Bitmap.createBitmap(plane.getRowStride() / 4, in testAutoSize()
993 Bitmap bitmap = Bitmap.createBitmap(plane.getRowStride() / 4, in testAutoSizeWithCrop()
1028 Bitmap bitmap = Bitmap.createBitmap(plane.getRowStride() / 4, in testAutoSizeWithSrcRect()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DEncodeDecodeTest.java1113 …testY = planes[0].getBuffer().get(y * planes[0].getRowStride() + x * planes[0].getPixelStride()) &… in checkFrame()
1114 …testU = planes[1].getBuffer().get((y/2) * planes[1].getRowStride() + (x/2) * planes[1].getPixelStr… in checkFrame()
1115 …testV = planes[2].getBuffer().get((y/2) * planes[2].getRowStride() + (x/2) * planes[2].getPixelStr… in checkFrame()
DMediaCodecBlockModelTest.java370 int rowOffset = row * plane.getRowStride(); in runEncodeShortVideo()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1841 rowStride = planes[i].getRowStride(); in getDataFromImage()
1865 int maxRowSize = planes[0].getRowStride(); in getDataFromImage()
1867 if (maxRowSize < planes[i].getRowStride()) { in getDataFromImage()
1868 maxRowSize = planes[i].getRowStride(); in getDataFromImage()
1877 rowStride = planes[i].getRowStride(); in getDataFromImage()
3144 int srcRowStride = srcPlanes[i].getRowStride(); in imageCopy()
3145 int dstRowStride = dstPlanes[i].getRowStride(); in imageCopy()
3302 lhsPlanes[i].getRowStride() != rhsPlanes[i].getRowStride() || in isImageStronglyEqual()
3306 int rowSizeL = lhsPlanes[i].getRowStride(); in isImageStronglyEqual()
3307 int rowSizeR = rhsPlanes[i].getRowStride(); in isImageStronglyEqual()
/cts/tests/tests/media/projection/src/android/media/projection/cts/
DMediaProjectionMirroringTest.java478 plane.getRowStride() - plane.getPixelStride() * image.getWidth(); in onImageAvailable()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java619 closedPlane.getRowStride(); // An ISE should be thrown here. in imageInvalidAccessTestAfterClose()
DCamera2AndroidTestRule.java667 closedPlane.getRowStride(); // An ISE should be thrown here. in imageInvalidAccessTestAfterClose()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java346 rowStride = planes[i].getRowStride(); in dumpYUV420PToFile()

12