view intfloat_readwrite.h @ 44:96a4efa91a4d libavutil

make sure NDEBUG is not defined already before defining it Patch by Diego 'Flameeyes' Petteno flameeyes AA gentoo PP org Original thread: Date: Jun 30, 2006 1:09 AM Subject: [Ffmpeg-devel] [PATCH] Avoid warning on NDEBUG redefinition
author gpoirier
date Fri, 30 Jun 2006 07:45:31 +0000
parents 2b3573111ff0
children 11be8e0d1344
line wrap: on
line source

#ifndef INTFLOAT_READWRITE_H
#define INTFLOAT_READWRITE_H

#include "common.h"

/* IEEE 80 bits extended float */
typedef struct AVExtFloat  {
    uint8_t exponent[2];
    uint8_t mantissa[8];
} AVExtFloat;

double av_int2dbl(int64_t v);
float av_int2flt(int32_t v);
double av_ext2dbl(const AVExtFloat ext);
int64_t av_dbl2int(double d);
int32_t av_flt2int(float d);
AVExtFloat av_dbl2ext(double d);

#endif /* INTFLOAT_READWRITE_H */