From 9fa2cd5c82569511dfdbb8350d056a1592238ed9 Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 17 Jun 2010 10:17:37 +0000 Subject: loader: Rename loader/qt_comp.h --> loader/qt_comp_template.c It is not a header file but rather a template that is #included multiple times with different DECL_COMPONENT macro definitions. All other similar files follow the _template.c suffix naming scheme. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31456 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/module.c | 4 ++-- loader/qt_comp.h | 32 -------------------------------- loader/qt_comp_template.c | 27 +++++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 34 deletions(-) delete mode 100644 loader/qt_comp.h create mode 100644 loader/qt_comp_template.c (limited to 'loader') diff --git a/loader/module.c b/loader/module.c index 4a292ce0ac..6f3f0c3de9 100644 --- a/loader/module.c +++ b/loader/module.c @@ -701,7 +701,7 @@ static int dump_component(char* name, int type, void* orig, ComponentParameters return dump_component(name,type,real_ ## sname, params, glob); \ } -#include "qt_comp.h" +#include "qt_comp_template.c" #undef DECL_COMPONENT @@ -1042,7 +1042,7 @@ FARPROC MODULE_GetProcAddress( fprintf(stderr,name "dispatcher catched -> %p\n",retproc); \ real_ ## sname = retproc; retproc = fake_ ## sname; \ } -#include "qt_comp.h" +#include "qt_comp_template.c" #undef DECL_COMPONENT #endif diff --git a/loader/qt_comp.h b/loader/qt_comp.h deleted file mode 100644 index 9da5c35e33..0000000000 --- a/loader/qt_comp.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef MPLAYER_QT_COMP_H -#define MPLAYER_QT_COMP_H - -DECL_COMPONENT(sorenson3,"SMD_ComponentDispatch",1) -DECL_COMPONENT(sorenson,"SorensonYUV9Dispatcher",1) -DECL_COMPONENT(sorenson1,"SVD_ComponentDispatch",1) -DECL_COMPONENT(genericd,"GenericComponentDispatch",0) -DECL_COMPONENT(stmedia,"STMediaComponentDispatch",0) -DECL_COMPONENT(handlecd,"HandleComponentDispatch",0) -DECL_COMPONENT(pcxcd,"PCExchangeComponentDispatch",0) -DECL_COMPONENT(capcd,"CapComponentDispatch",0) -DECL_COMPONENT(videocd,"VideoComponentDispatch",0) -DECL_COMPONENT(soundcd,"SoundComponentDispatch",0) -DECL_COMPONENT(scalingcd,"ScalingCodecDispatcher",0) -DECL_COMPONENT(formatcnv,"FormatConverterDispatch",0) - -DECL_COMPONENT(basecd,"Base_CDComponentDispatch",1) -DECL_COMPONENT(ddcd,"DD_CDComponentDispatch",0) -DECL_COMPONENT(fakergb,"FakeRGBDispatcher",0) -DECL_COMPONENT(rawcd,"RAW_CDComponentDispatch",0) -DECL_COMPONENT(yuvsgi,"YUVSGI_CDComponentDispatch",0) -DECL_COMPONENT(yuvs,"YUVS_CDComponentDispatch",0) -DECL_COMPONENT(yuvu,"YUVU_CDComponentDispatch",0) - -DECL_COMPONENT(qdm2d,"QDM2Decompressor",0) -DECL_COMPONENT(mace3d,"Mace3DecompDispatch",0) - -DECL_COMPONENT(prores,"IcpDecompressorComponentDispatch",0) - -//DECL_COMPONENT(,"",0) - -#endif /* MPLAYER_QT_COMP_H */ diff --git a/loader/qt_comp_template.c b/loader/qt_comp_template.c new file mode 100644 index 0000000000..3debfa03d7 --- /dev/null +++ b/loader/qt_comp_template.c @@ -0,0 +1,27 @@ +DECL_COMPONENT(sorenson3,"SMD_ComponentDispatch",1) +DECL_COMPONENT(sorenson,"SorensonYUV9Dispatcher",1) +DECL_COMPONENT(sorenson1,"SVD_ComponentDispatch",1) +DECL_COMPONENT(genericd,"GenericComponentDispatch",0) +DECL_COMPONENT(stmedia,"STMediaComponentDispatch",0) +DECL_COMPONENT(handlecd,"HandleComponentDispatch",0) +DECL_COMPONENT(pcxcd,"PCExchangeComponentDispatch",0) +DECL_COMPONENT(capcd,"CapComponentDispatch",0) +DECL_COMPONENT(videocd,"VideoComponentDispatch",0) +DECL_COMPONENT(soundcd,"SoundComponentDispatch",0) +DECL_COMPONENT(scalingcd,"ScalingCodecDispatcher",0) +DECL_COMPONENT(formatcnv,"FormatConverterDispatch",0) + +DECL_COMPONENT(basecd,"Base_CDComponentDispatch",1) +DECL_COMPONENT(ddcd,"DD_CDComponentDispatch",0) +DECL_COMPONENT(fakergb,"FakeRGBDispatcher",0) +DECL_COMPONENT(rawcd,"RAW_CDComponentDispatch",0) +DECL_COMPONENT(yuvsgi,"YUVSGI_CDComponentDispatch",0) +DECL_COMPONENT(yuvs,"YUVS_CDComponentDispatch",0) +DECL_COMPONENT(yuvu,"YUVU_CDComponentDispatch",0) + +DECL_COMPONENT(qdm2d,"QDM2Decompressor",0) +DECL_COMPONENT(mace3d,"Mace3DecompDispatch",0) + +DECL_COMPONENT(prores,"IcpDecompressorComponentDispatch",0) + +//DECL_COMPONENT(,"",0) -- cgit v1.2.3