Home
last modified time | relevance | path

Searched refs:alignedWidth (Results 1 – 11 of 11) sorted by relevance

/external/intel-media-driver/media_softlet/linux/common/ddi/
Dmedia_libva_common_next.cpp174 uint32_t alignedWidth, alignedHeight; in ReplaceSurfaceWithVariant() local
205 alignedWidth = MOS_ALIGN_CEIL(surface->iWidth, 128); in ReplaceSurfaceWithVariant()
209 alignedWidth = MOS_ALIGN_CEIL(surface->iWidth, 64); in ReplaceSurfaceWithVariant()
217 alignedWidth = (surface->iWidth + 1) >> 1; in ReplaceSurfaceWithVariant()
222 alignedWidth = (surface->iWidth + 1) >> 1; in ReplaceSurfaceWithVariant()
229 alignedWidth = surface->iWidth; in ReplaceSurfaceWithVariant()
232 alignedWidth = surface->iWidth * 2; in ReplaceSurfaceWithVariant()
251 dstSurface->iWidth = alignedWidth; in ReplaceSurfaceWithVariant()
Dmedia_libva_util_next.cpp119 params.alignedWidth = MOS_ALIGN_CEIL(params.width, 8); in SetDefaultTileFormat()
178 params.alignedWidth = MOS_ALIGN_CEIL(params.width, 8); in SetDefaultTileFormat()
200 params.alignedWidth = MOS_ALIGN_CEIL(params.alignedWidth, 16); in SetDefaultTileFormat()
218 params.alignedWidth = params.width = width; in InitSurfaceAllocateParams()
415 gmmCustomParams.BaseWidth64 = MOS_ALIGN_CEIL(params.alignedWidth, 2); in GenerateGmmParamsForCompressionExternalSurface()
417 gmmCustomParams.BaseWidth64 = params.alignedWidth; in GenerateGmmParamsForCompressionExternalSurface()
749 gmmParams.BaseWidth = params.alignedWidth; in GenerateGmmParamsForInternalSurface()
Dmedia_libva_util_next.h201 int32_t alignedWidth; member
/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/enc/hevc/features/
Dencode_hevc_vdenc_scc.cpp118 uint32_t alignedWidth, alignedHeight; in AllocateEncResources() local
122alignedWidth = MOS_ALIGN_CEIL(m_basicFeature->m_frameWidth, ((HevcBasicFeature *)m_basicFeature)-… in AllocateEncResources()
131 allocParamsForBuffer2D.dwWidth = alignedWidth; in AllocateEncResources()
147 allocParamsForBuffer2D.dwWidth = alignedWidth * 2; in AllocateEncResources()
160 allocParamsForBuffer2D.dwWidth = MOS_ALIGN_CEIL(alignedWidth, 512 / 4); in AllocateEncResources()
166 allocParamsForBuffer2D.dwWidth = MOS_ALIGN_CEIL(alignedWidth, 256 / 4); in AllocateEncResources()
/external/eigen/demos/mandelbrot/
Dmandelbrot.cpp38 const int alignedWidth = (img_width/packetSize)*packetSize; in render() local
59 for(int x = 0; x < alignedWidth; x += packetSize, pix += packetSize) in render()
105 for(int x = alignedWidth; x < img_width; x++, pix++) in render()
/external/mesa3d/src/gfxstream/guest/android/
DGrallocEmulated.cpp356 const uint32_t alignedWidth = Align(mWidth, formatInfo.horizontalAlignmentPixels); in lockPlanes() local
360 const uint32_t planeWidth = DivideRoundUp(alignedWidth, planeInfo.horizontalSubsampling); in lockPlanes()
456 const uint32_t alignedWidth = Align(width, formatInfo.horizontalAlignmentPixels); in allocate() local
462 const uint32_t planeWidth = DivideRoundUp(alignedWidth, planeInfo.horizontalSubsampling); in allocate()
/external/intel-media-driver/media_driver/linux/common/ddi/
Dmedia_libva_util.cpp189 int32_t alignedWidth = width; in DdiMediaUtil_AllocateSurface() local
227 alignedWidth = MOS_ALIGN_CEIL(width, 2); in DdiMediaUtil_AllocateSurface()
294 alignedWidth = MOS_ALIGN_CEIL(width, 8); in DdiMediaUtil_AllocateSurface()
300 alignedWidth = MOS_ALIGN_CEIL(width, 128); in DdiMediaUtil_AllocateSurface()
333 alignedWidth = MOS_ALIGN_CEIL(alignedWidth, 16); in DdiMediaUtil_AllocateSurface()
652 gmmParams.BaseWidth = alignedWidth; in DdiMediaUtil_AllocateSurface()
/external/intel-media-driver/media_driver/agnostic/gen11/codec/hal/
Dcodechal_encode_csc_ds_g11.cpp60 …uint32_t alignedWidth = MOS_ALIGN_CEIL(CODECHAL_GET_WIDTH_IN_MACROBLOCKS(m_encoder->m_oriFrameWidt… in AllocateSurfaceCsc() local
63 MOS_ALIGN_CEIL((alignedWidth * alignedHeight << 6) , 1024); in AllocateSurfaceCsc()
/external/intel-media-driver/media_driver/agnostic/gen12/codec/hal/
Dcodechal_encode_csc_ds_g12.cpp63 …uint32_t alignedWidth = MOS_ALIGN_CEIL(CODECHAL_GET_WIDTH_IN_MACROBLOCKS(m_encoder->m_oriFrameWidt… in AllocateSurfaceCsc() local
66 MOS_ALIGN_CEIL((alignedWidth * alignedHeight << 6) , 1024); in AllocateSurfaceCsc()
Dcodechal_vdenc_hevc_g12.cpp1464 uint32_t alignedWidth, alignedHeight; in AllocateEncResources() local
1468 alignedWidth = MOS_ALIGN_CEIL(m_frameWidth, MAX_LCU_SIZE); in AllocateEncResources()
1477 allocParamsForBuffer2D.dwWidth = alignedWidth; in AllocateEncResources()
1489 allocParamsForBuffer2D.dwWidth = alignedWidth * 2; in AllocateEncResources()
1502 allocParamsForBuffer2D.dwWidth = alignedWidth >> 2; in AllocateEncResources()
1508 allocParamsForBuffer2D.dwWidth = alignedWidth >> 1; in AllocateEncResources()
/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/
Dcodechal_debug.cpp2700 uint32_t alignedWidth = surface->dwWidth; in DumpRgbDataOnYUVSurface() local
2705 alignedWidth = rgbPitch; in DumpRgbDataOnYUVSurface()
2742 …std::string bufName = std::string(surfName) + "_w[" + std::to_string(alignedWidth) + "]_h[" + std… in DumpRgbDataOnYUVSurface()