Searched refs:tileWidth (Results 1 – 7 of 7) sorted by relevance
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecEncoderTestBase.java | 373 int tileWidth = mActiveRawRes.mWidth; in fillImage() local 380 tileWidth = mActiveRawRes.mWidth / 2; in fillImage() 384 if (width == rowStride && width == tileWidth && height == tileHeight) { in fillImage() 390 for (int x = 0; x < width; x += tileWidth) { in fillImage() 391 int colsToCopy = Math.min(width - x, tileWidth); in fillImage() 393 buf.put(mInputData, offset + y * tileWidth * bytesPerSample, in fillImage() 405 for (int x = 0; x < width; x += tileWidth) { in fillImage() 406 int colsToCopy = Math.min(width - x, tileWidth); in fillImage() 410 buf.put(mInputData[offset + y * tileWidth * bytesPerSample in fillImage() 418 offset += tileWidth * tileHeight * bytesPerSample; in fillImage() [all …]
|
D | CompareStreams.java | 152 int width, height, tileWidth, tileHeight; in fillByteArray() local 156 tileWidth = inpFrameWidth / 2; in fillByteArray() 161 tileWidth = inpFrameWidth; in fillByteArray() 168 for (int i = 0; i < width; i += tileWidth) { in fillByteArray() 169 int colsToCopy = Math.min(width - i, tileWidth); in fillByteArray() 171 inOffset + j * tileWidth * bytesPerSample, in fillByteArray() 178 inOffset += tileWidth * tileHeight * bytesPerSample; in fillByteArray()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | CodecTestBase.java | 791 int tileWidth = INP_FRM_WIDTH; in fillImage() local 798 tileWidth = INP_FRM_WIDTH / 2; in fillImage() 802 if (width == rowStride && width == tileWidth && height == tileHeight) { in fillImage() 808 for (int x = 0; x < width; x += tileWidth) { in fillImage() 809 int colsToCopy = Math.min(width - x, tileWidth); in fillImage() 811 buf.put(mInputData, offset + y * tileWidth, colsToCopy); in fillImage() 822 for (int x = 0; x < width; x += tileWidth) { in fillImage() 823 int colsToCopy = Math.min(width - x, tileWidth); in fillImage() 826 buf.put(mInputData[offset + y * tileWidth + w]); in fillImage() 832 offset += tileWidth * tileHeight; in fillImage() [all …]
|
/cts/tests/media/jni/ |
D | NativeCodecEncoderTest.cpp | 171 int width, height, tileWidth, tileHeight; in fillByteBuffer() local 183 tileWidth = kInpFrmWidth; in fillByteBuffer() 188 tileWidth = kInpFrmWidth; in fillByteBuffer() 191 tileWidth = kInpFrmWidth / 2; in fillByteBuffer() 199 for (int i = 0; i < width; i += tileWidth) { in fillByteBuffer() 200 int colsToCopy = std::min(width - i, tileWidth); in fillByteBuffer() 202 mInputData + (frmOffset + j * tileWidth), colsToCopy); in fillByteBuffer() 207 frmOffset += tileWidth * tileHeight; in fillByteBuffer()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | HeifWriterTest.java | 362 int tileWidth = format.getInteger(MediaFormat.KEY_TILE_WIDTH); in verifyResult() local 367 ((width + tileWidth - 1) / tileWidth) == gridCols); in verifyResult()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | HeifWriterTest.java | 715 int tileWidth = format.getInteger(MediaFormat.KEY_TILE_WIDTH); in verifyResult() local 720 ((width + tileWidth - 1) / tileWidth) == gridCols); in verifyResult()
|
D | MediaMetadataRetrieverTest.java | 1378 int tileWidth = format.getInteger(MediaFormat.KEY_TILE_WIDTH); in testGetImage() local 1383 ((width + tileWidth - 1) / tileWidth) == gridCols); in testGetImage()
|