mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-12 03:16:33 +00:00
b6c94f0d0b
Original commit message from CVS: * ext/artsd/gstartsdsink.c: (gst_artsdsink_open_audio): * gst/festival/gstfestival.c: (socket_receive_file_to_buff): * gst/vbidec/vbidata.c: * gst/vbidec/vbidata.h: * gst/vbidec/vbiscreen.c: * sys/dxr3/ac3_padder.c: don't use doc comments for non-docs change some char* into char[]
59 lines
2.1 KiB
C
59 lines
2.1 KiB
C
/*
|
|
* Copyright (c) 2002 Billy Biggs <vektor@dumbterm.net>.
|
|
* Copyright (c) 2002 Doug Bell <drbell@users.sourceforge.net>
|
|
*
|
|
* CC code from Nathan Laredo's ccdecode.
|
|
* Lots of 'hey what does this mean?' code from
|
|
* Billy Biggs and Doug Bell, like all the crap with
|
|
* XDS and stuff. Some help from Zapping's vbi library by
|
|
* Michael H. Schimek and others, released under the GPL.
|
|
*
|
|
* Modified and adapted to GStreamer by
|
|
* David I. Lehn <dlehn@users.sourceforge.net>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or (at
|
|
* your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
*/
|
|
|
|
#ifndef VBIDATA_H_INCLUDED
|
|
#define VBIDATA_H_INCLUDED
|
|
|
|
#include "vbiscreen.h"
|
|
/*#include "tvtimeosd.h"*/
|
|
|
|
typedef struct vbidata_s vbidata_t;
|
|
|
|
#define CAPTURE_OFF 0
|
|
#define CAPTURE_CC1 1
|
|
#define CAPTURE_CC2 2
|
|
#define CAPTURE_CC3 4
|
|
#define CAPTURE_CC4 5
|
|
#define CAPTURE_T1 6
|
|
#define CAPTURE_T2 7
|
|
#define CAPTURE_T3 8
|
|
#define CAPTURE_T4 9
|
|
|
|
vbidata_t *vbidata_new_file( const char *filename, vbiscreen_t *vs,
|
|
/*tvtime_osd_t* osd,*/ int verbose );
|
|
vbidata_t *vbidata_new_line( vbiscreen_t *vs, int verbose );
|
|
|
|
void vbidata_delete( vbidata_t *vbi );
|
|
void vbidata_reset( vbidata_t *vbi );
|
|
void vbidata_set_verbose( vbidata_t *vbi, int verbose );
|
|
void vbidata_capture_mode( vbidata_t *vbi, int mode );
|
|
void vbidata_process_frame( vbidata_t *vbi, int printdebug );
|
|
void vbidata_process_line( vbidata_t *vbi, unsigned char *s, int bottom );
|
|
void vbidata_process_16b( vbidata_t *vbi, int bottom, int w );
|
|
|
|
#endif /* VBIDATA_H_INCLUDED */
|