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

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

?? mbuffer.h

?? the newest JM software by h.264 JVT official reference model.
?? 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"
#include "enc_statistics.h"

#define MAX_LIST_SIZE 33

typedef struct picture_stats
{
  double dsum[3];
  double dvar[3];
} PictureStats;


//! definition of pic motion parameters
typedef struct pic_motion_params
{
  int64 ***   ref_pic_id;    //!< reference picture identifier [list][subblock_y][subblock_x]
  int64 ***   ref_id;        //!< reference picture identifier [list][subblock_y][subblock_x]
  short ****  mv;            //!< motion vector       [list][subblock_x][subblock_y][component]
  char  ***   ref_idx;       //!< reference picture   [list][subblock_y][subblock_x]
  byte *      mb_field;      //!< field macroblock indicator
  byte **     field_frame;   //!< indicates if co_located is field or frame.

} PicMotionParams;

//! 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[6][MAX_LIST_SIZE];
  int64       frm_ref_pic_num[6][MAX_LIST_SIZE];
  int64       top_ref_pic_num[6][MAX_LIST_SIZE];
  int64       bottom_ref_pic_num[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         size_x, size_y, size_x_cr, size_y_cr;
  int         size_x_padded, size_y_padded;
  int         size_x_pad, size_y_pad;
  int         size_x_cr_pad, size_y_cr_pad;
  int         chroma_vector_adjustment;
  int         coded_frame;
  int         MbaffFrameFlag;

  imgpel **   imgY;          //!< Y picture component
  imgpel **** imgY_sub;      //!< Y picture component upsampled (Quarter pel)
  imgpel ***  imgUV;         //!< U and V picture components
  imgpel *****imgUV_sub;     //!< UV picture component upsampled (Quarter/One-Eighth pel)

  //Multiple Decoder Buffers (used if rdopt==3)
  imgpel ***  dec_imgY;       //!< Decoded Y component in multiple hypothetical decoders
  imgpel **** dec_imgUV;      //!< Decoded U and V components in multiple hypothetical decoders
  imgpel ***  p_dec_img[MAX_PLANE];      //!< pointer array for accessing decoded pictures in hypothetical decoders

  byte   ***  mb_error_map;    //!< Map of macroblock errors in hypothetical decoders.

  imgpel **   p_img[MAX_PLANE];          //!< pointer array for accessing imgY/imgUV[]
  imgpel **** p_img_sub[MAX_PLANE];      //!< pointer array for storing top address of imgY_sub/imgUV_sub[]
  imgpel **   p_curr_img;                //!< current int-pel ref. picture area to be used for motion estimation
  imgpel **** p_curr_img_sub;            //!< current sub-pel ref. picture area to be used for motion estimation

  //PicMotionParams2 ***mv_info;    //!< Motion info
  PicMotionParams  motion;    //!< Motion info
  PicMotionParams JVmotion[MAX_PLANE];    //!< Motion info for 4:4:4 independent coding

  int colour_plane_id;                     //!< colour_plane_id to be used for 4:4:4 independent mode encoding

  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         chroma_format_idc;
  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;

  PictureStats p_stats;
  StatParameters stats;

  int         type;

} StorablePicture;

//! definition of motion parameters
typedef struct motion_params
{
  int64 ***   ref_pic_id;    //!< reference picture identifier [list][subblock_y][subblock_x]
  short ****  mv;            //!< motion vector       [list][subblock_x][subblock_y][component]
  char  ***   ref_idx;       //!< reference picture   [list][subblock_y][subblock_x]
  byte **     moving_block;
} MotionParams;

//! definition a picture (field or frame)
typedef struct colocated_params
{
  int         mb_adaptive_frame_field_flag;
  int         size_x, size_y;
  byte        is_long_term;

  MotionParams frame;
  MotionParams top;
  MotionParams bottom;

} 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;

  FrameStore   *last_picture;
} DecodedPictureBuffer;


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

void             init_dpb(void);
void             free_dpb(void);
FrameStore*      alloc_frame_store(void);
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             replace_top_pic_with_frame(StorablePicture* p);
void             flush_dpb(void);

void             dpb_split_field(FrameStore *fs);
void             dpb_combine_field(FrameStore *fs);
void             dpb_combine_field_yuv(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 *reordering_of_pic_nums_idc,
                                      int *abs_diff_pic_num_minus1, int *long_term_pic_idx);

void             init_mbaff_lists(void);
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_colocated(ColocatedParams* p);
void compute_colocated(ColocatedParams* p, StorablePicture **listX[6]);

// For 4:4:4 independent mode
void compute_colocated_JV(ColocatedParams* p, StorablePicture **listX[6]);
void copy_storable_param_JV( int nplane, StorablePicture *d, StorablePicture *s );

#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品视频免费观看| 日韩电影免费在线看| 成人黄色综合网站| 久久精品国产免费| 三级影片在线观看欧美日韩一区二区| 国产精品久久三| 2020国产成人综合网| 日韩女优av电影| 日韩视频一区二区在线观看| 欧美日韩精品久久久| 成人成人成人在线视频| 成人性生交大合| 欧美人牲a欧美精品| 色88888久久久久久影院野外| 播五月开心婷婷综合| 成人午夜视频在线| 成人免费毛片app| 国产成a人亚洲精| 岛国一区二区三区| zzijzzij亚洲日本少妇熟睡| 成人aa视频在线观看| 91网页版在线| 欧美影院一区二区三区| 日韩av电影一区| 久热成人在线视频| 国内精品嫩模私拍在线| 国产一区二区三区电影在线观看 | 日韩av中文字幕一区二区| 久久久久久久av麻豆果冻| 久久综合给合久久狠狠狠97色69| 久久精品亚洲一区二区三区浴池| 国产日韩欧美麻豆| 日韩国产欧美在线播放| 久久久精品国产免大香伊| 国产女同互慰高潮91漫画| 日韩毛片精品高清免费| 亚洲一区二区在线免费看| 午夜久久电影网| 日本va欧美va精品| 国产精品全国免费观看高清| 国产精品高潮呻吟| 亚洲国产wwwccc36天堂| 精品久久五月天| 国产精品久久久久影院| 亚洲成av人片在线| 久久精品国产第一区二区三区| 国产一区 二区| 日本高清成人免费播放| 欧美一二三在线| 国产成人亚洲综合色影视| 热久久久久久久| 国产69精品一区二区亚洲孕妇| 色av综合在线| 久久综合久久久久88| 中文字幕一区在线观看视频| 视频一区在线视频| 国产成人精品亚洲午夜麻豆| 91久久精品国产91性色tv| 精品卡一卡二卡三卡四在线| 亚洲免费电影在线| 美女久久久精品| 99久久精品国产精品久久| 欧美高清视频一二三区 | 欧美激情一区二区三区不卡| 亚洲欧美日韩国产成人精品影院 | eeuss影院一区二区三区| 欧美日本韩国一区二区三区视频 | 亚洲综合精品久久| 裸体在线国模精品偷拍| 91在线一区二区| 成人免费黄色在线| 91精品国产综合久久福利| 香蕉av福利精品导航| 亚洲免费av高清| 狠狠色狠狠色综合| 欧美少妇一区二区| 中文字幕成人网| 美女mm1313爽爽久久久蜜臀| 在线视频你懂得一区| 欧美激情综合五月色丁香小说| 日韩av电影天堂| 在线观看www91| 95精品视频在线| 国产视频亚洲色图| 美脚の诱脚舐め脚责91| 精品一区免费av| 欧美日韩国产影片| 亚洲欧美一区二区三区国产精品| 国产一区二区按摩在线观看| 日韩视频一区二区| 色94色欧美sute亚洲线路一久| 欧美在线视频全部完| 亚洲婷婷国产精品电影人久久| 国产精品自拍三区| 精品国产一区二区精华| 五月天激情小说综合| 欧美性感一区二区三区| 亚洲色图清纯唯美| 国产ts人妖一区二区| 精品免费99久久| 奇米色777欧美一区二区| 精品一区二区三区日韩| 欧美一级电影网站| 另类人妖一区二区av| 欧美一区二视频| 日韩国产精品91| 777久久久精品| 日韩精品久久理论片| 青青草国产精品亚洲专区无| 欧美一区二区三区免费视频| 天天综合网 天天综合色| 欧美亚洲一区二区三区四区| 伊人婷婷欧美激情| 色噜噜狠狠色综合欧洲selulu| 亚洲欧美日韩一区二区 | 91国产视频在线观看| 偷拍日韩校园综合在线| 成人免费黄色大片| 亚洲视频资源在线| 欧美日韩精品三区| 日本中文字幕一区二区有限公司| 制服丝袜亚洲网站| 亚洲电影一区二区| 欧美午夜精品一区二区蜜桃| 亚洲一区二区三区视频在线播放| 欧美三级日韩在线| 日韩在线a电影| 精品久久人人做人人爽| 国产精品99久久久久久宅男| 亚洲国产精品传媒在线观看| 成人av午夜电影| 亚洲激情综合网| 欧美日韩国产bt| 美女视频黄a大片欧美| 久久久久久久久久久黄色| 成人18视频日本| 91精品国产日韩91久久久久久| 天天综合色天天综合| 久久综合成人精品亚洲另类欧美 | 欧美成人vr18sexvr| 欧美一区三区二区| 亚洲综合视频网| 欧美一区二区久久久| 国产一区不卡视频| 亚洲欧美视频在线观看| 欧美日韩高清不卡| 国产美女av一区二区三区| 亚洲欧洲色图综合| 91精品视频网| 国产suv精品一区二区三区| 亚洲精品成人在线| 久久综合九色综合97婷婷| 91色在线porny| 久久影视一区二区| 欧美亚洲国产一区在线观看网站| 日本不卡不码高清免费观看| 国产日韩高清在线| 欧美视频中文字幕| 国产一区二区三区不卡在线观看| 日韩**一区毛片| 久久精品国产99久久6| 国产精品成人免费| 国产精品高潮呻吟久久| 欧洲另类一二三四区| 国产日韩欧美精品在线| 欧洲日韩一区二区三区| 久久激情五月激情| 国产亚洲精品免费| 91丝袜高跟美女视频| 亚洲男人电影天堂| 久久精品999| 欧美zozo另类异族| 亚洲免费观看高清在线观看| 蜜桃在线一区二区三区| 成人国产在线观看| 欧美三级视频在线| 国产精品久久久久久久久快鸭| 精品写真视频在线观看| 99re这里只有精品视频首页| 欧美日韩视频在线第一区| 日韩午夜电影在线观看| 久久91精品久久久久久秒播| 国产精品久久久久久久久晋中 | 国产精品一区二区你懂的| 亚洲午夜精品网| 国产精品午夜在线观看| 欧美一区二区成人6969| 国产欧美一区二区精品久导航| 成人av资源站| 欧美性一二三区| 久久影视一区二区| 欧美日韩高清影院| 久久成人av少妇免费| 亚洲福利视频一区| 中文字幕乱码亚洲精品一区 | 91精品欧美福利在线观看| 99精品视频在线免费观看| 国产suv一区二区三区88区| 国产一区二区视频在线| 麻豆国产一区二区|