diff options
author | David Schleef <ds@schleef.org> | 2003-07-26 03:01:58 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2003-07-26 03:01:58 +0000 |
commit | 2f0cc8ec30e8c26fed7b2c9ac2614c9a7655fb65 (patch) | |
tree | 25c3fbda1c8f8f5a33cad05c78b40887be7d2fba /gst-libs/ext/mplex/aunit.hh | |
parent | 4df5590ec318054389219b84153cce0ce363613b (diff) | |
download | gst-plugins-bad-2f0cc8ec30e8c26fed7b2c9ac2614c9a7655fb65.tar.gz gst-plugins-bad-2f0cc8ec30e8c26fed7b2c9ac2614c9a7655fb65.tar.bz2 gst-plugins-bad-2f0cc8ec30e8c26fed7b2c9ac2614c9a7655fb65.zip |
Moved from gst-plugins/ext/mplex/. See that directory for older changelogs.
Original commit message from CVS:
Moved from gst-plugins/ext/mplex/. See that directory for older
changelogs.
Diffstat (limited to 'gst-libs/ext/mplex/aunit.hh')
-rw-r--r-- | gst-libs/ext/mplex/aunit.hh | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gst-libs/ext/mplex/aunit.hh b/gst-libs/ext/mplex/aunit.hh new file mode 100644 index 00000000..0876887b --- /dev/null +++ b/gst-libs/ext/mplex/aunit.hh @@ -0,0 +1,41 @@ +#ifndef __AUNIT_H__ +#define __AUNIT_H__ + +#include <config.h> +#include "mjpeg_types.h" +#include "bits.hh" + +typedef int64_t clockticks; // This value *must* be signed + + // because we frequently compute *offsets* + +class Aunit +{ +public: + Aunit ():length (0), PTS (0), DTS (0) + { + } + void markempty () + { + length = 0; + } + bitcount_t start; + unsigned int length; + clockticks PTS; + int dorder; + + // Used only for video AU's but otherwise + // you have to go crazy on templates. + clockticks DTS; + int porder; + unsigned int type; + bool seq_header; + bool end_seq; + +}; + +typedef Aunit VAunit; + +typedef Aunit AAunit; + +#endif // __AUNIT_H__ |