Revision 991f3de1 libavcodec/ac3dec.c

View differences:

libavcodec/ac3dec.c
67 67
static float dynamic_range_tab[256];
68 68

  
69 69
/** Adjustments in dB gain */
70
#define LEVEL_PLUS_3DB          1.4142135623730950
71
#define LEVEL_PLUS_1POINT5DB    1.1892071150027209
72
#define LEVEL_MINUS_1POINT5DB   0.8408964152537145
73
#define LEVEL_MINUS_3DB         0.7071067811865476
74
#define LEVEL_MINUS_4POINT5DB   0.5946035575013605
75
#define LEVEL_MINUS_6DB         0.5000000000000000
76
#define LEVEL_MINUS_9DB         0.3535533905932738
77
#define LEVEL_ZERO              0.0000000000000000
78
#define LEVEL_ONE               1.0000000000000000
79

  
80 70
static const float gain_levels[9] = {
81 71
    LEVEL_PLUS_3DB,
82 72
    LEVEL_PLUS_1POINT5DB,

Also available in: Unified diff