Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions QuickView/ImageLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5922,6 +5922,8 @@ namespace QuickView {
avifDecoder* decoder = avifDecoderCreate();
if (!decoder) return E_OUTOFMEMORY;

decoder->imageContentToDecode |= AVIF_IMAGE_CONTENT_GAIN_MAP;

decoder->strictFlags = AVIF_STRICT_DISABLED;
const unsigned int threads = std::thread::hardware_concurrency();
decoder->maxThreads = threads > 0 ? threads : 4;
Expand Down
Loading