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