📄 decore.h
字号:
//*****************************************
//File name: decore.h
//Author: Anna
//Date:
//*****************************************
// decore options
#define DEC_OPT_MEMORY_REQS 0x00004000
#define DEC_OPT_INIT 0x00008000
//#define DEC_OPT_RELEASE 0x00010000
//#define DEC_OPT_SETPP 0x00020000 // set postprocessing mode
//#define DEC_OPT_SETOUT 0x00040000 // set output mode
// decore return values
#define DEC_OK 0
//#define DEC_MEMORY 1
//#define DEC_BAD_FORMAT 2
#define DEC_EXIT 3
/**
*
**/
//typedef struct _DEC_MEM_REQS_
//{
unsigned long mp4_edged_ref_buffers_size;
unsigned long mp4_edged_for_buffers_size;
unsigned long mp4_display_buffers_size;
unsigned long mp4_state_size;
unsigned long mp4_tables_size;
unsigned long mp4_stream_size;
//} DEC_MEM_REQS;
//typedef struct _DEC_BUFFERS_
//{
void * mp4_edged_ref_buffers;
void * mp4_edged_for_buffers;
void * mp4_display_buffers;
void * mp4_state;
void * mp4_tables;
void * mp4_stream;
//} DEC_BUFFERS;
//typedef struct _DEC_PARAM_
//{
int x_dim; // x dimension of the frames to be decoded
int y_dim; // y dimension of the frames to be decoded
// DEC_BUFFERS buffers;
//} DEC_PARAM;
//typedef struct _DEC_FRAME_
//{
void *bmp; // the decoded bitmap
void *bitstream; // the decoder buffer
int length; // the lenght of the decoder stream
int render_flag; // 1: the frame is going to be rendered
unsigned int stride; // decoded bitmap stride
//} DEC_FRAME;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -