xref: /haiku/src/add-ons/media/media-add-ons/demultiplexer/misc.h (revision d5525d8c93458184aafe1ddf285a5d055dc108a9)
1*d5525d8cSshatty // misc.h
2*d5525d8cSshatty //
3*d5525d8cSshatty // Andrew Bachmann, 2002
4*d5525d8cSshatty //
5*d5525d8cSshatty // Some functions for general debugging and
6*d5525d8cSshatty // working around be media kit bugs.
7*d5525d8cSshatty 
8*d5525d8cSshatty #if !defined(_MISC_H)
9*d5525d8cSshatty #define _MISC_H
10*d5525d8cSshatty 
11*d5525d8cSshatty #include <MediaDefs.h>
12*d5525d8cSshatty 
13*d5525d8cSshatty // -------------------------------------------------------- //
14*d5525d8cSshatty // lib functions
15*d5525d8cSshatty // -------------------------------------------------------- //
16*d5525d8cSshatty 
17*d5525d8cSshatty void print_multistream_format(media_multistream_format * format);
18*d5525d8cSshatty 
19*d5525d8cSshatty void print_media_format(media_format * format);
20*d5525d8cSshatty 
21*d5525d8cSshatty bool multistream_format_is_acceptible(
22*d5525d8cSshatty 						const media_multistream_format & producer_format,
23*d5525d8cSshatty 						const media_multistream_format & consumer_format);
24*d5525d8cSshatty 
25*d5525d8cSshatty bool format_is_acceptible(
26*d5525d8cSshatty 						const media_format & producer_format,
27*d5525d8cSshatty 						const media_format & consumer_format);
28*d5525d8cSshatty 
29*d5525d8cSshatty #endif // _MISC_H
30*d5525d8cSshatty 
31