Browse Source

Update copyright and namespace on TT

pull/299/head
JimBobSquarePants 9 years ago
parent
commit
76c07e616b
  1. 8
      src/ImageSharp/Formats/Jpeg/Common/Block8x8F.Generated.cs
  2. 19
      src/ImageSharp/Formats/Jpeg/Common/Block8x8F.Generated.tt
  3. 6
      src/ImageSharp/PixelFormats/Generated/PixelOperations{TPixel}.Generated.cs
  4. 12
      src/ImageSharp/PixelFormats/Generated/PixelOperations{TPixel}.Generated.tt
  5. 12
      src/ImageSharp/PixelFormats/Generated/Rgba32.PixelOperations.Generated.cs
  6. 18
      src/ImageSharp/PixelFormats/Generated/Rgba32.PixelOperations.Generated.tt
  7. 6
      src/ImageSharp/PixelFormats/PixelBlenders/DefaultPixelBlenders.Generated.cs
  8. 10
      src/ImageSharp/PixelFormats/PixelBlenders/DefaultPixelBlenders.Generated.tt
  9. 6
      src/ImageSharp/PixelFormats/PixelBlenders/PorterDuffFunctions.Generated.cs
  10. 11
      src/ImageSharp/PixelFormats/PixelBlenders/PorterDuffFunctions.Generated.tt

8
src/ImageSharp/Formats/Jpeg/Common/Block8x8F.Generated.cs

@ -1,14 +1,12 @@
// Copyright (c) Six Labors and contributors. // Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0. // Licensed under the Apache License, Version 2.0.
// ReSharper disable InconsistentNaming
// <auto-generated />
#pragma warning disable
namespace SixLabors.ImageSharp.Formats.Jpeg.Common
{
using System.Numerics; using System.Numerics;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
// <auto-generated />
namespace SixLabors.ImageSharp.Formats.Jpeg.Common
{
internal partial struct Block8x8F internal partial struct Block8x8F
{ {
private static readonly Vector4 CMin4 = new Vector4(0F); private static readonly Vector4 CMin4 = new Vector4(0F);

19
src/ImageSharp/Formats/Jpeg/Common/Block8x8F.Generated.tt

@ -1,24 +1,25 @@
// <copyright file="Block8x8F.cs" company="James Jackson-South"> <#
// Copyright (c) James Jackson-South and contributors. // Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0. // Licensed under the Apache License, Version 2.0.
// </copyright> #>
// ReSharper disable InconsistentNaming
<#@ template debug="false" hostspecific="false" language="C#" #> <#@ template debug="false" hostspecific="false" language="C#" #>
<#@ assembly name="System.Core" #> <#@ assembly name="System.Core" #>
<#@ import namespace="System.Linq" #> <#@ import namespace="System.Linq" #>
<#@ import namespace="System.Text" #> <#@ import namespace="System.Text" #>
<#@ import namespace="System.Collections.Generic" #> <#@ import namespace="System.Collections.Generic" #>
<#@ output extension=".cs" #> <#@ output extension=".cs" #>
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System.Numerics;
using System.Runtime.CompilerServices;
// <auto-generated /> // <auto-generated />
#pragma warning disable
<# <#
char[] coordz = {'X', 'Y', 'Z', 'W'}; char[] coordz = {'X', 'Y', 'Z', 'W'};
#> #>
namespace ImageSharp.Formats.Jpeg.Common namespace SixLabors.ImageSharp.Formats.Jpeg.Common
{ {
using System.Numerics;
using System.Runtime.CompilerServices;
internal partial struct Block8x8F internal partial struct Block8x8F
{ {
private static readonly Vector4 CMin4 = new Vector4(0F); private static readonly Vector4 CMin4 = new Vector4(0F);

6
src/ImageSharp/PixelFormats/Generated/PixelOperations{TPixel}.Generated.cs

@ -1,8 +1,7 @@
// <auto-generated /> // Copyright (c) Six Labors and contributors.
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0. // Licensed under the Apache License, Version 2.0.
// <auto-generated />
namespace SixLabors.ImageSharp.PixelFormats namespace SixLabors.ImageSharp.PixelFormats
{ {
using System; using System;
@ -10,6 +9,7 @@ namespace SixLabors.ImageSharp.PixelFormats
public partial class PixelOperations<TPixel> public partial class PixelOperations<TPixel>
{ {
/// <summary> /// <summary>
/// Converts 'count' elements in 'source` span of <see cref="Rgba32"/> data to a span of <typeparamref name="TPixel"/>-s. /// Converts 'count' elements in 'source` span of <see cref="Rgba32"/> data to a span of <typeparamref name="TPixel"/>-s.
/// </summary> /// </summary>

12
src/ImageSharp/PixelFormats/Generated/PixelOperations{TPixel}.Generated.tt

@ -1,8 +1,6 @@
<# <#
// <copyright file="PixelOperations{TPixel}.Generated.tt" company="James Jackson-South"> // Copyright (c) Six Labors and contributors.
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0. // Licensed under the Apache License, Version 2.0.
// </copyright>
#> #>
<#@ template debug="false" hostspecific="false" language="C#" #> <#@ template debug="false" hostspecific="false" language="C#" #>
<#@ assembly name="System.Core" #> <#@ assembly name="System.Core" #>
@ -95,17 +93,13 @@
} }
#> #>
// <auto-generated /> // Copyright (c) Six Labors and contributors.
// <copyright file="PixelOperations{TPixel}.Generated.cs" company="James Jackson-South">
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0. // Licensed under the Apache License, Version 2.0.
// </copyright>
// <auto-generated />
namespace SixLabors.ImageSharp.PixelFormats namespace SixLabors.ImageSharp.PixelFormats
{ {
using System; using System;
using System.Numerics;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
public partial class PixelOperations<TPixel> public partial class PixelOperations<TPixel>

12
src/ImageSharp/PixelFormats/Generated/Rgba32.PixelOperations.Generated.cs

@ -1,12 +1,12 @@
// <auto-generated /> // Copyright (c) Six Labors and contributors.
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0. // Licensed under the Apache License, Version 2.0.
// <auto-generated />
namespace SixLabors.ImageSharp namespace SixLabors.ImageSharp
{ {
using System; using System;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.PixelFormats;
/// <content> /// <content>
@ -33,7 +33,6 @@ namespace SixLabors.ImageSharp
} }
} }
/// <inheritdoc /> /// <inheritdoc />
internal override void ToRgb24(Span<Rgba32> sourcePixels, Span<Rgb24> dest, int count) internal override void ToRgb24(Span<Rgba32> sourcePixels, Span<Rgb24> dest, int count)
{ {
@ -50,7 +49,6 @@ namespace SixLabors.ImageSharp
} }
} }
/// <inheritdoc /> /// <inheritdoc />
internal override void PackFromBgr24(Span<Bgr24> source, Span<Rgba32> destPixels, int count) internal override void PackFromBgr24(Span<Bgr24> source, Span<Rgba32> destPixels, int count)
{ {
@ -67,7 +65,6 @@ namespace SixLabors.ImageSharp
} }
} }
/// <inheritdoc /> /// <inheritdoc />
internal override void ToBgr24(Span<Rgba32> sourcePixels, Span<Bgr24> dest, int count) internal override void ToBgr24(Span<Rgba32> sourcePixels, Span<Bgr24> dest, int count)
{ {
@ -84,7 +81,6 @@ namespace SixLabors.ImageSharp
} }
} }
/// <inheritdoc /> /// <inheritdoc />
internal override void PackFromBgra32(Span<Bgra32> source, Span<Rgba32> destPixels, int count) internal override void PackFromBgra32(Span<Bgra32> source, Span<Rgba32> destPixels, int count)
{ {
@ -101,7 +97,6 @@ namespace SixLabors.ImageSharp
} }
} }
/// <inheritdoc /> /// <inheritdoc />
internal override void ToBgra32(Span<Rgba32> sourcePixels, Span<Bgra32> dest, int count) internal override void ToBgra32(Span<Rgba32> sourcePixels, Span<Bgra32> dest, int count)
{ {
@ -118,7 +113,6 @@ namespace SixLabors.ImageSharp
} }
} }
} }
} }
} }

18
src/ImageSharp/PixelFormats/Generated/Rgba32.PixelOperations.Generated.tt

@ -1,8 +1,6 @@
<# <#
// <copyright file="Rgba32.PixelOperations.Generated.tt" company="James Jackson-South"> // Copyright (c) Six Labors and contributors.
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0. // Licensed under the Apache License, Version 2.0.
// </copyright>
#> #>
<#@ template debug="false" hostspecific="false" language="C#" #> <#@ template debug="false" hostspecific="false" language="C#" #>
<#@ assembly name="System.Core" #> <#@ assembly name="System.Core" #>
@ -11,7 +9,6 @@
<#@ import namespace="System.Collections.Generic" #> <#@ import namespace="System.Collections.Generic" #>
<#@ output extension=".cs" #> <#@ output extension=".cs" #>
<# <#
void GeneratePackFromMethod(string pixelType, string converterCode) void GeneratePackFromMethod(string pixelType, string converterCode)
{ {
#> #>
@ -31,7 +28,6 @@
<#=converterCode#> <#=converterCode#>
} }
} }
<# <#
} }
@ -54,26 +50,18 @@
<#=converterCode#> <#=converterCode#>
} }
} }
<# <#
} }
#> #>
// <auto-generated /> // Copyright (c) Six Labors and contributors.
// <copyright file="PixelOperations{TPixel}.Generated.cs" company="James Jackson-South">
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0. // Licensed under the Apache License, Version 2.0.
// </copyright>
// <auto-generated />
namespace SixLabors.ImageSharp namespace SixLabors.ImageSharp
{ {
using System; using System;
using System.Numerics;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.PixelFormats;
/// <content> /// <content>

6
src/ImageSharp/PixelFormats/PixelBlenders/DefaultPixelBlenders.Generated.cs

@ -1,8 +1,7 @@
// <autogenerated /> // Copyright (c) Six Labors and contributors.
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0. // Licensed under the Apache License, Version 2.0.
// <auto-generated />
namespace SixLabors.ImageSharp.PixelFormats.PixelBlenders namespace SixLabors.ImageSharp.PixelFormats.PixelBlenders
{ {
using System; using System;
@ -24,6 +23,7 @@ namespace SixLabors.ImageSharp.PixelFormats.PixelBlenders
internal static class DefaultPixelBlenders<TPixel> internal static class DefaultPixelBlenders<TPixel>
where TPixel : struct, IPixel<TPixel> where TPixel : struct, IPixel<TPixel>
{ {
internal class Normal : PixelBlender<TPixel> internal class Normal : PixelBlender<TPixel>
{ {

10
src/ImageSharp/PixelFormats/PixelBlenders/DefaultPixelBlenders.Generated.tt

@ -1,8 +1,6 @@
<# <#
// <copyright file="DefaultPixelBlenders.Generated.tt" company="James Jackson-South"> // Copyright (c) Six Labors and contributors.
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0. // Licensed under the Apache License, Version 2.0.
// </copyright>
#> #>
<#@ template debug="false" hostspecific="false" language="C#" #> <#@ template debug="false" hostspecific="false" language="C#" #>
<#@ assembly name="System.Core" #> <#@ assembly name="System.Core" #>
@ -10,12 +8,10 @@
<#@ import namespace="System.Text" #> <#@ import namespace="System.Text" #>
<#@ import namespace="System.Collections.Generic" #> <#@ import namespace="System.Collections.Generic" #>
<#@ output extension=".cs" #> <#@ output extension=".cs" #>
// <autogenerated /> // Copyright (c) Six Labors and contributors.
// <copyright file="PorterDuffFunctions.Generated.cs" company="James Jackson-South">
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0. // Licensed under the Apache License, Version 2.0.
// </copyright>
// <auto-generated />
namespace SixLabors.ImageSharp.PixelFormats.PixelBlenders namespace SixLabors.ImageSharp.PixelFormats.PixelBlenders
{ {
using System; using System;

6
src/ImageSharp/PixelFormats/PixelBlenders/PorterDuffFunctions.Generated.cs

@ -1,14 +1,12 @@
// <autogenerated /> // Copyright (c) Six Labors and contributors.
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0. // Licensed under the Apache License, Version 2.0.
// <auto-generated />
namespace SixLabors.ImageSharp.PixelFormats.PixelBlenders namespace SixLabors.ImageSharp.PixelFormats.PixelBlenders
{ {
using System.Numerics; using System.Numerics;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
internal static partial class PorterDuffFunctions internal static partial class PorterDuffFunctions
{ {
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]

11
src/ImageSharp/PixelFormats/PixelBlenders/PorterDuffFunctions.Generated.tt

@ -1,8 +1,6 @@
<# <#
// <copyright file="PorterDuffFunctions.Generated.tt" company="James Jackson-South"> // Copyright (c) Six Labors and contributors.
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0. // Licensed under the Apache License, Version 2.0.
// </copyright>
#> #>
<#@ template debug="false" hostspecific="false" language="C#" #> <#@ template debug="false" hostspecific="false" language="C#" #>
<#@ assembly name="System.Core" #> <#@ assembly name="System.Core" #>
@ -10,18 +8,15 @@
<#@ import namespace="System.Text" #> <#@ import namespace="System.Text" #>
<#@ import namespace="System.Collections.Generic" #> <#@ import namespace="System.Collections.Generic" #>
<#@ output extension=".cs" #> <#@ output extension=".cs" #>
// <autogenerated /> // Copyright (c) Six Labors and contributors.
// <copyright file="PorterDuffFunctions.Generated.cs" company="James Jackson-South">
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0. // Licensed under the Apache License, Version 2.0.
// </copyright>
// <auto-generated />
namespace SixLabors.ImageSharp.PixelFormats.PixelBlenders namespace SixLabors.ImageSharp.PixelFormats.PixelBlenders
{ {
using System.Numerics; using System.Numerics;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
internal static partial class PorterDuffFunctions internal static partial class PorterDuffFunctions
{ {
<# <#

Loading…
Cancel
Save