/foundation/multimedia/image_effect/frameworks/native/utils/common/ |
H A D | common_utils.cpp | 374 int32_t GetImagePropertyInt(const std::shared_ptr<ExifMetadata> &exifMetadata, const std::string &key, int32_t &value) in GetImagePropertyInt() function 397 GetImagePropertyInt(exifMetadata, IMAGE_WIDTH, width); in PrintImageExifInfo() 399 GetImagePropertyInt(exifMetadata, IMAGE_LENGTH, length); in PrintImageExifInfo() 403 GetImagePropertyInt(exifMetadata, PIXEL_X_DIMENSION, xDimension); in PrintImageExifInfo() 405 GetImagePropertyInt(exifMetadata, PIXEL_Y_DIMENSION, yDimension); in PrintImageExifInfo() 461 if (GetImagePropertyInt(exifMetadata, IMAGE_WIDTH, width) == 0 && pixelMap->GetWidth() != width) { in UpdateExifMetadata() 467 if (GetImagePropertyInt(exifMetadata, IMAGE_LENGTH, width) == 0 && pixelMap->GetHeight() != length) { in UpdateExifMetadata() 476 if (GetImagePropertyInt(exifMetadata, PIXEL_X_DIMENSION, xDimension) == 0 && pixelMap->GetWidth() != xDimension) { in UpdateExifMetadata() 482 if (GetImagePropertyInt(exifMetadata, PIXEL_Y_DIMENSION, xDimension) == 0 && pixelMap->GetHeight() != yDimension) { in UpdateExifMetadata()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
H A D | image_source_exif_test.cpp | 266 imageSource->GetImagePropertyInt(index, key, value); in HWTEST_F() 272 imageSource->GetImagePropertyInt(index, key, value); in HWTEST_F() 278 imageSource->GetImagePropertyInt(index, key, value); in HWTEST_F() 284 imageSource->GetImagePropertyInt(index, key, value); in HWTEST_F() 290 auto ret = imageSource->GetImagePropertyInt(index, key, value); in HWTEST_F() 313 imageSource->GetImagePropertyInt(index, "DelayTime", value); in HWTEST_F() 316 imageSource->GetImagePropertyInt(index, "DisposalType", value); in HWTEST_F()
|
H A D | image_source_test.cpp | 569 * @tc.desc: test GetImagePropertyInt
581 imageSource->GetImagePropertyInt(index, key, value);
in HWTEST_F() 588 * @tc.desc: test GetImagePropertyInt
599 imageSource->GetImagePropertyInt(index, key, value);
in HWTEST_F() 1957 * @tc.desc: test GetImagePropertyInt
1969 uint32_t ret = imageSource->GetImagePropertyInt(index, key, value);
in HWTEST_F()
|
H A D | image_source_jpeg_test.cpp | 191 * @tc.desc: Test GetImagePropertyInt(index, key, value) 209 imageSource->GetImagePropertyInt(index, key, value); in HWTEST_F() 1089 * @tc.desc: Test GetImagePropertyInt(index, key, value) 1104 uint32_t res = imageSource->GetImagePropertyInt(index, key, value); in HWTEST_F() 1110 * @tc.desc: Test GetImagePropertyInt(index, key, value) 1125 uint32_t res = imageSource->GetImagePropertyInt(index, key, value); in HWTEST_F() 1194 * @tc.desc: Test GetImagePropertyInt(index, key, value)
|
H A D | image_source_heif_test.cpp | 170 * @tc.desc: Test GetImagePropertyInt(index, key, value)
188 imageSource->GetImagePropertyInt(index, key, value);
in HWTEST_F()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/include/ |
H A D | jpeg_decoder.h | 58 uint32_t GetImagePropertyInt(uint32_t index, const std::string &key, int32_t &value) override;
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/include/ |
H A D | gif_decoder.h | 48 uint32_t GetImagePropertyInt(uint32_t index, const std::string &key, int32_t &value) override;
|
/foundation/multimedia/image_framework/plugins/manager/include/image/ |
H A D | abs_image_decoder.h | 166 virtual uint32_t GetImagePropertyInt(uint32_t index, const std::string &key, int32_t &value) in GetImagePropertyInt() function in OHOS::ImagePlugin::AbsImageDecoder
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/ |
H A D | ext_decoder.h | 57 uint32_t GetImagePropertyInt(uint32_t index, const std::string &key, int32_t &value) override;
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imagesource_fuzzer/src/ |
H A D | image_source_fuzz.cpp | 45 imageSource->GetImagePropertyInt(0, key, valueInt); in ImageSourceFuncTest001()
|
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/ |
H A D | metadata_extractor.cpp | 292 err = imageSource->GetImagePropertyInt(0, PHOTO_DATA_IMAGE_ORIENTATION, intTempMeta); in ExtractImageExif() 377 err = imageSource->GetImagePropertyInt(0, PHOTO_DATA_IMAGE_ORIENTATION, intTempMeta); in ExtractImageMetadata()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | jpeg_decoder_test.cpp | 384 * @tc.desc: Test of GetImagePropertyInt
397 uint32_t result = jpegDecoder->GetImagePropertyInt(0, key, value);
in HWTEST_F() 404 * @tc.desc: Test of GetImagePropertyInt
417 uint32_t result = jpegDecoder->GetImagePropertyInt(0, key, value);
in HWTEST_F() 424 * @tc.desc: Test of GetImagePropertyInt
437 uint32_t result = jpegDecoder->GetImagePropertyInt(0, key, value);
in HWTEST_F() 1224 * @tc.desc: Test of GetImagePropertyInt
1242 uint32_t ret = jpegDecoder->GetImagePropertyInt(index, key, value);
in HWTEST_F()
|
H A D | jpeg_decoder_ex_test.cpp | 800 * @tc.desc: Test of GetImagePropertyInt 813 uint32_t result = jpegDecoder->GetImagePropertyInt(0, key, value); in HWTEST_F() 820 * @tc.desc: Test of GetImagePropertyInt 833 uint32_t result = jpegDecoder->GetImagePropertyInt(0, key, value); in HWTEST_F() 840 * @tc.desc: Test of GetImagePropertyInt 853 uint32_t result = jpegDecoder->GetImagePropertyInt(0, key, value); in HWTEST_F()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imageplugin_fuzzer/src/ |
H A D | image_plugin_fuzz.cpp | 91 extDecoder->GetImagePropertyInt(0, key, valInt); in ExtDecoderFuncTest001()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/ |
H A D | gif_decoder.cpp | 760 uint32_t GifDecoder::GetImagePropertyInt(uint32_t index, const std::string &key, int32_t &value) in GetImagePropertyInt() function in OHOS::ImagePlugin::GifDecoder 762 IMAGE_LOGD("[GetImagePropertyInt] enter gif plugin, key:%{public}s", key.c_str()); in GetImagePropertyInt() 765 IMAGE_LOGE("[GetImagePropertyInt]index %{public}u is invalid", index); in GetImagePropertyInt() 774 IMAGE_LOGE("[GetImagePropertyInt]key(%{public}s) not supported", key.c_str()); in GetImagePropertyInt() 790 uint32_t errorCode = GetImagePropertyInt(index, key, intValue); in GetImagePropertyString()
|
/foundation/multimedia/image_framework/interfaces/innerkits/include/ |
H A D | image_source.h | 219 NATIVEEXPORT uint32_t GetImagePropertyInt(uint32_t index, const std::string &key, int32_t &value);
|
H A D | pixel_map.h | 298 NATIVEEXPORT uint32_t GetImagePropertyInt(const std::string &key, int32_t &value);
|
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/ |
H A D | thumbnail_source_loading.cpp | 326 err = imageSource->GetImagePropertyInt(0, PHOTO_DATA_IMAGE_ORIENTATION, data_.orientation);
in CreateImagePixelMap()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/ |
H A D | image_source.cpp | 1410 exifWidthRet = GetImagePropertyInt(index, KEY_IMAGE_WIDTH, rawSize.width); 1411 exifHeightRet = GetImagePropertyInt(index, KEY_IMAGE_HEIGHT, rawSize.height); 1664 uint32_t ImageSource::GetImagePropertyInt(uint32_t index, const std::string &key, int32_t &value) 1673 IMAGE_LOGD("GetImagePropertyInt special key: %{public}s", key.c_str()); 1674 uint32_t ret = mainDecoder_->GetImagePropertyInt(index, key, value); 3375 errorCode = mainDecoder_->GetImagePropertyInt(index, IMAGE_DISPOSAL_TYPE, disposalType); 3398 errorCode = mainDecoder_->GetImagePropertyInt(0, IMAGE_LOOP_COUNT, loopCount);
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/plugin_test/ |
H A D | ext_decoder_test.cpp | 510 * @tc.desc: Test of GetImagePropertyInt
521 uint32_t ret = extDecoder->GetImagePropertyInt(index, key, value);
in HWTEST_F()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/src/ |
H A D | jpeg_decoder.cpp | 770 uint32_t JpegDecoder::GetImagePropertyInt(uint32_t index, const std::string &key, int32_t &value) in GetImagePropertyInt() function in OHOS::ImagePlugin::JpegDecoder 772 IMAGE_LOGD("[GetImagePropertyInt] enter jpeg plugin, key:%{public}s", key.c_str()); in GetImagePropertyInt() 774 IMAGE_LOGE("[GetImagePropertyInt] this key is used to check the original format of raw image!"); in GetImagePropertyInt() 780 IMAGE_LOGE("[GetImagePropertyInt] Parse exif data failed!"); in GetImagePropertyInt() 788 IMAGE_LOGE("[GetImagePropertyInt] The exifinfo:%{public}s is not found", in GetImagePropertyInt() 793 IMAGE_LOGE("[GetImagePropertyInt] The key:%{public}s is not supported int32_t", key.c_str()); in GetImagePropertyInt()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_decoder.cpp | 1697 uint32_t ExtDecoder::GetImagePropertyInt(uint32_t index, const std::string &key, int32_t &value)
in HeapMemAlloc() function in OHOS::ImagePlugin::ExtDecoder 1699 IMAGE_LOGD("[GetImagePropertyInt] enter ExtDecoder plugin, key:%{public}s", key.c_str());
in HeapMemAlloc() 1727 IMAGE_LOGE("[GetImagePropertyInt] The key:%{public}s is not supported int32_t", key.c_str());
in HeapMemAlloc()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | pixel_map.cpp | 1245 uint32_t PixelMap::GetImagePropertyInt(const std::string &key, int32_t &value) in GetImagePropertyInt() function in OHOS::Media::PixelMap
|