Home
last modified time | relevance | path

Searched defs:usage (Results 1 – 25 of 201) sorted by relevance

123456789

/hardware/qcom/sm8150/display/gralloc/
Dgr_utils.cpp184 bool CpuCanAccess(uint64_t usage) { in CpuCanAccess()
188 bool CpuCanRead(uint64_t usage) { in CpuCanRead()
196 bool CpuCanWrite(uint64_t usage) { in CpuCanWrite()
205 uint32_t GetDataAlignment(int format, uint64_t usage) { in GetDataAlignment()
222 bool IsGPUFlagSupported(uint64_t usage) { in IsGPUFlagSupported()
269 uint64_t usage = info.usage; in GetSize() local
457 uint64_t usage = hnd->usage; in GetYUVPlaneInfo() local
614 bool IsUBwcPISupported(int format, uint64_t usage) { in IsUBwcPISupported()
636 bool IsUBwcEnabled(int format, uint64_t usage) { in IsUBwcEnabled()
857 uint64_t usage = info.usage; in GetAlignedWidthAndHeight() local
[all …]
/hardware/qcom/display/msm8994/libgralloc/
Dalloc_controller.cpp60 static bool canFallback(int usage, bool triedSystem) in canFallback()
86 static bool useUncached(const int& usage) { in useUncached()
167 int usage, int& aligned_w, int& aligned_h) in getAlignedWidthAndHeight()
375 int IonController::allocate(alloc_data& data, int usage) in allocate()
453 bool isMacroTileEnabled(int format, int usage) in isMacroTileEnabled()
486 unsigned int getSize(int format, int width, int height, int usage, in getSize()
623 int usage, int& alignedw, int &alignedh) in getBufferSizeAndDimensions()
640 void getBufferAttributes(int width, int height, int format, int usage, in getBufferAttributes()
723 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) in alloc_buffer()
796 bool isUBwcEnabled(int format, int usage) in isUBwcEnabled()
Dgpu.cpp59 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, in gralloc_alloc_buffer()
208 int gpu_context_t::gralloc_alloc_framebuffer_locked(int usage, in gralloc_alloc_framebuffer_locked()
270 int gpu_context_t::gralloc_alloc_framebuffer(int usage, in gralloc_alloc_framebuffer()
280 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, in alloc_impl()
383 int usage, buffer_handle_t* pHandle, in gralloc_alloc()
393 int format, int usage, in gralloc_alloc_size()
/hardware/qcom/display/msm8226/libgralloc/
Dalloc_controller.cpp57 static bool canFallback(int usage, bool triedSystem) in canFallback()
79 static bool useUncached(int usage) in useUncached()
282 int IonController::allocate(alloc_data& data, int usage) in allocate()
364 bool isMacroTileEnabled(int format, int usage) in isMacroTileEnabled()
521 int usage, int& alignedw, int &alignedh) in getBufferSizeAndDimensions()
539 void getBufferAttributes(int width, int height, int format, int usage, in getBufferAttributes()
621 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) in alloc_buffer()
Dgpu.cpp54 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, in gralloc_alloc_buffer()
192 int gpu_context_t::gralloc_alloc_framebuffer_locked(int usage, in gralloc_alloc_framebuffer_locked()
252 int gpu_context_t::gralloc_alloc_framebuffer(int usage, in gralloc_alloc_framebuffer()
262 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, in alloc_impl()
356 int usage, buffer_handle_t* pHandle, in gralloc_alloc()
366 int format, int usage, in gralloc_alloc_size()
/hardware/qcom/display/msm8084/libgralloc/
Dalloc_controller.cpp57 static bool canFallback(int usage, bool triedSystem) in canFallback()
79 static bool useUncached(int usage) in useUncached()
283 int IonController::allocate(alloc_data& data, int usage) in allocate()
365 bool isMacroTileEnabled(int format, int usage) in isMacroTileEnabled()
525 size_t getBufferSizeAndDimensions(int width, int height, int format, int usage, in getBufferSizeAndDimensions()
544 void getBufferAttributes(int width, int height, int format, int usage, in getBufferAttributes()
627 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) in alloc_buffer()
Dgpu.cpp55 int gpu_context_t::gralloc_alloc_buffer(size_t size, int usage, in gralloc_alloc_buffer()
189 int gpu_context_t::gralloc_alloc_framebuffer_locked(int usage, in gralloc_alloc_framebuffer_locked()
249 int gpu_context_t::gralloc_alloc_framebuffer(int usage, in gralloc_alloc_framebuffer()
259 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, in alloc_impl()
353 int usage, buffer_handle_t* pHandle, in gralloc_alloc()
363 int format, int usage, in gralloc_alloc_size()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dgpu.cpp51 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, in gralloc_alloc_buffer()
190 int gpu_context_t::gralloc_alloc_framebuffer_locked(int usage, in gralloc_alloc_framebuffer_locked()
249 int gpu_context_t::gralloc_alloc_framebuffer(int usage, in gralloc_alloc_framebuffer()
259 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, in alloc_impl()
377 int usage, buffer_handle_t* pHandle, in gralloc_alloc()
387 int format, int usage, in gralloc_alloc_size()
Dalloc_controller.cpp96 static bool useUncached(const int& usage) { in useUncached()
161 int usage = 0; in getAlignedWidthAndHeight() local
223 int usage, int& aligned_w, int& aligned_h) in getAlignedWidthAndHeight()
465 int IonController::allocate(alloc_data& data, int usage) in allocate()
539 unsigned int getSize(int format, int width, int height, int usage, in getSize()
696 int usage, int& alignedw, int &alignedh) in getBufferSizeAndDimensions()
775 int usage = 0; in getYUVPlaneInfo() local
870 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) in alloc_buffer()
955 bool isUBwcEnabled(int format, int usage) in isUBwcEnabled()
/hardware/qcom/display/msm8960/libgralloc/
Dgpu.cpp55 int gpu_context_t::gralloc_alloc_buffer(size_t size, int usage, in gralloc_alloc_buffer()
175 int gpu_context_t::gralloc_alloc_framebuffer_locked(size_t size, int usage, in gralloc_alloc_framebuffer_locked()
235 int gpu_context_t::gralloc_alloc_framebuffer(size_t size, int usage, in gralloc_alloc_framebuffer()
245 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, in alloc_impl()
340 int usage, buffer_handle_t* pHandle, in gralloc_alloc()
350 int format, int usage, in gralloc_alloc_size()
Dalloc_controller.cpp56 static bool canFallback(int usage, bool triedSystem) in canFallback()
78 static bool useUncached(int usage) in useUncached()
179 int IonController::allocate(alloc_data& data, int usage) in allocate()
353 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) in alloc_buffer()
/hardware/qcom/display/msm8909/libgralloc/
Dgpu.cpp51 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, in gralloc_alloc_buffer()
190 int gpu_context_t::gralloc_alloc_framebuffer_locked(int usage, in gralloc_alloc_framebuffer_locked()
249 int gpu_context_t::gralloc_alloc_framebuffer(int usage, in gralloc_alloc_framebuffer()
259 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, in alloc_impl()
377 int usage, buffer_handle_t* pHandle, in gralloc_alloc()
387 int format, int usage, in gralloc_alloc_size()
Dalloc_controller.cpp96 static bool useUncached(const int& usage) { in useUncached()
161 int usage = 0; in getAlignedWidthAndHeight() local
223 int usage, int& aligned_w, int& aligned_h) in getAlignedWidthAndHeight()
465 int IonController::allocate(alloc_data& data, int usage) in allocate()
539 unsigned int getSize(int format, int width, int height, int usage, in getSize()
696 int usage, int& alignedw, int &alignedh) in getBufferSizeAndDimensions()
775 int usage = 0; in getYUVPlaneInfo() local
870 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) in alloc_buffer()
955 bool isUBwcEnabled(int format, int usage) in isUBwcEnabled()
/hardware/qcom/display/msm8996/libgralloc/
Dgpu.cpp58 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, in gralloc_alloc_buffer()
192 int gpu_context_t::gralloc_alloc_framebuffer_locked(int usage, in gralloc_alloc_framebuffer_locked()
251 int gpu_context_t::gralloc_alloc_framebuffer(int usage, in gralloc_alloc_framebuffer()
261 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, in alloc_impl()
378 int usage, buffer_handle_t* pHandle, in gralloc_alloc()
388 int format, int usage, in gralloc_alloc_size()
Dalloc_controller.cpp90 static bool useUncached(const int& usage) { in useUncached()
168 int usage = 0; in getAlignedWidthAndHeight() local
218 int usage, int& aligned_w, int& aligned_h) in getAlignedWidthAndHeight()
450 int IonController::allocate(alloc_data& data, int usage) in allocate()
520 bool isMacroTileEnabled(int format, int usage) in isMacroTileEnabled()
553 unsigned int getSize(int format, int width, int height, int usage, in getSize()
702 int usage, int& alignedw, int &alignedh) in getBufferSizeAndDimensions()
719 void getBufferAttributes(int width, int height, int format, int usage, in getBufferAttributes()
796 int usage = 0; in getYUVPlaneInfo() local
873 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) in alloc_buffer()
[all …]
/hardware/libhardware/modules/input/evdev/
DInputHost.cpp21 void InputReport::setIntUsage(InputCollectionId id, InputUsage usage, int32_t value, in setIntUsage()
26 void InputReport::setBoolUsage(InputCollectionId id, InputUsage usage, bool value, in setBoolUsage()
39 void InputReportDefinition::declareUsage(InputCollectionId id, InputUsage usage, in declareUsage()
45 void InputReportDefinition::declareUsages(InputCollectionId id, InputUsage* usage, in declareUsages()
/hardware/qcom/sdm845/display/gralloc/
Dgr_utils.cpp182 bool CpuCanAccess(uint64_t usage) { in CpuCanAccess()
186 bool CpuCanRead(uint64_t usage) { in CpuCanRead()
194 bool CpuCanWrite(uint64_t usage) { in CpuCanWrite()
203 uint32_t GetDataAlignment(int format, uint64_t usage) { in GetDataAlignment()
221 bool IsGPUFlagSupported(uint64_t usage) { in IsGPUFlagSupported()
242 uint64_t usage = info.usage; in GetSize() local
427 uint64_t usage = hnd->usage; in GetYUVPlaneInfo() local
583 bool IsUBwcEnabled(int format, uint64_t usage) { in IsUBwcEnabled()
803 uint64_t usage = info.usage; in GetAlignedWidthAndHeight() local
1025 bool CanUseAdrenoForSize(int buffer_type, uint64_t usage) { in CanUseAdrenoForSize()
Dgr_allocator.cpp95 int Allocator::AllocateMem(AllocData *alloc_data, uint64_t usage) { in AllocateMem()
182 int Allocator::GetImplDefinedFormat(uint64_t usage, int format) { in GetImplDefinedFormat()
237 bool Allocator::UseUncached(uint64_t usage) { in UseUncached()
260 void Allocator::GetIonHeapInfo(uint64_t usage, unsigned int *ion_heap_id, unsigned int *alloc_type, in GetIonHeapInfo()
/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/
DGralloc1Hal.h106 static uint64_t toProducerUsage(uint64_t usage) { in toProducerUsage()
140 static uint64_t toConsumerUsage(uint64_t usage) { in toConsumerUsage()
168 static bool gralloc1UsageUnsupported(uint64_t usage) { in gralloc1UsageUnsupported()
/hardware/google/av/codec2/vndk/
DC2AllocatorGralloc.cpp45 C2MemoryUsage C2AndroidMemoryUsage::FromGrallocUsage(uint64_t usage) { in FromGrallocUsage()
164 uint32_t width, uint32_t height, uint32_t format, uint64_t usage, in WrapAndMoveNativeHandle()
186 uint32_t width, uint32_t height, uint32_t format, uint64_t usage, in WrapNativeHandle()
237 uint64_t *usage, uint32_t *stride, in Import()
267 uint32_t width, uint32_t height, uint32_t format, uint64_t usage, uint32_t stride, in WrapNativeCodec2GrallocHandle()
347 C2Rect rect, C2MemoryUsage usage, C2Fence *fence, in map()
624 uint32_t *width, uint32_t *height, uint32_t *format,uint64_t *usage, uint32_t *stride, in _UnwrapNativeCodec2GrallocMetadata()
646 uint32_t width, uint32_t height, uint32_t format, const C2MemoryUsage &usage, in newGraphicAllocation()
750 uint32_t width, uint32_t height, uint32_t format, C2MemoryUsage usage, in newGraphicAllocation()
/hardware/libhardware/modules/gralloc/
Dgralloc.cpp104 size_t size, int format, int usage, buffer_handle_t* pHandle) in gralloc_alloc_framebuffer_locked()
157 size_t size, int format, int usage, buffer_handle_t* pHandle) in gralloc_alloc_framebuffer()
204 int width, int height, int format, int usage, in gralloc_alloc()
/hardware/qcom/display/msm8909/gralloc/
Dgr_buf_descriptor.h58 void SetConsumerUsage(gralloc1_consumer_usage_t usage) { consumer_usage_ = usage; } in SetConsumerUsage()
60 void SetProducerUsage(gralloc1_producer_usage_t usage) { producer_usage_ = usage; } in SetProducerUsage()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_buf_descriptor.h57 void SetConsumerUsage(gralloc1_consumer_usage_t usage) { consumer_usage_ = usage; } in SetConsumerUsage()
59 void SetProducerUsage(gralloc1_producer_usage_t usage) { producer_usage_ = usage; } in SetProducerUsage()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_buf_descriptor.h57 void SetConsumerUsage(gralloc1_consumer_usage_t usage) { consumer_usage_ = usage; } in SetConsumerUsage()
59 void SetProducerUsage(gralloc1_producer_usage_t usage) { producer_usage_ = usage; } in SetProducerUsage()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_buf_descriptor.h58 void SetConsumerUsage(gralloc1_consumer_usage_t usage) { consumer_usage_ = usage; } in SetConsumerUsage()
60 void SetProducerUsage(gralloc1_producer_usage_t usage) { producer_usage_ = usage; } in SetProducerUsage()

123456789