mirror of https://github.com/ErsatzTV/ErsatzTV.git
31 changed files with 11771 additions and 23 deletions
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
namespace ErsatzTV.Core.Domain; |
||||
|
||||
public enum FFmpegProfileTonemapAlgorithm |
||||
{ |
||||
Linear = 0, |
||||
Clip = 1, |
||||
Gamma = 2, |
||||
Reinhard = 3, |
||||
Mobius = 4, |
||||
Hable = 5 |
||||
} |
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
namespace ErsatzTV.FFmpeg; |
||||
|
||||
public static class TonemapAlgorithm |
||||
{ |
||||
public const string Linear = "linear"; |
||||
public const string Clip = "clip"; |
||||
public const string Gamma = "gamma"; |
||||
public const string Reinhard = "reinhard"; |
||||
public const string Mobius = "mobius"; |
||||
public const string Hable = "hable"; |
||||
} |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,29 @@
@@ -0,0 +1,29 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
||||
#nullable disable |
||||
|
||||
namespace ErsatzTV.Infrastructure.MySql.Migrations |
||||
{ |
||||
/// <inheritdoc />
|
||||
public partial class Add_FFmpegProfile_TonemapAlgorithm : Migration |
||||
{ |
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder) |
||||
{ |
||||
migrationBuilder.AddColumn<int>( |
||||
name: "TonemapAlgorithm", |
||||
table: "FFmpegProfile", |
||||
type: "int", |
||||
nullable: false, |
||||
defaultValue: 0); |
||||
} |
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder) |
||||
{ |
||||
migrationBuilder.DropColumn( |
||||
name: "TonemapAlgorithm", |
||||
table: "FFmpegProfile"); |
||||
} |
||||
} |
||||
} |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,29 @@
@@ -0,0 +1,29 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
||||
#nullable disable |
||||
|
||||
namespace ErsatzTV.Infrastructure.Sqlite.Migrations |
||||
{ |
||||
/// <inheritdoc />
|
||||
public partial class Add_FFmpegProfile_TonemapAlgorithm : Migration |
||||
{ |
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder) |
||||
{ |
||||
migrationBuilder.AddColumn<int>( |
||||
name: "TonemapAlgorithm", |
||||
table: "FFmpegProfile", |
||||
type: "INTEGER", |
||||
nullable: false, |
||||
defaultValue: 0); |
||||
} |
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder) |
||||
{ |
||||
migrationBuilder.DropColumn( |
||||
name: "TonemapAlgorithm", |
||||
table: "FFmpegProfile"); |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue