Camera Architecture & Video Performance

Samsung’s marketing for the S9 is strongly focused on the camera, and indeed that is where we see the most impressive improvements. The Galaxy S9’s new main rear camera sees large changes in the optics while also employing a brand new sensor. The resolution of the new sensor remains at 12MP and the pixel pitch should still be 1.4µm (to be confirmed depending on the exact sensor size). We are talking about a new sensor but Samsung hasn’t disclosed if and what kind of improvements have been made to the pixel array itself.

What has changed is the sensor structure. First launched last year by Sony and implemented in the Xperia XZ’s – the Galaxy S9’s also implement tri-stack sensor structures.

Traditional two-stack sensors are comprised of the pixel array layer (which is the CMOS image sensor itself), and an image signal processing stack which takes care of various pre-processing tasks before the data is forwarded to the SoC’s camera pipelines. The new tri-stack sensor modules introduce a DRAM layer into the mix which serves as a temporary data buffer for readouts from the CMOS sensor pixel array.


Diagram source: Sony Xperia Blog 

As digital cameras lack any mechanical shutter, light exposure to the sensor is constant. What this means for traditional sensors, which have to scan the pixel array line-by-line and forward it to the image-processing layer, is that there is a significant time difference between the first upper left pixel’s exposure and the last lower right pixel’s exposure. This in turn creates the effect of focal plane distortion in fast-moving objects.

The DRAM layer serves as an intermediary buffer. It enables readout of each of each individual pixel ADC value from the CMOS sensor at a much faster rate before forwarding it to the processing layer. While this is not a true global shutter, the enormously faster readout rate is able to very much mimic one in practice.

Samsung uses this for two major advantages: high framerate video recording as well as very fast multi-frame noise reduction.


Super slow-mo capture at 960fps - Apologies for the bad YouTube compression

For the first, Samsung is now able to match Sony’s devices with up to 720p960 high-framerate recording. Other modes available are 1080p240 and 4K60. The S9’s allows up to 0.2s of real-time recording in this high-frame rate mode, which expands for up to 6s slow-motion footage in the resulting recording. Samsung also differentiates itself from Sony’s implementation as it uses “AI” for automatic triggering of the high-framerate capture as it’s able to detect very fast moving objects. We still have to experiment more with the feature before coming to a verdict. The camera also allows for manual triggering – but for the highest framerate bursts correct timing will be critical in capturing the subject.

The second feature enhanced by the new sensor (as well as the SoC imaging pipelines) is the multi-frame noise reduction. Google’s Pixel’s devices and HDR+ algorithm were the first to use a software implementation of this feature. The camera captures a series of short-exposure shots and the individual captures are interpolated into a single image that has less noise. Samsung claims a noise-reduction of up to 30% through this method – in theory this also will improve sharpness as there is less detail lost to algorithmically applied noise reduction, something we’ll have to verify in more thorough hands-on testing.

The new sensor is only part of the improvements to the camera as the module has also seen a very large change in its optics. The maximum aperture of the lens has risen from f/1.7 to f/1.5 which by itself allows for 30% more light to fall onto the sensor.


Aperture change at 960fps

An aperture this high can also lead to overexposure, and also has a very shallow depth of field. For this reason Samsung has pioneered, for the first time in a mobile device, the introduction of an adjustable aperture lens. The S9’s main rear camera is able to switch between a wide f/1.5 aperture and a narrower f/2.4 aperture. The smaller aperture allows for two things: less light in bright conditions, and a deeper depth of field. Arguably the first isn’t a proper reason to switch to a narrower aperture, as unless there are some issues with the sensor or imaging pipeline of if the camera has issues with overexposures for some reason, the more light the better for the shooter.

The second effect of a narrower aperture however is a deeper depth of field. This can have a considerable impact on pictures – especially when considering the maximum aperture of f/1.5 which allows for an incredibly shallow depth of field. In theory this could lead to focusing issues in some scene compositions where you want to have more objects in the plane to be in focus, but being able to switch apertures could be extremely useful and it is a compromise for some of the disadvantages that a wide aperture brings. The S9 only supports switching between f/1.5 and f/2.4 – I suspect that having a more fine-grained control to allow for a more variable aperture would vastly increase complexity of the camera module and the aperture blade actuators.

The Galaxy Note8 introduced dual-cameras for Samsung flagships and the S9 follows suit – sort of. Unfortunately only the bigger Galaxy S9+ employs a secondary camera module equipped with a 2x zoom telephoto lens. The specifications of this module match that of the telephoto camera of the Note8: a 12MP sensor with an f/2.4 aperture lens equipped with OIS. The layout of the cameras does change in comparison to the Note8 as the S9+’s telephoto lens is located between the main camera and the fingerprint sensor in a vertical instead of horizontal arrangement. The software functionality remains the same as that of the Note8.

Video Evaluation

The regular video recording modes of the Galaxy S9 offer a variety of modes reaching up to 4K recording at 60fps. Beyond the addition of an official 4K60 mode, the Galaxy S9 also for the first time offers the option to encode videos in HEVC instead of AVC, which greatly reduces video file sizes.

Depending on the video mode selected the Galaxy S9 select a variety of encoding profiles and bit-rates. The quality of the HEVC encodings should in theory be equal than the equivalent settings on AVC – and in the above table the bit-rate advantage for HEVC is very clear.

Recording Mode AVC / H.264 HEVC / H.265
3840p 60fps High@L5.1 - 71.5 Mbps Main@L5.1 - 41.3Mbps
3840p 30fps High@L5.1 - 48.4 Mbps Main@L5.1 - 28.4Mbps
1080p 60fps High@L4.2 - 28.4 Mbps Main@L4 - 16.3 Mbps
1080p 30fps High@L4 - 14.6 Mbps Main@L4 - 8.5 Mbps

I haven’t had sufficient time to test the video encoding quality of the Galaxy S9 variants in-depth, but above are four excerpts in the most popular modes. The phone did very well in terms of stabilisation, focus response and exposure response. YouTube re-encodes the video so it doesn’t quite make it justice, especially at the higher bitrates.

We’ll follow up with a more in-depth video quality article in the future, as I’ve spent more time focusing on still image evaluation for this article.

Panorama Quality Evaluation

First of all I’d like to go over the methodology for the still image evaluation. We’re posting a very large range of comparison devices for this review from Samsung, Google, Huawei, LG and Apple to serve for the best possible evaluation of not only the Galaxy S9 against its predecessor but also against the existing high-end competition. The comparison included a total of 1144 unsorted shots across all devices and scenarios. Each device took several shots and I filtered them out for their best takes. I also found that to be most fair to the individual processing and exposure types of each device camera to post a variety of capturing modes if warranted, and also multiple exposure types (auto vs manual spot metering) in scenarios which showed differences.

To view the pictures in their full unedited resolutions you can open them by clicking on the link on the thumbnails of each scenario. To change the thumbnails between the devices, you can click in the button list underneath each scenario thumbnail for the respective device. The button label will also contain a short description of the photo type – either capturing mode or metering mode. There are also associated galleries for each scenario, but due to limitations in our CMS that might not be the best way to browse quick phone-to-phone comparisons.

The Galaxy S9 captures were done on the Exynos variant as I had already finished the full camera comparison before I received a Snapdragon variant. I’m not expecting large differences as Samsung traditionally tunes both variants very closely. I will follow-up with a dedicated article if I find notable differences.

Click for full image

Galaxy S9  ] - Galaxy S8  ] - Galaxy S7  ] - Pixel 2 XL  ] - Pixel XL  ]
P10  ] - Mate 9  ] - Mate 10  ] - G6  ] - V30   ]
iPhone 7  ] - iPhone 8  ] - iPhone 8 Plus  ] - iPhone X  ]

Starting off with an evaluation of the panorama modes of each device we see that the Galaxy S9 provides a significant upgrade over the Galaxy S8 as it maintains a wider dynamic range and constant exposure in this very difficult scenario against the overhead sun in the middle of the panorama. It’s especially the colour balance consistency that is very visible against the S8. The Galaxy S9 also manages to capture more detail than the S8, either through the new lens system and sensor or through the new processing which does less sharpening. Samsung goes quite overboard in terms of file size as the S7 to S9 all generate 37-40MB images that I had to recompress without noticeable loss in order to upload onto our CMS.

The S9 doesn’t really have proper competition here as other phones have noticeable drawbacks. The iPhones, while providing an image with more contrast, also have to make due with heavier processing that loses out on details. They also lack in dynamic range compared to the Galaxy S9 and partly the S8 as features in the dark part of the valley are essentially not picked up at all. The LG V30 does well and posts better colour temperature than the G6 – but both seem to underexpose the scene a bit too much. Among Huawei’s devices the Mate 10 goes a very good job in terms of dynamic range but again like LG it ends up with a rather darker image than I had preferred.

One of these devices is not like the other and that’s the Pixel 2 XL which does an extreme amount of HDR processing on the shot. Google here tries to extract the maximum amount of detail, and while it looks intriguing in the thumbnail, it looks quite fake when looking closer up. It’s also visible that this isn’t a true high dynamic range shot from the sensor as the camera doesn’t pick up details such as the stairs in the dark part in the middle of the valley.

Battery Life - A Stark Contrast Camera - Daylight Evaluation
Comments Locked

190 Comments

View All Comments

  • Andrei Frumusanu - Monday, March 26, 2018 - link

    I literally uploaded a 4K60 video on the S845 S9+. They always had it.

    https://youtu.be/9g88TIi-p2U
  • N Zaljov - Monday, March 26, 2018 - link

    This article, as always, is some top-quality stuff. Really enjoyed reading it, Andrei!

    As for the CPU: Ah! Hotplugging! We finally meet again after all these years! How's it going ever since you've been banned from this planet? ;-)

    Honestsly: I don't think that a company like S.LSI would seriously start fiddling around with deprecated mechanics like hot-plugging and slow asf DVFS scheduler settings, if there wouldn't be a major architectural/implementational flaw within the M3 cores.

    This might sound like a far-flung theory, but could it be possible that there might be something wrong with the way how the M3 cores handle power-gating in a way that it just takes the CPU way too long to "warm up" cold blocks (like Register files, INT- & FP-Units etc.) that aren't utilized, which kind of translates into these terrible response times? While this might only explain the poor DVFS implementation, I don’t really find a reason why „hot-plugging“ should be the way to go for any sane semiconductor engineer or BSP developer.

    Yes: It’s easier to implement and it costs less transistors (and wiring as well), but with modern process nodes, the added transistor budget simply wouldn’t even matter when you compare it with the huge amount of logic that’s there. In fact, I wouldn’t be too surprised if the hardware actually supports a more fine-grained control (with stuff like WFI for instance...), but at some point the BSP developers simply said „well, this stuff has already been working for us in the 5410 and 5420, so let’s go!“. Duh.

    On the GPU side of things though, it doesn't look as bad as I initially suspected: S.LSI greatly increased their effort into improving perf/w of their Bifrost implementation, a big differentiationpoint between HiSilicon's last two generations and the appalling heap of junk of a GPU implementation in form of E8995's G71MP20.
  • Andrei Frumusanu - Monday, March 26, 2018 - link

    > if the hardware actually supports a more fine-grained control (with stuff like WFI for instance...)

    WFI, core power down and cluster power down all work perfectly as intended and are being used. If they wouldn't be then this thing would melt. They use the hot-plugging just to force the scheduler. There's also no way to know which parts are of the S.LSI BSP and which parts are from the mobile division. I'm very sure all of this is likely mobile division additions however it can't be confirmed as they both use the same copyright name (Samsung Electronics) in the source files.
  • N Zaljov - Monday, March 26, 2018 - link

    Thanks for clarifying. My apologies, I skipped the part that mentions "...to force thread migrations between the cores...".

    Another question: What software build is your S9 running on? The last update (afaik Build RC5) supposedly fixed some performance related issues and I was wondering, if they changed the bias of their governor (or at least tried it).
  • Andrei Frumusanu - Monday, March 26, 2018 - link

    The review was done on ARC5.
  • Quantumz0d - Wednesday, March 28, 2018 - link

    Thanks for this Andrei, Also this article is pure gold !!

    Loved every bit of it from the Architecture to the benches, explanation, the wording, fantastic work there sir.

    That Googles ridiculous decision to block Accessibility & the most essential 3.5mm jack mention and honest true facts about it in simplistic way yet hitting the bullseye, and the flow of the article is just marvellous art. Keep it up !!

    One more thing I would suggest is, you might consider teaming up with Supercurio from XDA who built the Voodoo sound for Wolfson chips for Audio Analysis would be a great addition !!

    Thank you again ! Looking forward for more.
  • tuxRoller - Monday, March 26, 2018 - link

    The kernel has recently (https://lwn.net/Articles/737157/) completed a, nearly complete, rewrite of the hot-plugging core. This has made it both much faster and more reliable. So, it's very far from deprecated (though I won't speak to the way Samsung is using it here).
  • Quantumz0d - Wednesday, March 28, 2018 - link

    Exactly what I thought. After the SD810 the Hotplugging is very bad and inefficient. I wasn't surprised when the initial fantastic analysis was done by Andrei, but its really bad about the Battery life regression. Also I don't get this hype around the A series chips after that massive battery fiasco, they tune them so badly and look at the iPhone internals they barely have metal plate contact for heat transfer. Yeah I agree on the GPU part too surprised to see this. But I think Samsung wanted to have similar performance between the devices and down tuned the CPU in one and GPU in another...pure speculation.

    Apple manages to cheat always and damn all these idiotic sites who only show GB and say here's the Exynos and all. I didn't like how Samsung advertised the new SoC chip likes of Apple going for peak and not sustained.

    I think that SD85x might have full custom cores like the OG Kryo from 820, I wish that to happen. Feels great to see how Adreno crushes the A11.
  • zer0hour - Monday, March 26, 2018 - link

    Superb article, certainly of quality that lives up to the Anandtech name. I've been waiting for details of the E9810 S9 for ages, and this article is really the only one that explores the reasons for its weird real world vs synthetic performance.
  • Speedfriend - Monday, March 26, 2018 - link

    After seeing the S9 initial performance impressions and being in the UK, I decided to go for a pixel 2 XL for myself and an S8 to replace my gfs iPhone 6S. Very happy with both decisions, the pixel 2 XL is so fast and the S8 was a crazy deal.

    It is a real pity that performance and battery life are so hampered in the s9810 versions as I have loved my last few Samsungs. But if Google makes another good pixel this year, I can't see myself going back.

Log in

Don't have an account? Sign up now