/ohos5.0/docs/zh-cn/application-dev/media/camera/ |
H A D | native-camera-preview-imageReceiver.md | 49 Image_Size imgSize; 50 imgSize.width = 1080; // 创建预览流的宽 51 imgSize.height = 1080; // 创建预览流的高 53 errCode = OH_ImageReceiverOptions_SetSize(options, imgSize);
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/image/loaders/ |
H A D | image_loader_libjpeg.cpp | 145 …size_t imgSize = cinfo.output_width * cinfo.output_height * static_cast<uint32_t>(cinfo.output_com… in LoadFromMemory() local 146 if (imgSize < 1 || imgSize >= IMG_SIZE_LIMIT_2GB) { in LoadFromMemory() 155 uint16_t *buff = static_cast<uint16_t *>(malloc(imgSize * sizeof(uint16_t))); in LoadFromMemory() 167 uint8_t *buff = static_cast<uint8_t *>(malloc(imgSize * sizeof(uint8_t))); in LoadFromMemory()
|
H A D | image_loader_libpng.cpp | 109 size_t imgSize = info.width * info.height * info.componentCount; in LoadFromMemory() local 110 if (imgSize < 1 || imgSize >= IMG_SIZE_LIMIT_2GB) { in LoadFromMemory() 121 png_bytep buff = static_cast<png_bytep>(malloc(imgSize * sizeof(uint8_t))); in LoadFromMemory()
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/src/pipeline_node/scale_conversion/ |
H A D | scale_convert_process_common.cpp | 200 imgInfo.imgSize = imgBuf->Size(); in GetImageUnitInfo() 209 imgInfo.width, imgInfo.height, imgInfo.chromaOffset, imgInfo.imgSize); in GetImageUnitInfo() 231 … srcImgInfo.alignedWidth, srcImgInfo.alignedHeight, srcImgInfo.chromaOffset, srcImgInfo.imgSize); in CheckScaleConvertInfo() 238 … dstImgInfo.alignedWidth, dstImgInfo.alignedHeight, dstImgInfo.chromaOffset, dstImgInfo.imgSize); in CheckScaleConvertInfo() 259 imgInfo.imgSize >= expectedImgSize && imgInfo.chromaOffset == expectedChromaOffset); in IsCorrectImageUnitInfo() 303 … int32_t ret = memcpy_s(dstImgInfo.imgData->Data(), dstImgInfo.imgSize, dstData_[0], dstBuffSize_); in ScaleConvert()
|
H A D | scale_convert_process.cpp | 172 imgInfo.imgSize = imgBuf->Size(); in GetImageUnitInfo() 178 imgInfo.width, imgInfo.height, imgInfo.chromaOffset, imgInfo.imgSize); in GetImageUnitInfo() 200 … srcImgInfo.alignedWidth, srcImgInfo.alignedHeight, srcImgInfo.chromaOffset, srcImgInfo.imgSize); in CheckScaleConvertInfo() 207 … dstImgInfo.alignedWidth, dstImgInfo.alignedHeight, dstImgInfo.chromaOffset, dstImgInfo.imgSize); in CheckScaleConvertInfo() 229 imgInfo.imgSize >= expectedImgSize && imgInfo.chromaOffset == expectedChromaOffset); in IsCorrectImageUnitInfo() 309 srcImgInfo.imgSize = dstBuf->Size(); in ConvertResolution()
|
/ohos5.0/docs/zh-cn/application-dev/media/image/ |
H A D | image-info-c.md | 46 Image_Size imgSize; 47 imgSize.width = IMAGE_WIDTH; 48 imgSize.height = IMAGE_HEIGHT; 51 errCode = OH_ImageReceiverOptions_SetSize(options, imgSize);
|
H A D | image-receiver-c.md | 74 Image_Size imgSize; 75 imgSize.width = IMAGE_WIDTH; 76 imgSize.height = IMAGE_HEIGHT; 79 errCode = OH_ImageReceiverOptions_SetSize(options, imgSize);
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/ |
H A D | png_exif_metadata_accessor.cpp | 130 const size_t imgSize = static_cast<size_t>(imageStream_->GetSize()); in ReadBlob() local 139 if (chunkLength > imgSize - imageStream_->Tell()) { in ReadBlob() 260 const size_t imgSize = static_cast<size_t>(imageStream_->GetSize()); in UpdateExifMetadata() local 274 if (chunkLength > imgSize - imageStream_->Tell()) { in UpdateExifMetadata()
|
H A D | webp_exif_metadata_accessor.cpp | 115 const size_t imgSize = static_cast<size_t>(imageStream_->GetSize()); in ReadBlob() local 116 if (size > imgSize - imageStream_->Tell()) { in ReadBlob() 304 const ssize_t imgSize = imageStream_->GetSize(); in UpdateExifMetadata() local 305 if (chunkSize > imgSize - imageStream_->Tell()) { in UpdateExifMetadata() 372 const ssize_t imgSize = imageStream_->GetSize(); in GetImageWidthAndHeight() local 373 if (size > imgSize - imageStream_->Tell()) { in GetImageWidthAndHeight()
|
/ohos5.0/docs/en/application-dev/media/camera/ |
H A D | native-camera-preview-imageReceiver.md | 49 Image_Size imgSize; 50 imgSize.width = 1080; // Width of the created preview stream. 51 imgSize.height = 1080; // Height of the created preview stream. 53 errCode = OH_ImageReceiverOptions_SetSize(options, imgSize);
|
/ohos5.0/docs/en/application-dev/media/image/ |
H A D | image-info-c.md | 46 Image_Size imgSize; 47 imgSize.width = IMAGE_WIDTH; 48 imgSize.height = IMAGE_HEIGHT; 51 errCode = OH_ImageReceiverOptions_SetSize(options, imgSize);
|
H A D | image-receiver-c.md | 74 Image_Size imgSize; 75 imgSize.width = IMAGE_WIDTH; 76 imgSize.height = IMAGE_HEIGHT; 79 errCode = OH_ImageReceiverOptions_SetSize(options, imgSize);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_compressor.cpp | 279 void ImageCompressor::WriteToFile(std::string srcKey, sk_sp<SkData> compressedData, Size imgSize) argument 281 …geCompressor::WriteToFile(std::string srcKey, std::shared_ptr<RSData> compressedData, Size imgSize) 289 [srcKey, compressedData, imgSize]() { 291 uint32_t xsize = static_cast<uint32_t>(imgSize.Width()); 292 uint32_t ysize = static_cast<uint32_t>(imgSize.Height());
|
/ohos5.0/base/startup/init/interfaces/innerkits/fs_manager/erofs_overlay/ |
H A D | erofs_mount_overlay.c | 207 uint64_t imgSize = GetImgSize(dev, *start); in GetMapperAddr() local 208 if (imgSize > 0) { in GetMapperAddr() 209 *start = AlignTo(imgSize, ALIGN_BLOCK_SIZE); in GetMapperAddr()
|
/ohos5.0/foundation/multimedia/av_codec/frameworks/native/avcodeclist/ |
H A D | avcodec_info.cpp | 484 ImgSize VideoCaps::MatchClosestSize(const ImgSize &imgSize) in MatchClosestSize() argument 487 … DivCeil(imgSize.width, blockWidth_) * static_cast<int64_t>(DivCeil(imgSize.height, blockHeight_)); in MatchClosestSize() 501 … data_->codecName.c_str(), imgSize.width, imgSize.height, closestSize.width, closestSize.height); in MatchClosestSize()
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/include/utils/ |
H A D | image_common_type.h | 80 size_t imgSize; member
|
/ohos5.0/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
H A D | avcodec_info.h | 483 ImgSize MatchClosestSize(const ImgSize &imgSize);
|