Class: Google::Apis::TranscoderV1::YadifConfig
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::YadifConfig
- 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
Yet Another 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.
-
#disable_spatial_interlacing ⇒ Boolean
(also: #disable_spatial_interlacing?)
Disable spacial interlacing.
-
#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) ⇒ YadifConfig
constructor
A new instance of YadifConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ YadifConfig
Returns a new instance of YadifConfig.
2447 2448 2449 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2447 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
2423 2424 2425 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2423 def deinterlace_all_frames @deinterlace_all_frames end |
#disable_spatial_interlacing ⇒ Boolean Also known as: disable_spatial_interlacing?
Disable spacial interlacing. The default is false
.
Corresponds to the JSON property disableSpatialInterlacing
2429 2430 2431 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2429 def disable_spatial_interlacing @disable_spatial_interlacing 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
2437 2438 2439 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2437 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
2445 2446 2447 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2445 def parity @parity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2452 2453 2454 2455 2456 2457 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2452 def update!(**args) @deinterlace_all_frames = args[:deinterlace_all_frames] if args.key?(:deinterlace_all_frames) @disable_spatial_interlacing = args[:disable_spatial_interlacing] if args.key?(:disable_spatial_interlacing) @mode = args[:mode] if args.key?(:mode) @parity = args[:parity] if args.key?(:parity) end |