UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

46 lines (45 loc) 1.98 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Vp8VideoConfiguration = void 0; const Mapper_1 = require("../common/Mapper"); const CodecConfigType_1 = require("./CodecConfigType"); const VideoConfiguration_1 = require("./VideoConfiguration"); /** * @export * @class Vp8VideoConfiguration */ class Vp8VideoConfiguration extends VideoConfiguration_1.default { constructor(obj) { super(obj); /** * Discriminator property for CodecConfiguration * @type {string} * @memberof Vp8VideoConfiguration */ this.type = CodecConfigType_1.default.VP8; if (!obj) { return; } this.crf = (0, Mapper_1.map)(obj.crf); this.lagInFrames = (0, Mapper_1.map)(obj.lagInFrames); 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.cpuUsed = (0, Mapper_1.map)(obj.cpuUsed); this.noiseSensitivity = (0, Mapper_1.map)(obj.noiseSensitivity); 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.staticThresh = (0, Mapper_1.map)(obj.staticThresh); this.arnrMaxFrames = (0, Mapper_1.map)(obj.arnrMaxFrames); this.arnrStrength = (0, Mapper_1.map)(obj.arnrStrength); this.arnrType = (0, Mapper_1.map)(obj.arnrType); } } exports.Vp8VideoConfiguration = Vp8VideoConfiguration; exports.default = Vp8VideoConfiguration;