Invert setting for video encoding