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