/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/test/unittest/src/ |
H A D | avmetadata_unit_test.cpp | 61 struct PixelMapParams param = {-1, -1, PixelFormat::RGB_565}; in GetThumbnail() 387 struct PixelMapParams param = {-1, 316, PixelFormat::RGB_565}; in HWTEST_F() 392 param = {dstWidthMin - 1, 316, PixelFormat::RGB_565}; in HWTEST_F() 395 param = {dstWidthMin, 316, PixelFormat::RGB_565}; in HWTEST_F() 398 param = {dstWidthMax, 316, PixelFormat::RGB_565}; in HWTEST_F() 401 param = {dstWidthMax + 1, 316, PixelFormat::RGB_565}; in HWTEST_F() 404 param = {316, -1, PixelFormat::RGB_565}; in HWTEST_F() 407 param = {316, 0, PixelFormat::RGB_565}; in HWTEST_F() 410 param = {316, dstHeightMin - 1, PixelFormat::RGB_565}; in HWTEST_F() 413 param = {316, dstHeightMin, PixelFormat::RGB_565}; in HWTEST_F() [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | image_format_convert.cpp | 70 {std::make_pair(PixelFormat::RGB_565, PixelFormat::NV21), ImageFormatConvertUtils::RGB565ToNV21}, 71 {std::make_pair(PixelFormat::RGB_565, PixelFormat::NV12), ImageFormatConvertUtils::RGB565ToNV12}, 80 {std::make_pair(PixelFormat::RGB_565, PixelFormat::YCBCR_P010), ImageFormatConvertUtils::RGB565ToNV12P010}, 81 {std::make_pair(PixelFormat::RGB_565, PixelFormat::YCRCB_P010), ImageFormatConvertUtils::RGB565ToNV21P010}, 99 {std::make_pair(PixelFormat::RGB_565, PixelFormat::NV21), ImageFormatConvertExtUtils::RGB565ToNV21}, 100 {std::make_pair(PixelFormat::RGB_565, PixelFormat::NV12), ImageFormatConvertExtUtils::RGB565ToNV12}, 109 {std::make_pair(PixelFormat::RGB_565, PixelFormat::YCBCR_P010), ImageFormatConvertExtUtils::RGB565ToNV12P010}, 110 {std::make_pair(PixelFormat::RGB_565, PixelFormat::YCRCB_P010), ImageFormatConvertExtUtils::RGB565ToNV21P010}, 135 {std::make_pair(PixelFormat::NV12, PixelFormat::RGB_565), ImageFormatConvertUtils::NV12ToRGB565}, 141 {std::make_pair(PixelFormat::NV21, PixelFormat::RGB_565), ImageFormatConvertUtil [all...] |
H A D | pixel_convert.cpp | 966 g_procMapping.emplace(MakeKey(GRAY_BIT, RGB_565), &BitConvertRGB565); in InitGrayProc() 970 g_procMapping.emplace(MakeKey(ALPHA_8, RGB_565), &GrayConvertRGB565); in InitGrayProc() 981 g_procMapping.emplace(MakeKey(RGB_888, RGB_565), &RGB888ConvertRGB565); in InitRGBProc() 986 g_procMapping.emplace(MakeKey(BGR_888, RGB_565), &BGR888ConvertRGB565); in InitRGBProc() 992 g_procMapping.emplace(MakeKey(RGB_161616, RGB_565), &RGB161616ConvertRGB565); in InitRGBProc() 994 g_procMapping.emplace(MakeKey(RGB_565, ARGB_8888), &RGB565ConvertARGB8888); in InitRGBProc() 995 g_procMapping.emplace(MakeKey(RGB_565, RGBA_8888), &RGB565ConvertRGBA8888); in InitRGBProc() 996 g_procMapping.emplace(MakeKey(RGB_565, BGRA_8888), &RGB565ConvertBGRA8888); in InitRGBProc() 1004 g_procMapping.emplace(MakeKey(RGBA_8888, RGB_565), &RGBA8888ConvertRGB565); in InitRGBAProc() 1009 g_procMapping.emplace(MakeKey(BGRA_8888, RGB_565), in InitRGBAProc() [all...] |
H A D | image_format_convert_ext_utils.cpp | 88 case PixelFormat::RGB_565:
in RGBToI420() 173 case PixelFormat::RGB_565:
in I420ToRGB() 195 case PixelFormat::RGB_565:
in CalcRGBStride() 1029 return RGBToI420ToI010ToP010(srcBuffer, rgbInfo, PixelFormat::RGB_565, destInfo, PixelFormat::YCBCR_P010);
in RGB565ToNV12P010() 1035 return RGBToI420ToI010ToP010(srcBuffer, rgbInfo, PixelFormat::RGB_565, destInfo, PixelFormat::YCRCB_P010);
in RGB565ToNV21P010() 1296 return RGBToI420ToYuv(srcBuffer, rgbInfo, PixelFormat::RGB_565, destInfo, PixelFormat::NV21);
in RGB565ToNV21() 1303 return RGBToI420ToYuv(srcBuffer, rgbInfo, PixelFormat::RGB_565, destInfo, PixelFormat::NV12);
in RGB565ToNV12() 1382 destInfo.format = PixelFormat::RGB_565;
in NV21ToRGB565() 1390 destInfo.format = PixelFormat::RGB_565;
in NV12ToRGB565()
|
H A D | image_format_convert_utils.cpp | 860 return YuvP010ToRGB(srcBuffer, yDInfo, PixelFormat::YCBCR_P010, destInfo, PixelFormat::RGB_565); in NV12P010ToRGB565() 930 return YuvP010ToRGB(srcBuffer, yDInfo, PixelFormat::YCRCB_P010, destInfo, PixelFormat::RGB_565); in NV21P010ToRGB565() 1018 return RGBToYuvP010(srcBuffer, rgbInfo, PixelFormat::RGB_565, destInfo, PixelFormat::YCBCR_P010); in RGB565ToNV12P010() 1024 return RGBToYuvP010(srcBuffer, rgbInfo, PixelFormat::RGB_565, destInfo, PixelFormat::YCRCB_P010); in RGB565ToNV21P010() 1208 return YuvToRGB(srcBuffer, yDInfo, PixelFormat::NV12, destInfo, PixelFormat::RGB_565); in NV12ToRGB565() 1215 return YuvToRGB(srcBuffer, yDInfo, PixelFormat::NV21, destInfo, PixelFormat::RGB_565); in NV21ToRGB565() 1306 return RGBToYuv(srcBuffer, rgbInfo, PixelFormat::RGB_565, destInfo, PixelFormat::NV21); in RGB565ToNV21() 1313 return RGBToYuv(srcBuffer, rgbInfo, PixelFormat::RGB_565, destInfo, PixelFormat::NV12); in RGB565ToNV12()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | color_converter_test.cpp | 63 * @tc.desc: RGB_565 to ARGB_8888. 74 srcImageInfo.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() 100 * @tc.desc: RGB_565 to RGBA_8888. 111 srcImageInfo.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() 136 * @tc.desc: RGB_565 to BGRA_8888. 147 srcImageInfo.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() 422 dstImageInfo.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() 461 dstImageInfo.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() 496 srcImageInfo.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() 500 dstImageInfo.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() [all...] |
H A D | pixel_convert_adapter_test.cpp | 51 info.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() 64 dstInfo.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() 117 info.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() 130 dstInfo.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() 159 srcInfo.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() 187 info.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() 212 info.pixelFormat = PixelFormat::RGB_565; in HWTEST_F()
|
H A D | pixel_convert_test.cpp | 116 srcImageInfo.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() 140 srcImageInfo.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() 164 srcImageInfo.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() 262 * @tc.desc: GRAY_BIT to RGB_565 UNPREMUL to UNPREMUL. 278 dstImageInfo.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() 382 * @tc.desc: ALPHA_8 to RGB_565 UNPREMUL to UNPREMUL. 398 dstImageInfo.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() 638 dstImageInfo.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() 782 * @tc.desc: BGR_888 to RGB_565 UNPREMUL to UNPREMUL. 798 dstImageInfo.pixelFormat = PixelFormat::RGB_565; in HWTEST_F() [all...] |
H A D | image_format_convert_test.cpp | 104 case PixelFormat::RGB_565: in GetNamedPixelFormat() 105 return "RGB_565"; in GetNamedPixelFormat() 708 PixelFormat srcFormat = PixelFormat::RGB_565; in HWTEST_F() 718 PixelFormat srcFormat = PixelFormat::RGB_565; in HWTEST_F() 728 PixelFormat srcFormat = PixelFormat::RGB_565; in HWTEST_F() 738 PixelFormat srcFormat = PixelFormat::RGB_565; in HWTEST_F() 855 PixelFormat destFormat = PixelFormat::RGB_565; in HWTEST_F() 866 PixelFormat destFormat = PixelFormat::RGB_565; in HWTEST_F() 925 PixelFormat destFormat = PixelFormat::RGB_565; in HWTEST_F() 936 PixelFormat destFormat = PixelFormat::RGB_565; in HWTEST_F() [all...] |
/foundation/window/window_manager/snapshot/test/unittest/ |
H A D | snapshot_utils_test.cpp | 299 .format = Media::PixelFormat::RGB_565, in HWTEST_F() 316 .format = Media::PixelFormat::RGB_565, in HWTEST_F() 333 .format = Media::PixelFormat::RGB_565, in HWTEST_F() 431 .format = Media::PixelFormat::RGB_565, in HWTEST_F() 448 .format = Media::PixelFormat::RGB_565, in HWTEST_F()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imageyuvconvert_fuzzer/src/ |
H A D | image_yuv_convert_fuzzer.cpp | 310 PixelFormat srcFormat = PixelFormat::RGB_565; in RGB565ToNV12FuzzTest001() 321 PixelFormat srcFormat = PixelFormat::RGB_565; in RGB565ToNV12FuzzTest002() 332 PixelFormat srcFormat = PixelFormat::RGB_565; in RGB565ToNV21FuzzTest001() 343 PixelFormat srcFormat = PixelFormat::RGB_565; in RGB565ToNV21FuzzTest002() 485 PixelFormat destFormat = PixelFormat::RGB_565; in NV21ToRGB565FuzzTest001() 497 PixelFormat destFormat = PixelFormat::RGB_565; in NV21ToRGB565FuzzTest002() 561 PixelFormat destFormat = PixelFormat::RGB_565; in NV12ToRGB565FuzzTest001() 573 PixelFormat destFormat = PixelFormat::RGB_565; in NV12ToRGB565FuzzTest002() 881 PixelFormat destFormat = PixelFormat::RGB_565; in NV12P010ToRGB565FuzzTest003() 960 PixelFormat destFormat = PixelFormat::RGB_565; in NV21P010ToRGB565FuzzTest003() [all...] |
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/ |
H A D | image_converter.cpp | 35 case Media::PixelFormat::RGB_565: in PixelFormatToSkColorType() 94 case Media::PixelFormat::RGB_565:
|
H A D | image_source_preview.h | 33 RGB_565 = 2, member in OHOS::Media::PixelFormat
|
/foundation/multimedia/player_framework/test/fuzztest/avmetadata_fuzztest/avmetadatafetchframeattime_fuzzer/ |
H A D | avmetadatafetchframeattime_fuzzer.cpp | 68 PixelFormat::RGB_565, in FuzzAVMetadataFetchFrameAtTime() member in OHOS::Media::PixelFormat
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libwebpplugin/src/ |
H A D | webp_decoder.cpp | 109 if (opts.desiredPixelFormat == PixelFormat::RGB_565) { in SetDecodeOptions() 148 if (opts_.desiredPixelFormat == PixelFormat::RGB_565) { in Decode() 257 case PixelFormat::RGB_565: in GetWebpDecodeMode() 258 bytesPerPixel_ = 2; // RGB_565 2 bytes each pixel in GetWebpDecodeMode()
|
/foundation/graphic/graphic_2d/rosen/modules/platform/image_native/ |
H A D | image_type.h | 102 RGB_565 = 2, // Each pixel is stored on 2 bytes member in OHOS::Media::PixelFormat
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/test_case/ |
H A D | test_common.cpp | 93 case OHOS::Media::PixelFormat::RGB_565: in PixelFormatToDrawingColorType()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_format_convert_mdk_kits.cpp | 51 case PixelFormat::RGB_565: in IsMatchType()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_type_converter.cpp | 44 {SkColorType::kRGB_565_SkColorType, PixelFormat::RGB_565,
45 "kRGB_565_SkColorType", "PixelFormat::RGB_565"},
|
/foundation/multimedia/player_framework/interfaces/inner_api/native/ |
H A D | avmetadatahelper.h | 325 * RGB_565, RGB_888, RGBA_8888 are supported. 327 PixelFormat colorFormat = PixelFormat::RGB_565;
|
/foundation/multimedia/player_framework/services/include/ |
H A D | i_avmetadatahelper_service.h | 58 PixelFormat colorFormat = PixelFormat::RGB_565;
|
/foundation/arkui/ace_engine/frameworks/base/image/ |
H A D | pixel_map.h | 41 RGB_565 = 2, // Each pixel is stored on 2 bytes member in OHOS::Ace::PixelFormat
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/plugin_test/ |
H A D | webp_decoder_test.cpp | 227 opts.desiredPixelFormat = PixelFormat::RGB_565;
in HWTEST_F() 411 opts.desiredPixelFormat = PixelFormat::RGB_565;
in HWTEST_F() 506 PixelFormat pixelFormat = PixelFormat::RGB_565;
in HWTEST_F() 635 opts.desiredPixelFormat = PixelFormat::RGB_565;
in HWTEST_F()
|
/foundation/window/window_manager/snapshot/src/ |
H A D | snapshot_utils.cpp | 167 case Media::PixelFormat::RGB_565: in CheckParamValid() 297 } else if (param.format == Media::PixelFormat::RGB_565) { in WriteToJpeg() 340 } else if (param.format == Media::PixelFormat::RGB_565) { in WriteToJpeg()
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | pixel_map_ohos.cpp | 28 case Media::PixelFormat::RGB_565: in PixelFormatConverter() 29 return PixelFormat::RGB_565; in PixelFormatConverter()
|