|
263 | 263 | <RowDefinition Height="30"/> |
264 | 264 | <RowDefinition Height="30"/> |
265 | 265 | <RowDefinition Height="30"/> |
| 266 | + <RowDefinition Height="30"/> |
266 | 267 | </Grid.RowDefinitions> |
267 | 268 |
|
268 | 269 | <TextBlock Text="Aspect Ratio" VerticalAlignment="Center"/> |
|
301 | 302 | <TextBlock Grid.Row="3" Text="Video Acceleration" VerticalAlignment="Center"/> |
302 | 303 | <ToggleButton Grid.Row="3" Grid.Column="1" Tag="_save" IsChecked="{Binding Config.Video.VideoAcceleration, UpdateSourceTrigger=Explicit}" HorizontalAlignment="Left" Style="{StaticResource MaterialDesignSwitchDarkToggleButton}"/> |
303 | 304 |
|
304 | | - <TextBlock Grid.Row="4" Text="Decoder Threads" VerticalAlignment="Center"/> |
305 | | - <TextBox Grid.Row="4" Grid.Column="1" Style="{StaticResource FLTextboxNP}" Text="{Binding Config.Decoder.VideoThreads, UpdateSourceTrigger=Explicit}"/> |
| 305 | + <TextBlock Grid.Row="4" Text="Zero Copy" VerticalAlignment="Center"/> |
| 306 | + <ToggleButton Grid.Row="4" Grid.Column="1" Tag="_save" IsChecked="{Binding Config.Decoder.ZeroCopy, UpdateSourceTrigger=Explicit}" HorizontalAlignment="Left" Style="{StaticResource MaterialDesignSwitchDarkToggleButton}"/> |
| 307 | + |
| 308 | + <TextBlock Grid.Row="5" Text="Decoder Threads" VerticalAlignment="Center"/> |
| 309 | + <TextBox Grid.Row="5" Grid.Column="1" Style="{StaticResource FLTextboxNP}" Text="{Binding Config.Decoder.VideoThreads, UpdateSourceTrigger=Explicit}"/> |
306 | 310 |
|
307 | | - <TextBlock Grid.Row="5" Text="HDR to SDR Method" VerticalAlignment="Center"/> |
308 | | - <ComboBox Grid.Row="5" x:Name="cmbHDRtoSDRMethod" Grid.Column="1" ItemsSource="{Binding Source={StaticResource dataFromEnum}}" SelectedItem="{Binding Config.Video.HDRtoSDRMethod}"/> |
| 311 | + <TextBlock Grid.Row="6" Text="HDR to SDR Method" VerticalAlignment="Center"/> |
| 312 | + <ComboBox Grid.Row="6" x:Name="cmbHDRtoSDRMethod" Grid.Column="1" ItemsSource="{Binding Source={StaticResource dataFromEnum}}" SelectedItem="{Binding Config.Video.HDRtoSDRMethod}"/> |
309 | 313 |
|
310 | | - <TextBlock Grid.Row="6" Text="HDR to SDR Tone" VerticalAlignment="Center"/> |
311 | | - <TextBox Grid.Row="6" Grid.Column="1" Style="{StaticResource FLTextbox}" Text="{Binding Config.Video.HDRtoSDRTone, UpdateSourceTrigger=LostFocus}"/> |
| 314 | + <TextBlock Grid.Row="7" Text="HDR to SDR Tone" VerticalAlignment="Center"/> |
| 315 | + <TextBox Grid.Row="7" Grid.Column="1" Style="{StaticResource FLTextbox}" Text="{Binding Config.Video.HDRtoSDRTone, UpdateSourceTrigger=LostFocus}"/> |
312 | 316 |
|
313 | | - <TextBlock Grid.Row="7" Text="Brightness" Margin="0,10,0,0" VerticalAlignment="Center"/> |
314 | | - <Slider Grid.Row="7" Grid.Column="2" Margin="-78,10,0,0" Style="{StaticResource MaterialDesignDiscreteSlider}" Value="{Binding Config.Video.Brightness, Mode=TwoWay}" Minimum="0" Maximum="100"/> |
| 317 | + <TextBlock Grid.Row="8" Text="Brightness" Margin="0,10,0,0" VerticalAlignment="Center"/> |
| 318 | + <Slider Grid.Row="8" Grid.Column="2" Margin="-78,10,0,0" Style="{StaticResource MaterialDesignDiscreteSlider}" Value="{Binding Config.Video.Brightness, Mode=TwoWay}" Minimum="0" Maximum="100"/> |
315 | 319 |
|
316 | | - <TextBlock Grid.Row="8" Text="Contrast" Margin="0,10,0,0" VerticalAlignment="Center"/> |
317 | | - <Slider Grid.Row="8" Grid.Column="2" Margin="-78,10,0,0" Style="{StaticResource MaterialDesignDiscreteSlider}" HorizontalAlignment="Stretch" Value="{Binding Config.Video.Contrast, Mode=TwoWay}" Minimum="0" Maximum="100"/> |
| 320 | + <TextBlock Grid.Row="9" Text="Contrast" Margin="0,10,0,0" VerticalAlignment="Center"/> |
| 321 | + <Slider Grid.Row="9" Grid.Column="2" Margin="-78,10,0,0" Style="{StaticResource MaterialDesignDiscreteSlider}" HorizontalAlignment="Stretch" Value="{Binding Config.Video.Contrast, Mode=TwoWay}" Minimum="0" Maximum="100"/> |
318 | 322 |
|
319 | 323 | </Grid> |
320 | 324 | <StackPanel Margin="0, 0, 0, 10" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Bottom"> |
|
343 | 347 | <RowDefinition Height="30"/> |
344 | 348 | <RowDefinition Height="30"/> |
345 | 349 | <RowDefinition Height="30"/> |
346 | | - <RowDefinition Height="30"/> |
347 | 350 | </Grid.RowDefinitions> |
348 | 351 |
|
349 | 352 | <TextBlock Grid.Row="0" Text="Buffer Duration Min. (ms)" VerticalAlignment="Center"/> |
|
357 | 360 |
|
358 | 361 | <TextBlock Grid.Row="3" Text="Video Frames Max." VerticalAlignment="Center"/> |
359 | 362 | <TextBox Grid.Row="3" Grid.Column="1" Style="{StaticResource FLTextboxNP}" Text="{Binding Config.Decoder.MaxVideoFrames, UpdateSourceTrigger=Explicit}"/> |
360 | | - |
361 | | - <TextBlock Grid.Row="4" Text="Reverse Frames Max." VerticalAlignment="Center"/> |
362 | | - <TextBox Grid.Row="4" Grid.Column="1" Style="{StaticResource FLTextboxNP}" Text="{Binding Config.Decoder.MaxVideoFramesReverse, UpdateSourceTrigger=Explicit}"/> |
363 | 363 | </Grid> |
364 | 364 | <StackPanel Margin="0, 0, 0, 10" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Bottom"> |
365 | 365 | <Button Style="{StaticResource SaveButton}"/> |
|
0 commit comments