OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BufferItem
(Results
1 - 25
of
82
) sorted by null
1
2
3
4
/frameworks/native/libs/gui/tests/
DummyConsumer.h
22
virtual void onFrameAvailable(const
BufferItem
& /* item */) {}
FrameWaiter.h
38
virtual void onFrameAvailable(const
BufferItem
& /* item */) {
DisconnectWaiter.h
47
virtual void onFrameAvailable(const
BufferItem
& /* item */) {
/frameworks/av/services/camera/libcameraservice/gui/
RingBufferConsumer.h
20
#include <gui/
BufferItem
.h>
35
* The RingBufferConsumer maintains a ring buffer of
BufferItem
objects,
123
const
BufferItem
& item) :
139
BufferItem
& getBufferItem() { return mBufferItem; }
140
const
BufferItem
& getBufferItem() const { return mBufferItem; }
144
BufferItem
mBufferItem;
167
virtual void onFrameAvailable(const
BufferItem
& item);
169
void pinBufferLocked(const
BufferItem
& item);
170
void unpinBuffer(const
BufferItem
& item);
177
struct RingBufferItem : public
BufferItem
{
[
all
...]
/frameworks/native/include/gui/
IConsumerListener.h
33
class
BufferItem
;
56
virtual void onFrameAvailable(const
BufferItem
& item) = 0; /* Asynchronous */
67
virtual void onFrameReplaced(const
BufferItem
& /* item */) {} /* Asynchronous */
BufferQueue.h
20
#include <gui/
BufferItem
.h>
38
enum { INVALID_BUFFER_SLOT =
BufferItem
::INVALID_BUFFER_SLOT };
65
virtual void onFrameAvailable(const
BufferItem
& item) override;
66
virtual void onFrameReplaced(const
BufferItem
& item) override;
BufferItem.h
36
class
BufferItem
: public Flattenable<
BufferItem
> {
37
friend class Flattenable<
BufferItem
>;
47
BufferItem
();
48
~
BufferItem
();
128
// buffer mode acquire() can return a
BufferItem
that wasn't in the queue.
131
// Indicates that this
BufferItem
contains a stale buffer which has already
BufferItemConsumer.h
36
* access to the whole
BufferItem
entry from BufferQueue. Multiple buffers may
66
// passed-in
BufferItem
structure. Returns NO_BUFFER_AVAILABLE if the queue
75
// If waitForFence is true, and the acquired
BufferItem
has a valid fence object,
77
status_t acquireBuffer(
BufferItem
* item, nsecs_t presentWhen,
83
// acquired by acquireBuffer. Once a
BufferItem
is released, the caller must
84
// not access any members of the
BufferItem
, and should immediately remove
85
// all of its references to the
BufferItem
itself.
86
status_t releaseBuffer(const
BufferItem
&item,
ConsumerBase.h
42
virtual void onFrameAvailable(const
BufferItem
& item) = 0;
43
virtual void onFrameReplaced(const
BufferItem
& /* item */) {}
126
virtual void onFrameAvailable(const
BufferItem
& item) override;
127
virtual void onFrameReplaced(const
BufferItem
& item) override;
174
virtual status_t acquireBufferLocked(
BufferItem
*item, nsecs_t presentWhen,
IGraphicBufferConsumer.h
38
class
BufferItem
;
60
// information about the buffer is returned in
BufferItem
.
63
// acquired then the
BufferItem
::mGraphicBuffer field of buffer is set to
88
virtual status_t acquireBuffer(
BufferItem
* buffer, nsecs_t presentWhen,
BufferQueueCore.h
20
#include <gui/
BufferItem
.h>
65
enum { INVALID_BUFFER_SLOT =
BufferItem
::INVALID_BUFFER_SLOT };
79
typedef Vector<
BufferItem
> Fifo;
/frameworks/av/media/libstagefright/filters/
GraphicBufferListener.h
34
virtual void onFrameAvailable(const
BufferItem
& item);
44
BufferItem
getBufferItem();
45
sp<GraphicBuffer> getBuffer(
BufferItem
item);
46
status_t releaseBuffer(
BufferItem
item);
GraphicBufferListener.cpp
24
#include <gui/
BufferItem
.h>
65
void GraphicBufferListener::onFrameAvailable(const
BufferItem
& /* item */) {
88
BufferItem
GraphicBufferListener::getBufferItem() {
89
BufferItem
item;
129
sp<GraphicBuffer> GraphicBufferListener::getBuffer(
BufferItem
item) {
132
ALOGE("getBuffer() received invalid
BufferItem
: mSlot==%d", item.mSlot);
142
status_t GraphicBufferListener::releaseBuffer(
BufferItem
item) {
144
ALOGE("getBuffer() received invalid
BufferItem
: mSlot==%d", item.mSlot);
/frameworks/native/libs/gui/
BufferItem.cpp
17
#include <gui/
BufferItem
.h>
26
BufferItem
::
BufferItem
() :
46
BufferItem
::~
BufferItem
() {}
54
size_t
BufferItem
::getPodSize() const {
72
size_t
BufferItem
::getFlattenedSize() const {
87
size_t
BufferItem
::getFdCount() const {
104
status_t
BufferItem
::flatten(
108
if (size <
BufferItem
::getFlattenedSize())
[
all
...]
BufferItemConsumer.cpp
22
#include <gui/
BufferItem
.h>
60
status_t BufferItemConsumer::acquireBuffer(
BufferItem
*item,
90
status_t BufferItemConsumer::releaseBuffer(const
BufferItem
&item,
BufferQueue.cpp
35
const
BufferItem
& item) {
43
const
BufferItem
& item) {
/frameworks/av/media/libstagefright/omx/
GraphicBufferSource.h
165
virtual void onFrameAvailable(const
BufferItem
& item);
191
virtual void onFrameAvailable(const
BufferItem
& item) override;
192
virtual void onFrameReplaced(const
BufferItem
& item) override;
240
status_t submitBuffer_l(const
BufferItem
&item, int cbi);
251
void setLatestBuffer_l(const
BufferItem
&item, bool dropped);
253
int64_t getTimestamp(const
BufferItem
&item);
/frameworks/native/services/surfaceflinger/
SurfaceFlingerConsumer.h
49
const
BufferItem
& item) = 0;
55
virtual status_t acquireBufferLocked(
BufferItem
*item, nsecs_t presentWhen,
/frameworks/base/media/jni/
android_media_Utils.h
135
status_t lockImageFromBuffer(
BufferItem
*
bufferItem
, uint32_t inUsage,
138
int getBufferWidth(
BufferItem
*buffer);
140
int getBufferHeight(
BufferItem
*buffer);
android_media_ImageReader.cpp
86
virtual void onFrameAvailable(const
BufferItem
& item);
88
BufferItem
* getBufferItem();
89
void returnBufferItem(
BufferItem
* buffer);
114
List<
BufferItem
*> mBuffers;
134
BufferItem
* buffer = new
BufferItem
;
164
BufferItem
* JNIImageReaderContext::getBufferItem() {
168
// Return a
BufferItem
pointer and remove it from the list
169
List<
BufferItem
*>::iterator it = mBuffers.begin();
170
BufferItem
* buffer = *it
[
all
...]
/frameworks/av/cmds/screenrecord/
FrameOutput.h
65
virtual void onFrameAvailable(const
BufferItem
& item);
/frameworks/av/include/media/stagefright/
MediaSync.h
34
class
BufferItem
;
150
virtual void onFrameAvailable(const
BufferItem
&item);
208
List<
BufferItem
> mBufferItems;
250
// Send |
bufferItem
| to the output for rendering.
251
void renderOneBufferItem_l(const
BufferItem
&
bufferItem
);
/frameworks/av/services/camera/libcameraservice/device3/
Camera3InputStream.h
53
Vector<
BufferItem
> mBuffersInFlight;
Camera3InputStream.cpp
21
#include <gui/
BufferItem
.h>
67
BufferItem
bufferItem
;
69
res = mConsumer->acquireBuffer(&
bufferItem
, /*waitForFence*/false);
76
anb =
bufferItem
.mGraphicBuffer->getNativeBuffer();
78
fenceFd =
bufferItem
.mFence->dup();
86
mBuffersInFlight.push_back(
bufferItem
);
105
BufferItem
bufferItem
;
108
Vector<
BufferItem
>::iterator it, end
[
all
...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
ZslProcessor.h
25
#include <gui/
BufferItem
.h>
120
BufferItem
buffer;
Completed in 453 milliseconds
1
2
3
4