-
Notifications
You must be signed in to change notification settings - Fork 10
/
EnhancedDeinterlaceFilter.ts
50 lines (43 loc) · 1.28 KB
/
EnhancedDeinterlaceFilter.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import {map, mapArray} from '../common/Mapper';
import EnhancedDeinterlaceAutoEnable from './EnhancedDeinterlaceAutoEnable';
import EnhancedDeinterlaceMode from './EnhancedDeinterlaceMode';
import EnhancedDeinterlaceParity from './EnhancedDeinterlaceParity';
import Filter from './Filter';
import FilterType from './FilterType';
/**
* @export
* @class EnhancedDeinterlaceFilter
*/
export class EnhancedDeinterlaceFilter extends Filter {
/**
* Discriminator property for Filter
* @type {string}
* @memberof EnhancedDeinterlaceFilter
*/
public readonly type: FilterType = FilterType.ENHANCED_DEINTERLACE;
/**
* @type {EnhancedDeinterlaceParity}
* @memberof EnhancedDeinterlaceFilter
*/
public parity?: EnhancedDeinterlaceParity;
/**
* @type {EnhancedDeinterlaceMode}
* @memberof EnhancedDeinterlaceFilter
*/
public mode?: EnhancedDeinterlaceMode;
/**
* @type {EnhancedDeinterlaceAutoEnable}
* @memberof EnhancedDeinterlaceFilter
*/
public autoEnable?: EnhancedDeinterlaceAutoEnable;
constructor(obj?: Partial<EnhancedDeinterlaceFilter>) {
super(obj);
if(!obj) {
return;
}
this.parity = map(obj.parity);
this.mode = map(obj.mode);
this.autoEnable = map(obj.autoEnable);
}
}
export default EnhancedDeinterlaceFilter;