FOodleDataCompression::ECompressionLevel

ECompressionLevel : Choose the Oodle Compression Level this mostly trades encode speed vs compression ratio decode speed is determined by choice of compressor (ECompressor)

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Compression/OodleDataCompression.h

Include

#include "Compression/OodleDataCompression.h"

Syntax

namespace FOodleDataCompression
{
    enum ECompressionLevel
    {
        HyperFast4    = -4,
        HyperFast3    = -3,
        HyperFast2    = -2,
        HyperFast1    = -1,
        None          = 0,
        SuperFast     = 1,
        VeryFast      = 2,
        Fast          = 3,
        Normal        = 4,
        Optimal1      = 5,
        Optimal2      = 6,
        Optimal3      = 7,
        Optimal4      = 8,
    }
}

Values

Name

Description

HyperFast4

HyperFast3

HyperFast2

HyperFast1

None

SuperFast

VeryFast

Fast

Normal

Optimal1

Optimal2

Optimal3

Optimal4

Remarks

ECompressionLevel : Choose the Oodle Compression Level this mostly trades encode speed vs compression ratio decode speed is determined by choice of compressor (ECompressor)

If in doubt start with "Normal" (level 4) then move up or down from there

The standard range is in "SuperFast" - "Normal" (levels 1-4)

"HyperFast" levels are for real-time encoding with minimal compression

The "Optimal" levels are much slower to encode, but provide more compression they are intended for offline cooks

representative encode speeds with compression ratio trade off :

Kraken-4 : 1.55:1 , 718.3 enc MB/s Kraken-3 : 1.71:1 , 541.8 enc MB/s Kraken-2 : 1.88:1 , 434.0 enc MB/s Kraken-1 : 2.10:1 , 369.1 enc MB/s Kraken1 : 2.27:1 , 242.6 enc MB/s Kraken2 : 2.32:1 , 157.4 enc MB/s Kraken3 : 2.39:1 , 34.8 enc MB/s Kraken4 : 2.44:1 , 22.4 enc MB/s Kraken5 : 2.55:1 , 10.1 enc MB/s Kraken6 : 2.56:1 , 5.4 enc MB/s Kraken7 : 2.64:1 , 3.7 enc MB/sUENUM() //