Commit 7bad5900 authored by michael's avatar michael

portable IEEE float/double read/write functions


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4458 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b8c25ac9
...@@ -17,7 +17,7 @@ extern "C" { ...@@ -17,7 +17,7 @@ extern "C" {
#define FFMPEG_VERSION_INT 0x000409 #define FFMPEG_VERSION_INT 0x000409
#define FFMPEG_VERSION "CVS" #define FFMPEG_VERSION "CVS"
#define LIBAVCODEC_BUILD 4758 #define LIBAVCODEC_BUILD 4759
#define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT #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); ...@@ -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); 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 */ /* frame parsing */
typedef struct AVCodecParserContext { typedef struct AVCodecParserContext {
void *priv_data; void *priv_data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment