X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fcommon%2Fpixel-buffer-impl.h;h=35cb5a47084b09b9482a2bb9c86284dd66b54a61;hb=a93eb5f538b6a4619fca31627eb90ab34342f081;hp=ae899beac6eec0da49db7b1070321e0c28c8d554;hpb=d7e9c7f9c021e927d68775321827a62cd17a273a;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/common/pixel-buffer-impl.h b/adaptors/common/pixel-buffer-impl.h index ae899be..35cb5a4 100644 --- a/adaptors/common/pixel-buffer-impl.h +++ b/adaptors/common/pixel-buffer-impl.h @@ -2,7 +2,7 @@ #define DALI_INTERNAL_ADAPTOR_PIXEL_BUFFER_H /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2018 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -206,6 +206,12 @@ public: */ void SetMetadata(std::unique_ptr metadata); + /** + * Allocates fixed amount of memory for the pixel data. Used by compressed formats. + * @param[in] size Size of memory to be allocated + */ + void AllocateFixedSize( uint32_t size ); + private: /* * Undefined copy constructor.