Nice results! thanks for posting. :)
I really hate that you're so limited by working in YUV (YV12) colorspace, you have so much more advantage, control and accuracy in RGB, as I understand it a colorspace conversion, YV12 to RGB and back to YV12 is a very lossy process and always not recommended, right?