Home
last modified time | relevance | path

Searched refs:supportedFormats (Results 1 - 8 of 8) sorted by relevance

/foundation/multimedia/image_effect/frameworks/native/capi/
H A Dnative_common_utils.cpp170 ohFilterInfo->supportedFormats.clear(); in SwitchToOHEffectInfo()
183 ohFilterInfo->supportedFormats.emplace(ohFormatType); in SwitchToOHEffectInfo()
237 effectInfo->supportedFormats.find(ohFormatType) != effectInfo->supportedFormats.end(); in IsMatchLookupCondition()
292 info->supportedFormats.find(ohFormat) != info->supportedFormats.end()) { in SwitchToEffectInfo()
310 uint32_t supportedFormats = 0; in GetSupportedFormats() local
311 auto formatBitLen = sizeof(supportedFormats); in GetSupportedFormats()
312 for (auto format : ohFilterInfo->supportedFormats) { in GetSupportedFormats()
316 supportedFormats | in GetSupportedFormats()
[all...]
H A Dimage_effect_filter.cpp344 info->supportedFormats.clear(); in OH_EffectFilterInfo_SetSupportedFormats()
346 info->supportedFormats.emplace(formatArray[index]); in OH_EffectFilterInfo_SetSupportedFormats()
362 if (info->supportedFormats.empty()) { in OH_EffectFilterInfo_GetSupportedFormats()
368 auto formatsRealSize = static_cast<uint32_t>(info->supportedFormats.size()); in OH_EffectFilterInfo_GetSupportedFormats()
382 for (const auto &format : info->supportedFormats) { in OH_EffectFilterInfo_GetSupportedFormats()
384 EFFECT_LOGW("supportedFormats size over formatArraySize! supportedFormatsSize=%{public}zu, " in OH_EffectFilterInfo_GetSupportedFormats()
385 "formatArraySize=%{public}d", info->supportedFormats.size(), info->formatArraySize); in OH_EffectFilterInfo_GetSupportedFormats()
657 .supportedFormats = NativeCommonUtils::GetSupportedFormats(info), in OH_EffectFilter_Register()
H A Dnative_effect_base.h63 std::unordered_set<ImageEffect_Format> supportedFormats; member
/foundation/multimedia/image_effect/frameworks/native/utils/dfx/
H A Devent_report.h50 uint32_t supportedFormats = 0; member
H A Devent_report.cpp126 .v = { .ui32 = eventInfo.supportedFormats }, in ReportRegisterCustomFilterEvent()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_texture.cpp537 static std::vector<GLenum> supportedFormats = { GL_RED, GL_RED_INTEGER, GL_RG, GL_RG_INTEGER, GL_RGB, in GetSupportedFormats() local
540 supportedFormats.emplace_back(GL_LUMINANCE_ALPHA); in GetSupportedFormats()
541 supportedFormats.emplace_back(GL_LUMINANCE); in GetSupportedFormats()
542 supportedFormats.emplace_back(GL_ALPHA); in GetSupportedFormats()
543 return supportedFormats; in GetSupportedFormats()
/foundation/multimedia/image_effect/test/unittest/
H A DTestUtils.cpp405 ASSERT_EQ(ohFilterInfo->supportedFormats.size(), 1); in HWTEST_F()
406 ASSERT_EQ(*(ohFilterInfo->supportedFormats.begin()), ImageEffect_Format::EFFECT_PIXEL_FORMAT_UNKNOWN); in HWTEST_F()
416 ohFilterInfo->supportedFormats.emplace(ImageEffect_Format::EFFECT_PIXEL_FORMAT_YCRCB_P010); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_base_render_util.cpp485 static std::unordered_set<GraphicPixelFormat> supportedFormats = {
497 supportedFormats.count(static_cast<GraphicPixelFormat>(pixelFormat)) > 0;

Completed in 8 milliseconds