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

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

?? mbuffer.h

?? H.264 codec source code
?? 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>
 *      - Jill Boyce               <jill.boyce@thomson.net>
 *      - Saurav K Bandyopadhyay   <saurav@ieee.org>
 *      - Zhenyu Wu                <Zhenyu.Wu@thomson.net
 *      - Purvin Pandit            <Purvin.Pandit@thomson.net>
 *
 ***********************************************************************
 */
#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;
  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;
  unsigned    recovery_frame;

  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;

  short       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

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

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

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

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

  short ****   mv;            //!< motion vector       [list][subblock_y][subblock_x][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         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;
  int         qp;
  int         chroma_qp_offset[2];
  int         slice_qp_delta;
  DecRefPicMarking_t *dec_ref_pic_marking_buffer;                    //!< stores the memory management control operations

  // picture error concealment
  int concealed_pic; //indicates if this is a concealed picutre

} StorablePicture;


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

  int64       ref_pic_num[6][MAX_LIST_SIZE];  

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

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

  // Bottom field params
  int64       bottom_ref_pic_num[6][MAX_LIST_SIZE];  
  char  ***   bottom_ref_idx;       //!< reference picture   [list][subblock_y][subblock_x]
  int64 ***   bottom_ref_pic_id;    //!< reference picture identifier [list][subblock_y][subblock_x]
  short ****  bottom_mv;            //!< motion vector       [list][subblock_y][subblock_x][component] 
  byte **     bottom_moving_block;
  
  byte        is_long_term;
  byte **     field_frame;         //!< indicates if co_located is field or 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;
  unsigned  recovery_frame;

  int       frame_num_wrap;
  int       long_term_frame_idx;
  int       is_output;
  int       poc;

  // picture error concealment
  int concealment_reference;

  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             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             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]);

#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕一区二区三区精华液| 日韩精品一区二区在线| 国产精品一卡二卡在线观看| 日本vs亚洲vs韩国一区三区 | 国产盗摄一区二区三区| 日本亚洲天堂网| 美腿丝袜亚洲一区| 精彩视频一区二区| 国内精品国产三级国产a久久| 日本大胆欧美人术艺术动态| 午夜精品久久久久久久99水蜜桃 | 日本视频一区二区三区| 午夜精品久久久久久不卡8050| 亚洲一区在线看| 午夜激情久久久| 久久av老司机精品网站导航| 激情六月婷婷久久| 成人黄色在线网站| 色猫猫国产区一区二在线视频| 欧美性色综合网| 日韩欧美一区二区在线视频| 久久日韩粉嫩一区二区三区| 亚洲欧美综合另类在线卡通| 亚洲精品久久7777| 日韩av中文在线观看| 国产裸体歌舞团一区二区| 99精品久久免费看蜜臀剧情介绍| 色诱视频网站一区| 欧美一区2区视频在线观看| 精品国产成人系列| 亚洲日本乱码在线观看| 亚洲国产日日夜夜| 国产一区二区三区在线观看免费 | 高清不卡一区二区| 欧美性色aⅴ视频一区日韩精品| 在线播放欧美女士性生活| 国产区在线观看成人精品 | 欧美日韩mp4| 久久综合999| 亚洲一区二区三区爽爽爽爽爽| 蜜桃视频在线一区| 91免费观看国产| 欧美日本高清视频在线观看| 国产日韩欧美一区二区三区乱码| 亚洲女厕所小便bbb| 久久国产精品一区二区| 91啪亚洲精品| 久久久国产午夜精品| 视频一区二区三区中文字幕| av成人老司机| www激情久久| 视频一区中文字幕国产| 99精品在线观看视频| 久久久久久久精| 久久69国产一区二区蜜臀| 在线区一区二视频| 国产精品久久毛片a| 蜜臀精品一区二区三区在线观看| 色综合色综合色综合色综合色综合| 精品国产污污免费网站入口 | 成人av资源站| 日韩欧美在线一区二区三区| 亚洲gay无套男同| 色婷婷综合视频在线观看| 亚洲国产精品99久久久久久久久| 日韩电影网1区2区| 欧美日韩午夜在线| 一区二区三区不卡视频在线观看| 国产99久久精品| 国产日韩欧美一区二区三区综合| 久久99久久99| 日韩欧美精品三级| 日韩成人免费电影| 欧美一区在线视频| 午夜精品成人在线视频| 欧美日韩国产成人在线免费| 亚洲精品视频自拍| 91免费版在线看| 亚洲自拍另类综合| 欧美日韩在线播放一区| 婷婷久久综合九色综合绿巨人| 欧美视频在线一区| 亚洲成av人影院| 欧美男男青年gay1069videost| 亚洲激情自拍视频| 色婷婷av一区| 亚洲一区二区三区视频在线| 欧美日韩视频在线观看一区二区三区 | 欧美日精品一区视频| 亚洲已满18点击进入久久| 欧美日韩国产综合草草| 奇米一区二区三区| 久久久久久免费毛片精品| 成人在线视频一区二区| 亚洲丝袜美腿综合| 欧美视频自拍偷拍| 精品午夜一区二区三区在线观看| 精品sm捆绑视频| 成人av手机在线观看| 一区二区在线观看视频| 777午夜精品免费视频| 美女视频一区在线观看| 国产蜜臀av在线一区二区三区| 91日韩在线专区| 毛片av中文字幕一区二区| 国产欧美1区2区3区| 欧美影视一区在线| 国产精品99久久久久久似苏梦涵| 亚洲视频小说图片| 日韩欧美激情在线| 日本黄色一区二区| 久久69国产一区二区蜜臀| 国产精品久久毛片av大全日韩| 91麻豆精品国产91| 91视频在线观看| 麻豆成人av在线| 亚洲美女屁股眼交3| 日韩欧美国产电影| 在线观看亚洲精品| 国产成人午夜电影网| 日韩高清一区二区| 亚洲国产精品二十页| 欧美精品 国产精品| 成人性生交大合| 麻豆国产欧美日韩综合精品二区| 亚洲乱码中文字幕| 国产亚洲欧美日韩日本| 欧美一级片在线看| 在线观看日韩av先锋影音电影院| 国产在线精品一区二区夜色| 午夜精品aaa| 亚洲国产一区二区在线播放| 国产精品无遮挡| xfplay精品久久| 日韩欧美三级在线| 欧美一区二区私人影院日本| 91色porny| 成人精品鲁一区一区二区| 狠狠色丁香婷综合久久| 日本特黄久久久高潮| 天天综合天天综合色| 亚洲精品日产精品乱码不卡| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 欧美大度的电影原声| 91精品国产黑色紧身裤美女| 欧洲国产伦久久久久久久| 成人av免费在线| 不卡电影免费在线播放一区| 成人中文字幕在线| 国产69精品一区二区亚洲孕妇| 久久成人av少妇免费| 美腿丝袜亚洲综合| 黄一区二区三区| 国产精一区二区三区| 国产精品一区一区三区| 国产福利91精品一区| 成人国产一区二区三区精品| 成人免费视频播放| 成人av网站免费观看| 一本大道久久精品懂色aⅴ | 91精品国产综合久久久久| 91精品欧美福利在线观看| 日韩午夜精品电影| 精品国产亚洲一区二区三区在线观看| 精品国产欧美一区二区| 国产亚洲午夜高清国产拍精品| 中文乱码免费一区二区| 国产精品国产三级国产a| 最近中文字幕一区二区三区| 一区二区三区中文字幕电影 | 亚洲人精品午夜| 亚洲最色的网站| 青娱乐精品视频在线| 国产曰批免费观看久久久| www.久久久久久久久| 色88888久久久久久影院野外| 欧美日韩国产另类一区| 日韩美一区二区三区| 久久精品免视看| 一区二区三区四区国产精品| 日本在线播放一区二区三区| 国产精品1区2区| 一本色道久久综合亚洲aⅴ蜜桃| 欧美日韩aaaaa| 国产亚洲短视频| 亚洲一区二区三区四区五区中文| 寂寞少妇一区二区三区| 99精品国产热久久91蜜凸| 欧美在线高清视频| 精品久久久久久久久久久久久久久久久 | 喷白浆一区二区| 成人黄色小视频在线观看| 欧美一区二区精品久久911| 中文字幕二三区不卡| 午夜影院久久久| 国产suv一区二区三区88区| 精品视频在线看| 亚洲日本在线天堂| 国精品**一区二区三区在线蜜桃| 色综合天天综合网天天狠天天|