C3: High-performance and low-complexity neural compression from a single image or video