Searched refs:ySize (Results 1 – 6 of 6) sorted by relevance
180 int ySize = mRefYuv.mWidth * mRefYuv.mHeight * mRefYuv.mBytesPerSample; in generateErrorStats() local181 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()
684 int ySize = yuv.mWidth * yuv.mHeight; in computeVariance() local685 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()
741 int ySize = yStride * h; in onPreviewFrame() local743 expectedBytes = ySize + uvSize * 2; in onPreviewFrame()857 int ySize = yStride * h; in convertFromYV12() local860 int uRowIndex = ySize + uvSize; in convertFromYV12()861 int vRowIndex = ySize; in convertFromYV12()
446 int ySize = width * height; in computePsnr() local448 byte[] yRef = new byte[ySize]; in computePsnr()449 byte[] yDec = new byte[ySize]; in computePsnr()
104 int ySize = kInpFrmWidth * kInpFrmHeight; in convertyuv420ptoyuv420sp() local106 int frameSize = ySize + uSize * 2; in convertyuv420ptoyuv420sp()112 uint8_t* uvBase = frameBase + ySize; in convertyuv420ptoyuv420sp()
2109 int ySize = width * height; in computeDecodingStatistics() local2111 byte[] yRef = new byte[ySize]; in computeDecodingStatistics()2112 byte[] yDec = new byte[ySize]; in computeDecodingStatistics()