Mercurial > mplayer.hg
view loader/wine/pshpack1.h @ 30377:2eea1f09e2c5
Use av_get_bits_per_pixel() for computing the bits per pixel of the
source and destination format, cache those values in the newly added
SwsContext:srcFormatBpp and SwsContext:dstFormatBpp fields, and remove
the fmt_depth() function.
author | stefano |
---|---|
date | Sun, 24 Jan 2010 12:55:05 +0000 |
parents | a8ea87c71d18 |
children | 32725ca88fed |
line wrap: on
line source
#ifndef MPLAYER_PSHPACK_H #define MPLAYER_PSHPACK_H 1 #if defined(__GNUC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) //#pragma pack(1) #elif !defined(RC_INVOKED) #error "1 as alignment isn't supported by the compiler" #endif /* defined(__GNUC__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) ; !defined(RC_INVOKED) */ #else /* MPLAYER_PSHPACK_H */ #error "Nested pushing of alignment isn't supported by the compiler" #endif /* MPLAYER_PSHPACK_H */