MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / __init__

Method __init__

Test/testlib/encoder.py:68–79  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected