Minor optimizations, trick for YV16 faster.

Signed-off-by: jpsdr <jpsdr.psx@free.fr>