Searched refs:mCapacity (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | SkipCutBuffer.cpp | 32 mCapacity = cut + 4096; in SkipCutBuffer() 33 mCutBuffer = new char[mCapacity]; in SkipCutBuffer() 34 ALOGV("skipcutbuffer %d %d %d", skip, cut, mCapacity); in SkipCutBuffer() 102 if (sizeused < 0) sizeused += mCapacity; in write() 107 size_t available = mCapacity - sizeused - 32; in write() 109 int32_t newcapacity = mCapacity + (num - available); in write() 111 memcpy(newbuffer, mCutBuffer, mCapacity); in write() 113 mCapacity = newcapacity; in write() 118 size_t copyfirst = (mCapacity - mWriteHead); in write() 125 CHECK_LE(mWriteHead, mCapacity); in write() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | AutomaticBrightnessController.java | 552 private int mCapacity; field in AutomaticBrightnessController.AmbientLightRingBuffer 565 mCapacity = initialCapacity; in AmbientLightRingBuffer() 566 mRingLux = new float[mCapacity]; in AmbientLightRingBuffer() 567 mRingTime = new long[mCapacity]; in AmbientLightRingBuffer() 580 if (mCount == mCapacity) { in push() 581 int newSize = mCapacity * 2; in push() 585 int length = mCapacity - mStart; in push() 595 next = mCapacity; in push() 596 mCapacity = newSize; in push() 602 if (mEnd == mCapacity) { in push() [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | ABuffer.cpp | 29 mCapacity(capacity), in ABuffer() 39 mCapacity(capacity), in ABuffer() 70 CHECK_LE(offset, mCapacity); in setRange() 71 CHECK_LE(offset + size, mCapacity); in setRange()
|
/frameworks/av/include/media/stagefright/foundation/ |
D | ABuffer.h | 40 size_t capacity() const { return mCapacity; } in capacity() 67 size_t mCapacity; member
|
/frameworks/av/include/media/stagefright/ |
D | SkipCutBuffer.h | 55 int32_t mCapacity; variable
|