Build the command line needed for the given test. Args: image: The test image to compress. block_size: The block size to use. preset: The quality preset to use. keep_output: Should the test preserve output images? This is a hint
(self, image: TestImage, block_size: str = '6x6',
preset: str = '-thorough', keep_output: bool = True,
threads: Optional[int] = None)
| 79 | self.binary_path = binary_path |
| 80 | |
| 81 | def build_cli(self, image: TestImage, block_size: str = '6x6', |
| 82 | preset: str = '-thorough', keep_output: bool = True, |
| 83 | threads: Optional[int] = None) -> list[str]: |
| 84 | ''' |
| 85 | Build the command line needed for the given test. |
| 86 | |
| 87 | Args: |
| 88 | image: The test image to compress. |
| 89 | block_size: The block size to use. |
| 90 | preset: The quality preset to use. |
| 91 | keep_output: Should the test preserve output images? This is a hint |
| 92 | and may be ignored if astcenc version used can't do it. |
| 93 | threads: The thread count to use. |
| 94 | |
| 95 | Return: |
| 96 | The command line arguments for this encoder version. |
| 97 | ''' |
| 98 | # pylint: disable=unused-argument,redundant-returns-doc |
| 99 | assert False, 'Missing subclass implementation' |
| 100 | |
| 101 | def execute(self, command: list[str]) -> list[str]: |
| 102 | ''' |