ladybird/Libraries/LibMedia/FFmpeg
Zaggy1024 102ce69c8d LibGfx/LibMedia: Override transfer characteristics to sRGB in LibGfx
Doing this in FFmpegVideoDecoder meant that the fallback to BT.709 with
unspecified transfer characteristics was taking precedence. Instead of
overriding unspecified to sRGB there, change the switch statement in
ColorSpace::from_cicp() so that the unspecified fallback and override
both live in the same place.

This should fix the contrast on a lot of YouTube videos.

Note that this now also affects images, which is consistent with
Chromium.
2026-04-18 01:25:00 -05:00
..
FFmpegAudioConverter.cpp LibMedia: Implement audio conversion in AudioDataProvider 2025-12-13 08:58:26 +01:00
FFmpegAudioConverter.h LibMedia: Implement audio conversion in AudioDataProvider 2025-12-13 08:58:26 +01:00
FFmpegAudioDecoder.cpp LibMedia: Fix signed PCM to float sample normalization 2026-02-25 01:50:00 -06:00
FFmpegAudioDecoder.h LibMedia: Set the AVCodecContext's sample rate and channel layout 2025-12-15 18:03:03 -06:00
FFmpegDemuxer.cpp LibMedia: Ignore unknown track types in FFmpegDemuxer 2026-04-08 13:03:39 +02:00
FFmpegDemuxer.h LibMedia: Allow demuxers to report buffered times to PlaybackManager 2026-04-01 02:54:22 -05:00
FFmpegForward.h LibMedia: Implement audio conversion in AudioDataProvider 2025-12-13 08:58:26 +01:00
FFmpegHelpers.cpp LibMedia: Fix multi-channel decode for dumb containers (like WAV) 2026-02-13 17:57:19 -06:00
FFmpegHelpers.h LibMedia: Add WAV PCM codecs to CodecID 2025-12-15 18:03:03 -06:00
FFmpegIOContext.cpp LibMedia: Deal with aborts in FFmpegDemuxer instead of the IO context 2026-02-24 16:55:40 -06:00
FFmpegIOContext.h LibMedia: Abstract the interface of IncrementallyPopulatedStream 2026-01-30 10:02:00 -06:00
FFmpegVideoDecoder.cpp LibGfx/LibMedia: Override transfer characteristics to sRGB in LibGfx 2026-04-18 01:25:00 -05:00
FFmpegVideoDecoder.h LibGfx+LibMedia: Send video frames to Skia as subsampled YUV 2026-01-22 19:44:36 +01:00