diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-10-26 11:23:17 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-10-26 11:23:17 +0000 |
commit | 599cd321144346dea6eea7a3bb2f3a2076539d1a (patch) | |
tree | e68e2cd49d62b6242b2deb1372e16895e5c99498 /src/libmpeg2/slice_xvmc.c | |
parent | 4d2831a58bf7237755f60d18fa33d43438fd3930 (diff) | |
download | xine-lib-599cd321144346dea6eea7a3bb2f3a2076539d1a.tar.gz xine-lib-599cd321144346dea6eea7a3bb2f3a2076539d1a.tar.bz2 |
fix some compiler warnings by using the extern declaration more consistently
(that is: putting them in the .h, not in the .c)
CVS patchset: 5602
CVS date: 2003/10/26 11:23:17
Diffstat (limited to 'src/libmpeg2/slice_xvmc.c')
-rw-r--r-- | src/libmpeg2/slice_xvmc.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/libmpeg2/slice_xvmc.c b/src/libmpeg2/slice_xvmc.c index cddc517c8..ec23e25ad 100644 --- a/src/libmpeg2/slice_xvmc.c +++ b/src/libmpeg2/slice_xvmc.c @@ -41,20 +41,8 @@ #define SIGNED_INTRA XINE_VO_SIGNED_INTRA #define ACCEL (MOTION_ACCEL | IDCT_ACCEL) - -extern mpeg2_mc_t mpeg2_mc; -extern void (* mpeg2_idct_copy) (int16_t * block, uint8_t * dest, int stride); -extern void (* mpeg2_idct_add) (int16_t * block, uint8_t * dest, int stride); -extern void (* mpeg2_idct) (int16_t * block); -extern void (* mpeg2_cpu_state_save) (cpu_state_t * state); -extern void (* mpeg2_cpu_state_restore) (cpu_state_t * state); -extern void (* mpeg2_zero_block) (int16_t * block); - #include "vlc.h" -extern uint8_t mpeg2_scan_norm[64]; -extern uint8_t mpeg2_scan_alt[64]; - /* original (non-patched) scan tables */ static uint8_t mpeg2_scan_norm_orig[64] ATTR_ALIGN(16) = { @@ -1321,27 +1309,6 @@ static void motion_reuse (picture_t * picture, motion_t * motion, MOTION (table, motion->ref[0], motion_x, motion_y, 16, 0); } -// TODO don't need this routine -static void motion_zero (picture_t * picture, motion_t * motion, - void (** table) (uint8_t *, uint8_t *, int, int)) -{ - if(picture->mc->xvmc_accel==0) { - table[0] (picture->dest[0] + picture->offset, - (motion->ref[0][0] + picture->offset + - picture->v_offset * picture->pitches[0]), - picture->pitches[0], 16); - - table[4] (picture->dest[1] + (picture->offset >> 1), - motion->ref[0][1] + (picture->offset >> 1) + - (picture->v_offset >> 1) * picture->pitches[1], - picture->pitches[1], 8); - table[4] (picture->dest[2] + (picture->offset >> 1), - motion->ref[0][2] + (picture->offset >> 1) + - (picture->v_offset >> 1) * picture->pitches[2], - picture->pitches[2], 8); - } -} - /* like motion_frame, but parsing without actual motion compensation */ static void motion_fr_conceal (picture_t * picture) { |