Revision bfeca7be libavcodec/ac3tab.c

View differences:

libavcodec/ac3tab.c
24 24
 * tables taken directly from the AC-3 spec.
25 25
 */
26 26

  
27
#include "avcodec.h"
27 28
#include "ac3tab.h"
28 29

  
29 30
/**
......
79 80
    2, 1, 2, 3, 3, 4, 4, 5
80 81
};
81 82

  
83
/**
84
 * Maps audio coding mode (acmod) to channel layout mask.
85
 */
86
const uint16_t ff_ac3_channel_layout_tab[8] = {
87
    CH_LAYOUT_STEREO,
88
    CH_LAYOUT_MONO,
89
    CH_LAYOUT_STEREO,
90
    CH_LAYOUT_SURROUND,
91
    CH_LAYOUT_2_1,
92
    CH_LAYOUT_4POINT0,
93
    CH_LAYOUT_2_2,
94
    CH_LAYOUT_5POINT0
95
};
96

  
82 97
#define COMMON_CHANNEL_MAP \
83 98
    { { 0, 1,          }, { 0, 1, 2,         } },\
84 99
    { { 0,             }, { 0, 1,            } },\

Also available in: Unified diff