/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | image_format_convert.cpp | 72 {std::make_pair(PixelFormat::RGBA_8888, PixelFormat::NV21), ImageFormatConvertUtils::RGBAToNV21}, 73 {std::make_pair(PixelFormat::RGBA_8888, PixelFormat::NV12), ImageFormatConvertUtils::RGBAToNV12}, 82 {std::make_pair(PixelFormat::RGBA_8888, PixelFormat::YCBCR_P010), ImageFormatConvertUtils::RGBAToNV12P010}, 83 {std::make_pair(PixelFormat::RGBA_8888, PixelFormat::YCRCB_P010), ImageFormatConvertUtils::RGBAToNV21P010}, 101 {std::make_pair(PixelFormat::RGBA_8888, PixelFormat::NV21), ImageFormatConvertExtUtils::RGBAToNV21}, 102 {std::make_pair(PixelFormat::RGBA_8888, PixelFormat::NV12), ImageFormatConvertExtUtils::RGBAToNV12}, 111 {std::make_pair(PixelFormat::RGBA_8888, PixelFormat::YCBCR_P010), ImageFormatConvertExtUtils::RGBAToNV12P010}, 112 {std::make_pair(PixelFormat::RGBA_8888, PixelFormat::YCRCB_P010), ImageFormatConvertExtUtils::RGBAToNV21P010}, 137 {std::make_pair(PixelFormat::NV12, PixelFormat::RGBA_8888), ImageFormatConvertUtils::NV12ToRGBA}, 143 {std::make_pair(PixelFormat::NV21, PixelFormat::RGBA_8888), ImageFormatConvertUtil [all...] |
H A D | pixel_convert.cpp | 979 g_procMapping.emplace(MakeKey(RGB_888, RGBA_8888), &RGB888ConvertRGBA8888); in InitRGBProc() 984 g_procMapping.emplace(MakeKey(BGR_888, RGBA_8888), &BGR888ConvertRGBA8888); in InitRGBProc() 990 g_procMapping.emplace(MakeKey(RGB_161616, RGBA_8888), &RGB161616ConvertRGBA8888); in InitRGBProc() 995 g_procMapping.emplace(MakeKey(RGB_565, RGBA_8888), &RGB565ConvertRGBA8888); in InitRGBProc() 1001 g_procMapping.emplace(MakeKey(RGBA_8888, RGBA_8888), &RGBA8888ConvertRGBA8888Alpha); in InitRGBAProc() 1002 g_procMapping.emplace(MakeKey(RGBA_8888, ARGB_8888), &RGBA8888ConvertARGB8888); in InitRGBAProc() 1003 g_procMapping.emplace(MakeKey(RGBA_8888, BGRA_8888), &RGBA8888ConvertBGRA8888); in InitRGBAProc() 1004 g_procMapping.emplace(MakeKey(RGBA_8888, RGB_565), &RGBA8888ConvertRGB565); in InitRGBAProc() 1006 g_procMapping.emplace(MakeKey(BGRA_8888, RGBA_8888), in InitRGBAProc() [all...] |
H A D | image_format_convert_ext_utils.cpp | 92 case PixelFormat::RGBA_8888:
in RGBToI420() 169 case PixelFormat::RGBA_8888:
in I420ToRGB() 198 case PixelFormat::RGBA_8888:
in CalcRGBStride() 1041 return RGBToI420ToI010ToP010(srcBuffer, rgbInfo, PixelFormat::RGBA_8888, destInfo, PixelFormat::YCBCR_P010);
in RGBAToNV12P010() 1047 return RGBToI420ToI010ToP010(srcBuffer, rgbInfo, PixelFormat::RGBA_8888, destInfo, PixelFormat::YCRCB_P010);
in RGBAToNV21P010() 1053 return RGBToI420ToI010ToP010(srcBuffer, rgbInfo, PixelFormat::RGBA_8888, destInfo, PixelFormat::YCBCR_P010);
in BGRAToNV12P010() 1059 return RGBToI420ToI010ToP010(srcBuffer, rgbInfo, PixelFormat::RGBA_8888, destInfo, PixelFormat::YCRCB_P010);
in BGRAToNV21P010() 1324 return RGBToI420ToYuv(srcBuffer, rgbInfo, PixelFormat::RGBA_8888, destInfo, PixelFormat::NV21);
in RGBAToNV21() 1331 return RGBToI420ToYuv(srcBuffer, rgbInfo, PixelFormat::RGBA_8888, destInfo, PixelFormat::NV12);
in RGBAToNV12() 1352 destInfo.format = PixelFormat::RGBA_8888;
in NV21ToRGBA() [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libwebpplugin/src/ |
H A D | webp_encoder.cpp | 157 case PixelFormat::RGBA_8888: { in CheckEncodeFormat() 158 IMAGE_LOGD("CheckEncodeFormat, RGBA_8888"); in CheckEncodeFormat() 202 if ((pixelFormat == PixelFormat::RGBA_8888) && (alphaType == AlphaType::IMAGE_ALPHA_TYPE_OPAQUE)) { in DoTransform() 204 } else if ((pixelFormat == PixelFormat::RGBA_8888) && (alphaType == AlphaType::IMAGE_ALPHA_TYPE_UNPREMUL)) { in DoTransform() 206 } else if ((pixelFormat == PixelFormat::RGBA_8888) && (alphaType == AlphaType::IMAGE_ALPHA_TYPE_PREMUL)) { in DoTransform() 435 PixelFormat::RGBA_8888, AlphaType::IMAGE_ALPHA_TYPE_OPAQUE); in DoTransformRGBX() 467 PixelFormat::RGBA_8888, AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in DoTransformRgbA() 472 PixelFormat::RGBA_8888, AlphaType::IMAGE_ALPHA_TYPE_UNPREMUL); in DoTransformRgbA() 536 PixelFormat::RGBA_8888, AlphaType::IMAGE_ALPHA_TYPE_UNPREMUL); in DoTransformBGRA() 568 PixelFormat::RGBA_8888, AlphaTyp in DoTransformBgrA() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | render_service_client_watermark_demo.cpp | 37 opts.pixelFormat = Media::PixelFormat::RGBA_8888; in main()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | color_converter_test.cpp | 100 * @tc.desc: RGB_565 to RGBA_8888. 115 dstImageInfo.pixelFormat = PixelFormat::RGBA_8888; in HWTEST_F() 511 * @tc.desc: ARGB_8888 to RGBA_8888 PREMUL to OPAQUE. 526 dstImageInfo.pixelFormat = PixelFormat::RGBA_8888; in HWTEST_F() 550 * @tc.desc: ARGB_8888 to RGBA_8888 PREMUL to UNPREMUL. 565 dstImageInfo.pixelFormat = PixelFormat::RGBA_8888; in HWTEST_F() 589 * @tc.desc: RGBA_8888 to ARGB_8888 PREMUL to OPAQUE. 600 srcImageInfo.pixelFormat = PixelFormat::RGBA_8888; in HWTEST_F() 628 * @tc.desc: RGBA_8888 to RGB_565 PREMUL to OPAQUE. 639 srcImageInfo.pixelFormat = PixelFormat::RGBA_8888; in HWTEST_F() [all...] |
H A D | pixel_convert_test.cpp | 542 * @tc.desc: RGB_888 to RGBA_8888 UNPREMUL to UNPREMUL. 558 dstImageInfo.pixelFormat = PixelFormat::RGBA_8888; in HWTEST_F() 702 * @tc.desc: BGR_888 to RGBA_8888 UNPREMUL to UNPREMUL. 718 dstImageInfo.pixelFormat = PixelFormat::RGBA_8888; in HWTEST_F() 862 * @tc.desc: RGB_161616 to RGBA_8888 UNPREMUL to UNPREMUL. 878 dstImageInfo.pixelFormat = PixelFormat::RGBA_8888; in HWTEST_F() 1022 * @tc.desc: RGB_565 to RGBA_8888 UNPREMUL to UNPREMUL. 1038 dstImageInfo.pixelFormat = PixelFormat::RGBA_8888; in HWTEST_F() 1062 * @tc.desc: RGB_565 to RGBA_8888 UNPREMUL to UNPREMUL. 1102 * @tc.desc: RGBA_8888 t [all...] |
H A D | image_format_convert_fail_test.cpp | 89 * @tc.desc: test YUV-Nv21 to RGBA_8888 with DMA_ALLOC 98 PixelFormat destFormat = PixelFormat::RGBA_8888; in HWTEST_F() 118 destInfo.format = PixelFormat::RGBA_8888; in HWTEST_F() 153 * @tc.desc: test YUV-Nv21 to RGBA_8888 null ptr 160 PixelFormat destFormat = PixelFormat::RGBA_8888; in HWTEST_F()
|
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/ |
H A D | image_converter.cpp | 34 case Media::PixelFormat::RGBA_8888: in PixelFormatToSkColorType() 93 case Media::PixelFormat::RGBA_8888:
|
H A D | image_source_preview.h | 34 RGBA_8888 = 3, member in OHOS::Media::PixelFormat
|
/foundation/multimedia/image_framework/plugins/manager/include/image/ |
H A D | abs_image_decoder.h | 63 OHOS::Media::PixelFormat pixelFormat = OHOS::Media::PixelFormat::RGBA_8888; 112 OHOS::Media::PixelFormat desiredPixelFormat = OHOS::Media::PixelFormat::RGBA_8888;
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/egl_image/src/ |
H A D | pixel_map_from_surface.cpp | 220 options.srcPixelFormat = PixelFormat::RGBA_8888; in Create() 221 options.pixelFormat = PixelFormat::RGBA_8888; in Create()
|
/foundation/multimedia/image_effect/test/unittest/mock/src/ |
H A D | mock_pixel_map.cpp | 26 constexpr PixelFormat PIXEL_FORMAT = PixelFormat::RGBA_8888;
|
/foundation/multimedia/player_framework/test/fuzztest/avmetadata_fuzztest/avmetadatafetchframeattime_fuzzer/ |
H A D | avmetadatafetchframeattime_fuzzer.cpp | 69 PixelFormat::RGBA_8888, in FuzzAVMetadataFetchFrameAtTime() member in OHOS::Media::PixelFormat
|
/foundation/distributedhardware/distributed_camera/services/data_process/include/utils/ |
H A D | image_common_type.h | 41 RGBA_8888 = 3, member in OHOS::DistributedHardware::Videoformat
|
/foundation/distributedhardware/distributed_camera/services/data_process/test/unittest/common/pipeline_node/ |
H A D | scale_convert_process_test.cpp | 250 imgBuf->SetInt32("Videoformat", static_cast<int32_t>(Videoformat::RGBA_8888)); in HWTEST_F() 390 colorFormat = Videoformat::RGBA_8888; in HWTEST_F() 414 colorFormat = Videoformat::RGBA_8888; in HWTEST_F() 447 Videoformat::RGBA_8888, 503 imgBuf->SetInt32("Videoformat", static_cast<int32_t>(Videoformat::RGBA_8888)); in HWTEST_F() 768 testScaleConvertProcess_->processedConfig_.SetVideoformat(Videoformat::RGBA_8888); in HWTEST_F()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imageyuvconvert_fuzzer/src/ |
H A D | image_yuv_convert_fuzzer.cpp | 437 PixelFormat destFormat = PixelFormat::RGBA_8888; in NV21ToRGBAFuzzTest001() 449 PixelFormat destFormat = PixelFormat::RGBA_8888; in NV21ToRGBAFuzzTest002() 585 PixelFormat destFormat = PixelFormat::RGBA_8888; in NV12ToRGBAFuzzTest001() 597 PixelFormat destFormat = PixelFormat::RGBA_8888; in NV12ToRGBAFuzzTest002() 892 PixelFormat destFormat = PixelFormat::RGBA_8888; in NV12P010ToRGBAFuzzTest003() 971 PixelFormat destFormat = PixelFormat::RGBA_8888; in NV21P010ToRGBAFuzzTest003() 1117 PixelFormat srcFormat = PixelFormat::RGBA_8888; in RGBAToNV12P010FuzzTest001() 1128 PixelFormat srcFormat = PixelFormat::RGBA_8888; in RGBAToNV12P010FuzzTest002() 1139 PixelFormat srcFormat = PixelFormat::RGBA_8888; in RGBAToNV21P010FuzzTest001() 1150 PixelFormat srcFormat = PixelFormat::RGBA_8888; in RGBAToNV21P010FuzzTest002() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/create_pixelmap_surface/src/ |
H A D | pixel_map_from_surface.cpp | 293 options.srcPixelFormat = PixelFormat::RGBA_8888; in CreatePixelMapForGL() 294 options.pixelFormat = PixelFormat::RGBA_8888; in CreatePixelMapForGL() 484 options.srcPixelFormat = PixelFormat::RGBA_8888; in CreateForVK() 485 options.pixelFormat = PixelFormat::RGBA_8888; in CreateForVK()
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | pixel_map_ohos.cpp | 30 case Media::PixelFormat::RGBA_8888: in PixelFormatConverter() 31 return PixelFormat::RGBA_8888; in PixelFormatConverter() 317 options.pixelFormat = Media::PixelFormat::RGBA_8888; in GetCropPixelMap()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libbmpplugin/src/ |
H A D | bmp_decoder.cpp | 366 case PixelFormat::RGBA_8888: { in ConvertToColorType() 367 outputFormat = PixelFormat::RGBA_8888; in ConvertToColorType() 394 outputFormat = PixelFormat::RGBA_8888; in ConvertToColorType()
|
/foundation/graphic/graphic_2d/rosen/modules/platform/image_native/ |
H A D | image_type.h | 103 RGBA_8888 = 3, member in OHOS::Media::PixelFormat
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/test_case/ |
H A D | test_common.cpp | 95 case OHOS::Media::PixelFormat::RGBA_8888: in PixelFormatToDrawingColorType()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_format_convert_mdk_kits.cpp | 52 case PixelFormat::RGBA_8888: in IsMatchType()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_type_converter.cpp | 48 {SkColorType::kRGBA_8888_SkColorType, PixelFormat::RGBA_8888,
49 "kRGBA_8888_SkColorType", "PixelFormat::RGBA_8888"},
|
/foundation/window/window_manager/test/common/utils/src/ |
H A D | common_test_utils.cpp | 38 opt.pixelFormat = Media::PixelFormat::RGBA_8888; in CreatePixelMap()
|