Get rid of raw pointers
This commit is contained in:
+2
-2
@@ -98,8 +98,8 @@ public:
|
||||
void scaleToUnit();
|
||||
void downscaleTo(uint32_t size);
|
||||
|
||||
static RawImage* fromPlanar(const RawImage &img);
|
||||
static RawImage* fromPlanar(const void *pixels, uint32_t w, uint32_t h, uint32_t ch, DataType type);
|
||||
static std::shared_ptr<RawImage> fromPlanar(const RawImage &img);
|
||||
static std::shared_ptr<RawImage> fromPlanar(const void *pixels, uint32_t w, uint32_t h, uint32_t ch, DataType type);
|
||||
static size_t typeSize(DataType type);
|
||||
std::vector<RawImage> split() const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user