Perceptually Motivated Algorithms For Multimedia