Process-wide catalog of codecs and containers. More...
#include <StormByte/multimedia/registry.hxx>
Public Member Functions | |
| Registry (const Registry &other)=delete | |
| Copy is disabled. | |
| Registry (Registry &&other)=delete | |
| Move is disabled. | |
| ~Registry () noexcept | |
| Destroys provider-owned storage in the multimedia library. | |
| Registry & | operator= (const Registry &other)=delete |
| Copy assignment is disabled. | |
| Registry & | operator= (Registry &&other)=delete |
| Move assignment is disabled. | |
| CodecRefs | CodecList (Type type) const |
| Codecs of one Type. | |
| ContainerRefs | ContainerList () const |
| All loaded containers. | |
| ExpectedCodec | FindCodec (std::string_view name) const |
| Looks up by StormByte name or FFmpeg codec id. | |
| ExpectedContainer | FindContainer (std::string_view name) const |
| Looks up by StormByte name or FFmpeg format id. | |
Static Public Member Functions | |
| static Registry & | Instance () |
| Process-wide instance. | |
Process-wide catalog of codecs and containers.
First Instance() loads the private tables and probes FFmpeg. Initialization, lookup and list snapshots may allocate and propagate allocation failures. A failed initialization can be retried.
|
delete |
Copy is disabled.
| other | Source registry. |
|
delete |
Move is disabled.
| other | Source registry. |
|
noexcept |
Destroys provider-owned storage in the multimedia library.
Codecs of one Type.
| type | Kind to list. |
| ContainerRefs StormByte::Multimedia::Registry::ContainerList | ( | ) | const |
All loaded containers.
| ExpectedCodec StormByte::Multimedia::Registry::FindCodec | ( | std::string_view | name | ) | const |
Looks up by StormByte name or FFmpeg codec id.
| name | Key (H.265 or hevc). |
| ExpectedContainer StormByte::Multimedia::Registry::FindContainer | ( | std::string_view | name | ) | const |
Looks up by StormByte name or FFmpeg format id.
| name | Key (Matroska or matroska). |
|
static |
Process-wide instance.
Copy assignment is disabled.
| other | Source registry. |
Move assignment is disabled.
| other | Source registry. |