comparison ac3.h @ 7470:1a93d3bbe3ee libavcodec

cosmetics: make all references to AC-3 capitalized and hyphenated
author jbr
date Sun, 03 Aug 2008 16:42:32 +0000
parents 60fd9ae9540e
children c4a4495715dd
comparison
equal deleted inserted replaced
7469:856df346b536 7470:1a93d3bbe3ee
1 /* 1 /*
2 * Common code between AC3 encoder and decoder 2 * Common code between the AC-3 encoder and decoder
3 * Copyright (c) 2000, 2001, 2002 Fabrice Bellard. 3 * Copyright (c) 2000, 2001, 2002 Fabrice Bellard.
4 * 4 *
5 * This file is part of FFmpeg. 5 * This file is part of FFmpeg.
6 * 6 *
7 * FFmpeg is free software; you can redistribute it and/or 7 * FFmpeg is free software; you can redistribute it and/or
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */ 20 */
21 21
22 /** 22 /**
23 * @file ac3.h 23 * @file ac3.h
24 * Common code between AC3 encoder and decoder. 24 * Common code between the AC-3 encoder and decoder.
25 */ 25 */
26 26
27 #ifndef FFMPEG_AC3_H 27 #ifndef FFMPEG_AC3_H
28 #define FFMPEG_AC3_H 28 #define FFMPEG_AC3_H
29 29
30 #include "ac3tab.h" 30 #include "ac3tab.h"
31 31
32 #define AC3_MAX_CODED_FRAME_SIZE 3840 /* in bytes */ 32 #define AC3_MAX_CODED_FRAME_SIZE 3840 /* in bytes */
33 #define AC3_MAX_CHANNELS 6 /* including LFE channel */ 33 #define AC3_MAX_CHANNELS 6 /* including LFE channel */
34 34
35 #define NB_BLOCKS 6 /* number of PCM blocks inside an AC3 frame */ 35 #define NB_BLOCKS 6 /* number of PCM blocks inside an AC-3 frame */
36 #define AC3_FRAME_SIZE (NB_BLOCKS * 256) 36 #define AC3_FRAME_SIZE (NB_BLOCKS * 256)
37 37
38 /* exponent encoding strategy */ 38 /* exponent encoding strategy */
39 #define EXP_REUSE 0 39 #define EXP_REUSE 0
40 #define EXP_NEW 1 40 #define EXP_NEW 1