/frameworks/native/libs/gui/ |
CpuConsumer.cpp | 91 status_t CpuConsumer::lockNextBuffer(LockedBuffer *nativeBuffer) { 94 if (!nativeBuffer) return BAD_VALUE; 182 nativeBuffer->data = 184 nativeBuffer->width = mSlots[slot].mGraphicBuffer->getWidth(); 185 nativeBuffer->height = mSlots[slot].mGraphicBuffer->getHeight(); 186 nativeBuffer->format = format; 187 nativeBuffer->flexFormat = flexFormat; 188 nativeBuffer->stride = (ycbcr.y != NULL) ? 192 nativeBuffer->crop = b.mCrop; 193 nativeBuffer->transform = b.mTransform [all...] |
/external/swiftshader/src/OpenGL/common/ |
Image.hpp | 261 explicit AndroidNativeImage(ANativeWindowBuffer *nativeBuffer) 262 : egl::Image(nativeBuffer->width, nativeBuffer->height, 263 GLPixelFormatFromAndroid(nativeBuffer->format), 264 GLPixelTypeFromAndroid(nativeBuffer->format), 265 nativeBuffer->stride), 266 nativeBuffer(nativeBuffer) 268 nativeBuffer->common.incRef(&nativeBuffer->common) [all...] |
/hardware/intel/common/utils/ISV/base/ |
isv_bufmanager.cpp | 225 status_t ISVBufferManager::useBuffer(const sp<ANativeWindowBuffer> nativeBuffer) 228 if (nativeBuffer == NULL || mBuffers.size() >= mBuffers.capacity()) 233 if (isvBuffer->getHandle() == (unsigned long)nativeBuffer->handle) { 236 __func__, reinterpret_cast<uintptr_t>(nativeBuffer->handle)); 242 (unsigned long)nativeBuffer->handle, (unsigned long)nativeBuffer->handle, 243 nativeBuffer->width, nativeBuffer->height, 244 nativeBuffer->stride, nativeBuffer->format [all...] |
/frameworks/base/libs/hwui/utils/ |
TestWindowContext.cpp | 120 android::CpuConsumer::LockedBuffer nativeBuffer; 121 android::status_t retval = mCpuConsumer->lockNextBuffer(&nativeBuffer); 136 LOG_ALWAYS_FATAL_IF(nativeBuffer.format != android::PIXEL_FORMAT_RGBA_8888, 139 SkImageInfo::Make(nativeBuffer.width, nativeBuffer.height, 145 nativeWrapper.installPixels(nativeConfig, nativeBuffer.data, nativeBuffer.stride * 4); 160 mCpuConsumer->unlockBuffer(nativeBuffer);
|
/frameworks/native/libs/gui/include/gui/ |
CpuConsumer.h | 112 status_t lockNextBuffer(LockedBuffer *nativeBuffer); 118 status_t unlockBuffer(const LockedBuffer &nativeBuffer);
|
/external/deqp/modules/egl/ |
teglAndroidUtil.cpp | 155 PixelBufferAccess nativeBuffer(texFormat, 64, 64, 1, bufferData); 156 tcu::copy(nativeBuffer, ref->getLevel(0));
|
/frameworks/native/headers/media_plugin/media/hardware/ |
HardwareAPI.h | 200 const sp<ANativeWindowBuffer>& nativeBuffer;
|
/frameworks/rs/driver/runtime/ |
rs_structs.h | 49 void * nativeBuffer;
|
/hardware/intel/common/utils/ISV/include/ |
isv_bufmanager.h | 159 status_t useBuffer(const sp<ANativeWindowBuffer> nativeBuffer);
|
/external/swiftshader/src/OpenGL/libEGL/ |
libEGL.cpp | 1007 ANativeWindowBuffer *nativeBuffer = reinterpret_cast<ANativeWindowBuffer*>(buffer); 1009 if(!nativeBuffer || GLPixelFormatFromAndroid(nativeBuffer->format) == GL_NONE) 1011 ALOGW("%s badness unsupported HAL format=%x", __FUNCTION__, nativeBuffer ? nativeBuffer->format : 0); 1015 Image *image = new AndroidNativeImage(nativeBuffer);
|
/hardware/intel/common/omx-components/videocodec/ |
OMXVideoDecoderBase.cpp | [all...] |
/frameworks/rs/ |
rsAllocation.h | 70 AHardwareBuffer *nativeBuffer;
|
rsGrallocConsumer.cpp | 160 mAlloc[idx]->mHal.state.nativeBuffer = hardwareBuffer;
|
/frameworks/base/media/jni/ |
android_media_ImageWriter.cpp | 489 jlong nativeBuffer, jint imageFormat, jlong timestampNs, jint left, jint top, 509 BufferItem* buffer = reinterpret_cast<BufferItem*>(nativeBuffer);
|
/hardware/intel/common/utils/ISV/omx/ |
isv_omxcomponent.cpp | 386 if (mISVBufferManager != NULL && OK != mISVBufferManager->useBuffer(def->nativeBuffer)) { [all...] |
/hardware/qcom/media/msm8996/videopp/src/ |
omx_vdpp.cpp | 661 memset(&native_buffer, 0 ,(sizeof(struct nativebuffer) * MAX_NUM_INPUT_OUTPUT_BUFFERS)); [all...] |
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
omx_vdec.cpp | [all...] |
omx_vdec_copper.cpp | [all...] |
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
omx_vdec.cpp | 538 memset(&native_buffer, 0 ,(sizeof(struct nativebuffer) * MAX_NUM_INPUT_OUTPUT_BUFFERS)); [all...] |
omx_vdec_hevc.cpp | 590 memset(&native_buffer, 0 ,(sizeof(struct nativebuffer) * MAX_NUM_INPUT_OUTPUT_BUFFERS)); [all...] |
omx_vdec_hevc_swvdec.cpp | 665 memset(&native_buffer, 0 ,(sizeof(struct nativebuffer) * MAX_NUM_INPUT_OUTPUT_BUFFERS)); [all...] |
omx_vdec_msm8974.cpp | 681 memset(&native_buffer, 0 ,(sizeof(struct nativebuffer) * MAX_NUM_INPUT_OUTPUT_BUFFERS)); [all...] |
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
omx_vdec_hevc.cpp | 585 memset(&native_buffer, 0 ,(sizeof(struct nativebuffer) * MAX_NUM_INPUT_OUTPUT_BUFFERS)); [all...] |
omx_vdec_hevc_swvdec.cpp | 673 memset(&native_buffer, 0 ,(sizeof(struct nativebuffer) * MAX_NUM_INPUT_OUTPUT_BUFFERS)); [all...] |
/hardware/qcom/media/sdm845/mm-video-v4l2/vidc/vdec/src/ |
omx_vdec_v4l2.cpp | 777 memset(&native_buffer, 0 ,(sizeof(struct nativebuffer) * MAX_NUM_INPUT_OUTPUT_BUFFERS)); [all...] |