From ba415f96d91245551edd901721573fe5432b844a Mon Sep 17 00:00:00 2001 From: beveloper Date: Sat, 6 Nov 2004 22:10:20 +0000 Subject: [PATCH] removed unused files git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9816 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/media/Decoder.h | 42 ----------------------------- headers/private/media/Extractor.h | 45 ------------------------------- 2 files changed, 87 deletions(-) delete mode 100644 headers/private/media/Decoder.h delete mode 100644 headers/private/media/Extractor.h diff --git a/headers/private/media/Decoder.h b/headers/private/media/Decoder.h deleted file mode 100644 index 0bcbc125e5..0000000000 --- a/headers/private/media/Decoder.h +++ /dev/null @@ -1,42 +0,0 @@ - -// this header is similar to functions found in libmedia.so -// and the media_kit decoder add-ons -// we will use it as basic information, but are not trying to -// create a binary compatible interface -// this API will totally change, as we are creating our own API - -#include -#include - -namespace media_kit_private { - -class Decoder -{ -public: - virtual ~Decoder(void); /* this needs to be virtual */ - Decoder(void); - - /* not sure if all three need to be virtual */ - virtual status_t SetTrack(BMediaTrack *track); - /* what does this one do? strange parameters */ - virtual status_t Reset(long, long long, long long *, long long, long long *); - virtual status_t GetNextChunk(void const **chunkData, size_t *chunkSize, - media_header *mh, media_decode_info *mdi); - - virtual status_t Decode(void *out_buffer, int64 *out_frameCount, - media_header *out_mh, media_decode_info *info) = 0; - virtual status_t Format(media_format *) = 0; - virtual status_t Sniff(media_format const *, void const *in_buffer, unsigned long in_buffersize) = 0; - virtual status_t GetCodecInfo(media_codec_info *out_mci) const = 0; - -private: - virtual status_t Perform(long, void *); - //virtual function and data stuffing will be done later -}; - -}; // namespace media_kit_private - - -extern "C" status_t register_decoder(); -extern "C" BPrivate::Decoder * instantiate_decoder(); - diff --git a/headers/private/media/Extractor.h b/headers/private/media/Extractor.h deleted file mode 100644 index 651686b0a8..0000000000 --- a/headers/private/media/Extractor.h +++ /dev/null @@ -1,45 +0,0 @@ - -// this header is similar to functions found in libmedia.so -// and the media_kit extractor add-ons -// we will use it as basic information, but are not trying to -// create a binary compatible interface -// this API will totally change, as we are creating our own API - -namespace media_kit_private { - -class Extractor -{ -public: - Extractor(void); - virtual ~Extractor(void); - - virtual status_t Copyright(void); - virtual status_t Extractor(void); - virtual status_t Perform(long, void *); - virtual status_t SniffFormat(media_format const *, long *, long *); - virtual status_t Source(void) const; - - virtual status_t find_stream_extractor(long *, media_format *, BPrivate::Extractor *, long, long *, long *); - - virtual status_t Sniff(long *, long *) = 0; - virtual status_t GetDuration(long, long long *) = 0; - virtual status_t SplitNext(long, void *, long long *, char *, long *, char **, long *, media_header *) = 0; - virtual status_t Seek(long, void *, long, long, long long *, long long *, long long *, char *, long *, bool *) = 0; - virtual status_t FreeCookie(long, void *) = 0; - virtual status_t AllocateCookie(long, void **) = 0; - virtual status_t CountFrames(long, long long *) = 0; - virtual status_t TrackInfo(long, media_format *, void **, long *) = 0; - virtual status_t GetFileFormatInfo(media_file_format *) = 0; - -private: - virtual status_t Perform(long, void *); - //virtual function and data stuffing will be done later -}; - -}; // namespace media_kit_private - -extern "C" { - status_t instantiate_extractor(); -} - -