Class: Google::Cloud::Video::Transcoder::V1beta1::PreprocessingConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/video/transcoder/v1beta1/resources.rb

Overview

Preprocessing configurations.

Defined Under Namespace

Classes: Audio, Color, Crop, Deblock, Denoise, Pad

Instance Attribute Summary collapse

Instance Attribute Details

#audio::Google::Cloud::Video::Transcoder::V1beta1::PreprocessingConfig::Audio

Returns Audio preprocessing configuration.

Returns:



545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
# File 'proto_docs/google/cloud/video/transcoder/v1beta1/resources.rb', line 545

class PreprocessingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Color preprocessing configuration.
  # @!attribute [rw] saturation
  #   @return [::Float]
  #     Control color saturation of the video. Enter a value between -1 and 1,
  #     where -1 is fully desaturated and 1 is maximum saturation. 0 is no
  #     change. The default is 0.
  # @!attribute [rw] contrast
  #   @return [::Float]
  #     Control black and white contrast of the video. Enter a value between -1
  #     and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no
  #     change. The default is 0.
  # @!attribute [rw] brightness
  #   @return [::Float]
  #     Control brightness of the video. Enter a value between -1 and 1, where -1
  #     is minimum brightness and 1 is maximum brightness. 0 is no change. The
  #     default is 0.
  class Color
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Denoise preprocessing configuration.
  # @!attribute [rw] strength
  #   @return [::Float]
  #     Set strength of the denoise. Enter a value between 0 and 1. The higher
  #     the value, the smoother the image. 0 is no denoising. The default is 0.
  # @!attribute [rw] tune
  #   @return [::String]
  #     Set the denoiser mode. The default is `"standard"`.
  #
  #     Supported denoiser modes:
  #     - 'standard'
  #     - 'grain'
  class Denoise
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Deblock preprocessing configuration.
  # @!attribute [rw] strength
  #   @return [::Float]
  #     Set strength of the deblocker. Enter a value between 0 and 1. The higher
  #     the value, the stronger the block removal. 0 is no deblocking. The
  #     default is 0.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Enable deblocker. The default is `false`.
  class Deblock
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Audio preprocessing configuration.
  # @!attribute [rw] lufs
  #   @return [::Float]
  #     Specify audio loudness normalization in loudness units relative to full
  #     scale (LUFS). Enter a value between -24 and 0 (the default), where:
  #
  #     *   -24 is the Advanced Television Systems Committee (ATSC A/85) standard
  #     *   -23 is the EU R128 broadcast standard
  #     *   -19 is the prior standard for online mono audio
  #     *   -18 is the ReplayGain standard
  #     *   -16 is the prior standard for stereo audio
  #     *   -14 is the new online audio standard recommended by Spotify, as well
  #         as Amazon Echo
  #     *   0 disables normalization
  # @!attribute [rw] high_boost
  #   @return [::Boolean]
  #     Enable boosting high frequency components. The default is `false`.
  # @!attribute [rw] low_boost
  #   @return [::Boolean]
  #     Enable boosting low frequency components. The default is `false`.
  class Audio
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Video cropping configuration for the input video. The cropped input video
  # is scaled to match the output resolution.
  # @!attribute [rw] top_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the top. The default is 0.
  # @!attribute [rw] bottom_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the bottom. The default is 0.
  # @!attribute [rw] left_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the left. The default is 0.
  # @!attribute [rw] right_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the right. The default is 0.
  class Crop
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Pad filter configuration for the input video. The padded input video
  # is scaled after padding with black to match the output resolution.
  # @!attribute [rw] top_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the top. The default is 0.
  # @!attribute [rw] bottom_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the bottom. The default is 0.
  # @!attribute [rw] left_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the left. The default is 0.
  # @!attribute [rw] right_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the right. The default is 0.
  class Pad
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#color::Google::Cloud::Video::Transcoder::V1beta1::PreprocessingConfig::Color

Returns Color preprocessing configuration.

Returns:



545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
# File 'proto_docs/google/cloud/video/transcoder/v1beta1/resources.rb', line 545

class PreprocessingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Color preprocessing configuration.
  # @!attribute [rw] saturation
  #   @return [::Float]
  #     Control color saturation of the video. Enter a value between -1 and 1,
  #     where -1 is fully desaturated and 1 is maximum saturation. 0 is no
  #     change. The default is 0.
  # @!attribute [rw] contrast
  #   @return [::Float]
  #     Control black and white contrast of the video. Enter a value between -1
  #     and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no
  #     change. The default is 0.
  # @!attribute [rw] brightness
  #   @return [::Float]
  #     Control brightness of the video. Enter a value between -1 and 1, where -1
  #     is minimum brightness and 1 is maximum brightness. 0 is no change. The
  #     default is 0.
  class Color
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Denoise preprocessing configuration.
  # @!attribute [rw] strength
  #   @return [::Float]
  #     Set strength of the denoise. Enter a value between 0 and 1. The higher
  #     the value, the smoother the image. 0 is no denoising. The default is 0.
  # @!attribute [rw] tune
  #   @return [::String]
  #     Set the denoiser mode. The default is `"standard"`.
  #
  #     Supported denoiser modes:
  #     - 'standard'
  #     - 'grain'
  class Denoise
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Deblock preprocessing configuration.
  # @!attribute [rw] strength
  #   @return [::Float]
  #     Set strength of the deblocker. Enter a value between 0 and 1. The higher
  #     the value, the stronger the block removal. 0 is no deblocking. The
  #     default is 0.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Enable deblocker. The default is `false`.
  class Deblock
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Audio preprocessing configuration.
  # @!attribute [rw] lufs
  #   @return [::Float]
  #     Specify audio loudness normalization in loudness units relative to full
  #     scale (LUFS). Enter a value between -24 and 0 (the default), where:
  #
  #     *   -24 is the Advanced Television Systems Committee (ATSC A/85) standard
  #     *   -23 is the EU R128 broadcast standard
  #     *   -19 is the prior standard for online mono audio
  #     *   -18 is the ReplayGain standard
  #     *   -16 is the prior standard for stereo audio
  #     *   -14 is the new online audio standard recommended by Spotify, as well
  #         as Amazon Echo
  #     *   0 disables normalization
  # @!attribute [rw] high_boost
  #   @return [::Boolean]
  #     Enable boosting high frequency components. The default is `false`.
  # @!attribute [rw] low_boost
  #   @return [::Boolean]
  #     Enable boosting low frequency components. The default is `false`.
  class Audio
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Video cropping configuration for the input video. The cropped input video
  # is scaled to match the output resolution.
  # @!attribute [rw] top_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the top. The default is 0.
  # @!attribute [rw] bottom_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the bottom. The default is 0.
  # @!attribute [rw] left_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the left. The default is 0.
  # @!attribute [rw] right_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the right. The default is 0.
  class Crop
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Pad filter configuration for the input video. The padded input video
  # is scaled after padding with black to match the output resolution.
  # @!attribute [rw] top_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the top. The default is 0.
  # @!attribute [rw] bottom_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the bottom. The default is 0.
  # @!attribute [rw] left_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the left. The default is 0.
  # @!attribute [rw] right_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the right. The default is 0.
  class Pad
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#crop::Google::Cloud::Video::Transcoder::V1beta1::PreprocessingConfig::Crop

Returns Specify the video cropping configuration.

Returns:



545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
# File 'proto_docs/google/cloud/video/transcoder/v1beta1/resources.rb', line 545

class PreprocessingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Color preprocessing configuration.
  # @!attribute [rw] saturation
  #   @return [::Float]
  #     Control color saturation of the video. Enter a value between -1 and 1,
  #     where -1 is fully desaturated and 1 is maximum saturation. 0 is no
  #     change. The default is 0.
  # @!attribute [rw] contrast
  #   @return [::Float]
  #     Control black and white contrast of the video. Enter a value between -1
  #     and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no
  #     change. The default is 0.
  # @!attribute [rw] brightness
  #   @return [::Float]
  #     Control brightness of the video. Enter a value between -1 and 1, where -1
  #     is minimum brightness and 1 is maximum brightness. 0 is no change. The
  #     default is 0.
  class Color
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Denoise preprocessing configuration.
  # @!attribute [rw] strength
  #   @return [::Float]
  #     Set strength of the denoise. Enter a value between 0 and 1. The higher
  #     the value, the smoother the image. 0 is no denoising. The default is 0.
  # @!attribute [rw] tune
  #   @return [::String]
  #     Set the denoiser mode. The default is `"standard"`.
  #
  #     Supported denoiser modes:
  #     - 'standard'
  #     - 'grain'
  class Denoise
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Deblock preprocessing configuration.
  # @!attribute [rw] strength
  #   @return [::Float]
  #     Set strength of the deblocker. Enter a value between 0 and 1. The higher
  #     the value, the stronger the block removal. 0 is no deblocking. The
  #     default is 0.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Enable deblocker. The default is `false`.
  class Deblock
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Audio preprocessing configuration.
  # @!attribute [rw] lufs
  #   @return [::Float]
  #     Specify audio loudness normalization in loudness units relative to full
  #     scale (LUFS). Enter a value between -24 and 0 (the default), where:
  #
  #     *   -24 is the Advanced Television Systems Committee (ATSC A/85) standard
  #     *   -23 is the EU R128 broadcast standard
  #     *   -19 is the prior standard for online mono audio
  #     *   -18 is the ReplayGain standard
  #     *   -16 is the prior standard for stereo audio
  #     *   -14 is the new online audio standard recommended by Spotify, as well
  #         as Amazon Echo
  #     *   0 disables normalization
  # @!attribute [rw] high_boost
  #   @return [::Boolean]
  #     Enable boosting high frequency components. The default is `false`.
  # @!attribute [rw] low_boost
  #   @return [::Boolean]
  #     Enable boosting low frequency components. The default is `false`.
  class Audio
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Video cropping configuration for the input video. The cropped input video
  # is scaled to match the output resolution.
  # @!attribute [rw] top_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the top. The default is 0.
  # @!attribute [rw] bottom_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the bottom. The default is 0.
  # @!attribute [rw] left_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the left. The default is 0.
  # @!attribute [rw] right_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the right. The default is 0.
  class Crop
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Pad filter configuration for the input video. The padded input video
  # is scaled after padding with black to match the output resolution.
  # @!attribute [rw] top_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the top. The default is 0.
  # @!attribute [rw] bottom_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the bottom. The default is 0.
  # @!attribute [rw] left_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the left. The default is 0.
  # @!attribute [rw] right_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the right. The default is 0.
  class Pad
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#deblock::Google::Cloud::Video::Transcoder::V1beta1::PreprocessingConfig::Deblock

Returns Deblock preprocessing configuration.

Returns:



545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
# File 'proto_docs/google/cloud/video/transcoder/v1beta1/resources.rb', line 545

class PreprocessingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Color preprocessing configuration.
  # @!attribute [rw] saturation
  #   @return [::Float]
  #     Control color saturation of the video. Enter a value between -1 and 1,
  #     where -1 is fully desaturated and 1 is maximum saturation. 0 is no
  #     change. The default is 0.
  # @!attribute [rw] contrast
  #   @return [::Float]
  #     Control black and white contrast of the video. Enter a value between -1
  #     and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no
  #     change. The default is 0.
  # @!attribute [rw] brightness
  #   @return [::Float]
  #     Control brightness of the video. Enter a value between -1 and 1, where -1
  #     is minimum brightness and 1 is maximum brightness. 0 is no change. The
  #     default is 0.
  class Color
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Denoise preprocessing configuration.
  # @!attribute [rw] strength
  #   @return [::Float]
  #     Set strength of the denoise. Enter a value between 0 and 1. The higher
  #     the value, the smoother the image. 0 is no denoising. The default is 0.
  # @!attribute [rw] tune
  #   @return [::String]
  #     Set the denoiser mode. The default is `"standard"`.
  #
  #     Supported denoiser modes:
  #     - 'standard'
  #     - 'grain'
  class Denoise
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Deblock preprocessing configuration.
  # @!attribute [rw] strength
  #   @return [::Float]
  #     Set strength of the deblocker. Enter a value between 0 and 1. The higher
  #     the value, the stronger the block removal. 0 is no deblocking. The
  #     default is 0.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Enable deblocker. The default is `false`.
  class Deblock
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Audio preprocessing configuration.
  # @!attribute [rw] lufs
  #   @return [::Float]
  #     Specify audio loudness normalization in loudness units relative to full
  #     scale (LUFS). Enter a value between -24 and 0 (the default), where:
  #
  #     *   -24 is the Advanced Television Systems Committee (ATSC A/85) standard
  #     *   -23 is the EU R128 broadcast standard
  #     *   -19 is the prior standard for online mono audio
  #     *   -18 is the ReplayGain standard
  #     *   -16 is the prior standard for stereo audio
  #     *   -14 is the new online audio standard recommended by Spotify, as well
  #         as Amazon Echo
  #     *   0 disables normalization
  # @!attribute [rw] high_boost
  #   @return [::Boolean]
  #     Enable boosting high frequency components. The default is `false`.
  # @!attribute [rw] low_boost
  #   @return [::Boolean]
  #     Enable boosting low frequency components. The default is `false`.
  class Audio
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Video cropping configuration for the input video. The cropped input video
  # is scaled to match the output resolution.
  # @!attribute [rw] top_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the top. The default is 0.
  # @!attribute [rw] bottom_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the bottom. The default is 0.
  # @!attribute [rw] left_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the left. The default is 0.
  # @!attribute [rw] right_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the right. The default is 0.
  class Crop
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Pad filter configuration for the input video. The padded input video
  # is scaled after padding with black to match the output resolution.
  # @!attribute [rw] top_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the top. The default is 0.
  # @!attribute [rw] bottom_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the bottom. The default is 0.
  # @!attribute [rw] left_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the left. The default is 0.
  # @!attribute [rw] right_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the right. The default is 0.
  class Pad
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#denoise::Google::Cloud::Video::Transcoder::V1beta1::PreprocessingConfig::Denoise

Returns Denoise preprocessing configuration.

Returns:



545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
# File 'proto_docs/google/cloud/video/transcoder/v1beta1/resources.rb', line 545

class PreprocessingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Color preprocessing configuration.
  # @!attribute [rw] saturation
  #   @return [::Float]
  #     Control color saturation of the video. Enter a value between -1 and 1,
  #     where -1 is fully desaturated and 1 is maximum saturation. 0 is no
  #     change. The default is 0.
  # @!attribute [rw] contrast
  #   @return [::Float]
  #     Control black and white contrast of the video. Enter a value between -1
  #     and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no
  #     change. The default is 0.
  # @!attribute [rw] brightness
  #   @return [::Float]
  #     Control brightness of the video. Enter a value between -1 and 1, where -1
  #     is minimum brightness and 1 is maximum brightness. 0 is no change. The
  #     default is 0.
  class Color
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Denoise preprocessing configuration.
  # @!attribute [rw] strength
  #   @return [::Float]
  #     Set strength of the denoise. Enter a value between 0 and 1. The higher
  #     the value, the smoother the image. 0 is no denoising. The default is 0.
  # @!attribute [rw] tune
  #   @return [::String]
  #     Set the denoiser mode. The default is `"standard"`.
  #
  #     Supported denoiser modes:
  #     - 'standard'
  #     - 'grain'
  class Denoise
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Deblock preprocessing configuration.
  # @!attribute [rw] strength
  #   @return [::Float]
  #     Set strength of the deblocker. Enter a value between 0 and 1. The higher
  #     the value, the stronger the block removal. 0 is no deblocking. The
  #     default is 0.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Enable deblocker. The default is `false`.
  class Deblock
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Audio preprocessing configuration.
  # @!attribute [rw] lufs
  #   @return [::Float]
  #     Specify audio loudness normalization in loudness units relative to full
  #     scale (LUFS). Enter a value between -24 and 0 (the default), where:
  #
  #     *   -24 is the Advanced Television Systems Committee (ATSC A/85) standard
  #     *   -23 is the EU R128 broadcast standard
  #     *   -19 is the prior standard for online mono audio
  #     *   -18 is the ReplayGain standard
  #     *   -16 is the prior standard for stereo audio
  #     *   -14 is the new online audio standard recommended by Spotify, as well
  #         as Amazon Echo
  #     *   0 disables normalization
  # @!attribute [rw] high_boost
  #   @return [::Boolean]
  #     Enable boosting high frequency components. The default is `false`.
  # @!attribute [rw] low_boost
  #   @return [::Boolean]
  #     Enable boosting low frequency components. The default is `false`.
  class Audio
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Video cropping configuration for the input video. The cropped input video
  # is scaled to match the output resolution.
  # @!attribute [rw] top_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the top. The default is 0.
  # @!attribute [rw] bottom_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the bottom. The default is 0.
  # @!attribute [rw] left_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the left. The default is 0.
  # @!attribute [rw] right_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the right. The default is 0.
  class Crop
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Pad filter configuration for the input video. The padded input video
  # is scaled after padding with black to match the output resolution.
  # @!attribute [rw] top_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the top. The default is 0.
  # @!attribute [rw] bottom_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the bottom. The default is 0.
  # @!attribute [rw] left_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the left. The default is 0.
  # @!attribute [rw] right_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the right. The default is 0.
  class Pad
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#pad::Google::Cloud::Video::Transcoder::V1beta1::PreprocessingConfig::Pad

Returns Specify the video pad filter configuration.

Returns:



545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
# File 'proto_docs/google/cloud/video/transcoder/v1beta1/resources.rb', line 545

class PreprocessingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Color preprocessing configuration.
  # @!attribute [rw] saturation
  #   @return [::Float]
  #     Control color saturation of the video. Enter a value between -1 and 1,
  #     where -1 is fully desaturated and 1 is maximum saturation. 0 is no
  #     change. The default is 0.
  # @!attribute [rw] contrast
  #   @return [::Float]
  #     Control black and white contrast of the video. Enter a value between -1
  #     and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no
  #     change. The default is 0.
  # @!attribute [rw] brightness
  #   @return [::Float]
  #     Control brightness of the video. Enter a value between -1 and 1, where -1
  #     is minimum brightness and 1 is maximum brightness. 0 is no change. The
  #     default is 0.
  class Color
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Denoise preprocessing configuration.
  # @!attribute [rw] strength
  #   @return [::Float]
  #     Set strength of the denoise. Enter a value between 0 and 1. The higher
  #     the value, the smoother the image. 0 is no denoising. The default is 0.
  # @!attribute [rw] tune
  #   @return [::String]
  #     Set the denoiser mode. The default is `"standard"`.
  #
  #     Supported denoiser modes:
  #     - 'standard'
  #     - 'grain'
  class Denoise
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Deblock preprocessing configuration.
  # @!attribute [rw] strength
  #   @return [::Float]
  #     Set strength of the deblocker. Enter a value between 0 and 1. The higher
  #     the value, the stronger the block removal. 0 is no deblocking. The
  #     default is 0.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Enable deblocker. The default is `false`.
  class Deblock
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Audio preprocessing configuration.
  # @!attribute [rw] lufs
  #   @return [::Float]
  #     Specify audio loudness normalization in loudness units relative to full
  #     scale (LUFS). Enter a value between -24 and 0 (the default), where:
  #
  #     *   -24 is the Advanced Television Systems Committee (ATSC A/85) standard
  #     *   -23 is the EU R128 broadcast standard
  #     *   -19 is the prior standard for online mono audio
  #     *   -18 is the ReplayGain standard
  #     *   -16 is the prior standard for stereo audio
  #     *   -14 is the new online audio standard recommended by Spotify, as well
  #         as Amazon Echo
  #     *   0 disables normalization
  # @!attribute [rw] high_boost
  #   @return [::Boolean]
  #     Enable boosting high frequency components. The default is `false`.
  # @!attribute [rw] low_boost
  #   @return [::Boolean]
  #     Enable boosting low frequency components. The default is `false`.
  class Audio
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Video cropping configuration for the input video. The cropped input video
  # is scaled to match the output resolution.
  # @!attribute [rw] top_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the top. The default is 0.
  # @!attribute [rw] bottom_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the bottom. The default is 0.
  # @!attribute [rw] left_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the left. The default is 0.
  # @!attribute [rw] right_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the right. The default is 0.
  class Crop
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Pad filter configuration for the input video. The padded input video
  # is scaled after padding with black to match the output resolution.
  # @!attribute [rw] top_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the top. The default is 0.
  # @!attribute [rw] bottom_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the bottom. The default is 0.
  # @!attribute [rw] left_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the left. The default is 0.
  # @!attribute [rw] right_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the right. The default is 0.
  class Pad
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end