How umezawatakeshi/utvideo works
Ut Video Codec Suite is a fast lossless video codec with Windows VCM and DMO interfaces. Its user-to-result workflow is video-frame input through a codec interface, codec-specific processing and data conversion, then encoded or decoded frame output. The tree also shows SIMD conversion and prediction code and bundled FSE/Huffman entropy components. README capabilities establish the product and interfaces; many implementation files were not excerpted, so links between those components are shown as unverified rather than asserted calls.
Main entry points: utv_core Lossless codec variants · fse_compress.c FSE encoding · Codec.cpp Codec API · Convert.cpp Pixel conversion
Components 24
Windows Interfaces
- VCM interface
utv_vcm/VCMCodec.cpp - DMO interface
utv_dmo/DMODecoder.cpp - DirectShow formats
utv_wfmt/DirectShowFormat.cpp
Video Codec Core
- Codec API
utv_core/Codec.cpp - Codec base
utv_core/CodecBase.cpp - Band-parallel codec
utv_core/BandParallelCodec.cpp - Lossless codec variants
utv_core - Frame buffering
utv_core/FrameBuffer.cpp
Frame Processing
- Pixel conversion
utv_core/Convert.cpp - YUV/RGB conversion
utv_core/ConvertYUVRGB_x86x64.cpp - Prediction transforms
utv_core/ConvertPredict.cpp - Shuffle transforms
utv_core/ConvertShuffle_x86x64.cpp - Symbol packing
utv_core/ConvertSymPack_x86x64_xmm.cpp - CPU-tuned dispatch
utv_core/TunedFunc_x86x64.cpp
Entropy Coding
- Huffman coding
utv_core/HuffmanCode.cpp - FSE histogram
fse/compress/hist.c - FSE encoding
fse/compress/fse_compress.c - FSE decoding
fse/common/fse_decompress.c - FSE API
fse/common/fse.h - Huffman API
fse/common/huf.h - Bitstream utilities
fse/common/bitstream.h - FSE error handling
fse/common/error_private.c - Error codes
fse/zstd_errors.h
Other components
- Video application
Connections 26
- Video application → VCM interface: uses interface
README.md - Video application → DMO interface: uses interface
README.md - VCM interface → Codec API: delegates to
- DMO interface → Codec API: delegates to
- DirectShow formats → VCM interface: formats for
- Codec API → Codec base: uses base
- Codec API → Lossless codec variants: selects codec
- Lossless codec variants → Band-parallel codec: uses codec
- Lossless codec variants → Frame buffering: handles frames
- Lossless codec variants → Pixel conversion: converts pixels
- Pixel conversion → YUV/RGB conversion: uses conversion
- Lossless codec variants → Prediction transforms: transforms frames
- Lossless codec variants → Shuffle transforms: transforms data
- Lossless codec variants → Symbol packing: packs symbols
- Pixel conversion → CPU-tuned dispatch: selects optimized code
- Lossless codec variants → Huffman coding: uses coding
- Lossless codec variants → FSE encoding: uses coding
- FSE encoding → FSE histogram: counts symbols
- FSE API → FSE encoding: declares encoding
fse/common/fse.h - FSE API → FSE decoding: declares decoding
fse/common/fse.h - Huffman API → Huffman coding: provides related API
- FSE encoding → Bitstream utilities: writes bits
fse/compress/fse_compress.c - FSE decoding → Bitstream utilities: reads bits
fse/common/fse_decompress.c - FSE encoding → FSE error handling: reports errors
- FSE decoding → FSE error handling: reports errors
- FSE error handling → Error codes: uses codes