Searched refs:pDecoderCtxHeap (Results 1 – 9 of 9) sorted by relevance
/aosp_15_r20/external/intel-media-driver/media_driver/linux/common/ddi/ |
H A D | ddi_media_context.h | 58 PDDI_MEDIA_HEAP pDecoderCtxHeap = nullptr; member
|
H A D | media_libva_util.cpp | 1901 if (mediaCtx->pDecoderCtxHeap != nullptr) in DdiMediaUtil_UnRegisterRTSurfaces() 1906 decVACtxHeapBase = (PDDI_MEDIA_VACONTEXT_HEAP_ELEMENT)mediaCtx->pDecoderCtxHeap->pHeapBase; in DdiMediaUtil_UnRegisterRTSurfaces() 1907 for (uint32_t j = 0; j < mediaCtx->pDecoderCtxHeap->uiAllocatedHeapElements; j++) in DdiMediaUtil_UnRegisterRTSurfaces()
|
H A D | media_libva_common.cpp | 102 … return DdiMedia_GetVaContextFromHeap(mediaCtx->pDecoderCtxHeap, index, &mediaCtx->DecoderMutex); in DdiMedia_GetContextFromContextID()
|
H A D | media_libva.cpp | 905 PDDI_MEDIA_HEAP decoderContextHeap = mediaCtx->pDecoderCtxHeap; in DdiMedia_FreeContextHeapElements() 1396 mediaCtx->pDecoderCtxHeap = (DDI_MEDIA_HEAP *)MOS_AllocAndZeroMemory(sizeof(DDI_MEDIA_HEAP)); in DdiMedia_HeapInitialize() 1397 …DDI_CHK_NULL(mediaCtx->pDecoderCtxHeap, "nullptr DecoderCtxHeap", VA_STATUS_ERROR_ALLOCATION_FAILE… in DdiMedia_HeapInitialize() 1398 mediaCtx->pDecoderCtxHeap->uiHeapElementSize = sizeof(DDI_MEDIA_VACONTEXT_HEAP_ELEMENT); in DdiMedia_HeapInitialize() 1457 MOS_FreeMemory(mediaCtx->pDecoderCtxHeap->pHeapBase); in DdiMedia_HeapDestroy() 1458 MOS_FreeMemory(mediaCtx->pDecoderCtxHeap); in DdiMedia_HeapDestroy() 1538 MOS_FreeMemory(mediaCtx->pDecoderCtxHeap); in FreeForMediaContext()
|
/aosp_15_r20/external/intel-media-driver/media_driver/linux/common/codec/ddi/ |
H A D | media_libva_decoder.cpp | 727 contextHeapElement = DdiMediaUtil_AllocPVAContextFromHeap(mediaCtx->pDecoderCtxHeap); in DdiDecode_CreateContext() 884 DdiMediaUtil_ReleasePVAContextFromHeap(mediaCtx->pDecoderCtxHeap, decIndex); in DdiDecode_DestroyContext()
|
/aosp_15_r20/external/intel-media-driver/media_softlet/linux/common/ddi/ |
H A D | media_libva_interface_next.cpp | 64 MOS_FreeMemory(mediaCtx->pDecoderCtxHeap); in FreeForMediaContext() 123 mediaCtx->pDecoderCtxHeap = (DDI_MEDIA_HEAP *)MOS_AllocAndZeroMemory(sizeof(DDI_MEDIA_HEAP)); in HeapInitialize() 124 …DDI_CHK_NULL(mediaCtx->pDecoderCtxHeap, "nullptr DecoderCtxHeap", VA_STATUS_ERROR_ALLOCATION_FAILE… in HeapInitialize() 125 mediaCtx->pDecoderCtxHeap->uiHeapElementSize = sizeof(DDI_MEDIA_VACONTEXT_HEAP_ELEMENT); in HeapInitialize() 587 PDDI_MEDIA_HEAP decoderContextHeap = mediaCtx->pDecoderCtxHeap; in FreeContextHeapElements() 628 MOS_FreeMemory(mediaCtx->pDecoderCtxHeap->pHeapBase); in HeapDestroy() 629 MOS_FreeMemory(mediaCtx->pDecoderCtxHeap); in HeapDestroy()
|
H A D | media_libva_common_next.cpp | 346 return GetVaContextFromHeap(mediaCtx->pDecoderCtxHeap, index, &mediaCtx->DecoderMutex); in GetContextFromContextID()
|
H A D | media_libva_util_next.cpp | 1190 if (mediaCtx->pDecoderCtxHeap != nullptr) in UnRegisterRTSurfaces() 1195 decVACtxHeapBase = (PDDI_MEDIA_VACONTEXT_HEAP_ELEMENT)mediaCtx->pDecoderCtxHeap->pHeapBase; in UnRegisterRTSurfaces() 1196 for (uint32_t j = 0; j < mediaCtx->pDecoderCtxHeap->uiAllocatedHeapElements; j++) in UnRegisterRTSurfaces()
|
/aosp_15_r20/external/intel-media-driver/media_softlet/linux/common/codec/ddi/dec/ |
H A D | ddi_decode_functions.cpp | 269 …MENT vaContextHeapElmt = MediaLibvaUtilNext::DdiAllocPVAContextFromHeap(mediaCtx->pDecoderCtxHeap); in CreateContext() 402 MediaLibvaUtilNext::DdiReleasePVAContextFromHeap(mediaCtx->pDecoderCtxHeap, decIndex); in DestroyContext()
|