/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | image_format_convert.cpp | 74 {std::make_pair(PixelFormat::BGRA_8888, PixelFormat::NV21), ImageFormatConvertUtils::BGRAToNV21}, 75 {std::make_pair(PixelFormat::BGRA_8888, PixelFormat::NV12), ImageFormatConvertUtils::BGRAToNV12}, 84 {std::make_pair(PixelFormat::BGRA_8888, PixelFormat::YCBCR_P010), ImageFormatConvertUtils::BGRAToNV12P010}, 85 {std::make_pair(PixelFormat::BGRA_8888, PixelFormat::YCRCB_P010), ImageFormatConvertUtils::BGRAToNV21P010}, 103 {std::make_pair(PixelFormat::BGRA_8888, PixelFormat::NV21), ImageFormatConvertExtUtils::BGRAToNV21}, 104 {std::make_pair(PixelFormat::BGRA_8888, PixelFormat::NV12), ImageFormatConvertExtUtils::BGRAToNV12}, 113 {std::make_pair(PixelFormat::BGRA_8888, PixelFormat::YCBCR_P010), ImageFormatConvertExtUtils::BGRAToNV12P010}, 114 {std::make_pair(PixelFormat::BGRA_8888, PixelFormat::YCRCB_P010), ImageFormatConvertExtUtils::BGRAToNV21P010}, 138 {std::make_pair(PixelFormat::NV12, PixelFormat::BGRA_8888), ImageFormatConvertUtils::NV12ToBGRA}, 144 {std::make_pair(PixelFormat::NV21, PixelFormat::BGRA_8888), ImageFormatConvertUtil [all...] |
H A D | pixel_convert.cpp | 980 g_procMapping.emplace(MakeKey(RGB_888, BGRA_8888), &RGB888ConvertBGRA8888); in InitRGBProc() 985 g_procMapping.emplace(MakeKey(BGR_888, BGRA_8888), &BGR888ConvertBGRA8888); in InitRGBProc() 991 g_procMapping.emplace(MakeKey(RGB_161616, BGRA_8888), &RGB161616ConvertBGRA8888); in InitRGBProc() 996 g_procMapping.emplace(MakeKey(RGB_565, BGRA_8888), &RGB565ConvertBGRA8888); in InitRGBProc() 1003 g_procMapping.emplace(MakeKey(RGBA_8888, BGRA_8888), &RGBA8888ConvertBGRA8888); in InitRGBAProc() 1006 g_procMapping.emplace(MakeKey(BGRA_8888, RGBA_8888), &BGRA8888ConvertRGBA8888); in InitRGBAProc() 1007 g_procMapping.emplace(MakeKey(BGRA_8888, ARGB_8888), &BGRA8888ConvertARGB8888); in InitRGBAProc() 1008 g_procMapping.emplace(MakeKey(BGRA_8888, BGRA_8888), &BGRA8888ConvertBGRA8888Alpha); in InitRGBAProc() 1009 g_procMapping.emplace(MakeKey(BGRA_8888, RGB_56 in InitRGBAProc() [all...] |
H A D | image_format_convert_ext_utils.cpp | 96 case PixelFormat::BGRA_8888:
in RGBToI420() 178 case PixelFormat::BGRA_8888:
in I420ToRGB() 207 case PixelFormat::BGRA_8888:
in CalcRGBStride() 310 case PixelFormat::BGRA_8888:
in YuvToRGBConverter() 323 case PixelFormat::BGRA_8888:
in YuvToRGBConverter() 1239 if (srcParam.format != PixelFormat::BGRA_8888) {
in RGBToYuvConverter() 1282 return RGBToYuv(srcBuffer, rgbInfo, PixelFormat::BGRA_8888, destInfo, PixelFormat::NV21);
in BGRAToNV21() 1289 return RGBToYuv(srcBuffer, rgbInfo, PixelFormat::BGRA_8888, destInfo, PixelFormat::NV12);
in BGRAToNV12() 1368 return YuvToRGB(srcBuffer, yDInfo, PixelFormat::NV21, destInfo, PixelFormat::BGRA_8888);
in NV21ToBGRA() 1375 return YuvToRGB(srcBuffer, yDInfo, PixelFormat::NV12, destInfo, PixelFormat::BGRA_8888);
in NV12ToBGRA() [all...] |
H A D | image_format_convert_utils.cpp | 872 return YuvP010ToRGB(srcBuffer, yDInfo, PixelFormat::YCBCR_P010, destInfo, PixelFormat::BGRA_8888); in NV12P010ToBGRA8888() 942 return YuvP010ToRGB(srcBuffer, yDInfo, PixelFormat::YCRCB_P010, destInfo, PixelFormat::BGRA_8888); in NV21P010ToBGRA8888() 1042 return RGBToYuvP010(srcBuffer, rgbInfo, PixelFormat::BGRA_8888, destInfo, PixelFormat::YCBCR_P010); in BGRAToNV12P010() 1048 return RGBToYuvP010(srcBuffer, rgbInfo, PixelFormat::BGRA_8888, destInfo, PixelFormat::YCRCB_P010); in BGRAToNV21P010() 1250 return YuvToRGB(srcBuffer, yDInfo, PixelFormat::NV21, destInfo, PixelFormat::BGRA_8888); in NV21ToBGRA() 1257 return YuvToRGB(srcBuffer, yDInfo, PixelFormat::NV12, destInfo, PixelFormat::BGRA_8888); in NV12ToBGRA() 1334 return RGBToYuv(srcBuffer, rgbInfo, PixelFormat::BGRA_8888, destInfo, PixelFormat::NV21); in BGRAToNV21() 1341 return RGBToYuv(srcBuffer, rgbInfo, PixelFormat::BGRA_8888, destInfo, PixelFormat::NV12); in BGRAToNV12()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | color_converter_test.cpp | 52 dstImageInfo.pixelFormat = PixelFormat::BGRA_8888; in HWTEST_F() 136 * @tc.desc: RGB_565 to BGRA_8888. 151 dstImageInfo.pixelFormat = PixelFormat::BGRA_8888; in HWTEST_F() 173 * @tc.desc: ARGB_8888 to BGRA_8888 UNPREMUL to PREMUL. 188 dstImageInfo.pixelFormat = PixelFormat::BGRA_8888; in HWTEST_F() 212 * @tc.desc: ARGB_8888 to BGRA_8888 UNPREMUL to UNPREMUL. 227 dstImageInfo.pixelFormat = PixelFormat::BGRA_8888; in HWTEST_F() 251 * @tc.desc: ARGB_8888 to BGRA_8888 UNPREMUL to OPAQUE. 266 dstImageInfo.pixelFormat = PixelFormat::BGRA_8888; in HWTEST_F() 290 * @tc.desc: ARGB_8888 to BGRA_8888 PREMU [all...] |
H A D | pixel_convert_test.cpp | 57 dstImageInfo.pixelFormat = PixelFormat::BGRA_8888; in HWTEST_F() 78 dstImageInfo.pixelFormat = PixelFormat::BGRA_8888; in HWTEST_F() 582 * @tc.desc: RGB_888 to BGRA_8888 UNPREMUL to UNPREMUL. 598 dstImageInfo.pixelFormat = PixelFormat::BGRA_8888; in HWTEST_F() 622 * @tc.desc: RGB_888 to BGRA_8888 UNPREMUL to UNPREMUL. 742 * @tc.desc: BGR_888 to BGRA_8888 UNPREMUL to UNPREMUL. 758 dstImageInfo.pixelFormat = PixelFormat::BGRA_8888; in HWTEST_F() 902 * @tc.desc: RGB_161616 to BGRA_8888 UNPREMUL to UNPREMUL. 918 dstImageInfo.pixelFormat = PixelFormat::BGRA_8888; in HWTEST_F() 942 * @tc.desc: RGB_161616 to BGRA_8888 UNPREMU [all...] |
H A D | image_format_convert_test.cpp | 114 case PixelFormat::BGRA_8888: in GetNamedPixelFormat() 115 return "BGRA_8888"; in GetNamedPixelFormat() 748 PixelFormat srcFormat = PixelFormat::BGRA_8888; in HWTEST_F() 758 PixelFormat srcFormat = PixelFormat::BGRA_8888; in HWTEST_F() 768 PixelFormat srcFormat = PixelFormat::BGRA_8888; in HWTEST_F() 778 PixelFormat srcFormat = PixelFormat::BGRA_8888; in HWTEST_F() 833 PixelFormat destFormat = PixelFormat::BGRA_8888; in HWTEST_F() 844 PixelFormat destFormat = PixelFormat::BGRA_8888; in HWTEST_F() 1012 PixelFormat destFormat = PixelFormat::BGRA_8888; in HWTEST_F() 1023 PixelFormat destFormat = PixelFormat::BGRA_8888; in HWTEST_F() [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imageyuvconvert_fuzzer/src/ |
H A D | image_yuv_convert_fuzzer.cpp | 354 PixelFormat srcFormat = PixelFormat::BGRA_8888; in BGRAToNV21FuzzTest001() 365 PixelFormat srcFormat = PixelFormat::BGRA_8888; in BGRAToNV21FuzzTest002() 376 PixelFormat srcFormat = PixelFormat::BGRA_8888; in BGRAToNV12FuzzTest001() 387 PixelFormat srcFormat = PixelFormat::BGRA_8888; in BGRAToNV12FuzzTest002() 461 PixelFormat destFormat = PixelFormat::BGRA_8888; in NV21ToBGRAFuzzTest001() 473 PixelFormat destFormat = PixelFormat::BGRA_8888; in NV21ToBGRAFuzzTest002() 609 PixelFormat destFormat = PixelFormat::BGRA_8888; in NV12ToBGRAFuzzTest001() 621 PixelFormat destFormat = PixelFormat::BGRA_8888; in NV12ToBGRAFuzzTest002() 903 PixelFormat destFormat = PixelFormat::BGRA_8888; in NV12P010ToBGRAFuzzTest003() 982 PixelFormat destFormat = PixelFormat::BGRA_8888; in NV21P010ToBGRAFuzzTest003() [all...] |
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/ |
H A D | drawable_descriptor.cpp | 196 decodeOpts.desiredPixelFormat = Media::PixelFormat::BGRA_8888; in GetPixelMapFromBuffer() 253 decodeOpts.desiredPixelFormat = Media::PixelFormat::BGRA_8888; in GetPixelMapFromJsonBuf() 290 decodeOpts.desiredPixelFormat = Media::PixelFormat::BGRA_8888; in GetDefaultMask() 311 decodeOpts.desiredPixelFormat = Media::PixelFormat::BGRA_8888; in InitLayeredParam() 319 decodeOpts.desiredPixelFormat = Media::PixelFormat::BGRA_8888; in InitLayeredParam() 336 decodeOpts.desiredPixelFormat = Media::PixelFormat::BGRA_8888; in GetMaskByPath() 359 decodeOpts.desiredPixelFormat = Media::PixelFormat::BGRA_8888; in GetMaskByName() 474 opts.pixelFormat = Media::PixelFormat::BGRA_8888; in TransformToPixelMap() 604 opts.pixelFormat = Media::PixelFormat::BGRA_8888; in CompositeIconNotAdaptive() 698 initializationOptions.pixelFormat = Media::PixelFormat::BGRA_8888; in GetCompositePixelMapWithBadge() [all...] |
H A D | image_converter.cpp | 30 case Media::PixelFormat::BGRA_8888: in PixelFormatToSkColorType() 89 case Media::PixelFormat::BGRA_8888:
|
H A D | image_source_preview.h | 35 BGRA_8888 = 4, member in OHOS::Media::PixelFormat
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libwebpplugin/src/ |
H A D | webp_encoder.cpp | 161 case PixelFormat::BGRA_8888: { in CheckEncodeFormat() 162 IMAGE_LOGD("CheckEncodeFormat, BGRA_8888"); in CheckEncodeFormat() 208 } else if ((pixelFormat == PixelFormat::BGRA_8888) && (alphaType == AlphaType::IMAGE_ALPHA_TYPE_OPAQUE)) { in DoTransform() 210 } else if ((pixelFormat == PixelFormat::BGRA_8888) && (alphaType == AlphaType::IMAGE_ALPHA_TYPE_UNPREMUL)) { in DoTransform() 212 } else if ((pixelFormat == PixelFormat::BGRA_8888) && (alphaType == AlphaType::IMAGE_ALPHA_TYPE_PREMUL)) { in DoTransform() 499 PixelFormat::BGRA_8888, AlphaType::IMAGE_ALPHA_TYPE_UNPREMUL); in DoTransformBGRX() 531 PixelFormat::BGRA_8888, AlphaType::IMAGE_ALPHA_TYPE_UNPREMUL); in DoTransformBGRA() 563 PixelFormat::BGRA_8888, AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in DoTransformBgrA()
|
/foundation/multimedia/player_framework/test/fuzztest/avmetadata_fuzztest/avmetadatafetchframeattime_fuzzer/ |
H A D | avmetadatafetchframeattime_fuzzer.cpp | 70 PixelFormat::BGRA_8888, in FuzzAVMetadataFetchFrameAtTime() member in OHOS::Media::PixelFormat
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
H A D | image_source_raw_test.cpp | 79 * @tc.desc: Decode raw image from file source stream(BGRA_8888) 95 * @tc.steps: step2. decode image source to pixel map using pixel format BGRA_8888. in HWTEST_F() 99 decodeOpts.desiredPixelFormat = PixelFormat::BGRA_8888; in HWTEST_F() 160 * @tc.steps: step2. decode image source to pixel map using pixel format BGRA_8888. in HWTEST_F() 164 decodeOpts.desiredPixelFormat = PixelFormat::BGRA_8888; in HWTEST_F() 393 * @tc.desc: Decode raw image from file source stream(BGRA_8888) 409 * @tc.steps: step2. decode image source to pixel map using pixel format BGRA_8888. in HWTEST_F() 413 decodeOpts.desiredPixelFormat = PixelFormat::BGRA_8888; in HWTEST_F() 439 * @tc.steps: step2. decode image source to pixel map using pixel format BGRA_8888. in HWTEST_F() 469 * @tc.steps: step2. decode image source to pixel map using pixel format BGRA_8888 in HWTEST_F() [all...] |
H A D | image_source_wbmp_test.cpp | 72 * @tc.desc: Decode wbmp image from file source stream(BGRA_8888) 88 * @tc.steps: step2. decode image source to pixel map using pixel format BGRA_8888. in HWTEST_F() 92 decodeOpts.desiredPixelFormat = PixelFormat::BGRA_8888; in HWTEST_F() 148 * @tc.steps: step2. decode image source to pixel map using pixel format BGRA_8888. in HWTEST_F() 152 decodeOpts.desiredPixelFormat = PixelFormat::BGRA_8888; in HWTEST_F() 413 * @tc.steps: step2. decode image source to pixel map using pixel format BGRA_8888. in HWTEST_F() 417 decodeOpts.desiredPixelFormat = PixelFormat::BGRA_8888; in HWTEST_F()
|
H A D | image_source_gif_test.cpp | 121 decodeOpts.desiredPixelFormat = PixelFormat::BGRA_8888; in HWTEST_F()
|
H A D | image_source_webp_test.cpp | 393 decodeOpts.desiredPixelFormat = PixelFormat::BGRA_8888; in HWTEST_F() 611 decodeOpts.desiredPixelFormat = PixelFormat::BGRA_8888; in HWTEST_F() 641 decodeOpts.desiredPixelFormat = PixelFormat::BGRA_8888; in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/platform/image_native/ |
H A D | image_type.h | 104 BGRA_8888 = 4, member in OHOS::Media::PixelFormat
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/test_case/ |
H A D | test_common.cpp | 97 case OHOS::Media::PixelFormat::BGRA_8888: in PixelFormatToDrawingColorType()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_format_convert_mdk_kits.cpp | 53 case PixelFormat::BGRA_8888: in IsMatchType()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_type_converter.cpp | 50 {SkColorType::kBGRA_8888_SkColorType, PixelFormat::BGRA_8888,
51 "kBGRA_8888_SkColorType", "PixelFormat::BGRA_8888"},
|
/foundation/arkui/ace_engine/frameworks/base/image/ |
H A D | pixel_map.h | 43 BGRA_8888 = 4, member in OHOS::Ace::PixelFormat
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | pixel_map_ohos.cpp | 34 case Media::PixelFormat::BGRA_8888: in PixelFormatConverter() 35 return PixelFormat::BGRA_8888; in PixelFormatConverter()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libbmpplugin/src/ |
H A D | bmp_decoder.cpp | 370 case PixelFormat::BGRA_8888: { in ConvertToColorType() 371 outputFormat = PixelFormat::BGRA_8888; in ConvertToColorType()
|
/foundation/multimedia/media_foundation/video_processing_engine/framework/capi/image_processing/ |
H A D | image_processing_native.cpp | 46 { OHOS::Media::PixelFormat::BGRA_8888, GraphicPixelFormat::GRAPHIC_PIXEL_FMT_BGRA_8888 }, 54 case OHOS::Media::PixelFormat::BGRA_8888: in GetBytesPerPixel()
|