Add a function to match a 2 element vector of uint16_t and use it in h263 and svq1