fmpeg4_avcodec.h

来自「基于Linux的ffmepg decoder」· C头文件 代码 · 共 34 行

H
34
字号
/* fmpeg4_avcodec.h (same with driver definition fmpeg4.h) */
#ifndef _FMPEG4_AVCODEC_H_
#define _FMPEG4_AVCODEC_H_

#define             FMPEG4_IOCTL_DECODE_INIT    0x4170
#define             FMPEG4_IOCTL_DECODE_DESTROY 0x4171
#define             FMPEG4_IOCTL_DECODE_FRAME   0x4172

#define             FMPEG4_IOCTL_ENCODE_INIT    0x4173
#define             FMPEG4_IOCTL_ENCODE_DESTROY 0x4174
#define             FMPEG4_IOCTL_ENCODE_FRAME   0x4175


typedef struct fmpeg4_parm{
    unsigned int input_phy_y;       //input Y phy address or RGB address
    unsigned int input_phy_u;       //input U phy address
    unsigned int input_phy_v;       //input V phy address
    unsigned int output_phy_y;      //output Y phy address or RGB address
    unsigned int output_phy_u;      //output U phy address
    unsigned int output_phy_v;      //output V phy address
    unsigned int length;
    unsigned int got_picture;
    unsigned int width;
    unsigned int height;
    unsigned int bit_rate;
    unsigned int frame_rate;
    unsigned int fb_rgb_stride;
    unsigned int fb_rgb_height;
    unsigned int enc_frame_type;
}fmpeg4_parm_t;


#endif

⌨️ 快捷键说明

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