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

/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegCompressor.h33 #include <gui/CpuConsumer.h>
51 status_t start(const Vector<CpuConsumer::LockedBuffer*>& buffers,
71 Vector<CpuConsumer::LockedBuffer*> mBuffers;
72 CpuConsumer::LockedBuffer *mJpegBuffer;
73 CpuConsumer::LockedBuffer *mAuxBuffer;
H A DCallbackProcessor.h25 #include <gui/CpuConsumer.h>
42 public Thread, public CpuConsumer::FrameAvailableListener {
75 sp<CpuConsumer> mCallbackConsumer;
89 const CpuConsumer::LockedBuffer &src,
H A DJpegProcessor.h25 #include <gui/CpuConsumer.h>
44 public Thread, public CpuConsumer::FrameAvailableListener,
50 // CpuConsumer listener implementation
78 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(const Vector<CpuConsumer::LockedBuffer*>& buffers,
H A DJpegProcessor.cpp111 mCaptureConsumer = new CpuConsumer(consumer, 1);
249 CpuConsumer::LockedBuffer imgBuffer;
/frameworks/native/libs/gui/
H A DCpuConsumer.cpp18 #define LOG_TAG "CpuConsumer"
24 #include <gui/CpuConsumer.h>
34 CpuConsumer::CpuConsumer(const sp<IGraphicBufferConsumer>& bq, function in class:android::CpuConsumer
47 CpuConsumer::~CpuConsumer() {
53 void CpuConsumer::setName(const String8& name) {
56 CC_LOGE("setName: CpuConsumer is abandoned!");
91 status_t CpuConsumer::lockNextBuffer(LockedBuffer *nativeBuffer) {
209 status_t CpuConsumer
[all...]
H A DSurfaceComposerClient.cpp36 #include <gui/CpuConsumer.h>
990 sp<CpuConsumer> ScreenshotClient::getCpuConsumer() const {
994 mCpuConsumer = new CpuConsumer(consumer, 1);
1006 sp<CpuConsumer> cpuConsumer = getCpuConsumer();
/frameworks/native/include/gui/
H A DCpuConsumer.h35 * CpuConsumer is a BufferQueue consumer endpoint that allows direct CPU
38 * CpuConsumer owner. Sets gralloc usage flags to be software-read-only.
42 class CpuConsumer : public ConsumerBase class in namespace:android
94 CpuConsumer(const sp<IGraphicBufferConsumer>& bq,
97 virtual ~CpuConsumer();
99 // set the name of the CpuConsumer that will be used to identify it in
H A DSurfaceComposerClient.h33 #include <gui/CpuConsumer.h>
233 mutable sp<CpuConsumer> mCpuConsumer;
235 CpuConsumer::LockedBuffer mBuffer;
259 sp<CpuConsumer> getCpuConsumer() const;
/frameworks/av/media/ndk/
H A DNdkImagePriv.h25 #include <gui/CpuConsumer.h>
79 std::unique_ptr<CpuConsumer::LockedBuffer> mLockedBuffer;
H A DNdkImage.cpp190 auto lockedBuffer = std::make_unique<CpuConsumer::LockedBuffer>();
/frameworks/base/media/jni/
H A Dandroid_media_Utils.h25 #include <gui/CpuConsumer.h>
117 typedef CpuConsumer::LockedBuffer LockedImage;
/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) {
557 CpuConsumer
[all...]
H A DSurface_test.cpp120 sp<CpuConsumer> cpuConsumer = new CpuConsumer(consumer, 1);
199 sp<CpuConsumer> cpuConsumer = new CpuConsumer(consumer, 1);
220 sp<CpuConsumer> cpuConsumer = new CpuConsumer(consumer, 1);
/frameworks/base/libs/hwui/utils/
H A DTestWindowContext.cpp24 #include "gui/CpuConsumer.h"
62 mCpuConsumer = new android::CpuConsumer(mConsumer, 1);
120 android::CpuConsumer::LockedBuffer nativeBuffer;
172 android::sp<android::CpuConsumer> mCpuConsumer;
/frameworks/native/services/surfaceflinger/tests/
H A DTransaction_test.cpp64 sp<CpuConsumer> cpuConsumer = new CpuConsumer(consumer, 1);
100 ScreenCapture(const sp<CpuConsumer>& cc) :
109 sp<CpuConsumer> mCC;
110 CpuConsumer::LockedBuffer mBuf;

Completed in 3120 milliseconds