Revision 849f1035 libavcodec/vmnc.c

View differences:

libavcodec/vmnc.c
72 72
} VmncContext;
73 73

  
74 74
/* read pixel value from stream */
75
static always_inline int vmnc_get_pixel(uint8_t* buf, int bpp, int be) {
75
static av_always_inline int vmnc_get_pixel(uint8_t* buf, int bpp, int be) {
76 76
    switch(bpp * 2 + be) {
77 77
    case 2:
78 78
    case 3: return *buf;
......
172 172
}
173 173

  
174 174
/* fill rectangle with given colour */
175
static always_inline void paint_rect(uint8_t *dst, int dx, int dy, int w, int h, int color, int bpp, int stride)
175
static av_always_inline void paint_rect(uint8_t *dst, int dx, int dy, int w, int h, int color, int bpp, int stride)
176 176
{
177 177
    int i, j;
178 178
    dst += dx * bpp + dy * stride;
......
202 202
    }
203 203
}
204 204

  
205
static always_inline void paint_raw(uint8_t *dst, int w, int h, uint8_t* src, int bpp, int be, int stride)
205
static av_always_inline void paint_raw(uint8_t *dst, int w, int h, uint8_t* src, int bpp, int be, int stride)
206 206
{
207 207
    int i, j, p;
208 208
    for(j = 0; j < h; j++) {

Also available in: Unified diff