Codec Support for CPU-Only and GPU-Enabled Deployments