X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftexture-manager%2Ftexture-async-loading-helper.h;h=d8830f7a7e92b1bc98d13d4849e0aa1ddd34dc76;hp=482bfd3b5bf7c0abce36d3d068ea2ef2fb53aabd;hb=11e1ee5bb1a33525dd3016a0fd145a6a3ee2c133;hpb=da52430cd445300df2c37ee43388fef6bc338a7d diff --git a/dali-toolkit/internal/texture-manager/texture-async-loading-helper.h b/dali-toolkit/internal/texture-manager/texture-async-loading-helper.h index 482bfd3..d8830f7 100644 --- a/dali-toolkit/internal/texture-manager/texture-async-loading-helper.h +++ b/dali-toolkit/internal/texture-manager/texture-async-loading-helper.h @@ -82,6 +82,7 @@ public: * @param[in] orientationCorrection Whether to use image metadata to rotate or flip the image, * e.g., from portrait to landscape * @param[in] preMultiplyOnLoad if the image's color should be multiplied by it's alpha. Set to OFF if there is no alpha or if the image need to be applied alpha mask. + * @param[in] loadYuvPlanes True if the image should be loaded as yuv planes */ void Load(const TextureManager::TextureId& textureId, const VisualUrl& url, @@ -89,7 +90,8 @@ public: const Dali::FittingMode::Type& fittingMode, const Dali::SamplingMode::Type& samplingMode, const bool& orientationCorrection, - const DevelAsyncImageLoader::PreMultiplyOnLoad& preMultiplyOnLoad); + const DevelAsyncImageLoader::PreMultiplyOnLoad& preMultiplyOnLoad, + const bool& loadYuvPlanes); /** * @brief Apply mask @@ -126,11 +128,11 @@ private: AsyncLoadingInfoContainerType&& loadingInfoContainer); /** - * @brief Callback to be called when texture loading is complete, it passes the pixel buffer on to texture manager. - * @param[in] id Loader id - * @param[in] pixelBuffer Image data + * @brief Callback to be called when texture loading is complete, it passes the pixel buffer list on to texture manager. + * @param[in] id Loader id + * @param[in] pixelBuffers Image data */ - void AsyncLoadComplete(std::uint32_t id, Devel::PixelBuffer pixelBuffer); + void AsyncLoadComplete(std::uint32_t id, std::vector& pixelBuffers); private: // Member Variables: Toolkit::AsyncImageLoader mLoader;