Improve handling of input vector to inter search.
Improve handling of input vector to inter search.

ultravideo/kvazaar,lu-zero/kvazaar,lu-zero/kvazaar,ultravideo/kvazaar,ultravideo/kvazaar,lu-zero/kvazaar,lu-zero/kvazaar,ultravideo/kvazaar,ultravideo/kvazaar