摘要 |
A method and system are disclosed for the lossless compression of video data in a synchronous pipelined environment. One or more syntax elements of video data are binarized into one or more ordered bins. A first context model associated with a first bin and a second context model associated with a second bin are received. The first bin is encoded based on the first context model and the second bin is encoded based on the second context model, both bins being encoded within the same clock cycle. One or more encoded bits are outputted based on encoding the first and second bin. In one embodiment, the first bin is encoded in a first pipeline and the second bin is encoded in a second pipeline. In this embodiment, two bins may be encoded every clock cycle, one per pipeline. Further, in one embodiment, multiple context models are received and one context model is selected by each pipeline for encoding. After encoding, one or more context models may be updated and stored. |
主权项 |
1. A method for lossless compression of video data in a synchronous pipelined environment, the method comprising:
converting, through binarization, one or more syntax elements into ordered bins, the ordered bins comprising at least a first bin followed by a second bin; requesting, by a first context model lookup module, a first context model based on the first bin; requesting, by a second context model lookup module, a second context model based on the second bin; receiving, at a first encoder coupled to the first context model lookup module, the first bin and the first context model; receiving, at a second encoder coupled to the second context model lookup module the second bin and the second context model; encoding, by the first encoder, the first bin based at least in part on the first context model within a clock cycle to produce a first encoded bit; encoding, by the second encoder, the second bin based at least in part on the second context model within the same clock cycle to produce a second encoded bit; combining the first encoded bit and a second encoded bit to form an encoded bitstream; and outputting the one encoded bitstream. |