/*******************************************************************
                    dct coefficient interface
 *******************************************************************/
#include "video_stream.h"

#ifndef DCT_COEFFICIENT_H
#define DCT_COEFFICIENT_H

typedef int (* rdc)(VIDEO_STREAM *, short *, unsigned char *);

typedef struct {
	short level;
	unsigned char run;
	unsigned char length;
}DCT_COEFFICIENT_VLC_ELEMENT;

#ifdef __cplusplus
extern "C" {
#endif

#ifndef DCT_COEFFICIENT_C
extern void read_fixed_length_dct_coefficient(VIDEO_STREAM *in, short *level, unsigned char *run);
#endif

#ifdef __cplusplus
}
#endif

#endif	