1 /*************************************************************************** 2 ADM_vs 3 ------------------- 4 begin : Mon Jun 3 2002 5 copyright : (C) 2002 by mean 6 email : fixounet@free.fr 7 ***************************************************************************/ 8 9 /*************************************************************************** 10 * * 11 * This program is free software; you can redistribute it and/or modify * 12 * it under the terms of the GNU General Public License as published by * 13 * the Free Software Foundation; either version 2 of the License, or * 14 * (at your option) any later version. * 15 * * 16 ***************************************************************************/ 17 #pragma once 18 19 20 #include "VSScript.h" 21 #include "VSHelper.h" 22 #include "ADM_coreAvsProtocol.h" 23 24 /** 25 \Class vsHeader 26 \brief Flash demuxer 27 28 */ 29 class vapourSynthProxy 30 { 31 public: 32 vapourSynthProxy(); 33 ~vapourSynthProxy(); 34 bool run(int port, const char *name); 35 protected: 36 37 uint8_t *_buffer; 38 39 protected: 40 VSScript *_script; 41 int _outputIndex; 42 VSNodeRef *_node; 43 avsyInfo _info; 44 bool manageSlave(avsSocket *slave,const VSVideoInfo *vi); 45 bool packFrame( const VSVideoInfo *vi,const VSFrameRef *frame); 46 bool fillInfo( const VSVideoInfo *vi); 47 void abort(void); 48 }; 49 50 51