Searched refs:componentsNum (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libwebpplugin/src/ |
H A D | webp_encoder.cpp | 200 pixelFormat, alphaType, componentsNum); in DoTransform() 203 return DoTransformRGBX(pixelMap, dst, componentsNum); in DoTransform() 207 return DoTransformRgbA(pixelMap, dst, componentsNum); in DoTransform() 209 return DoTransformBGRX(pixelMap, dst, componentsNum); in DoTransform() 211 return DoTransformBGRA(pixelMap, dst, componentsNum); in DoTransform() 213 return DoTransformBgrA(pixelMap, dst, componentsNum); in DoTransform() 233 return DoTransformGray(pixelMap, dst, componentsNum); in DoTransform() 413 const int stride = pixelMap.GetWidth() * componentsNum; in DoTransformMemcpy() 416 width, height, rowBytes, stride, componentsNum); in DoTransformMemcpy() 421 width, componentsNum); in DoTransformMemcpy() [all …]
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libwebpplugin/include/ |
H A D | webp_encoder.h | 41 bool DoTransform(Media::PixelMap &pixelMap, char* dst, int componentsNum); 51 static bool DoTransformMemcpy(Media::PixelMap &pixelMap, char* dst, int componentsNum); 52 static bool DoTransformRGBX(Media::PixelMap &pixelMap, char* dst, int componentsNum); 53 static bool DoTransformRgbA(Media::PixelMap &pixelMap, char* dst, int componentsNum); 54 static bool DoTransformBGRX(Media::PixelMap &pixelMap, char* dst, int componentsNum); 55 static bool DoTransformBGRA(Media::PixelMap &pixelMap, char* dst, int componentsNum); 56 static bool DoTransformBgrA(Media::PixelMap &pixelMap, char* dst, int componentsNum); 57 static bool DoTransformF16To8888(Media::PixelMap &pixelMap, char* dst, int componentsNum); 59 static bool DoTransformArgbToRgb(Media::PixelMap &pixelMap, char* dst, int componentsNum); 61 static bool DoTransformRGB565(Media::PixelMap &pixelMap, char* dst, int componentsNum); [all …]
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/plugin_test/ |
H A D | webp_encoder_test.cpp | 728 int componentsNum = 0; variable 766 int componentsNum = 0; variable 789 int componentsNum = 0; variable 812 int componentsNum = 0; variable 835 int componentsNum = 0; variable 858 int componentsNum = 0; variable 881 int componentsNum = 0; variable 904 int componentsNum = 0; variable 927 int componentsNum = 0; variable 950 int componentsNum = 0; variable [all …]
|
H A D | plugin_libjpeg_test.cpp | 1993 int32_t componentsNum = 1; variable 1995 ASSERT_EQ(componentsNum, COMPONENT_NUM_RGBA); 1998 ASSERT_EQ(componentsNum, COMPONENT_NUM_RGBA); 2001 ASSERT_EQ(componentsNum, COMPONENT_NUM_BGRA); 2004 ASSERT_EQ(componentsNum, COMPONENT_NUM_GRAY); 2007 ASSERT_EQ(componentsNum, COMPONENT_NUM_RGB); 2010 ASSERT_EQ(componentsNum, COMPONENT_NUM_RGB); 2013 ASSERT_EQ(componentsNum, COMPONENT_NUM_YUV420SP); 2016 ASSERT_EQ(componentsNum, COMPONENT_NUM_YUV420SP); 2019 ASSERT_EQ(componentsNum, COMPONENT_NUM_RGBA); [all …]
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/include/ |
H A D | jpeg_encoder.h | 40 J_COLOR_SPACE GetEncodeFormat(Media::PixelFormat format, int32_t &componentsNum);
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/src/ |
H A D | jpeg_encoder.cpp | 90 J_COLOR_SPACE JpegEncoder::GetEncodeFormat(PixelFormat format, int32_t &componentsNum) in GetEncodeFormat() argument 138 componentsNum = components; in GetEncodeFormat()
|