27 lines
803 B
C
Executable File
27 lines
803 B
C
Executable File
/*
|
|
* Copyright (c) Hunan Goke,Chengdu Goke,Shandong Goke. 2021. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __JPEGD_IMAGE_H__
|
|
#define __JPEGD_IMAGE_H__
|
|
#include "jpegd.h"
|
|
#include "jpegd_error.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* End of #ifdef __cplusplus */
|
|
|
|
int decode_sof0(motion_jpeg_obj *mjpeg, const unsigned char *stream);
|
|
int decode_sos(motion_jpeg_obj *mjpeg, unsigned char *stream);
|
|
int decode_dht(motion_jpeg_obj *mjpeg, const unsigned char *stream);
|
|
int decode_dqt(motion_jpeg_obj *mjpeg, const unsigned char *stream);
|
|
int decode_dri(motion_jpeg_obj *mjpeg, const unsigned char *stream);
|
|
void init_default_huffman_table(motion_jpeg_obj *mjpeg);
|
|
void init_default_quant_table(motion_jpeg_obj *mjpeg);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* End of #ifdef __cplusplus */
|
|
|
|
#endif
|