From: <to...@us...> - 2005-05-06 07:42:29
|
Update of /cvsroot/xine/xine-lib/src/xine-engine In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24082/src/xine-engine Modified Files: accel_xvmc.h Log Message: **BUGFIX** improve xxmc cpu-usage for IDCT / MOCOMP acceleration through better locking [bug #1195282] Index: accel_xvmc.h =================================================================== RCS file: /cvsroot/xine/xine-lib/src/xine-engine/accel_xvmc.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- accel_xvmc.h 12 Oct 2004 07:40:23 -0000 1.2 +++ accel_xvmc.h 6 May 2005 07:42:21 -0000 1.3 @@ -100,6 +100,14 @@ 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 @@ #define XINE_MACROBLOCK_QUANT 16 #define XINE_MACROBLOCK_DCT_TYPE_INTERLACED 32 - - #ifdef __cplusplus } #endif |