home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 275 / DPCS0111DVD.ISO / Toolkit / Audio-Visual / VirtualDub / Source / VirtualDub-1.9.10-src.7z / src / Riza / source / stddefs.fxh < prev    next >
Encoding:
Text File  |  2009-10-24  |  1.7 KB  |  58 lines

  1. //    VirtualDub - Video processing and capture application
  2. //    A/V interface library
  3. //    Copyright (C) 1998-2008 Avery Lee
  4. //
  5. //    This program is free software; you can redistribute it and/or modify
  6. //    it under the terms of the GNU General Public License as published by
  7. //    the Free Software Foundation; either version 2 of the License, or
  8. //    (at your option) any later version.
  9. //
  10. //    This program is distributed in the hope that it will be useful,
  11. //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. //    GNU General Public License for more details.
  14. //
  15. //    You should have received a copy of the GNU General Public License
  16. //    along with this program; if not, write to the Free Software
  17. //    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19. #ifndef STDDEFS_FXH
  20. #define STDDEFS_FXH
  21.  
  22. struct VertexInput {
  23.     float4        pos        : POSITION;
  24.     float2        uv        : TEXCOORD0;
  25.     float2        uv2        : TEXCOORD1;
  26. };
  27.  
  28. float4 vd_vpsize;
  29. float4 vd_cvpsize;
  30. float4 vd_srcsize;
  31. float4 vd_texsize;
  32. float4 vd_tex2size;
  33. float4 vd_tempsize;
  34. float4 vd_temp2size;
  35. float4 vd_interphtexsize;
  36. float4 vd_interpvtexsize;
  37. float4 vd_fieldinfo;
  38.  
  39. texture vd_srctexture;
  40. texture vd_src2atexture;
  41. texture vd_src2btexture;
  42. texture vd_srcpaltexture;
  43. texture vd_temptexture;
  44. texture vd_temp2texture;
  45. texture vd_cubictexture;
  46. texture vd_hevenoddtexture;
  47. texture vd_dithertexture;
  48. texture vd_interphtexture;
  49. texture vd_interpvtexture;
  50.  
  51. extern sampler samp0 : register(s0);
  52. extern sampler samp1 : register(s1);
  53. extern sampler samp2 : register(s2);
  54. extern sampler samp3 : register(s3);
  55. extern sampler samp4 : register(s4);
  56.  
  57. #endif
  58.