Class: Google::Apis::TranscoderV1::Deinterlace

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/transcoder_v1/classes.rb,
lib/google/apis/transcoder_v1/representations.rb,
lib/google/apis/transcoder_v1/representations.rb

Overview

Deinterlace configuration for input video.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Deinterlace

Returns a new instance of Deinterlace.



526
527
528
# File 'lib/google/apis/transcoder_v1/classes.rb', line 526

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bwdifGoogle::Apis::TranscoderV1::BwdifConfig

Bob Weaver Deinterlacing Filter Configuration. Corresponds to the JSON property bwdif



519
520
521
# File 'lib/google/apis/transcoder_v1/classes.rb', line 519

def bwdif
  @bwdif
end

#yadifGoogle::Apis::TranscoderV1::YadifConfig

Yet Another Deinterlacing Filter Configuration. Corresponds to the JSON property yadif



524
525
526
# File 'lib/google/apis/transcoder_v1/classes.rb', line 524

def yadif
  @yadif
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



531
532
533
534
# File 'lib/google/apis/transcoder_v1/classes.rb', line 531

def update!(**args)
  @bwdif = args[:bwdif] if args.key?(:bwdif)
  @yadif = args[:yadif] if args.key?(:yadif)
end