hpel_template: K&R formatting cosmetics
hpel_template: Drop some unnecessary parentheses
hpeldsp_template: K&R formatting cosmetics
hpeldsp_template: Merge some declarations and initializations
ppc: dsputil: comment formatting and wording/grammar improvements
ppc: dsputil: K&R formatting cosmetics
ppc: dsputil: more K&R formatting cosmetics
ppc: dsputil: Drop some unnecessary parentheses
ppc: dsputil: Simplify some ifdeffed function definitions
ppc: dsputil: Merge some declarations and initializations
ppc: dsputil: Drop trailing semicolon from macros

This allows for a more natural macro usage.
arm: dsputil: K&R formatting cosmetics
dsputil: Propagate bit depth information to all (sub)init functions

This avoids recalculating the value over and over again.
dsputil: Conditionally compile dsputil code on all architectures
build: Group general components separate from de/encoders in arch Makefiles

This is in line with how the top-level libavcodec Makefile is structured.
dsputil: Use correct type in me_cmp_func function pointer
vdpau: don't assume Picture and H264Picture are the same

The code passed H264Picture* and Picture*, and assumed the
hwaccel_picture_private field was in the same place in both
structs. Somehow this happened to work in Libav, but broke in
FFmpeg (and probably subtly breaks in Libav too).

Signed-off-by: Anton Khirnov <anton@khirnov.net>
vdpau: switch ff_vdpau_get_surface_id from Picture to AVFrame

This gets rid of aliasing completely unrelated structs to Picture.

Fixes the remaining compilation warnings in the vdpau code.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
vaapi: switch ff_vaapi_get_surface_id from Picture to AVFrame

Signed-off-by: Anton Khirnov <anton@khirnov.net>
Merge commit 'e8eace32765da4b42ac3c575fdb2c70cce8aa224'

* commit 'e8eace32765da4b42ac3c575fdb2c70cce8aa224':
  hpel_template: K&R formatting cosmetics

Merged-by: Michael Niedermayer <michaelni@gmx.at>