diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-11-14 20:20:35 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-11-16 23:13:36 +0100 |
commit | 375cd3f2ecda7c4cacb7dfb58c0a294a9f473b48 (patch) | |
tree | 33f2e23ae1aaa2535f55b7c1aee7f73fbbe60bf4 /libpostproc/postprocess_altivec_template.c | |
parent | 6535d81d8788a6eb758dd08330d4915c224fa5ee (diff) | |
download | ffmpeg-375cd3f2ecda7c4cacb7dfb58c0a294a9f473b48.tar.gz |
pp: rework the way templating is done.
This refactoring simplifies the usage of the template: define the
profile and include the template is all that is required. It should now
be easier to add more instruction sets.
The HAVE_* flags are changed with TEMPLATE_PP_* setting to avoid messing
them up.
See the top comment in postprocess_template.c for details.
Diffstat (limited to 'libpostproc/postprocess_altivec_template.c')
-rw-r--r-- | libpostproc/postprocess_altivec_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpostproc/postprocess_altivec_template.c b/libpostproc/postprocess_altivec_template.c index 3a37562452..fa6ebe279d 100644 --- a/libpostproc/postprocess_altivec_template.c +++ b/libpostproc/postprocess_altivec_template.c @@ -825,7 +825,7 @@ static inline void dering_altivec(uint8_t src[], int stride, PPContext *c) { #define doHorizDefFilter_altivec(a...) doHorizDefFilter_C(a) #define do_a_deblock_altivec(a...) do_a_deblock_C(a) -static inline void RENAME(tempNoiseReducer)(uint8_t *src, int stride, +static inline void tempNoiseReducer_altivec(uint8_t *src, int stride, uint8_t *tempBlurred, uint32_t *tempBlurredPast, int *maxNoise) { const vector signed char neg1 = vec_splat_s8(-1); |