Home
last modified time | relevance | path

Searched refs:YUVInfo (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_yuv_info.h29 static SkYUVAInfo::PlaneConfig ConvertToSkPlaneConfig(const YUVInfo::PlaneConfig& config) in ConvertToSkPlaneConfig()
32 case YUVInfo::PlaneConfig::Y_UV: in ConvertToSkPlaneConfig()
34 case YUVInfo::PlaneConfig::Y_VU: in ConvertToSkPlaneConfig()
36 case YUVInfo::PlaneConfig::UNKNOWN: in ConvertToSkPlaneConfig()
43 static SkYUVAInfo::Subsampling ConvertToSkSubSampling(const YUVInfo::SubSampling& sampling) in ConvertToSkSubSampling()
46 case YUVInfo::SubSampling::K420: in ConvertToSkSubSampling()
48 case YUVInfo::SubSampling::UNKNOWN: in ConvertToSkSubSampling()
55 static SkYUVColorSpace ConvertToSkYUVColorSpace(const YUVInfo::YUVColorSpace& colorspace) in ConvertToSkYUVColorSpace()
58 case YUVInfo::YUVColorSpace::JPEG_FULL_YUVCOLORSPACE: in ConvertToSkYUVColorSpace()
60 case YUVInfo::YUVColorSpace::IDENTITY_YUVCOLORSPACE: in ConvertToSkYUVColorSpace()
H A Dskia_image.h58 …static std::shared_ptr<Image> MakeFromYUVAPixmaps(GPUContext& gpuContext, const YUVInfo& info, voi…
H A Dskia_static_factory.h61 …static std::shared_ptr<Image> MakeFromYUVAPixmaps(GPUContext& gpuContext, const YUVInfo& info, voi…
H A Dskia_static_factory.cpp108 std::shared_ptr<Image> SkiaStaticFactory::MakeFromYUVAPixmaps(GPUContext& gpuContext, const YUVInfo in MakeFromYUVAPixmaps()
H A Dskia_image.cpp116 std::shared_ptr<Image> SkiaImage::MakeFromYUVAPixmaps(GPUContext& gpuContext, const YUVInfo& info, … in MakeFromYUVAPixmaps()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/image/yuvinfo_fuzzer/
H A Dyuv_info_fuzzer.cpp45 YUVInfo yuv; in YuvInfoFuzzTest000()
46 YUVInfo yuv1 = YUVInfo(width, height, static_cast<YUVInfo::PlaneConfig>(config % MATH_THREE), in YuvInfoFuzzTest000()
47 static_cast<YUVInfo::SubSampling>(sampling % MATH_TWO), in YuvInfoFuzzTest000()
48 static_cast<YUVInfo::YUVColorSpace>(colorSpace % MATH_TWO)); in YuvInfoFuzzTest000()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/image/
H A Dimage_test.cpp565 YUVInfo info(100, 100, YUVInfo::PlaneConfig::Y_UV, YUVInfo::SubSampling::K420,
566 YUVInfo::YUVColorSpace::JPEG_FULL_YUVCOLORSPACE);
585 YUVInfo info(100, 100, YUVInfo::PlaneConfig::Y_UV, YUVInfo::SubSampling::K420,
586 YUVInfo::YUVColorSpace::JPEG_FULL_YUVCOLORSPACE);
619 YUVInfo info(300, 300, YUVInfo::PlaneConfig::Y_VU, YUVInfo::SubSampling::K420,
620 YUVInfo::YUVColorSpace::JPEG_FULL_YUVCOLORSPACE);
654 YUVInfo info(300, 300, YUVInfo::PlaneConfig::Y_UV, YUVInfo::SubSampling::K420,
655 YUVInfo::YUVColorSpace::JPEG_FULL_YUVCOLORSPACE);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/image/
H A Dyuv_info.h23 class YUVInfo {
42 YUVInfo() = default;
43YUVInfo(int width, int height, PlaneConfig config, SubSampling sampling, YUVColorSpace colorSpace) in YUVInfo() function
45 ~YUVInfo() = default;
H A Dimage.h267 …static std::shared_ptr<Image> MakeFromYUVAPixmaps(GPUContext& gpuContext, const YUVInfo& info, voi…
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_pixel_map_util.cpp229 static Drawing::YUVInfo::PlaneConfig YUVPixelFormatToPlaneConfig(Media::PixelFormat pixelFormat) in YUVPixelFormatToPlaneConfig()
233 return Drawing::YUVInfo::PlaneConfig::Y_UV; in YUVPixelFormatToPlaneConfig()
235 return Drawing::YUVInfo::PlaneConfig::Y_VU; in YUVPixelFormatToPlaneConfig()
237 return Drawing::YUVInfo::PlaneConfig::UNKNOWN; in YUVPixelFormatToPlaneConfig()
241 static Drawing::YUVInfo::SubSampling YUVPixelFormatToSubSampling(Media::PixelFormat pixelFormat) in YUVPixelFormatToSubSampling()
246 return Drawing::YUVInfo::SubSampling::K420; in YUVPixelFormatToSubSampling()
248 return Drawing::YUVInfo::SubSampling::UNKNOWN; in YUVPixelFormatToSubSampling()
252 static Drawing::YUVInfo::YUVColorSpace YUVPixelFormatToYUVColorSpace(Media::PixelFormat pixelFormat) in YUVPixelFormatToYUVColorSpace()
257 return Drawing::YUVInfo::YUVColorSpace::JPEG_FULL_YUVCOLORSPACE; in YUVPixelFormatToYUVColorSpace()
259 return Drawing::YUVInfo::YUVColorSpace::IDENTITY_YUVCOLORSPACE; in YUVPixelFormatToYUVColorSpace()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_static_factory_test.cpp125 YUVInfo info(100, 100, YUVInfo::PlaneConfig::Y_UV, YUVInfo::SubSampling::K420,
126 YUVInfo::YUVColorSpace::JPEG_FULL_YUVCOLORSPACE);
H A Dskia_image_test.cpp275 YUVInfo info(100, 100, YUVInfo::PlaneConfig::Y_UV, YUVInfo::SubSampling::K420,
276 YUVInfo::YUVColorSpace::JPEG_FULL_YUVCOLORSPACE);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/
H A Dstatic_factory.h61 …static std::shared_ptr<Image> MakeFromYUVAPixmaps(GPUContext& gpuContext, const YUVInfo& info, voi…
H A Dstatic_factory.cpp165 std::shared_ptr<Image> StaticFactory::MakeFromYUVAPixmaps(GPUContext& gpuContext, const YUVInfo& in… in MakeFromYUVAPixmaps()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/image/
H A Dimage.cpp75 std::shared_ptr<Image> Image::MakeFromYUVAPixmaps(GPUContext& gpuContext, const YUVInfo& info, void… in MakeFromYUVAPixmaps()