Enum JpegEncoder.Flags
Bit flags controlling libturbojpeg compression behavior such as pixel order, row ordering, and SIMD instruction set selection.
Namespace: Global Namespace
Assembly: Unity.SimulationPro.Capture.dll
Syntax
[Flags]
public enum JpegEncoder.Flags
Fields
| Name | Description |
|---|---|
| NONE | No flags set; use default libturbojpeg behavior. |
| TJFLAG_NOREALLOC | Do not reallocate the output buffer if it is too small; return an error instead. |
| TJ_ALPHAFIRST | For 32 bpp bitmaps, treat each pixel as ARGB/XRGB (or ABGR/XBGR when combined with TJ_BGR). |
| TJ_BGR | Pixel components are stored in B,G,R order instead of R,G,B. |
| TJ_BOTTOMUP | The bitmap is stored in bottom-up (Windows/OpenGL) row order instead of top-down (X11) order. |
| TJ_FASTUPSAMPLE | Use the fastest chrominance upsampling algorithm available, trading quality for speed during decompression. |
| TJ_FORCEMMX | Force libturbojpeg to use MMX instructions, disabling CPU auto-detection (32-bit IPP and libjpeg-turbo only). |
| TJ_FORCESSE | Force libturbojpeg to use SSE instructions, disabling CPU auto-detection (32-bit IPP and libjpeg-turbo only). |
| TJ_FORCESSE2 | Force libturbojpeg to use SSE2 instructions, disabling CPU auto-detection (32-bit IPP and libjpeg-turbo only). |
| TJ_FORCESSE3 | Force libturbojpeg to use SSE3 instructions, disabling CPU auto-detection (64-bit IPP only). |