Subversion Repositories pentevo

Rev

Rev 883 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed | ?url?

  1. #pragma once
  2.  
  3. #define VS_MAX_FFPATH 256               //ffmpeg path and name length
  4. #define VS_MAX_FFPARM 1024              //ffmpeg parameters length
  5. #define VS_MAX_FFVOUT 512               //ffmpeg out video name length
  6.  
  7. //named pipe settings
  8. #define PIPENAME "\\\\.\\pipe\\us_video"
  9. #define PIPESIZE 1024000
  10.  
  11. extern int videosaver_state;    //0-not saving, 1-saving
  12.  
  13. //Video Saver Settings
  14. struct TSVSet
  15. {
  16.     unsigned        xsz,ysz,    //W,H in pix
  17.                     fps,        //fps
  18.                     sndfq,      //sample rate
  19.                     dx,         //size of line in source buffer
  20.                     dsll;               //size of line in RGB24 buffer (padded to 32 bit)
  21.     unsigned char   *scrbuf,    //aligned buffer for render
  22.                     *scrbuf_unaligned, //allocated buffer for render
  23.                     snden;      //sound enabled flag (max speed toggle)
  24.     u8              *ds;                //output RGB24 buffer
  25. };
  26.  
  27. extern TSVSet SVSet;
  28.  
  29. void main_savevideo();
  30. void savevideo_gfx();
  31. void savevideo_snd();
  32.