Пример #1
0
        public H264Decoder(MediaFileInfo fileInput, MediaFileInfo fileOutput)
            : base(fileInput, fileOutput)
        {
            m_DecoderInst = new h264Decoder(FileInput.Path, FileOutput.Path);
            g_MainInstH264.OnEvent += new EventHandler<EltEventArgs>(DecoderH264_OnEvent);

            m_SeqParamSets = new Dictionary<UInt32, IDictionary<UInt32, H264SeqParamSet>>();
            m_PicParamSets = new Dictionary<UInt32/*SeqId*/, H264PicParamSet>();
        }
Пример #2
0
 internal static HandleRef getCPtr(h264Decoder obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Пример #3
0
 internal static HandleRef getCPtr(h264Decoder obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }