/foundation/graphic/graphic_3d/lume/LumeEngine/src/image/loaders/ |
H A D | image_loader_common.cpp | 163 uint32_t imageHeight, uint32_t bitsPerPixel, bool generateMips, bool isPremultiplied) in ResolveImageDesc() 174 uint32_t mipsize = (imageWidth > imageHeight) ? imageWidth : imageHeight; in ResolveImageDesc() 194 static_cast<uint32_t>(imageHeight), // height in ResolveImageDesc() 203 uint32_t imageHeight, uint32_t componentCount, uint32_t loadFlags, bool is16bpc) in CreateImage() 219 imageHeight, in CreateImage() 232 image->imageDesc_ = ResolveImageDesc(format, imageWidth, imageHeight, bitsPerPixel, generateMips, isPremultiplied); in CreateImage() 234 image->imageBytesLength_ = static_cast<size_t>(imageWidth * imageHeight * componentCount * bytesPerComponent); in CreateImage() 239 imageHeight, // uint32_t bufferImageHeight in CreateImage() 245 static_cast<uint32_t>(imageHeight), in CreateImage() 162 ResolveImageDesc(Format format, uint32_t imageWidth, uint32_t imageHeight, uint32_t bitsPerPixel, bool generateMips, bool isPremultiplied) ResolveImageDesc() argument 202 CreateImage(LibBaseImagePtr imageBytes, uint32_t imageWidth, uint32_t imageHeight, uint32_t componentCount, uint32_t loadFlags, bool is16bpc) CreateImage() argument [all...] |
H A D | image_loader_stb_image.cpp | 233 constexpr static ImageDesc ResolveImageDesc(Format format, uint32_t imageWidth, uint32_t imageHeight, in ResolveImageDesc() argument 245 uint32_t mipsize = (imageWidth > imageHeight) ? imageWidth : imageHeight; in ResolveImageDesc() 265 static_cast<uint32_t>(imageHeight), // height in ResolveImageDesc() 273 static ImageLoaderManager::LoadResult CreateImage(StbImagePtr imageBytes, uint32_t imageWidth, uint32_t imageHeight, in CreateImage() argument 287 isPremultiplied = PremultiplyAlpha(static_cast<uint8_t*>(imageBytes.get()), imageWidth, imageHeight, in CreateImage() 299 ResolveImageDesc(format, imageWidth, imageHeight, bitsPerPixel, generateMips, isPremultiplied); in CreateImage() 301 image->imageBytesLength_ = imageWidth * imageHeight * componentCount * bytesPerComponent; in CreateImage() 306 imageHeight, // uint32_t bufferImageHeight in CreateImage() 312 static_cast<uint32_t>(imageHeight), in CreateImage() [all...] |
H A D | image_loader_common.h | 70 constexpr static ImageDesc ResolveImageDesc(BASE_NS::Format format, uint32_t imageWidth, uint32_t imageHeight, 74 uint32_t imageHeight, uint32_t componentCount, uint32_t loadFlags, bool is16bpc);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_fly_out_shader_filter.cpp | 126 int imageHeight = image->GetHeight();
in DrawImageRect() local 128 float height = imageHeight / 2.0; // the height of two deformation part
in DrawImageRect() 136 Drawing::Point{ imageWidth, imageHeight}, Drawing::Point{ 0.0f, imageHeight } };
in DrawImageRect() 162 Drawing::Point{width, imageHeight}, Drawing::Point{segmentWidthTwo, imageHeight},
in DrawImageRect() 163 Drawing::Point{segmentWidthOne, imageHeight}, Drawing::Point{0.0f, imageHeight},
in DrawImageRect() 169 CalculateDeformation(flyUp, flyDown, width, imageHeight);
in DrawImageRect()
|
/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_image.h | 39 const int imageHeight = 100; in GetHeight() local 40 return imageHeight; in GetHeight()
|
/foundation/graphic/graphic_2d/rosen/modules/graphics_effect/src/ |
H A D | ge_aibar_shader_filter.cpp | 49 float imageHeight = image->GetHeight();
in ProcessImage() local 50 auto builder = MakeBinarizationShader(imageWidth, imageHeight, imageShader);
in ProcessImage() 61 float imageWidth, float imageHeight, std::shared_ptr<Drawing::ShaderEffect> imageShader)
in MakeBinarizationShader() 60 MakeBinarizationShader( float imageWidth, float imageHeight, std::shared_ptr<Drawing::ShaderEffect> imageShader) MakeBinarizationShader() argument
|
H A D | ge_magnifier_shader_filter.cpp | 64 float imageHeight = image->GetHeight(); in ProcessImage() local 65 auto builder = MakeMagnifierShader(imageShader, imageWidth, imageHeight); in ProcessImage() 84 std::shared_ptr<Drawing::ShaderEffect> imageShader, float imageWidth, float imageHeight) in MakeMagnifierShader() 99 builder->SetUniform("iResolution", imageWidth, imageHeight); in MakeMagnifierShader() 83 MakeMagnifierShader( std::shared_ptr<Drawing::ShaderEffect> imageShader, float imageWidth, float imageHeight) MakeMagnifierShader() argument
|
H A D | ge_mesa_blur_shader_filter.cpp | 500 const Drawing::Rect& dst, int imageWidth, int imageHeight) const in BuildStretchMatrixFull() 504 float scaleH = static_cast<float>((dst.GetHeight() - offsetY_ - offsetW_)) / (imageHeight > 0 ? imageHeight : 1); in BuildStretchMatrixFull() 516 int imageWidth, int imageHeight) const in BuildStretchMatrix() 520 float scaleH = static_cast<float>((imageHeight - offsetY_ - offsetW_)) / (imageHeight > 0 ? imageHeight : 1); in BuildStretchMatrix()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/jpeg_yuv_decoder/ |
H A D | jpeg_yuvdata_converter.cpp | 129 uint32_t height = src.imageHeight; in VerifyParameter() 144 uint32_t height = src.imageHeight; in CopyYData() 176 for (uint32_t k = 0; k < src.imageHeight; k += SAMPLE_FACTOR420) { in I4xxToI420_c() 220 uint32_t height = src.imageHeight; in I444ToI420_wrapper() 236 uint32_t height = src.imageHeight; in I444ToNV21_wrapper() 252 uint32_t height = src.imageHeight; in I422ToI420_wrapper() 268 uint32_t height = src.imageHeight; in I422ToNV21_wrapper() 289 uint32_t height = src.imageHeight; in I420ToNV21_wrapper() 324 uint32_t height = src.imageHeight; in I400ToI420_wrapper()
|
H A D | jpeg_decoder_yuv.cpp | 179 uint32_t JpegDecoderYuv::Get420OutPlaneHeight(YuvComponentIndex com, int imageHeight) in Get420OutPlaneHeight() argument 181 if (imageHeight == 0) { in Get420OutPlaneHeight() 185 return imageHeight; in Get420OutPlaneHeight() 187 return (imageHeight + 1) / AVERAGE_FACTOR; in Get420OutPlaneHeight() 191 uint32_t JpegDecoderYuv::Get420OutPlaneSize(YuvComponentIndex com, int imageWidth, int imageHeight) in Get420OutPlaneSize() argument 193 if (imageWidth == 0 || imageHeight == 0) { in Get420OutPlaneSize() 197 uint32_t size = Get420OutPlaneSize(UCOM, imageWidth, imageHeight); in Get420OutPlaneSize() 198 size += Get420OutPlaneSize(VCOM, imageWidth, imageHeight); in Get420OutPlaneSize() 201 return Get420OutPlaneWidth(com, imageWidth) * Get420OutPlaneHeight(com, imageHeight); in Get420OutPlaneSize() 288 info.imageHeight in InitPlaneOutInfoTo420() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | panel_view.cpp | 103 int16_t imageHeight, in SetImageInPanel() 111 image->SetHeight(imageHeight); in SetImageInPanel() 100 SetImageInPanel( UIImageView *image, int16_t imageWidth, int16_t imageHeight, const ImageInfo* imageSrc) SetImageInPanel() argument
|
H A D | panel_view.h | 55 void SetImageInPanel(UIImageView* image, int16_t imageWidth, int16_t imageHeight, const ImageInfo* imageSrc);
|
H A D | video_view.cpp | 365 const int16_t imageHeight = 48;
in SetVideoPanel() local 379 panelView_->SetImageInPanel(playImage, imageWidth, imageHeight, GetVideoPlayImageOnInfo());
in SetVideoPanel() 389 panelView_->SetImageInPanel(mutedImage, imageWidth, imageHeight, GetVideoMutedImageOffInfo());
in SetVideoPanel()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/ |
H A D | image_test.cpp | 42 int imageHeight = image.GetHeight(); in TestDrawImage() local 43 LOGI("image width = %{public}d, image height = %{public}d", imageWidth, imageHeight); in TestDrawImage()
|
/foundation/graphic/graphic_2d/rosen/modules/graphics_effect/include/ |
H A D | ge_aibar_shader_filter.h | 46 float imageWidth, float imageHeight, std::shared_ptr<Drawing::ShaderEffect> imageShader);
|
H A D | ge_magnifier_shader_filter.h | 70 std::shared_ptr<Drawing::ShaderEffect> imageShader, float imageWidth, float imageHeight);
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/jpeg_yuv_decoder/ |
H A D | jpeg_yuvdata_converter.h | 34 uint32_t imageHeight = 0; member
|
H A D | jpeg_decoder_yuv.h | 115 static uint32_t Get420OutPlaneHeight(YuvComponentIndex com, int imageHeight); 116 static uint32_t Get420OutPlaneSize(YuvComponentIndex com, int imageWidth, int imageHeight);
|
/foundation/graphic/graphic_2d/rosen/modules/graphics_effect/test/unittest/ |
H A D | ge_magnifier_shader_filter_test.cpp | 198 float imageHeight = image_->GetHeight(); in HWTEST_F() local 199 auto builder = filter->MakeMagnifierShader(imageShader, imageWidth, imageHeight); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/ |
H A D | search_layout_algorithm.cpp | 66 auto imageHeight = static_cast<float>(std::min(layoutProperty->HasCancelButtonUDSize() ? in CancelImageMeasure() local 70 imageHeight = CalcSymbolIconHeight(layoutWrapper, CANCEL_IMAGE_INDEX, defaultImageHeight); in CancelImageMeasure() 73 imageCalcSize.SetWidth(CalcLength(imageHeight)); in CancelImageMeasure() 74 imageCalcSize.SetHeight(CalcLength(imageHeight)); in CancelImageMeasure() 231 auto imageHeight = static_cast<float>(std::min(layoutProperty->HasSearchIconUDSize() ? in ImageMeasure() local 235 imageHeight = CalcSymbolIconHeight(layoutWrapper, IMAGE_INDEX, defaultImageHeight); in ImageMeasure() 238 imageCalcSize.SetWidth(CalcLength(imageHeight)); in ImageMeasure() 239 imageCalcSize.SetHeight(CalcLength(imageHeight)); in ImageMeasure()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/ |
H A D | gif_decoder.cpp | 816 int32_t imageHeight = saveImagePtr->ImageDesc.Height; in ParseFrameDetail() local 817 uint64_t imageSize = static_cast<uint64_t>(imageWidth * imageHeight); in ParseFrameDetail() 818 if (imageWidth <= 0 || imageHeight <= 0 || imageSize > SIZE_MAX) { in ParseFrameDetail() 820 imageHeight); in ParseFrameDetail() 833 if (SetSavedImageRasterBits(saveImagePtr, frameIndex, imageSize, imageWidth, imageHeight) != SUCCESS) { in ParseFrameDetail() 842 int32_t imageWidth, int32_t imageHeight) in SetSavedImageRasterBits() 858 for (int32_t j = INTERLACED_OFFSET[i]; j < imageHeight; j += INTERLACED_INTERVAL[i]) { in SetSavedImageRasterBits() 841 SetSavedImageRasterBits(SavedImage *saveImagePtr, int32_t frameIndex, uint64_t imageSize, int32_t imageWidth, int32_t imageHeight) SetSavedImageRasterBits() argument
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/include/ |
H A D | gif_decoder.h | 76 int32_t imageWidth, int32_t imageHeight);
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/background_cloud_file_processor_test/src/ |
H A D | background_cloud_file_processor_test.cpp | 103 int32_t imageHeight = 1080; in InsertPhoto() local 112 valuesBucket.PutInt(PhotoColumn::PHOTO_HEIGHT, mediaType == MEDIA_TYPE_VIDEO ? videoHeight : imageHeight); in InsertPhoto()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_location_test/src/ |
H A D | medialibrary_location_test.cpp | 312 int32_t imageHeight = 1080; in InsertPhoto() local 320 valuesBucket.PutInt(PhotoColumn::PHOTO_HEIGHT, imageHeight); in InsertPhoto()
|
/foundation/arkui/ace_engine/advanced_ui_component/tabtitlebar/interfaces/ |
H A D | tabtitlebar.js | 798 this.__imageHeight = new ObservedPropertySimplePU(24, this, 'imageHeight'); 833 if (j3.imageHeight !== undefined) { 834 this.imageHeight = j3.imageHeight; 896 get imageHeight() { 899 set imageHeight(a3) { 930 return TabContentItem.imageSize / Math.max(this.imageHeight, 1.0) * this.imageWidth; 1064 this.imageHeight = px2vp(h2?.height);
|