📄 ffh264.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -