Home
last modified time | relevance | path

Searched refs:yuv (Results 1 - 2 of 2) sorted by relevance

/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/image/yuvinfo_fuzzer/
H A Dyuv_info_fuzzer.cpp46 YUVInfo yuv = YUVInfo(width, height, static_cast<YUVInfo::PlaneConfig>(config % MATH_THREE), in YuvInfoFuzzTest000() local
50 yuv.GetWidth(); in YuvInfoFuzzTest000()
51 yuv.GetHeight(); in YuvInfoFuzzTest000()
52 yuv.GetConfig(); in YuvInfoFuzzTest000()
53 yuv.GetSampling(); in YuvInfoFuzzTest000()
54 yuv.GetColorSpace(); in YuvInfoFuzzTest000()
55 yuv.GetDataType(); in YuvInfoFuzzTest000()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dnative_image.cpp123 struct YUVData yuv; in SplitYUV422SPComponent() local
125 yuv.ySize = static_cast<uint64_t>(width * height); in SplitYUV422SPComponent()
126 yuv.uvSize = static_cast<uint64_t>(height * uvStride); in SplitYUV422SPComponent()
127 if (surfaceSize < (yuv.ySize + yuv.uvSize * NUM_2)) { in SplitYUV422SPComponent()
129 " + uv plane %{public}" PRIu64, surfaceSize, yuv.ySize, yuv.uvSize * NUM_2); in SplitYUV422SPComponent()
133 NativeComponent* y = CreateComponent(int32_t(ComponentType::YUV_Y), yuv.ySize, width, NUM_1, nullptr); in SplitYUV422SPComponent()
134 NativeComponent* u = CreateComponent(int32_t(ComponentType::YUV_U), yuv.uvSize, uvStride, NUM_2, nullptr); in SplitYUV422SPComponent()
135 NativeComponent* v = CreateComponent(int32_t(ComponentType::YUV_V), yuv in SplitYUV422SPComponent()
[all...]

Completed in 1 milliseconds