Mercurial > libavcodec.hg
comparison vc1dsp.c @ 11378:f46b68960464 libavcodec
Move some VC1 dsp prototypes to dsputil.h; they are defined in dsputil.c
Also fix function definitions to match prototypes (missing const).
author | mru |
---|---|
date | Sat, 06 Mar 2010 22:36:55 +0000 |
parents | bf309c7ce615 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11377:f9e0f62a7d8a | 11378:f46b68960464 |
---|---|
579 VC1_MSPEL_MC(op_put, put_) | 579 VC1_MSPEL_MC(op_put, put_) |
580 VC1_MSPEL_MC(op_avg, avg_) | 580 VC1_MSPEL_MC(op_avg, avg_) |
581 | 581 |
582 /* pixel functions - really are entry points to vc1_mspel_mc */ | 582 /* pixel functions - really are entry points to vc1_mspel_mc */ |
583 | 583 |
584 /* this one is defined in dsputil.c */ | |
585 void ff_put_vc1_mspel_mc00_c(uint8_t *dst, const uint8_t *src, int stride, int rnd); | |
586 void ff_avg_vc1_mspel_mc00_c(uint8_t *dst, const uint8_t *src, int stride, int rnd); | |
587 | |
588 #define PUT_VC1_MSPEL(a, b)\ | 584 #define PUT_VC1_MSPEL(a, b)\ |
589 static void put_vc1_mspel_mc ## a ## b ##_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { \ | 585 static void put_vc1_mspel_mc ## a ## b ##_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { \ |
590 put_vc1_mspel_mc(dst, src, stride, a, b, rnd); \ | 586 put_vc1_mspel_mc(dst, src, stride, a, b, rnd); \ |
591 }\ | 587 }\ |
592 static void avg_vc1_mspel_mc ## a ## b ##_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { \ | 588 static void avg_vc1_mspel_mc ## a ## b ##_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { \ |