Move value clipping away from separate loop
Move value clipping away from separate loop

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