mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 10:19:59 +01:00
Cleanup FrameBufferImage API
This commit is contained in:
@@ -318,7 +318,7 @@ FrameBufferImage::~FrameBufferImage() {
|
||||
delete rgb;
|
||||
}
|
||||
|
||||
FrameBufferImage::jpegBuffer FrameBufferImage::getJpeg()
|
||||
FrameBufferImage::jpegBuffer FrameBufferImage::getJpeg() const
|
||||
{
|
||||
jpegBuffer jpgimg;
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
class FrameBufferImage
|
||||
{
|
||||
public:
|
||||
uint8_t *rgb = nullptr;
|
||||
uint8_t *rgb;
|
||||
int width;
|
||||
int height;
|
||||
|
||||
@@ -20,7 +20,7 @@ public:
|
||||
unsigned char *buffer = nullptr;
|
||||
uint len = 0;
|
||||
};
|
||||
jpegBuffer getJpeg();
|
||||
jpegBuffer getJpeg() const;
|
||||
|
||||
FrameBufferImage(int w, int h);
|
||||
FrameBufferImage(jpegBuffer jpgimg);
|
||||
|
||||
Reference in New Issue
Block a user