⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 decoder.h

📁 网络MPEG4IP流媒体开发源代码
💻 H
字号:
#ifndef _DECODER_H_#define _DECODER_H_#include "xvid.h"#include "portab.h"#include "global.h"#include "image/image.h"typedef struct{	// bitstream	uint32_t shape;	uint32_t time_inc_bits;	uint32_t quant_bits;	uint32_t quant_type;	uint32_t quarterpel;	uint32_t interlacing;	uint32_t top_field_first;	uint32_t alternate_vertical_scan;#ifdef MPEG4IP  int have_short_header;#endif	// image	uint32_t width;	uint32_t height;	uint32_t edged_width;	uint32_t edged_height;		IMAGE cur;	IMAGE refn;	IMAGE refh;	IMAGE refv;	IMAGE refhv;	// macroblock	uint32_t mb_width;	uint32_t mb_height;	MACROBLOCK * mbs;	} DECODER;void init_decoder(uint32_t cpu_flags);int decoder_alloc(XVID_DEC_PARAM * param);int decoder_initialize(DECODER * dec);int decoder_create(XVID_DEC_PARAM * param);int decoder_destroy(DECODER * dec);int decoder_decode(DECODER * dec, XVID_DEC_FRAME * frame);int decoder_find_vol(DECODER * dec, XVID_DEC_FRAME *frame, XVID_DEC_PARAM *param);#endif /* _DECODER_H_ */

⌨️ 快捷键说明

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