From d5aa8dc88f00ac07f2f35788a230385abd404634 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Wed, 22 Aug 2012 15:54:56 +0300 Subject: cleanup: remove XvMC remains, reformat img_format.c Remove remaining references to XvMC. It was already not supported; remove references to the imgfmt too. Reformat img_format.c. --- libmpcodecs/img_format.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'libmpcodecs/img_format.h') diff --git a/libmpcodecs/img_format.h b/libmpcodecs/img_format.h index 61873ad72a..e62ecc4dc1 100644 --- a/libmpcodecs/img_format.h +++ b/libmpcodecs/img_format.h @@ -198,14 +198,6 @@ #define IMGFMT_MPEGPES (('M'<<24)|('P'<<16)|('E'<<8)|('S')) #define IMGFMT_MJPEG (('M')|('J'<<8)|('P'<<16)|('G'<<24)) -// I think that this code could not be used by any other codec/format -#define IMGFMT_XVMC 0x1DC70000 -#define IMGFMT_XVMC_MASK 0xFFFF0000 -#define IMGFMT_IS_XVMC(fmt) (((fmt)&IMGFMT_XVMC_MASK)==IMGFMT_XVMC) -//these are chroma420 -#define IMGFMT_XVMC_MOCO_MPEG2 (IMGFMT_XVMC|0x02) -#define IMGFMT_XVMC_IDCT_MPEG2 (IMGFMT_XVMC|0x82) - // VDPAU specific format. #define IMGFMT_VDPAU 0x1DC80000 #define IMGFMT_VDPAU_MASK 0xFFFF0000 @@ -217,7 +209,7 @@ #define IMGFMT_VDPAU_VC1 (IMGFMT_VDPAU|0x05) #define IMGFMT_VDPAU_MPEG4 (IMGFMT_VDPAU|0x06) -#define IMGFMT_IS_HWACCEL(fmt) (IMGFMT_IS_VDPAU(fmt) || IMGFMT_IS_XVMC(fmt)) +#define IMGFMT_IS_HWACCEL(fmt) IMGFMT_IS_VDPAU(fmt) typedef struct { void* data; -- cgit v1.2.3