[MPlayer-dev-eng] [PATCH][FOR REAL] vf_mpi_clear endianess patch

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu May 6 23:27:37 CEST 2004


Hi,

> +#define CLEAR_PACKEDYUV_PATTERN_SWAPPED 0x80008000
> +#define CLEAR_PACKEDYUV_PATTERN_NOTSWAPPED 0x00800080
> +#else
> +#define CLEAR_PACKEDYUV_PATTERN_SWAPPED 0x00800080
> +#define CLEAR_PACKEDYUV_PATTERN_NOTSWAPPED 0x80008000

I personally would prefer without "_NOTSWAPPED" and reversed order, e.g.

#define CLEAR_PACKEDYUV_PATTERN 0x00800080
#define CLEAR_PACKEDYUV_PATTERN_SWAPPED 0x80008000

ok, not very important, but MPlayer code can use any improvement in code 
readability ;-)

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list