2005-12-17 20:14:38 +02:00
|
|
|
/*
|
|
|
|
* General DV muxer/demuxer
|
2006-02-08 13:43:47 +02:00
|
|
|
* Copyright (c) 2003 Roman Shaposhnik
|
2003-09-29 20:54:07 +03:00
|
|
|
*
|
|
|
|
* Many thanks to Dan Dennedy <dan@dennedy.org> for providing wealth
|
|
|
|
* of DV technical info.
|
|
|
|
*
|
|
|
|
* Raw DV format
|
2009-01-19 17:46:40 +02:00
|
|
|
* Copyright (c) 2002 Fabrice Bellard
|
2003-09-29 20:54:07 +03:00
|
|
|
*
|
2006-10-07 18:30:46 +03:00
|
|
|
* This file is part of FFmpeg.
|
|
|
|
*
|
|
|
|
* FFmpeg is free software; you can redistribute it and/or
|
2003-09-29 20:54:07 +03:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2006-10-07 18:30:46 +03:00
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2003-09-29 20:54:07 +03:00
|
|
|
*
|
2006-10-07 18:30:46 +03:00
|
|
|
* FFmpeg is distributed in the hope that it will be useful,
|
2003-09-29 20:54:07 +03: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
|
2006-10-07 18:30:46 +03:00
|
|
|
* License along with FFmpeg; if not, write to the Free Software
|
2006-01-13 00:43:26 +02:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2003-09-29 20:54:07 +03:00
|
|
|
*/
|
|
|
|
|
2008-08-31 10:39:47 +03:00
|
|
|
#ifndef AVFORMAT_DV_H
|
|
|
|
#define AVFORMAT_DV_H
|
2007-06-17 03:01:30 +03:00
|
|
|
|
2007-06-17 01:59:13 +03:00
|
|
|
#include "avformat.h"
|
|
|
|
|
2003-11-01 00:26:26 +02:00
|
|
|
typedef struct DVDemuxContext DVDemuxContext;
|
2011-10-17 09:58:50 +03:00
|
|
|
DVDemuxContext* avpriv_dv_init_demux(AVFormatContext* s);
|
|
|
|
int avpriv_dv_get_packet(DVDemuxContext*, AVPacket *);
|
2011-10-21 02:27:28 +03:00
|
|
|
int avpriv_dv_produce_packet(DVDemuxContext*, AVPacket*, uint8_t*, int, int64_t);
|
2007-01-12 00:32:19 +02:00
|
|
|
void dv_offset_reset(DVDemuxContext *c, int64_t frame_offset);
|
2003-11-01 00:26:26 +02:00
|
|
|
|
|
|
|
typedef struct DVMuxContext DVMuxContext;
|
2007-06-17 03:01:30 +03:00
|
|
|
|
2008-08-31 10:39:47 +03:00
|
|
|
#endif /* AVFORMAT_DV_H */
|