Home
last modified time | relevance | path

Searched refs:tileWidth (Results 1 – 5 of 5) sorted by relevance

/cts/tests/media/src/android/mediav2/cts/
DCodecTestBase.java1177 int tileWidth = INP_FRM_WIDTH; in fillImage() local
1184 tileWidth = INP_FRM_WIDTH / 2; in fillImage()
1188 if (width == rowStride && width == tileWidth && height == tileHeight) { in fillImage()
1194 for (int x = 0; x < width; x += tileWidth) { in fillImage()
1195 int colsToCopy = Math.min(width - x, tileWidth); in fillImage()
1197 buf.put(mInputData, offset + y * tileWidth, colsToCopy); in fillImage()
1208 for (int x = 0; x < width; x += tileWidth) { in fillImage()
1209 int colsToCopy = Math.min(width - x, tileWidth); in fillImage()
1212 buf.put(mInputData[offset + y * tileWidth + w]); in fillImage()
1218 offset += tileWidth * tileHeight; in fillImage()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DHeifWriterTest.java351 int tileWidth = format.getInteger(MediaFormat.KEY_TILE_WIDTH); in verifyResult() local
356 ((width + tileWidth - 1) / tileWidth) == gridCols); in verifyResult()
/cts/tests/media/jni/
DNativeCodecEncoderTest.cpp223 int width, height, tileWidth, tileHeight; in fillByteBuffer() local
235 tileWidth = kInpFrmWidth; in fillByteBuffer()
240 tileWidth = kInpFrmWidth; in fillByteBuffer()
243 tileWidth = kInpFrmWidth / 2; in fillByteBuffer()
251 for (int i = 0; i < width; i += tileWidth) { in fillByteBuffer()
252 int colsToCopy = std::min(width - i, tileWidth); in fillByteBuffer()
254 mInputData + (frmOffset + j * tileWidth), colsToCopy); in fillByteBuffer()
259 frmOffset += tileWidth * tileHeight; in fillByteBuffer()
/cts/tests/tests/media/src/android/media/cts/
DMediaMetadataRetrieverTest.java784 int tileWidth = format.getInteger(MediaFormat.KEY_TILE_WIDTH); in testGetImage() local
789 ((width + tileWidth - 1) / tileWidth) == gridCols); in testGetImage()
DHeifWriterTest.java641 int tileWidth = format.getInteger(MediaFormat.KEY_TILE_WIDTH); in verifyResult() local
646 ((width + tileWidth - 1) / tileWidth) == gridCols); in verifyResult()