| Total Complexity | 2 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class YadifVideoFilter extends AbstractVideoFilter implements VideoFilterTypeDeintInterface |
||
| 8 | { |
||
| 9 | public const DEFAULT_MODE = 0; |
||
| 10 | public const DEFAULT_PARITY = -1; |
||
| 11 | public const DEFAULT_DEINT = 0; |
||
| 12 | |||
| 13 | /** @var array<string, int> */ |
||
| 14 | protected $options = [ |
||
| 15 | 'mode' => self::DEFAULT_MODE, |
||
| 16 | 'parity' => self::DEFAULT_PARITY, |
||
| 17 | 'deint' => self::DEFAULT_DEINT, |
||
| 18 | ]; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param int $mode The interlacing mode to adopt (0, send_frame Output one frame for each frame) |
||
| 22 | * @param int $parity default=-1 Enable automatic detection of field parity. 0: |
||
| 23 | * @param int $deint Specify which frames to deinterlace (0: all - Deinterlace all frames.) |
||
| 24 | */ |
||
| 25 | 1 | public function __construct(int $mode = self::DEFAULT_MODE, int $parity = self::DEFAULT_PARITY, int $deint = self::DEFAULT_DEINT) |
|
| 31 | ]; |
||
| 32 | 1 | } |
|
| 33 | |||
| 34 | 1 | public function getFFmpegCLIValue(): string |
|
| 46 |