Exemplo n.º 1
0
 public void Encode(byte[] inputFrameData)
 {
     currentInputFrame.CopyData(inputFrameData);
     currentPicture = new Frame(this, pictureIndex, lastIdr);
     currentPicture.Encode(currentInputFrame, currentOutputFrame);
     pictureIndex++;
 }
Exemplo n.º 2
0
 //private int sliceNr;
 public Slice(Picture picture, SliceType sliceType)
 {
     this.picture = picture;
     macroblocks = new List<Macroblock>();
     this.sliceType = sliceType;
 }