summaryrefslogtreecommitdiffstats
path: root/camera/inc/Decoder_libjpeg.h
diff options
context:
space:
mode:
Diffstat (limited to 'camera/inc/Decoder_libjpeg.h')
-rwxr-xr-xcamera/inc/Decoder_libjpeg.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/camera/inc/Decoder_libjpeg.h b/camera/inc/Decoder_libjpeg.h
index 8d5b649..425ebf1 100755
--- a/camera/inc/Decoder_libjpeg.h
+++ b/camera/inc/Decoder_libjpeg.h
@@ -37,8 +37,9 @@ class Decoder_libjpeg
public:
Decoder_libjpeg();
~Decoder_libjpeg();
- int readDHTSize();
- int appendDHT(unsigned char *jpeg_src, int filled_len, unsigned char *jpeg_with_dht_buffer, int buff_size);
+ static int readDHTSize();
+ static bool isDhtExist(unsigned char *jpeg_src, int filled_len);
+ static int appendDHT(unsigned char *jpeg_src, int filled_len, unsigned char *jpeg_with_dht_buffer, int buff_size);
bool decode(unsigned char *jpeg_src, int filled_len, unsigned char *nv12_buffer, int stride);
private: