From: Justin Ruggles Date: Tue, 14 Dec 2010 22:45:15 +0000 (+0000) Subject: cosmetics: alignment and line wrap after last commit X-Git-Tag: v0.7b1~1343 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=937cd1467cadc586919d9a19cdf7a5fe78c5c514;p=platform%2Fupstream%2Flibav.git cosmetics: alignment and line wrap after last commit Originally committed as revision 26008 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index 8282aa6..ec47b6e 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -667,10 +667,10 @@ static void encode_exponents(AC3EncodeContext *s, * varies depending on exponent strategy and bandwidth. */ static void group_exponents(AC3EncodeContext *s, - uint8_t encoded_exp[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][AC3_MAX_COEFS], - uint8_t exp_strategy[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS], - uint8_t num_exp_groups[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS], - uint8_t grouped_exp[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][AC3_MAX_EXP_GROUPS]) + uint8_t encoded_exp[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][AC3_MAX_COEFS], + uint8_t exp_strategy[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS], + uint8_t num_exp_groups[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS], + uint8_t grouped_exp[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][AC3_MAX_EXP_GROUPS]) { int blk, ch, i; int group_size, bit_count; @@ -726,13 +726,13 @@ static void group_exponents(AC3EncodeContext *s, * and encode final exponents. */ static void process_exponents(AC3EncodeContext *s, - int32_t mdct_coef[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][AC3_MAX_COEFS], - int8_t exp_shift[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS], - uint8_t exp[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][AC3_MAX_COEFS], - uint8_t exp_strategy[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS], - uint8_t encoded_exp[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][AC3_MAX_COEFS], - uint8_t num_exp_groups[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS], - uint8_t grouped_exp[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][AC3_MAX_EXP_GROUPS]) + int32_t mdct_coef[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][AC3_MAX_COEFS], + int8_t exp_shift[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS], + uint8_t exp[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][AC3_MAX_COEFS], + uint8_t exp_strategy[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS], + uint8_t encoded_exp[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][AC3_MAX_COEFS], + uint8_t num_exp_groups[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS], + uint8_t grouped_exp[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][AC3_MAX_EXP_GROUPS]) { extract_exponents(s, mdct_coef, exp_shift, exp); @@ -779,7 +779,7 @@ static void bit_alloc_init(AC3EncodeContext *s) * Count the bits used to encode the frame, minus exponents and mantissas. */ static void count_frame_bits(AC3EncodeContext *s, - uint8_t exp_strategy[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS]) + uint8_t exp_strategy[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS]) { static const int frame_bits_inc[8] = { 0, 0, 2, 2, 2, 4, 2, 4 }; int blk, ch; @@ -1451,8 +1451,8 @@ static int ac3_encode_frame(AVCodecContext *avctx, apply_mdct(s, planar_samples, exp_shift, mdct_coef); - process_exponents(s, mdct_coef, exp_shift, exp, exp_strategy, - encoded_exp, num_exp_groups, grouped_exp); + process_exponents(s, mdct_coef, exp_shift, exp, exp_strategy, encoded_exp, + num_exp_groups, grouped_exp); ret = compute_bit_allocation(s, bap, encoded_exp, exp_strategy); if (ret) {