Public Member Functions | |
if (w!=mWidth||h!=mHeight) LOG("d w h abn") | |
if (mGBuf==NULL) | |
else | if (format!=mFormat) ABORT("d f %d n %d" |
if (w!=mWidth||h!=mHeight) LOG("d w h abn") | |
if (mGBuf==NULL) | |
else | if (format!=mFormat) ABORT("d f %d n %d" |
MyGraphicBufferProducer (int w, int h) | |
MyGraphicBufferProducer (int w, int h) | |
virtual status_t | queueBuffer (int slot, const QueueBufferInput &input, QueueBufferOutput *output) |
virtual status_t | queueBuffer (int slot, const QueueBufferInput &input, QueueBufferOutput *output) |
virtual status_t | requestBuffer (int slot, sp< GraphicBuffer > *buf) |
virtual status_t | requestBuffer (int slot, sp< GraphicBuffer > *buf) |
virtual status_t | setBufferCount (int bufferCount) |
virtual status_t | setBufferCount (int bufferCount) |
virtual | ~MyGraphicBufferProducer () |
virtual | ~MyGraphicBufferProducer () |
Public Attributes | |
else | format |
void * | mBufferInput_flattened_buf |
size_t | mBufferInput_flattened_fd_count |
int * | mBufferInput_flattened_fds |
size_t | mBufferInput_flattened_size |
int | mConsumerUsage |
sp< Fence > | mFence |
PixelFormat | mFormat |
else | mFormat |
GraphicBuffer * | mGBuf |
char * | mGBufData |
int | mGBufUsage |
bool | mHaveData |
int | mHeight |
int | mInternalWidth |
volatile int | mInUsing |
bool | mIsGBufferRequested |
return | mIsGBufferRequested: IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION |
int64_t | mSeq |
int | mWidth |
* | slot = 0 |
Definition at line 444 of file fast-screen-capture.cpp.
MyGraphicBufferProducer::MyGraphicBufferProducer | ( | int | w, |
int | h | ||
) | [inline] |
Definition at line 463 of file fast-screen-capture.cpp.
virtual MyGraphicBufferProducer::~MyGraphicBufferProducer | ( | ) | [inline, virtual] |
Definition at line 482 of file fast-screen-capture.cpp.
MyGraphicBufferProducer::MyGraphicBufferProducer | ( | int | w, |
int | h | ||
) | [inline] |
Definition at line 216 of file fast-screen-capture2.cpp.
virtual MyGraphicBufferProducer::~MyGraphicBufferProducer | ( | ) | [inline, virtual] |
Definition at line 231 of file fast-screen-capture2.cpp.
MyGraphicBufferProducer::if | ( | w! | = mWidth||h!=mHeight | ) |
MyGraphicBufferProducer::if | ( | mGBuf | = =NULL | ) | [inline] |
Definition at line 266 of file fast-screen-capture2.cpp.
else MyGraphicBufferProducer::if | ( | format! | = mFormat | ) |
MyGraphicBufferProducer::if | ( | w! | = mWidth||h!=mHeight | ) |
MyGraphicBufferProducer::if | ( | mGBuf | = =NULL | ) | [inline] |
Definition at line 517 of file fast-screen-capture.cpp.
else MyGraphicBufferProducer::if | ( | format! | = mFormat | ) |
virtual status_t MyGraphicBufferProducer::queueBuffer | ( | int | slot, |
const QueueBufferInput & | input, | ||
QueueBufferOutput * | output | ||
) | [inline, virtual] |
Definition at line 300 of file fast-screen-capture2.cpp.
virtual status_t MyGraphicBufferProducer::queueBuffer | ( | int | slot, |
const QueueBufferInput & | input, | ||
QueueBufferOutput * | output | ||
) | [inline, virtual] |
! //maybe change arguments after flattened
Definition at line 551 of file fast-screen-capture.cpp.
virtual status_t MyGraphicBufferProducer::requestBuffer | ( | int | slot, |
sp< GraphicBuffer > * | buf | ||
) | [inline, virtual] |
Definition at line 236 of file fast-screen-capture2.cpp.
virtual status_t MyGraphicBufferProducer::requestBuffer | ( | int | slot, |
sp< GraphicBuffer > * | buf | ||
) | [inline, virtual] |
Definition at line 487 of file fast-screen-capture.cpp.
virtual status_t MyGraphicBufferProducer::setBufferCount | ( | int | bufferCount | ) | [inline, virtual] |
Definition at line 245 of file fast-screen-capture2.cpp.
virtual status_t MyGraphicBufferProducer::setBufferCount | ( | int | bufferCount | ) | [inline, virtual] |
Definition at line 496 of file fast-screen-capture.cpp.
Definition at line 540 of file fast-screen-capture.cpp.
Definition at line 458 of file fast-screen-capture.cpp.
Definition at line 461 of file fast-screen-capture.cpp.
Definition at line 460 of file fast-screen-capture.cpp.
Definition at line 459 of file fast-screen-capture.cpp.
Definition at line 456 of file fast-screen-capture.cpp.
sp< Fence > MyGraphicBufferProducer::mFence |
Definition at line 449 of file fast-screen-capture.cpp.
Definition at line 450 of file fast-screen-capture.cpp.
Definition at line 540 of file fast-screen-capture.cpp.
GraphicBuffer * MyGraphicBufferProducer::mGBuf |
Definition at line 451 of file fast-screen-capture.cpp.
Definition at line 453 of file fast-screen-capture.cpp.
Definition at line 452 of file fast-screen-capture.cpp.
Definition at line 455 of file fast-screen-capture.cpp.
Definition at line 446 of file fast-screen-capture.cpp.
Definition at line 454 of file fast-screen-capture.cpp.
volatile int MyGraphicBufferProducer::mInUsing |
Definition at line 447 of file fast-screen-capture.cpp.
Definition at line 448 of file fast-screen-capture.cpp.
Definition at line 548 of file fast-screen-capture.cpp.
int64_t MyGraphicBufferProducer::mSeq |
Definition at line 457 of file fast-screen-capture.cpp.
Definition at line 445 of file fast-screen-capture.cpp.
Definition at line 542 of file fast-screen-capture.cpp.