On the use of layers for video coding and object manipulation