remove old quicktime, replaced with current ffmpeg
[goodguy/history.git] / cinelerra-5.0 / quicktime / qtffmpeg.h
diff --git a/cinelerra-5.0/quicktime/qtffmpeg.h b/cinelerra-5.0/quicktime/qtffmpeg.h
deleted file mode 100644 (file)
index 9ce9a8d..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-#ifndef QTFFMPEG_H
-#define QTFFMPEG_H
-
-
-
-// This must be separate from qtprivate.h to keep everyone from
-// depending on avcodec.h
-// FFMPEG front end for quicktime.
-// Getting ffmpeg to do all the things it needs to do is so labor
-// intensive, we have a front end for the ffmpeg front end.
-
-
-// This front end is bastardized to support alternating fields with
-// alternating ffmpeg instances.  It drastically reduces the bitrate
-// required to store interlaced video but nothing can read it but
-// Heroine Virtual.
-
-
-
-#include "libavformat/avformat.h"
-#include "libavcodec/avcodec.h"
-#include "qtprivate.h"
-
-#include <pthread.h>
-
-typedef struct
-{
-#define FIELDS 2
-// Encoding
-    AVCodec *encoder[FIELDS];
-       AVCodecContext *encoder_context[FIELDS];
-
-
-// Decoding
-    AVCodec *decoder[FIELDS];
-       AVCodecContext *decoder_context[FIELDS];
-    AVFrame picture[FIELDS];
-
-// Last frame decoded
-       int64_t last_frame[FIELDS];
-// Rounded dimensions
-       int width_i;
-       int height_i;
-// Original dimensions
-       int width;
-       int height;
-       int fields;
-
-
-// Temporary storage for color conversions
-       char *temp_frame;
-// Storage of compressed data
-       unsigned char *work_buffer;
-// Allocation of work_buffer
-       int buffer_size;
-       int ffmpeg_id;
-} quicktime_ffmpeg_t;
-
-extern int ffmpeg_initialized;
-extern pthread_mutex_t ffmpeg_lock;
-
-
-quicktime_ffmpeg_t *quicktime_new_ffmpeg(int cpus,
-       int fields,int ffmpeg_id, int w,int h,
-       quicktime_stsd_table_t *stsd_table); // FFmpeg needs this for the header
-void quicktime_delete_ffmpeg(quicktime_ffmpeg_t *ptr);
-int quicktime_ffmpeg_decode(quicktime_ffmpeg_t *ffmpeg,
-       quicktime_t *file, unsigned char **row_pointers, int track);
-
-int quicktime_decode_audio3(
-               AVCodecContext *avctx, int16_t *samples,
-               int *frame_size_ptr, AVPacket *avpkt);
-
-
-#endif
-