///////////////////////////////////////////////////////////////////////////////
//
//        JPEG セグメントをパースする関数たち

#ifndef JDSEG_H
#define JDSEG_H

#include "jdecoder.h"

#ifdef __cplusplus
extern "C" {
#endif



unsigned int segment_startOfImage( JPEGDecoder *, InputStream * );
unsigned int segment_application0( JPEGDecoder *, InputStream * );
unsigned int segment_defineQuantizationTable( JPEGDecoder *, InputStream * );
unsigned int segment_startOfFrame0( JPEGDecoder *, InputStream * );
unsigned int segment_defineHuffmanTable( JPEGDecoder *jd, InputStream * );
unsigned int segment_startOfScan( JPEGDecoder *jd, InputStream *is );

unsigned int segment_unknown( JPEGDecoder *, InputStream *is );

#ifdef __cplusplus
}
#endif


#endif // JDSEG_H


