Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DYUVImage.java60 int srcOffsetU = origin.y / 2 * arrayWidth / 2 + origin.x / 2; in YUVImage() local
61 int srcOffsetV = srcOffsetU + arrayWidth / 2 * arrayHeight / 2; in YUVImage()
65 dupUV, srcOffsetU); in YUVImage()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java1029 int srcOffsetU = origin.y / 2 * mBufferWidth + origin.x / 2 * 2; in queueInputBufferEncoder() local
1033 buffer.put(uvBuffer, srcOffsetU, mVideoWidth); in queueInputBufferEncoder()
1034 srcOffsetU += mBufferWidth; in queueInputBufferEncoder()
1037 int srcOffsetU = origin.y / 2 * mBufferWidth / 2 + origin.x / 2; in queueInputBufferEncoder() local
1038 int srcOffsetV = srcOffsetU + mBufferWidth / 2 * mBufferHeight / 2; in queueInputBufferEncoder()
1042 buffer.put(uvBuffer, srcOffsetU, mVideoWidth / 2); in queueInputBufferEncoder()
1043 srcOffsetU += mBufferWidth / 2; in queueInputBufferEncoder()