]>
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; | |
5 | extern crate nihav_realmedia; | |
6 | ||
38953fb5 KS |
7 | use nihav_core::codecs::RegisteredDecoders; |
8 | use nihav_core::demuxers::RegisteredDemuxers; | |
9 | ||
10 | use nihav_commonfmt::codecs::generic_register_all_codecs; | |
11 | use nihav_commonfmt::demuxers::generic_register_all_demuxers; | |
5641dccf KS |
12 | |
13 | use nihav_game::codecs::game_register_all_codecs; | |
14 | use nihav_game::demuxers::game_register_all_demuxers; | |
15 | ||
16 | use nihav_indeo::codecs::indeo_register_all_codecs; | |
17 | ||
18 | use nihav_realmedia::codecs::realmedia_register_all_codecs; | |
19 | use nihav_realmedia::demuxers::realmedia_register_all_demuxers; | |
20 | ||
21 | pub 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 | ||
28 | pub 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 | } |