亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? global.h

?? jm_frext22.ZIP的壓縮文件,主要用于嵌入式系統圖象的編解碼的開發.
?? H
?? 第 1 頁 / 共 2 頁
字號:
               actual method depends on chosen data partition and
               entropy coding method  */
} DataPartition;

//! Slice
typedef struct
{
  int                 ei_flag;       //!< 0 if the partArr[0] contains valid information
  int                 qp;
  int                 picture_type;  //!< picture type
  PictureStructure    structure;     //!< Identify picture structure type
  int                 start_mb_nr;   //!< MUST be set by NAL even in case of ei_flag == 1
  int                 max_part_nr;
  int                 dp_mode;       //!< data partioning mode
  int                 next_header;
//  int                 last_mb_nr;    //!< only valid when entropy coding == CABAC
  DataPartition       *partArr;      //!< array of partitions
  MotionInfoContexts  *mot_ctx;      //!< pointer to struct of context models for use in CABAC
  TextureInfoContexts *tex_ctx;      //!< pointer to struct of context models for use in CABAC
  
  int                 ref_pic_list_reordering_flag_l0;
  int                 *remapping_of_pic_nums_idc_l0;
  int                 *abs_diff_pic_num_minus1_l0;
  int                 *long_term_pic_idx_l0;
  int                 ref_pic_list_reordering_flag_l1;
  int                 *remapping_of_pic_nums_idc_l1;
  int                 *abs_diff_pic_num_minus1_l1;
  int                 *long_term_pic_idx_l1;

  int     (*readSlice)(struct img_par *, struct inp_par *);

  int                 LFDisableIdc;     //!< Disable loop filter on slice
  int                 LFAlphaC0Offset;  //!< Alpha and C0 offset for filtering slice
  int                 LFBetaOffset;     //!< Beta offset for filtering slice

  int                 pic_parameter_set_id;   //!<the ID of the picture parameter set the slice is reffering to

} Slice;

//****************************** ~DM ***********************************

// image parameters
typedef struct img_par
{
  int number;                                 //!< frame number
  unsigned current_mb_nr; // bitstream order
  unsigned num_dec_mb;
  int current_slice_nr;
  int *intra_block;
  int tr;                                     //!< temporal reference, 8 bit, wrapps at 255
  int qp;                                     //!< quant for the current frame
  int qpsp;                                   //!< quant for SP-picture predicted frame
  int sp_switch;                              //!< 1 for switching sp, 0 for normal sp
  int direct_type;                            //!< 1 for Spatial Direct, 0 for Temporal
  int type;                                   //!< image type INTER/INTRA
  int width;
  int height;
  int width_cr;                               //!< width chroma
  int height_cr;                              //!< height chroma
  int mb_y;
  int mb_x;
  int block_y;
  int pix_y;
  int pix_x;
  int pix_c_y;
  int block_x;
  int pix_c_x;

  int allrefzero;
  imgpel mpr[16][16];                         //!< predicted block
  int mvscale[6][MAX_REFERENCE_PICTURES];
  int m7[16][16];                             //!< final 4x4 block. Extended to 16x16 for ABT
  int cof[4][12][4][4];                       //!< correction coefficients from predicted   
  int cofu[16];                                                                             
  int **ipredmode;                            //!< prediction type [90][74]
  int *quad;
  int ***nz_coeff;
  int **siblock;
  int cod_counter;                            //!< Current count of number of skipped macroblocks in a row

  int newframe;

  int structure;                               //!< Identify picture structure type
  int pstruct_next_P;

  // B pictures
  Slice       *currentSlice;                   //!< pointer to current Slice data struct
  Macroblock          *mb_data;                //!< array containing all MBs of a whole frame
  int subblock_x;
  int subblock_y;
  int is_intra_block;
  int is_v_block;

  // For MB level frame/field coding
  int MbaffFrameFlag;

  // for signalling to the neighbour logic that this is a deblocker call
  int DeblockCall;

  int **field_anchor;

  DecRefPicMarking_t *dec_ref_pic_marking_buffer;                    //!< stores the memory management control operations

  int disposable_flag;                          //!< flag for disposable frame, 1:disposable
  int num_ref_idx_l0_active;             //!< number of forward reference
  int num_ref_idx_l1_active;             //!< number of backward reference

  int slice_group_change_cycle;
  // JVT-D101
  int redundant_slice_flag; 
  int redundant_pic_cnt; 

  int explicit_B_prediction;

  unsigned int pre_frame_num;           //!< store the frame_num in the last decoded slice. For detecting gap in frame_num.

  // End JVT-D101
  // POC200301: from unsigned int to int
           int toppoc;      //poc for this top field // POC200301
           int bottompoc;   //poc of bottom field of frame
           int framepoc;    //poc of this frame // POC200301
  unsigned int frame_num;   //frame_num for this frame
  unsigned int field_pic_flag;
  unsigned int bottom_field_flag;
  
  //the following is for slice header syntax elements of poc
  // for poc mode 0.
  unsigned int pic_order_cnt_lsb;
           int delta_pic_order_cnt_bottom;
  // for poc mode 1.
           int delta_pic_order_cnt[3];

  // ////////////////////////
  // for POC mode 0:
    signed int PrevPicOrderCntMsb;
  unsigned int PrevPicOrderCntLsb;
    signed int PicOrderCntMsb;

  // for POC mode 1:
  unsigned int AbsFrameNum;
    signed int ExpectedPicOrderCnt, PicOrderCntCycleCnt, FrameNumInPicOrderCntCycle;
  unsigned int PreviousFrameNum, FrameNumOffset;
           int ExpectedDeltaPerPicOrderCntCycle;
           int PreviousPOC, ThisPOC;
           int PreviousFrameNumOffset;
  // /////////////////////////

  //weighted prediction
  unsigned int luma_log2_weight_denom;
  unsigned int chroma_log2_weight_denom;
  int ***wp_weight;  // weight in [list][index][component] order
  int ***wp_offset;  // offset in [list][index][component] order
  int ****wbp_weight; //weight in [list][fw_index][bw_index][component] order
  int wp_round_luma;
  int wp_round_chroma;
  unsigned int apply_weights;

  int idr_flag;
  int nal_reference_idc;                       //!< nal_reference_idc from NAL unit

  int idr_pic_id;

  int MaxFrameNum;

  unsigned PicWidthInMbs;
  unsigned PicHeightInMapUnits;
  unsigned FrameHeightInMbs;
  unsigned PicHeightInMbs;
  unsigned PicSizeInMbs;
  unsigned FrameSizeInMbs;
  unsigned oldFrameSizeInMbs;

  int no_output_of_prior_pics_flag;
  int long_term_reference_flag;
  int adaptive_ref_pic_buffering_flag;

  int last_has_mmco_5;
  int last_pic_bottom_field;

  int model_number;

  // Fidelity Range Extensions Stuff
  int pic_unit_bitsize_on_disk;
  int bitdepth_luma;
  int bitdepth_chroma;
  int bitdepth_luma_qp_scale;
  int bitdepth_chroma_qp_scale;
  unsigned int dc_pred_value;                 //!< value for DC prediction (depends on pel bit depth)
  int max_imgpel_value;                       //!< max value that one picture element (pixel) can take (depends on pic_unit_bitdepth)
  int max_imgpel_value_uv; // WSKIM SAMSUNG AIT
  int AllowTransform8x8;        
  int profile_idc;              
  int yuv_format;
  int lossless_qpprime_flag;
  int num_blk8x8_uv;
  int num_cdc_coeff;
  int mb_cr_size_x;
  int mb_cr_size_y;
  int chroma_qp_offset[2];                    //!< offset for qp for chroma [0-Cb, 1-Cr] 
  
  int idr_psnr_number;
  int psnr_number;

  time_t ltime_start;               // for time measurement
  time_t ltime_end;                 // for time measurement

  // Residue Color Transform
  int residue_transform_flag;// D.BIRINOV SAMSUNG AIT

#ifdef WIN32
  struct _timeb tstruct_start;
  struct _timeb tstruct_end;
#else
  struct timeb tstruct_start;
  struct timeb tstruct_end;
#endif

} ImageParameters;

extern ImageParameters *img;
extern struct snr_par  *snr;
// signal to noice ratio parameters
struct snr_par
{
  float snr_y;                                 //!< current Y SNR
  float snr_u;                                 //!< current U SNR
  float snr_v;                                 //!< current V SNR
  float snr_y1;                                //!< SNR Y(dB) first frame
  float snr_u1;                                //!< SNR U(dB) first frame
  float snr_v1;                                //!< SNR V(dB) first frame
  float snr_ya;                                //!< Average SNR Y(dB) remaining frames
  float snr_ua;                                //!< Average SNR U(dB) remaining frames
  float snr_va;                                //!< Average SNR V(dB) remaining frames
};

int tot_time;

// input parameters from configuration file
struct inp_par
{
  char infile[100];                       //!< H.264 inputfile
  char outfile[100];                      //!< Decoded YUV 4:2:0 output
  char reffile[100];                      //!< Optional YUV 4:2:0 reference file for SNR measurement
  int FileFormat;                         //!< File format of the Input file, PAR_OF_ANNEXB or PAR_OF_RTP
  int dpb_size;                          //!< Frame buffer size
  int ref_offset;
  int poc_scale;

#ifdef _LEAKYBUCKET_
  unsigned long R_decoder;                //!< Decoder Rate in HRD Model
  unsigned long B_decoder;                //!< Decoder Buffer size in HRD model
  unsigned long F_decoder;                //!< Decoder Inital buffer fullness in HRD model
  char LeakyBucketParamFile[100];         //!< LeakyBucketParamFile
#endif

  int LowPassForIntra8x8;
};

extern struct inp_par *input;

typedef struct pix_pos
{
  int available;
  int mb_addr;
  int x;
  int y;
  int pos_x;
  int pos_y;
} PixelPos;

typedef struct old_slice_par
{
   unsigned field_pic_flag;
   unsigned bottom_field_flag;
   unsigned frame_num;
   int nal_ref_idc;
   unsigned pic_oder_cnt_lsb;
   int delta_pic_oder_cnt_bottom;
   int delta_pic_order_cnt[2];
   int idr_flag;
   int idr_pic_id;
   int pps_id;
} OldSliceParams;

extern OldSliceParams old_slice;

// files
int p_out;                    //!< file descriptor to output YUV file
//FILE *p_out2;                    //!< pointer to debug output YUV file
int p_ref;                    //!< pointer to input original reference YUV file file

FILE *p_log;                    //!< SNR file

#if TRACE
FILE *p_trace;
#endif

// Residue Color Transform
int mprRGB[3][16][16];
int rec_res[3][16][16];
// D.BIRINOV SAMSUNG AIT

// prototypes
void init_conf(struct inp_par *inp, char *config_filename);
void report(struct inp_par *inp, struct img_par *img, struct snr_par *snr);
void init(struct img_par *img);

void malloc_slice(struct inp_par *inp, struct img_par *img);
void free_slice(struct inp_par *inp, struct img_par *img);

int  decode_one_frame(struct img_par *img,struct inp_par *inp, struct snr_par *snr);
void init_picture(struct img_par *img, struct inp_par *inp);
void exit_picture();

int  read_new_slice();
void decode_one_slice(struct img_par *img,struct inp_par *inp);

void start_macroblock(struct img_par *img,struct inp_par *inp, int CurrentMBInScanOrder);
int  read_one_macroblock(struct img_par *img,struct inp_par *inp);
void read_ipred_modes(struct img_par *img,struct inp_par *inp);
int  decode_one_macroblock(struct img_par *img,struct inp_par *inp);
int  exit_macroblock(struct img_par *img,struct inp_par *inp, int eos_bit);
void decode_ipcm_mb(struct img_par *img);


void readMotionInfoFromNAL (struct img_par *img,struct inp_par *inp);
void readCBPandCoeffsFromNAL(struct img_par *img,struct inp_par *inp);
void readIPCMcoeffsFromNAL(struct img_par *img, struct inp_par *inp, struct datapartition *dP);

void readLumaCoeff8x8_CABAC (struct img_par *img,struct inp_par *inp, int b8);
void itrans8x8(struct img_par *img, int ioff, int joff);

void copyblock_sp(struct img_par *img,int block_x,int block_y);
void itrans_sp_chroma(struct img_par *img,int ll);
void itrans(struct img_par *img,int ioff,int joff,int i0,int j0, int chroma); // D.Birinov SAMSUNG AIT
void itrans_sp(struct img_par *img,int ioff,int joff,int i0,int j0);
int  intrapred(struct img_par *img,int ioff,int joff,int i4,int j4);
void itrans_2(struct img_par *img);
int  intrapred_luma_16x16(struct img_par *img,int predmode);
void intrapred_chroma(struct img_par *img, int uv);
int  sign(int a , int b);

// SLICE function pointers
int  (*nal_startcode_follows) ();

// NAL functions TML/CABAC bitstream
int  uvlc_startcode_follows();
int  cabac_startcode_follows();
void free_Partition(Bitstream *currStream);

// ErrorConcealment
void reset_ec_flags();

void error(char *text, int code);
int  is_new_picture();
void init_old_slice();

// dynamic mem allocation
int  init_global_buffers();
void free_global_buffers();

void frame_postprocessing(struct img_par *img, struct inp_par *inp);
void field_postprocessing(struct img_par *img, struct inp_par *inp);
int  bottom_field_picture(struct img_par *img,struct inp_par *inp);
void decode_slice(struct img_par *img,struct inp_par *inp, int current_header);

#define PAYLOAD_TYPE_IDERP 8
int RBSPtoSODB(byte *streamBuffer, int last_byte_pos);
int EBSPtoRBSP(byte *streamBuffer, int end_bytepos, int begin_bytepos);

// For MB level frame/field coding
void init_super_macroblock(struct img_par *img,struct inp_par *inp);
void exit_super_macroblock(struct img_par *img,struct inp_par *inp);
int  decode_super_macroblock(struct img_par *img,struct inp_par *inp);
void decode_one_Copy_topMB(struct img_par *img,struct inp_par *inp);

void SetOneRefMV(struct img_par* img);
int peekSyntaxElement_UVLC(SyntaxElement *sym, struct img_par *img, struct inp_par *inp, struct datapartition *dP);

void fill_wp_params(struct img_par *img);

void reset_wp_params(struct img_par *img);

void FreePartition (DataPartition *dp, int n);
DataPartition *AllocPartition();

void tracebits2(const char *trace_str, int len, int info);

void init_decoding_engine_IPCM(struct img_par *img);
void readIPCMBytes_CABAC(SyntaxElement *sym, Bitstream *currStream);

#endif

// For Q-matrix
void AssignQuantParam(pic_parameter_set_rbsp_t* pps, seq_parameter_set_rbsp_t* sps);
void CalculateQuantParam(void);
void CalculateQuant8Param(void);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人免费视频播放| 成人精品gif动图一区| 国产无遮挡一区二区三区毛片日本| 99久久精品一区二区| 免费国产亚洲视频| 亚洲视频综合在线| 精品国产乱码久久久久久1区2区| 91视频免费看| 国产91在线|亚洲| 日韩中文字幕一区二区三区| 国产精品妹子av| 日韩美女在线视频| 欧美色手机在线观看| 成a人片亚洲日本久久| 美女网站色91| 午夜精品在线看| 亚洲色图视频网| 国产精品久线观看视频| 精品91自产拍在线观看一区| 欧美一区二区在线视频| 日本国产一区二区| 99精品视频一区| 国产成人a级片| 国产一区二区调教| 麻豆91精品视频| 亚洲第一av色| 午夜精品久久一牛影视| 一区二区国产盗摄色噜噜| 亚洲素人一区二区| 亚洲色图制服诱惑| 国产精品嫩草99a| 国产婷婷一区二区| 国产日韩欧美综合一区| 日韩免费高清视频| 日韩精品中文字幕在线不卡尤物| 欧美日韩一级大片网址| 色哦色哦哦色天天综合| 91麻豆福利精品推荐| 99精品视频免费在线观看| 国产91精品入口| av中文字幕亚洲| 成人性生交大合| www.成人在线| 色综合天天综合狠狠| 91亚洲永久精品| 99久久精品国产麻豆演员表| 成人avav在线| 91色九色蝌蚪| 欧美性猛交xxxx乱大交退制版| 欧洲激情一区二区| 欧美色综合天天久久综合精品| 欧美手机在线视频| 在线不卡的av| 精品免费国产二区三区| 精品国产免费一区二区三区四区| 精品av综合导航| 国产精品私人自拍| 亚洲人成精品久久久久久| 亚洲一区在线免费观看| 亚洲第一成人在线| 久久er精品视频| 国产不卡视频在线观看| 99免费精品视频| 欧美性猛交xxxxxx富婆| 欧美一区二区人人喊爽| 久久亚洲欧美国产精品乐播| 久久精品男人的天堂| 亚洲欧美日韩精品久久久久| 亚洲地区一二三色| 精品一区在线看| 99精品一区二区| 91精品国产综合久久久久久| 欧美精品一区二区三区一线天视频| 国产欧美一区二区三区鸳鸯浴| 1区2区3区欧美| 日本不卡免费在线视频| 风间由美一区二区三区在线观看 | 久久精品国产一区二区三| 国产精品99久久不卡二区| 色噜噜狠狠色综合欧洲selulu| 欧美精品vⅰdeose4hd| 久久久精品欧美丰满| 一区二区在线观看免费视频播放| 日韩成人免费看| 国产麻豆精品95视频| av一本久道久久综合久久鬼色| 欧美亚洲一区二区在线| 久久久不卡影院| 午夜婷婷国产麻豆精品| 懂色av噜噜一区二区三区av| 欧美性猛交xxxxxxxx| 中文字幕不卡三区| 久久国产人妖系列| 色诱亚洲精品久久久久久| 26uuuu精品一区二区| 五月婷婷激情综合| 色欲综合视频天天天| 国产日韩欧美在线一区| 日本一区中文字幕| 99精品欧美一区| 国产视频在线观看一区二区三区| 日韩影视精彩在线| 色偷偷成人一区二区三区91 | 色婷婷综合久久久久中文| 在线播放/欧美激情| 欧美一卡二卡三卡四卡| 国产精品黄色在线观看| 免费在线观看日韩欧美| caoporm超碰国产精品| 欧美老肥妇做.爰bbww| 国产欧美一区二区精品性色超碰| 香蕉久久夜色精品国产使用方法 | 中文字幕欧美日韩一区| 午夜视频在线观看一区二区三区| 国产一区二区精品在线观看| 在线免费不卡电影| 国产精品成人免费精品自在线观看| 麻豆精品在线看| 欧美美女喷水视频| 亚洲午夜在线观看视频在线| 国产精品影音先锋| 3d动漫精品啪啪| 亚洲欧美日韩久久| 丁香啪啪综合成人亚洲小说| 久久亚区不卡日本| 日韩二区三区四区| 国产夫妻精品视频| 欧美一二三区精品| 亚洲一区二区三区爽爽爽爽爽| 国产1区2区3区精品美女| 欧美成人伊人久久综合网| 亚洲视频免费观看| 91丨porny丨国产| 中文天堂在线一区| 激情综合色播五月| 欧美精品v日韩精品v韩国精品v| 国产欧美一区二区精品性| 国产激情视频一区二区在线观看| 日韩一区二区三区观看| 亚欧色一区w666天堂| 91福利资源站| 中文字幕一区二区在线观看| 色综合天天性综合| 国产精品国产三级国产aⅴ原创| 激情六月婷婷综合| 日韩视频免费直播| 久久爱www久久做| 国产亚洲一区二区三区四区| 老司机精品视频一区二区三区| 欧美日韩成人激情| 五月天一区二区| 欧美理论在线播放| 亚洲卡通动漫在线| 欧美日韩中文字幕精品| 亚洲黄色尤物视频| 91九色最新地址| 亚洲男人都懂的| 欧美日韩一区二区三区在线| 亚洲激情第一区| 欧美午夜精品免费| 日韩专区欧美专区| 日韩一级片在线播放| 国产福利一区二区三区视频在线| 久久你懂得1024| 国产99久久精品| 亚洲色图制服诱惑 | www.日韩大片| 成人免费在线视频观看| 在线播放欧美女士性生活| 日韩和欧美的一区| 精品国产露脸精彩对白| 国产高清无密码一区二区三区| 精品久久久久久久久久久久包黑料| 粉嫩在线一区二区三区视频| 亚洲欧洲国产专区| 91精品91久久久中77777| 亚洲成人av电影| 欧美绝品在线观看成人午夜影视| 国内精品久久久久影院一蜜桃| 久久久久国产精品麻豆| bt欧美亚洲午夜电影天堂| 亚洲综合色婷婷| 日韩一区二区三区视频在线| 国产电影一区在线| 一区二区三区国产精品| 日韩欧美一二三| 国产在线精品一区二区三区不卡| 综合在线观看色| 日韩一级黄色大片| 国产不卡在线播放| 亚洲高清一区二区三区| 久久久国产精华| 日本韩国一区二区| 久久精工是国产品牌吗| 国产免费成人在线视频| 日韩一级视频免费观看在线| 播五月开心婷婷综合| 日本亚洲视频在线| 国产精品久久久久影院亚瑟| 日韩丝袜情趣美女图片|