Home
last modified time | relevance | path

Searched refs:srcPixelFormat (Results 1 – 25 of 32) sorted by relevance

12

/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dscan_line_filter.cpp36 …eFilter::ScanlineFilter(const PixelFormat &srcPixelFormat) : srcBpp_(ImageUtils::GetPixelBytes(src… in ScanlineFilter() argument
39 void ScanlineFilter::SetSrcPixelFormat(const PixelFormat &srcPixelFormat) in SetSrcPixelFormat() argument
41 srcBpp_ = ImageUtils::GetPixelBytes(srcPixelFormat); in SetSrcPixelFormat()
H A Dimage_format_convert_utils.cpp211 srcInfo.pixelFormat = convertInfo.srcPixelFormat; in RGBAConvert()
255 convertInfo.srcPixelFormat = PixelFormat::RGBA_U16; in P010ToRGBA10101012SoftDecode()
456 convertInfo.srcPixelFormat = PixelFormat::RGBA_1010102; in RGB10ToYuv()
494 convertInfo.srcPixelFormat = PixelFormat::RGBA_1010102; in RGBA1010102ToP010SoftDecode()
574 convertInfo.srcPixelFormat = PixelFormat::RGB_888; in YUVToRGBA1010102SoftDecode()
H A Dpixel_convert.cpp1062 static ProcFuncType GetProcFuncType(uint32_t srcPixelFormat, uint32_t dstPixelFormat) in GetProcFuncType() argument
1073 string procKey = MakeKey(srcPixelFormat, dstPixelFormat); in GetProcFuncType()
1529 static bool IsInterYUVConvert(PixelFormat srcPixelFormat, PixelFormat dstPixelFormat) in IsInterYUVConvert() argument
1531 return (srcPixelFormat == PixelFormat::NV12 || srcPixelFormat == PixelFormat::NV21) && in IsInterYUVConvert()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/
H A Dscan_line_filter.h30 explicit ScanlineFilter(const PixelFormat &srcPixelFormat);
33 void SetSrcPixelFormat(const PixelFormat &srcPixelFormat);
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/pixelmap_ndk/
H A Dpixelmap_native.cpp62 PIXEL_FORMAT srcPixelFormat = PIXEL_FORMAT::PIXEL_FORMAT_BGRA_8888; member
249 *srcpixelFormat = static_cast<int32_t>(ops->srcPixelFormat); in OH_PixelmapInitializationOptions_GetSrcPixelFormat()
260 ops->srcPixelFormat = ParsePixelForamt(srcpixelFormat); in OH_PixelmapInitializationOptions_SetSrcPixelFormat()
411 info.srcPixelFormat = static_cast<PixelFormat>(options->srcPixelFormat); in OH_PixelmapNative_CreatePixelmap()
438 info.srcPixelFormat = static_cast<PixelFormat>(options->srcPixelFormat); in OH_PixelmapNative_CreateEmptyPixelmap()
647 PixelFormat srcPixelFormat = srcPixelMap->GetInnerPixelmap()->GetPixelFormat(); in ImageConvert_YuvToRgb() local
649 if (!IsMatchType(IMAGE_FORMAT::IMAGE_FORMAT_YUV_TYPE, srcPixelFormat) || in ImageConvert_YuvToRgb()
669 PixelFormat srcPixelFormat = srcPixelMap->GetInnerPixelmap()->GetPixelFormat(); in ImageConvert_RgbToYuv() local
671 if (!IsMatchType(IMAGE_FORMAT::IMAGE_FORMAT_RGB_TYPE, srcPixelFormat) || in ImageConvert_RgbToYuv()
693 if (IsMatchType(IMAGE_FORMAT::IMAGE_FORMAT_YUV_TYPE, srcPixelFormat)) { in OH_PixelMapNative_ConvertPixelFormat()
[all …]
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.50/
H A Dchangelogs-multimedia.md30 srcPixelFormat: image.PixelMapFormat.NV21,
51 srcPixelFormat: image.PixelMapFormat.NV21,
64 srcPixelFormat: image.PixelMapFormat.NV21,
70 srcPixelFormat: image.PixelMapFormat.NV21,
110 srcPixelFormat: image.PixelMapFormat.NV21,
123 srcPixelFormat: image.PixelMapFormat.NV21,
129 srcPixelFormat: image.PixelMapFormat.NV21,
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_format_convert_mdk_kits.cpp74 PixelFormat srcPixelFormat = args->srcPixelMap->GetPixelFormat(); in ImageConvertExec() local
75 if (!IsMatchType(args->srcFormatType, srcPixelFormat) || in ImageConvertExec()
/ohos5.0/docs/zh-cn/application-dev/media/camera/
H A Dcamera-dual-channel-preview.md79 srcPixelFormat: 8,
91 srcPixelFormat: 8,
124 size: { height: height, width: width }, srcPixelFormat: 8
133 size:{height: height, width: stride}, srcPixelFormat: 8});
281 srcPixelFormat: 8,
293 srcPixelFormat: 8,
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dscan_line_filter_test.cpp78 PixelFormat srcPixelFormat = PixelFormat::UNKNOWN; variable
79 scanlineFilter.SetSrcPixelFormat(srcPixelFormat);
H A Djpg_yuv_test.cpp632 opts.srcPixelFormat =outfmt; in YuvP010Crop()
674 opts.srcPixelFormat = outfmt; in YuvP010Rotate()
714 opts.srcPixelFormat = outfmt; in ScaleYuv420P010()
753 opts.srcPixelFormat = outfmt; in ResizeYuv420P010()
791 opts.srcPixelFormat = outfmt; in FlipYuv420P010()
834 opts.srcPixelFormat = outfmt; in TranslateYuv420P010()
872 opts.srcPixelFormat =outfmt; in RGBA1010102Crop()
912 opts.srcPixelFormat = outfmt; in RGBA1010102Rotate()
950 opts.srcPixelFormat = outfmt; in RGBA1010102Scale()
988 opts.srcPixelFormat = outfmt; in RGBA1010102Resize()
[all …]
H A Dimage_format_convert_test.cpp279 opts.srcPixelFormat = srcFormat; in YuvP010ConvertToRgb()
319 opts.srcPixelFormat = srcFormat; in Rgba1010102ConvertToYuvP010()
527 opts.srcPixelFormat = srcFormat; in PixelMapFormatConvert()
553 opts.srcPixelFormat = srcFormat; in PixelMap10bitConvert()
/ohos5.0/docs/zh-cn/application-dev/media/image/
H A Dimage-pixelmap-operation.md77 > 创建新PixelMap时,必须将`srcPixelFormat`指定为原PixelMap的像素格式,否则新PixelMap的图像会出现异常。
96 srcPixelFormat: imageInfo.pixelFormat,
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/
H A Dpixel_map_test.cpp199 options.srcPixelFormat = PixelFormat::UNKNOWN;
239 options.srcPixelFormat = PixelFormat::UNKNOWN;
247 options.srcPixelFormat = PixelFormat::RGB_565;
281 options.srcPixelFormat = PixelFormat::UNKNOWN;
321 options.srcPixelFormat = PixelFormat::UNKNOWN;
361 options.srcPixelFormat = PixelFormat::UNKNOWN;
369 options.srcPixelFormat = PixelFormat::RGB_888;
400 options.srcPixelFormat = PixelFormat::UNKNOWN;
493 options.srcPixelFormat = PixelFormat::NV21;
538 options.srcPixelFormat = PixelFormat::NV12;
[all …]
/ohos5.0/docs/en/application-dev/media/camera/
H A Dcamera-dual-channel-preview.md79 srcPixelFormat: 8,
91 srcPixelFormat: 8,
124 size: { height: height, width: width }, srcPixelFormat: 8
133 size:{height: height, width: stride}, srcPixelFormat: 8});
283 srcPixelFormat: 8,
295 srcPixelFormat: 8,
/ohos5.0/docs/en/application-dev/media/image/
H A Dimage-pixelmap-operation.md79 …> When creating a PixelMap, you must set **srcPixelFormat** to the pixel format of the original Pi…
98 srcPixelFormat: imageInfo.pixelFormat,
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/render/rspixelmapshader_fuzzer/
H A Drspixelmapshader_fuzzer.cpp64 …opts.srcPixelFormat = static_cast<Media::PixelFormat>(GetData<int32_t>() % 14); // Max Media::Pixe… in GetPixelMapFromData()
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/
H A Davmetadatahelper_impl.cpp259 .srcPixelFormat = PixelFormat::NV12, in OnCreatePixelMapSdr()
270 .srcPixelFormat = PixelFormat::YCBCR_P010, in OnCreatePixelMapHdr()
559 .srcPixelFormat = PixelFormat::NV12 }; in FetchFrameAtTime()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_map.cpp424 …format = ((opts.srcPixelFormat == PixelFormat::UNKNOWN) ? PixelFormat::BGRA_8888 : opts.srcPixelFo… in Create()
584 ….srcRowStride != 0 && opts.srcRowStride < width * ImageUtils::GetPixelBytes(opts.srcPixelFormat)) { in CheckParams()
586 opts.srcRowStride, width, ImageUtils::GetPixelBytes(opts.srcPixelFormat)); in CheckParams()
3254 PixelFormat srcPixelFormat = GetPixelFormat(); in CheckAlphaFormatInput() local
3256 int8_t srcAlphaIndex = GetAlphaIndex(srcPixelFormat); in CheckAlphaFormatInput()
3258 if (srcPixelFormat != dstPixelFormat || srcAlphaIndex == INVALID_ALPHA_INDEX || in CheckAlphaFormatInput()
3259 dstAlphaIndex == INVALID_ALPHA_INDEX || srcPixelFormat == PixelFormat::RGBA_F16 || in CheckAlphaFormatInput()
3262 … GetNamedPixelFormat(srcPixelFormat).c_str(), GetNamedPixelFormat(dstPixelFormat).c_str()); in CheckAlphaFormatInput()
3266 if ((srcPixelFormat == PixelFormat::ALPHA_8 && pixelBytes_ != ALPHA_BYTES) || in CheckAlphaFormatInput()
3288 PixelFormat srcPixelFormat = GetPixelFormat(); in ConvertAlphaFormat() local
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/egl_image/src/
H A Dpixel_map_from_surface.cpp220 options.srcPixelFormat = PixelFormat::RGBA_8888; in Create()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/
H A Drs_extended_modifier.cpp142 options.srcPixelFormat = Media::PixelFormat::RGBA_8888; in MakePiexlMapDrawCmdList()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/create_pixelmap_surface/src/
H A Dpixel_map_from_surface.cpp286 options.srcPixelFormat = PixelFormat::RGBA_8888; in CreatePixelMapForGL()
474 options.srcPixelFormat = PixelFormat::RGBA_8888; in CreateForVK()
/ohos5.0/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dimage_type.h236 PixelFormat srcPixelFormat = PixelFormat::UNKNOWN; member
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/
H A Ddeferred_photo_proxy_napi.cpp179 opts.srcPixelFormat = Media::PixelFormat::RGBA_8888; in DeferredPhotoAsyncTaskComplete()
H A Ddepth_data_output_napi.cpp86 opts.srcPixelFormat = Media::PixelFormat::RGBA_F16; in ExecuteDepthData()
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/effect/manager/colorspace_manager/
H A Dcolorspace_converter.cpp298 .srcPixelFormat = CommonUtils::SwitchToPixelFormat(bufferInfo->formatType_), in CreatePixelMap()

12