Thread: CAVLC -> CABAC?
View Single Post
Old 26th December 2005, 16:23   #5  |  Link
virus
Senior n00b
 
Join Date: Jan 2004
Location: Italy
Posts: 446
Quote:
Originally Posted by Chainmax
Forgive my complete and utter ingorance, but it can be done in a lossless way? How?
Entropy coding via CABAC or CAVLC is done as last step, after ME and quantization have taken place. Let's say it's a lossless process that just "writes down to the bitstream" the already-computed data (transformed&quantized coefficients, macroblock types, motion vectors, plus additional side-infos). All you need to do is to decode the CAVLC/CABAC stream and reencode it to the other format, while signalling in the slice headers that you've switched entropy coder type. Nothing will be lost in the process, since detail removal (which comes from quantization) need not be performed again. You just redo the very last step in your encoding chain (see what I've written above).
virus is offline   Reply With Quote