[PD] bit operations on samples