[FFmpeg-soc] [soc]: r681 - dirac/libavcodec/dirac.c
marco
subversion at mplayerhq.hu
Sat Aug 11 19:03:44 CEST 2007
Author: marco
Date: Sat Aug 11 19:03:44 2007
New Revision: 681
Log:
fix indentation
Modified:
dirac/libavcodec/dirac.c
Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c (original)
+++ dirac/libavcodec/dirac.c Sat Aug 11 19:03:44 2007
@@ -783,7 +783,8 @@ static int inline coeff_quant_offset(AVC
* @param qfactor quantizer factor
* @return dequantized coefficient
*/
-static int inline coeff_dequant(AVCodecContext *avctx, int coeff, int qoffset, int qfactor) {
+static int inline coeff_dequant(AVCodecContext *avctx, int coeff,
+ int qoffset, int qfactor) {
int64_t magnitude = abs(coeff) * qfactor;
if (! magnitude)
@@ -898,7 +899,8 @@ static int sign_predict(AVCodecContext *
* @param qfact quantizer factor
*/
static void coeff_unpack(AVCodecContext *avctx, int *data, int level,
- subband_t orientation, int v, int h, int qoffset, int qfactor) {
+ subband_t orientation, int v, int h,
+ int qoffset, int qfactor) {
int parent = 0;
int nhood;
int sign_pred;
@@ -949,7 +951,8 @@ static void coeff_unpack(AVCodecContext
* @param quant quantizer factor
*/
static void codeblock(AVCodecContext *avctx, int *data, int level,
- subband_t orientation, int x, int y, int qoffset, int qfactor) {
+ subband_t orientation, int x, int y,
+ int qoffset, int qfactor) {
DiracContext *s = avctx->priv_data;
int blockcnt = s->codeblocksh[level] * s->codeblocksv[level];
int zero = 0;
@@ -973,7 +976,8 @@ static void codeblock(AVCodecContext *av
spec. */
for (v = top; v < bottom; v++)
for (h = left; h < right; h++)
- coeff_unpack(avctx, data, level, orientation, v, h, qoffset, qfactor);
+ coeff_unpack(avctx, data, level, orientation, v, h,
+ qoffset, qfactor);
}
/**
@@ -1042,7 +1046,8 @@ static int subband(AVCodecContext *avctx
for (y = 0; y < s->codeblocksv[level]; y++)
for (x = 0; x < s->codeblocksh[level]; x++)
- codeblock(avctx, data, level, orientation, x, y, qoffset, qfactor);
+ codeblock(avctx, data, level, orientation, x, y,
+ qoffset, qfactor);
dirac_arith_flush(&s->arith);
}
More information about the FFmpeg-soc
mailing list