Revision 849f1035 libavcodec/h264.c
libavcodec/h264.c | ||
---|---|---|
400 | 400 |
static void filter_mb( H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr, unsigned int linesize, unsigned int uvlinesize); |
401 | 401 |
static void filter_mb_fast( H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr, unsigned int linesize, unsigned int uvlinesize); |
402 | 402 |
|
403 |
static always_inline uint32_t pack16to32(int a, int b){ |
|
403 |
static av_always_inline uint32_t pack16to32(int a, int b){
|
|
404 | 404 |
#ifdef WORDS_BIGENDIAN |
405 | 405 |
return (b&0xFFFF) + (a<<16); |
406 | 406 |
#else |
... | ... | |
423 | 423 |
* @param w width of the rectangle, should be a constant |
424 | 424 |
* @param size the size of val (1 or 4), should be a constant |
425 | 425 |
*/ |
426 |
static always_inline void fill_rectangle(void *vp, int w, int h, int stride, uint32_t val, int size){ |
|
426 |
static av_always_inline void fill_rectangle(void *vp, int w, int h, int stride, uint32_t val, int size){
|
|
427 | 427 |
uint8_t *p= (uint8_t*)vp; |
428 | 428 |
assert(size==1 || size==4); |
429 | 429 |
assert(w<=4); |
Also available in: Unified diff