Home
last modified time | relevance | path

Searched refs:mosCtx (Results 1 – 25 of 70) sorted by relevance

123

/dports/multimedia/cmrtlib/media-driver-intel-media-20.1.1/media_driver/linux/common/codec/ddi/
H A Dmedia_libva_decoder.cpp242 MOS_CONTEXT mosCtx = {}; in DdiDecode_CreateContext() local
316 mosCtx.bufmgr = mediaCtx->pDrmBufMgr; in DdiDecode_CreateContext()
318 mosCtx.m_cmdBufMgr = mediaCtx->m_cmdBufMgr; in DdiDecode_CreateContext()
319 mosCtx.fd = mediaCtx->fd; in DdiDecode_CreateContext()
320 mosCtx.iDeviceId = mediaCtx->iDeviceId; in DdiDecode_CreateContext()
321 mosCtx.SkuTable = mediaCtx->SkuTable; in DdiDecode_CreateContext()
322 mosCtx.WaTable = mediaCtx->WaTable; in DdiDecode_CreateContext()
324 mosCtx.platform = mediaCtx->platform; in DdiDecode_CreateContext()
330 mosCtx.m_auxTableMgr = mediaCtx->m_auxTableMgr; in DdiDecode_CreateContext()
334 if (nullptr == mosCtx.pPerfData) in DdiDecode_CreateContext()
[all …]
H A Dmedia_libva_encoder.cpp264 MOS_CONTEXT mosCtx = { }; in DdiEncode_CreateContext() local
274 mosCtx.bufmgr = mediaDrvCtx->pDrmBufMgr; in DdiEncode_CreateContext()
276 mosCtx.m_cmdBufMgr = mediaDrvCtx->m_cmdBufMgr; in DdiEncode_CreateContext()
277 mosCtx.fd = mediaDrvCtx->fd; in DdiEncode_CreateContext()
278 mosCtx.iDeviceId = mediaDrvCtx->iDeviceId; in DdiEncode_CreateContext()
279 mosCtx.SkuTable = mediaDrvCtx->SkuTable; in DdiEncode_CreateContext()
280 mosCtx.WaTable = mediaDrvCtx->WaTable; in DdiEncode_CreateContext()
281 mosCtx.gtSystemInfo = *mediaDrvCtx->pGtSystemInfo; in DdiEncode_CreateContext()
282 mosCtx.platform = mediaDrvCtx->platform; in DdiEncode_CreateContext()
295 if (nullptr == mosCtx.pPerfData) in DdiEncode_CreateContext()
[all …]
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_softlet/agnostic/common/os/
H A Dmos_util_debug_next.cpp167 mosCtx); in MosMessageInitComponent()
190 mosCtx); in MosMessageInitComponent()
210 mosCtx); in MosMessageInitComponent()
261 mosCtx); in MosHLTInit()
286 MosLogFileNamePrefix(fileNamePrefix, mosCtx); in MosHLTInit()
347 mosCtx); in MosDDIDumpInit()
357 mosCtx); in MosDDIDumpInit()
388 mosCtx); in MosMessageInit()
414 mosCtx); in MosMessageInit()
437 MosHLTInit(mosCtx); in MosMessageInit()
[all …]
H A Dmos_util_debug_next.h52 static void MosMessageInit(MOS_CONTEXT_HANDLE mosCtx);
76 static MOS_STATUS MosLogFileNamePrefix(char *fileNamePrefix, MOS_CONTEXT_HANDLE mosCtx);
212 static void MosMessageInitComponent(MOS_COMPONENT_ID compID, MOS_CONTEXT_HANDLE mosCtx);
224 static MOS_STATUS MosHLTInit(MOS_CONTEXT_HANDLE mosCtx);
236 static MOS_STATUS MosDDIDumpInit(MOS_CONTEXT_HANDLE mosCtx);
H A Dmos_os_next.cpp34 const GpuCmdResInfoDumpNext *GpuCmdResInfoDumpNext::GetInstance(PMOS_CONTEXT mosCtx) in GetInstance() argument
38 m_instance = std::make_shared<GpuCmdResInfoDumpNext>(mosCtx); in GetInstance()
43 GpuCmdResInfoDumpNext::GpuCmdResInfoDumpNext(PMOS_CONTEXT mosCtx) in GpuCmdResInfoDumpNext() argument
51 mosCtx); in GpuCmdResInfoDumpNext()
67 mosCtx); in GpuCmdResInfoDumpNext()
H A Dmos_utilities_next.h168 static MOS_STATUS MosUtilitiesInit(MOS_CONTEXT_HANDLE mosCtx);
179 static MOS_STATUS MosUtilitiesClose(MOS_CONTEXT_HANDLE mosCtx);
199 static MOS_STATUS MosOsUtilitiesInit(MOS_CONTEXT_HANDLE mosCtx);
208 static MOS_STATUS MosOsUtilitiesClose(MOS_CONTEXT_HANDLE mosCtx);
219 static void MosInitAllocMemoryFailSimulateFlag(MOS_CONTEXT_HANDLE mosCtx);
628 static MOS_STATUS MosGenerateUserFeatureKeyXML(MOS_CONTEXT_HANDLE mosCtx);
777 MOS_CONTEXT_HANDLE mosCtx);
819 MOS_CONTEXT_HANDLE mosCtx);
887 MOS_CONTEXT_HANDLE mosCtx);
H A Dmos_os_next.h51 static const GpuCmdResInfoDumpNext *GetInstance(PMOS_CONTEXT mosCtx);
52 GpuCmdResInfoDumpNext(PMOS_CONTEXT mosCtx);
H A Dmos_utilities_next.cpp107 mosCtx); in MosInitAllocMemoryFailSimulateFlag()
128 mosCtx); in MosInitAllocMemoryFailSimulateFlag()
153 mosCtx); in MosInitAllocMemoryFailSimulateFlag()
227 eStatus = MosOsUtilitiesInit(mosCtx); in MosUtilitiesInit()
231 MosInitAllocMemoryFailSimulateFlag(mosCtx); in MosUtilitiesInit()
240 mosCtx); in MosUtilitiesInit()
258 eStatus = MosOsUtilitiesClose(mosCtx); in MosUtilitiesClose()
262 MosInitAllocMemoryFailSimulateFlag(mosCtx); in MosUtilitiesClose()
804 mosCtx); in MosGenerateUserFeatureKeyXML()
816 mosCtx); in MosGenerateUserFeatureKeyXML()
[all …]
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_driver/linux/common/cm/hal/
H A Dcm_wrapper_os.cpp74 cmCtx->mosCtx.bufmgr = mediaCtx->pDrmBufMgr; in CreateCmDeviceFromVA()
75 cmCtx->mosCtx.m_gpuContextMgr = mediaCtx->m_gpuContextMgr; in CreateCmDeviceFromVA()
76 cmCtx->mosCtx.m_cmdBufMgr = mediaCtx->m_cmdBufMgr; in CreateCmDeviceFromVA()
77 cmCtx->mosCtx.fd = mediaCtx->fd; in CreateCmDeviceFromVA()
78 cmCtx->mosCtx.wRevision = 0; in CreateCmDeviceFromVA()
79 cmCtx->mosCtx.iDeviceId = mediaCtx->iDeviceId; in CreateCmDeviceFromVA()
80 cmCtx->mosCtx.SkuTable = mediaCtx->SkuTable; in CreateCmDeviceFromVA()
81 cmCtx->mosCtx.WaTable = mediaCtx->WaTable; in CreateCmDeviceFromVA()
83 cmCtx->mosCtx.platform = mediaCtx->platform; in CreateCmDeviceFromVA()
90 if (cmCtx->mosCtx.pPerfData == nullptr) in CreateCmDeviceFromVA()
[all …]
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_driver/agnostic/common/codec/hal/
H A Dcodechal.h58 #define CODECHAL_UPDATE_ENCODE_MMC_USER_FEATURE(surface, mosCtx) … argument
65 …MOS_UserFeature_WriteValues_ID(nullptr, &userFeatureWriteData, 1, mosCtx); …
70 …MOS_UserFeature_WriteValues_ID(nullptr, &userFeatureWriteData, 1, mosCtx); …
74 #define CODECHAL_UPDATE_VDBOX_USER_FEATURE(videoGpuNode, mosCtx) … argument
90mosCtx); …
99 …MOS_UserFeature_WriteValues_ID(nullptr, &userFeatureWriteData, 1, mosCtx); …
102 #define CODECHAL_UPDATE_USED_VDBOX_ID_USER_FEATURE(instanceId, mosCtx) … argument
115mosCtx); …
126 …MOS_UserFeature_WriteValues_ID(nullptr, &userFeatureWriteData, 1, mosCtx); …
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_driver/agnostic/common/os/
H A Dmos_util_debug.cpp290 void MOS_MessageInitComponent(MOS_COMPONENT_ID compID, MOS_CONTEXT_HANDLE mosCtx) in MOS_MessageInitComponent() argument
317 mosCtx); in MOS_MessageInitComponent()
325 MOS_UserFeature_WriteValues_ID(nullptr, &UserFeatureWriteData, 1, mosCtx); in MOS_MessageInitComponent()
340 mosCtx); in MOS_MessageInitComponent()
347 MOS_UserFeature_WriteValues_ID(nullptr, &UserFeatureWriteData, 1, mosCtx); in MOS_MessageInitComponent()
360 mosCtx); in MOS_MessageInitComponent()
394 MOS_STATUS MOS_DDIDumpInit(MOS_CONTEXT_HANDLE mosCtx) in MOS_DDIDumpInit() argument
411 mosCtx); in MOS_DDIDumpInit()
421 mosCtx); in MOS_DDIDumpInit()
448 void MOS_MessageInit(MOS_CONTEXT_HANDLE mosCtx) in MOS_MessageInit() argument
[all …]
H A Dmos_context.cpp48 MOS_STATUS OsContext::CommandBufferDumpInit(PMOS_CONTEXT mosCtx) in CommandBufferDumpInit() argument
60 mosCtx); in CommandBufferDumpInit()
/dports/multimedia/cmrtlib/media-driver-intel-media-20.1.1/media_driver/linux/common/cm/hal/
H A Dcm_wrapper_os.cpp74 cmCtx->mosCtx.bufmgr = mediaCtx->pDrmBufMgr; in CreateCmDeviceFromVA()
75 cmCtx->mosCtx.m_gpuContextMgr = mediaCtx->m_gpuContextMgr; in CreateCmDeviceFromVA()
76 cmCtx->mosCtx.m_cmdBufMgr = mediaCtx->m_cmdBufMgr; in CreateCmDeviceFromVA()
77 cmCtx->mosCtx.fd = mediaCtx->fd; in CreateCmDeviceFromVA()
78 cmCtx->mosCtx.wRevision = 0; in CreateCmDeviceFromVA()
79 cmCtx->mosCtx.iDeviceId = mediaCtx->iDeviceId; in CreateCmDeviceFromVA()
80 cmCtx->mosCtx.SkuTable = mediaCtx->SkuTable; in CreateCmDeviceFromVA()
81 cmCtx->mosCtx.WaTable = mediaCtx->WaTable; in CreateCmDeviceFromVA()
83 cmCtx->mosCtx.platform = mediaCtx->platform; in CreateCmDeviceFromVA()
87 if(cmCtx->mosCtx.pPerfData == nullptr) in CreateCmDeviceFromVA()
[all …]
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_driver/linux/common/codec/ddi/
H A Dmedia_libva_decoder.cpp490 MOS_CONTEXT mosCtx = {}; in DdiDecode_CreateContext() local
564 mosCtx.bufmgr = mediaCtx->pDrmBufMgr; in DdiDecode_CreateContext()
566 mosCtx.m_cmdBufMgr = mediaCtx->m_cmdBufMgr; in DdiDecode_CreateContext()
567 mosCtx.fd = mediaCtx->fd; in DdiDecode_CreateContext()
568 mosCtx.iDeviceId = mediaCtx->iDeviceId; in DdiDecode_CreateContext()
569 mosCtx.SkuTable = mediaCtx->SkuTable; in DdiDecode_CreateContext()
570 mosCtx.WaTable = mediaCtx->WaTable; in DdiDecode_CreateContext()
572 mosCtx.platform = mediaCtx->platform; in DdiDecode_CreateContext()
578 mosCtx.m_auxTableMgr = mediaCtx->m_auxTableMgr; in DdiDecode_CreateContext()
584 if (nullptr == mosCtx.pPerfData) in DdiDecode_CreateContext()
[all …]
H A Dmedia_libva_encoder.cpp265 MOS_CONTEXT mosCtx = { }; in DdiEncode_CreateContext() local
275 mosCtx.bufmgr = mediaDrvCtx->pDrmBufMgr; in DdiEncode_CreateContext()
277 mosCtx.m_cmdBufMgr = mediaDrvCtx->m_cmdBufMgr; in DdiEncode_CreateContext()
278 mosCtx.fd = mediaDrvCtx->fd; in DdiEncode_CreateContext()
279 mosCtx.iDeviceId = mediaDrvCtx->iDeviceId; in DdiEncode_CreateContext()
280 mosCtx.SkuTable = mediaDrvCtx->SkuTable; in DdiEncode_CreateContext()
281 mosCtx.WaTable = mediaDrvCtx->WaTable; in DdiEncode_CreateContext()
282 mosCtx.gtSystemInfo = *mediaDrvCtx->pGtSystemInfo; in DdiEncode_CreateContext()
283 mosCtx.platform = mediaDrvCtx->platform; in DdiEncode_CreateContext()
298 if (nullptr == mosCtx.pPerfData) in DdiEncode_CreateContext()
[all …]
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_driver/linux/common/os/
H A Dmos_oca_specific.cpp39 #define MOS_OCA_CHK_NULL_RETURN(mosCtx, _ptr, func, line) \ argument
43 MosOcaInterfaceSpecific::OnOcaError(mosCtx, MOS_STATUS_NULL_POINTER, func, line); \
53 #define MOS_OCA_CHK_STATUS_RETURN(mosCtx, _stmt, func, line) \ argument
58 MosOcaInterfaceSpecific::OnOcaError(mosCtx, stmtStatus, func, line); \
199 AddResourceInfoToLogSection(ocaBufHandle, mosCtx); in On1stLevelBBEnd()
332 … MosOcaInterfaceSpecific::OnOcaError(mosCtx, MOS_STATUS_UNINITIALIZED, __FUNCTION__, __LINE__); in AddResourceToDumpList()
349 … MosOcaInterfaceSpecific::OnOcaError(mosCtx, MOS_STATUS_UNINITIALIZED, __FUNCTION__, __LINE__); in AddResourceToDumpList()
377 steamState.osDeviceContext = mosCtx->m_osDeviceContext; in AddResourceToDumpList()
443 MosOcaInterfaceSpecific::OnOcaError(mosCtx, status, __FUNCTION__, __LINE__); in AddResourceInfoToLogSection()
599 MOS_UserFeature_WriteValues_ID(NULL, &UserFeatureWriteData, 1, mosCtx); in OnOcaError()
[all …]
H A Dmos_oca_interface_specific.h220 virtual MOS_STATUS On1stLevelBBEnd(MOS_OCA_BUFFER_HANDLE ocaBufHandle, PMOS_CONTEXT mosCtx);
275 …atch(uint32_t &offsetInIndirectStateHeap, MOS_OCA_BUFFER_HANDLE ocaBufHandle, PMOS_CONTEXT mosCtx);
290 …virtual MOS_STATUS TraceMessage(MOS_OCA_BUFFER_HANDLE ocaBufHandle, PMOS_CONTEXT mosCtx, const cha…
309 …S AddResourceToDumpList(MOS_OCA_BUFFER_HANDLE ocaBufHandle, PMOS_CONTEXT mosCtx, MOS_RESOURCE &res…
324 …virtual MOS_STATUS DumpDataBlock(MOS_OCA_BUFFER_HANDLE ocaBufHandle, PMOS_CONTEXT mosCtx, PMOS_OCA…
349 static void InitOcaErrorHandler(MOS_CONTEXT *mosCtx);
362 …static void OnOcaError(PMOS_CONTEXT mosCtx, MOS_STATUS status, const char *functionName, uint32_t …
390 void AddResourceInfoToLogSection(MOS_OCA_BUFFER_HANDLE ocaBufHandle, PMOS_CONTEXT mosCtx);
H A Dmos_util_debug_specific.cpp72 MOS_STATUS MOS_LogFileNamePrefix(char *fileNamePrefix, MOS_CONTEXT_HANDLE mosCtx) in MOS_LogFileNamePrefix() argument
101 mosCtx); in MOS_LogFileNamePrefix()
119 eStatus = MOS_UserFeature_WriteValues_ID(nullptr, &UserFeatureWriteData, 1, mosCtx); in MOS_LogFileNamePrefix()
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_common/agnostic/common/os/
H A Dmos_oca_interface.h118 virtual MOS_STATUS On1stLevelBBEnd(MOS_OCA_BUFFER_HANDLE hOcaBuf, PMOS_CONTEXT mosCtx) in On1stLevelBBEnd() argument
182 …OnDispatch(uint32_t &offsetInIndirectStateHeap, MOS_OCA_BUFFER_HANDLE hOcaBuf, PMOS_CONTEXT mosCtx) in OnDispatch() argument
201 …virtual MOS_STATUS TraceMessage(MOS_OCA_BUFFER_HANDLE hOcaBuf, PMOS_CONTEXT mosCtx, const char *st… in TraceMessage() argument
223 …virtual MOS_STATUS AddResourceToDumpList(MOS_OCA_BUFFER_HANDLE hOcaBuf, PMOS_CONTEXT mosCtx, MOS_R… in AddResourceToDumpList() argument
241 …virtual MOS_STATUS DumpDataBlock(MOS_OCA_BUFFER_HANDLE hOcaBuf, PMOS_CONTEXT mosCtx, PMOS_OCA_LOG_… in DumpDataBlock() argument
H A Dmos_utilities.h316 #define WriteUserFeature64(key, value, mosCtx) … argument
321 … MosUtilities::MosUserFeatureWriteValuesID(nullptr, &UserFeatureWriteData, 1, mosCtx); \
324 #define WriteUserFeature(key, value, mosCtx) … argument
329 … MosUtilities::MosUserFeatureWriteValuesID(nullptr, &UserFeatureWriteData, 1, mosCtx); \
332 #define WriteUserFeatureString(key, value, len, mosCtx) … argument
338 … MosUtilities::MosUserFeatureWriteValuesID(nullptr, &UserFeatureWriteData, 1, mosCtx); \
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_driver/linux/common/ddi/
H A Dmedia_libva.cpp1056 DDI_CHK_NULL(mosCtx, "nullptr mosCtx",); in DdiMedia_MediaMemoryDecompressInternal()
1208 PMOS_CONTEXT mosCtx, in DdiMedia_MediaMemoryTileConvertInternal() argument
1288 MOS_CONTEXT mosCtx; in DdiMedia_MediaMemoryDecompress() local
1292 MOS_ZeroMemory(&mosCtx, sizeof(mosCtx)); in DdiMedia_MediaMemoryDecompress()
1741 MOS_CONTEXT mosCtx = {}; in DdiMedia_InitMediaContext() local
1742 mosCtx.fd = mediaCtx->fd; in DdiMedia_InitMediaContext()
1743 MosInterface::InitOsUtilities(&mosCtx); in DdiMedia_InitMediaContext()
1888 MOS_CONTEXT mosCtx = {}; in DdiMedia_InitMediaContext() local
6087 PMOS_CONTEXT mosCtx, in DdiMedia_CopyInternal() argument
6145 MOS_CONTEXT mosCtx; in DdiMedia_Copy() local
[all …]
H A Dmedia_libva_util.cpp1103 MOS_CONTEXT mosCtx = { }; in SwizzleSurfaceByHW() local
1109 mosCtx.bufmgr = mediaDrvCtx->pDrmBufMgr; in SwizzleSurfaceByHW()
1111 mosCtx.m_cmdBufMgr = mediaDrvCtx->m_cmdBufMgr; in SwizzleSurfaceByHW()
1112 mosCtx.fd = mediaDrvCtx->fd; in SwizzleSurfaceByHW()
1113 mosCtx.iDeviceId = mediaDrvCtx->iDeviceId; in SwizzleSurfaceByHW()
1114 mosCtx.SkuTable = mediaDrvCtx->SkuTable; in SwizzleSurfaceByHW()
1115 mosCtx.WaTable = mediaDrvCtx->WaTable; in SwizzleSurfaceByHW()
1116 mosCtx.gtSystemInfo = *mediaDrvCtx->pGtSystemInfo; in SwizzleSurfaceByHW()
1117 mosCtx.platform = mediaDrvCtx->platform; in SwizzleSurfaceByHW()
1123 mosCtx.pPerfData = &perfData; in SwizzleSurfaceByHW()
[all …]
/dports/multimedia/cmrtlib/media-driver-intel-media-20.1.1/media_driver/linux/common/cp/ddi/
H A Dmedia_libva_cp_interface.cpp43 DdiCpInterface* Create_DdiCpInterface(MOS_CONTEXT& mosCtx) in Create_DdiCpInterface() argument
49 CPLibUtils::FUNC_CREATE_DDICP, &mosCtx); in Create_DdiCpInterface()
53 return nullptr == pDdiCpInterface ? MOS_New(DdiCpInterface, mosCtx) : pDdiCpInterface; in Create_DdiCpInterface()
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_driver/linux/common/cp/ddi/
H A Dmedia_libva_cp_interface.cpp43 DdiCpInterface* Create_DdiCpInterface(MOS_CONTEXT& mosCtx) in Create_DdiCpInterface() argument
49 pInterface = cp_interface->Create_DdiCpInterface(mosCtx); in Create_DdiCpInterface()
55 return nullptr == pInterface ? MOS_New(DdiCpInterface, mosCtx) : pInterface; in Create_DdiCpInterface()
/dports/multimedia/cmrtlib/media-driver-intel-media-20.1.1/media_driver/linux/common/ddi/
H A Dmedia_libva.cpp1029 DDI_CHK_NULL(mosCtx, "nullptr mosCtx",); in DdiMedia_MediaMemoryDecompressInternal()
1065 DDI_CHK_NULL(mosCtx, "nullptr mosCtx",); in DdiMedia_MediaMemoryCopyInternal()
1111 DDI_CHK_NULL(mosCtx, "nullptr mosCtx",); in DdiMedia_MediaMemoryCopy2DInternal()
1172 MOS_CONTEXT mosCtx; in DdiMedia_MediaMemoryDecompress() local
1176 MOS_ZeroMemory(&mosCtx, sizeof(mosCtx)); in DdiMedia_MediaMemoryDecompress()
1184 mosCtx.fd = mediaCtx->fd; in DdiMedia_MediaMemoryDecompress()
1186 mosCtx.SkuTable = mediaCtx->SkuTable; in DdiMedia_MediaMemoryDecompress()
1187 mosCtx.WaTable = mediaCtx->WaTable; in DdiMedia_MediaMemoryDecompress()
1189 mosCtx.platform = mediaCtx->platform; in DdiMedia_MediaMemoryDecompress()
1646 MOS_CONTEXT mosCtx = {}; in DdiMedia__Initialize() local
[all …]

123