Lines Matching refs:capacity
1948 mCodec.queueInputBuffer(bufferIndex, 0, buffer.capacity() + 100, 0, in testQueueInputBufferWithBadSize()
1950 fail("queueInputBuffer succeeds with bad size param :: " + buffer.capacity() + in testQueueInputBufferWithBadSize()
1976 mCodec.queueInputBuffer(bufferIndex, 16, buffer.capacity(), 0, in testQueueInputBufferWithBadBuffInfo()
2004 mCodec.queueInputBuffer(bufferIndex, -1, buffer.capacity(), 0, in testQueueInputBufferWithBadOffset()
2170 info1.set(0, buffer.capacity() / 2, 0, 0); in testQueueInputBuffersWithNullInfo()
2173 info2.set(0, buffer.capacity() / 2, 2000, 0); in testQueueInputBuffersWithNullInfo()
2177 info3.set(0, buffer.capacity() / 2, 3000, 0); in testQueueInputBuffersWithNullInfo()
2237 info1.set(0, buffer.capacity() / 2, 0, MediaCodec.BUFFER_FLAG_KEY_FRAME); in testQueueInputBuffersWithBadSize()
2240 info2.set(buffer.capacity() / 4, buffer.capacity() / 2, 250, in testQueueInputBuffersWithBadSize()
2244 info3.set(buffer.capacity() / 2, buffer.capacity() / 2 + 120, 500, in testQueueInputBuffersWithBadSize()
2280 info1.set(0, buffer.capacity() / 2, 0, MediaCodec.BUFFER_FLAG_END_OF_STREAM); in testQueueInputBuffersWithBadBuffInfo()
2283 info2.set(0, buffer.capacity() / 2, 1000, 0); in testQueueInputBuffersWithBadBuffInfo()
2315 info.set(-1, buffer.capacity(), 0, MediaCodec.BUFFER_FLAG_END_OF_STREAM); in testQueueInputBuffersWithBadOffset()
2680 int capacity = mLinearInputBlock.getBufferCapacity(); in testSetMultiFrameLinearBlockWithBadBuffInfo() local
2682 info1.set(0, capacity / 2, 0, MediaCodec.BUFFER_FLAG_END_OF_STREAM); in testSetMultiFrameLinearBlockWithBadBuffInfo()
2685 info2.set(capacity / 2, capacity / 4, 1000, 0); in testSetMultiFrameLinearBlockWithBadBuffInfo()