X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fimaging%2Fcommon%2Fwebp-loading.h;h=f3428e6da6392fd21274a65abf90d0aad1c5d309;hb=0bd05f2a6d1ad20fc7b92065d7b7a1324ebf0113;hp=ecf8bbb6ea694f97a3003e8b63297c61280647de;hpb=3c4592324cbdec8f2ff42d956da2a7cdeb863102;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/imaging/common/webp-loading.h b/dali/internal/imaging/common/webp-loading.h index ecf8bbb..f3428e6 100644 --- a/dali/internal/imaging/common/webp-loading.h +++ b/dali/internal/imaging/common/webp-loading.h @@ -89,7 +89,6 @@ public: * @param[in] frameIndex The frame counter to load. Will usually be the next frame. * @return Dali::Devel::PixelBuffer The loaded PixelBuffer. If loading is fail, return empty handle. */ - Dali::Devel::PixelBuffer LoadFrame(uint32_t frameIndex) override; /** @@ -109,7 +108,7 @@ public: * * @note The frame is needed to be loaded before this function is called. * - * @return The time interval of the frame(microsecond). + * @return The time interval between frameIndex and frameIndex + 1(microsecond). */ uint32_t GetFrameInterval(uint32_t frameIndex) const override; @@ -128,6 +127,15 @@ public: bool HasLoadingSucceeded() const override; private: + /** + * @brief Decode Frame of the animated image. + * + * @param[in] frameIndex The frame counter to load. Will usually be the next frame. + * @return Dali::Devel::PixelBuffer The loaded PixelBuffer. If loading is fail, return empty handle. + */ + Dali::Devel::PixelBuffer DecodeFrame(uint32_t frameIndex); + +private: struct Impl; Impl* mImpl; };