Beispiel #1
0
		public override Kean.Draw.Image Shift(Kean.Math.Geometry2D.Integer.Size offset)
		{
			Yvu420 result;
			Monochrome y = this.Y.Shift(offset) as Monochrome;
			Monochrome u = this.U.Shift(offset / 2) as Monochrome;
			Monochrome v = this.V.Shift(offset / 2) as Monochrome;
			result = new Yvu420(this.Size);
			result.Buffer.CopyFrom(y.Buffer, 0, 0, y.Length);
			result.Buffer.CopyFrom(v.Buffer, 0, y.Length, v.Length);
			result.Buffer.CopyFrom(u.Buffer, 0, y.Length + v.Length, u.Length);
			return result;
		}
Beispiel #2
0
		protected Yvu420(Yvu420 original) :
			base(original) { }