Mercurial > mplayer.hg
view tremor/os.h @ 24824:70a64a5a85c3
r24740: misc roff fixes
r24746: document filter -vf ow: Overcomplete Wavelet denoiser.
r24772: DirectShow based tv:// driver for win32
r24783: Consistently set NOTE: in italics.
r24784: small grammar fix
r24785: Add -lavfdopts cryptokey
r24807: Docs update: -ao openal handles more than one channels since some time already
r24808: Add a space behind openal to get minimum length of 7
r24809: Replace Polyp- by PulseAudio output.
r24820: Clarify that -vo gl bicubic filtering is B-spline, not polynomial
r24837: Spelling, vf_ow parameters are optional.
r24841: type fix: there was a 'not' too much
author | voroshil |
---|---|
date | Thu, 25 Oct 2007 17:37:49 +0000 |
parents | cd6b211be811 |
children | fe50eaad932d |
line wrap: on
line source
#ifndef _OS_H #define _OS_H /******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE. * * * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002 * * BY THE Xiph.Org FOUNDATION http://www.xiph.org/ * * * ******************************************************************** function: #ifdef jail to whip a few platforms into the UNIX ideal. ********************************************************************/ #include <math.h> #include "os_types.h" #ifndef _V_IFDEFJAIL_H_ # define _V_IFDEFJAIL_H_ # ifdef __GNUC__ # define STIN static __inline__ # elif _WIN32 # define STIN static __inline # endif #else # define STIN static #endif #ifndef M_PI # define M_PI (3.1415926536f) #endif #ifdef _WIN32 # include <malloc.h> # define rint(x) (floor((x)+0.5f)) # define NO_FLOAT_MATH_LIB # define FAST_HYPOT(a, b) sqrt((a)*(a) + (b)*(b)) #endif #ifdef HAVE_ALLOCA_H # include <alloca.h> #endif #ifdef USE_MEMORY_H # include <memory.h> #endif #ifndef min # define min(x,y) ((x)>(y)?(y):(x)) #endif #ifndef max # define max(x,y) ((x)<(y)?(y):(x)) #endif #endif /* _OS_H */