/foundation/multimedia/image_effect/frameworks/native/utils/format/ |
H A D | format_helper.cpp | 49 FormatConverter{ IEffectFormat::RGBA8888, IEffectFormat::YUVNV12, ConvertRGBAToNV12 }, 50 FormatConverter{ IEffectFormat::RGBA8888, IEffectFormat::YUVNV21, ConvertRGBAToNV21 }, 51 FormatConverter{ IEffectFormat::YUVNV12, IEffectFormat::RGBA8888, ConvertNV12ToRGBA }, 52 FormatConverter{ IEffectFormat::YUVNV21, IEffectFormat::RGBA8888, ConvertNV21ToRGBA }, 56 IEffectFormat::RGBA8888, 67 case IEffectFormat::RGBA8888: in CalculateDataRowCount() 83 case IEffectFormat::RGBA8888: in CalculateRowStride()
|
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/ |
H A D | brightness_efilter.cpp | 41 { IEffectFormat::RGBA8888, CpuBrightnessAlgo::OnApplyRGBA8888 }, in BrightnessEFilter() 50 IEffectFormat::RGBA8888, in BrightnessEFilter() 142 info_->formats_.emplace(IEffectFormat::RGBA8888, std::vector<IPType>{ IPType::CPU, IPType::GPU }); in GetEffectInfo()
|
H A D | gpu_brightness_algo.cpp | 147 dst->bufferInfo_->formatType_ = IEffectFormat::RGBA8888; in OnApplyRGBA8888()
|
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/ |
H A D | contrast_efilter.cpp | 40 { IEffectFormat::RGBA8888, CpuContrastAlgo::OnApplyRGBA8888 }, in ContrastEFilter() 49 IEffectFormat::RGBA8888, in ContrastEFilter() 141 info_->formats_.emplace(IEffectFormat::RGBA8888, std::vector<IPType>{ IPType::CPU, IPType::GPU }); in GetEffectInfo()
|
H A D | gpu_contrast_algo.cpp | 148 dst->bufferInfo_->formatType_ = IEffectFormat::RGBA8888; in OnApplyRGBA8888()
|
/foundation/multimedia/image_effect/interfaces/inner_api/native/base/ |
H A D | effect_info.h | 34 RGBA8888, member in OHOS::Media::Effect::IEffectFormat
|
/foundation/multimedia/image_effect/frameworks/native/render_environment/ |
H A D | render_environment.cpp | 173 output->bufferInfo_->formatType_ = IEffectFormat::RGBA8888;
in GenMainTex() 234 if (source->bufferInfo_->formatType_ == IEffectFormat::RGBA8888) {
in DrawBufferToTexture() 396 if (output->bufferInfo_->formatType_ == IEffectFormat::RGBA8888) {
in ConvertTextureToBuffer() 429 out->bufferInfo_->formatType_ = IEffectFormat::RGBA8888;
in ConvertYUV2RGBA() 492 if (format == IEffectFormat::RGBA8888) {
in DrawSurfaceBufferFromTex() 512 if (format == IEffectFormat::RGBA8888) {
in DrawFlipSurfaceBufferFromTex() 536 if (format == IEffectFormat::RGBA8888) {
in DrawTexFromSurfaceBuffer()
|
H A D | render_environment.h | 192 IEffectFormat format = IEffectFormat::RGBA8888);
|
/foundation/multimedia/image_effect/test/unittest/ |
H A D | TestUtils.cpp | 318 ASSERT_TRUE(FormatHelper::IsSupportConvert(IEffectFormat::RGBA8888, IEffectFormat::YUVNV21)); in HWTEST_F() 320 std::shared_ptr<void> rgbaBuffer = AllocBuffer(FormatHelper::CalculateSize(WIDTH, HEIGHT, IEffectFormat::RGBA8888)); in HWTEST_F() 321 FormatConverterInfo rgbaConverterInfo = CreateConverterInfo(IEffectFormat::RGBA8888, rgbaBuffer.get(), in HWTEST_F() 349 ASSERT_EQ(formatType, IEffectFormat::RGBA8888); in HWTEST_F()
|
H A D | TestEffectMemoryManager.cpp | 31 constexpr IEffectFormat FORMATE_TYPE = IEffectFormat::RGBA8888;
|
H A D | TestRenderEnvironment.cpp | 30 constexpr IEffectFormat FORMATE_TYPE = IEffectFormat::RGBA8888; 235 IEffectFormat format = IEffectFormat::RGBA8888; in HWTEST_F()
|
H A D | image_effect_inner_unittest.cpp | 88 info->formatType_ = IEffectFormat::RGBA8888; in SetUp()
|
H A D | TestImageEffect.cpp | 77 info_->formats_.emplace(IEffectFormat::RGBA8888, std::vector<IPType>{ IPType::CPU });
|
H A D | native_image_effect_unittest.cpp | 84 effectInfo->formats_.emplace(IEffectFormat::RGBA8888, std::vector<IPType>{ IPType::GPU }); in GetEffectInfo() 117 effectInfo->formats_.emplace(IEffectFormat::RGBA8888, std::vector<IPType>{ IPType::CPU }); in GetEffectInfo()
|
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/crop/ |
H A D | crop_efilter.cpp | 124 CHECK_AND_RETURN_RET_LOG(format == IEffectFormat::RGBA8888 || format == IEffectFormat::RGBA_1010102, in Render() 204 CHECK_AND_RETURN_RET_LOG(format == IEffectFormat::RGBA8888 || format == IEffectFormat::RGBA_1010102, in Render() 233 info_->formats_.emplace(IEffectFormat::RGBA8888, std::vector<IPType>{ IPType::CPU }); in GetEffectInfo()
|
/foundation/multimedia/image_effect/frameworks/native/efilter/base/ |
H A D | efilter.cpp | 176 it = formats.find(IEffectFormat::RGBA8888); in IpTypeConvert() 202 .len_ = FormatHelper::CalculateSize(buffer->tex->Width(), buffer->tex->Height(), IEffectFormat::RGBA8888), in ConvertFromGPU2CPU() 203 .formatType_ = IEffectFormat::RGBA8888, in ConvertFromGPU2CPU() 406 if (src->bufferInfo_->formatType_ == IEffectFormat::RGBA8888) { in RenderWithGPU()
|
/foundation/multimedia/image_effect/frameworks/native/capi/ |
H A D | native_common_utils.cpp | 31 { IEffectFormat::RGBA8888, ImageEffect_Format::EFFECT_PIXEL_FORMAT_RGBA8888 }, 43 { "rgba_8888", static_cast<uint32_t>(IEffectFormat::RGBA8888) },
|
/foundation/multimedia/image_effect/frameworks/native/effect/manager/colorspace_manager/ |
H A D | colorspace_converter.cpp | 89 bufferInfo.formatType_ = IEffectFormat::RGBA8888; in AllocSdrSurfaceBuffer() 109 bufferInfo.formatType_ = IEffectFormat::RGBA8888; in AllocGainmapSurfaceBuffer()
|
/foundation/multimedia/image_effect/frameworks/native/utils/common/ |
H A D | common_utils.cpp | 47 { PixelFormat::RGBA_8888, IEffectFormat::RGBA8888 }, 54 { GraphicPixelFormat::GRAPHIC_PIXEL_FMT_RGBA_8888, IEffectFormat::RGBA8888},
|
/foundation/multimedia/image_effect/frameworks/native/effect/base/ |
H A D | image_effect_inner.cpp | 324 effectFormat = IEffectFormat::RGBA8888; in ChooseIPType()
|