]> git.nihav.org Git - nihav.git/blame - nihav-allstuff/src/lib.rs
TrueMotion 1 decoder
[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;
606c448e 5extern crate nihav_rad;
5641dccf
KS
6extern crate nihav_realmedia;
7
38953fb5
KS
8use nihav_core::codecs::RegisteredDecoders;
9use nihav_core::demuxers::RegisteredDemuxers;
10
11use nihav_commonfmt::codecs::generic_register_all_codecs;
12use nihav_commonfmt::demuxers::generic_register_all_demuxers;
5641dccf
KS
13
14use nihav_game::codecs::game_register_all_codecs;
15use nihav_game::demuxers::game_register_all_demuxers;
16
17use nihav_indeo::codecs::indeo_register_all_codecs;
18
606c448e
KS
19use nihav_rad::codecs::rad_register_all_codecs;
20use nihav_rad::demuxers::rad_register_all_demuxers;
21
5641dccf
KS
22use nihav_realmedia::codecs::realmedia_register_all_codecs;
23use nihav_realmedia::demuxers::realmedia_register_all_demuxers;
24
25pub fn nihav_register_all_codecs(rd: &mut RegisteredDecoders) {
38953fb5 26 generic_register_all_codecs(rd);
5641dccf
KS
27 game_register_all_codecs(rd);
28 indeo_register_all_codecs(rd);
606c448e 29 rad_register_all_codecs(rd);
5641dccf
KS
30 realmedia_register_all_codecs(rd);
31}
32
33pub fn nihav_register_all_demuxers(rd: &mut RegisteredDemuxers) {
38953fb5 34 generic_register_all_demuxers(rd);
5641dccf 35 game_register_all_demuxers(rd);
606c448e 36 rad_register_all_demuxers(rd);
5641dccf
KS
37 realmedia_register_all_demuxers(rd);
38}