Video watermarking in the 3D-DWT domain using perceptual masking