dsputil: create 16/32-bit dctcoef versions of some functions
authorMans Rullgard <mans@mansr.com>
Thu, 21 Jul 2011 11:39:41 +0000 (12:39 +0100)
committerMans Rullgard <mans@mansr.com>
Thu, 21 Jul 2011 17:10:58 +0000 (18:10 +0100)
commit5cc2600964c72dad995efb18c918a63e0965f8db
tree8b0c518a870efbcb4e2cd275a6d96d1ceabd1453
parent0a72533e9854aa615bb6d1569dd5f0c4cd031429
dsputil: create 16/32-bit dctcoef versions of some functions

High bitdepth H.264 needs 32-bit transform coefficients, whereas
dnxhd does not.  This creates a conflict with the templated
functions operating on DCTELEM data.  This patch adds a field
allowing the caller to choose the element size in dsputil_init()
and adds the required functions.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/dsputil.c
libavcodec/dsputil.h
libavcodec/dsputil_template.c
libavcodec/h264.c