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
|
|
|
*
|
2006-10-07 17:30:46 +02:00
|
|
|
* This file is part of FFmpeg.
|
|
|
|
*
|
|
|
|
* FFmpeg 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
|
|
|
*
|
2006-10-07 17:30:46 +02:00
|
|
|
* FFmpeg 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
|
2006-10-07 17:30:46 +02:00
|
|
|
* License along with FFmpeg; 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;
|
|
|
|
DVMuxContext* dv_init_mux(AVFormatContext* s);
|
2009-01-07 02:19:48 +01:00
|
|
|
int dv_assemble_frame(DVMuxContext *c, AVStream*, uint8_t*, int, uint8_t**);
|
2003-10-31 23:26:26 +01:00
|
|
|
void dv_delete_mux(DVMuxContext*);
|
2007-06-17 02:01:30 +02:00
|
|
|
|
2008-08-31 09:39:47 +02:00
|
|
|
#endif /* AVFORMAT_DV_H */
|