support layout for 1,2,4 streams