]> git.sesse.net Git - vlc/blobdiff - include/video_decoder.h
* Fixed the BeOS compile typo.
[vlc] / include / video_decoder.h
index 56c0b5527028b137b3ed7ab7eefd0febdbeb372c..11c5be774745bb5a288b2d155a3686c18c57e8d5 100644 (file)
@@ -2,6 +2,7 @@
  * video_decoder.h : video decoder thread
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
+ * $Id: video_decoder.h,v 1.24 2001/05/30 17:03:11 sam Exp $
  *
  * Authors: Christophe Massiot <massiot@via.ecp.fr>
  *
@@ -53,24 +54,14 @@ typedef struct vdec_thread_s
     /* idct iformations */
     dctelem_t              p_pre_idct[64*64];
 
+    /* Macroblock copy functions */
+    void ( * pf_decode_init ) ( struct vdec_thread_s * );
+    void ( * pf_decode_mb_c ) ( struct vdec_thread_s *, struct macroblock_s * );
+    void ( * pf_decode_mb_bw )( struct vdec_thread_s *, struct macroblock_s * );
+
     /* Input properties */
     struct vpar_thread_s * p_vpar;                    /* video_parser thread */
 
-#ifndef HAVE_MMX
-    /* Lookup tables */
-    u8              pi_crop_buf[VDEC_CROPRANGE];
-    u8 *            pi_crop;
-#endif
-
-#ifdef STATS
-    /* Statistics */
-    count_t         c_loops;                              /* number of loops */
-    count_t         c_idle_loops;                    /* number of idle loops */
-    count_t         c_decoded_pictures;        /* number of pictures decoded */
-    count_t         c_decoded_i_pictures;    /* number of I pictures decoded */
-    count_t         c_decoded_p_pictures;    /* number of P pictures decoded */
-    count_t         c_decoded_b_pictures;    /* number of B pictures decoded */
-#endif
 } vdec_thread_t;
 
 /*****************************************************************************