Searched refs:CpuConsumer (Results 1 - 19 of 19) 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.cpp114 mCallbackConsumer = new CpuConsumer(bq, kCallbackHeapCount);
246 CpuConsumer::LockedBuffer imgBuffer;
273 CpuConsumer::LockedBuffer imgBuffer;
452 const CpuConsumer::LockedBuffer &src,
H A DJpegProcessor.cpp87 mCaptureConsumer = new CpuConsumer(bq, 1);
204 CpuConsumer::LockedBuffer imgBuffer;
H A DJpegCompressor.cpp39 status_t JpegCompressor::start(Vector<CpuConsumer::LockedBuffer*> buffers,
/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
69 CpuConsumer(const sp<IGraphicBufferConsumer>& bq,
72 virtual ~CpuConsumer();
74 // set the name of the CpuConsumer that will be used to identify it in
84 // setDefaultBufferFormat allows CpuConsumer's BufferQueue to create buffers
H A DSurfaceComposerClient.h33 #include <gui/CpuConsumer.h>
170 mutable sp<CpuConsumer> mCpuConsumer;
172 CpuConsumer::LockedBuffer mBuffer;
187 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)
70 status_t CpuConsumer
[all...]
H A DAndroid.mk11 CpuConsumer.cpp \
H A DSurfaceComposerClient.cpp34 #include <gui/CpuConsumer.h>
642 sp<CpuConsumer> ScreenshotClient::getCpuConsumer() const {
645 mCpuConsumer = new CpuConsumer(mBufferQueue, 1);
656 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>
73 class JNIImageReaderContext : public CpuConsumer::FrameAvailableListener
82 CpuConsumer::LockedBuffer* getLockedBuffer();
84 void returnLockedBuffer(CpuConsumer::LockedBuffer* buffer);
86 void setCpuConsumer(const sp<CpuConsumer>& consumer) { mConsumer = consumer; }
87 CpuConsumer* getCpuConsumer() { return mConsumer.get(); }
105 List<CpuConsumer::LockedBuffer*> mBuffers;
106 sp<CpuConsumer> mConsumer;
120 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,
253 sp<CpuConsumer> cc = new CpuConsumer(bq, heapCount/*, synchronousMode*/);
379 CpuConsumer::LockedBuffer buffer;
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp28 #include <gui/CpuConsumer.h>
70 mCC = new CpuConsumer(bq, 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.cpp92 sp<CpuConsumer> consumer = new CpuConsumer(bq, 1);

Completed in 311 milliseconds