Variable rate codecs, e.g. for generating different qualities using a scalable representation such as hierarchical encoding or layered encoding