Declaraciones públicas de media-core/container/frame_info.zig (media-core: motor de medios).
apps/docs/generated/zig/media-engine.jsonPágina generada desde
native/zig/media-core/media_engine.zig. No se edita a mano:bun run docs:genla regenera ybun run docs:checkfalla si difiere.
Facts read from one compressed audio frame: how many samples it decodes
styx:parser (dec-0117 §6: S3/S4 apply — untrusted media bytes).
to (packet durations when the container declares none) and the AC-3 /
E-AC-3 configuration an ISOBMFF sample entry needs (dac3 / dec3, which
Matroska does not store: it only exists in the bitstream).
Every reader takes untrusted bytes and returns null when they do not
parse; nothing here panics or indexes out of bounds.
frame_info.samplesPerFramefn · línea 19
pub fn samplesPerFrame(s: *const facts.StreamInfo, frame: []const u8) ?u32Samples one frame decodes to, at the stream's sample rate; null when it
cannot be told from the first bytes.
frame_info.Ac3Headertype · línea 129
pub const Ac3Header = structSin ///.
frame_info.ac3Headerfn · línea 139
pub fn ac3Header(frame: []const u8) ?Ac3HeaderATSC A/52 §5.3 syncinfo + bsi (the fields dac3 carries).
frame_info.dac3fn · línea 164
pub fn dac3(h: Ac3Header) [3]u8dac3 payload (ETSI TS 102 366 Annex F.4), 3 bytes.
frame_info.Eac3Headertype · línea 172
pub const Eac3Header = structSin ///.
frame_info.eac3Headerfn · línea 191
pub fn eac3Header(frame: []const u8) ?Eac3HeaderETSI TS 102 366 Annex E.1.2 (bsi of an E-AC-3 syncframe).
frame_info.dec3fn · línea 282
pub fn dec3(packet: []const u8, out: *[16]u8) ?[]const u8dec3 payload (ETSI TS 102 366 Annex F.6) for the independent substream 0
of packet plus the dependent substreams that follow it in the packet.
Writes into out and returns the used prefix.