示例#1
0
 public Packet(MemoryStream data, long pts, long timescale, long duration, long frameNo, bool keyFrame,
               TapeTimecode tapeTimecode, int displayOrder)
 {
     this.data         = data;
     this.pts          = pts;
     this.timescale    = timescale;
     this.duration     = duration;
     this.frameNo      = frameNo;
     this.keyFrame     = keyFrame;
     this.tapeTimecode = tapeTimecode;
     this.displayOrder = displayOrder;
 }
示例#2
0
 public void setTapeTimecode(TapeTimecode tapeTimecode)
 {
     this.tapeTimecode = tapeTimecode;
 }
示例#3
0
 public Packet(MemoryStream data, long pts, long timescale, long duration, long frameNo, bool keyFrame,
               TapeTimecode tapeTimecode) : this(data, pts, timescale, duration, frameNo, keyFrame, tapeTimecode, 0)
 {
 }
示例#4
0
 public Packet(Packet other, TapeTimecode timecode) : this(other.data, other.pts, other.timescale, other.duration, other.frameNo, other.keyFrame, timecode)
 {
     this.displayOrder = other.displayOrder;
 }
示例#5
0
 public GOPHeader(TapeTimecode timeCode, bool closedGop, bool brokenLink)
 {
     this.timeCode   = timeCode;
     this.closedGop  = closedGop;
     this.brokenLink = brokenLink;
 }