* video.h: video decoder using ffmpeg library
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
- * $Id: video.h,v 1.2 2002/11/05 10:07:56 gbazin Exp $
+ * $Id: video.h,v 1.11 2003/08/12 17:01:35 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
{
DECODER_THREAD_COMMON
+ AVFrame *p_ff_pic;
BITMAPINFOHEADER *p_format;
- vout_thread_t *p_vout;
+ vout_thread_t *p_vout;
/* for post processing */
- u32 i_pp_mode; /* valid only with I420 and YV12 */
- postprocessing_t *p_pp;
+#ifdef LIBAVCODEC_PP
+ pp_context_t *pp_context;
+ pp_mode_t *pp_mode;
+#endif
/* for frame skipping algo */
int b_hurry_up;
int i_frame_error;
int i_frame_skip;
- int i_frame_late; /* how many decoded frames are late */
+
+ vlc_bool_t b_has_b_frames;
+
+ int i_frame_late; /* how many decoded frames are late */
+ mtime_t i_frame_late_start;
/* for direct rendering */
int b_direct_rendering;
-
} vdec_thread_t;