Ticket #6204: vdpau_fix.diff
File vdpau_fix.diff, 2.5 KB (added by , 15 years ago) |
---|
-
libs/libavcodec/h264.c
old new 72 72 static VLC_TYPE run7_vlc_table[96][2]; 73 73 static const int run7_vlc_table_size = 96; 74 74 75 extern int VDPAU_h264_add_data_chunk(H264Context *h, const uint8_t *buf, int buf_size); 76 extern int VDPAU_h264_picture_complete(H264Context *h); 75 #ifdef HAVE_VDPAU 76 extern int VDPAU_h264_add_data_chunk(H264Context *h, const uint8_t *buf, int buf_size); 77 extern int VDPAU_h264_picture_complete(H264Context *h); 78 #endif 77 79 78 80 static void svq3_luma_dc_dequant_idct_c(DCTELEM *block, int qp); 79 81 static void svq3_add_idct_c(uint8_t *dst, DCTELEM *block, int stride, int qp, int dc); -
libs/libavcodec/mpeg12.c
old new 84 84 extern void DVDV_decode_mb(MpegEncContext *s); 85 85 #endif 86 86 87 extern int VDPAU_mpeg_field_start(MpegEncContext *s); 88 extern void VDPAU_mpeg_picture_complete(MpegEncContext *s, const uint8_t *buf, int buf_size, int slice_count); 87 #ifdef HAVE_VDPAU 88 extern int VDPAU_mpeg_field_start(MpegEncContext *s); 89 extern void VDPAU_mpeg_picture_complete(MpegEncContext *s, const uint8_t *buf, int buf_size, int slice_count); 90 #endif 89 91 90 92 static const enum PixelFormat pixfmt_xvmc_mpg2_420[] = { 91 93 PIX_FMT_XVMC_MPEG2_IDCT, -
libs/libavcodec/mpegvideo.c
old new 58 58 extern void XVMC_field_end(MpegEncContext *s); 59 59 extern void XVMC_decode_mb(MpegEncContext *s); 60 60 61 extern int VDPAU_mpeg_field_start(MpegEncContext *s); 61 #ifdef HAVE_VDPAU 62 extern int VDPAU_mpeg_field_start(MpegEncContext *s); 63 #endif 62 64 63 65 /* enable all paranoid tests for rounding, overflows, etc... */ 64 66 //#define PARANOID -
libs/libavcodec/vc1.c
old new 42 42 #define DC_VLC_BITS 9 43 43 #define AC_VLC_BITS 9 44 44 45 extern int VDPAU_vc1_decode_picture(MpegEncContext *s, AVCodecContext *avctx, VC1Context *v, const uint8_t *buf, int buf_size); 45 #ifdef HAVE_VDPAU 46 extern int VDPAU_vc1_decode_picture(MpegEncContext *s, AVCodecContext *avctx, VC1Context *v, const uint8_t *buf, int buf_size); 47 #endif 46 48 47 49 static const uint16_t table_mb_intra[64][2]; 48 50