Searched refs:codecHal (Results 1 – 6 of 6) sorted by relevance
368 Codechal *codecHal; in DestroyContext() local370 codecHal = m_ddiDecodeCtx->pCodecHal; in DestroyContext()372 if (codecHal != nullptr) in DestroyContext()374 if (codecHal->GetOsInterface() && codecHal->GetOsInterface()->pOsContext) in DestroyContext()381 codecHal->Destroy(); in DestroyContext()382 MOS_Delete(codecHal); in DestroyContext()1158 Codechal *codecHal = CodechalDevice::CreateFactory( in CreateCodecHal() local1164 if (nullptr == codecHal) in CreateCodecHal()1171 if (codecHal->IsApogeiosEnabled()) in CreateCodecHal()1192 m_ddiDecodeCtx->pCodecHal = codecHal; in CreateCodecHal()[all …]
462 Codechal *codecHal = encCtx->pCodecHal; in DdiEncode_DestroyContext() local474 if (codecHal->GetOsInterface() && codecHal->GetOsInterface()->pOsContext) in DdiEncode_DestroyContext()476 MOS_FreeMemory(codecHal->GetOsInterface()->pOsContext->pPerfData); in DdiEncode_DestroyContext()477 codecHal->GetOsInterface()->pOsContext->pPerfData = nullptr; in DdiEncode_DestroyContext()481 codecHal->Destroy(); in DdiEncode_DestroyContext()482 MOS_Delete(codecHal); in DdiEncode_DestroyContext()
342 Codechal *codecHal; in DestroyContext() local344 codecHal = m_ddiDecodeCtx->pCodecHal; in DestroyContext()346 if (codecHal != nullptr) in DestroyContext()352 codecHal->Destroy(); in DestroyContext()353 MOS_Delete(codecHal); in DestroyContext()1118 Codechal *codecHal = CodechalDevice::CreateFactory( in CreateCodecHal() local1124 if (codecHal->IsApogeiosEnabled()) in CreateCodecHal()1127 if (nullptr == codecHal || nullptr == decoder) in CreateCodecHal()1138 if (nullptr == codecHal || nullptr == decoder) in CreateCodecHal()1146 m_ddiDecodeCtx->pCodecHal = codecHal; in CreateCodecHal()[all …]
459 Codechal *codecHal = encCtx->pCodecHal; in DdiEncode_DestroyContext() local471 MOS_FreeMemory(codecHal->GetOsInterface()->pOsContext->pPerfData); in DdiEncode_DestroyContext()472 codecHal->GetOsInterface()->pOsContext->pPerfData = nullptr; in DdiEncode_DestroyContext()475 codecHal->Destroy(); in DdiEncode_DestroyContext()476 MOS_Delete(codecHal); in DdiEncode_DestroyContext()
3637 Codechal *codecHal = decCtx->pCodecHal; in DdiMedia_SyncSurface() local3639 DDI_CHK_NULL(codecHal, "nullptr decCtx->pCodecHal", VA_STATUS_SUCCESS); in DdiMedia_SyncSurface()3643 if (codecHal->IsApogeiosEnabled()) in DdiMedia_SyncSurface()3645 DecodePipelineAdapter *decoder = dynamic_cast<DecodePipelineAdapter *>(codecHal); in DdiMedia_SyncSurface()3651 CodechalDecode *decoder = dynamic_cast<CodechalDecode *>(codecHal); in DdiMedia_SyncSurface()
4022 Codechal *codecHal = decCtx->pCodecHal; in DdiMedia_StatusCheck() local4024 DDI_CHK_NULL(codecHal, "nullptr decCtx->pCodecHal", VA_STATUS_SUCCESS); in DdiMedia_StatusCheck()4027 if (codecHal->IsApogeiosEnabled()) in DdiMedia_StatusCheck()4029 DecodePipelineAdapter *decoder = dynamic_cast<DecodePipelineAdapter *>(codecHal); in DdiMedia_StatusCheck()4035 CodechalDecode *decoder = dynamic_cast<CodechalDecode *>(codecHal); in DdiMedia_StatusCheck()