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

📄 struct.h

📁 SAMSUNG 5009的源代码
💻 H
字号:
#ifndef __STR_H__
#define __STR_H__

/* Sequence layer information */
struct sequence_layer
{
  /* Header information in a sequence layer */
  unsigned int hor_size;		/* source horizontal size */
  unsigned int vert_size;		/* source vertical size */
  unsigned int hor_MB_size;		/* source horizontal size */
  unsigned int vert_MB_size;		/* source horizontal size */
  unsigned char frame_rate_code;
  unsigned char frame_rate_x_n;		// 2 bits
  unsigned char frame_rate_x_d;		// 5 bits
  unsigned char aspect_ratio;
  unsigned int bit_rate400;
  unsigned int min_vbv_size;
  unsigned int load_Q_matrix;		/* set by irq_user_Q_table */
  /* Header information of a sequence extention */
  //unsigned char progre_seq;
  //unsigned char chroma_format;
  //unsigned char profile_level_id;
  //unsigned char mpeg_mode;
  unsigned int seq_ext;
  /* Header information of a sequence display extention */
  unsigned char video_format;
  unsigned char colour_prim;
  unsigned char transfer_char;
  unsigned char matrix_coeff;
  unsigned int disp_hor_size;
  unsigned int disp_vert_size;
  
    
  struct sequence_layer *next_seq;
  struct sequence_layer *prev_seq;
};
typedef struct sequence_layer seq_infor;

struct GOP_layer
{
  /* Header information in a GOP layer */
  unsigned int GOP_header;		
  
  struct GOP_layer *next_GOP;
  struct GOP_layer *prev_GOP;
};
typedef struct GOP_layer GOP_infor;
struct picture_layer
{
  /* Header information in a picture layer */
  unsigned int vbv_delay;
  unsigned char pic_type;
  unsigned int temp_ref;
  /* Header information of a picture coding extention */
  unsigned int pic_cod_ext;
  unsigned char pic_struc;
  /* Header information of a picture display extention */
  unsigned int frame_centre_h_v_1;
  unsigned int frame_centre_h_v_2;
  unsigned int frame_centre_h_v_3;
  unsigned char num_of_fcentre_offset;
  
  /* Header information of a picture display extention */
  unsigned int pic_byte_size;
  unsigned int new_quant;	//load intra quant or not
  unsigned int MB_mode;		//q_scale_code & field or frame MB
  
  struct picture_layer *next_pic;
  struct picture_layer *prev_pic;
};
typedef struct picture_layer pic_infor;

struct ifo_variables
{
  /* rate control variables */
    
  /* extra I buffer control pointers and variables */
  unsigned int ext_I_wr0;		// write pointer going down
  unsigned int ext_I_wr1;		// write pointer going up
  unsigned int ext_I_rd[6];		// picture 0 read pointer
  
};
typedef struct ifo_variables IFO_var;

#endif

⌨️ 快捷键说明

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