Create a new encoder instance. Args: name: The name of the encoder. variant: The SIMD variant of the encoder. binary: The path to the binary on the file system.
(self, name: str, variant: str, binary_path: Path)
| 66 | remap_output_types: dict[str, str] = {} |
| 67 | |
| 68 | def __init__(self, name: str, variant: str, binary_path: Path): |
| 69 | ''' |
| 70 | Create a new encoder instance. |
| 71 | |
| 72 | Args: |
| 73 | name: The name of the encoder. |
| 74 | variant: The SIMD variant of the encoder. |
| 75 | binary: The path to the binary on the file system. |
| 76 | ''' |
| 77 | self.name = name |
| 78 | self.variant = variant |
| 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, |
nothing calls this directly
no outgoing calls
no test coverage detected