Home
last modified time | relevance | path

Searched refs:grallocHandle (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/codec2/vndk/
DC2AllocatorBlob.cpp35 c2_status_t GetCapacityFromHandle(const C2Handle* const grallocHandle, size_t* capacity) { in GetCapacityFromHandle() argument
38 _UnwrapNativeCodec2GrallocMetadata(grallocHandle, &width, &height, &format, &usage, &stride, in GetCapacityFromHandle()
153 const C2Handle* const grallocHandle = graphicAllocation->handle(); in priorLinearAllocation() local
155 status = GetCapacityFromHandle(grallocHandle, &capacity); in priorLinearAllocation()
DC2AllocatorGralloc.cpp738 const C2HandleGralloc *grallocHandle = C2HandleGralloc::Import( in priorGraphicAllocation() local
741 if (grallocHandle == nullptr) { in priorGraphicAllocation()
746 hidlHandle.setTo(C2HandleGralloc::UnwrapNativeHandle(grallocHandle), true); in priorGraphicAllocation()
750 grallocUsage, stride, hidlHandle, grallocHandle, mTraits->id)); in priorGraphicAllocation()
/frameworks/av/media/codec2/hidl/1.0/utils/
DOutputBufferQueue.cpp59 native_handle_t *grallocHandle = in createGraphicBuffer() local
62 new GraphicBuffer(grallocHandle, in createGraphicBuffer()
66 native_handle_delete(grallocHandle); in createGraphicBuffer()
/frameworks/av/media/codec2/components/cmds/
Dcodec2.cpp252 native_handle_t *grallocHandle = UnwrapNativeCodec2GrallocHandle(block.handle()); in play() local
254 grallocHandle, in play()
262 native_handle_delete(grallocHandle); in play()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp716 native_handle_t *grallocHandle = UnwrapNativeCodec2GrallocHandle(c2Handle); in getOutputFrame() local
718 grallocHandle, GraphicBuffer::CLONE_HANDLE, in getOutputFrame()