Home
last modified time | relevance | path

Searched refs:surfacePixelFmt (Results 1 - 3 of 3) sorted by relevance

/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/video_surface_sink/
H A Dsurface_sink_plugin.cpp154 auto surfacePixelFmt = static_cast<PixelFormat>(std::stoi(surface_->GetUserData("SURFACE_FORMAT"))); in Prepare() local
155 if (decodeOutputSurfacePixelFmt != surfacePixelFmt) { in Prepare()
157 PUBLIC_LOG_U32, static_cast<uint32_t>(decodeOutputSurfacePixelFmt), static_cast<uint32_t>(surfacePixelFmt)); in Prepare()
160 surfacePixelFmt = decodeOutputSurfacePixelFmt; in Prepare()
168 static_cast<uint32_t>(decodeOutputPixelFmt_), static_cast<uint32_t>(surfacePixelFmt)); in Prepare()
169 mAllocator_->Config(static_cast<int32_t>(width_), static_cast<int32_t>(height_), usage, surfacePixelFmt, in Prepare() local
/foundation/multimedia/av_codec/services/engine/codec/video/hevcdecoder/
H A Dhevc_decoder.cpp566 GraphicPixelFormat surfacePixelFmt; in SetSurfaceParameter() local
569 surfacePixelFmt = GraphicPixelFormat::GRAPHIC_PIXEL_FMT_YCBCR_P010; in SetSurfaceParameter()
571 surfacePixelFmt = GraphicPixelFormat::GRAPHIC_PIXEL_FMT_YCRCB_P010; in SetSurfaceParameter()
574 surfacePixelFmt = TranslateSurfaceFormat(vpf); in SetSurfaceParameter()
577 sInfo_.requestConfig.format = surfacePixelFmt; in SetSurfaceParameter()
693 GraphicPixelFormat surfacePixelFmt = TranslateSurfaceFormat(static_cast<VideoPixelFormat>(val32)); in SetSurfaceCfg() local
694 CHECK_AND_RETURN_RET_LOG(surfacePixelFmt != GraphicPixelFormat::GRAPHIC_PIXEL_FMT_BUTT, AVCS_ERR_UNSUPPORT, in SetSurfaceCfg()
698 sInfo_.requestConfig.format = surfacePixelFmt; in SetSurfaceCfg()
/foundation/multimedia/av_codec/services/engine/codec/video/fcodec/
H A Dfcodec.cpp542 GraphicPixelFormat surfacePixelFmt = TranslateSurfaceFormat(vpf); in SetSurfaceParameter() local
544 sInfo_.requestConfig.format = surfacePixelFmt; in SetSurfaceParameter()
665 GraphicPixelFormat surfacePixelFmt = TranslateSurfaceFormat(static_cast<VideoPixelFormat>(val32)); in SetSurfaceCfg() local
666 CHECK_AND_RETURN_RET_LOG(surfacePixelFmt != GraphicPixelFormat::GRAPHIC_PIXEL_FMT_BUTT, AVCS_ERR_UNSUPPORT, in SetSurfaceCfg()
670 sInfo_.requestConfig.format = surfacePixelFmt; in SetSurfaceCfg()

Completed in 6 milliseconds