UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

47 lines (46 loc) 1.64 kB
import Filter from './Filter'; import FilterType from './FilterType'; import ScalingAlgorithm from './ScalingAlgorithm'; /** * @export * @class ScaleFilter */ export declare class ScaleFilter extends Filter { /** * Discriminator property for Filter * @type {string} * @memberof ScaleFilter */ readonly type: FilterType; /** * The width of the output frame in pixels. If not set it will be based on the configured height by maintaining the original aspect ratio. If height is also not set, the original source dimensions will be applied. * @type {number} * @memberof ScaleFilter */ width?: number; /** * The height of the output frame in pixels. If not set it will be based on the configured width by maintaining the original aspect ratio. If width is also not set, the original source dimensions will be applied. * @type {number} * @memberof ScaleFilter */ height?: number; /** * @type {ScalingAlgorithm} * @memberof ScaleFilter */ scalingAlgorithm?: ScalingAlgorithm; /** * The numerator of the sample aspect ratio (also known as pixel aspect ratio). Must be set if sampleAspectRatioDenominator is set. * @type {number} * @memberof ScaleFilter */ sampleAspectRatioNumerator?: number; /** * The denominator of the sample aspect ratio (also known as pixel aspect ratio). Must be set if sampleAspectRatioNumerator is set. * @type {number} * @memberof ScaleFilter */ sampleAspectRatioDenominator?: number; constructor(obj?: Partial<ScaleFilter>); } export default ScaleFilter;