# HG changeset patch # User diego # Date 1276769857 0 # Node ID 1edec80a4ad708f397ee0b341cd1c9750f297b90 # Parent 1d9bda52a78b816c7abe3131ef1379e869c28a84 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. diff -r 1d9bda52a78b -r 1edec80a4ad7 loader/module.c --- a/loader/module.c Thu Jun 17 10:10:00 2010 +0000 +++ b/loader/module.c Thu Jun 17 10:17:37 2010 +0000 @@ -701,7 +701,7 @@ 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 @@ 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 -r 1d9bda52a78b -r 1edec80a4ad7 loader/qt_comp.h --- a/loader/qt_comp.h Thu Jun 17 10:10:00 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -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 -r 1d9bda52a78b -r 1edec80a4ad7 loader/qt_comp_template.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/loader/qt_comp_template.c Thu Jun 17 10:17:37 2010 +0000 @@ -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)