[mw/yarp] Fix typo in generic encoding, and provide encoding for tuple
[camera] Only create one scene by resolution, not one by camera

It allows to share the same scene for different cameras using the same
resolution. Must save a few us each loop :).