import AutoLevelSetup from './AutoLevelSetup'; import Av1DynamicRangeFormat from './Av1DynamicRangeFormat'; import Av1PresetConfiguration from './Av1PresetConfiguration'; import CodecConfigType from './CodecConfigType'; import LevelAv1 from './LevelAv1'; import VideoConfiguration from './VideoConfiguration'; /** * @export * @class Av1VideoConfiguration */ export declare class Av1VideoConfiguration extends VideoConfiguration { /** * Discriminator property for CodecConfiguration * @type {string} * @memberof Av1VideoConfiguration */ readonly type: CodecConfigType; /** * Use a set of well defined configurations preset to support certain use cases. Can be overwritten with more specific values. * @type {Av1PresetConfiguration} * @memberof Av1VideoConfiguration */ presetConfiguration?: Av1PresetConfiguration; /** * Enable/disable automatic calculation of level, maxBitrate, and bufsize based on the least level that satisfies maximum property values for picture resolution, frame rate, and bit rate. In the case the target level is set explicitly, the maximum bitrate and buffer size are calculated based on the defined level. Explicitly setting maxBitrate, or bufsize properties will disable the automatic calculation. * @type {AutoLevelSetup} * @memberof Av1VideoConfiguration */ autoLevelSetup?: AutoLevelSetup; /** * Upper bound for the automatically calculated level. The level determined by autoLevelSetup is clamped to this value, so the encoder never signals a level higher than the one given here. If the target bitrate does not fit within this level, the encoder constrains the bitrate distribution to stay conformant rather than raising the level. Has no effect when autoLevelSetup is disabled. * @type {LevelAv1} * @memberof Av1VideoConfiguration */ maxLevel?: LevelAv1; /** * Configures what kind of dynamic range the output should conform to. * @type {Av1DynamicRangeFormat} * @memberof Av1VideoConfiguration */ dynamicRangeFormat?: Av1DynamicRangeFormat; /** * Set the mastering display color volume metadata. The chromaticity coordinates for the green (G), blue (B), red (R) primaries and the white point (WP) are given in increments of 0.00002 (i.e. multiply the actual value by 50000), and the luminance values (L) are given in increments of 0.0001 cd/m² (i.e. multiply the actual value by 10000). For example `G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)` describes a P3D65 1000-nits monitor, where G(x=0.265, y=0.690), B(x=0.150, y=0.060), R(x=0.680, y=0.320), WP(x=0.3127, y=0.3290), L(max=1000, min=0.0001). Part of HDR-10 metadata. * @type {string} * @memberof Av1VideoConfiguration */ masterDisplay?: string; /** * Set the max content light level (MaxCLL). Use together with maxPictureAverageLightLevel (which will be 0 if not set). Part of HDR-10 metadata. * @type {number} * @memberof Av1VideoConfiguration */ maxContentLightLevel?: number; /** * Set the maximum picture average light level (MaxFALL). Use together with maxContentLightLevel (which will be 0 if not set). Part of HDR-10 metadata. * @type {number} * @memberof Av1VideoConfiguration */ maxPictureAverageLightLevel?: number; constructor(obj?: Partial); } export default Av1VideoConfiguration;