pp: rework the way templating is done.
authorClément Bœsch <ubitux@gmail.com>
Wed, 14 Nov 2012 19:20:35 +0000 (20:20 +0100)
committerClément Bœsch <ubitux@gmail.com>
Fri, 16 Nov 2012 22:13:36 +0000 (23:13 +0100)
commit375cd3f2ecda7c4cacb7dfb58c0a294a9f473b48
tree33f2e23ae1aaa2535f55b7c1aee7f73fbbe60bf4
parent6535d81d8788a6eb758dd08330d4915c224fa5ee
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.
libpostproc/postprocess.c
libpostproc/postprocess_altivec_template.c
libpostproc/postprocess_template.c