LG refactors Robert's flip/flop/flipflop code.
There was nothing wrong with Robert's code, but LG has been totally
overhauling ImageBufAlgo and oiiotool code lately and as a very specific
aesthetic in his head at this point.