diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-01-06 10:35:37 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-03-13 08:15:52 -0700 |
commit | a3e7562621bd96ce909e07149c419b6ba85cc54f (patch) | |
tree | eeaf18f73638c977f2e9bbf15701ddab0e511e8d /libavcodec/bfin/config_bfin.h | |
parent | 1e33095b83addd8d24bc16bd08aa734fa161d515 (diff) | |
download | ffmpeg-streaming-a3e7562621bd96ce909e07149c419b6ba85cc54f.zip ffmpeg-streaming-a3e7562621bd96ce909e07149c419b6ba85cc54f.tar.gz |
bfin: dsputil: K&R formatting cosmetics
Also add a few #endif comments.
Diffstat (limited to 'libavcodec/bfin/config_bfin.h')
-rw-r--r-- | libavcodec/bfin/config_bfin.h | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/libavcodec/bfin/config_bfin.h b/libavcodec/bfin/config_bfin.h index e714070..63f9e32 100644 --- a/libavcodec/bfin/config_bfin.h +++ b/libavcodec/bfin/config_bfin.h @@ -17,16 +17,17 @@ * License along with Libav; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/* - low level assembler interface wrapper - -DEFUN(put_pixels_clamped,mL1, - (int16_t *block, uint8_t *dest, int line_size)): - - body - rts; -*/ +/* + * low level assembler interface wrapper + * + * DEFUN(put_pixels_clamped,mL1, + * (int16_t *block, uint8_t *dest, int line_size)): + * + * body + * + * rts; + */ #ifndef AVCODEC_BFIN_CONFIG_BFIN_H #define AVCODEC_BFIN_CONFIG_BFIN_H @@ -42,24 +43,24 @@ DEFUN(put_pixels_clamped,mL1, #else #define mL1 mL3 #endif -#endif +#endif /* mL1 */ -#define DEFUN(fname,where,interface) \ - .section where; \ - .global _ff_bfin_ ## fname ; \ - .type _ff_bfin_ ## fname, STT_FUNC; \ - .align 8; \ - _ff_bfin_ ## fname +#define DEFUN(fname, where, interface) \ + .section where; \ + .global _ff_bfin_ ## fname; \ + .type _ff_bfin_ ## fname, STT_FUNC; \ + .align 8; \ + _ff_bfin_ ## fname #define DEFUN_END(fname) \ - .size _ff_bfin_ ## fname, . - _ff_bfin_ ## fname + .size _ff_bfin_ ## fname, . - _ff_bfin_ ## fname #ifdef __FDPIC__ -#define RELOC(reg,got,obj) reg = [got + obj@GOT17M4] +#define RELOC(reg, got, obj) reg = [got + obj@GOT17M4] #else -#define RELOC(reg,got,obj) reg.L = obj; reg.H = obj +#define RELOC(reg, got, obj) reg.L = obj; reg.H = obj #endif -#endif +#endif /* DEFUN */ #endif /* AVCODEC_BFIN_CONFIG_BFIN_H */ |