Mercurial > mplayer.hg
changeset 31390:1edec80a4ad7
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.
author | diego |
---|---|
date | Thu, 17 Jun 2010 10:17:37 +0000 |
parents | 1d9bda52a78b |
children | 6e2c9a628fba |
files | loader/module.c loader/qt_comp.h loader/qt_comp_template.c |
diffstat | 3 files changed, 29 insertions(+), 34 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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 */
--- /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)