public static IPipelineFilterStep ForAcceleration(
     HardwareAccelerationMode accelMode,
     FrameState currentState,
     WatermarkState watermarkState,
     FrameSize resolution) =>
 accelMode switch
 {
Exemplo n.º 2
0
 public OverlayWatermarkCudaFilter(
     FrameState currentState,
     WatermarkState watermarkState,
     FrameSize resolution) : base(
         currentState,
         watermarkState,
         resolution)
 {
 }
Exemplo n.º 3
0
 public WatermarkOpacityFilter(WatermarkState desiredState) => _desiredState = desiredState;
 public WatermarkPixelFormatFilter(FFmpegState ffmpegState, WatermarkState watermarkState)
 {
     _ffmpegState    = ffmpegState;
     _watermarkState = watermarkState;
 }
Exemplo n.º 5
0
 public OverlayWatermarkFilter(FrameState currentState, WatermarkState watermarkState, FrameSize resolution)
 {
     _currentState   = currentState;
     _watermarkState = watermarkState;
     _resolution     = resolution;
 }
Exemplo n.º 6
0
 public WatermarkScaleFilter(WatermarkState watermarkState, FrameSize resolution)
 {
     _watermarkState = watermarkState;
     _resolution     = resolution;
 }