Home
last modified time | relevance | path

Searched refs:ySize (Results 1 – 6 of 6) sorted by relevance

/cts/tests/media/common/src/android/mediav2/common/cts/
DVideoErrorManager.java180 int ySize = mRefYuv.mWidth * mRefYuv.mHeight * mRefYuv.mBytesPerSample; in generateErrorStats() local
181 int uvSize = ySize >> 2; in generateErrorStats()
182 byte[] yRef = new byte[ySize]; in generateErrorStats()
184 byte[] yTest = new byte[ySize]; in generateErrorStats()
191 if (bytesReadDec != ySize || (!mAllowLoopBack && bytesReadRef != ySize)) break; in generateErrorStats()
192 if (bytesReadRef != ySize) { in generateErrorStats()
/cts/tests/videocodec/src/android/videocodec/cts/
DVideoDecodeEditEncodeTest.java684 int ySize = yuv.mWidth * yuv.mHeight; in computeVariance() local
685 int uvSize = ySize >> 1; in computeVariance()
686 byte[] luma = new byte[ySize]; in computeVariance()
691 assertEquals("bad, reading unaligned frame size", bytesReadRef, ySize); in computeVariance()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java741 int ySize = yStride * h; in onPreviewFrame() local
743 expectedBytes = ySize + uvSize * 2; in onPreviewFrame()
857 int ySize = yStride * h; in convertFromYV12() local
860 int uRowIndex = ySize + uvSize; in convertFromYV12()
861 int vRowIndex = ySize; in convertFromYV12()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java446 int ySize = width * height; in computePsnr() local
448 byte[] yRef = new byte[ySize]; in computePsnr()
449 byte[] yDec = new byte[ySize]; in computePsnr()
/cts/tests/media/jni/
DNativeCodecEncoderTest.cpp104 int ySize = kInpFrmWidth * kInpFrmHeight; in convertyuv420ptoyuv420sp() local
106 int frameSize = ySize + uSize * 2; in convertyuv420ptoyuv420sp()
112 uint8_t* uvBase = frameBase + ySize; in convertyuv420ptoyuv420sp()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DVideoCodecTestBase.java2109 int ySize = width * height; in computeDecodingStatistics() local
2111 byte[] yRef = new byte[ySize]; in computeDecodingStatistics()
2112 byte[] yDec = new byte[ySize]; in computeDecodingStatistics()