Documentation
¶
Overview ¶
Package coefficient adapts the f5coefficient primitive to the internal API used by the embed and extract capabilities. It is a thin, allocation-free forwarding layer that keeps the dependency on f5coefficient in one place so the capability packages do not each import it directly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStegoBit ¶
GetStegoBit returns the steganographic bit (0 or 1) carried by a DCT coefficient. See f5coefficient.GetStegoBit for the sign-based rule.
func IsUsable ¶
IsUsable reports whether the coefficient at index can carry data, i.e. it is non-zero and not a DC term. See f5coefficient.IsUsableCoefficient.
func ModifyCoefficient ¶
ModifyCoefficient decrements the magnitude of a coefficient toward zero, the modification F5 applies when a carried bit must change. See f5coefficient.ModifyCoefficient.
Types ¶
This section is empty.