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

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

?? mbuffer.h

?? H.264編碼實現
?? 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;

} 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一区二区三区免费野_久草精品视频
一本在线高清不卡dvd| 精品制服美女久久| 精品国产凹凸成av人导航| 成人h动漫精品| 久久精品99久久久| 亚洲高清在线视频| 日韩伦理av电影| 久久日一线二线三线suv| 欧美视频精品在线| av在线播放一区二区三区| 狠狠久久亚洲欧美| 亚洲18色成人| 一区二区高清在线| 国产精品久久久久久久午夜片| 日韩精品中文字幕一区二区三区| 成人免费视频一区二区| 狠狠色综合播放一区二区| 日韩电影免费一区| 日韩国产欧美三级| 午夜久久久久久久久| 亚洲最大成人综合| 亚洲九九爱视频| 最新热久久免费视频| 18成人在线视频| 亚洲免费av网站| 一区二区在线观看不卡| 一区二区视频在线看| 亚洲另类在线制服丝袜| 久久精品亚洲麻豆av一区二区 | 欧美一区二区三区在线观看 | 视频一区在线播放| 亚洲成人精品影院| 男女男精品网站| 国产中文字幕一区| 国产激情一区二区三区四区| 成人性生交大片免费看视频在线| 国产99久久精品| 91视频精品在这里| 欧美亚洲动漫另类| 久久婷婷成人综合色| 亚洲欧美激情视频在线观看一区二区三区| ●精品国产综合乱码久久久久| 一区二区不卡在线视频 午夜欧美不卡在| 亚洲精选在线视频| 国产精品一区二区无线| 色老汉一区二区三区| 日韩久久精品一区| 亚洲精品国产精品乱码不99 | 99国产精品久久久久| 制服丝袜中文字幕一区| 国产精品成人午夜| 久久精品二区亚洲w码| 在线观看日韩高清av| 精品电影一区二区| 亚洲图片有声小说| 成人99免费视频| 精品入口麻豆88视频| 一级女性全黄久久生活片免费| 欧美一区二区三区视频免费播放| 欧美一a一片一级一片| 91麻豆视频网站| 久久免费午夜影院| 免费成人在线网站| 欧美色视频一区| 亚洲私人黄色宅男| 成人永久aaa| 国产片一区二区| 激情久久五月天| 日韩精品中午字幕| 精品一区中文字幕| 欧美成人欧美edvon| 日韩vs国产vs欧美| 日韩丝袜美女视频| 日韩1区2区3区| 日韩亚洲国产中文字幕欧美| 性做久久久久久免费观看| 欧美日韩一级大片网址| 亚洲成人免费视频| 日韩欧美国产精品| 国产一区二区看久久| 中文字幕不卡在线观看| 北条麻妃国产九九精品视频| 中文字幕一区二区三区在线观看| 成人国产视频在线观看| 亚洲欧美日韩国产一区二区三区| 91视频精品在这里| 午夜激情久久久| 日韩一区二区在线观看| 国产一区二区三区久久悠悠色av | 国产女同性恋一区二区| 成人av网址在线| 亚洲成av人片在线观看| 欧美成人性战久久| 色综合久久88色综合天天| 天天操天天干天天综合网| 日韩欧美激情一区| 成人久久18免费网站麻豆| 五月婷婷另类国产| 久久精品人人爽人人爽| 欧美日韩一区二区三区四区| 久久99精品国产麻豆婷婷洗澡| 久久久久久久久久久99999| 91搞黄在线观看| 国产成人精品网址| 首页亚洲欧美制服丝腿| 国产欧美一区二区在线观看| 欧美日韩亚洲综合一区| www.日韩av| 国产精品一二三区| 亚洲h动漫在线| 亚洲精品亚洲人成人网在线播放| 精品乱人伦小说| 欧美久久久久久久久中文字幕| 成人网在线播放| 国内精品伊人久久久久影院对白| 亚洲一区二区三区三| 中文字幕一区三区| **欧美大码日韩| 国产精品免费视频观看| 欧美国产综合一区二区| 日韩欧美的一区| 精品日本一线二线三线不卡| 欧美日本在线播放| 欧美日韩国产精品自在自线| 91麻豆成人久久精品二区三区| 国产91精品久久久久久久网曝门| 国产乱码精品一区二区三| 国产精品夜夜嗨| 国产成人精品亚洲777人妖 | 成人国产在线观看| 成人福利视频在线| av不卡免费电影| 色94色欧美sute亚洲13| 欧美在线观看禁18| 91精品国产色综合久久不卡电影 | 欧美视频在线播放| 91麻豆精品国产91久久久 | 成人免费在线播放视频| 尤物av一区二区| 免费日韩伦理电影| 精品亚洲porn| 99国内精品久久| 这里只有精品免费| 国产精品青草综合久久久久99| 亚洲女同一区二区| 免费在线看成人av| 99国产欧美另类久久久精品| 欧美日韩不卡一区| 国产人成亚洲第一网站在线播放 | 久久精品国产久精国产爱| 国产白丝网站精品污在线入口| 一本色道**综合亚洲精品蜜桃冫 | 欧美精品久久天天躁| 久久久国产精品午夜一区ai换脸| 亚洲日本免费电影| 麻豆精品视频在线观看| 一本大道av一区二区在线播放| 欧美一区二区不卡视频| 17c精品麻豆一区二区免费| 男男视频亚洲欧美| 欧美日韩亚洲综合在线| 中文字幕一区免费在线观看| 国产一区二区看久久| 欧美一区二区三区精品| 亚洲综合在线视频| 99久久精品费精品国产一区二区 | 国产欧美精品一区aⅴ影院 | 亚洲精品欧美二区三区中文字幕| 免费美女久久99| 欧美日韩一本到| 一区二区三区在线视频免费| 成人avav在线| 中文字幕av一区二区三区免费看| 麻豆成人在线观看| 91精品一区二区三区在线观看| 一区二区三区.www| 欧美性受xxxx黑人xyx性爽| 亚洲欧洲在线观看av| a美女胸又www黄视频久久| 久久精品一区二区| 国产成人丝袜美腿| 国产精品网站在线观看| www.在线成人| 亚洲激情av在线| 欧美人妇做爰xxxⅹ性高电影| 亚洲第一综合色| 日韩欧美中文字幕精品| 国产不卡在线播放| 亚洲欧美在线观看| 欧美日韩在线播放三区| 免费精品99久久国产综合精品| 欧美tickle裸体挠脚心vk| 国产精品一级在线| 一区二区三区精密机械公司| 在线观看日韩毛片| 久久超级碰视频| 亚洲欧美一区二区三区极速播放| 欧美伊人久久久久久久久影院| 毛片av一区二区三区| 日韩美女视频一区|