Home
last modified time | relevance | path

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

/cts/tests/media/common/src/android/mediav2/common/cts/
DOutputManager.java59 private int mMemIndex; field in OutputManager
78 mMemIndex = 0; in OutputManager()
170 return mMemIndex; in getOutStreamSize()
338 if (mMemIndex + info.size >= mMemory.length) { in saveToMemory()
339 mMemory = Arrays.copyOf(mMemory, mMemIndex + info.size); in saveToMemory()
343 buf.get(mMemory, mMemIndex, info.size); in saveToMemory()
344 mMemIndex += info.size; in saveToMemory()
350 mMemIndex = index; in position()
391 if (refData.length != mMemIndex / bytesPerSample) return Float.MAX_VALUE; in getRmsError()
393 ByteBuffer.wrap(mMemory, 0, mMemIndex).order(ByteOrder.LITTLE_ENDIAN).asFloatBuffer() in getRmsError()
[all …]
/cts/tests/videocodec/src/android/videocodec/cts/
DVideoDecodeEditEncodeTest.java253 private int mMemIndex = 0; field in VideoDecodeEditEncodeTest.VideoChunks
292 mMemIndex = 0; in splitMediaToMuxerParameters()
320 mMemIndex = byteBuffer.limit(); in splitMediaToMuxerParameters()
326 copy.set(mMemIndex, info.size, info.presentationTimeUs, info.flags); in addChunkData()
329 if (mMemIndex + info.size >= mMemory.length) { in addChunkData()
330 mMemory = Arrays.copyOf(mMemory, mMemIndex + info.size); in addChunkData()
333 buf.get(mMemory, mMemIndex, info.size); in addChunkData()
334 mMemIndex += info.size; in addChunkData()
393 outputStream.write(mMemory, 0, mMemIndex); in dumpBuffer()