Lines Matching refs:BufferItem
17 #include <gui/BufferItem.h>
26 BufferItem::BufferItem() :
39 BufferItem::operator IGraphicBufferConsumer::BufferItem() const {
40 IGraphicBufferConsumer::BufferItem bufferItem;
41 bufferItem.mGraphicBuffer = mGraphicBuffer;
42 bufferItem.mFence = mFence;
43 bufferItem.mCrop = mCrop;
44 bufferItem.mTransform = mTransform;
45 bufferItem.mScalingMode = mScalingMode;
46 bufferItem.mTimestamp = mTimestamp;
47 bufferItem.mIsAutoTimestamp = mIsAutoTimestamp;
48 bufferItem.mFrameNumber = mFrameNumber;
49 bufferItem.mBuf = mSlot;
50 bufferItem.mIsDroppable = mIsDroppable;
51 bufferItem.mAcquireCalled = mAcquireCalled;
52 bufferItem.mTransformToDisplayInverse = mTransformToDisplayInverse;
53 return bufferItem;
56 size_t BufferItem::getPodSize() const {
70 size_t BufferItem::getFlattenedSize() const {
83 size_t BufferItem::getFdCount() const {
94 status_t BufferItem::flatten(
98 if (count < BufferItem::getFlattenedSize()) {
141 status_t BufferItem::unflatten(
183 const char* BufferItem::scalingModeName(uint32_t scalingMode) {