The Samsung Galaxy S20 Ultra is tied for second in DxOMark's selfie camera tests. With a score of 100, it is three points behind the Huawei P40 Pro and even with the Huawei nova 6 5G. The Ultra is only a point ahead of the Galaxy Note10+ 5G, despite much improved hardware (which suggests that the software needs tuning). The Galaxy S20 Ultra has a unique front camera in the line-up with a large 1/2.65" sensor with 40MP resolution (0.7µm pixels) and a Quad Bayer filter. This camera operates in two modes - with 32mm focal length when shooting selfies of just yourself (outputting 6.5MP images)...
Source: https://www.gsmarena.com/samsung_galaxy_s20_ultras_selfie_camera_ties_for_second_in_dxomarks_tests-news-43030.php