Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gentables
command
Command gentables converts the libopus CELT and SILK static data into checked-in Go data:
|
Command gentables converts the libopus CELT and SILK static data into checked-in Go data: |
|
goopusdec
command
Command goopusdec is an opus_demo-style decode tool used for conformance runs.
|
Command goopusdec is an opus_demo-style decode tool used for conformance runs. |
|
wav2opus
command
Command wav2opus encodes a 16-bit PCM WAV file to an Ogg Opus file through the public oggopus encoder.
|
Command wav2opus encodes a 16-bit PCM WAV file to an Ogg Opus file through the public oggopus encoder. |
|
internal
|
|
|
celt
Package celt is a transliteration of the libopus CELT codec (celt/): the decoder (phase 2) and the CELT-only encoder (phase 4).
|
Package celt is a transliteration of the libopus CELT codec (celt/): the decoder (phase 2) and the CELT-only encoder (phase 4). |
|
fixedmath
Package fixedmath holds the CELT fixed-point macro helpers (celt/fixed_generic.h, mathops.h) as exact Go expressions, with exhaustive tests against the C semantics.
|
Package fixedmath holds the CELT fixed-point macro helpers (celt/fixed_generic.h, mathops.h) as exact Go expressions, with exhaustive tests against the C semantics. |
|
opuscompare
Package opuscompare is a Go port of libopus's opus_compare.c: the RFC 6716 conformance comparator (a self-contained naive DFT, no kiss_fft dependency), so the conformance gate runs in CI with no C toolchain.
|
Package opuscompare is a Go port of libopus's opus_compare.c: the RFC 6716 conformance comparator (a self-contained naive DFT, no kiss_fft dependency), so the conformance gate runs in CI with no C toolchain. |
|
opusdec
Package opusdec is the verbatim transliteration of libopus src/opus_decoder.c (v1.6.1): the top-level Opus decoder that unifies the CELT and SILK decoders behind the mode-transition and redundancy state machine (RFC 6716, the "hard 20%").
|
Package opusdec is the verbatim transliteration of libopus src/opus_decoder.c (v1.6.1): the top-level Opus decoder that unifies the CELT and SILK decoders behind the mode-transition and redundancy state machine (RFC 6716, the "hard 20%"). |
|
opusenc
Package opusenc is the verbatim transliteration of libopus src/opus_encoder.c (v1.6.1): the top-level Opus encoder that wraps the CELT (and, later, SILK) core so it emits a real Opus packet, TOC byte plus payload.
|
Package opusenc is the verbatim transliteration of libopus src/opus_encoder.c (v1.6.1): the top-level Opus encoder that wraps the CELT (and, later, SILK) core so it emits a real Opus packet, TOC byte plus payload. |
|
packet
Package packet implements the Opus packet layer: TOC parsing, frame codes 0-3, self-delimited framing, padding, and the repacketizer (RFC 6716 section 3).
|
Package packet implements the Opus packet layer: TOC parsing, frame codes 0-3, self-delimited framing, padding, and the repacketizer (RFC 6716 section 3). |
|
rangecoding
Package rangecoding is a transliteration of the libopus range coder (celt/entenc.c, entdec.c, entcode.c).
|
Package rangecoding is a transliteration of the libopus range coder (celt/entenc.c, entdec.c, entcode.c). |
|
reftest
Package reftest is the cgo differential-test harness that builds the pinned libopus (v1.6.1, FIXED_POINT + DISABLE_FLOAT_API oracle plus a float variant) and compares go-opus against it: encoder packets bit-exact, decoder output within threshold, and per-frame persistent-state hashes for sequence tests.
|
Package reftest is the cgo differential-test harness that builds the pinned libopus (v1.6.1, FIXED_POINT + DISABLE_FLOAT_API oracle plus a float variant) and compares go-opus against it: encoder packets bit-exact, decoder output within threshold, and per-frame persistent-state hashes for sequence tests. |
|
reftest/oracle
Package oracle wraps the pinned libopus (FIXED_POINT + DISABLE_FLOAT_API) as the differential-test oracle for go-opus.
|
Package oracle wraps the pinned libopus (FIXED_POINT + DISABLE_FLOAT_API) as the differential-test oracle for go-opus. |
|
silk
Package silk is a transliteration of the libopus SILK codec (silk/): the decoder (phase 3) and, optionally, the encoder (phase 5).
|
Package silk is a transliteration of the libopus SILK codec (silk/): the decoder (phase 3) and, optionally, the encoder (phase 5). |
|
silkmath
Package silkmath holds SILK's separate fixed-point dialect (silk/SigProc_FIX.h: silk_SMULWB and friends) as exact Go expressions with exhaustive tests against the C semantics.
|
Package silkmath holds SILK's separate fixed-point dialect (silk/SigProc_FIX.h: silk_SMULWB and friends) as exact Go expressions with exhaustive tests against the C semantics. |
|
wav
Package wav implements a minimal streaming RIFF/WAVE reader for 16-bit integer PCM, the one input format the encoder CLIs need.
|
Package wav implements a minimal streaming RIFF/WAVE reader for 16-bit integer PCM, the one input format the encoder CLIs need. |
|
Package oggopus implements the RFC 7845 Ogg Opus container: an io.Writer-based encoder and an io.Reader-based decoder wrapping the raw opus codec.
|
Package oggopus implements the RFC 7845 Ogg Opus container: an io.Writer-based encoder and an io.Reader-based decoder wrapping the raw opus codec. |
|
Package opus is the public API for the go-opus native Go Opus codec: a raw, buffer-based Encoder and Decoder (one PCM frame in, one packet out, and the reverse) plus packet-inspection helpers.
|
Package opus is the public API for the go-opus native Go Opus codec: a raw, buffer-based Encoder and Decoder (one PCM frame in, one packet out, and the reverse) plus packet-inspection helpers. |
|
Package pcm is the uniform <module>/pcm PCM codec facade for go-opus, matching github.com/tphakala/go-flac/pcm and github.com/tphakala/go-aac/pcm so the three codec libraries present the same import path and the same API shape.
|
Package pcm is the uniform <module>/pcm PCM codec facade for go-opus, matching github.com/tphakala/go-flac/pcm and github.com/tphakala/go-aac/pcm so the three codec libraries present the same import path and the same API shape. |
Click to show internal directories.
Click to hide internal directories.