diff options
Diffstat (limited to 'src/xine-engine/accel_xvmc.h')
-rw-r--r-- | src/xine-engine/accel_xvmc.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/xine-engine/accel_xvmc.h b/src/xine-engine/accel_xvmc.h index bccbf9475..46cbfba22 100644 --- a/src/xine-engine/accel_xvmc.h +++ b/src/xine-engine/accel_xvmc.h @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: accel_xvmc.h,v 1.2 2004/10/12 07:40:23 totte67 Exp $ + * $Id: accel_xvmc.h,v 1.3 2005/05/06 07:42:21 totte67 Exp $ * * * Common acceleration definitions for XvMC. @@ -100,6 +100,14 @@ typedef struct xine_xxmc_s { void (*proc_xxmc_begin) (vo_frame_t *vo_img); void (*proc_xxmc_slice) (vo_frame_t *vo_img); void (*proc_xxmc_flush) (vo_frame_t *vo_img); + + /* + * For thread-safety only. + */ + + int (*proc_xxmc_lock_valid) (vo_frame_t *cur_frame, vo_frame_t *fw_frame, + vo_frame_t *bw_frame,unsigned pc_type); + void (*proc_xxmc_unlock) (vo_driver_t *this_gen); } xine_xxmc_t; /* @@ -144,8 +152,6 @@ typedef struct xine_xxmc_s { #define XINE_MACROBLOCK_QUANT 16 #define XINE_MACROBLOCK_DCT_TYPE_INTERLACED 32 - - #ifdef __cplusplus } #endif |