Kacper Michajłow

Results 697 comments of Kacper Michajłow

@mstorsjo: Do you think we could improve situation upstream? Currently we are using inline impl from mingw. With `__CRT__NO_INLINE=1` we can jmp to CRT isnan, but generally speaking would be...

I don't know. What are we fixing here really? Is there critical performance issue that needs to be fixed or is this microoptimization? I agree it can be improved, but...

> Speaking of performance, I initially discovered this issue in mujs and svtav1-psy, where a 5% improvement was observed in benchmarks (on top of PGO+LTO). I don't think in mpv...

In SDR output mode, you can control your reference white level with `--target-peak`, for example `--target-peak=100` will map "0"-100 nits to SDR transfer. Note that libplacebo uses 203 nits as...

> I believe this is due to macOS's additional tonemapping (scale linear exposure by 1/2.03), activated when an external HDR display is connected. This is only applied to the video...

> Thanks for the information. Does MPV use a CALayer backed by OpenGL? We are using Vulkan to set colorspaces, what happens under the hood in MoltenVK is another story....

> Use a HDR color space like itur_2100_PQ, then Apple might perform HDR tonemapping And that's perfectly fine. > Use an extended linear color space like extendedLinearITUR_2020, then macOS does...

Thanks for testing. Linear output works as expected. Our reference (1.0 value) is 203. So if you set macOS to use 100 nits, this is exactly what should happen. I...

> Another correction, with --target-trc=linear, it appears that the output is actually clipped for values above 203 nits. So the output is effectively SDR. Yes, currently we only have implemented...

> > andrewke@Andrews-MacBook-Air ~ % /Applications/mpv.app/Contents/MacOS/mpv --version mpv v0.40.0-dev-g040186a1c Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects built on Oct 7 2025 22:04:06 libplacebo version: v7.351.0 FFmpeg version: 8.0 FFmpeg library versions: libavcodec...