Skip to content

Header map

The headers a caller normally reaches for, and what lives in each. The second component of a header's path is its library: iclforge/render/layout.hpp is in libs/render/include/ and belongs to iclforge::render, and iclforge_c/iclforge.h is the C API's. Not the complete set under src/*/include/ — the pure table headers (iclforge/ac3/core/aht_tables.hpp, bitalloc_tables.hpp, iclforge/ac3/oba/joc_tables.hpp), the primitives the ones below are built out of (iclforge/ac3/core/crc16.hpp, iclforge/dsp/fft.hpp) and a handful of narrow internals are installed but nothing here discusses them directly. See API stability for which of the rows below (and which of those omitted internals) is actually part of the frozen surface once v1.0.0 ships.

Header Contents
iclforge/ac3/core/types.hpp SampleRate, Acmod, ExpStrategy and the frame constants. Nearly everything includes it.
iclforge/ac3/core/tables.hpp Table 5.18: the bit rates (kBitratesKbps, clamp_to_legal_ac3_bitrate) and the syncframe sizes (frame_size_bytes). Includes types.hpp.
iclforge/ac3/core/eac3_tables.hpp Annex E: StreamType and the Table E2.5 chanmap namespace, whose Location, Layout, kMaxChannels and name are the speaker vocabulary of layout.hpp below, used here under their old spelling. Also the general channel model: chanmap::ChannelPlan (a bed acmod/lfe plus however many dependent chanmaps it takes) and chanmap::allocate(locations), which partitions an arbitrary Table E2.5 location bitmask into a ChannelPlan — the same shape iclforge::ac3::plan::LayoutId's eight named layouts are themselves expressed in, via their own hand-picked constants rather than by running the allocator (dual mono's is a special case — see Encoding AC-3).
iclforge/base/bitreader.hpp, bitwriter.hpp MSB-first bit I/O.
iclforge/base/layout.hpp Location, Layout, kMaxChannels, name — the speaker vocabulary: where a channel sits, named the way TS 103 420 and A/52 Table E2.5 name it, and an ordered set of them. In iclforge::base, so the renderer, the panner and the audio backends use it without the AC-3 tables; iclforge::ac3::eac3::chanmap::Location and Layout are the same types.
iclforge/base/downmix_target.hpp DownmixTarget — which §7.8 fold the output stage produces (kAsCoded, kLoRo, kLtRt, kMono). In iclforge::base; iclforge::ac3::DownmixTarget is the same type.
iclforge/base/karaoke.hpp KaraokeReproduction (off, aware, capable), KaraokeVocals (none, V1, V2, both), the part levels' dB span and karaoke_gain_from_db — what a listener chooses about a karaoke stream, with no codec in it. In iclforge::base; iclforge::ac3's are the same types, which OutputConfig takes. Header-only.
iclforge/base/wav.hpp WAV read (8/16/24/32-bit PCM, 32/64-bit float, WAVE_FORMAT_EXTENSIBLE, RF64/BW64) and write (float32, raw PCM16), streaming and whole-file.
iclforge/base/levels.hpp, loudness.hpp LevelMeter (peak/RMS metering with console ballistics), energy_vector (the Gerzon energy vector over per-channel azimuths) and LoudnessMeter (BS.1770 integrated, momentary and short-term loudness, EBU Tech 3342 loudness range, Annex 2 true peak), keyed on a channel count, a weight per channel or a list of Speakers. AC-3's acmod and channel-map forms are iclforge/ac3/analysis/levels.hpp's and iclforge/ac3/meta/loudness.hpp's.
iclforge/base/version.hpp version_string, version_full, the git_* stamp and version_details() — the package's version, which every library shares; iclforge/ac3/version.hpp keeps the names in iclforge::ac3 for a release.
iclforge/ac3/core/mdct.hpp, window.hpp The 512-point MDCT and the KBD window.
iclforge/ac3/core/bitalloc.hpp, exponents.hpp, mantissas.hpp The §7.2 allocation model and §7.1/§7.3 coding, shared by encoder and decoder.
iclforge/ac3/core/coupling.hpp, eac3_tools.hpp Coupling, spectral extension, AHT. Shared the same way: §7.4.3's coordinate dequantizer and §3.5.5's enhanced-coupling reconstruction run on every decode, not only on an encode.
iclforge/ac3/encoder/encoder.hpp EncoderConfig, FrameEncoder.
iclforge/ac3/encoder/eac3_frame.hpp FrameConfig, FrameEncoder, AccessUnitConfig, AccessUnitEncoder, AccessUnit.
iclforge/ac3/encoder/silent_frame.hpp FrameError, and pure-syntax silent frames.
iclforge/ac3/encoder/transient.hpp BasicTransientDetector<Scalar>, and TransientDetector as its double instantiation — the §8.2.2 recipe that decides blksw, shared by both encoders; block switching itself has no config field, it is what this class's output drives. The float instantiation is the minimum-footprint profile's.
iclforge/ac3/encoder/plan.hpp iclforge::ac3::plan — Plan, Codec, LayoutId, Tools, Metadata, Routing. The layout table, Annex E tool tokens, metadata defaults and source-to-coded-channel routing, shared by forge and forge-gui so the two front ends cannot disagree about what a layout or a tools token means. Plan::custom_locations, resolve(plan) and parse_channels/format_channels are the escape hatch onto chanmap::allocate for a channel set none of the eight named LayoutIds cover.
iclforge/ac3/encoder/assignment.hpp iclforge::ac3::plan::Assignment, Destination, SourceShape, parse_assignment/format_assignment, derive_codec. The explicit, channel-by-channel alternative to plan::route() for multiple loaded sources — backs the CLI's src=/map= options and the GUI's multi-source controller.
iclforge/ac3/decoder/decoder.hpp FrameDecoder, Eac3Decoder, split_frames, split_access_units, stream_bsid.
iclforge/ac3/decoder/output.hpp OutputConfig, OutputStage, OperatingMode, MixLevels/mix_levels, MixLevelOverride, output_channel_count — the §7.8 output stage DecoderConfig::output turns on: dialnorm normalisation, the downmix (whose DownmixTarget is declared in core/downmix_target.hpp), and §7.7's two named operating modes. See Decoding.
iclforge/ac3/decoder/diagnostics.hpp DiagnosticEvent, Diagnostic, DiagnosticSink — the plain function pointer DecoderConfig::diagnostics takes, called for a CRC that failed and for an EMDF payload id the decoder skips, neither of which stops a decode. See Decoding.
iclforge/ac3/decoder/syntax_trace.hpp FrameSyntax, BlockSyntax — which coding tools each block used and what exponent strategy each stream carried, recorded on the way past by both decoders (DecoderConfig::syntax).
iclforge/ac3/decoder/transient_prenoise.hpp apply_transient_prenoise, transient_prenoise_range — the §3.7.2 post-IMDCT pre-echo correction Eac3Decoder applies to decoded PCM; see Decoding for the buffering it forces on decode_substream/decode_access_unit.
iclforge/ac3/decoder/serving.hpp serve, Serving, ObjectsPolicy, configure_decoder — whether a layout is the decoder's §7.8 fold or rendered, and whether objects are reconstructed for it. It fills in a DecoderConfig, so it sits with the decoder; its names are in iclforge::render.
iclforge/ac3/io/elementary.hpp scan, ScannedStream, and the per-access-unit timing helpers (access_unit_timing, access_unit_at_seconds, uniform_access_unit_samples) a container writer or a frame-aligned cut needs.
iclforge/ac3/io/stream_accumulator.hpp AccessUnitAccumulator, kMinimumBuffer, kRecommendedBuffer — scan's boundary rule applied to a stream that arrives in pieces, in storage the caller owns, with no allocation. iclforge::ac4::SyncFrameSplitter is its AC-4 counterpart. See Decoding.
iclforge/ac3/io/metadata_edit.hpp read_frame_metadata, edit_frame_metadata, edit_stream_metadata, insert_frame_metadata, insert_stream_metadata, restamp_crc — changing dialnorm/compr/bsmod/dsurmod on an already-encoded stream without re-encoding the audio, CRCs re-stamped (crc1 solved, not computed); the insert variants add a field an E-AC-3 independent substream lacks, lengthening the frame.
iclforge/ac3/io/probe.hpp probe, Prober, ProbeReport/ProbeAccessUnit/ProbeSyncframe/ProbeSubstream/ProbeToolUsage, ProbeOptions, AccessUnitReader — what a stream is rather than what it sounds like, in one walk. Backs forge probe.
iclforge/ac3/io/object_strip.hpp strip_objects, StrippedStream, StripError — taking the EMDF object layer out of a DD+ JOC stream losslessly, leaving a 5.1 rendition that decodes to sample-identical PCM. The either/or fallback rule Spatial & Atmos objects sets out, applied to an already-encoded stream.
iclforge/ac3/io/dec3.hpp build_codec_config_box — the ISOBMFF dac3/dec3 sample-entry payload (ETSI TS 102 366 Annex F), Dolby Atmos extension included, built from a ScannedStream. What iclforge::containers::mp4::AudioTrack::codec_config is filled in with.
iclforge/ac3/io/wav.hpp The WAV↔Table 5.8 permutation (ac3_layout_for, wav_channel_order), and iclforge/base/wav.hpp's names kept in iclforge::ac3::io for a release.
iclforge/ac3/meta/bsi.hpp, drc.hpp, loudness.hpp, mixing.hpp, qc.hpp dynrng, compr, BS.1770, downmix levels and the rest of mixmdate, the informational bsi/infomdat fields and Annex D's alternate syntax, named QC delivery-gate presets.
iclforge/render/spatial.hpp BedRenderer, pan_azimuth, pan_room, and the object-constraint panner the layout renderer uses: pan_constrained over ObjectConstraints (channel lock, zone constraints, extent — TS 103 420 §5.2) with speaker_zones, direction_zones and zone_admits (Table A.7, Tables 20/21).
iclforge/render/pcm_block.hpp PcmBlock, BlockSink — one block of a decoded programme's PCM as the *_by_block forms hand it over, and the non-owning reference to any callable that receives it. In iclforge::render, so the renderer takes a block without the decoder; decoder.hpp includes it and iclforge::ac3::PcmBlock and iclforge::ac3::BlockSink are the same types.
iclforge/render/layout.hpp, render.hpp OutputLayout — the speakers a player has, by name (7.1.4) or as a per-slot list (L,R,C,LFE,Ls,Rs, angles, :small and height suffixes) — and LayoutRenderer, which turns a decoded PcmBlock into one block per slot: a coded channel to the slot of its location or panned, objects by their positions, channel lock, zone constraints and extent with the bed's LFE delayed to stay with them, a small speaker's bass to the LFE feed at a settable crossover. Header-only; the ESP32 player renders through it.
iclforge/render/routing.hpp, trim_delay.hpp, identify.hpp, float_biquad.hpp Speaker management after the renderer: Routing patches each rendered channel to one device output or none, TrimDelay applies a per-output trim and delay, IdentifyTone plays pink noise on one output at a time, and FloatBiquad provides the float-state filter used on constrained playback targets.
iclforge/ac3/oba/atmos.hpp, joc.hpp, oamd.hpp The object layer.
iclforge/objects/joc_domain.hpp oba::joc::Domain and reconstruction_delay — which domain JOC reconstruction runs in (kMdctBand or kQmf) and how far it lags the downmix. Declared apart from joc.hpp so the renderer can ask without the parameter model; joc.hpp includes it.
iclforge/objects/motion.hpp Keyframe, KeyframePath, OrbitPath, ObjectPath (a std::variant of the two), evaluate_placements. The per-object layer: turns authored keyframes or a closed-form orbit into the ObjectPlacement span AtmosEncoder::encode_frame already took per-frame — a placement-generation layer in front of the existing API, not a change to it. Backs forge atmos's built-in orbit and live's atmos mode.
iclforge/objects/scene.hpp ObjectScene, SceneObject, AutomationPoint, Interpolation, Orientation, SceneCursor, to_json/scene_from_json, to_keyframe_text/scene_objects_from_keyframe_text, read_scene/scene_from_text. The scene layer above motion.hpp: named objects with a bed assignment and position/gain automation, explicit interpolation and ends-hold ramp semantics, a scene orientation applied to positions as metadata (never a render), a JSON serialised form, and a live cursor for a stream of updates. Backs forge atmos-path/atmos-encode, the GUI's object-path export and the station-broadcast example.
iclforge/objects/placement.hpp ObjectPlacement — one object's placement for one frame (position, gain, LFE send, extent, snap and zone constraints), what AtmosEncoder::encode_frame takes per object and what motion.hpp and scene.hpp produce. Declared apart from atmos.hpp so the scene layer does not include the encoder; atmos.hpp includes it.
iclforge/objects/scene_osc.hpp SceneOscUpdate, OscParseStats, parse_osc_packet/parse_osc_packet_into, apply. The OSC 1.0 wire form of a live scene update — parses one UDP datagram into per-field-optional updates and merges one onto a SceneCursor object's current placement. Pure, zero-socket parsing; feeds scene.hpp's SceneCursor while a session runs. Backs forge live positions=osc:<port> and the GUI's live room.
iclforge/objects/emdf.hpp The TS 102 366 Annex H container.
iclforge/containers/iec61937/iec61937.hpp S/PDIF burst packing and de-framing (AC-3, E-AC-3, and AC-4's four IEC 61937-14 burst types). iclforge::containers::iec61937, the part of iclforge::containers that is always built; iclforge::audio links it.
iclforge/audio/passthrough.hpp PassthroughSink — exclusive-mode/direct bitstream output of AC-3, E-AC-3 or AC-4, WASAPI on Windows, ALSA or PipeWire on Linux, CoreAudio on macOS, a JNI-bridged AudioTrack on Android. Part of iclforge::audio, not iclforge::ac3: that target is not installed or exported (see Using the libraries), so this and the iclforge/audio/ rows below are in-tree only.
iclforge/audio/monitor.hpp MonitorSink — shared-mode PCM playback (WASAPI, ALSA, PipeWire, CoreAudio or AAudio on Android, resampled and mixed like any other app), for previewing a decode without a bitstream-capable receiver. The non-exclusive counterpart to PassthroughSink. Backs forge monitor and live's monitor leg.
iclforge/audio/capture.hpp, ring_buffer.hpp Live input/loopback capture — WASAPI on Windows, ALSA or PipeWire on Linux, CoreAudio on macOS (input-only: no loopback) — and the lock-free SPSC ring behind it. Capture::start_process_loopback taps one process's rendered audio on its own, whichever endpoint it renders to — Windows 10 build 20348+ and PipeWire; the macOS Core Audio process tap is written but off by default since 2026-09-06, when the one machine to run it never returned from AudioDeviceCreateIOProcID (see macOS). process_loopback_available() says whether this machine can, and the macOS tap is mono or stereo only, at the machine's own rate.
iclforge/audio/device_watcher.hpp DeviceWatcher — endpoint added/removed/state-changed/default-changed events on a callback, for an application that follows the sink instead of polling enumerate_render_devices(). Windows (IMMNotificationClient), PipeWire (registry plus the default.audio.* metadata keys) and macOS (Core Audio property listeners on kAudioObjectSystemObject); ALSA, posix and android refuse with kNoBackend, and kStateChanged is a Windows event only.
iclforge/audio/resampler.hpp, watchdog.hpp DriftResampler and ClockDriftEstimator — the audio-thread-safe linear resampler plus the servo that corrects tens-of-ppm clock drift between two live devices; SilenceWatchdog, which tells a read loop when a capture device has stopped delivering rather than merely starved.
iclforge/dsp/qmf.hpp QmfAnalysis, QmfSynthesis, qmf_prototype — the 64-band complex QMF TS 103 420 §7.1 puts JOC reconstruction in, and what oba::joc::Domain::kQmf (the default on both sides) selects. Complex and 2× oversampled, because a per-band matrix that changes every frame leaves the MDCT's time-domain alias cancellation uncancelled.
iclforge/dsp/biquad.hpp, resampler.hpp Biquad and LfeLowpass — the 4th-order Butterworth band-limit applied when a full-bandwidth source channel is hand-assigned onto an LFE position; iclforge::dsp::resample/resample_planar — the offline windowed-sinc polyphase SRC that converts a loaded second source's native rate to the session's (distinct from DriftResampler, which trades kernel quality for hot-path safety).
iclforge/audio/audio_backend.hpp iclforge::audio::audio_backend() — whether capture, monitor playback, passthrough, the spatial sink, per-process loopback and device watching are available at all on this build's platform (per-process loopback: on this machine), and why not when they aren't. Backs the CLI's UNAVAILABLE HERE messaging for devices, record, monitor, live, outputs and play.
iclforge/ac3/analysis/levels.hpp The level meter keyed on an acmod, the Table 5.8 channel names and directions, and the energy vector of an acmod's bed; the meter's own names are iclforge/base/levels.hpp's, kept here for a release.
iclforge/ac3/quality/distortion.hpp, perceptual.hpp iclforge::ac3::quality — Criterion, BandNoise, reconstruction_error/accumulate_block/snr_db/band_snr_db; PerceptualModel, PerceptualConfig, BlockAnalysis, noise_to_mask. The decoded-domain distortion measure and the tonality/masking model EncoderConfig::search/eac3::FrameConfig::search are judged on — see Measuring quality.
iclforge/ac3/latency.hpp LatencyBudget (frame_samples/transform_samples/lookahead_samples/holdback_samples, total_samples()), latency_ms — the algorithmic delay of an encode→decode chain, in samples at the coded rate. What FrameEncoder::latency(), eac3::eac3_latency() and the decoders' own latency_samples() report.
iclforge/ac3/verify/mirror.hpp, selfcheck.hpp FrameTrace/BlockTrace/StreamTrace, Field, Mismatch, compare/report; MirrorEncoder, the encode-then-decode-then-compare driver over them. The AC-3 encoder's self-check — an implementer's diagnostic, deliberately out of scope for the C API and Python bindings.
iclforge/ac3/verify/trace_export.hpp, bap_census.hpp trace_csv_header, append_trace_csv, append_trace_json_lines — a decode's per-block trace as CSV or JSON Lines, the research export Python reaches as ac3.verify.trace_to_csv; BapCensus, which counts the bins each coded stream gave zero bits over a whole decode, so that a comparison masked to the coded bins cannot take its mask from the decoder under test.
iclforge/ac3/verify/eac3_mirror.hpp, eac3_selfcheck.hpp The Annex E counterparts: Eac3AccessUnitTrace and its per-substream/per-block/per-channel traces, Eac3Field/Eac3Mismatch/compare/report, and Eac3MirrorEncoder/CheckedAccessUnit. A whole access unit rather than one frame, matching DecoderConfig::eac3_trace.
iclforge/containers/matroska/matroska.hpp mux, AudioTrack, MuxOptions, Writer — the batch muxer plus the incremental create/header/push/finalize writer a live (unknown-length) session records through.
iclforge/containers/mp4/mp4.hpp mux, AudioTrack, MuxOptions — same shape as iclforge/containers/matroska/matroska.hpp, plus AudioTrack::codec_config for the dac3/dec3 box payload (see iclforge/ac3/io/dec3.hpp above) — and fragment, FragmentOptions, MediaSegment, FragmentedOutput, FragmentWriter and timescale_of for fragmented MP4/CMAF output, AC-4's sync samples, time scale and brands included.
iclforge/containers/mp4/hls.hpp HlsOptions, hls_codec_string, build_hls_media_playlist, build_hls_master_playlist — HLS signalling for iclforge::containers::mp4::fragment's segments.
iclforge/containers/mp4/dash.hpp DashOptions, build_dash_adaptation_set — the DASH <AdaptationSet> snippet for the same segments.
iclforge/containers/mpegts/mpegts.hpp mux, AudioTrack, AudioCodec, MuxOptions, BroadcastProfile — the single-programme MPEG-2 TS muxer; MuxOptions::profile picks DVB descriptors (kDvb, the default) or ATSC stream_type signalling (kAtsc), one wholly, never a bit of each.
iclforge/containers/matroska/reader.hpp, iclforge/containers/mp4/reader.hpp, iclforge/containers/mpegts/reader.hpp The demux side of the three writers, same shape in each: demux for a whole buffer, Reader for an incremental/streaming walk, plus ReadOptions, Demuxed, ReadTrack/ReadStream and a per-module DemuxError with its own describe(). mpegts additionally reports which of the three signalling forms named the codec (CodecSignalling). See Muxing & sinks.
iclforge/adm/ac3adm.hpp, model.hpp parse_bw64, AdmDocument, AdmError — the standalone BW64/RF64 + Audio Definition Model reader, iclforge::adm. Opt-in: only built with -DICLFORGE_BUILD_ADM=ON (see ADM / BW64 reading).
iclforge/adm/bridge.hpp, iab_bridge.hpp, coordinates.hpp build, BridgeResult, build_iab, IabBridgeResult, BridgeError, write/WriteInput/WriteChannel/WriteObjectUpdate — mapping an iclforge::adm::AdmDocument onto iclforge::ac3::oba::AtmosEncoder's object model and back, plus the BS.2076-2 ↔ oba::Position coordinate conversion underneath it. iclforge::adm, behind the same -DICLFORGE_BUILD_ADM=ON (see ADM → Atmos bridging).
iclforge/iab/ac3iab.hpp, model.hpp, mxf.hpp parse_iabitstream, parse_mxf_iab, parse_iaframe, IABitstreamFrame, IaFrame and the §9/§10 element graph, IabError — the standalone SMPTE ST 2098-2:2022 Immersive Audio Bitstream reader, iclforge::iab. Codec-blind in the same sense the three container modules are: it links nothing from iclforge::ac3. Default ON (ICLFORGE_BUILD_IAB) and installed. forge atmos-iab consumes it through the opt-in iclforge::adm module (ICLFORGE_BUILD_ADM=ON); the GUI does not consume it. iclforge/iab/dlc.hpp decodes AudioDataDLC (Annex B): decode_dlc, decode_audio, DlcAudio. iclforge/iab/writer.hpp writes IABitstreams and encodes DLC: write_iaframe, write_iabitstream, encode_dlc, WriteError. mxf.hpp also writes the IMF Track File of ST 2067-201: write_mxf_iab, MxfWriteOptions, MxfWriteError.
iclforge/containers/iamf/iamf.hpp, model.hpp, sequence.hpp, container.hpp mux, mux_objects, build_sequence, build_object_sequence, mux_coded, build_coded_sequence, CodedTrack, CodedFrame, CodedCodec, opus_decoder_config, aac_lc_decoder_config, flac_decoder_config, decode_pcm, reconstruct_channels, DecodeOptions, SubstreamPcm, AudioTrack, Frame, ObjectTrack, MuxError (iamf.hpp); Sequence, AudioElement, MixPresentation, ParameterBlock, AudioFrame and the rest of the element graph (model.hpp); write_sequence, read_sequence, write_descriptors, read_descriptors, write_temporal_unit, read_temporal_unit, layout_info, expanded_layout_info, codecs_string, Error (sequence.hpp); write_isobmff, read_isobmff, read_isobmff_tracks, FragmentedWriter (container.hpp) — the standalone IAMF v2.0.0 reader and writer, iclforge::containers::iamf. Links nothing from iclforge::ac3. See IAMF.
iclforge/ac4/core/toc.hpp parse_raw_frame, RawFrame, Toc and its presentation and substream group types, Error — the AC-4 table of contents, which the decoder reads through and the encoder describes its streams with, iclforge::ac4. Links nothing from iclforge::ac3. See AC-4.
iclforge/ac4/io/elementary.hpp scan, ScanResult, SyncFrame, SyncFrameSplitter — AC-4 sync frames and their CRC, whole or arriving in pieces.
iclforge/ac4/io/carriage.hpp build_dac4, dac4_refusal, cmaf_refusal, samples_per_frame, media_timing, frame_rate, rfc6381_codec_string, signalled_presentation, presentation_channel_count, dash_channel_configuration, dash_supplemental_properties, configuration_difference — what an MP4 and a CMAF track, and their HLS and DASH manifests, make of a table of contents.
iclforge/ac4/decoder/decoder.hpp Decoder — the AC-4 decoder, iclforge::ac4; it includes the other three headers of decoder/. See AC-4.
iclforge/ac4/decoder/config.hpp, frame.hpp, presentation.hpp DecoderConfig, OutputConfig, DownmixTarget, PresentationChoice, select_presentation, ConcealmentPolicy, DecodingMode (config.hpp); DecodedFrame, FrameReport, PcmBlock/BlockSink, FrameInfo, Concealment, DecodeError (frame.hpp); PresentationInfo, PresentationMetadata and the loudness, DRC, dialogue enhancement and downmix information (presentation.hpp).
iclforge/ac4/encoder/encoder.hpp Encoder, EncodedFrame, EncodeError, sync_frame — the AC-4 encoder, iclforge::ac4; it includes encoder/config.hpp: EncoderConfig, SubstreamConfig, PresentationConfig and the metadata's configuration types. See AC-4.
iclforge/ac4/core/syntax.hpp SyntaxRecord, SyntaxTrace, SyntaxSink — the trace of every syntax element the AC-4 decoder reads and the encoder writes, one record shape for both.
iclforge/truehd/io/elementary.hpp, access_unit.hpp, major_sync.hpp probe_stream, ElementaryReader, the access unit's header and substream directory, and the major sync: TrueHD and MLP sync frames and their check values, whole or read from a stream. See TrueHD and MLP.
iclforge/truehd/io/scan.hpp scan_stream, ScannedStream, ScanOptions, RestartPoint — a TrueHD or MLP stream's length, timing and the units a decoder can join at, iclforge::truehd.
iclforge/truehd/decoder/decoder.hpp Decoder, DecoderConfig, Presentation, Strictness, DecodedAccessUnit, DecoderCounters — the TrueHD and MLP lossless decoder, iclforge::truehd.
iclforge/truehd/encoder/encoder.hpp Encoder, EncoderConfig, EncodedAccessUnit, EncoderStats, DownmixMode, EncodeError — the TrueHD encoder, iclforge::truehd.
iclforge/truehd/core/format.hpp, error.hpp, crc.hpp, syntax.hpp The constants and channel vocabulary, ErrorKind, the four check values, and the restart header, block header, filters, matrices and Huffman codes, each with a reader and a writer.
iclforge/containers/iec61937/mat.hpp MatPacker, wrap_mat_stream, unwrap_mat_stream — TrueHD in IEC 61937 data type 22 (MAT 1.0), 24 access units to a 61,440-byte burst; part of iclforge::containers::iec61937, which knows no codec. See TrueHD in the containers.
iclforge_c/iclforge.h The stable C-callable surface over encode/decode — iclforge_encoder_t/iclforge_decoder_t/iclforge_eac3_*/iclforge_atmos_encoder_t, the AC-4 decoder and encoder (iclforge_ac4_*) and their config structs. A separate target (iclforge::c, ICLFORGE_BUILD_CAPI) and a deliberately narrower surface than the C++ headers above — see C API for what it trims and why.
iclforge/base/crypto/signing_key.hpp SigningKey, load_signing_key, decode_signing_key — the operator's key, loaded at run time and zeroed on destruction, in iclforge::base::crypto. sha256.hpp and hmac_sha256.hpp beside it are the hash and the MAC the signer computes its tag with.
iclforge/base/crypto/content_signature.hpp, credentials.hpp, ecdsa_p256.hpp, x509.hpp, chain.hpp, thrift_binary.hpp, der.hpp, pem.hpp, sha1.hpp The codec-blind core of a content signature (scheme pace-ccjf1): ECDSA P-256 with RFC 6979 nonces, X.509 chain validation, Thrift binary, DER and PEM, and sign_content_digest and verify_content_signature. The operator supplies the key and the chain. See AC-4 content signing.
iclforge/ac4/io/content_signature.hpp Where an AC-4 content signature sits (after the last sync frame of a raw .ac4 stream) and what its digest covers; iclforge::ac4. TrueHD has no counterpart yet.
iclforge/ac3/signing/emdf_atmos_signer.hpp sign_atmos_stream, sign_atmos_frame, verify_atmos_stream, verify_atmos_frame, verify_atmos_stream_any, verify_atmos_frame_any (several keys), gate_atmos_stream (objects only where the tag verifies, the bed elsewhere), has_authenticity_tag — the EMDF Atmos object signer, iclforge::ac3::signing, a part of iclforge::ac3. Signing is an optional step a front end applies to already-encoded frames: no encoder or decoder source calls it.