Searched refs:rImageSource (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_source_napi.cpp | 104 std::shared_ptr<ImageSource> rImageSource; member 905 auto rImageSource = static_cast<ImageSource*>(ptr); in STATIC_NAPI_VALUE_FUNC() local 937 if (rImageSource != nullptr) { in STATIC_NAPI_VALUE_FUNC() 1351 sImgSrc_ = context->rImageSource; in CreateImageSourceComplete() 1894 context->rImageSource = context->constructor_->nativeImgSrc; in UnwrapContext() 1896 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, context->rImageSource), in UnwrapContext() 2042 context->rImageSource = context->constructor_->nativeImgSrc; in UnwrapContextForModify() 2172 uint32_t res = context->rImageSource->UpdateData(buffer, size, in UpdateDataExecute() 2367 context->rImageSource = context->constructor_->nativeImgSrc; in UnwrapContextForList() 2369 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, context->rImageSource), in UnwrapContextForList() [all …]
|
H A D | image_packer_napi.cpp | 94 std::shared_ptr<ImageSource> rImageSource; member 241 if (context->rImageSource == nullptr) { in getDefaultBufferSize() 244 context->rImageSource->GetImageInfo(imageInfo); in getDefaultBufferSize() 280 if (context->rImageSource == nullptr) { in STATIC_EXEC_FUNC() 284 context->rImagePacker->AddImage(*(context->rImageSource)); in STATIC_EXEC_FUNC() 843 BuildMsgOnError(context, context->rImageSource != nullptr, in ParserPackToFileArguments() 875 BuildMsgOnError(context, context->rImageSource == nullptr, in SetPicture() 919 if (context->rImageSource == nullptr) { in STATIC_EXEC_FUNC() 920 BuildMsgOnError(context, context->rImageSource == nullptr, in STATIC_EXEC_FUNC() 924 context->rImagePacker->AddImage(*(context->rImageSource)); in STATIC_EXEC_FUNC() [all …]
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | image_format_convert_test.cpp | 158 ASSERT_NE(rImageSource.get(), nullptr); in RgbConvertToYuv() 214 ASSERT_NE(rImageSource.get(), nullptr); in YuvConvertToRgb() 353 ASSERT_NE(rImageSource.get(), nullptr); in RgbConvertToYuvByPixelMap() 360 srcPixelMap = rImageSource->CreatePixelMap(decodeOpts, errorCode); in RgbConvertToYuvByPixelMap() 414 ASSERT_NE(rImageSource.get(), nullptr); in RgbConvertToYuvP010ByPixelMap() 421 srcPixelMap = rImageSource->CreatePixelMap(decodeOpts, errorCode); in RgbConvertToYuvP010ByPixelMap() 455 ASSERT_NE(rImageSource.get(), nullptr); in RgbConvertToYuvP010() 514 ASSERT_NE(rImageSource.get(), nullptr); in PixelMapFormatConvert() 1660 ASSERT_NE(rImageSource.get(), nullptr); 1662 srcPixelMap = rImageSource->CreatePixelMap(decodeOpts, errorCode); [all …]
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imageyuvconvert_fuzzer/src/ |
H A D | image_yuv_convert_fuzzer.cpp | 77 …std::shared_ptr<ImageSource> rImageSource = ImageSource::CreateImageSource(jpgPath, opts, errorCod… in RgbConvertToYuv() local 78 if (errorCode != SUCCESS || rImageSource.get() == nullptr) { in RgbConvertToYuv() 86 std::shared_ptr<PixelMap> srcPixelMap = rImageSource->CreatePixelMap(decodeOpts, errorCode); in RgbConvertToYuv() 109 …std::shared_ptr<ImageSource> rImageSource = ImageSource::CreateImageSource(jpgPath, opts, errorCod… in YuvConvertToRgb() local 110 if (errorCode != SUCCESS || rImageSource.get() == nullptr) { in YuvConvertToRgb() 119 std::shared_ptr<PixelMap> srcPixelMap = rImageSource->CreatePixelMap(decodeOpts, errorCode); in YuvConvertToRgb()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/ |
H A D | sendable_image_source_napi.cpp | 91 std::shared_ptr<ImageSource> rImageSource; member 541 context->rPixelMap = CreatePixelMapInner(context->constructor_, context->rImageSource, in CreatePixelMapExecute() 631 asyncContext->rImageSource = asyncContext->constructor_->nativeImgSrc; in CreatePixelMap() 632 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, asyncContext->rImageSource), in CreatePixelMap()
|