/aosp_15_r20/external/intel-media-driver/media_driver/linux/common/codec/ddi/ |
H A D | media_libva_encoder.cpp | 339 Codechal *pCodecHal = CodechalDevice::CreateFactory( in DdiEncode_CreateContext() local 344 if (pCodecHal == nullptr) in DdiEncode_CreateContext() 346 pCodecHal = CodechalDeviceNext::CreateFactory( in DdiEncode_CreateContext() 352 if (nullptr == pCodecHal) in DdiEncode_CreateContext() 361 encCtx->pCodecHal = pCodecHal; in DdiEncode_CreateContext() 390 MOS_STATUS eStatus = pCodecHal->Allocate(encCtx->m_encode->m_codechalSettings); in DdiEncode_CreateContext() 393 PMOS_INTERFACE osInterface = pCodecHal->GetOsInterface(); in DdiEncode_CreateContext() 472 DDI_CHK_NULL(encCtx->pCodecHal, "nullptr encCtx->pCodecHal", VA_STATUS_ERROR_INVALID_CONTEXT); in DdiEncode_DestroyContext() 474 Codechal *codecHal = encCtx->pCodecHal; in DdiEncode_DestroyContext() 668 … CodechalEncoderState *encoder = dynamic_cast<CodechalEncoderState *>(encodeContext->pCodecHal); in DdiEncode_MfeSubmit() [all …]
|
H A D | media_ddi_decode_base.cpp | 275 if (nullptr == m_ddiDecodeCtx->pCodecHal) in BeginPicture() 280 MOS_STATUS eStatus = m_ddiDecodeCtx->pCodecHal->BeginFrame(); in BeginPicture() 390 codecHal = m_ddiDecodeCtx->pCodecHal; in DestroyContext() 404 m_ddiDecodeCtx->pCodecHal = nullptr; in DestroyContext() 729 if (m_ddiDecodeCtx->pCodecHal->IsApogeiosEnabled()) in ExtraDownScaling() 731 … DecodePipelineAdapter *decoder = dynamic_cast<DecodePipelineAdapter *>(m_ddiDecodeCtx->pCodecHal); in ExtraDownScaling() 737 CodechalDecode *decoder = dynamic_cast<CodechalDecode *>(m_ddiDecodeCtx->pCodecHal); in ExtraDownScaling() 907 if (m_ddiDecodeCtx->pCodecHal == nullptr) in EndPicture() 915 m_ddiDecodeCtx->pCodecHal->GetOsInterface(), in EndPicture() 919 if(m_ddiDecodeCtx->pCodecHal->IsApogeiosEnabled()) in EndPicture() [all …]
|
H A D | media_ddi_encode_av1.cpp | 159 if (Mos_Solo_Extension(m_encodeCtx->pCodecHal->GetOsInterface()->pOsContext)) in ContextInitialize() 161 …DDI_CHK_NULL(m_encodeCtx->pCodecHal, "nullptr m_encodeCtx->pCodecHal", VA_STATUS_ERROR_INVALID_CON… in ContextInitialize() 162 …DDI_CHK_NULL(m_encodeCtx->pCodecHal, "nullptr m_encodeCtx->pCodecHal->GetOsInterface()", VA_STATUS… in ContextInitialize() 163 …DDI_CHK_NULL(m_encodeCtx->pCodecHal, "nullptr (m_encodeCtx->pCodecHal->GetOsInterface()->pOsContex… in ContextInitialize() 165 …MODE_AV1, m_encodeCtx->pMediaCtx->platform.eProductFamily, m_encodeCtx->pCodecHal->GetOsInterface(… in ContextInitialize() 264 …DDI_CHK_NULL(m_encodeCtx->pCodecHal, "nullptr m_encodeCtx->pCodecHal", VA_STATUS_ERROR_INVALID_CON… in EncodeInCodecHal() 360 MOS_STATUS status = m_encodeCtx->pCodecHal->Execute(&encodeParams); in EncodeInCodecHal()
|
H A D | media_ddi_decode_vp8.cpp | 602 if (m_ddiDecodeCtx->pCodecHal) in CodecHalInit() 604 m_ddiDecodeCtx->pCodecHal->Destroy(); in CodecHalInit() 605 MOS_Delete(m_ddiDecodeCtx->pCodecHal); in CodecHalInit() 606 m_ddiDecodeCtx->pCodecHal = nullptr; in CodecHalInit()
|
H A D | media_ddi_decode_mpeg2.cpp | 671 if (m_ddiDecodeCtx->pCodecHal) in CodecHalInit() 673 m_ddiDecodeCtx->pCodecHal->Destroy(); in CodecHalInit() 674 MOS_Delete(m_ddiDecodeCtx->pCodecHal); in CodecHalInit() 675 m_ddiDecodeCtx->pCodecHal = nullptr; in CodecHalInit()
|
H A D | media_ddi_decode_vp9.cpp | 546 if (m_ddiDecodeCtx->pCodecHal) in CodecHalInit() 548 m_ddiDecodeCtx->pCodecHal->Destroy(); in CodecHalInit() 549 MOS_Delete(m_ddiDecodeCtx->pCodecHal); in CodecHalInit() 550 m_ddiDecodeCtx->pCodecHal = nullptr; in CodecHalInit()
|
H A D | media_ddi_encode_vp8.cpp | 138 …DDI_CHK_NULL(m_encodeCtx->pCodecHal, "nullptr m_encodeCtx->pCodecHal", VA_STATUS_ERROR_INVALID_CON… in RenderPicture() 255 m_encodeCtx->pCodecHal->GetStatusReport(encodeStatusReport, numStatus); in StatusReport() 276 … CodechalEncoderState *encoder = dynamic_cast<CodechalEncoderState *>(m_encodeCtx->pCodecHal); in StatusReport() 651 MOS_STATUS status = m_encodeCtx->pCodecHal->Execute(&encodeParams); in EncodeInCodecHal()
|
H A D | media_ddi_decode_jpeg.cpp | 1014 if (m_ddiDecodeCtx->pCodecHal) in CodecHalInit() 1016 m_ddiDecodeCtx->pCodecHal->Destroy(); in CodecHalInit() 1017 MOS_Delete(m_ddiDecodeCtx->pCodecHal); in CodecHalInit() 1018 m_ddiDecodeCtx->pCodecHal = nullptr; in CodecHalInit()
|
H A D | media_ddi_decode_avc.cpp | 683 if (m_ddiDecodeCtx->pCodecHal) in CodecHalInit() 685 m_ddiDecodeCtx->pCodecHal->Destroy(); in CodecHalInit() 686 MOS_Delete(m_ddiDecodeCtx->pCodecHal); in CodecHalInit() 687 m_ddiDecodeCtx->pCodecHal = nullptr; in CodecHalInit()
|
H A D | media_ddi_decode_hevc.cpp | 907 if (m_ddiDecodeCtx->pCodecHal) in CodecHalInit() 909 m_ddiDecodeCtx->pCodecHal->Destroy(); in CodecHalInit() 910 MOS_Delete(m_ddiDecodeCtx->pCodecHal); in CodecHalInit() 911 m_ddiDecodeCtx->pCodecHal = nullptr; in CodecHalInit()
|
H A D | media_ddi_encode_base.cpp | 200 mosStatus = m_encodeCtx->pCodecHal->GetStatusReport(encodeStatusReport, numStatus); in StatusReport() 252 … CodechalEncoderState *encoder = dynamic_cast<CodechalEncoderState *>(m_encodeCtx->pCodecHal); in StatusReport() 326 m_encodeCtx->pCodecHal->GetStatusReport(encodeStatusReport, numStatus); in EncStatusReport() 386 m_encodeCtx->pCodecHal->GetStatusReport(encodeStatusReport, numStatus); in PreEncStatusReport()
|
H A D | media_ddi_decode_av1.cpp | 865 if (m_ddiDecodeCtx->pCodecHal) in CodecHalInit() 867 m_ddiDecodeCtx->pCodecHal->Destroy(); in CodecHalInit() 868 MOS_Delete(m_ddiDecodeCtx->pCodecHal); in CodecHalInit() 869 m_ddiDecodeCtx->pCodecHal = nullptr; in CodecHalInit()
|
H A D | media_ddi_encode_avc.cpp | 1007 PMOS_INTERFACE osInterface = m_encodeCtx->pCodecHal->GetOsInterface(); in EncodeInCodecHal() 1151 if (m_encodeCtx->pCodecHal->IsApogeiosEnabled()) in EncodeInCodecHal() 1153 status = m_encodeCtx->pCodecHal->Execute(encodeParams); in EncodeInCodecHal() 1162 … CodechalEncoderState *encoder = dynamic_cast<CodechalEncoderState *>(m_encodeCtx->pCodecHal); in EncodeInCodecHal() 1167 status = m_encodeCtx->pCodecHal->Execute(encodeParams); in EncodeInCodecHal() 1534 if (!m_encodeCtx->pCodecHal->IsApogeiosEnabled()) in ParseSlcParams() 1536 … CodechalEncoderState *encoder = dynamic_cast<CodechalEncoderState *>(m_encodeCtx->pCodecHal); in ParseSlcParams()
|
H A D | media_ddi_decode_vc1.cpp | 1068 if (m_ddiDecodeCtx->pCodecHal) in CodecHalInit() 1070 m_ddiDecodeCtx->pCodecHal->Destroy(); in CodecHalInit() 1071 MOS_Delete(m_ddiDecodeCtx->pCodecHal); in CodecHalInit() 1072 m_ddiDecodeCtx->pCodecHal = nullptr; in CodecHalInit()
|
/aosp_15_r20/external/intel-media-driver/media_softlet/linux/common/codec/ddi/dec/ |
H A D | ddi_decode_base_specific.cpp | 283 if (nullptr == m_decodeCtx->pCodecHal) in BeginPicture() 288 MOS_STATUS eStatus = m_decodeCtx->pCodecHal->BeginFrame(); in BeginPicture() 441 codecHal = m_decodeCtx->pCodecHal; in DestroyContext() 455 m_decodeCtx->pCodecHal = nullptr; in DestroyContext() 789 DecodePipelineAdapter *decoder = dynamic_cast<DecodePipelineAdapter *>(m_decodeCtx->pCodecHal); in ExtraDownScaling() 962 if (m_decodeCtx->pCodecHal == nullptr) in EndPicture() 970 m_decodeCtx->pCodecHal->GetOsInterface(), in EndPicture() 974 … DecodePipelineAdapter *decoder = dynamic_cast<DecodePipelineAdapter *>(m_decodeCtx->pCodecHal); in EndPicture() 979 MOS_STATUS status = m_decodeCtx->pCodecHal->Execute((void *)(&m_decodeCtx->DecodeParams)); in EndPicture() 990 status = m_decodeCtx->pCodecHal->EndFrame(); in EndPicture() [all …]
|
H A D | ddi_decode_mpeg2_specific.cpp | 698 if (m_decodeCtx->pCodecHal) in FreeResource() 700 m_decodeCtx->pCodecHal->Destroy(); in FreeResource() 701 MOS_Delete(m_decodeCtx->pCodecHal); in FreeResource() 702 m_decodeCtx->pCodecHal = nullptr; in FreeResource()
|
H A D | ddi_decode_vp9_specific.cpp | 569 if (m_decodeCtx->pCodecHal) in FreeResource() 571 m_decodeCtx->pCodecHal->Destroy(); in FreeResource() 572 MOS_Delete(m_decodeCtx->pCodecHal); in FreeResource() 573 m_decodeCtx->pCodecHal = nullptr; in FreeResource()
|
H A D | ddi_decode_vp8_specific.cpp | 635 if (m_decodeCtx->pCodecHal) in FreeResource() 637 m_decodeCtx->pCodecHal->Destroy(); in FreeResource() 638 MOS_Delete(m_decodeCtx->pCodecHal); in FreeResource() 639 m_decodeCtx->pCodecHal = nullptr; in FreeResource()
|
H A D | ddi_decode_jpeg_specific.cpp | 1019 if (m_decodeCtx->pCodecHal) in FreeResource() 1021 m_decodeCtx->pCodecHal->Destroy(); in FreeResource() 1022 MOS_Delete(m_decodeCtx->pCodecHal); in FreeResource() 1023 m_decodeCtx->pCodecHal = nullptr; in FreeResource()
|
H A D | ddi_decode_avc_specific.cpp | 712 if (m_decodeCtx->pCodecHal) in FreeResource() 714 m_decodeCtx->pCodecHal->Destroy(); in FreeResource() 715 MOS_Delete(m_decodeCtx->pCodecHal); in FreeResource() 716 m_decodeCtx->pCodecHal = nullptr; in FreeResource()
|
H A D | ddi_decode_av1_specific.cpp | 891 if (m_decodeCtx->pCodecHal) in FreeResource() 893 m_decodeCtx->pCodecHal->Destroy(); in FreeResource() 894 MOS_Delete(m_decodeCtx->pCodecHal); in FreeResource() 895 m_decodeCtx->pCodecHal = nullptr; in FreeResource()
|
/aosp_15_r20/external/intel-media-driver/media_softlet/linux/common/codec/ddi/enc/ |
H A D | ddi_encode_functions.cpp | 206 Codechal *pCodecHal = CodechalDeviceNext::CreateFactory( in CreateContext() local 211 if (pCodecHal == nullptr) in CreateContext() 219 encCtx->pCodecHal = pCodecHal; in CreateContext() 248 MOS_STATUS eStatus = pCodecHal->Allocate(encCtx->m_encode->m_codechalSettings); in CreateContext() 251 PMOS_INTERFACE osInterface = pCodecHal->GetOsInterface(); in CreateContext() 328 …DDI_CODEC_CHK_NULL(encCtx->pCodecHal, "nullptr encCtx->pCodecHal", VA_STATUS_ERROR_INVALID_CONTEXT… in DestroyContext() 330 Codechal *codecHal = encCtx->pCodecHal; in DestroyContext() 888 if(encCtx->pCodecHal != nullptr) in SetGpuPriority() 890 PMOS_INTERFACE osInterface = encCtx->pCodecHal->GetOsInterface(); in SetGpuPriority()
|
H A D | ddi_encode_av1_specific.cpp | 142 if (Mos_Solo_Extension(m_encodeCtx->pCodecHal->GetOsInterface()->pOsContext)) in ContextInitialize() 144 …DDI_CODEC_CHK_NULL(m_encodeCtx->pCodecHal, "nullptr m_encodeCtx->pCodecHal", VA_STATUS_ERROR_INVAL… in ContextInitialize() 145 …DDI_CODEC_CHK_NULL(m_encodeCtx->pCodecHal, "nullptr m_encodeCtx->pCodecHal->GetOsInterface()", VA_… in ContextInitialize() 146 …DDI_CODEC_CHK_NULL(m_encodeCtx->pCodecHal, "nullptr (m_encodeCtx->pCodecHal->GetOsInterface()->pOs… in ContextInitialize() 148 …MODE_AV1, m_encodeCtx->pMediaCtx->platform.eProductFamily, m_encodeCtx->pCodecHal->GetOsInterface(… in ContextInitialize() 246 …DDI_CODEC_CHK_NULL(m_encodeCtx->pCodecHal, "nullptr m_encodeCtx->pCodecHal", VA_STATUS_ERROR_INVAL… in EncodeInCodecHal() 342 MOS_STATUS status = m_encodeCtx->pCodecHal->Execute(&encodeParams); in EncodeInCodecHal()
|
/aosp_15_r20/external/intel-media-driver/media_driver/linux/gen11/codec/ddi/ |
H A D | media_ddi_decode_hevc_g11.cpp | 908 if (m_ddiDecodeCtx->pCodecHal) in CodecHalInit() 910 m_ddiDecodeCtx->pCodecHal->Destroy(); in CodecHalInit() 911 MOS_Delete(m_ddiDecodeCtx->pCodecHal); in CodecHalInit() 912 m_ddiDecodeCtx->pCodecHal = nullptr; in CodecHalInit()
|
/aosp_15_r20/external/intel-media-driver/media_driver/linux/gen12/codec/ddi/ |
H A D | media_ddi_decode_hevc_g12.cpp | 1075 if (m_ddiDecodeCtx->pCodecHal) in CodecHalInit() 1077 m_ddiDecodeCtx->pCodecHal->Destroy(); in CodecHalInit() 1078 MOS_Delete(m_ddiDecodeCtx->pCodecHal); in CodecHalInit() 1079 m_ddiDecodeCtx->pCodecHal = nullptr; in CodecHalInit()
|