break;\r
case VideoEncoder.QuickSync:\r
case VideoEncoder.QuickSyncH265:\r
+ case VideoEncoder.VceH264:\r
+ case VideoEncoder.VceH265:\r
rfValue = 51.0 - value;\r
rfValue = Math.Round(rfValue, 0);\r
this.Task.Quality = rfValue;\r
{\r
return this.displayOptimiseOptions;\r
}\r
+\r
set\r
{\r
this.displayOptimiseOptions = value;\r
{\r
return this.displayNonQsvControls;\r
}\r
+\r
set\r
{\r
if (value.Equals(this.displayNonQsvControls))\r
{\r
if (preset.Task.VideoEncoder == VideoEncoder.X264 || preset.Task.VideoEncoder == VideoEncoder.X264_10\r
|| preset.Task.VideoEncoder == VideoEncoder.X265 || preset.Task.VideoEncoder == VideoEncoder.X265_10 || preset.Task.VideoEncoder == VideoEncoder.X265_12\r
- || preset.Task.VideoEncoder == VideoEncoder.QuickSync || preset.Task.VideoEncoder == VideoEncoder.QuickSyncH265 || preset.Task.VideoEncoder == VideoEncoder.QuickSyncH26510b)\r
+ || preset.Task.VideoEncoder == VideoEncoder.QuickSync || preset.Task.VideoEncoder == VideoEncoder.QuickSyncH265 || preset.Task.VideoEncoder == VideoEncoder.QuickSyncH26510b\r
+ || preset.Task.VideoEncoder == VideoEncoder.VceH264 || preset.Task.VideoEncoder == VideoEncoder.VceH265)\r
{\r
this.VideoLevel = preset.Task.VideoLevel != null ? preset.Task.VideoLevel.Clone() : this.VideoLevels.FirstOrDefault();\r
this.VideoProfile = preset.Task.VideoProfile != null ? preset.Task.VideoProfile.Clone() : this.VideoProfiles.FirstOrDefault();\r
if (this.Task.VideoEncoder == VideoEncoder.X264 || this.Task.VideoEncoder == VideoEncoder.X264_10\r
|| this.Task.VideoEncoder == VideoEncoder.X265 || this.Task.VideoEncoder == VideoEncoder.X265_10\r
|| this.Task.VideoEncoder == VideoEncoder.X265_12 || this.Task.VideoEncoder == VideoEncoder.QuickSync\r
- || this.Task.VideoEncoder == VideoEncoder.QuickSyncH265\r
- || this.Task.VideoEncoder == VideoEncoder.QuickSyncH26510b)\r
+ || this.Task.VideoEncoder == VideoEncoder.QuickSyncH265 || this.Task.VideoEncoder == VideoEncoder.QuickSyncH26510b\r
+ || this.Task.VideoEncoder == VideoEncoder.VceH264 || this.Task.VideoEncoder == VideoEncoder.VceH265)\r
{\r
if (!Equals(preset.Task.VideoPreset, this.Task.VideoPreset))\r
{\r
break;\r
case VideoEncoder.QuickSync:\r
case VideoEncoder.QuickSyncH265:\r
+ case VideoEncoder.VceH264:\r
+ case VideoEncoder.VceH265:\r
this.QualityMin = 0;\r
this.QualityMax = 51;\r
break;\r
int.TryParse(quality.Value.ToString(CultureInfo.InvariantCulture), out cq);\r
this.RF = 63 - cq;\r
}\r
+\r
break;\r
case VideoEncoder.X265:\r
case VideoEncoder.X265_10:\r
case VideoEncoder.QuickSync:\r
case VideoEncoder.QuickSyncH265:\r
case VideoEncoder.QuickSyncH26510b:\r
- if (this.SelectedVideoEncoder == VideoEncoder.QuickSync || this.SelectedVideoEncoder == VideoEncoder.QuickSyncH265)\r
+ case VideoEncoder.VceH264:\r
+ case VideoEncoder.VceH265:\r
+\r
+ if (this.SelectedVideoEncoder == VideoEncoder.QuickSync || this.SelectedVideoEncoder == VideoEncoder.QuickSyncH265 || this.SelectedVideoEncoder == VideoEncoder.QuickSyncH26510b\r
+ || this.SelectedVideoEncoder == VideoEncoder.VceH264 || this.SelectedVideoEncoder == VideoEncoder.VceH265)\r
{\r
cqStep = 1;\r
}\r
+\r
double multiplier = 1.0 / cqStep;\r
if (quality.HasValue)\r
{\r
{\r
this.RF = (int)quality.Value;\r
}\r
+\r
break;\r
}\r
}\r
this.SetQualitySliderBounds();\r
\r
// Update control display\r
- this.UseAdvancedTab = selectedEncoder != VideoEncoder.QuickSync && selectedEncoder != VideoEncoder.QuickSyncH265 && selectedEncoder != VideoEncoder.QuickSyncH26510b && this.UseAdvancedTab;\r
+ this.UseAdvancedTab = selectedEncoder != VideoEncoder.QuickSync && selectedEncoder != VideoEncoder.QuickSyncH265 && selectedEncoder != VideoEncoder.QuickSyncH26510b\r
+ && selectedEncoder != VideoEncoder.VceH264 && selectedEncoder != VideoEncoder.VceH265 && this.UseAdvancedTab;\r
+\r
this.DisplayOptimiseOptions = this.SelectedVideoEncoder == VideoEncoder.X264 || this.SelectedVideoEncoder == VideoEncoder.X264_10 ||\r
this.SelectedVideoEncoder == VideoEncoder.X265 || this.SelectedVideoEncoder == VideoEncoder.X265_10 || this.SelectedVideoEncoder == VideoEncoder.X265_12 ||\r
this.SelectedVideoEncoder == VideoEncoder.QuickSync || this.SelectedVideoEncoder == VideoEncoder.QuickSyncH265 || this.SelectedVideoEncoder == VideoEncoder.QuickSyncH26510b ||\r
+ this.SelectedVideoEncoder == VideoEncoder.VceH264 || this.SelectedVideoEncoder == VideoEncoder.VceH265 ||\r
this.SelectedVideoEncoder == VideoEncoder.VP8 || this.SelectedVideoEncoder == VideoEncoder.VP9;\r
+\r
this.DisplayNonQSVControls = this.SelectedVideoEncoder != VideoEncoder.QuickSync && this.SelectedVideoEncoder != VideoEncoder.QuickSyncH265 && this.SelectedVideoEncoder != VideoEncoder.QuickSyncH26510b;\r
+\r
this.DisplayTurboFirstPass = selectedEncoder == VideoEncoder.X264 || selectedEncoder == VideoEncoder.X264_10 ||\r
selectedEncoder == VideoEncoder.X265 || selectedEncoder == VideoEncoder.X265_10 || selectedEncoder == VideoEncoder.X265_12;\r
- this.DisplayTuneControls = SelectedVideoEncoder == VideoEncoder.X264 || SelectedVideoEncoder == VideoEncoder.X264_10 || SelectedVideoEncoder == VideoEncoder.X265 || SelectedVideoEncoder == VideoEncoder.X265_10 || SelectedVideoEncoder == VideoEncoder.X265_12;\r
- this.DisplayLevelControl = SelectedVideoEncoder == VideoEncoder.X264 || SelectedVideoEncoder == VideoEncoder.X264_10 || this.SelectedVideoEncoder == VideoEncoder.QuickSync || this.SelectedVideoEncoder == VideoEncoder.QuickSyncH265 || this.SelectedVideoEncoder == VideoEncoder.QuickSyncH26510b;\r
+\r
+ this.DisplayTuneControls = this.SelectedVideoEncoder == VideoEncoder.X264 || this.SelectedVideoEncoder == VideoEncoder.X264_10 || \r
+ this.SelectedVideoEncoder == VideoEncoder.X265 || this.SelectedVideoEncoder == VideoEncoder.X265_10 || this.SelectedVideoEncoder == VideoEncoder.X265_12;\r
+\r
+ this.DisplayLevelControl = this.SelectedVideoEncoder == VideoEncoder.X264 || this.SelectedVideoEncoder == VideoEncoder.X264_10 || \r
+ this.SelectedVideoEncoder == VideoEncoder.QuickSync || this.SelectedVideoEncoder == VideoEncoder.QuickSyncH265 || this.SelectedVideoEncoder == VideoEncoder.QuickSyncH26510b ||\r
+ this.SelectedVideoEncoder == VideoEncoder.VceH264 || this.SelectedVideoEncoder == VideoEncoder.VceH265;\r
+\r
this.DisplayProfileControl = this.SelectedVideoEncoder == VideoEncoder.X264\r
|| this.SelectedVideoEncoder == VideoEncoder.X264_10\r
|| this.SelectedVideoEncoder == VideoEncoder.X265\r
|| this.SelectedVideoEncoder == VideoEncoder.X265_12\r
|| this.SelectedVideoEncoder == VideoEncoder.QuickSync\r
|| this.SelectedVideoEncoder == VideoEncoder.QuickSyncH265\r
- || this.SelectedVideoEncoder == VideoEncoder.QuickSyncH26510b;\r
+ || this.SelectedVideoEncoder == VideoEncoder.QuickSyncH26510b\r
+ || this.SelectedVideoEncoder == VideoEncoder.VceH264\r
+ || this.SelectedVideoEncoder == VideoEncoder.VceH265;\r
\r
// Refresh Display\r
this.NotifyOfPropertyChange(() => this.Rfqp);\r