Searched refs:outBuffer (Results 1 - 25 of 98) sorted by relevance

1234

/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposerBufferCache.cpp30 uint32_t* outSlot, sp<GraphicBuffer>* outBuffer)
45 *outBuffer = nullptr;
47 *outBuffer = buffer;
28 getHwcBuffer(int slot, const sp<GraphicBuffer>& buffer, uint32_t* outSlot, sp<GraphicBuffer>* outBuffer) argument
H A DHWComposerBufferCache.h47 // outBuffer is set to buffer when buffer is not in the HWC cache;
48 // otherwise, outBuffer is set to nullptr.
50 uint32_t* outSlot, sp<GraphicBuffer>* outBuffer);
H A DFramebufferSurface.cpp108 sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence,
116 &outSlot, &outBuffer);
143 &outSlot, &outBuffer);
146 mHwc.setClientTarget(mDisplayType, outSlot, outFence, outBuffer, outDataspace);
107 nextBuffer(uint32_t& outSlot, sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence, Dataspace& outDataspace) argument
/frameworks/av/media/libstagefright/filters/
H A DZeroFilter.cpp41 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) {
45 uint32_t* dest = (uint32_t*)outBuffer->data();
50 memcpy(outBuffer->data(), srcBuffer->data(), srcBuffer->size());
52 outBuffer->setRange(0, srcBuffer->size());
40 processBuffers( const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) argument
H A DZeroFilter.h32 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
H A DIntrinsicBlurFilter.h34 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
H A DRSFilter.h38 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
H A DSaturationFilter.h36 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
H A DSimpleFilter.h40 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) = 0;
H A DIntrinsicBlurFilter.cpp91 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) {
94 mAllocOut->copy1DRangeTo(0, mWidth * mHeight, outBuffer->data());
90 processBuffers( const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) argument
H A DRSFilter.cpp88 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) {
91 mAllocOut->copy1DRangeTo(0, mWidth * mHeight, outBuffer->data());
87 processBuffers( const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) argument
H A DSaturationFilter.cpp91 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) {
94 mAllocOut->copy1DRangeTo(0, mWidth * mHeight, outBuffer->data());
90 processBuffers( const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) argument
/frameworks/native/libs/gui/
H A DCpuConsumer.cpp90 status_t CpuConsumer::lockBufferItem(const BufferItem& item, LockedBuffer* outBuffer) const {
111 outBuffer->data = reinterpret_cast<uint8_t*>(ycbcr.y);
112 outBuffer->stride = static_cast<uint32_t>(ycbcr.ystride);
113 outBuffer->dataCb = reinterpret_cast<uint8_t*>(ycbcr.cb);
114 outBuffer->dataCr = reinterpret_cast<uint8_t*>(ycbcr.cr);
115 outBuffer->chromaStride = static_cast<uint32_t>(ycbcr.cstride);
116 outBuffer->chromaStep = static_cast<uint32_t>(ycbcr.chroma_step);
128 outBuffer->data = reinterpret_cast<uint8_t*>(bufferPointer);
129 outBuffer->stride = item.mGraphicBuffer->getStride();
130 outBuffer
[all...]
H A DBufferQueueConsumer.cpp53 status_t BufferQueueConsumer::acquireBuffer(BufferItem* outBuffer, argument
211 outBuffer->mGraphicBuffer = mSlots[slot].mGraphicBuffer;
212 outBuffer->mFence = Fence::NO_FENCE;
213 outBuffer->mFenceTime = FenceTime::NO_FENCE;
214 outBuffer->mCrop = mCore->mSharedBufferCache.crop;
215 outBuffer->mTransform = mCore->mSharedBufferCache.transform &
218 outBuffer->mScalingMode = mCore->mSharedBufferCache.scalingMode;
219 outBuffer->mDataSpace = mCore->mSharedBufferCache.dataspace;
220 outBuffer->mFrameNumber = mCore->mFrameCounter;
221 outBuffer
[all...]
/frameworks/native/cmds/surfacereplayer/replayer/
H A DBufferQueueScheduler.cpp81 ANativeWindow_Buffer outBuffer; local
84 status_t status = s->lock(&outBuffer, nullptr);
93 auto img = reinterpret_cast<uint8_t*>(outBuffer.bits);
94 for (int y = 0; y < outBuffer.height; y++) {
95 for (int x = 0; x < outBuffer.width; x++) {
96 uint8_t* pixel = img + (4 * (y * outBuffer.stride + x));
/frameworks/av/include/media/stagefright/
H A DRenderScriptWrapper.h31 RSC::Allocation* outBuffer) = 0;
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DRenderScriptWrapper.h31 RSC::Allocation* outBuffer) = 0;
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfUtils.h24 int getBlock(void* param, unsigned long position, unsigned char* outBuffer,
H A DPdfUtils.cpp31 int getBlock(void* param, unsigned long position, unsigned char* outBuffer, argument
34 const int readCount = pread(fd, outBuffer, size, position);
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp201 sp<GraphicBuffer> outBuffer; local
204 &outBuffer);
210 result = outBuffer->lock(GraphicBuffer::USAGE_SW_READ_OFTEN, &base);
217 w = outBuffer->getWidth();
218 h = outBuffer->getHeight();
219 s = outBuffer->getStride();
220 f = outBuffer->getPixelFormat();
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp69 status_t MonitoredProducer::detachNextBuffer(sp<GraphicBuffer>* outBuffer, argument
71 return mProducer->detachNextBuffer(outBuffer, outFence);
134 status_t MonitoredProducer::getLastQueuedBuffer(sp<GraphicBuffer>* outBuffer, argument
136 return mProducer->getLastQueuedBuffer(outBuffer, outFence,
/frameworks/native/libs/nativewindow/include/android/
H A Dhardware_buffer.h221 AHardwareBuffer** outBuffer);
300 * \return 0 on success, -EINVAL if \a outBuffer is NULL, or an error
303 int AHardwareBuffer_recvHandleFromUnixSocket(int socketFd, AHardwareBuffer** outBuffer);
/frameworks/av/media/libeffects/loudness/
H A DEffectLoudnessEnhancer.cpp270 effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer)
279 outBuffer == NULL || outBuffer->raw == NULL ||
280 inBuffer->frameCount != outBuffer->frameCount ||
298 if (inBuffer->raw != outBuffer->raw) {
300 for (size_t i = 0; i < outBuffer->frameCount*2; i++) {
301 outBuffer->s16[i] = clamp16(outBuffer->s16[i] + inBuffer->s16[i]);
304 memcpy(outBuffer->raw, inBuffer->raw, outBuffer
269 LE_process( effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) argument
[all...]
/frameworks/base/libs/input/
H A DSpriteController.cpp194 ANativeWindow_Buffer outBuffer; local
195 status_t status = surface->lock(&outBuffer, NULL);
200 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format);
201 surfaceBitmap.installPixels(SkImageInfo::MakeN32Premul(outBuffer.width, outBuffer.height),
202 outBuffer.bits, bpr);
210 if (outBuffer.width > update.state.icon.bitmap.width()) {
213 outBuffer.width, update.state.icon.bitmap.height()), paint);
215 if (outBuffer
[all...]
/frameworks/native/libs/nativewindow/
H A DAHardwareBuffer.cpp43 int AHardwareBuffer_allocate(const AHardwareBuffer_Desc* desc, AHardwareBuffer** outBuffer) { argument
44 if (!outBuffer || !desc)
85 *outBuffer = AHardwareBuffer_from_GraphicBuffer(gbuffer.get());
88 AHardwareBuffer_acquire(*outBuffer);
206 int AHardwareBuffer_recvHandleFromUnixSocket(int socketFd, AHardwareBuffer** outBuffer) { argument
207 if (!outBuffer) return BAD_VALUE;
270 *outBuffer = AHardwareBuffer_from_GraphicBuffer(gBuffer);
272 AHardwareBuffer_acquire(*outBuffer);

Completed in 56 milliseconds

1234