1. A camera system, comprising: an image sensor configured to convert light incident upon the image sensor into raw image data; an image pipeline configured to: convert the raw image data into color-space image data; and calculate activity variances of the color-space image data; an encoder configured to: determine quantization levels of the color-space image data based on the activity variances; and encode the color-space image data using the determined quantization levels to produce encoded image data; and a memory configured to store the encoded image data.