diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:26:13 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:34:35 +0300 |
commit | 0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch) | |
tree | 71cb9bd9ed121156d3382066c0722c73189afe04 /libmpdemux/demux_avs.h | |
parent | 6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff) | |
download | mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2 mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz |
Remove trailing whitespace from most files
Diffstat (limited to 'libmpdemux/demux_avs.h')
-rw-r--r-- | libmpdemux/demux_avs.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libmpdemux/demux_avs.h b/libmpdemux/demux_avs.h index 708ce9c70a..7b5465714a 100644 --- a/libmpdemux/demux_avs.h +++ b/libmpdemux/demux_avs.h @@ -33,7 +33,7 @@ enum { AVISYNTH_INTERFACE_VERSION = 2 }; enum { AVS_SAMPLE_INT8 = 1<<0, - AVS_SAMPLE_INT16 = 1<<1, + AVS_SAMPLE_INT16 = 1<<1, AVS_SAMPLE_INT24 = 1<<2, AVS_SAMPLE_INT32 = 1<<3, AVS_SAMPLE_FLOAT = 1<<4 @@ -53,7 +53,7 @@ enum // Colorspace properties. enum { - AVS_CS_BGR = 1<<28, + AVS_CS_BGR = 1<<28, AVS_CS_YUV = 1<<29, AVS_CS_INTERLEAVED = 1<<30, AVS_CS_PLANAR = 1<<31 @@ -96,7 +96,7 @@ typedef struct AVS_VideoInfo { int num_frames; int pixel_type; - + int audio_samples_per_second; // 0 means no audio int sample_type; uint64_t num_audio_samples; @@ -153,13 +153,13 @@ static inline int avs_is_yuy(const AVS_VideoInfo * p) { return p->pixel_type & AVS_CS_YUV; } static inline int avs_is_yuy2(const AVS_VideoInfo * p) -{ return (p->pixel_type & AVS_CS_YUY2) == AVS_CS_YUY2; } +{ return (p->pixel_type & AVS_CS_YUY2) == AVS_CS_YUY2; } static inline int avs_is_yv12(const AVS_VideoInfo * p) -{ return ((p->pixel_type & AVS_CS_YV12) == AVS_CS_YV12)||((p->pixel_type & AVS_CS_I420) == AVS_CS_I420); } +{ return ((p->pixel_type & AVS_CS_YV12) == AVS_CS_YV12)||((p->pixel_type & AVS_CS_I420) == AVS_CS_I420); } -static inline int avs_bits_per_pixel(const AVS_VideoInfo * p) -{ +static inline int avs_bits_per_pixel(const AVS_VideoInfo * p) +{ switch (p->pixel_type) { case AVS_CS_BGR24: return 24; case AVS_CS_BGR32: return 32; |