Class: Google::Cloud::Video::Transcoder::V1::PreprocessingConfig

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

Overview

Preprocessing configurations.

Defined Under Namespace

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

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns Audio preprocessing configuration.

Returns:



725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 725

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

  # Color preprocessing configuration.
  #
  # **Note:** This configuration is not supported.
  # @!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.
  #
  # **Note:** This configuration is not supported.
  # @!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.
  #
  # **Note:** This configuration is not supported.
  # @!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`.
  #
  #     **Note:** This field is not supported.
  # @!attribute [rw] low_boost
  #   @return [::Boolean]
  #     Enable boosting low frequency components. The default is `false`.
  #
  #     **Note:** This field is not supported.
  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

  # Deinterlace configuration for input video.
  # @!attribute [rw] yadif
  #   @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::YadifConfig]
  #     Specifies the Yet Another Deinterlacing Filter Configuration.
  #
  #     Note: The following fields are mutually exclusive: `yadif`, `bwdif`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] bwdif
  #   @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::BwdifConfig]
  #     Specifies the Bob Weaver Deinterlacing Filter Configuration.
  #
  #     Note: The following fields are mutually exclusive: `bwdif`, `yadif`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class Deinterlace
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Yet Another Deinterlacing Filter Configuration.
    # @!attribute [rw] mode
    #   @return [::String]
    #     Specifies the deinterlacing mode to adopt.
    #     The default is `send_frame`.
    #     Supported values:
    #
    #     - `send_frame`: Output one frame for each frame
    #     - `send_field`: Output one frame for each field
    # @!attribute [rw] disable_spatial_interlacing
    #   @return [::Boolean]
    #     Disable spacial interlacing.
    #     The default is `false`.
    # @!attribute [rw] parity
    #   @return [::String]
    #     The picture field parity assumed for the input interlaced video.
    #     The default is `auto`.
    #     Supported values:
    #
    #     - `tff`: Assume the top field is first
    #     - `bff`: Assume the bottom field is first
    #     - `auto`: Enable automatic detection of field parity
    # @!attribute [rw] deinterlace_all_frames
    #   @return [::Boolean]
    #     Deinterlace all frames rather than just the frames identified as
    #     interlaced. The default is `false`.
    class YadifConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Bob Weaver Deinterlacing Filter Configuration.
    # @!attribute [rw] mode
    #   @return [::String]
    #     Specifies the deinterlacing mode to adopt.
    #     The default is `send_frame`.
    #     Supported values:
    #
    #     - `send_frame`: Output one frame for each frame
    #     - `send_field`: Output one frame for each field
    # @!attribute [rw] parity
    #   @return [::String]
    #     The picture field parity assumed for the input interlaced video.
    #     The default is `auto`.
    #     Supported values:
    #
    #     - `tff`: Assume the top field is first
    #     - `bff`: Assume the bottom field is first
    #     - `auto`: Enable automatic detection of field parity
    # @!attribute [rw] deinterlace_all_frames
    #   @return [::Boolean]
    #     Deinterlace all frames rather than just the frames identified as
    #     interlaced. The default is `false`.
    class BwdifConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

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

Returns Color preprocessing configuration.

Returns:



725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 725

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

  # Color preprocessing configuration.
  #
  # **Note:** This configuration is not supported.
  # @!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.
  #
  # **Note:** This configuration is not supported.
  # @!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.
  #
  # **Note:** This configuration is not supported.
  # @!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`.
  #
  #     **Note:** This field is not supported.
  # @!attribute [rw] low_boost
  #   @return [::Boolean]
  #     Enable boosting low frequency components. The default is `false`.
  #
  #     **Note:** This field is not supported.
  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

  # Deinterlace configuration for input video.
  # @!attribute [rw] yadif
  #   @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::YadifConfig]
  #     Specifies the Yet Another Deinterlacing Filter Configuration.
  #
  #     Note: The following fields are mutually exclusive: `yadif`, `bwdif`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] bwdif
  #   @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::BwdifConfig]
  #     Specifies the Bob Weaver Deinterlacing Filter Configuration.
  #
  #     Note: The following fields are mutually exclusive: `bwdif`, `yadif`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class Deinterlace
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Yet Another Deinterlacing Filter Configuration.
    # @!attribute [rw] mode
    #   @return [::String]
    #     Specifies the deinterlacing mode to adopt.
    #     The default is `send_frame`.
    #     Supported values:
    #
    #     - `send_frame`: Output one frame for each frame
    #     - `send_field`: Output one frame for each field
    # @!attribute [rw] disable_spatial_interlacing
    #   @return [::Boolean]
    #     Disable spacial interlacing.
    #     The default is `false`.
    # @!attribute [rw] parity
    #   @return [::String]
    #     The picture field parity assumed for the input interlaced video.
    #     The default is `auto`.
    #     Supported values:
    #
    #     - `tff`: Assume the top field is first
    #     - `bff`: Assume the bottom field is first
    #     - `auto`: Enable automatic detection of field parity
    # @!attribute [rw] deinterlace_all_frames
    #   @return [::Boolean]
    #     Deinterlace all frames rather than just the frames identified as
    #     interlaced. The default is `false`.
    class YadifConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Bob Weaver Deinterlacing Filter Configuration.
    # @!attribute [rw] mode
    #   @return [::String]
    #     Specifies the deinterlacing mode to adopt.
    #     The default is `send_frame`.
    #     Supported values:
    #
    #     - `send_frame`: Output one frame for each frame
    #     - `send_field`: Output one frame for each field
    # @!attribute [rw] parity
    #   @return [::String]
    #     The picture field parity assumed for the input interlaced video.
    #     The default is `auto`.
    #     Supported values:
    #
    #     - `tff`: Assume the top field is first
    #     - `bff`: Assume the bottom field is first
    #     - `auto`: Enable automatic detection of field parity
    # @!attribute [rw] deinterlace_all_frames
    #   @return [::Boolean]
    #     Deinterlace all frames rather than just the frames identified as
    #     interlaced. The default is `false`.
    class BwdifConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

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

Returns Specify the video cropping configuration.

Returns:



725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 725

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

  # Color preprocessing configuration.
  #
  # **Note:** This configuration is not supported.
  # @!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.
  #
  # **Note:** This configuration is not supported.
  # @!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.
  #
  # **Note:** This configuration is not supported.
  # @!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`.
  #
  #     **Note:** This field is not supported.
  # @!attribute [rw] low_boost
  #   @return [::Boolean]
  #     Enable boosting low frequency components. The default is `false`.
  #
  #     **Note:** This field is not supported.
  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

  # Deinterlace configuration for input video.
  # @!attribute [rw] yadif
  #   @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::YadifConfig]
  #     Specifies the Yet Another Deinterlacing Filter Configuration.
  #
  #     Note: The following fields are mutually exclusive: `yadif`, `bwdif`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] bwdif
  #   @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::BwdifConfig]
  #     Specifies the Bob Weaver Deinterlacing Filter Configuration.
  #
  #     Note: The following fields are mutually exclusive: `bwdif`, `yadif`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class Deinterlace
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Yet Another Deinterlacing Filter Configuration.
    # @!attribute [rw] mode
    #   @return [::String]
    #     Specifies the deinterlacing mode to adopt.
    #     The default is `send_frame`.
    #     Supported values:
    #
    #     - `send_frame`: Output one frame for each frame
    #     - `send_field`: Output one frame for each field
    # @!attribute [rw] disable_spatial_interlacing
    #   @return [::Boolean]
    #     Disable spacial interlacing.
    #     The default is `false`.
    # @!attribute [rw] parity
    #   @return [::String]
    #     The picture field parity assumed for the input interlaced video.
    #     The default is `auto`.
    #     Supported values:
    #
    #     - `tff`: Assume the top field is first
    #     - `bff`: Assume the bottom field is first
    #     - `auto`: Enable automatic detection of field parity
    # @!attribute [rw] deinterlace_all_frames
    #   @return [::Boolean]
    #     Deinterlace all frames rather than just the frames identified as
    #     interlaced. The default is `false`.
    class YadifConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Bob Weaver Deinterlacing Filter Configuration.
    # @!attribute [rw] mode
    #   @return [::String]
    #     Specifies the deinterlacing mode to adopt.
    #     The default is `send_frame`.
    #     Supported values:
    #
    #     - `send_frame`: Output one frame for each frame
    #     - `send_field`: Output one frame for each field
    # @!attribute [rw] parity
    #   @return [::String]
    #     The picture field parity assumed for the input interlaced video.
    #     The default is `auto`.
    #     Supported values:
    #
    #     - `tff`: Assume the top field is first
    #     - `bff`: Assume the bottom field is first
    #     - `auto`: Enable automatic detection of field parity
    # @!attribute [rw] deinterlace_all_frames
    #   @return [::Boolean]
    #     Deinterlace all frames rather than just the frames identified as
    #     interlaced. The default is `false`.
    class BwdifConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

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

Returns Deblock preprocessing configuration.

Returns:



725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 725

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

  # Color preprocessing configuration.
  #
  # **Note:** This configuration is not supported.
  # @!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.
  #
  # **Note:** This configuration is not supported.
  # @!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.
  #
  # **Note:** This configuration is not supported.
  # @!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`.
  #
  #     **Note:** This field is not supported.
  # @!attribute [rw] low_boost
  #   @return [::Boolean]
  #     Enable boosting low frequency components. The default is `false`.
  #
  #     **Note:** This field is not supported.
  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

  # Deinterlace configuration for input video.
  # @!attribute [rw] yadif
  #   @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::YadifConfig]
  #     Specifies the Yet Another Deinterlacing Filter Configuration.
  #
  #     Note: The following fields are mutually exclusive: `yadif`, `bwdif`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] bwdif
  #   @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::BwdifConfig]
  #     Specifies the Bob Weaver Deinterlacing Filter Configuration.
  #
  #     Note: The following fields are mutually exclusive: `bwdif`, `yadif`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class Deinterlace
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Yet Another Deinterlacing Filter Configuration.
    # @!attribute [rw] mode
    #   @return [::String]
    #     Specifies the deinterlacing mode to adopt.
    #     The default is `send_frame`.
    #     Supported values:
    #
    #     - `send_frame`: Output one frame for each frame
    #     - `send_field`: Output one frame for each field
    # @!attribute [rw] disable_spatial_interlacing
    #   @return [::Boolean]
    #     Disable spacial interlacing.
    #     The default is `false`.
    # @!attribute [rw] parity
    #   @return [::String]
    #     The picture field parity assumed for the input interlaced video.
    #     The default is `auto`.
    #     Supported values:
    #
    #     - `tff`: Assume the top field is first
    #     - `bff`: Assume the bottom field is first
    #     - `auto`: Enable automatic detection of field parity
    # @!attribute [rw] deinterlace_all_frames
    #   @return [::Boolean]
    #     Deinterlace all frames rather than just the frames identified as
    #     interlaced. The default is `false`.
    class YadifConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Bob Weaver Deinterlacing Filter Configuration.
    # @!attribute [rw] mode
    #   @return [::String]
    #     Specifies the deinterlacing mode to adopt.
    #     The default is `send_frame`.
    #     Supported values:
    #
    #     - `send_frame`: Output one frame for each frame
    #     - `send_field`: Output one frame for each field
    # @!attribute [rw] parity
    #   @return [::String]
    #     The picture field parity assumed for the input interlaced video.
    #     The default is `auto`.
    #     Supported values:
    #
    #     - `tff`: Assume the top field is first
    #     - `bff`: Assume the bottom field is first
    #     - `auto`: Enable automatic detection of field parity
    # @!attribute [rw] deinterlace_all_frames
    #   @return [::Boolean]
    #     Deinterlace all frames rather than just the frames identified as
    #     interlaced. The default is `false`.
    class BwdifConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#deinterlace::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace

Returns Specify the video deinterlace configuration.

Returns:



725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 725

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

  # Color preprocessing configuration.
  #
  # **Note:** This configuration is not supported.
  # @!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.
  #
  # **Note:** This configuration is not supported.
  # @!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.
  #
  # **Note:** This configuration is not supported.
  # @!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`.
  #
  #     **Note:** This field is not supported.
  # @!attribute [rw] low_boost
  #   @return [::Boolean]
  #     Enable boosting low frequency components. The default is `false`.
  #
  #     **Note:** This field is not supported.
  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

  # Deinterlace configuration for input video.
  # @!attribute [rw] yadif
  #   @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::YadifConfig]
  #     Specifies the Yet Another Deinterlacing Filter Configuration.
  #
  #     Note: The following fields are mutually exclusive: `yadif`, `bwdif`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] bwdif
  #   @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::BwdifConfig]
  #     Specifies the Bob Weaver Deinterlacing Filter Configuration.
  #
  #     Note: The following fields are mutually exclusive: `bwdif`, `yadif`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class Deinterlace
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Yet Another Deinterlacing Filter Configuration.
    # @!attribute [rw] mode
    #   @return [::String]
    #     Specifies the deinterlacing mode to adopt.
    #     The default is `send_frame`.
    #     Supported values:
    #
    #     - `send_frame`: Output one frame for each frame
    #     - `send_field`: Output one frame for each field
    # @!attribute [rw] disable_spatial_interlacing
    #   @return [::Boolean]
    #     Disable spacial interlacing.
    #     The default is `false`.
    # @!attribute [rw] parity
    #   @return [::String]
    #     The picture field parity assumed for the input interlaced video.
    #     The default is `auto`.
    #     Supported values:
    #
    #     - `tff`: Assume the top field is first
    #     - `bff`: Assume the bottom field is first
    #     - `auto`: Enable automatic detection of field parity
    # @!attribute [rw] deinterlace_all_frames
    #   @return [::Boolean]
    #     Deinterlace all frames rather than just the frames identified as
    #     interlaced. The default is `false`.
    class YadifConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Bob Weaver Deinterlacing Filter Configuration.
    # @!attribute [rw] mode
    #   @return [::String]
    #     Specifies the deinterlacing mode to adopt.
    #     The default is `send_frame`.
    #     Supported values:
    #
    #     - `send_frame`: Output one frame for each frame
    #     - `send_field`: Output one frame for each field
    # @!attribute [rw] parity
    #   @return [::String]
    #     The picture field parity assumed for the input interlaced video.
    #     The default is `auto`.
    #     Supported values:
    #
    #     - `tff`: Assume the top field is first
    #     - `bff`: Assume the bottom field is first
    #     - `auto`: Enable automatic detection of field parity
    # @!attribute [rw] deinterlace_all_frames
    #   @return [::Boolean]
    #     Deinterlace all frames rather than just the frames identified as
    #     interlaced. The default is `false`.
    class BwdifConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

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

Returns Denoise preprocessing configuration.

Returns:



725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 725

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

  # Color preprocessing configuration.
  #
  # **Note:** This configuration is not supported.
  # @!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.
  #
  # **Note:** This configuration is not supported.
  # @!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.
  #
  # **Note:** This configuration is not supported.
  # @!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`.
  #
  #     **Note:** This field is not supported.
  # @!attribute [rw] low_boost
  #   @return [::Boolean]
  #     Enable boosting low frequency components. The default is `false`.
  #
  #     **Note:** This field is not supported.
  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

  # Deinterlace configuration for input video.
  # @!attribute [rw] yadif
  #   @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::YadifConfig]
  #     Specifies the Yet Another Deinterlacing Filter Configuration.
  #
  #     Note: The following fields are mutually exclusive: `yadif`, `bwdif`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] bwdif
  #   @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::BwdifConfig]
  #     Specifies the Bob Weaver Deinterlacing Filter Configuration.
  #
  #     Note: The following fields are mutually exclusive: `bwdif`, `yadif`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class Deinterlace
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Yet Another Deinterlacing Filter Configuration.
    # @!attribute [rw] mode
    #   @return [::String]
    #     Specifies the deinterlacing mode to adopt.
    #     The default is `send_frame`.
    #     Supported values:
    #
    #     - `send_frame`: Output one frame for each frame
    #     - `send_field`: Output one frame for each field
    # @!attribute [rw] disable_spatial_interlacing
    #   @return [::Boolean]
    #     Disable spacial interlacing.
    #     The default is `false`.
    # @!attribute [rw] parity
    #   @return [::String]
    #     The picture field parity assumed for the input interlaced video.
    #     The default is `auto`.
    #     Supported values:
    #
    #     - `tff`: Assume the top field is first
    #     - `bff`: Assume the bottom field is first
    #     - `auto`: Enable automatic detection of field parity
    # @!attribute [rw] deinterlace_all_frames
    #   @return [::Boolean]
    #     Deinterlace all frames rather than just the frames identified as
    #     interlaced. The default is `false`.
    class YadifConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Bob Weaver Deinterlacing Filter Configuration.
    # @!attribute [rw] mode
    #   @return [::String]
    #     Specifies the deinterlacing mode to adopt.
    #     The default is `send_frame`.
    #     Supported values:
    #
    #     - `send_frame`: Output one frame for each frame
    #     - `send_field`: Output one frame for each field
    # @!attribute [rw] parity
    #   @return [::String]
    #     The picture field parity assumed for the input interlaced video.
    #     The default is `auto`.
    #     Supported values:
    #
    #     - `tff`: Assume the top field is first
    #     - `bff`: Assume the bottom field is first
    #     - `auto`: Enable automatic detection of field parity
    # @!attribute [rw] deinterlace_all_frames
    #   @return [::Boolean]
    #     Deinterlace all frames rather than just the frames identified as
    #     interlaced. The default is `false`.
    class BwdifConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

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

Returns Specify the video pad filter configuration.

Returns:



725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 725

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

  # Color preprocessing configuration.
  #
  # **Note:** This configuration is not supported.
  # @!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.
  #
  # **Note:** This configuration is not supported.
  # @!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.
  #
  # **Note:** This configuration is not supported.
  # @!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`.
  #
  #     **Note:** This field is not supported.
  # @!attribute [rw] low_boost
  #   @return [::Boolean]
  #     Enable boosting low frequency components. The default is `false`.
  #
  #     **Note:** This field is not supported.
  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

  # Deinterlace configuration for input video.
  # @!attribute [rw] yadif
  #   @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::YadifConfig]
  #     Specifies the Yet Another Deinterlacing Filter Configuration.
  #
  #     Note: The following fields are mutually exclusive: `yadif`, `bwdif`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] bwdif
  #   @return [::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig::Deinterlace::BwdifConfig]
  #     Specifies the Bob Weaver Deinterlacing Filter Configuration.
  #
  #     Note: The following fields are mutually exclusive: `bwdif`, `yadif`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class Deinterlace
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Yet Another Deinterlacing Filter Configuration.
    # @!attribute [rw] mode
    #   @return [::String]
    #     Specifies the deinterlacing mode to adopt.
    #     The default is `send_frame`.
    #     Supported values:
    #
    #     - `send_frame`: Output one frame for each frame
    #     - `send_field`: Output one frame for each field
    # @!attribute [rw] disable_spatial_interlacing
    #   @return [::Boolean]
    #     Disable spacial interlacing.
    #     The default is `false`.
    # @!attribute [rw] parity
    #   @return [::String]
    #     The picture field parity assumed for the input interlaced video.
    #     The default is `auto`.
    #     Supported values:
    #
    #     - `tff`: Assume the top field is first
    #     - `bff`: Assume the bottom field is first
    #     - `auto`: Enable automatic detection of field parity
    # @!attribute [rw] deinterlace_all_frames
    #   @return [::Boolean]
    #     Deinterlace all frames rather than just the frames identified as
    #     interlaced. The default is `false`.
    class YadifConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Bob Weaver Deinterlacing Filter Configuration.
    # @!attribute [rw] mode
    #   @return [::String]
    #     Specifies the deinterlacing mode to adopt.
    #     The default is `send_frame`.
    #     Supported values:
    #
    #     - `send_frame`: Output one frame for each frame
    #     - `send_field`: Output one frame for each field
    # @!attribute [rw] parity
    #   @return [::String]
    #     The picture field parity assumed for the input interlaced video.
    #     The default is `auto`.
    #     Supported values:
    #
    #     - `tff`: Assume the top field is first
    #     - `bff`: Assume the bottom field is first
    #     - `auto`: Enable automatic detection of field parity
    # @!attribute [rw] deinterlace_all_frames
    #   @return [::Boolean]
    #     Deinterlace all frames rather than just the frames identified as
    #     interlaced. The default is `false`.
    class BwdifConfig
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end