idb_kernelc.i

来自「H.264完整的C语言代码和DCT的代码」· I 代码 · 共 5,046 行 · 第 1/5 页

I
5,046
字号


  SchedulerTypeEnum schedulerType;
  
  bool opsLoaded;
  int numOps;
  ImagineDBOp* ops;
  bool minimumAgeEnabled;

  StreamProg() {}
  StreamProg(String _name, void (*_fn)(StreamDispatcher& dis, String args)): 
    name(_name), fn((StreamProgFn)_fn), schedulerType(scdStreamDispatcher), 
    opsLoaded(false), numOps(0), ops(0), minimumAgeEnabled(true)
    { 
      addOrGetStreamProg(this); 
    }

  StreamProg(String _name, void (*_fn)(StreamDispatcherInterface& dis, String args)): 
    name(_name), fn((StreamProgFn)_fn), schedulerType(scdStreamDispatcher), 
    opsLoaded(false), numOps(0), ops(0), minimumAgeEnabled(true)
    { 
      addOrGetStreamProg(this); 
    }

  StreamProg(String _name, void (*_fn)(RunTimeSchedulerInterface& rts, String args)): 
    name(_name), fn((StreamProgFn)_fn), schedulerType(scdRunTimeScheduler),
    opsLoaded(false), numOps(0), ops(0), minimumAgeEnabled(true)
    {
      addOrGetStreamProg(this);
    }







#line 93 "D:/working/tools/isim/isimhostdll2/sc_program.hpp"

};













#line 109 "D:/working/tools/isim/isimhostdll2/sc_program.hpp"

#line 111 "D:/working/tools/isim/isimhostdll2/sc_program.hpp"







#line 38 "D:/working/tools/isim/isimhostdll2/idb_types.hpp"
#line 1 "D:/working/tools/isim\\libapi.hpp"







































































#line 39 "D:/working/tools/isim/isimhostdll2/idb_types.hpp"
#line 1 "D:/working/tools/isim/isimhostdll2/asynch.hpp"







#line 1 "D:/working/tools/isim\\libapi.hpp"







































































#line 9 "D:/working/tools/isim/isimhostdll2/asynch.hpp"




class AsynchProducer;
class AsynchConsumer;

typedef void (*AsynchWaitPtr)(AsynchProducer* producer, 
                              void* waitObj, unsigned int waitID);


class __declspec(dllexport) AsynchProducer

{
private:
  AsynchWaitPtr waitFn;
  void* waitObj;
  unsigned int waitID;

  AsynchConsumer* consumerStart;
#line 30 "D:/working/tools/isim/isimhostdll2/asynch.hpp"

public:



  AsynchProducer();

  ~AsynchProducer();
#line 39 "D:/working/tools/isim/isimhostdll2/asynch.hpp"
  void attach(AsynchWaitPtr _waitFn, void* _waitObj);
  bool isPending();
  void set(const unsigned int& data);

  friend class AsynchConsumer;
};






class __declspec(dllexport) AsynchConsumer

{
private: 
  unsigned int* data;
  unsigned int reps;
  AsynchProducer* producer;
  AsynchConsumer* next;
  void copy(const AsynchConsumer& _sc);
public:
  AsynchConsumer();

  ~AsynchConsumer();
#line 65 "D:/working/tools/isim/isimhostdll2/asynch.hpp"
  AsynchConsumer(AsynchConsumer& _sc);
  AsynchConsumer& operator=(AsynchConsumer& _sc);
  void attach(unsigned int* _data, unsigned int _reps);
  void setPending(AsynchProducer* _producer, unsigned int waitID = 0);
  bool isPending();
  void copy(AsynchConsumer& _sc);
  void reset();
  void wait();
  void set(const unsigned int& _data, AsynchProducer* _producer = 0);

  friend class AsynchProducer;
};

#line 79 "D:/working/tools/isim/isimhostdll2/asynch.hpp"

#line 40 "D:/working/tools/isim/isimhostdll2/idb_types.hpp"
#line 1 "D:/working/tools/isim/isimhostdll2/idb_streamraw.hpp"











#line 1 "D:/working/tools/isim\\libapi.hpp"







































































#line 13 "D:/working/tools/isim/isimhostdll2/idb_streamraw.hpp"
#line 1 "D:/working/tools/isim/isimhostdll2/asynch.hpp"















































































#line 14 "D:/working/tools/isim/isimhostdll2/idb_streamraw.hpp"
#line 1 "D:/working/tools/isim\\string.hpp"





















































































































#line 15 "D:/working/tools/isim/isimhostdll2/idb_streamraw.hpp"
#line 1 "D:/working/tools/isim/isimhostdll2/sc_streamraw.hpp"







#line 1 "D:/working/tools/isim\\libapi.hpp"







































































#line 9 "D:/working/tools/isim/isimhostdll2/sc_streamraw.hpp"
#line 1 "D:/working/tools/isim\\string.hpp"





















































































































#line 10 "D:/working/tools/isim/isimhostdll2/sc_streamraw.hpp"



#line 1 "D:/working/tools/isim\\misc.hpp"









#line 1 "D:/working/tools/isim\\string.hpp"





















































































































#line 11 "D:/working/tools/isim\\misc.hpp"
#line 1 "D:/Progra~1/Micros~2/VC98/Include\\fstream.h"















#pragma once
#line 18 "D:/Progra~1/Micros~2/VC98/Include\\fstream.h"








#line 27 "D:/Progra~1/Micros~2/VC98/Include\\fstream.h"





#pragma pack(push,8)

#line 1 "D:/Progra~1/Micros~2/VC98/Include\\useoldio.h"











































#line 35 "D:/Progra~1/Micros~2/VC98/Include\\fstream.h"

#line 37 "D:/Progra~1/Micros~2/VC98/Include\\fstream.h"
















#pragma warning(disable:4514) 

#line 56 "D:/Progra~1/Micros~2/VC98/Include\\fstream.h"

typedef int filedesc;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?