/foundation/graphic/graphic_3d/lume/LumeEngine/src/image/loaders/ |
H A D | image_loader_common.cpp | 162 constexpr IImageContainer::ImageDesc LibBaseImage::ResolveImageDesc(Format format, uint32_t imageWidth, in ResolveImageDesc() argument 174 uint32_t mipsize = (imageWidth > imageHeight) ? imageWidth : imageHeight; in ResolveImageDesc() 193 static_cast<uint32_t>(imageWidth), // width in ResolveImageDesc() 202 ImageLoaderManager::LoadResult LibBaseImage::CreateImage(LibBaseImagePtr imageBytes, uint32_t imageWidth, in CreateImage() argument 218 imageWidth, 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() 238 imageWidth, // uint32_t bufferRowLength in CreateImage() 244 static_cast<uint32_t>(imageWidth), in CreateImage() [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() 264 static_cast<uint32_t>(imageWidth), // width 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() 305 imageWidth, // uint32_t bufferRowLength in CreateImage() 311 static_cast<uint32_t>(imageWidth), 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, 73 static ImageLoaderManager::LoadResult CreateImage(LibBaseImagePtr imageBytes, uint32_t imageWidth,
|
/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_image.h | 33 const int imageWidth = 100; in GetWidth() local 34 return imageWidth; in GetWidth()
|
/foundation/graphic/graphic_2d/rosen/modules/graphics_effect/src/ |
H A D | ge_aibar_shader_filter.cpp | 48 float imageWidth = image->GetWidth();
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 | 63 float imageWidth = image->GetWidth(); 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() 503 float scaleW = static_cast<float>((dst.GetWidth() - offsetX_ - offsetZ_)) / (imageWidth > 0 ? imageWidth : 1); in BuildStretchMatrixFull() 516 int imageWidth, int imageHeight) const in BuildStretchMatrix() 519 float scaleW = static_cast<float>((imageWidth - offsetX_ - offsetZ_)) / (imageWidth > 0 ? imageWidth : 1); in BuildStretchMatrix() 499 BuildStretchMatrixFull(const Drawing::Rect& src, const Drawing::Rect& dst, int imageWidth, int imageHeight) const BuildStretchMatrixFull() argument 515 BuildStretchMatrix(const Drawing::Rect& src, int imageWidth, int imageHeight) const BuildStretchMatrix() argument
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/jpeg_yuv_decoder/ |
H A D | jpeg_yuvdata_converter.cpp | 128 uint32_t width = src.imageWidth; in VerifyParameter() 197 for (uint32_t j = 0; j < src.imageWidth; j++) { in I4xxToI420_c() 199 bool canUseNextColumn = ((j != src.imageWidth - 1) && (srcXScale < SAMPLE_FACTOR420)); in I4xxToI420_c() 203 bool canUseNextColumn = ((j != src.imageWidth - 1) && (srcXScale < SAMPLE_FACTOR420)); in I4xxToI420_c() 219 uint32_t width = src.imageWidth; in I444ToI420_wrapper() 235 uint32_t width = src.imageWidth; in I444ToNV21_wrapper() 251 uint32_t width = src.imageWidth; in I422ToI420_wrapper() 267 uint32_t width = src.imageWidth; in I422ToNV21_wrapper() 288 uint32_t width = src.imageWidth; in I420ToNV21_wrapper() 323 uint32_t width = src.imageWidth; in I400ToI420_wrapper() [all...] |
H A D | jpeg_decoder_yuv.cpp | 167 uint32_t JpegDecoderYuv::Get420OutPlaneWidth(YuvComponentIndex com, int imageWidth) in Get420OutPlaneWidth() argument 169 if (imageWidth == 0) { in Get420OutPlaneWidth() 173 return imageWidth; in Get420OutPlaneWidth() 175 return (imageWidth + 1) / AVERAGE_FACTOR; in Get420OutPlaneWidth() 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() 287 info.imageWidth in InitPlaneOutInfoTo420() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_fly_out_shader_filter.cpp | 125 int imageWidth = image->GetWidth();
in DrawImageRect() local 127 float width = imageWidth; // the width of two deformation part
in DrawImageRect() 131 Drawing::Point{ 0.0f, 0.0f }, Drawing::Point{ imageWidth, 0.0f },
in DrawImageRect() 132 Drawing::Point{ imageWidth, height }, Drawing::Point{ 0.0f, height } };
in DrawImageRect() 135 Drawing::Point{ 0.0f, height }, Drawing::Point{ imageWidth, height },
in DrawImageRect() 136 Drawing::Point{ imageWidth, imageHeight}, Drawing::Point{ 0.0f, imageHeight } };
in DrawImageRect()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | panel_view.cpp | 102 int16_t imageWidth, in SetImageInPanel() 110 image->SetWidth(imageWidth); 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 | 364 const int16_t imageWidth = 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 | 41 int imageWidth = image.GetWidth(); 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 | 33 uint32_t imageWidth = 0; member
|
H A D | jpeg_decoder_yuv.h | 114 static uint32_t Get420OutPlaneWidth(YuvComponentIndex com, int imageWidth); 116 static uint32_t Get420OutPlaneSize(YuvComponentIndex com, int imageWidth, int imageHeight);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_layout_algorithm.h | 129 const LayoutConstraintF& contentConstraint, LayoutWrapper* layoutWrapper, float imageWidth = 0.0f); 131 LayoutWrapper* layoutWrapper, float imageWidth); 187 float imageWidth);
|
H A D | text_field_layout_algorithm.cpp | 292 LayoutWrapper* layoutWrapper, float imageWidth) in PlaceHolderMeasureContent() 294 paragraph_->Layout(contentConstraint.maxSize.Width() - imageWidth); in PlaceHolderMeasureContent() 302 auto contentWidth = ConstraintWithMinWidth(contentConstraint, layoutWrapper, paragraph_, imageWidth); in PlaceHolderMeasureContent() 310 auto reviseContentWidth = contentWidth + imageWidth; in PlaceHolderMeasureContent() 361 LayoutWrapper* layoutWrapper, float imageWidth) in TextInputMeasureContent() 366 float contentWidth = CalculateContentWidth(contentConstraint, layoutWrapper, imageWidth); in TextInputMeasureContent() 373 LayoutWrapper* layoutWrapper, float imageWidth) in CalculateContentWidth() 375 auto contentWidth = contentConstraint.maxSize.Width() - imageWidth; in CalculateContentWidth() 410 contentWidth = std::min(contentConstraint.maxSize.Width() - imageWidth, in CalculateContentWidth() 412 contentConstraint.minSize.Width() - imageWidth)); in CalculateContentWidth() 291 PlaceHolderMeasureContent(const LayoutConstraintF& contentConstraint, LayoutWrapper* layoutWrapper, float imageWidth) PlaceHolderMeasureContent() argument 360 TextInputMeasureContent(const LayoutConstraintF& contentConstraint, LayoutWrapper* layoutWrapper, float imageWidth) TextInputMeasureContent() argument 372 CalculateContentWidth(const LayoutConstraintF& contentConstraint, LayoutWrapper* layoutWrapper, float imageWidth) CalculateContentWidth() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/graphics_effect/test/unittest/ |
H A D | ge_magnifier_shader_filter_test.cpp | 197 float imageWidth = image_->GetWidth(); in HWTEST_F() local 199 auto builder = filter->MakeMagnifierShader(imageShader, imageWidth, imageHeight); in HWTEST_F()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/ |
H A D | gif_decoder.cpp | 815 int32_t imageWidth = saveImagePtr->ImageDesc.Width; 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() 819 IMAGE_LOGE("[ParseFrameDetail]check frame size[%{public}d, %{public}d] failed", imageWidth, in ParseFrameDetail() 833 if (SetSavedImageRasterBits(saveImagePtr, frameIndex, imageSize, imageWidth, imageHeight) != SUCCESS) { in ParseFrameDetail() 842 int32_t imageWidth, int32_t imageHeight) in SetSavedImageRasterBits() 859 if (DGifGetLine(gifPtr_, saveImagePtr->RasterBits + j * imageWidth, imageWidth) == GIF_ERROR) { 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 | 101 int32_t imageWidth = 1920; in InsertPhoto() local 111 valuesBucket.PutInt(PhotoColumn::PHOTO_WIDTH, mediaType == MEDIA_TYPE_VIDEO ? videoWidth : imageWidth); in InsertPhoto()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_location_test/src/ |
H A D | medialibrary_location_test.cpp | 311 int32_t imageWidth = 1920; in InsertPhoto() local 319 valuesBucket.PutInt(PhotoColumn::PHOTO_WIDTH, imageWidth); in InsertPhoto()
|