Пример #1
0
        public object Clone()
        {
            VideoSequenceItem frame = new VideoSequenceItem();
            frame.Target = (PlanarImage)this.Target.Clone();
            frame.ShouldContinueProcessing = this.ShouldContinueProcessing;

            return frame;
        }
Пример #2
0
 public static VideoSequenceItem FromPlanarFrame(PlanarFrame data, BitmapFormat format)
 {
     VideoSequenceItem frame = new VideoSequenceItem();
     frame.Target = new PlanarImage(format.Width, format.Height, GetYuvType(format.ChromaType), data.Planes);
     return frame;
 }