Mercurial > libavcodec.hg
comparison dsputil.h @ 838:b78812db886f libavcodec
lrintf detection (based upon a patch by Franois Revol <revol at free dot fr>)
author | michaelni |
---|---|
date | Tue, 05 Nov 2002 00:07:05 +0000 |
parents | 99db75050d38 |
children | eacc2dd8fd9d |
comparison
equal
deleted
inserted
replaced
837:ee8bb36d2e60 | 838:b78812db886f |
---|---|
267 const FFTSample *input, FFTSample *tmp); | 267 const FFTSample *input, FFTSample *tmp); |
268 void ff_mdct_calc(MDCTContext *s, FFTSample *out, | 268 void ff_mdct_calc(MDCTContext *s, FFTSample *out, |
269 const FFTSample *input, FFTSample *tmp); | 269 const FFTSample *input, FFTSample *tmp); |
270 void ff_mdct_end(MDCTContext *s); | 270 void ff_mdct_end(MDCTContext *s); |
271 | 271 |
272 #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) | 272 #ifndef HAVE_LRINTF |
273 /* XXX: add ISOC specific test to avoid specific BSD testing. */ | 273 /* XXX: add ISOC specific test to avoid specific BSD testing. */ |
274 /* better than nothing implementation. */ | 274 /* better than nothing implementation. */ |
275 /* btw, rintf() is existing on fbsd too -- alex */ | 275 /* btw, rintf() is existing on fbsd too -- alex */ |
276 static inline long int lrintf(float x) | 276 static inline long int lrintf(float x) |
277 { | 277 { |