Multimedia Techniques for Device and Ambient Intelligence