Searched refs:CpuConsumer (Results 1 - 20 of 20) sorted by relevance

/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegCompressor.h33 #include <gui/CpuConsumer.h>
51 status_t start(Vector<CpuConsumer::LockedBuffer*> buffers,
71 Vector<CpuConsumer::LockedBuffer*> mBuffers;
72 CpuConsumer::LockedBuffer *mJpegBuffer;
73 CpuConsumer::LockedBuffer *mAuxBuffer;
H A DBurstCapture.h23 #include <gui/CpuConsumer.h>
36 public virtual CpuConsumer::FrameAvailableListener
58 CpuConsumer::LockedBuffer* jpegEncode(
59 CpuConsumer::LockedBuffer *imgBuffer,
H A DCallbackProcessor.h25 #include <gui/CpuConsumer.h>
42 public Thread, public CpuConsumer::FrameAvailableListener {
75 sp<CpuConsumer> mCallbackConsumer;
90 const CpuConsumer::LockedBuffer &src,
H A DBurstCapture.cpp77 CpuConsumer::LockedBuffer* BurstCapture::jpegEncode(
78 CpuConsumer::LockedBuffer *imgBuffer,
83 CpuConsumer::LockedBuffer *imgEncoded = new CpuConsumer::LockedBuffer;
90 Vector<CpuConsumer::LockedBuffer*> buffers;
H A DJpegProcessor.h25 #include <gui/CpuConsumer.h>
44 public Thread, public CpuConsumer::FrameAvailableListener {
49 // CpuConsumer listener implementation
72 sp<CpuConsumer> mCaptureConsumer;
H A DCallbackProcessor.cpp116 mCallbackConsumer = new CpuConsumer(consumer, kCallbackHeapCount);
248 CpuConsumer::LockedBuffer imgBuffer;
275 CpuConsumer::LockedBuffer imgBuffer;
454 const CpuConsumer::LockedBuffer &src,
H A DJpegCompressor.cpp39 status_t JpegCompressor::start(Vector<CpuConsumer::LockedBuffer*> buffers,
H A DJpegProcessor.cpp88 mCaptureConsumer = new CpuConsumer(consumer, 1);
217 CpuConsumer::LockedBuffer imgBuffer;
/frameworks/native/include/gui/
H A DCpuConsumer.h34 * CpuConsumer is a BufferQueue consumer endpoint that allows direct CPU
37 * CpuConsumer owner. Sets gralloc usage flags to be software-read-only.
41 class CpuConsumer : public ConsumerBase class in namespace:android
73 CpuConsumer(const sp<IGraphicBufferConsumer>& bq,
76 virtual ~CpuConsumer();
78 // set the name of the CpuConsumer that will be used to identify it in
88 // setDefaultBufferFormat allows CpuConsumer's BufferQueue to create buffers
H A DSurfaceComposerClient.h34 #include <gui/CpuConsumer.h>
191 mutable sp<CpuConsumer> mCpuConsumer;
193 CpuConsumer::LockedBuffer mBuffer;
217 sp<CpuConsumer> getCpuConsumer() const;
/frameworks/native/libs/gui/
H A DCpuConsumer.cpp18 #define LOG_TAG "CpuConsumer"
23 #include <gui/CpuConsumer.h>
33 CpuConsumer::CpuConsumer(const sp<IGraphicBufferConsumer>& bq, function in class:android::CpuConsumer
46 CpuConsumer::~CpuConsumer() {
52 void CpuConsumer::setName(const String8& name) {
58 status_t CpuConsumer::setDefaultBufferSize(uint32_t width, uint32_t height)
64 status_t CpuConsumer::setDefaultBufferFormat(uint32_t defaultFormat)
98 status_t CpuConsumer
[all...]
H A DAndroid.mk16 CpuConsumer.cpp \
H A DSurfaceComposerClient.cpp34 #include <gui/CpuConsumer.h>
707 sp<CpuConsumer> ScreenshotClient::getCpuConsumer() const {
711 mCpuConsumer = new CpuConsumer(consumer, 1);
723 sp<CpuConsumer> cpuConsumer = getCpuConsumer();
/frameworks/av/include/camera/
H A DProCamera.h29 #include <gui/CpuConsumer.h>
75 // -- The buffer should be accessed with CpuConsumer::lockNextBuffer
76 // and CpuConsumer::unlockBuffer
78 const sp<CpuConsumer>& /*cpuConsumer*/) {
198 sp<CpuConsumer>* cpuConsumer,
204 sp<CpuConsumer>* cpuConsumer,
216 // - Obtain the frame data by calling CpuConsumer::lockNextBuffer
217 // - Release the frame data after use with CpuConsumer::unlockBuffer
260 class ProFrameListener : public CpuConsumer::FrameAvailableListener {
296 sp<CpuConsumer> cpuConsume
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp26 #include <gui/CpuConsumer.h>
76 class JNIImageReaderContext : public CpuConsumer::FrameAvailableListener
85 CpuConsumer::LockedBuffer* getLockedBuffer();
87 void returnLockedBuffer(CpuConsumer::LockedBuffer* buffer);
89 void setCpuConsumer(const sp<CpuConsumer>& consumer) { mConsumer = consumer; }
90 CpuConsumer* getCpuConsumer() { return mConsumer.get(); }
108 List<CpuConsumer::LockedBuffer*> mBuffers;
109 sp<CpuConsumer> mConsumer;
123 CpuConsumer::LockedBuffer *buffer = new CpuConsumer
[all...]
/frameworks/av/camera/tests/
H A DProCameraTests.cpp265 const sp<CpuConsumer>& consumer) {
271 CpuConsumer::LockedBuffer buf;
755 sp<CpuConsumer> consumer;
822 sp<CpuConsumer> consumer;
903 sp<CpuConsumer> consumer;
969 sp<CpuConsumer> consumer;
997 sp<CpuConsumer> consumer;
1012 CpuConsumer::LockedBuffer buf;
1037 sp<CpuConsumer> consumer;
1044 sp<CpuConsumer> depthConsume
[all...]
/frameworks/av/camera/
H A DProCamera.cpp230 sp<CpuConsumer>* cpuConsumer,
241 sp<CpuConsumer>* cpuConsumer,
255 sp<CpuConsumer> cc = new CpuConsumer(consumer, heapCount
382 CpuConsumer::LockedBuffer buffer;
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp28 #include <gui/CpuConsumer.h>
70 mCC = new CpuConsumer(consumer, params.maxLockedBuffers);
83 class FrameWaiter : public CpuConsumer::FrameAvailableListener {
157 sp<CpuConsumer> mCC;
165 void checkPixel(const CpuConsumer::LockedBuffer &buf,
307 void checkGreyscaleBuffer(const CpuConsumer::LockedBuffer &buf) {
346 void checkRgba8888Buffer(const CpuConsumer::LockedBuffer &buf) {
389 void checkBayerRawBuffer(const CpuConsumer::LockedBuffer &buf) {
430 void checkAnyBuffer(const CpuConsumer::LockedBuffer &buf, int format) {
559 CpuConsumer
[all...]
H A DSurface_test.cpp95 sp<CpuConsumer> cpuConsumer = new CpuConsumer(consumer, 1);
H A DSRGB_test.cpp22 #include <gui/CpuConsumer.h>
76 mCpuConsumer = new CpuConsumer(consumer, 1);
228 sp<CpuConsumer> mCpuConsumer;
229 CpuConsumer::LockedBuffer mLockedBuffer;

Completed in 1635 milliseconds