Home
last modified time | relevance | path

Searched refs:srcOffsetU (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/common/src/android/media/cts/
DYUVImage.java57 int srcOffsetU = origin.y / 2 * arrayWidth / 2 + origin.x / 2; in YUVImage() local
58 int srcOffsetV = srcOffsetU + arrayWidth / 2 * arrayHeight / 2; in YUVImage()
62 dupUV, srcOffsetU); in YUVImage()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java765 int srcOffsetU = origin.y / 2 * mBufferWidth + origin.x / 2 * 2; in queueInputBufferEncoder() local
769 buffer.put(uvBuffer, srcOffsetU, mVideoWidth); in queueInputBufferEncoder()
770 srcOffsetU += mBufferWidth; in queueInputBufferEncoder()
773 int srcOffsetU = origin.y / 2 * mBufferWidth / 2 + origin.x / 2; in queueInputBufferEncoder() local
774 int srcOffsetV = srcOffsetU + mBufferWidth / 2 * mBufferHeight / 2; in queueInputBufferEncoder()
778 buffer.put(uvBuffer, srcOffsetU, mVideoWidth / 2); in queueInputBufferEncoder()
779 srcOffsetU += mBufferWidth / 2; in queueInputBufferEncoder()