diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-01-07 19:24:27 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-01-07 19:24:27 (GMT) |
commit | 3eacbfa27772fd77d216cfbbacd7aa029e55c195 (patch) | |
tree | 6599586aec54d9ca99f476326158de648530e72f /tkmpeg/ezmpeg.h | |
parent | b79546a540f7d856c811d39024f0b47620ba0645 (diff) | |
download | blt-3eacbfa27772fd77d216cfbbacd7aa029e55c195.zip blt-3eacbfa27772fd77d216cfbbacd7aa029e55c195.tar.gz blt-3eacbfa27772fd77d216cfbbacd7aa029e55c195.tar.bz2 |
update TEA 3.13
Diffstat (limited to 'tkmpeg/ezmpeg.h')
-rw-r--r-- | tkmpeg/ezmpeg.h | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/tkmpeg/ezmpeg.h b/tkmpeg/ezmpeg.h deleted file mode 100644 index 47a5599..0000000 --- a/tkmpeg/ezmpeg.h +++ /dev/null @@ -1,74 +0,0 @@ -//This file is part of ezMPEG
-//Copyright (C)2002 Ingo Oppermann ( ingo_opp@users.sourceforge.net / http://sourceforge.net/projects/ezmpeg/ )
-//
-//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.
-
-// Version 0.1
-
-typedef struct ezMPEGStream {
- char *outfile;
- FILE *out;
- int hsize;
- int vsize;
- int picture_rate;
- int gop_size;
- int dc_prev[3];
- double q_scale;
-
- int picture_count;
- int buffersize;
- int buffercount;
- char *buffer;
- int buf;
- int pos;
-
- short error_code;
- char error_msg[256];
-} ezMPEGStream;
-
-typedef struct Block {
- float a[64];
-} Block;
-
-typedef struct Macroblock {
- Block lum[4];
- Block chrom[2];
-} Macroblock;
-
-// Prototypes
-// 'sichtbare' Funktionen. Nur diese 5 Funktionen werden direkt benutzt
-int ezMPEG_Init(ezMPEGStream *ms, const char *outfile, int hsize, int vsize, int picture_rate, int gop_size, int q_scale);
-int ezMPEG_Start(ezMPEGStream *ms);
-int ezMPEG_Add(ezMPEGStream *ms, unsigned char *picture);
-int ezMPEG_Finalize(ezMPEGStream *ms);
-void ezMPEG_Resize(ezMPEGStream *ms, unsigned char *outbild, unsigned char *inbild, int x, int y, int u, int v);
-char *ezMPEG_GetLastError(ezMPEGStream *ms);
-
-// 'unsichtbare' Funktionen
-void ezMPEG_InitBitBuffer(ezMPEGStream *ms);
-void ezMPEG_ByteAlign(ezMPEGStream *ms);
-int ezMPEG_WriteBits(ezMPEGStream *ms, unsigned int value, int length);
-
-void ezMPEG_WriteSequenceHeader(ezMPEGStream *ms);
-void ezMPEG_WriteGOPHeader(ezMPEGStream *ms);
-void ezMPEG_WritePictureHeader(ezMPEGStream *ms);
-
-Macroblock ezMPEG_GetMacroblock(ezMPEGStream *ms, unsigned char *picture, int number);
-Macroblock ezMPEG_QuantizeMacroblock(ezMPEGStream *ms, Macroblock mb);
-void ezMPEG_WriteMacroblock(ezMPEGStream *ms, Macroblock mb);
-
-float ezMPEG_1DFDCT(float *v, int i);
-
-void ezMPEG_EncodeDC(ezMPEGStream *ms, int dc_diff, int type);
-void ezMPEG_EncodeAC(ezMPEGStream *ms, int runlength, int level);
-
-void ezMPEG_FlushBuffer(ezMPEGStream *ms);
-void ezMPEG_SetError(ezMPEGStream *ms, const char *error_msg);
|