ffh264.h

来自「64-bits H.264 from ffmpeg 2008 version B」· C头文件 代码 · 共 28 行

H
28
字号
#define H264_DEC_CREATE  0 /* create decore instance; return 0 on success */
#define H264_DEC_DECODE  1 /* decode a frame: returns number of bytes consumed >= 0 */
#define H264_DEC_DESTROY 2 /* destroy decore instance: return 0 on success */

#ifdef __cplusplus
extern "C" {
#endif

typedef struct _h264_dec_create_t
{
	void* handle;
}h264_dec_create_t;

typedef struct _h264_dec_frame_t
{
	long			type;
	unsigned long	size;		/* [in]     bitstream length */
	unsigned long	width;
	unsigned long	height;
	void*			bitstream;	/* [in]     input  image (read in) */
	void*			output_ARGB;
}h264_dec_frame_t;

extern int h264_decore(int opt, void* handle, void* param);

#ifdef __cplusplus
}
#endif

⌨️ 快捷键说明

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