I figured it out.. basically because my Raw images are linear gamma, the low end is very dark and the encoder doesn't have a lot to work with so I added a log transformation prior to encoding and that did the trick, no more blocky compression artifacts.