Home
last modified time | relevance | path

Searched refs:GetImagePropertyInt (Results 1 - 23 of 23) sorted by relevance

/foundation/multimedia/image_effect/frameworks/native/utils/common/
H A Dcommon_utils.cpp374 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 Dimage_source_exif_test.cpp266 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 Dimage_source_test.cpp569 * @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 Dimage_source_jpeg_test.cpp191 * @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 Dimage_source_heif_test.cpp170 * @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 Djpeg_decoder.h58 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 Dgif_decoder.h48 uint32_t GetImagePropertyInt(uint32_t index, const std::string &key, int32_t &value) override;
/foundation/multimedia/image_framework/plugins/manager/include/image/
H A Dabs_image_decoder.h166 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 Dext_decoder.h57 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 Dimage_source_fuzz.cpp45 imageSource->GetImagePropertyInt(0, key, valueInt); in ImageSourceFuncTest001()
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmetadata_extractor.cpp292 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 Djpeg_decoder_test.cpp384 * @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 Djpeg_decoder_ex_test.cpp800 * @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 Dimage_plugin_fuzz.cpp91 extDecoder->GetImagePropertyInt(0, key, valInt); in ExtDecoderFuncTest001()
/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/
H A Dgif_decoder.cpp760 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 Dimage_source.h219 NATIVEEXPORT uint32_t GetImagePropertyInt(uint32_t index, const std::string &key, int32_t &value);
H A Dpixel_map.h298 NATIVEEXPORT uint32_t GetImagePropertyInt(const std::string &key, int32_t &value);
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/
H A Dthumbnail_source_loading.cpp326 err = imageSource->GetImagePropertyInt(0, PHOTO_DATA_IMAGE_ORIENTATION, data_.orientation); in CreateImagePixelMap()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp1410 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 Dext_decoder_test.cpp510 * @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 Djpeg_decoder.cpp770 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 Dext_decoder.cpp1697 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 Dpixel_map.cpp1245 uint32_t PixelMap::GetImagePropertyInt(const std::string &key, int32_t &value) in GetImagePropertyInt() function in OHOS::Media::PixelMap

Completed in 47 milliseconds