2005-12-17 19:14:38 +01:00
|
|
|
/*
|
|
|
|
* General DV muxer/demuxer
|
2006-02-08 12:43:47 +01:00
|
|
|
* Copyright (c) 2003 Roman Shaposhnik
|
2003-09-29 19:54:07 +02:00
|
|
|
*
|
|
|
|
* Many thanks to Dan Dennedy <dan@dennedy.org> for providing wealth
|
|
|
|
* of DV technical info.
|
|
|
|
*
|
|
|
|
* Raw DV format
|
2009-01-19 16:46:40 +01:00
|
|
|
* Copyright (c) 2002 Fabrice Bellard
|
2003-09-29 19:54:07 +02:00
|
|
|
*
|
2011-03-18 18:35:10 +01:00
|
|
|
* This file is part of Libav.
|
2006-10-07 17:30:46 +02:00
|
|
|
*
|
2011-03-18 18:35:10 +01:00
|
|
|
* Libav is free software; you can redistribute it and/or
|
2003-09-29 19:54:07 +02:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2006-10-07 17:30:46 +02:00
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2003-09-29 19:54:07 +02:00
|
|
|
*
|
2011-03-18 18:35:10 +01:00
|
|
|
* Libav is distributed in the hope that it will be useful,
|
2003-09-29 19:54:07 +02:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2011-03-18 18:35:10 +01:00
|
|
|
* License along with Libav; if not, write to the Free Software
|
2006-01-12 23:43:26 +01:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2003-09-29 19:54:07 +02:00
|
|
|
*/
|
|
|
|
|
2008-08-31 09:39:47 +02:00
|
|
|
#ifndef AVFORMAT_DV_H
|
|
|
|
#define AVFORMAT_DV_H
|
2007-06-17 02:01:30 +02:00
|
|
|
|
2007-06-17 00:59:13 +02:00
|
|
|
#include "avformat.h"
|
|
|
|
|
2003-10-31 23:26:26 +01:00
|
|
|
typedef struct DVDemuxContext DVDemuxContext;
|
|
|
|
DVDemuxContext* dv_init_demux(AVFormatContext* s);
|
|
|
|
int dv_get_packet(DVDemuxContext*, AVPacket *);
|
|
|
|
int dv_produce_packet(DVDemuxContext*, AVPacket*, uint8_t*, int);
|
2007-01-11 23:32:19 +01:00
|
|
|
void dv_offset_reset(DVDemuxContext *c, int64_t frame_offset);
|
2003-10-31 23:26:26 +01:00
|
|
|
|
|
|
|
typedef struct DVMuxContext DVMuxContext;
|
2007-06-17 02:01:30 +02:00
|
|
|
|
2008-08-31 09:39:47 +02:00
|
|
|
#endif /* AVFORMAT_DV_H */
|