diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-02-24 17:45:11 -0500 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-03-22 17:12:20 -0400 |
commit | 2ade1cdafb96bf47e77f7ed74731d78a30aae950 (patch) | |
tree | 394e2ecbfedd5a7f78eef11343ee2480fef7e8f9 /libavcodec/intrax8.h | |
parent | 6f5ff559dbd01fa4ea96bc0a1d2e0c21f2db8d13 (diff) | |
download | ffmpeg-2ade1cdafb96bf47e77f7ed74731d78a30aae950.tar.gz |
intrax8: K&R formatting cosmetics
Diffstat (limited to 'libavcodec/intrax8.h')
-rw-r--r-- | libavcodec/intrax8.h | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/libavcodec/intrax8.h b/libavcodec/intrax8.h index 69673171a8..83e984bbef 100644 --- a/libavcodec/intrax8.h +++ b/libavcodec/intrax8.h @@ -24,25 +24,29 @@ #include "intrax8dsp.h" typedef struct IntraX8Context { - VLC * j_ac_vlc[4];//they point to the static j_mb_vlc - VLC * j_orient_vlc; - VLC * j_dc_vlc[3]; + VLC *j_ac_vlc[4]; // they point to the static j_mb_vlc + VLC *j_orient_vlc; + VLC *j_dc_vlc[3]; int use_quant_matrix; -//set by ff_intrax8_common_init - uint8_t * prediction_table;//2*(mb_w*2) + + // set by ff_intrax8_common_init + uint8_t *prediction_table; // 2 * (mb_w * 2) ScanTable scantable[3]; -//set by the caller codec - MpegEncContext * s; + + // set by the caller codec + MpegEncContext *s; IntraX8DSPContext dsp; int quant; int dquant; int qsum; -//calculated per frame + + // calculated per frame int quant_dc_chroma; int divide_quant_dc_luma; int divide_quant_dc_chroma; -//changed per block + + // changed per block int edges; int flat_dc; int predicted_dc; @@ -52,8 +56,8 @@ typedef struct IntraX8Context { int est_run; } IntraX8Context; -void ff_intrax8_common_init(IntraX8Context * w, MpegEncContext * const s); -void ff_intrax8_common_end(IntraX8Context * w); -int ff_intrax8_decode_picture(IntraX8Context * w, int quant, int halfpq); +void ff_intrax8_common_init(IntraX8Context *w, MpegEncContext *const s); +void ff_intrax8_common_end(IntraX8Context *w); +int ff_intrax8_decode_picture(IntraX8Context *w, int quant, int halfpq); #endif /* AVCODEC_INTRAX8_H */ |