2D/3D-encoding