/aosp_15_r20/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/enc/vp9/features/ |
H A D | encode_vp9_brc.cpp | 428 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResources() local 429 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() 430 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocateResources() 431 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocateResources() 432 allocParamsForBufferLinear.Format = Format_Buffer; in AllocateResources() 435 …allocParamsForBufferLinear.dwBytes = MOS_ALIGN_CEIL(m_basicFeature->m_maxTileNumber * m_vdencBrcS… in AllocateResources() 436 allocParamsForBufferLinear.pBufName = "VDENC BRC Statistics Buffer"; in AllocateResources() 437 allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_WRITE; in AllocateResources() 438 m_basicFeature->m_recycleBuf->RegisterResource(VdencStatsBuffer, allocParamsForBufferLinear, 1); in AllocateResources() 442 allocParamsForBufferLinear.dwBytes = size * m_basicFeature->m_maxTileNumber; in AllocateResources() [all …]
|
H A D | encode_vp9_pak.cpp | 425 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResources() local 426 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() 427 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocateResources() 428 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocateResources() 429 allocParamsForBufferLinear.Format = Format_Buffer; in AllocateResources() 432 …allocParamsForBufferLinear.dwBytes = MOS_ALIGN_CEIL(m_vdencPicStateSecondLevelBatchBufferSize, CO… in AllocateResources() 433 allocParamsForBufferLinear.pBufName = "VDENC Picture Second Level Batch Buffer Read"; in AllocateResources() 434 … allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_READ_WRITE_CACHE; in AllocateResources() 439 allocatedBuffer = m_allocator->AllocateResource(allocParamsForBufferLinear, true); in AllocateResources() 445 allocParamsForBufferLinear.pBufName = "VDENC Picture Second Level Batch Buffer Write"; in AllocateResources() [all …]
|
H A D | encode_vp9_cqp.cpp | 90 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResources() local 91 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() 92 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocateResources() 93 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocateResources() 94 allocParamsForBufferLinear.Format = Format_Buffer; in AllocateResources() 101 allocParamsForBufferLinear.dwBytes = size; in AllocateResources() 102 allocParamsForBufferLinear.pBufName = "DeblockingFilterLineBuffer"; in AllocateResources() 103 allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_READ; in AllocateResources() 104 …allocatedBuffer = m_allocator->AllocateResource(allocParamsForBufferLinear, tr… in AllocateResources() 109 allocParamsForBufferLinear.dwBytes = size; in AllocateResources() [all …]
|
H A D | encode_vp9_tile.cpp | 222 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResources() local 223 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() 224 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocateResources() 225 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocateResources() 226 allocParamsForBufferLinear.Format = Format_Buffer; in AllocateResources() 230 allocParamsForBufferLinear.dwBytes = size; in AllocateResources() 231 allocParamsForBufferLinear.pBufName = "TileRecordStreamOutBuffer"; in AllocateResources() 232 allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_READ; in AllocateResources() 233 …allocatedBuffer = m_allocator->AllocateResource(allocParamsForBufferLinear, tr… in AllocateResources() 239 allocParamsForBufferLinear.dwBytes = size; in AllocateResources() [all …]
|
H A D | encode_vp9_hpu.cpp | 204 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResources() local 205 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() 206 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocateResources() 207 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocateResources() 208 allocParamsForBufferLinear.Format = Format_Buffer; in AllocateResources() 211 allocParamsForBufferLinear.dwBytes = 29 * CODECHAL_CACHELINE_SIZE; in AllocateResources() 212 allocParamsForBufferLinear.pBufName = "ProbabilityDeltaBuffer"; in AllocateResources() 213 allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_READ; in AllocateResources() 214 …allocatedBuffer = m_allocator->AllocateResource(allocParamsForBufferLinear, tr… in AllocateResources() 219 …allocParamsForBufferLinear.dwBytes = m_probabilityCounterBufferSize * m_basicFeature->m_maxTileNu… in AllocateResources() [all …]
|
/aosp_15_r20/external/intel-media-driver/media_driver/agnostic/Xe_M/Xe_HPM/codec/hal/ |
H A D | codechal_vdenc_vp9_xe_hpm.cpp | 350 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResources() local 351 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() 352 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocateResources() 353 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocateResources() 354 allocParamsForBufferLinear.Format = Format_Buffer; in AllocateResources() 355 …allocParamsForBufferLinear.dwBytes = MOS_ROUNDUP_DIVIDE(m_frameWidth, 32) * CODECHAL_CACHELINE_SI… in AllocateResources() 356 allocParamsForBufferLinear.pBufName = "VDENC Tile Row Store Buffer"; in AllocateResources() 360 &allocParamsForBufferLinear, in AllocateResources() 369 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() 370 allocParamsForBufferLinear.dwBytes = size; in AllocateResources() [all …]
|
/aosp_15_r20/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/enc/hevc/features/ |
H A D | encode_hevc_dss.cpp | 87 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResources() local 88 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() 89 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocateResources() 90 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocateResources() 91 allocParamsForBufferLinear.Format = Format_Buffer; in AllocateResources() 94 allocParamsForBufferLinear.dwBytes = MOS_ALIGN_CEIL(4, CODECHAL_CACHELINE_SIZE); in AllocateResources() 95 allocParamsForBufferLinear.pBufName = "Slice Count Buffer"; in AllocateResources() 96 …allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_READ_WRITE_NOCACHE; in AllocateResources() 97 m_resSliceCountBuffer = m_allocator->AllocateResource(allocParamsForBufferLinear, false); in AllocateResources() 100 allocParamsForBufferLinear.dwBytes = MOS_ALIGN_CEIL(4, CODECHAL_CACHELINE_SIZE); in AllocateResources() [all …]
|
H A D | encode_hevc_brc.cpp | 122 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResources() local 123 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() 124 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocateResources() 125 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocateResources() 126 allocParamsForBufferLinear.Format = Format_Buffer; in AllocateResources() 128 …allocParamsForBufferLinear.dwBytes = MOS_ALIGN_CEIL(sizeof(CodechalVdencHevcPakInfo), CODECHAL_PAG… in AllocateResources() 129 allocParamsForBufferLinear.pBufName = "VDENC BRC PakInfo"; in AllocateResources() 130 … allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_READ_WRITE_CACHE; in AllocateResources() 131 m_basicFeature->m_recycleBuf->RegisterResource(PakInfo, allocParamsForBufferLinear, 6); in AllocateResources() 138 … allocParamsForBufferLinear.dwBytes = MOS_ALIGN_CEIL(m_brcHistoryBufSize, CODECHAL_PAGE_SIZE); in AllocateResources() [all …]
|
H A D | encode_hevc_cqp.cpp | 172 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResources() local 173 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() 174 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocateResources() 175 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocateResources() 176 allocParamsForBufferLinear.Format = Format_Buffer; in AllocateResources() 195 allocParamsForBufferLinear.dwBytes = bufSize; in AllocateResources() 196 allocParamsForBufferLinear.pBufName = bufferName; in AllocateResources() 199 … allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_READ_WRITE_CACHE; in AllocateResources() 203 …allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_READ_WRITE_NOCACHE; in AllocateResources() 205 res = m_allocator->AllocateResource(allocParamsForBufferLinear, false); in AllocateResources() [all …]
|
H A D | encode_hevc_tile.cpp | 581 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateTileStatistics() local 582 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateTileStatistics() 583 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocateTileStatistics() 584 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocateTileStatistics() 585 allocParamsForBufferLinear.Format = Format_Buffer; in AllocateTileStatistics() 586 allocParamsForBufferLinear.dwBytes = m_hwInterface->m_pakIntAggregatedFrameStatsSize; in AllocateTileStatistics() 587 … allocParamsForBufferLinear.pBufName = "HCP Aggregated Frame Statistics Streamout Buffer"; in AllocateTileStatistics() 588 … allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_READ_WRITE_CACHE; in AllocateTileStatistics() 589 auto resource = m_allocator->AllocateResource(allocParamsForBufferLinear, true); in AllocateTileStatistics() 622 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateTileStatistics() local [all …]
|
H A D | encode_vdenc_lpla_analysis.cpp | 364 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResources() local 365 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() 366 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocateResources() 367 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocateResources() 368 allocParamsForBufferLinear.Format = Format_Buffer; in AllocateResources() 369 …allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_READ_WRITE_NOCACHE; in AllocateResources() 373 …allocParamsForBufferLinear.dwBytes = MOS_ALIGN_CEIL(m_brcLooaheadStatsBufferSize, CODECHAL_PAGE_S… in AllocateResources() 374 allocParamsForBufferLinear.pBufName = "VDENC Lookahead Statistics Buffer"; in AllocateResources() 375 …dencLaStatsBuffer = m_allocator->AllocateResource(allocParamsForBufferLinear, true); in AllocateResources() 379 MOS_ZeroMemory(lookaheadInfo, allocParamsForBufferLinear.dwBytes); in AllocateResources() [all …]
|
/aosp_15_r20/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/enc/shared/features/ |
H A D | encode_aqm_feature.cpp | 122 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResources() local 123 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() 125 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocateResources() 126 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocateResources() 127 allocParamsForBufferLinear.Format = Format_Buffer; in AllocateResources() 128 allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_READ; in AllocateResources() 134 allocParamsForBufferLinear.dwBytes = rowstoreBufferSize[i] * CL_SIZE_BYTES * m_numRowStore; in AllocateResources() 135 allocParamsForBufferLinear.pBufName = &*bufName.begin(); in AllocateResources() 136 …deAqmFeatureMember0[i] = m_allocator->AllocateResource(allocParamsForBufferLinear, false); in AllocateResources() 149 allocParamsForBufferLinear.dwBytes = EncodeAqmFeatureMember2; in AllocateResources() [all …]
|
/aosp_15_r20/external/intel-media-driver/media_driver/agnostic/gen11/codec/hal/ |
H A D | codechal_encode_sfc_g11.cpp | 35 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in SetVeboxDiIecpParams() local 55 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in SetVeboxDiIecpParams() 56 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in SetVeboxDiIecpParams() 57 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in SetVeboxDiIecpParams() 58 allocParamsForBufferLinear.Format = Format_Buffer; in SetVeboxDiIecpParams() 59 allocParamsForBufferLinear.dwBytes = GetResLaceOrAceOrRgbHistogramBufferSize(); in SetVeboxDiIecpParams() 60 allocParamsForBufferLinear.pBufName = "ResLaceOrAceOrRgbHistogram"; in SetVeboxDiIecpParams() 64 &allocParamsForBufferLinear, in SetVeboxDiIecpParams() 73 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in SetVeboxDiIecpParams() 74 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in SetVeboxDiIecpParams() [all …]
|
H A D | codechal_vdenc_hevc_g11.cpp | 611 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocatePakResources() local 612 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocatePakResources() 613 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocatePakResources() 614 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocatePakResources() 615 allocParamsForBufferLinear.Format = Format_Buffer; in AllocatePakResources() 628 allocParamsForBufferLinear.dwBytes = hcpBufSizeParam.dwBufferSize; in AllocatePakResources() 629 allocParamsForBufferLinear.pBufName = "DeblockingScratchBuffer"; in AllocatePakResources() 633 &allocParamsForBufferLinear, in AllocatePakResources() 653 allocParamsForBufferLinear.dwBytes = hcpBufSizeParam.dwBufferSize; in AllocatePakResources() 654 allocParamsForBufferLinear.pBufName = "DeblockingTileRowScratchBuffer"; in AllocatePakResources() [all …]
|
H A D | codechal_vdenc_vp9_g11.cpp | 2581 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in VerifyCommandBufferSize() local 2583 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in VerifyCommandBufferSize() 2584 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in VerifyCommandBufferSize() 2585 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in VerifyCommandBufferSize() 2586 allocParamsForBufferLinear.Format = Format_Buffer; in VerifyCommandBufferSize() 2587 allocParamsForBufferLinear.dwBytes = requestedSize; in VerifyCommandBufferSize() 2588 allocParamsForBufferLinear.pBufName = "Batch buffer for each VDBOX"; in VerifyCommandBufferSize() 2601 &allocParamsForBufferLinear, in VerifyCommandBufferSize() 3966 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in ExecutePictureLevel() local 3968 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in ExecutePictureLevel() [all …]
|
/aosp_15_r20/external/intel-media-driver/media_driver/agnostic/common/codec/hal/ |
H A D | codechal_decode_sfc.cpp | 45 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResources() local 46 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() 47 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocateResources() 48 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocateResources() 49 allocParamsForBufferLinear.Format = Format_Buffer; in AllocateResources() 52 …allocParamsForBufferLinear.dwBytes = MOS_ROUNDUP_DIVIDE(m_inputSurface->dwHeight, 8) * 5 * MHW_SFC… in AllocateResources() 56 …allocParamsForBufferLinear.dwBytes = MOS_ROUNDUP_DIVIDE(m_inputSurface->dwWidth, 8) * 3 * MHW_SFC_… in AllocateResources() 58 allocParamsForBufferLinear.pBufName = "SfcAvsLineBuffer"; in AllocateResources() 62 &allocParamsForBufferLinear, in AllocateResources() 230 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in SetVeboxDiIecpParams() local [all …]
|
H A D | codechal_decode_histogram_vebox.cpp | 107 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResources() local 108 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() 109 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocateResources() 110 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocateResources() 111 allocParamsForBufferLinear.Format = Format_Buffer; in AllocateResources() 112 allocParamsForBufferLinear.dwBytes = size; in AllocateResources() 113 allocParamsForBufferLinear.pBufName = "ResLaceOrAceOrRgbHistogram"; in AllocateResources() 117 &allocParamsForBufferLinear, in AllocateResources() 144 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResources() local 145 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() [all …]
|
H A D | codechal_vdenc_hevc.cpp | 1968 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in ReadSliceSize() local 1969 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in ReadSliceSize() 1970 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in ReadSliceSize() 1971 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in ReadSliceSize() 1972 allocParamsForBufferLinear.Format = Format_Buffer; in ReadSliceSize() 1973 allocParamsForBufferLinear.dwBytes = sizeOfSliceSizesBuffer; in ReadSliceSize() 1977 &allocParamsForBufferLinear, in ReadSliceSize() 3313 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocatePakResources() local 3314 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocatePakResources() 3315 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocatePakResources() [all …]
|
H A D | codechal_vdenc_vp9_base.cpp | 3935 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in ExecutePictureLevel() local 3937 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in ExecutePictureLevel() 3938 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in ExecutePictureLevel() 3939 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in ExecutePictureLevel() 3940 allocParamsForBufferLinear.Format = Format_Buffer; in ExecutePictureLevel() 3941 allocParamsForBufferLinear.dwBytes = m_vdencPicStateSecondLevelBatchBufferSize; in ExecutePictureLevel() 3942 … allocParamsForBufferLinear.pBufName = "VDEnc DYS Picture Second Level Batch Buffer"; in ExecutePictureLevel() 3946 &allocParamsForBufferLinear, in ExecutePictureLevel() 6033 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResourcesBrc() local 6034 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResourcesBrc() [all …]
|
/aosp_15_r20/external/intel-media-driver/media_driver/agnostic/gen12/codec/hal/ |
H A D | codechal_vdenc_hevc_g12.cpp | 666 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocatePakResources() local 667 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocatePakResources() 668 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocatePakResources() 669 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocatePakResources() 670 allocParamsForBufferLinear.Format = Format_Buffer; in AllocatePakResources() 683 allocParamsForBufferLinear.dwBytes = hcpBufSizeParam.dwBufferSize; in AllocatePakResources() 684 allocParamsForBufferLinear.pBufName = "DeblockingScratchBuffer"; in AllocatePakResources() 688 &allocParamsForBufferLinear, in AllocatePakResources() 708 allocParamsForBufferLinear.dwBytes = hcpBufSizeParam.dwBufferSize; in AllocatePakResources() 709 allocParamsForBufferLinear.pBufName = "DeblockingTileRowScratchBuffer"; in AllocatePakResources() [all …]
|
H A D | codechal_vdenc_vp9_g12.cpp | 2999 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in VerifyCommandBufferSize() local 3001 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in VerifyCommandBufferSize() 3002 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in VerifyCommandBufferSize() 3003 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in VerifyCommandBufferSize() 3004 allocParamsForBufferLinear.Format = Format_Buffer; in VerifyCommandBufferSize() 3005 allocParamsForBufferLinear.dwBytes = requestedSize; in VerifyCommandBufferSize() 3006 allocParamsForBufferLinear.pBufName = "Batch buffer for each VDBOX"; in VerifyCommandBufferSize() 3019 &allocParamsForBufferLinear, in VerifyCommandBufferSize() 3547 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in ExecutePictureLevel() local 3549 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in ExecutePictureLevel() [all …]
|
/aosp_15_r20/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/enc/avc/packet/ |
H A D | encode_avc_huc_brc_update_packet.cpp | 119 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResources() local 120 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() 121 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocateResources() 122 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocateResources() 123 allocParamsForBufferLinear.Format = Format_Buffer; in AllocateResources() 126 …allocParamsForBufferLinear.dwBytes = MOS_ALIGN_CEIL(m_vdencBrcConstDataBufferSize, CODECHAL_PAGE_… in AllocateResources() 127 allocParamsForBufferLinear.pBufName = "VDENC BRC Const Data Buffer"; in AllocateResources() 128 allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_WRITE; in AllocateResources() 131 allocatedbuffer = m_allocator->AllocateResource(allocParamsForBufferLinear, true); in AllocateResources() 139 allocParamsForBufferLinear.dwBytes = m_brcFeature->GetVdencBRCImgStateBufferSize(); in AllocateResources() [all …]
|
/aosp_15_r20/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/enc/av1/packet/ |
H A D | encode_av1_brc_update_packet.cpp | 88 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResources() local 89 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() 90 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocateResources() 91 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocateResources() 92 allocParamsForBufferLinear.Format = Format_Buffer; in AllocateResources() 99 …allocParamsForBufferLinear.dwBytes = MOS_ALIGN_CEIL(m_vdencBrcConstDataBufferSize, CODECHAL_PAGE_S… in AllocateResources() 100 allocParamsForBufferLinear.pBufName = "VDENC BRC Const Data Buffer"; in AllocateResources() 101 allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_WRITE; in AllocateResources() 102 allocatedbuffer = m_allocator->AllocateResource(allocParamsForBufferLinear, true); in AllocateResources() 107 allocParamsForBufferLinear.dwBytes = CODECHAL_PAGE_SIZE; in AllocateResources() [all …]
|
H A D | encode_back_annotation_packet.cpp | 51 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResources() local 52 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() 53 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocateResources() 54 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocateResources() 55 allocParamsForBufferLinear.Format = Format_Buffer; in AllocateResources() 62 …allocParamsForBufferLinear.dwBytes = MOS_ALIGN_CEIL(m_vdencbackAnnotationDmemBufferSize, CODECHAL_… in AllocateResources() 63 allocParamsForBufferLinear.pBufName = "AV1 Back Annotation Dmem Buffer"; in AllocateResources() 64 … allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_WRITE; in AllocateResources() 65 …ncBackAnnotationDmemBuffer[k][i] = m_allocator->AllocateResource(allocParamsForBufferLinear, true); in AllocateResources() 67 …allocParamsForBufferLinear.dwBytes = MOS_ALIGN_CEIL(m_vdencAv1HucCtrlBufferSize, CODECHAL_CACHELIN… in AllocateResources() [all …]
|
/aosp_15_r20/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/enc/vp9/packet/ |
H A D | encode_vp9_pak_integrate_packet.cpp | 219 MOS_ALLOC_GFXRES_PARAMS allocParamsForBufferLinear; in AllocateResources() local 220 MOS_ZeroMemory(&allocParamsForBufferLinear, sizeof(MOS_ALLOC_GFXRES_PARAMS)); in AllocateResources() 221 allocParamsForBufferLinear.Type = MOS_GFXRES_BUFFER; in AllocateResources() 222 allocParamsForBufferLinear.TileType = MOS_TILE_LINEAR; in AllocateResources() 223 allocParamsForBufferLinear.Format = Format_Buffer; in AllocateResources() 226 …allocParamsForBufferLinear.dwBytes = MOS_ALIGN_CEIL(m_hucPakIntDmemBufferSize, CODECHAL_CACHELINE… in AllocateResources() 227 allocParamsForBufferLinear.pBufName = "Huc Pak Int Dmem Buffer"; in AllocateResources() 228 …allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_READ_WRITE_NOCACHE; in AllocateResources() 233 allocatedBuffer = m_allocator->AllocateResource(allocParamsForBufferLinear, true); in AllocateResources() 240 allocParamsForBufferLinear.dwBytes = MOS_ALIGN_CEIL(64, CODECHAL_PAGE_SIZE); in AllocateResources() [all …]
|