dct_coefficient.h

来自「由bmp生成mpeg2 的I_frame 数据」· C头文件 代码 · 共 27 行

H
27
字号
/*******************************************************************
                    dct coefficient interface
 *******************************************************************/
#include "video_stream.h"

#ifndef DCT_COEFFICIENT_H
#define DCT_COEFFICIENT_H

typedef int (* READ_DCT_COEFFICIENT)(VIDEO_STREAM *, int *, int *);

#ifdef __cplusplus
extern "C" {
#endif

#ifndef DCT_COEFFICIENT_C
extern int read_dct_dc_coefficient_b14(VIDEO_STREAM *in, int *run, int *level);
extern int read_dct_dc_coefficient_mpeg1(VIDEO_STREAM *in, int *run, int *level);
extern int read_dct_ac_coefficient_b14(VIDEO_STREAM *in, int *run, int *level);
extern int read_dct_ac_coefficient_mpeg1(VIDEO_STREAM *in, int *run, int *level);
extern int read_dct_ac_coefficient_b15(VIDEO_STREAM *in, int *run, int *level);
#endif

#ifdef __cplusplus
}
#endif

#endif	

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?