diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-01-22 03:50:26 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-03-13 19:15:53 +0400 |
commit | bbf0ef57e9d2d7bb2995f664dd74c8229bca25f5 (patch) | |
tree | cc6ae5720761b21d5be86b47b073ff4502429c4d /libavcodec/bfin/dsputil_bfin.c | |
parent | 80173c71bab3b8817c148837bdc920557018f428 (diff) |
bfin: Move all assembly declarations only used within one .c file there
This is done similarly for all other architectures.
Diffstat (limited to 'libavcodec/bfin/dsputil_bfin.c')
-rw-r--r-- | libavcodec/bfin/dsputil_bfin.c | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/libavcodec/bfin/dsputil_bfin.c b/libavcodec/bfin/dsputil_bfin.c index 72c108173d..7a214a30bb 100644 --- a/libavcodec/bfin/dsputil_bfin.c +++ b/libavcodec/bfin/dsputil_bfin.c @@ -21,10 +21,41 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + +#include "config.h" #include "libavutil/attributes.h" +#include "libavutil/bfin/attributes.h" #include "libavcodec/avcodec.h" #include "libavcodec/dsputil.h" -#include "dsputil_bfin.h" + +void ff_bfin_idct(int16_t *block) attribute_l1_text; +void ff_bfin_fdct(int16_t *block) attribute_l1_text; + +void ff_bfin_add_pixels_clamped(const int16_t *block, uint8_t *dest, + int line_size) attribute_l1_text; +void ff_bfin_put_pixels_clamped(const int16_t *block, uint8_t *dest, + int line_size) attribute_l1_text; + +void ff_bfin_diff_pixels(int16_t *block, const uint8_t *s1, const uint8_t *s2, + int stride) attribute_l1_text; +void ff_bfin_get_pixels(int16_t *restrict block, const uint8_t *pixels, + int line_size) attribute_l1_text; + +int ff_bfin_pix_norm1(uint8_t *pix, int line_size) attribute_l1_text; +int ff_bfin_pix_sum(uint8_t *p, int stride) attribute_l1_text; + +int ff_bfin_z_sad8x8(uint8_t *blk1, uint8_t *blk2, int dsz, + int line_size, int h) attribute_l1_text; +int ff_bfin_z_sad16x16(uint8_t *blk1, uint8_t *blk2, int dsz, + int line_size, int h) attribute_l1_text; + +int ff_bfin_sse4(void *v, uint8_t *pix1, uint8_t *pix2, + int line_size, int h) attribute_l1_text; +int ff_bfin_sse8(void *v, uint8_t *pix1, uint8_t *pix2, + int line_size, int h) attribute_l1_text; +int ff_bfin_sse16(void *v, uint8_t *pix1, uint8_t *pix2, + int line_size, int h) attribute_l1_text; static void bfin_idct_add(uint8_t *dest, int line_size, int16_t *block) { |