Add a function to match a 2 element vector of uint16_t and use it in h263 and svq1
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 9 Jan 2010 18:33:21 +0000 (18:33 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 9 Jan 2010 18:33:21 +0000 (18:33 +0000)
commitc46eeae2a80dfe0046c15b542e8b9a2c78f19bf7
tree8c0378f0ae122dd5fcd3b101f7b55d0d233188f2
parentaa11ce6568a190b7c843c57bcbc8f5e1785af99b
Add a function to match a 2 element vector of uint16_t and use it in h263 and svq1
instead of custom and bloated code to find an index into a w/h array.

Originally committed as revision 21113 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ituh263enc.c
libavcodec/mpegvideo_enc.c
libavcodec/svq1.c
libavcodec/svq1.h
libavcodec/svq1enc.c
libavcodec/utils.c