mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 12:27:21 +00:00
50 lines
1.0 KiB
C++
50 lines
1.0 KiB
C++
/*
|
|
mkvmerge -- utility for splicing together matroska files
|
|
from component media subtypes
|
|
|
|
Distributed under the GPL
|
|
see the file COPYING for details
|
|
or visit http://www.gnu.org/copyleft/gpl.html
|
|
|
|
$Id$
|
|
|
|
class definitions for the DTS demultiplexer module
|
|
|
|
Written by Peter Niemayer <niemayer@isg.de>.
|
|
Modified by Moritz Bunkus <moritz@bunkus.org>.
|
|
*/
|
|
|
|
#ifndef __R_DTS_H
|
|
#define __R_DTS_H
|
|
|
|
#include "os.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "common.h"
|
|
#include "dts_common.h"
|
|
#include "error.h"
|
|
#include "mm_io.h"
|
|
#include "pr_generic.h"
|
|
|
|
class dts_reader_c: public generic_reader_c {
|
|
private:
|
|
unsigned char *chunk;
|
|
mm_io_c *mm_io;
|
|
int64_t bytes_processed, size;
|
|
dts_header_t dtsheader;
|
|
|
|
public:
|
|
dts_reader_c(track_info_c *nti) throw (error_c);
|
|
virtual ~dts_reader_c();
|
|
|
|
virtual file_status_e read(generic_packetizer_c *ptzr, bool force = false);
|
|
virtual int get_progress();
|
|
virtual void identify();
|
|
virtual void create_packetizer(int64_t id);
|
|
|
|
static int probe_file(mm_io_c *mm_io, int64_t size);
|
|
};
|
|
|
|
#endif // __R_DTS_H
|