Home
last modified time | relevance | path

Searched refs:ImageSource (Results 1 – 25 of 235) sorted by relevance

12345678910

/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/mock/
H A Dmock_image_source.cpp65 std::unique_ptr<ImageSource> ImageSource::CreateImageSource(std::unique_ptr<std::istream> is, in CreateImageSource()
71 std::unique_ptr<ImageSource> ImageSource::CreateImageSource(const uint8_t *data, uint32_t size, in CreateImageSource()
78 ImageSource *sourcePtr = new (std::nothrow) ImageSource(std::move(stream), opts); in CreateImageSource()
91 ImageSource *sourcePtr = new (std::nothrow) ImageSource(std::move(stream), opts); in CreateImageSource()
97 std::unique_ptr<ImageSource> ImageSource::CreateImageSource(const int fd, const SourceOptions &opts, in CreateImageSource()
109 void ImageSource::Reset() in Reset()
202 ImageSource::~ImageSource() in ~ImageSource()
205 bool ImageSource::IsStreamCompleted() in IsStreamCompleted()
210 ImageSource::ImageSource(std::unique_ptr<SourceStream> &&stream, const SourceOptions &opts) in ImageSource() function in OHOS::Media::ImageSource
213 ImageSource::FormatAgentMap ImageSource::InitClass() in InitClass()
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dimage_source_test.cpp154 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(data, size, opts, errorC…
175 …std::unique_ptr<ImageSource> creimagesource = ImageSource::CreateImageSource(buffer, size, opts, e…
240 std::unique_ptr<ImageSource> img = ImageSource::CreateIncrementalImageSource(opts, errorCode);
253 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateIncrementalImageSource(incOpts, erro…
302 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateIncrementalImageSource(incOpts, erro…
318 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateIncrementalImageSource(incOpts, erro…
342 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateIncrementalImageSource(incOpts, erro…
836 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(buffer, size, opts, erro…
853 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(buffer, size, opts, erro…
1142 std::unique_ptr<ImageSource> ret = ImageSource::CreateImageSource(pathName, opts, errorCode);
[all …]
H A Dimage_source_jpeg_test.cpp1098 std::unique_ptr<ImageSource> imageSource = std::unique_ptr<ImageSource>();
1119 std::unique_ptr<ImageSource> imageSource = std::unique_ptr<ImageSource>();
1140 std::unique_ptr<ImageSource> imageSource = std::unique_ptr<ImageSource>();
1161 std::unique_ptr<ImageSource> imageSource = std::unique_ptr<ImageSource>();
1182 std::unique_ptr<ImageSource> imageSource = std::unique_ptr<ImageSource>();
1203 std::unique_ptr<ImageSource> imageSource = std::unique_ptr<ImageSource>();
1224 std::unique_ptr<ImageSource> imageSource = std::unique_ptr<ImageSource>();
1245 std::unique_ptr<ImageSource> imageSource = std::unique_ptr<ImageSource>();
1266 std::unique_ptr<ImageSource> imageSource = std::unique_ptr<ImageSource>();
1287 std::unique_ptr<ImageSource> imageSource = std::unique_ptr<ImageSource>();
[all …]
H A Dimage_source_exif_test.cpp223 … std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(path, opts, errorCode);
256 std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(fd, opts, errorCode);
305 std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(fd, opts, errorCode);
331 std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(fd, opts, errorCode);
356 … std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(path, opts, errorCode);
379 … std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(path, opts, errorCode);
404 … std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(path, opts, errorCode);
428 … std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(path, opts, errorCode);
453 … std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(path, opts, errorCode);
469 … std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(path, opts, errorCode);
[all …]
H A Dimage_source_hdr_test.cpp72 std::unique_ptr<ImageSource> imageSource =
90 std::unique_ptr<ImageSource> imageSource =
108 std::unique_ptr<ImageSource> imageSource =
126 std::unique_ptr<ImageSource> imageSource =
148 std::unique_ptr<ImageSource> imageSource =
175 std::unique_ptr<ImageSource> imageSource =
202 std::unique_ptr<ImageSource> imageSource =
229 std::unique_ptr<ImageSource> imageSource =
260 std::unique_ptr<ImageSource> imageSource =
343 … std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(path, opts, errorCode);
[all …]
H A Dimage_source_heif_test.cpp93 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(std::move(fs), opts, err…
138 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(buffer, bufferSize, opts…
156 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_HEIF_PATH, o…
235 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(std::move(fs), opts, err…
271 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateIncrementalImageSource(opts, errorCo…
326 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(buffer, bufferSize, opts…
429 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(std::move(fs), opts, err…
685 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(std::move(fs), opts, err…
812 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(std::move(fs), opts, err…
957 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_HW_HEIF_PATH,
[all …]
H A Dimage_source_bmp_test.cpp55 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_BMP_PATH, op…
89 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_BMP_PATH, op…
124 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_BMP_PATH, op…
153 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_BMP_PATH, op…
187 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_BMP_PATH, op…
216 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_BMP_PATH, op…
234 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource("/data/jpeg/test.bmp", o…
259 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(buffer, bufferSize, opts…
306 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(std::move(fs), opts, err…
387 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(buffer, bufferSize, opts…
[all …]
H A Dimage_source_raw_test.cpp56 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_DNG_PATH, op…
91 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_DNG_PATH, op…
127 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_DNG_PATH, op…
156 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_DNG_PATH, op…
191 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_DNG_PATH, op…
220 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_DNG_PATH, op…
245 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(buffer, bufferSize, opts…
293 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(std::move(fs), opts, err…
326 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_DNG_PATH, op…
378 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(buffer, bufferSize, opts…
[all …]
H A Dimage_source_png_test.cpp62 std::unique_ptr<ImageSource> imageSource =
161 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(buffer, bufferSize, opts…
199 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(std::move(fs), opts, err…
240 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateIncrementalImageSource(incOpts, erro…
344 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateIncrementalImageSource(incOpts, erro…
412 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateIncrementalImageSource(incOpts, erro…
481 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(std::move(fs), opts, err…
517 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(std::move(fs), opts, err…
552 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(std::move(fs), opts, err…
587 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(std::move(fs), opts, err…
[all …]
H A Dimage_source_wbmp_test.cpp55 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_WBMP_PATH, o…
84 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_WBMP_PATH, o…
114 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_WBMP_PATH, o…
144 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_WBMP_PATH, o…
173 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_WBMP_PATH, o…
202 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_WBMP_PATH, o…
227 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(buffer, bufferSize, opts…
266 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(std::move(fs), opts, err…
292 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_WBMP_PATH, o…
335 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(buffer, bufferSize, opts…
[all …]
H A Dimage_packer_test.cpp365 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_JPG_SRC, opts, err…
407 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_JPG_SRC, opts, err…
440 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_JPG_SRC, opts, err…
479 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_JPG_SRC, opts, err…
500 …std::unique_ptr<ImageSource> imageSourceDest = ImageSource::CreateImageSource(fdDest, opts, errorC…
519 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_PNG_SRC, opts, err…
559 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_PNG_SRC, opts, err…
592 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_PNG_SRC, opts, err…
631 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_PNG_SRC, opts, err…
648 …std::unique_ptr<ImageSource> imageSourceDest = ImageSource::CreateImageSource(fdDest, opts, errorC…
[all …]
H A Dimage_source_webp_test.cpp78 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_WEBP_PATH, o…
124 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_WEBP_PATH, o…
153 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_WEBP_PATH, o…
196 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(buffer, bufferSize, opts…
243 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(std::move(fs), opts, err…
282 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateIncrementalImageSource(incOpts, erro…
384 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateIncrementalImageSource(incOpts, erro…
454 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateIncrementalImageSource(incOpts, erro…
574 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(std::move(fs), opts, err…
607 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateIncrementalImageSource(incOpt, error…
[all …]
H A Dimage_source_ai_sr_hdr_test.cpp103 std::unique_ptr<ImageSource> imageSource =
143 std::unique_ptr<ImageSource> imageSource =
183 std::unique_ptr<ImageSource> imageSource =
221 std::unique_ptr<ImageSource> imageSource =
259 std::unique_ptr<ImageSource> imageSource =
297 std::unique_ptr<ImageSource> imageSource =
335 std::unique_ptr<ImageSource> imageSource =
373 std::unique_ptr<ImageSource> imageSource =
414 std::unique_ptr<ImageSource> imageSource =
453 std::unique_ptr<ImageSource> imageSource =
[all …]
H A Dimage_source_gif_ex_test.cpp72 auto imageSource = ImageSource::CreateImageSource(inputName, opts, errorCode);
107 auto imageSource = ImageSource::CreateImageSource(inputName, opts, errorCode);
142 auto imageSource = ImageSource::CreateImageSource(inputName, opts, errorCode);
177 auto imageSource = ImageSource::CreateImageSource(inputName, opts, errorCode);
206 auto imageSource = ImageSource::CreateImageSource(inputName, opts, errorCode);
235 auto imageSource = ImageSource::CreateImageSource(inputName, opts, errorCode);
264 auto imageSource = ImageSource::CreateImageSource(inputName, opts, errorCode);
288 auto imageSource = ImageSource::CreateImageSource(inputName, opts, errorCode);
316 auto imageSource = ImageSource::CreateImageSource(inputName, opts, errorCode);
344 auto imageSource = ImageSource::CreateImageSource(inputName, opts, errorCode);
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/cj/src/
H A Dimage_source_impl.cpp35 std::unique_ptr<ImageSource> ptr_ = ImageSource::CreateImageSource(uri, opts, *errCode); in CreateImageSource()
42 std::unique_ptr<ImageSource> ptr_ = ImageSource::CreateImageSource(uri, opts, *errCode); in CreateImageSourceWithOption()
46 std::unique_ptr<ImageSource> ImageSourceImpl::CreateImageSource(int fd, uint32_t* errCode) in CreateImageSource()
49 std::unique_ptr<ImageSource> ptr_ = ImageSource::CreateImageSource(fd, opts, *errCode); in CreateImageSource()
56 std::unique_ptr<ImageSource> ptr_ = ImageSource::CreateImageSource(fd, opts, *errCode); in CreateImageSourceWithOption()
63 std::unique_ptr<ImageSource> ptr_ = ImageSource::CreateImageSource(data, size, opts, *errCode); in CreateImageSource()
70 std::unique_ptr<ImageSource> ptr_ = ImageSource::CreateImageSource(data, size, opts, *errCode); in CreateImageSourceWithOption()
78 std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(fd, in CreateImageSource()
89 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateIncrementalImageSource(incOpts, erro… in CreateIncrementalSource()
101 ImageSourceImpl::ImageSourceImpl(std::unique_ptr<ImageSource> imageSource) in ImageSourceImpl()
[all …]
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dimage_source_preview.cpp20 RefPtr<ImageSource> ImageSource::Create(int32_t /* fd */) in Create()
25 RefPtr<ImageSource> ImageSource::Create(const uint8_t* data, uint32_t size) in Create()
30 RefPtr<ImageSource> ImageSource::Create(const std::string& filePath) in Create()
35 bool ImageSource::IsAstc(const uint8_t* data, size_t size) in IsAstc()
40 ImageSource::Size ImageSource::GetASTCInfo(const uint8_t* data, size_t size) in GetASTCInfo()
67 ImageSource::Size ImageSourcePreview::GetImageSize() in GetImageSize()
/ohos5.0/foundation/arkui/ace_engine/test/mock/base/
H A Dmock_image_source.cpp19 RefPtr<ImageSource> ImageSource::Create(int32_t fd) in Create()
24 RefPtr<ImageSource> ImageSource::Create(const uint8_t* data, uint32_t size) in Create()
29 RefPtr<ImageSource> ImageSource::Create(const std::string& filePath) in Create()
34 bool ImageSource::IsAstc(const uint8_t* data, size_t size) in IsAstc()
39 ImageSource::Size ImageSource::GetASTCInfo(const uint8_t* data, size_t size) in GetASTCInfo()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dimage_source_ohos.cpp25 RefPtr<ImageSource> ImageSource::Create(int32_t fd) in Create()
29 auto src = Media::ImageSource::CreateImageSource(fd, options, errorCode); in Create()
37 RefPtr<ImageSource> ImageSource::Create(const uint8_t* data, uint32_t size) in Create()
41 auto src = Media::ImageSource::CreateImageSource(data, size, options, errorCode); in Create()
49 RefPtr<ImageSource> ImageSource::Create(const std::string& filePath) in Create()
53 auto src = Media::ImageSource::CreateImageSource(filePath, opts, errorCode); in Create()
61 bool ImageSource::IsAstc(const uint8_t* data, size_t size) in IsAstc()
63 return Media::ImageSource::IsASTC(data, size); in IsAstc()
66 ImageSource::Size ImageSource::GetASTCInfo(const uint8_t* data, size_t size) in GetASTCInfo()
69 Media::ImageSource::GetASTCInfo(data, size, astcInfo); in GetASTCInfo()
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/
H A Dimage_source_native_impl.cpp30 std::shared_ptr<ImageSource> OH_ImageSourceNative::GetInnerImageSource() in GetInnerImageSource()
35 OH_ImageSourceNative::OH_ImageSourceNative(std::shared_ptr<ImageSource> imageSource) in OH_ImageSourceNative()
45 …std::unique_ptr<ImageSource> nativeImageSource = ImageSource::CreateImageSource(path, opts, errorC… in OH_ImageSourceNative()
56 …std::unique_ptr<ImageSource> nativeImageSource = ImageSource::CreateImageSource(fd, opts, errorCod… in OH_ImageSourceNative()
67 std::unique_ptr<ImageSource> nativeImageSource = ImageSource::CreateImageSource( in OH_ImageSourceNative()
80 std::unique_ptr<ImageSource> nativeImageSource = ImageSource::CreateImageSource( in OH_ImageSourceNative()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/stream_test/
H A Dbuffer_source_stream_test.cpp53 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_JPG_PATH, op…
80 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_JPG_PATH, op…
107 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_JPG_PATH, op…
134 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_JPG_PATH, op…
165 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_JPG_PATH, op…
196 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_JPG_PATH, op…
227 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_JPG_PATH, op…
258 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_JPG_PATH, op…
290 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_JPG_PATH, op…
322 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_INPUT_JPG_PATH, op…
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/cj/include/
H A Dimage_source_impl.h29 explicit ImageSourceImpl(std::unique_ptr<ImageSource> ptr_);
34 …ImageSourceImpl(std::unique_ptr<ImageSource> imageSource, std::unique_ptr<IncrementalPixelMap> pix…
35 std::shared_ptr<ImageSource> nativeImgSrc = nullptr;
56 static std::unique_ptr<ImageSource> CreateImageSource(std::string uri, uint32_t* errCode);
57 …static std::unique_ptr<ImageSource> CreateImageSourceWithOption(std::string uri, SourceOptions &op…
59 static std::unique_ptr<ImageSource> CreateImageSource(int fd, uint32_t* errCode);
60 …static std::unique_ptr<ImageSource> CreateImageSourceWithOption(int fd, SourceOptions &opts, uint3…
61 …static std::unique_ptr<ImageSource> CreateImageSource(uint8_t *data, uint32_t size, uint32_t* errC…
62 …static std::unique_ptr<ImageSource> CreateImageSourceWithOption(uint8_t *data, uint32_t size, Sour…
64 static std::unique_ptr<ImageSource> CreateImageSource(const int fd, int32_t offset,
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-image-kit/
H A Dimage__source__mdk_8h.md50 …识符URI和[OhosImageSourceOps](_ohos_image_source_ops.md)结构体,获取JavaScript native层**ImageSource**对象。 |
51 …描述符fd和[OhosImageSourceOps](_ohos_image_source_ops.md)结构体,获取JavaScript native层**ImageSource**对象。 |
52 …ta和[OhosImageSourceOps](_ohos_image_source_ops.md)结构体,获取JavaScript native层API**ImageSource**对象。 |
53 …or**和[OhosImageSourceOps](_ohos_image_source_ops.md)结构体, 获取JavaScript native层**ImageSource**对象。 |
57 …native) (napi_env env, napi_value source) | 从输入JavaScript native层API **ImageSource** 对象中,转换成[Image…
60 …rceDelayTimeList](_ohos_image_source_delay_time_list.md) \*res) | 从一些**ImageSource**(如GIF图像源,WEBP图…
61 …geSourceNative](image.md#imagesourcenative) \*native, uint32_t \*res) | 从**ImageSource**中获取帧计数。 |
62 …struct [OhosImageSourceInfo](_ohos_image_source_info.md) \*info) | 通过索引从**ImageSource**获取图像源信息。 |
63 …sImageSourceProperty](_ohos_image_source_property.md) \*value) | 通过关键字从**ImageSource**中获取图像源属性。 |
64 …osImageSourceProperty](_ohos_image_source_property.md) \*value) | 通过关键字为**ImageSource**修改图像源属性。 |
[all …]
/ohos5.0/docs/zh-cn/application-dev/media/image/
H A Dimage-decoding.md1 # 使用ImageSource完成图片解码
85 3. 创建ImageSource实例。
87 - 方法一:通过沙箱路径创建ImageSource。沙箱路径可以通过步骤2的方法一获取。
91 const imageSource : image.ImageSource = image.createImageSource(filePath);
94 - 方法二:通过文件描述符fd创建ImageSource。文件描述符可以通过步骤2的方法二获取。
98 const imageSource : image.ImageSource = image.createImageSource(fd);
101 - 方法三:通过缓冲区数组创建ImageSource。缓冲区数组可以通过步骤2的方法三获取。
104 const imageSource : image.ImageSource = image.createImageSource(buffer);
107 - 方法四:通过资源文件的RawFileDescriptor创建ImageSource。RawFileDescriptor可以通过步骤2的方法四获取。
176 2. 创建ImageSource
[all …]
H A Dimage-picture-decoding.md1 # 使用ImageSource完成多图对象解码
79 3. 创建ImageSource实例。
81 - 方法一:通过沙箱路径创建ImageSource。沙箱路径可以通过步骤2的方法一获取。
85 const imageSource : image.ImageSource = image.createImageSource(filePath);
88 - 方法二:通过文件描述符fd创建ImageSource。文件描述符可以通过步骤2的方法二获取。
92 const imageSource : image.ImageSource = image.createImageSource(fd);
95 - 方法三:通过缓冲区数组创建ImageSource。缓冲区数组可以通过步骤2的方法三获取。
98 const imageSource : image.ImageSource = image.createImageSource(buffer);
101 - 方法四:通过资源文件的RawFileDescriptor创建ImageSource。RawFileDescriptor可以通过步骤2的方法四获取。
163 2. 创建ImageSource
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_encode/
H A Dheif_hw_encoder_test.cpp72 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(IMAGE_JPG_SRC, opts, err…
89 …std::unique_ptr<ImageSource> imageSourceDest = ImageSource::CreateImageSource(fdDest, opts, errorC…
111 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(srcJpeg.c_str(), opts, e…
148 …std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(srcJpeg.c_str(), opts, e…
183 std::unique_ptr<ImageSource> imageSource =
224 std::unique_ptr<ImageSource> imageSource =
264 std::unique_ptr<ImageSource> imageSource =
304 std::unique_ptr<ImageSource> imageSource =
343 std::unique_ptr<ImageSource> imageSource =
384 std::unique_ptr<ImageSource> imageSource =
[all …]

12345678910