Mercurial > libavcodec.hg
comparison intrax8.c @ 5898:9022754a5fa5 libavcodec
remove inline from non speed critical functions
author | michael |
---|---|
date | Fri, 09 Nov 2007 21:58:50 +0000 |
parents | 6c7074038953 |
children | 4a3dc304e623 |
comparison
equal
deleted
inserted
replaced
5897:6c7074038953 | 5898:9022754a5fa5 |
---|---|
87 init_or_vlc( j_orient_vlc[1][i], ff_x8_orient_lowquant_table [i][0]) | 87 init_or_vlc( j_orient_vlc[1][i], ff_x8_orient_lowquant_table [i][0]) |
88 } | 88 } |
89 } | 89 } |
90 #undef init_or_vlc | 90 #undef init_or_vlc |
91 | 91 |
92 static inline void x8_reset_vlc_tables(IntraX8Context * w){ | 92 static void x8_reset_vlc_tables(IntraX8Context * w){ |
93 memset(w->j_dc_vlc,0,sizeof(w->j_dc_vlc)); | 93 memset(w->j_dc_vlc,0,sizeof(w->j_dc_vlc)); |
94 memset(w->j_ac_vlc,0,sizeof(w->j_ac_vlc)); | 94 memset(w->j_ac_vlc,0,sizeof(w->j_ac_vlc)); |
95 w->j_orient_vlc=NULL; | 95 w->j_orient_vlc=NULL; |
96 } | 96 } |
97 | 97 |
641 } | 641 } |
642 } | 642 } |
643 return 0; | 643 return 0; |
644 } | 644 } |
645 | 645 |
646 static inline void x8_init_block_index(MpegEncContext *s){ //FIXME maybe merge with ff_* | 646 static void x8_init_block_index(MpegEncContext *s){ //FIXME maybe merge with ff_* |
647 //not s->linesize as this would be wrong for field pics | 647 //not s->linesize as this would be wrong for field pics |
648 //not that IntraX8 have interlace support ;) | 648 //not that IntraX8 have interlace support ;) |
649 const int linesize = s->current_picture.linesize[0]; | 649 const int linesize = s->current_picture.linesize[0]; |
650 const int uvlinesize= s->current_picture.linesize[1]; | 650 const int uvlinesize= s->current_picture.linesize[1]; |
651 | 651 |