Class: Google::Apis::TranscoderV1::BwdifConfig
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::BwdifConfig
- 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
Bob Weaver Deinterlacing Filter Configuration.
Instance Attribute Summary collapse
-
#deinterlace_all_frames ⇒ Boolean
(also: #deinterlace_all_frames?)
Deinterlace all frames rather than just the frames identified as interlaced.
-
#mode ⇒ String
Specifies the deinterlacing mode to adopt.
-
#parity ⇒ String
The picture field parity assumed for the input interlaced video.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BwdifConfig
constructor
A new instance of BwdifConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BwdifConfig
Returns a new instance of BwdifConfig.
363 364 365 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 363 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deinterlace_all_frames ⇒ Boolean Also known as: deinterlace_all_frames?
Deinterlace all frames rather than just the frames identified as interlaced.
The default is false
.
Corresponds to the JSON property deinterlaceAllFrames
345 346 347 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 345 def deinterlace_all_frames @deinterlace_all_frames end |
#mode ⇒ 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
Corresponds to the JSON property mode
353 354 355 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 353 def mode @mode end |
#parity ⇒ 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
Corresponds to the JSON property parity
361 362 363 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 361 def parity @parity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
368 369 370 371 372 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 368 def update!(**args) @deinterlace_all_frames = args[:deinterlace_all_frames] if args.key?(:deinterlace_all_frames) @mode = args[:mode] if args.key?(:mode) @parity = args[:parity] if args.key?(:parity) end |