]> git.sesse.net Git - vlc/blobdiff - include/vdec_ext-plugins.h
* ALL: changed "struct foo_s" into "struct foo_t" to make greppers happy.
[vlc] / include / vdec_ext-plugins.h
index 3b72d5995e506c8d476cfa777554174373ee40ce..2a7f919ca3f126236570f22317a1b48177b9f81d 100644 (file)
@@ -2,7 +2,7 @@
  * vdec_ext-plugins.h : structures from the video decoder exported to plug-ins
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
- * $Id: vdec_ext-plugins.h,v 1.9 2002/01/04 14:01:34 sam Exp $
+ * $Id: vdec_ext-plugins.h,v 1.14 2002/07/20 18:01:41 sam Exp $
  *
  * Authors: Christophe Massiot <massiot@via.ecp.fr>
  *
  * macroblock_t : information on a macroblock passed to the video_decoder
  *                thread
  *****************************************************************************/
-typedef struct idct_inner_s
+typedef struct idct_inner_t
 {
     /* Should be kept aligned ! */
     dctelem_t *             pi_block;                               /* block */
+    void *                  pi_block_orig;        /* pointer before memalign */
     void                ( * pf_idct )   ( dctelem_t *, yuv_data_t *, int,
                                           void *, int );
                                         /* sparse IDCT or not, add or copy ? */
@@ -36,17 +37,17 @@ typedef struct idct_inner_s
                                                             * non-NULL coeff */
 } idct_inner_t;
 
-typedef struct motion_inner_s
+typedef struct motion_inner_t
 {
-    boolean_t               b_average;                          /* 0 == copy */
+    vlc_bool_t              b_average;                          /* 0 == copy */
     int                     i_x_pred, i_y_pred;            /* motion vectors */
     yuv_data_t *            pp_source[3];
     int                     i_dest_offset, i_src_offset;
     int                     i_stride, i_height;
-    boolean_t               b_second_half;
+    vlc_bool_t              b_second_half;
 } motion_inner_t;
 
-typedef struct macroblock_s
+struct macroblock_t
 {
     int                     i_mb_modes;
 
@@ -59,13 +60,11 @@ typedef struct macroblock_s
     yuv_data_t *            p_v_data;
                                                     /* pointers to the position
                                                      * in the final picture  */
-
     /* Motion compensation information */
     motion_inner_t          p_motions[8];
     int                     i_nb_motions;
     yuv_data_t *            pp_dest[3];
-
-} macroblock_t;
+};
 
 /* Macroblock Modes */
 #define MB_INTRA                        1
@@ -75,18 +74,3 @@ typedef struct macroblock_s
 #define MB_QUANT                        16
 #define DCT_TYPE_INTERLACED             32
 
-/*****************************************************************************
- * vdec_thread_t: video decoder thread descriptor
- *****************************************************************************/
-typedef struct vdec_thread_s
-{
-    vlc_thread_t        thread_id;                /* id for thread functions */
-    boolean_t           b_die;
-
-    /* IDCT iformations */
-    void *              p_idct_data;
-
-    /* Input properties */
-    struct vdec_pool_s * p_pool;
-} vdec_thread_t;
-