/external/intel-media-driver/media_driver/linux/common/ddi/ |
D | media_libva_common.cpp | 185 …PDDI_MEDIA_SURFACE dstSurface = (DDI_MEDIA_SURFACE *)MOS_AllocAndZeroMemory(sizeof(DDI_MEDIA_SURFA… in DdiMedia_ReplaceSurfaceWithNewFormat() local 186 DDI_CHK_NULL(dstSurface, "nullptr dstSurface", nullptr); in DdiMedia_ReplaceSurfaceWithNewFormat() 189 MOS_FreeMemory(dstSurface); in DdiMedia_ReplaceSurfaceWithNewFormat() 193 MOS_SecureMemcpy(dstSurface,sizeof(DDI_MEDIA_SURFACE),surface,sizeof(DDI_MEDIA_SURFACE)); in DdiMedia_ReplaceSurfaceWithNewFormat() 194 dstSurface->format = expectedFormat; in DdiMedia_ReplaceSurfaceWithNewFormat() 195 dstSurface->uiLockedBufID = VA_INVALID_ID; in DdiMedia_ReplaceSurfaceWithNewFormat() 196 dstSurface->uiLockedImageID = VA_INVALID_ID; in DdiMedia_ReplaceSurfaceWithNewFormat() 197 dstSurface->pSurfDesc = nullptr; in DdiMedia_ReplaceSurfaceWithNewFormat() 200 if(dstSurface->pShadowBuffer) in DdiMedia_ReplaceSurfaceWithNewFormat() 202 … dstSurface->pShadowBuffer = (PDDI_MEDIA_BUFFER)MOS_AllocAndZeroMemory(sizeof(DDI_MEDIA_BUFFER)); in DdiMedia_ReplaceSurfaceWithNewFormat() [all …]
|
/external/intel-media-driver/media_softlet/linux/common/ddi/ |
D | media_libva_common_next.cpp | 123 …PDDI_MEDIA_SURFACE dstSurface = (DDI_MEDIA_SURFACE *)MOS_AllocAndZeroMemory(sizeof(DDI_MEDIA_SURFA… in ReplaceSurfaceWithNewFormat() local 126 MOS_FreeMemory(dstSurface); in ReplaceSurfaceWithNewFormat() 130 MOS_SecureMemcpy(dstSurface, sizeof(DDI_MEDIA_SURFACE), surface, sizeof(DDI_MEDIA_SURFACE)); in ReplaceSurfaceWithNewFormat() 131 DDI_CHK_NULL(dstSurface, "nullptr dstSurface", nullptr); in ReplaceSurfaceWithNewFormat() 132 dstSurface->format = expectedFormat; in ReplaceSurfaceWithNewFormat() 133 dstSurface->uiLockedBufID = VA_INVALID_ID; in ReplaceSurfaceWithNewFormat() 134 dstSurface->uiLockedImageID = VA_INVALID_ID; in ReplaceSurfaceWithNewFormat() 135 dstSurface->pSurfDesc = nullptr; in ReplaceSurfaceWithNewFormat() 152 MOS_FreeMemory(dstSurface); in ReplaceSurfaceWithNewFormat() 159 MediaLibvaUtilNext::CreateSurface(dstSurface,mediaCtx); in ReplaceSurfaceWithNewFormat() [all …]
|
D | ddi_media_functions.h | 555 VASurfaceID dstSurface,
|
D | ddi_media_functions.cpp | 375 VASurfaceID dstSurface, in ProcessPipeline() argument
|
/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/dec/shared/bufferMgr/ |
D | decode_internal_target.h | 100 MOS_STATUS ActiveCurSurf(uint32_t curFrameIdx, PMOS_SURFACE dstSurface, bool isMmcEnabled, 116 dstSurface->dwWidth, 117 MOS_ALIGN_CEIL(dstSurface->dwHeight, 8), 119 dstSurface->Format, 123 dstSurface->TileModeGMM); 131 dstSurface->dwWidth, 132 MOS_ALIGN_CEIL(dstSurface->dwHeight, 8),
|
/external/intel-media-driver/media_driver/agnostic/common/codec/hal/ |
D | codechal_mmc.cpp | 165 PMOS_SURFACE dstSurface, in SetSurfaceMmcMode() argument 178 &dstSurface->OsResource, in SetSurfaceMmcMode() 180 dstSurface->CompressionMode = MOS_MMC_DISABLED; in SetSurfaceMmcMode() 184 if (dstSurface->bCompressible) in SetSurfaceMmcMode() 188 &dstSurface->OsResource, in SetSurfaceMmcMode() 190 dstSurface->CompressionMode = srcSurface->CompressionMode; in SetSurfaceMmcMode() 197 &dstSurface->OsResource, in SetSurfaceMmcMode() 199 dstSurface->CompressionMode = MOS_MMC_DISABLED; in SetSurfaceMmcMode()
|
D | codechal_decoder.cpp | 1096 MOS_SURFACE dstSurface; in EndFrame() 1104 MOS_ZeroMemory(&dstSurface, sizeof(dstSurface)); in EndFrame() 1105 dstSurface.Format = Format_NV12; in EndFrame() 1106 dstSurface.OsResource = decodeStatusReport->m_currDecodedPicRes; in EndFrame() 1109 &dstSurface)); in EndFrame() 1112 &dstSurface, in EndFrame() 1116 &dstSurface, in EndFrame() 1127 dstSurface.dwWidth)); in EndFrame() 1145 MOS_ZeroMemory(&dstSurface, sizeof(dstSurface)); in EndFrame() 1146 dstSurface.Format = Format_NV12; in EndFrame() [all …]
|
D | codechal_decode_avc.cpp | 164 MOS_SURFACE dstSurface; in FormatAvcMonoPicture() local 165 MOS_ZeroMemory(&dstSurface, sizeof(MOS_SURFACE)); in FormatAvcMonoPicture() 166 dstSurface.Format = Format_NV12; in FormatAvcMonoPicture() 169 dstSurface.OsResource = surface->OsResource; in FormatAvcMonoPicture() 176 CODECHAL_DECODE_CHK_STATUS_RETURN(CodecHalGetResourceInfo(m_osInterface, &dstSurface)); in FormatAvcMonoPicture() 178 uint32_t height = dstSurface.dwHeight; in FormatAvcMonoPicture() 179 uint32_t pitch = dstSurface.dwPitch; in FormatAvcMonoPicture() 249 dstOffset = dstSurface.UPlaneOffset.iSurfaceOffset; in FormatAvcMonoPicture() 1533 MOS_SURFACE dstSurface; in InitPicMhwParams() local 1551 MOS_ZeroMemory(&dstSurface, sizeof(MOS_SURFACE)); in InitPicMhwParams() [all …]
|
D | codechal_mmc.h | 124 PMOS_SURFACE dstSurface,
|
D | codechal_decode_vc1.cpp | 1065 MOS_SURFACE dstSurface, in FormatUnequalFieldPicture() argument 1095 dataCopyParams.dstResource = &dstSurface.OsResource; in FormatUnequalFieldPicture() 1107 &dstSurface.OsResource, // presDst in FormatUnequalFieldPicture() 1126 dstSurface.dwPitch); in FormatUnequalFieldPicture() 1137 dstSurface.dwPitch); in FormatUnequalFieldPicture() 1147 dataCopyParams.dstResource = &dstSurface.OsResource; in FormatUnequalFieldPicture() 1159 &dstSurface.OsResource, // presDst in FormatUnequalFieldPicture() 1172 dstOffset = dstSurface.dwPitch * (frameHeight + uvblockHeight); in FormatUnequalFieldPicture() 1177 dstOffset = dstSurface.dwPitch * in FormatUnequalFieldPicture() 1188 dataCopyParams.dstResource = &dstSurface.OsResource; in FormatUnequalFieldPicture() [all …]
|
D | codechal_decode_mpeg2.cpp | 835 MOS_SURFACE dstSurface; in DecodeStateLevel() 837 MOS_ZeroMemory(&dstSurface, sizeof(MOS_SURFACE)); in DecodeStateLevel() 838 dstSurface.Format = Format_NV12; in DecodeStateLevel() 839 dstSurface.OsResource = *(pipeBufAddrParams.presReferences[i]); in DecodeStateLevel() 842 &dstSurface)); in DecodeStateLevel() 847 &dstSurface, in DecodeStateLevel()
|
/external/intel-media-driver/media_driver/agnostic/gen11/codec/hal/ |
D | codechal_decode_avc_g11.cpp | 387 MOS_SURFACE dstSurface; in DecodePrimitiveLevel() 388 MOS_ZeroMemory(&dstSurface, sizeof(dstSurface)); in DecodePrimitiveLevel() 389 dstSurface.Format = Format_NV12; in DecodePrimitiveLevel() 390 dstSurface.OsResource = decProcessingParams->m_outputSurface->OsResource; in DecodePrimitiveLevel() 394 &dstSurface)); in DecodePrimitiveLevel() 397 &dstSurface, in DecodePrimitiveLevel()
|
D | codechal_decode_mpeg2_g11.cpp | 225 MOS_SURFACE dstSurface; in DecodeStateLevel() 227 MOS_ZeroMemory(&dstSurface, sizeof(MOS_SURFACE)); in DecodeStateLevel() 228 dstSurface.Format = Format_NV12; in DecodeStateLevel() 229 dstSurface.OsResource = *(pipeBufAddrParams.presReferences[i]); in DecodeStateLevel() 232 &dstSurface)); in DecodeStateLevel() 236 &dstSurface, in DecodeStateLevel()
|
D | codechal_decode_vc1_g11.cpp | 282 MOS_SURFACE dstSurface; in DecodeStateLevel() 284 MOS_ZeroMemory(&dstSurface, sizeof(MOS_SURFACE)); in DecodeStateLevel() 285 dstSurface.Format = Format_NV12; in DecodeStateLevel() 286 dstSurface.OsResource = *(pipeBufAddrParams.presReferences[i]); in DecodeStateLevel() 289 &dstSurface)); in DecodeStateLevel() 294 &dstSurface, in DecodeStateLevel()
|
/external/skia/src/gpu/ganesh/ |
D | GrCopyRenderTask.cpp | 98 GrSurface* dstSurface = dstProxy->peekSurface(); in onExecute() local 100 SkIRect dstRect = GrNativeRect::MakeIRectRelativeTo(fOrigin, dstSurface->height(), fDstRect); in onExecute() 101 return flushState->gpu()->copySurface(dstSurface, dstRect, srcSurface, srcRect, fFilter); in onExecute()
|
D | GrWritePixelsRenderTask.cpp | 71 GrSurface* dstSurface = dstProxy->peekSurface(); in onExecute() local 72 return flushState->gpu()->writePixels(dstSurface, in onExecute()
|
D | GrOpFlushState.cpp | 118 GrSurface* dstSurface = dstProxy->peekSurface(); in doUpload() local 119 if (!fGpu->caps()->surfaceSupportsWritePixels(dstSurface)) { in doUpload() 123 colorType, dstSurface->backendFormat(), colorType); in doUpload() 141 return this->fGpu->writePixels(dstSurface, in doUpload()
|
/external/intel-media-driver/media_driver/agnostic/gen12/codec/hal/ |
D | codechal_decode_avc_g12.cpp | 532 MOS_SURFACE dstSurface; in DecodePrimitiveLevel() 533 MOS_ZeroMemory(&dstSurface, sizeof(dstSurface)); in DecodePrimitiveLevel() 534 dstSurface.Format = Format_NV12; in DecodePrimitiveLevel() 535 dstSurface.OsResource = decProcessingParams->m_outputSurface->OsResource; in DecodePrimitiveLevel() 539 &dstSurface)); in DecodePrimitiveLevel() 542 &dstSurface, in DecodePrimitiveLevel()
|
D | codechal_decode_mpeg2_g12.cpp | 248 MOS_SURFACE dstSurface; in DecodeStateLevel() 250 MOS_ZeroMemory(&dstSurface, sizeof(MOS_SURFACE)); in DecodeStateLevel() 251 dstSurface.Format = Format_NV12; in DecodeStateLevel() 252 dstSurface.OsResource = *(pipeBufAddrParams.presReferences[i]); in DecodeStateLevel() 255 &dstSurface)); in DecodeStateLevel() 260 &dstSurface, in DecodeStateLevel()
|
D | codechal_decode_vp9_g12.cpp | 1230 MOS_SURFACE dstSurface; in DecodePrimitiveLevel() 1231 MOS_ZeroMemory(&dstSurface, sizeof(dstSurface)); in DecodePrimitiveLevel() 1232 dstSurface.Format = Format_NV12; in DecodePrimitiveLevel() 1233 dstSurface.OsResource = m_sfcState->m_sfcOutputSurface->OsResource; in DecodePrimitiveLevel() 1236 &dstSurface)); in DecodePrimitiveLevel() 1239 &dstSurface, in DecodePrimitiveLevel()
|
D | codechal_decode_vc1_g12.cpp | 356 MOS_SURFACE dstSurface; in DecodeStateLevel() 358 MOS_ZeroMemory(&dstSurface, sizeof(MOS_SURFACE)); in DecodeStateLevel() 359 dstSurface.Format = Format_NV12; in DecodeStateLevel() 360 dstSurface.OsResource = *(pipeBufAddrParams.presReferences[i]); in DecodeStateLevel() 363 &dstSurface)); in DecodeStateLevel() 368 &dstSurface, in DecodeStateLevel()
|
/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/dec/shared/pipeline/ |
D | decode_pipeline.cpp | 490 MOS_SURFACE dstSurface; in DumpOutput() local 491 MOS_ZeroMemory(&dstSurface, sizeof(dstSurface)); in DumpOutput() 492 dstSurface.Format = Format_NV12; in DumpOutput() 493 dstSurface.OsResource = reportData.currDecodedPicRes; in DumpOutput() 494 DECODE_CHK_STATUS(m_allocator->GetSurfaceInfo(&dstSurface)); in DumpOutput() 497 &dstSurface, CodechalDbgAttr::attrDecodeOutputSurface, "DstSurf")); in DumpOutput()
|
/external/skia/src/gpu/graphite/ |
D | Context.cpp | 474 sk_sp<Surface> dstSurface = Surface::MakeScratch(recorder.get(), in asyncReadPixelsYUV420() local 480 if (!dstSurface) { in asyncReadPixelsYUV420() 499 SkCanvas* canvas = dstSurface->getCanvas(); in asyncReadPixelsYUV420() 504 Flush(dstSurface); in asyncReadPixelsYUV420() 507 dstSurface->backingTextureProxy(), in asyncReadPixelsYUV420() 508 dstSurface->imageInfo().colorInfo(), in asyncReadPixelsYUV420()
|
/external/skia/tools/skpbench/ |
D | skpbench.cpp | 260 sk_sp<SkSurface> dstSurface, in run_ddl_benchmark() argument 268 SkAssertResult(dstSurface->characterize(&dstCharacterization)); in run_ddl_benchmark() 270 SkIRect viewport = dstSurface->imageInfo().bounds(); in run_ddl_benchmark() 334 skgpu::ganesh::DrawDDL(dstSurface, tiles.composeDDL()); in run_ddl_benchmark() 335 dContext->flushAndSubmit(dstSurface.get(), GrSyncCpu::kNo); in run_ddl_benchmark()
|
/external/intel-media-driver/media_driver/linux/common/vp/ddi/ |
D | media_libva_vp.h | 115 VASurfaceID dstSurface,
|