Home
last modified time | relevance | path

Searched refs:CodechalResLock (Results 1 – 16 of 16) sorted by relevance

/aosp_15_r20/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/
H A Dcodechal_common.h89 class CodechalResLock
107 CodechalResLock(PMOS_INTERFACE osInterface, PMOS_RESOURCE resource) : m_os(osInterface), in CodechalResLock() function
116 ~CodechalResLock() in ~CodechalResLock()
194 MEDIA_CLASS_DEFINE_END(CodechalResLock)
/aosp_15_r20/external/intel-media-driver/media_driver/agnostic/common/codec/hal/
H A Dcodechal_decode_vp9.cpp249 CodechalResLock ResourceLock(m_osInterface, &m_resVp9ProbBuffer[m_frameCtxIdx]); in ProbBufferPartialUpdatewithDrv()
250 auto data = (uint8_t *)ResourceLock.Lock(CodechalResLock::writeOnly); in ProbBufferPartialUpdatewithDrv()
309 CodechalResLock ResourceLock(m_osInterface, &m_resVp9ProbBuffer[m_frameCtxIdx]); in ProbBufFullUpdatewithDrv()
310 auto data = (uint8_t*)ResourceLock.Lock(CodechalResLock::writeOnly); in ProbBufFullUpdatewithDrv()
335 CodechalResLock ResourceLock(m_osInterface, &m_resVp9SegmentIdBuffer); in ResetSegIdBufferwithDrv()
336 auto data = (uint8_t*)ResourceLock.Lock(CodechalResLock::writeOnly); in ResetSegIdBufferwithDrv()
360 CodechalResLock ResourceLock(m_osInterface, &m_resVp9ProbBuffer[CODEC_VP9_NUM_CONTEXTS]); in ProbBufFullUpdatewithHucStreamout()
361 auto data = (uint8_t*)ResourceLock.Lock(CodechalResLock::writeOnly); in ProbBufFullUpdatewithHucStreamout()
617 CodechalResLock ResourceLock(m_osInterface, &m_resVp9ProbBuffer[i]); in AllocateResourcesFixedSizes()
618 auto data = (uint8_t*)ResourceLock.Lock(CodechalResLock::writeOnly); in AllocateResourcesFixedSizes()
H A Dcodechal_decode_vp8.cpp805 CodechalResLock ResourceLock(m_osInterface, &m_resCoefProbBuffer); in ParseFrameHead()
806 auto data = (uint8_t*)ResourceLock.Lock(CodechalResLock::writeOnly); in ParseFrameHead()
1168 CodechalResLock ResourceLock(m_osInterface, &m_resDataBuffer); in SetFrameStates()
1169 auto bitstreamBuffer = (uint8_t*)ResourceLock.Lock(CodechalResLock::readOnly); in SetFrameStates()
1178 CodechalResLock ResourceLock(m_osInterface, &m_resTmpBitstreamBuffer); in SetFrameStates()
1179 auto bitstreamBuffer = (uint8_t*)ResourceLock.Lock(CodechalResLock::readOnly); in SetFrameStates()
H A Dcodechal_decode_avc.cpp338 CodechalResLock ResourceLock(m_osInterface, &m_resInvalidRefBuffer); in AllocateInvalidRefBuffer()
339 auto data = (uint8_t*)ResourceLock.Lock(CodechalResLock::writeOnly); in AllocateInvalidRefBuffer()
463 CodechalResLock ResourceLock(m_osInterface, mvcDummyDmvBuffer); in InitMvcDummyDmvBuffer()
464 auto data = (uint8_t*)ResourceLock.Lock(CodechalResLock::writeOnly); in InitMvcDummyDmvBuffer()
2006CodechalResLock ResourceLock(m_osInterface, &(m_streamOutBuffer[m_streamOutCurrBufIdx])); in DecodePrimitiveLevel()
2007 ResourceLock.Lock(CodechalResLock::readOnly); in DecodePrimitiveLevel()
H A Dcodechal_encode_mpeg2.cpp1293 CodechalResLock bufLock(m_osInterface, buffer); in AllocateBuffer()
1294 auto data = bufLock.Lock(CodechalResLock::writeOnly); in AllocateBuffer()
1343 CodechalResLock bufLock(m_osInterface, &surface->OsResource); in AllocateBuffer2D()
1344 auto data = bufLock.Lock(CodechalResLock::writeOnly); in AllocateBuffer2D()
3750 CodechalResLock bufLock(m_osInterface, &brcConstantDataBuffer.OsResource); in InitBrcConstantBuffer()
3751 auto data = (uint8_t *)bufLock.Lock(CodechalResLock::writeOnly); in InitBrcConstantBuffer()
4836 CodechalResLock bufLock(m_osInterface, &m_resBitstreamBuffer); in EncodeCopySkipFrame()
4837 auto data = bufLock.Lock(CodechalResLock::writeOnly);; in EncodeCopySkipFrame()
H A Dcodechal_decode_vc1.cpp2825 CodechalResLock ResourceLock(m_osInterface, &m_resDataBuffer); in GetSliceMbDataOffset()
2826 auto bitstream = (uint8_t*)ResourceLock.Lock(CodechalResLock::readOnly); in GetSliceMbDataOffset()
2875 CodechalResLock ResourceLock(m_osInterface, &m_resDataBuffer); in ParsePictureHeader()
2876 auto bitstream = (uint8_t*)ResourceLock.Lock(CodechalResLock::readOnly); in ParsePictureHeader()
3700 CodechalResLock ResourceLock(m_osInterface, &m_resDataBuffer); in DecodePrimitiveLevelVLD()
3701 auto buf = (uint8_t*)ResourceLock.Lock(CodechalResLock::readOnly); in DecodePrimitiveLevelVLD()
H A Dcodechal_decode_mpeg2.cpp425 CodechalResLock DummyBitstreamLock(m_osInterface, &m_resMpeg2DummyBistream); in AllocateResources()
426 auto data = DummyBitstreamLock.Lock(CodechalResLock::writeOnly); in AllocateResources()
H A Dcodechal_decoder.cpp102 CodechalResLock ResourceLock(m_osInterface, resource); in AllocateBuffer()
103 auto data = (uint8_t*)ResourceLock.Lock(CodechalResLock::writeOnly); in AllocateBuffer()
H A Dcodechal_encode_vp8.cpp454 CodechalResLock bufLock(m_osInterface, buffer); in AllocateBuffer()
455 auto data = bufLock.Lock(CodechalResLock::writeOnly); in AllocateBuffer()
502 CodechalResLock bufLock(m_osInterface, &surface->OsResource); in AllocateBuffer2D()
503 auto data = bufLock.Lock(CodechalResLock::writeOnly); in AllocateBuffer2D()
H A Dcodechal_decode_hevc.cpp835 CodechalResLock DmemLock(m_osInterface, dmemBuffer); in SetHucDmemParams()
836 auto hucHevcS2LBss = (PHUC_HEVC_S2L_BSS)DmemLock.Lock(CodechalResLock::writeOnly); in SetHucDmemParams()
/aosp_15_r20/external/intel-media-driver/media_softlet/agnostic/common/shared/
H A Dmedia_debug_interface.cpp185 CodechalResLock semaLock(m_osInterface, reSemaphore); in LockResource()
186 semaData = (uint32_t *)semaLock.Lock(CodechalResLock::writeOnly); in LockResource()
194 CodechalResLock semaLock(m_osInterface, &vResource[i]); in LockSemaResource()
195 uint32_t * smData = (uint32_t *)semaLock.Lock(CodechalResLock::writeOnly); in LockSemaResource()
/aosp_15_r20/external/intel-media-driver/media_driver/agnostic/gen11/codec/hal/
H A Dcodechal_decode_avc_g11.cpp283CodechalResLock ResourceLock(m_osInterface, &(m_streamOutBuffer[m_streamOutCurrBufIdx])); in DecodePrimitiveLevel()
284 ResourceLock.Lock(CodechalResLock::readOnly); in DecodePrimitiveLevel()
H A Dcodechal_decode_vc1_g11.cpp470 CodechalResLock ResourceLock(m_osInterface, &m_resDataBuffer); in DecodePrimitiveLevelVLD()
471 auto buf = (uint8_t*)ResourceLock.Lock(CodechalResLock::readOnly); in DecodePrimitiveLevelVLD()
/aosp_15_r20/external/intel-media-driver/media_driver/agnostic/gen12/codec/hal/
H A Dcodechal_decode_avc_g12.cpp404CodechalResLock ResourceLock(m_osInterface, &(m_streamOutBuffer[m_streamOutCurrBufIdx])); in DecodePrimitiveLevel()
405 ResourceLock.Lock(CodechalResLock::readOnly); in DecodePrimitiveLevel()
H A Dcodechal_decode_hevc_g12.cpp584 CodechalResLock DmemLock(m_osInterface, dmemBuffer); in SetHucDmemParams()
586 …PHUC_HEVC_S2L_BSS_G12 hucHevcS2LBss = (PHUC_HEVC_S2L_BSS_G12)DmemLock.Lock(CodechalResLock::writeO… in SetHucDmemParams()
1081CodechalResLock bbLock(m_osInterface, &m_secondLevelBatchBuffer[m_secondLevelBatchBufferIndex].OsR… in SetFrameStates()
1082 uint8_t *bbBase = (uint8_t*)bbLock.Lock(CodechalResLock::writeOnly); in SetFrameStates()
H A Dcodechal_decode_vc1_g12.cpp572 CodechalResLock ResourceLock(m_osInterface, &m_resDataBuffer); in DecodePrimitiveLevelVLD()
573 auto buf = (uint8_t*)ResourceLock.Lock(CodechalResLock::readOnly); in DecodePrimitiveLevelVLD()