Skip to content

Latest commit

 

History

History
73 lines (42 loc) · 4.58 KB

File metadata and controls

73 lines (42 loc) · 4.58 KB
graph LR
    Model_Loaders["Model Loaders"]
    Codec_Orchestrator["Codec Orchestrator"]
    High_Level_Codec_Operations["High-Level Codec Operations"]
    Core_Codec_Logic["Core Codec Logic"]
    Bitstream_I_O_Handlers["Bitstream I/O Handlers"]
    Codec_Orchestrator -- "invokes" --> Model_Loaders
    Codec_Orchestrator -- "calls" --> High_Level_Codec_Operations
    High_Level_Codec_Operations -- "delegates to" --> Core_Codec_Logic
    Core_Codec_Logic -- "uses" --> Bitstream_I_O_Handlers
Loading

CodeBoardingDemoContact

Details

The Model Zoo & Codec Utilities subsystem provides convenient access to pre-trained compression models and general utilities for encoding and decoding data using these models.

Model Loaders

This component is responsible for providing access to and loading pre-trained deep learning models for image and video compression. It handles generic model loading and key remapping, serving as the entry point for different model types within the compressai.zoo.

Related Classes/Methods:

Codec Orchestrator

Serves as the primary command-line interface (CLI) entry point for the codec utilities. It parses user arguments, determines the required operation (encode/decode), and orchestrates the loading of the appropriate model and the subsequent execution of high-level codec operations.

Related Classes/Methods:

High-Level Codec Operations

Offers simplified, high-level interfaces for initiating the overall encoding and decoding processes. This component abstracts away the lower-level details of the compression pipeline, providing a clean entry point for the Codec Orchestrator.

Related Classes/Methods:

Core Codec Logic

Encapsulates the fundamental steps of the compression and decompression algorithms. This includes managing headers, preparing data for model inference, interacting with the loaded models, and handling the core algorithmic flow.

Related Classes/Methods:

Bitstream I/O Handlers

Manages the low-level reading from and writing to files of the actual compressed bitstream data (the "body" of the compressed file). This component ensures efficient and correct handling of the binary output/input.

Related Classes/Methods: