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

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

?? mbuffer.h

?? jm_frext22.ZIP的壓縮文件,主要用于嵌入式系統圖象的編解碼的開發.
?? H
字號:

/*!
 ***********************************************************************
 *  \file
 *      mbuffer.h
 *
 *  \brief
 *      Frame buffer functions
 *
 *  \author
 *      Main contributors (see contributors.h for copyright, address and affiliation details)
 *      - Karsten S黨ring          <suehring@hhi.de>
 ***********************************************************************
 */
#ifndef _MBUFFER_H_
#define _MBUFFER_H_

#include "global.h"

#define MAX_LIST_SIZE 33

//! definition a picture (field or frame)
typedef struct storable_picture
{
  PictureStructure structure;

  int         poc;
  int         top_poc;
  int         bottom_poc;
  int         frame_poc;
  int         order_num;
  int64       ref_pic_num        [MAX_NUM_SLICES][6][MAX_LIST_SIZE];
  int64       frm_ref_pic_num    [MAX_NUM_SLICES][6][MAX_LIST_SIZE];
  int64       top_ref_pic_num    [MAX_NUM_SLICES][6][MAX_LIST_SIZE];
  int64       bottom_ref_pic_num [MAX_NUM_SLICES][6][MAX_LIST_SIZE];
  unsigned    frame_num;
  int         pic_num;
  int         long_term_pic_num;
  int         long_term_frame_idx;

  int         is_long_term;
  int         used_for_reference;
  int         is_output;
  int         non_existing;

  int         max_slice_id;

  int         size_x, size_y, size_x_cr, size_y_cr;
  int         chroma_vector_adjustment;
  int         coded_frame;
  int         MbaffFrameFlag;
  unsigned    PicWidthInMbs;
  unsigned    PicSizeInMbs;

  imgpel **     imgY;          //!< Y picture component
  imgpel ***    imgUV;         //!< U and V picture components

  byte *      mb_field;      //!< field macroblock indicator

  int  **     slice_id;      //!< reference picture   [mb_x][mb_y]

  int  ***    ref_idx;       //!< reference picture   [list][subblock_x][subblock_y]

  int64 ***    ref_pic_id;    //!< reference picture identifier [list][subblock_x][subblock_y]
                             //   (not  simply index) 

  int64 ***    ref_id;    //!< reference picture identifier [list][subblock_x][subblock_y]
                             //   (not  simply index) 

  int  ****   mv;            //!< motion vector       [list][subblock_x][subblock_y][component]
  
  byte **     moving_block;
  byte **     field_frame;         //!< indicates if co_located is field or frame.
  
  struct storable_picture *top_field;     // for mb aff, if frame for referencing the top field
  struct storable_picture *bottom_field;  // for mb aff, if frame for referencing the bottom field
  struct storable_picture *frame;         // for mb aff, if field for referencing the combined frame

  int         slice_type;
  int         idr_flag;
  int         no_output_of_prior_pics_flag;
  int         long_term_reference_flag;
  int         adaptive_ref_pic_buffering_flag;

  int         frame_mbs_only_flag;
  int         frame_cropping_flag;
  int         frame_cropping_rect_left_offset;
  int         frame_cropping_rect_right_offset;
  int         frame_cropping_rect_top_offset;
  int         frame_cropping_rect_bottom_offset;

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

} StorablePicture;


//! definition a picture (field or frame)
typedef struct colocated_params
{
//  byte *      mb_field;      //!< field macroblock indicator
  int         mb_adaptive_frame_field_flag;
  int         size_x, size_y;

  int64       ref_pic_num[6][MAX_LIST_SIZE];  

  int  ***    ref_idx;       //!< reference picture   [list][subblock_x][subblock_y]
  int64 ***    ref_pic_id;    //!< reference picture identifier [list][subblock_x][subblock_y]
  int  ****   mv;            //!< motion vector       [list][subblock_x][subblock_y][component]  
  byte **     moving_block;

  // Top field params
  int64       top_ref_pic_num[6][MAX_LIST_SIZE];  
  int  ***    top_ref_idx;       //!< reference picture   [list][subblock_x][subblock_y]
  int64 ***    top_ref_pic_id;    //!< reference picture identifier [list][subblock_x][subblock_y]
  int  ****   top_mv;            //!< motion vector       [list][subblock_x][subblock_y][component]  
  byte **     top_moving_block;

  // Bottom field params
  int64       bottom_ref_pic_num[6][MAX_LIST_SIZE];  
  int  ***    bottom_ref_idx;       //!< reference picture   [list][subblock_x][subblock_y]
  int64 ***    bottom_ref_pic_id;    //!< reference picture identifier [list][subblock_x][subblock_y]
  int  ****   bottom_mv;            //!< motion vector       [list][subblock_x][subblock_y][component] 
  byte **     bottom_moving_block;
  
  int         is_long_term;
  byte **     field_frame;         //!< indicates if co_located is field or frame.
  //struct colocated_params *top_field;     // for mb aff, if frame for referencing the top field
  //struct colocated_params *bottom_field;  // for mb aff, if frame for referencing the bottom field
  //struct colocated_params *frame;         // for mb aff, if field for referencing the combined frame

} ColocatedParams;

//! Frame Stores for Decoded Picture Buffer
typedef struct frame_store
{
  int       is_used;                //!< 0=empty; 1=top; 2=bottom; 3=both fields (or frame)
  int       is_reference;           //!< 0=not used for ref; 1=top used; 2=bottom used; 3=both fields (or frame) used
  int       is_long_term;           //!< 0=not used for ref; 1=top used; 2=bottom used; 3=both fields (or frame) used
  int       is_orig_reference;      //!< original marking by nal_ref_idc: 0=not used for ref; 1=top used; 2=bottom used; 3=both fields (or frame) used

  int       is_non_existent;

  unsigned  frame_num;
  int       frame_num_wrap;
  int       long_term_frame_idx;
  int       is_output;
  int       poc;

  StorablePicture *frame;
  StorablePicture *top_field;
  StorablePicture *bottom_field;

} FrameStore;


//! Decoded Picture Buffer
typedef struct decoded_picture_buffer
{
  FrameStore  **fs;
  FrameStore  **fs_ref;
  FrameStore  **fs_ltref;
  unsigned      size;
  unsigned      used_size;
  unsigned      ref_frames_in_buffer;
  unsigned      ltref_frames_in_buffer;
  int           last_output_poc;
  int           max_long_term_pic_idx;

  int           init_done;
  int           num_ref_frames;

  FrameStore   *last_picture;
} DecodedPictureBuffer;


extern DecodedPictureBuffer dpb;
extern StorablePicture **listX[6];
extern int listXsize[6];

void             init_dpb();
void             free_dpb();
FrameStore*      alloc_frame_store();
void             free_frame_store(FrameStore* f);
StorablePicture* alloc_storable_picture(PictureStructure type, int size_x, int size_y, int size_x_cr, int size_y_cr);
void             free_storable_picture(StorablePicture* p);
void             store_picture_in_dpb(StorablePicture* p);
void             flush_dpb();

void             dpb_split_field(FrameStore *fs);
void             dpb_combine_field(FrameStore *fs);

void             init_lists(int currSliceType, PictureStructure currPicStructure);
void             reorder_ref_pic_list(StorablePicture **list, int *list_size, 
                                      int num_ref_idx_lX_active_minus1, int *remapping_of_pic_nums_idc, 
                                      int *abs_diff_pic_num_minus1, int *long_term_pic_idx);

void             init_mbaff_lists();
void             alloc_ref_pic_list_reordering_buffer(Slice *currSlice);
void             free_ref_pic_list_reordering_buffer(Slice *currSlice);

void             fill_frame_num_gap(ImageParameters *img);

ColocatedParams* alloc_colocated(int size_x, int size_y,int mb_adaptive_frame_field_flag);
void free_collocated(ColocatedParams* p);
void compute_collocated(ColocatedParams* p, StorablePicture **listX[6]);

#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲韩国一区二区三区| 日韩欧美不卡一区| 精品国内片67194| 亚洲日本欧美天堂| 国内国产精品久久| 欧美日韩一区高清| 国产精品久久久久久户外露出 | 欧美一区在线视频| 成人欧美一区二区三区小说| 久久国产麻豆精品| 欧美区一区二区三区| 自拍偷拍欧美精品| 高清国产一区二区三区| 欧美日韩国产123区| 自拍av一区二区三区| 国产一区二区影院| 日韩一二三四区| 亚洲aⅴ怡春院| 色999日韩国产欧美一区二区| 欧美国产一区视频在线观看| 麻豆成人免费电影| 这里只有精品99re| 香蕉影视欧美成人| 欧美色图免费看| 一区二区三区久久久| 972aa.com艺术欧美| 国产欧美精品区一区二区三区| 国精产品一区一区三区mba桃花| 日韩一区二区在线免费观看| 日韩精品久久久久久| 欧美麻豆精品久久久久久| 亚洲国产视频一区二区| 91福利小视频| 一区二区三区高清| 欧美中文字幕不卡| 椎名由奈av一区二区三区| 9人人澡人人爽人人精品| 中文字幕一区视频| eeuss鲁片一区二区三区| 国产精品免费久久久久| 粉嫩13p一区二区三区| 国产片一区二区三区| 国产福利一区二区| 欧美韩日一区二区三区四区| 国产一区二区三区香蕉| 精品蜜桃在线看| 精品亚洲aⅴ乱码一区二区三区| 欧美精品一区二区三| 国产精品99久久久久久有的能看 | 精品国产一区二区三区av性色| 日本91福利区| 久久综合成人精品亚洲另类欧美 | 亚洲成人资源在线| 欧美羞羞免费网站| 日韩制服丝袜先锋影音| 日韩欧美黄色影院| 国产又黄又大久久| 国产精品女同一区二区三区| 91丨九色porny丨蝌蚪| 亚洲精品高清在线| 欧美日韩免费观看一区三区| 蜜桃久久精品一区二区| 久久久久久久一区| 99天天综合性| 亚洲成av人片www| 精品日韩在线一区| 国产成人精品免费在线| 亚洲视频每日更新| 欧美精品久久一区二区三区| 激情伊人五月天久久综合| 亚洲国产激情av| 色狠狠色狠狠综合| 人人爽香蕉精品| 中国色在线观看另类| 色94色欧美sute亚洲线路二| 亚洲国产精品天堂| 精品欧美一区二区三区精品久久| 处破女av一区二区| 亚洲第一福利一区| 精品国产一区二区三区久久久蜜月| 国产99精品在线观看| 亚洲一区二区三区四区在线观看 | 精品日韩欧美在线| voyeur盗摄精品| 婷婷久久综合九色综合伊人色| 欧美精品一区二区三区很污很色的| 91麻豆国产精品久久| 日韩av在线发布| 中文字幕人成不卡一区| 在线不卡免费av| 国产sm精品调教视频网站| 亚洲综合在线五月| 精品国产乱码久久久久久夜甘婷婷 | 亚洲精品一区二区三区99| 99re视频精品| 美女尤物国产一区| 亚洲人成精品久久久久| 欧美大片顶级少妇| 91在线观看地址| 狠狠色丁香九九婷婷综合五月| 国产精品久久久久影院色老大| 538在线一区二区精品国产| 国产成都精品91一区二区三| 婷婷开心久久网| 亚洲视频免费在线观看| 久久理论电影网| 欧美日产国产精品| 99精品视频在线免费观看| 麻豆一区二区在线| 亚洲精品高清在线| 中文字幕av不卡| 日韩精品综合一本久道在线视频| 91蝌蚪porny九色| 国产一区在线精品| 日韩在线观看一区二区| 亚洲欧美经典视频| 久久久久久久综合色一本| 91精品国产色综合久久不卡电影| 91美女在线观看| 国产激情精品久久久第一区二区| 日韩一区精品视频| 一区二区日韩av| 国产精品国产a| 国产亚洲精品久| 日韩精品一区二区三区四区| 欧美视频中文字幕| www.综合网.com| 国产伦精品一区二区三区在线观看 | 欧美视频一区二区在线观看| 成人午夜激情片| 玖玖九九国产精品| 亚洲成人动漫一区| 樱花草国产18久久久久| 国产精品久久福利| 中文无字幕一区二区三区 | 欧洲精品一区二区| 成人激情小说乱人伦| 国产乱淫av一区二区三区| 美女一区二区视频| 欧美a级一区二区| 性久久久久久久| 亚洲乱码中文字幕| 中文字幕在线免费不卡| 中文字幕中文字幕中文字幕亚洲无线| 久久久久久久性| 精品国产露脸精彩对白| 日韩欧美一级精品久久| 91精品国产欧美一区二区| 精品视频在线免费看| av一区二区不卡| 99在线精品一区二区三区| av一区二区三区黑人| 99久久精品免费观看| 成人av网站大全| eeuss影院一区二区三区 | 日韩av一级片| 亚洲观看高清完整版在线观看| 一区二区在线观看不卡| 亚洲精品国产精华液| 亚洲综合在线五月| 亚洲高清中文字幕| 日本欧美加勒比视频| 日韩在线卡一卡二| 久久精品国产在热久久| 麻豆一区二区三| 国产麻豆一精品一av一免费| 国产成人av电影在线播放| 成人深夜视频在线观看| 成人免费av资源| 北条麻妃国产九九精品视频| av中文字幕不卡| 91视频在线观看免费| 欧美午夜寂寞影院| 欧美精选午夜久久久乱码6080| 欧美日韩日日夜夜| 亚洲精品一线二线三线| 国产欧美日韩视频一区二区| 中文字幕一区二区三区四区| 久久久久国产精品麻豆| 国产精品视频yy9299一区| 亚洲欧美日韩一区二区| 亚洲国产精品一区二区久久恐怖片| 一卡二卡三卡日韩欧美| 日韩成人一区二区三区在线观看| 久久精品72免费观看| 韩国精品主播一区二区在线观看| 国产一区二区免费看| 成人激情校园春色| 在线观看av一区二区| 91精品国产综合久久香蕉麻豆| 精品欧美一区二区在线观看| 国产精品久久夜| 一区二区三区免费| 日本午夜一本久久久综合| 国产乱淫av一区二区三区| 97se亚洲国产综合自在线不卡| 欧美色视频一区| 亚洲精品在线免费观看视频| 亚洲欧洲精品成人久久奇米网| 性感美女久久精品|