1. A method for parallelized entropy encoding of a first value and a second value, comprising: executing a first thread on a graphics processing unit (GPU) to entropy encode the first value, based on the first value and a reference value; while executing the first thread on the GPU, executing a second thread on the GPU to entropy encode the second value, based on the second value and the first value; and storing the encoded first value and the encoded second value in a memory location.