Move pixelformat options to struct to free variable names.