@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
61 lines (60 loc) • 3.05 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Vp9VideoConfiguration = void 0;
const Mapper_1 = require("../common/Mapper");
const CodecConfigType_1 = require("./CodecConfigType");
const VideoConfiguration_1 = require("./VideoConfiguration");
/**
* @export
* @class Vp9VideoConfiguration
*/
class Vp9VideoConfiguration extends VideoConfiguration_1.default {
constructor(obj) {
super(obj);
/**
* Discriminator property for CodecConfiguration
* @type {string}
* @memberof Vp9VideoConfiguration
*/
this.type = CodecConfigType_1.default.VP9;
if (!obj) {
return;
}
this.presetConfiguration = (0, Mapper_1.map)(obj.presetConfiguration);
this.dynamicRangeFormat = (0, Mapper_1.map)(obj.dynamicRangeFormat);
this.crf = (0, Mapper_1.map)(obj.crf);
this.lagInFrames = (0, Mapper_1.map)(obj.lagInFrames);
this.errorResiliencyEnabled = (0, Mapper_1.map)(obj.errorResiliencyEnabled);
this.tileColumns = (0, Mapper_1.map)(obj.tileColumns);
this.tileRows = (0, Mapper_1.map)(obj.tileRows);
this.frameParallel = (0, Mapper_1.map)(obj.frameParallel);
this.maxIntraRate = (0, Mapper_1.map)(obj.maxIntraRate);
this.qpMin = (0, Mapper_1.map)(obj.qpMin);
this.qpMax = (0, Mapper_1.map)(obj.qpMax);
this.rateUndershootPct = (0, Mapper_1.map)(obj.rateUndershootPct);
this.rateOvershootPct = (0, Mapper_1.map)(obj.rateOvershootPct);
this.clientBufferSize = (0, Mapper_1.map)(obj.clientBufferSize);
this.clientInitialBufferSize = (0, Mapper_1.map)(obj.clientInitialBufferSize);
this.biasPct = (0, Mapper_1.map)(obj.biasPct);
this.noiseSensitivity = (0, Mapper_1.map)(obj.noiseSensitivity);
this.cpuUsed = (0, Mapper_1.map)(obj.cpuUsed);
this.automaticAltRefFramesEnabled = (0, Mapper_1.map)(obj.automaticAltRefFramesEnabled);
this.targetLevel = (0, Mapper_1.map)(obj.targetLevel);
this.rowMultiThreadingEnabled = (0, Mapper_1.map)(obj.rowMultiThreadingEnabled);
this.sharpness = (0, Mapper_1.map)(obj.sharpness);
this.minGop = (0, Mapper_1.map)(obj.minGop);
this.maxGop = (0, Mapper_1.map)(obj.maxGop);
this.minKeyframeInterval = (0, Mapper_1.map)(obj.minKeyframeInterval);
this.maxKeyframeInterval = (0, Mapper_1.map)(obj.maxKeyframeInterval);
this.quality = (0, Mapper_1.map)(obj.quality);
this.lossless = (0, Mapper_1.map)(obj.lossless);
this.staticThresh = (0, Mapper_1.map)(obj.staticThresh);
this.aqMode = (0, Mapper_1.map)(obj.aqMode);
this.arnrMaxFrames = (0, Mapper_1.map)(obj.arnrMaxFrames);
this.arnrStrength = (0, Mapper_1.map)(obj.arnrStrength);
this.arnrType = (0, Mapper_1.map)(obj.arnrType);
this.autoLevelSetup = (0, Mapper_1.map)(obj.autoLevelSetup);
}
}
exports.Vp9VideoConfiguration = Vp9VideoConfiguration;
exports.default = Vp9VideoConfiguration;