Home
last modified time | relevance | path

Searched refs:imgSize (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/media/camera/
H A Dnative-camera-preview-imageReceiver.md49 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 Dimage_loader_libjpeg.cpp145 …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 Dimage_loader_libpng.cpp109 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 Dscale_convert_process_common.cpp200 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 Dscale_convert_process.cpp172 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 Dimage-info-c.md46 Image_Size imgSize;
47 imgSize.width = IMAGE_WIDTH;
48 imgSize.height = IMAGE_HEIGHT;
51 errCode = OH_ImageReceiverOptions_SetSize(options, imgSize);
H A Dimage-receiver-c.md74 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 Dpng_exif_metadata_accessor.cpp130 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 Dwebp_exif_metadata_accessor.cpp115 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 Dnative-camera-preview-imageReceiver.md49 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 Dimage-info-c.md46 Image_Size imgSize;
47 imgSize.width = IMAGE_WIDTH;
48 imgSize.height = IMAGE_HEIGHT;
51 errCode = OH_ImageReceiverOptions_SetSize(options, imgSize);
H A Dimage-receiver-c.md74 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 Dimage_compressor.cpp279 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 Derofs_mount_overlay.c207 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 Davcodec_info.cpp484 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 Dimage_common_type.h80 size_t imgSize; member
/ohos5.0/foundation/multimedia/av_codec/interfaces/inner_api/native/
H A Davcodec_info.h483 ImgSize MatchClosestSize(const ImgSize &imgSize);