UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

33 lines (32 loc) 1.35 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.H265V2VideoConfiguration = void 0; const Mapper_1 = require("../common/Mapper"); const CodecConfigType_1 = require("./CodecConfigType"); const H265V2RateControlModeConfig_1 = require("./H265V2RateControlModeConfig"); const VideoConfiguration_1 = require("./VideoConfiguration"); /** * @export * @class H265V2VideoConfiguration */ class H265V2VideoConfiguration extends VideoConfiguration_1.default { constructor(obj) { super(obj); /** * Discriminator property for CodecConfiguration * @type {string} * @memberof H265V2VideoConfiguration */ this.type = CodecConfigType_1.default.H265V2; if (!obj) { return; } this.presetConfiguration = (0, Mapper_1.map)(obj.presetConfiguration); this.dynamicRangeFormat = (0, Mapper_1.map)(obj.dynamicRangeFormat); this.rateControlModeConfig = (0, Mapper_1.map)(obj.rateControlModeConfig, H265V2RateControlModeConfig_1.default); this.motionCompensatedTemporalFiltering = (0, Mapper_1.map)(obj.motionCompensatedTemporalFiltering); this.levelHighTier = (0, Mapper_1.map)(obj.levelHighTier); } } exports.H265V2VideoConfiguration = H265V2VideoConfiguration; exports.default = H265V2VideoConfiguration;