-
Notifications
You must be signed in to change notification settings - Fork 10
/
InterlaceFilter.ts
42 lines (36 loc) · 999 Bytes
/
InterlaceFilter.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
import {map, mapArray} from '../common/Mapper';
import Filter from './Filter';
import FilterType from './FilterType';
import InterlaceMode from './InterlaceMode';
import VerticalLowPassFilteringMode from './VerticalLowPassFilteringMode';
/**
* @export
* @class InterlaceFilter
*/
export class InterlaceFilter extends Filter {
/**
* Discriminator property for Filter
* @type {string}
* @memberof InterlaceFilter
*/
public readonly type: FilterType = FilterType.INTERLACE;
/**
* @type {InterlaceMode}
* @memberof InterlaceFilter
*/
public mode?: InterlaceMode;
/**
* @type {VerticalLowPassFilteringMode}
* @memberof InterlaceFilter
*/
public verticalLowPassFilteringMode?: VerticalLowPassFilteringMode;
constructor(obj?: Partial<InterlaceFilter>) {
super(obj);
if(!obj) {
return;
}
this.mode = map(obj.mode);
this.verticalLowPassFilteringMode = map(obj.verticalLowPassFilteringMode);
}
}
export default InterlaceFilter;