ratecontrol: remove unused bframes (this was probably not the bframes you need)
TEncSearch: clamp mvmin.y to reflag distance as well
lowres: don't use bframes member var to store allocation count

x264 used a bframes variable here to hold the number of leading B frames
encoded before an I or a P (I assume for rate control use)