Home
last modified time | relevance | path

Searched refs:allocParamsForBufferLinear (Results 1 – 25 of 71) sorted by relevance

123

/aosp_15_r20/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/enc/vp9/features/
H A Dencode_vp9_brc.cpp428 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()
435allocParamsForBufferLinear.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 Dencode_vp9_pak.cpp425 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()
432allocParamsForBufferLinear.dwBytes = MOS_ALIGN_CEIL(m_vdencPicStateSecondLevelBatchBufferSize, CO… in AllocateResources()
433 allocParamsForBufferLinear.pBufName = "VDENC Picture Second Level Batch Buffer Read"; in AllocateResources()
434allocParamsForBufferLinear.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 Dencode_vp9_cqp.cpp90 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 Dencode_vp9_tile.cpp222 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 Dencode_vp9_hpu.cpp204 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()
219allocParamsForBufferLinear.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 Dcodechal_vdenc_vp9_xe_hpm.cpp350 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()
355allocParamsForBufferLinear.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 Dencode_hevc_dss.cpp87 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()
96allocParamsForBufferLinear.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 Dencode_hevc_brc.cpp122 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()
128allocParamsForBufferLinear.dwBytes = MOS_ALIGN_CEIL(sizeof(CodechalVdencHevcPakInfo), CODECHAL_PAG… in AllocateResources()
129 allocParamsForBufferLinear.pBufName = "VDENC BRC PakInfo"; in AllocateResources()
130allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_READ_WRITE_CACHE; in AllocateResources()
131 m_basicFeature->m_recycleBuf->RegisterResource(PakInfo, allocParamsForBufferLinear, 6); in AllocateResources()
138allocParamsForBufferLinear.dwBytes = MOS_ALIGN_CEIL(m_brcHistoryBufSize, CODECHAL_PAGE_SIZE); in AllocateResources()
[all …]
H A Dencode_hevc_cqp.cpp172 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()
199allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_READ_WRITE_CACHE; in AllocateResources()
203allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_READ_WRITE_NOCACHE; in AllocateResources()
205 res = m_allocator->AllocateResource(allocParamsForBufferLinear, false); in AllocateResources()
[all …]
H A Dencode_hevc_tile.cpp581 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()
587allocParamsForBufferLinear.pBufName = "HCP Aggregated Frame Statistics Streamout Buffer"; in AllocateTileStatistics()
588allocParamsForBufferLinear.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 Dencode_vdenc_lpla_analysis.cpp364 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()
369allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_READ_WRITE_NOCACHE; in AllocateResources()
373allocParamsForBufferLinear.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 Dencode_aqm_feature.cpp122 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 Dcodechal_encode_sfc_g11.cpp35 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 Dcodechal_vdenc_hevc_g11.cpp611 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 Dcodechal_vdenc_vp9_g11.cpp2581 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 Dcodechal_decode_sfc.cpp45 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()
52allocParamsForBufferLinear.dwBytes = MOS_ROUNDUP_DIVIDE(m_inputSurface->dwHeight, 8) * 5 * MHW_SFC… in AllocateResources()
56allocParamsForBufferLinear.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 Dcodechal_decode_histogram_vebox.cpp107 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 Dcodechal_vdenc_hevc.cpp1968 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 Dcodechal_vdenc_vp9_base.cpp3935 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()
3942allocParamsForBufferLinear.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 Dcodechal_vdenc_hevc_g12.cpp666 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 Dcodechal_vdenc_vp9_g12.cpp2999 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 Dencode_avc_huc_brc_update_packet.cpp119 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()
126allocParamsForBufferLinear.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 Dencode_av1_brc_update_packet.cpp88 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()
99allocParamsForBufferLinear.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 Dencode_back_annotation_packet.cpp51 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()
62allocParamsForBufferLinear.dwBytes = MOS_ALIGN_CEIL(m_vdencbackAnnotationDmemBufferSize, CODECHAL_… in AllocateResources()
63 allocParamsForBufferLinear.pBufName = "AV1 Back Annotation Dmem Buffer"; in AllocateResources()
64allocParamsForBufferLinear.ResUsageType = MOS_HW_RESOURCE_USAGE_ENCODE_INTERNAL_WRITE; in AllocateResources()
65 …ncBackAnnotationDmemBuffer[k][i] = m_allocator->AllocateResource(allocParamsForBufferLinear, true); in AllocateResources()
67allocParamsForBufferLinear.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 Dencode_vp9_pak_integrate_packet.cpp219 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()
226allocParamsForBufferLinear.dwBytes = MOS_ALIGN_CEIL(m_hucPakIntDmemBufferSize, CODECHAL_CACHELINE… in AllocateResources()
227 allocParamsForBufferLinear.pBufName = "Huc Pak Int Dmem Buffer"; in AllocateResources()
228allocParamsForBufferLinear.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 …]

123