RV40: reuse some H.264 motion compensation functions in RV40.
authorKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 30 Aug 2011 09:02:22 +0000 (10:02 +0100)
committerMans Rullgard <mans@mansr.com>
Tue, 30 Aug 2011 11:04:46 +0000 (12:04 +0100)
commita80852316e92d0b7850e15e2dd30123ef81e0ce1
tree7728bb0087330d58b1abd6544752d2dcb90545d6
parent22141917a987e22685ee20440148e25724451f50
RV40: reuse some H.264 motion compensation functions in RV40.

Since RV40 is based on H.264, it uses the same interpolation filters and
functions for halfpel interpolation in one direction can be reused.
Unfortunately other cases are implemented differently and produce slightly
different output because of rounding.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/rv40dsp.c