Mercurial > libavcodec.hg
comparison h264.c @ 3071:cc0357a90e8f libavcodec
make some functions static (patch by Dieter < freebsd at sopwith.solgatos.com >)
author | aurel |
---|---|
date | Sat, 28 Jan 2006 16:05:06 +0000 |
parents | 04b924f8f5a5 |
children | 385e54795a9e |
comparison
equal
deleted
inserted
replaced
3070:3c32ecc8eefe | 3071:cc0357a90e8f |
---|---|
5739 } | 5739 } |
5740 } | 5740 } |
5741 return 0; | 5741 return 0; |
5742 } | 5742 } |
5743 | 5743 |
5744 void inline compute_mb_neighboors(H264Context *h) | 5744 static void inline compute_mb_neighboors(H264Context *h) |
5745 { | 5745 { |
5746 MpegEncContext * const s = &h->s; | 5746 MpegEncContext * const s = &h->s; |
5747 const int mb_xy = s->mb_x + s->mb_y*s->mb_stride; | 5747 const int mb_xy = s->mb_x + s->mb_y*s->mb_stride; |
5748 h->top_mb_xy = mb_xy - s->mb_stride; | 5748 h->top_mb_xy = mb_xy - s->mb_stride; |
5749 h->left_mb_xy[0] = mb_xy - 1; | 5749 h->left_mb_xy[0] = mb_xy - 1; |