]>
Commit | Line | Data |
---|---|---|
5641dccf | 1 | extern crate nihav_core; |
38953fb5 | 2 | extern crate nihav_commonfmt; |
5641dccf KS |
3 | extern crate nihav_game; |
4 | extern crate nihav_indeo; | |
606c448e | 5 | extern crate nihav_rad; |
5641dccf KS |
6 | extern crate nihav_realmedia; |
7 | ||
38953fb5 KS |
8 | use nihav_core::codecs::RegisteredDecoders; |
9 | use nihav_core::demuxers::RegisteredDemuxers; | |
10 | ||
11 | use nihav_commonfmt::codecs::generic_register_all_codecs; | |
12 | use nihav_commonfmt::demuxers::generic_register_all_demuxers; | |
5641dccf KS |
13 | |
14 | use nihav_game::codecs::game_register_all_codecs; | |
15 | use nihav_game::demuxers::game_register_all_demuxers; | |
16 | ||
17 | use nihav_indeo::codecs::indeo_register_all_codecs; | |
18 | ||
606c448e KS |
19 | use nihav_rad::codecs::rad_register_all_codecs; |
20 | use nihav_rad::demuxers::rad_register_all_demuxers; | |
21 | ||
5641dccf KS |
22 | use nihav_realmedia::codecs::realmedia_register_all_codecs; |
23 | use nihav_realmedia::demuxers::realmedia_register_all_demuxers; | |
24 | ||
25 | pub 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 | ||
33 | pub 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 | } |