Codec Kit: Rename files
This commit is contained in:
@@ -7,9 +7,9 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <MediaDefs.h>
|
#include <MediaDefs.h>
|
||||||
#include <ReaderPlugin.h>
|
#include <Reader.h>
|
||||||
#include <StreamerPlugin.h>
|
#include <Streamer.h>
|
||||||
#include <WriterPlugin.h>
|
#include <Writer.h>
|
||||||
|
|
||||||
|
|
||||||
namespace BPrivate {
|
namespace BPrivate {
|
||||||
|
|||||||
@@ -10,8 +10,8 @@
|
|||||||
#define _MEDIA_EXTRACTOR_H
|
#define _MEDIA_EXTRACTOR_H
|
||||||
|
|
||||||
|
|
||||||
#include "ReaderPlugin.h"
|
#include <Decoder.h>
|
||||||
#include "DecoderPlugin.h"
|
#include <Reader.h>
|
||||||
|
|
||||||
|
|
||||||
namespace BPrivate {
|
namespace BPrivate {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
#include <Url.h>
|
#include <Url.h>
|
||||||
|
|
||||||
#include "StreamerPlugin.h"
|
#include "Streamer.h"
|
||||||
|
|
||||||
|
|
||||||
namespace BPrivate {
|
namespace BPrivate {
|
||||||
|
|||||||
@@ -5,11 +5,11 @@
|
|||||||
#ifndef _MEDIA_WRITER_H
|
#ifndef _MEDIA_WRITER_H
|
||||||
#define _MEDIA_WRITER_H
|
#define _MEDIA_WRITER_H
|
||||||
|
|
||||||
|
#include <Encoder.h>
|
||||||
#include <MetaData.h>
|
#include <MetaData.h>
|
||||||
|
#include <Writer.h>
|
||||||
|
|
||||||
#include "EncoderPlugin.h"
|
|
||||||
#include "TList.h"
|
#include "TList.h"
|
||||||
#include "WriterPlugin.h"
|
|
||||||
|
|
||||||
|
|
||||||
namespace BPrivate {
|
namespace BPrivate {
|
||||||
|
|||||||
@@ -16,14 +16,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "DataExchange.h"
|
#include <Decoder.h>
|
||||||
#include "TList.h"
|
#include <Entry.h>
|
||||||
|
#include <Encoder.h>
|
||||||
|
#include <Reader.h>
|
||||||
|
#include <Streamer.h>
|
||||||
|
#include <Writer.h>
|
||||||
|
|
||||||
#include "DecoderPlugin.h"
|
#include "TList.h"
|
||||||
#include "EncoderPlugin.h"
|
|
||||||
#include "ReaderPlugin.h"
|
|
||||||
#include "StreamerPlugin.h"
|
|
||||||
#include "WriterPlugin.h"
|
|
||||||
|
|
||||||
|
|
||||||
namespace BPrivate {
|
namespace BPrivate {
|
||||||
|
|||||||
@@ -10,15 +10,14 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include <Decoder.h>
|
||||||
#include "DecoderPlugin.h"
|
#include <Encoder.h>
|
||||||
#include "EncoderPlugin.h"
|
|
||||||
#include "ReaderPlugin.h"
|
|
||||||
#include "StreamerPlugin.h"
|
|
||||||
#include "WriterPlugin.h"
|
|
||||||
|
|
||||||
#include <TList.h>
|
|
||||||
#include <Locker.h>
|
#include <Locker.h>
|
||||||
|
#include <Reader.h>
|
||||||
|
#include <Streamer.h>
|
||||||
|
#include <Writer.h>
|
||||||
|
|
||||||
|
#include "TList.h"
|
||||||
|
|
||||||
|
|
||||||
namespace BPrivate { namespace media {
|
namespace BPrivate { namespace media {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
#include "MonkeysAudioMIMEType.h"
|
#include "MonkeysAudioMIMEType.h"
|
||||||
#include "PositionBridgeIO.h"
|
#include "PositionBridgeIO.h"
|
||||||
|
|
||||||
#include "ReaderPlugin.h" // Haiku private header
|
#include "Reader.h" // Haiku private header
|
||||||
|
|
||||||
|
|
||||||
const int32 BLOCK_COUNT = 1024*4; // number of blocks, get from MACLib at once
|
const int32 BLOCK_COUNT = 1024*4; // number of blocks, get from MACLib at once
|
||||||
|
|||||||
@@ -13,8 +13,9 @@
|
|||||||
|
|
||||||
//! libavcodec based decoder for Haiku
|
//! libavcodec based decoder for Haiku
|
||||||
|
|
||||||
|
#include <Decoder.h>
|
||||||
#include <MediaFormats.h>
|
#include <MediaFormats.h>
|
||||||
|
#include <Reader.h>
|
||||||
|
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@@ -28,10 +29,6 @@ extern "C" {
|
|||||||
#include "timestamp.h"
|
#include "timestamp.h"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#include "DecoderPlugin.h"
|
|
||||||
#include "ReaderPlugin.h"
|
|
||||||
|
|
||||||
#include "CodecTable.h"
|
#include "CodecTable.h"
|
||||||
#include "gfx_util.h"
|
#include "gfx_util.h"
|
||||||
|
|
||||||
|
|||||||
@@ -6,16 +6,16 @@
|
|||||||
#define AVCODEC_ENCODER_H
|
#define AVCODEC_ENCODER_H
|
||||||
|
|
||||||
|
|
||||||
|
#include <Encoder.h>
|
||||||
#include <MediaFormats.h>
|
#include <MediaFormats.h>
|
||||||
|
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "swscale.h"
|
#include "swscale.h"
|
||||||
#include "libavutil/fifo.h"
|
#include "libavutil/fifo.h"
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "EncoderPlugin.h"
|
|
||||||
|
|
||||||
|
|
||||||
typedef AVCodecID CodecID;
|
typedef AVCodecID CodecID;
|
||||||
|
|
||||||
|
|||||||
@@ -6,11 +6,10 @@
|
|||||||
#define AV_FORMAT_READER_H
|
#define AV_FORMAT_READER_H
|
||||||
|
|
||||||
|
|
||||||
|
#include <Reader.h>
|
||||||
#include <Locker.h>
|
#include <Locker.h>
|
||||||
#include <String.h>
|
#include <String.h>
|
||||||
|
|
||||||
#include "ReaderPlugin.h"
|
|
||||||
|
|
||||||
|
|
||||||
class AVFormatReader : public Reader {
|
class AVFormatReader : public Reader {
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -6,9 +6,9 @@
|
|||||||
#define AV_FORMAT_WRITER_H
|
#define AV_FORMAT_WRITER_H
|
||||||
|
|
||||||
|
|
||||||
|
#include <Writer.h>
|
||||||
#include <Locker.h>
|
#include <Locker.h>
|
||||||
|
|
||||||
#include "WriterPlugin.h"
|
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "avformat.h"
|
#include "avformat.h"
|
||||||
|
|||||||
@@ -12,10 +12,10 @@
|
|||||||
|
|
||||||
#include <MediaFormats.h>
|
#include <MediaFormats.h>
|
||||||
|
|
||||||
#include "DecoderPlugin.h"
|
#include <Decoder.h>
|
||||||
#include "EncoderPlugin.h"
|
#include <Encoder.h>
|
||||||
#include "ReaderPlugin.h"
|
#include <Reader.h>
|
||||||
#include "WriterPlugin.h"
|
#include <Writer.h>
|
||||||
|
|
||||||
|
|
||||||
class FFmpegPlugin : public ReaderPlugin, public DecoderPlugin,
|
class FFmpegPlugin : public ReaderPlugin, public DecoderPlugin,
|
||||||
|
|||||||
@@ -8,12 +8,11 @@
|
|||||||
|
|
||||||
#include <Locker.h>
|
#include <Locker.h>
|
||||||
#include <MediaDefs.h>
|
#include <MediaDefs.h>
|
||||||
|
#include <Reader.h>
|
||||||
#include <RealtimeAlloc.h>
|
#include <RealtimeAlloc.h>
|
||||||
#include <queue>
|
#include <queue>
|
||||||
#include <deque>
|
#include <deque>
|
||||||
|
|
||||||
#include "ReaderPlugin.h"
|
|
||||||
|
|
||||||
|
|
||||||
namespace BPrivate {
|
namespace BPrivate {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|||||||
@@ -4,13 +4,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "DecoderPlugin.h"
|
#include <Decoder.h>
|
||||||
|
|
||||||
|
#include <MediaFormats.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <MediaFormats.h>
|
|
||||||
|
|
||||||
|
|
||||||
Decoder::Decoder()
|
Decoder::Decoder()
|
||||||
:
|
:
|
||||||
@@ -5,13 +5,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "EncoderPlugin.h"
|
#include <Encoder.h>
|
||||||
|
|
||||||
|
#include <MediaFormats.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <MediaFormats.h>
|
|
||||||
|
|
||||||
|
|
||||||
Encoder::Encoder()
|
Encoder::Encoder()
|
||||||
:
|
:
|
||||||
+11
-10
@@ -10,6 +10,7 @@ local architectureObject ;
|
|||||||
for architectureObject in [ MultiArchSubDirSetup ] {
|
for architectureObject in [ MultiArchSubDirSetup ] {
|
||||||
on $(architectureObject) {
|
on $(architectureObject) {
|
||||||
|
|
||||||
|
# This will be removed someday
|
||||||
SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits media ] ;
|
SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits media ] ;
|
||||||
|
|
||||||
SharedLibrary [ MultiArchDefaultGristFiles libcodec.so ] :
|
SharedLibrary [ MultiArchDefaultGristFiles libcodec.so ] :
|
||||||
@@ -20,23 +21,23 @@ for architectureObject in [ MultiArchSubDirSetup ] {
|
|||||||
# Support API
|
# Support API
|
||||||
MetaData.cpp
|
MetaData.cpp
|
||||||
CodecRoster.cpp
|
CodecRoster.cpp
|
||||||
|
|
||||||
# Codec Plugin API
|
|
||||||
ChunkCache.cpp
|
|
||||||
DecoderPlugin.cpp
|
|
||||||
EncoderPlugin.cpp
|
|
||||||
MediaExtractor.cpp
|
MediaExtractor.cpp
|
||||||
MediaPlugin.cpp
|
|
||||||
MediaStreamer.cpp
|
MediaStreamer.cpp
|
||||||
MediaWriter.cpp
|
MediaWriter.cpp
|
||||||
PluginManager.cpp
|
|
||||||
ReaderPlugin.cpp
|
# Codec Plugin API
|
||||||
StreamerPlugin.cpp
|
MediaPlugin.cpp
|
||||||
WriterPlugin.cpp
|
Decoder.cpp
|
||||||
|
Encoder.cpp
|
||||||
|
Reader.cpp
|
||||||
|
Streamer.cpp
|
||||||
|
Writer.cpp
|
||||||
|
|
||||||
# Internal Functionality
|
# Internal Functionality
|
||||||
|
ChunkCache.cpp
|
||||||
AddOnManager.cpp
|
AddOnManager.cpp
|
||||||
FormatManager.cpp
|
FormatManager.cpp
|
||||||
|
PluginManager.cpp
|
||||||
|
|
||||||
# We need this to do not depend on libmedia
|
# We need this to do not depend on libmedia
|
||||||
# will be removed when libmedia2 is introduced
|
# will be removed when libmedia2 is introduced
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "ReaderPlugin.h"
|
#include <Reader.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "StreamerPlugin.h"
|
#include <Streamer.h>
|
||||||
|
|
||||||
|
|
||||||
Streamer::Streamer()
|
Streamer::Streamer()
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "WriterPlugin.h"
|
#include <Writer.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
* DESCR:
|
* DESCR:
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
#include <MediaDecoder.h>
|
#include <MediaDecoder.h>
|
||||||
#include <DecoderPlugin.h>
|
#include <Decoder.h>
|
||||||
#include <new>
|
#include <new>
|
||||||
#include "PluginManager.h"
|
#include "PluginManager.h"
|
||||||
#include "MediaDebug.h"
|
#include "MediaDebug.h"
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
#include <MediaEncoder.h>
|
#include <MediaEncoder.h>
|
||||||
|
|
||||||
#include <EncoderPlugin.h>
|
#include <Encoder.h>
|
||||||
#include <PluginManager.h>
|
#include <PluginManager.h>
|
||||||
|
|
||||||
#include <new>
|
#include <new>
|
||||||
|
|||||||
Reference in New Issue
Block a user