A lot has been written about the upcoming Samsung Galaxy S6 and Galaxy S Edge flagships, with plenty of emphasis on the camera. The prevalent rumor is that it will be a 20MP shooter, but now more info has surfaced, coming from an insider who allegedly has a Galaxy S6 prototype in hand. The rear camera will pack a 20MP sensor manufactured by Samsung with optical image stabilization. The selfie camera will be a 5MP shooter, also with a Samsung-made sensor (the sensor from the Galaxy A series in particular). It's not clear if this Samsung sensor will make it to both S6 devices. Depending on production yield it could be limited to just the Galaxy S Edge or, worst case scenario, dropped altogether. In terms of software, Samsung is said to use the new Android 5.0 camera APIs to provide a Pro mode. This mode will shoot RAW photos and offer manual controls including focus and shutter speed...
Source: http://www.gsmarena.com/rumor_galaxy_s6_and_s6_edge_to_have_a_20mp_ois_camera-news-11153.php