]> git.nihav.org Git - nihav.git/blame - nihav-allstuff/src/lib.rs
Discworld 2 BMV support
[nihav.git] / nihav-allstuff / src / lib.rs
CommitLineData
5641dccf 1extern crate nihav_core;
38953fb5 2extern crate nihav_commonfmt;
5641dccf
KS
3extern crate nihav_game;
4extern crate nihav_indeo;
5extern crate nihav_realmedia;
6
38953fb5
KS
7use nihav_core::codecs::RegisteredDecoders;
8use nihav_core::demuxers::RegisteredDemuxers;
9
10use nihav_commonfmt::codecs::generic_register_all_codecs;
11use nihav_commonfmt::demuxers::generic_register_all_demuxers;
5641dccf
KS
12
13use nihav_game::codecs::game_register_all_codecs;
14use nihav_game::demuxers::game_register_all_demuxers;
15
16use nihav_indeo::codecs::indeo_register_all_codecs;
17
18use nihav_realmedia::codecs::realmedia_register_all_codecs;
19use nihav_realmedia::demuxers::realmedia_register_all_demuxers;
20
21pub fn nihav_register_all_codecs(rd: &mut RegisteredDecoders) {
38953fb5 22 generic_register_all_codecs(rd);
5641dccf
KS
23 game_register_all_codecs(rd);
24 indeo_register_all_codecs(rd);
25 realmedia_register_all_codecs(rd);
26}
27
28pub fn nihav_register_all_demuxers(rd: &mut RegisteredDemuxers) {
38953fb5 29 generic_register_all_demuxers(rd);
5641dccf
KS
30 game_register_all_demuxers(rd);
31 realmedia_register_all_demuxers(rd);
32}