multimedia: add audio codec sniffing and MPEG/ADTS frame parsing
Adds QtMultimediaPrivate::ParsingSupport, a home for stateless container
and frame-header parsing shared by platform backends. This first part
identifies a codec from a stream's leading bytes and sizes MPEG Layer III
and ADTS AAC frames, which backends need in order to hand a decoder one
complete access unit at a time.
The functions take QSpan and carry no decoder state, so they are testable
in isolation. Tagged score:critical reason:data-parser.
This patch and its commit message were developed together with Claude
Change-Id: I6e60506d7e6bf4f68f81031b065a0e363b82ec47
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>