diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-07-19 14:25:23 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-07-19 14:25:23 +0000 |
commit | 2e8f2c20c9a0422975b708f9b9007f136e7ca504 (patch) | |
tree | 54ea85108164b431cf35135815a086c8e9a0ee61 /libavcodec/avcodec.h | |
parent | ea4377de8c65054a1fcc0744de8b9602e3d72363 (diff) | |
download | ffmpeg-2e8f2c20c9a0422975b708f9b9007f136e7ca504.tar.gz |
portable IEEE float/double read/write functions
Originally committed as revision 4458 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 43029a58b2..750ab1cae2 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -17,7 +17,7 @@ extern "C" { #define FFMPEG_VERSION_INT 0x000409 #define FFMPEG_VERSION "CVS" -#define LIBAVCODEC_BUILD 4758 +#define LIBAVCODEC_BUILD 4759 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT @@ -2332,6 +2332,12 @@ int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding); */ int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq); +double av_int2dbl(int64_t v); +float av_int2flt(int32_t v); +int64_t av_dbl2int(double d); +int32_t av_flt2int(float d); + + /* frame parsing */ typedef struct AVCodecParserContext { void *priv_data; |