www.pudn.com > jm74.zip > mbuffer.h


 
/*! 
 *********************************************************************** 
 *  \file 
 *      mbuffer.h 
 * 
 *  \brief 
 *      Frame buffer functions 
 * 
 *  \author 
 *      Main contributors (see contributors.h for copyright, address and affiliation details) 
 *      - Karsten Sühring           
 *********************************************************************** 
 */ 
#ifndef _MBUFFER_H_ 
#define _MBUFFER_H_ 
 
#include "global.h" 
 
//! definition a picture (field or frame) 
typedef struct storable_picture 
{ 
  PictureStructure structure; 
 
  int         poc; 
  int         top_poc; 
  int         bottom_poc; 
  int         order_num; 
  int64       ref_pic_num[6][32]; 
  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         chroma_vector_adjustment; 
  int         coded_frame; 
  int         mb_adaptive_frame_field_flag; 
 
  byte **     imgY;          //!< Y picture component 
  byte ***    imgUV;         //!< U and V picture components 
 
  byte *      mb_field;      //