summaryrefslogtreecommitdiff
path: root/libdvbmpeg/remux.h
diff options
context:
space:
mode:
authorAndreas Regel <andreas.regel@powarman.de>2004-01-28 19:11:00 +0100
committerAndreas Regel <andreas.regel@powarman.de>2004-01-28 19:11:00 +0100
commit64fe6b70d0a5b34a80ff458fbf1664018d5c0182 (patch)
tree4fe036adaf90fef0d0dc910b84dbc11269e40008 /libdvbmpeg/remux.h
parent310f5b2a62343d0c9b7624c09efe35828785ef26 (diff)
downloadvdr-plugin-osdpip-64fe6b70d0a5b34a80ff458fbf1664018d5c0182.tar.gz
vdr-plugin-osdpip-64fe6b70d0a5b34a80ff458fbf1664018d5c0182.tar.bz2
Release version 0.0.3v0.0.3
- new TS->ES remuxer: now using VDR's cRemux for TS->PES and some own code for PES->ES - now using libavcodec from ffmpeg instead of mpeg2dec - frames to decode configurable (I-frames, I-/P-frames, all frames) - frame dropping configurable - added new color depths: - 128 shades greyscale - 128 colors with variable palette using Wu's quantizer (patch needed) - changed osd size setting to 6 configurable values
Diffstat (limited to 'libdvbmpeg/remux.h')
-rw-r--r--libdvbmpeg/remux.h149
1 files changed, 0 insertions, 149 deletions
diff --git a/libdvbmpeg/remux.h b/libdvbmpeg/remux.h
deleted file mode 100644
index 76c128b..0000000
--- a/libdvbmpeg/remux.h
+++ /dev/null
@@ -1,149 +0,0 @@
-/*
- * dvb-mpegtools for the Siemens Fujitsu DVB PCI card
- *
- * Copyright (C) 2000, 2001 Marcus Metzler
- * for convergence integrated media GmbH
- * Copyright (C) 2002 Marcus Metzler
- *
- *
- * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- * Or, point your browser to http://www.gnu.org/copyleft/gpl.html
- *
-
- * The author can be reached at mocm@metzlerbros.de,
- */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <errno.h>
-#include <unistd.h>
-#include <netinet/in.h>
-#include <string.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <sys/ioctl.h>
-//#include <libgen.h>
-#include <stdint.h>
-
-#include "ringbuffy.h"
-#include "ctools.h"
-
-#ifndef _REMUX_H_
-#define _REMUX_H_
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
- typedef struct video_i{
- uint32_t horizontal_size;
- uint32_t vertical_size ;
- uint32_t aspect_ratio ;
- double framerate ;
- uint32_t video_format;
- uint32_t bit_rate ;
- uint32_t comp_bit_rate ;
- uint32_t vbv_buffer_size;
- uint32_t CSPF ;
- uint32_t off;
- } VideoInfo;
-
- typedef struct audio_i{
- int layer;
- uint32_t bit_rate;
- uint32_t frequency;
- uint32_t mode;
- uint32_t mode_extension;
- uint32_t emphasis;
- uint32_t framesize;
- uint32_t off;
- } AudioInfo;
-
-
-
- typedef
- struct PTS_list_struct{
- uint32_t PTS;
- int pos;
- uint32_t dts;
- int spos;
- } PTS_List;
-
- typedef
- struct frame_list_struct{
- int type;
- int pos;
- uint32_t FRAME;
- uint32_t time;
- uint32_t pts;
- uint32_t dts;
- } FRAME_List;
-
- typedef
- struct remux_struct{
- ringbuffy vid_buffy;
- ringbuffy aud_buffy;
- PTS_List vpts_list[MAX_PTS];
- PTS_List apts_list[MAX_PTS];
- FRAME_List vframe_list[MAX_FRAME];
- FRAME_List aframe_list[MAX_FRAME];
- int vptsn;
- int aptsn;
- int vframen;
- int aframen;
- long apes;
- long vpes;
- uint32_t vframe;
- uint32_t aframe;
- uint32_t vcframe;
- uint32_t acframe;
- uint32_t vpts;
- uint32_t vdts;
- uint32_t apts;
- uint32_t vpts_old;
- uint32_t apts_old;
- uint32_t SCR;
- uint32_t apts_off;
- uint32_t vpts_off;
- uint32_t apts_delay;
- uint32_t vpts_delay;
- uint32_t dts_delay;
- AudioInfo audio_info;
- VideoInfo video_info;
- int fin;
- int fout;
- long int awrite;
- long int vwrite;
- long int aread;
- long int vread;
- uint32_t group;
- uint32_t groupframe;
- uint32_t muxr;
- int pack_size;
- uint32_t time_off;
- } Remux;
-
- enum { NONE, I_FRAME, P_FRAME, B_FRAME, D_FRAME };
-
- void remux(int fin, int fout, int pack_size, int mult);
- void remux2(int fdin, int fdout);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /*_REMUX_H_*/