* includes all common video types and constants.
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
- * $Id: video.h,v 1.35 2001/12/16 16:18:36 sam Exp $
+ * $Id: video.h,v 1.36 2001/12/30 07:09:54 sam Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
*
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
-/*****************************************************************************
- * Requires:
- * "config.h"
- * "common.h"
- * "mtime.h"
- *****************************************************************************/
-
/*****************************************************************************
* plane_t: description of a planar graphic field
*****************************************************************************/
int i_refcount; /* link reference counter */
mtime_t date; /* display date */
- /* These values can be calculated from i_chroma, i_width and i_height
- * but we leave them to prevent unnecessary calculation */
- int i_size;
- int i_chroma_width;
- int i_chroma_size;
-
/* Picture margins - needed because of possible padding issues */
int i_left_margin;
int i_right_margin;
boolean_t b_repeat_first_field; /* RFF bit */
boolean_t b_top_field_first; /* which field is first */
- /* Macroblock counter - the decoder use it to verify if it has
+ /* Macroblock counter - the decoder uses it to verify if it has
* decoded all the macroblocks of the picture */
int i_deccount;
vlc_mutex_t lock_deccount;
} picture_t;
/*****************************************************************************
- * picture_heap_t: video picture heap
+ * picture_heap_t: video picture heap, either render (to store pictures used
+ * by the decoder) or output (to store pictures displayed by the vout plugin)
*****************************************************************************/
typedef struct picture_heap_s
{