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

Method get_coding_rate_pattern

Test/testlib/encoder.py:209–218  ·  view source on GitHub ↗

Get the regex pattern to match the coding rate. Return: The regex pattern.

(self)

Source from the content-addressed store, hash-verified

207 return re.compile('^(?!x)x$')
208
209 def get_coding_rate_pattern(self) -> re.Pattern:
210 '''
211 Get the regex pattern to match the coding rate.
212
213 Return:
214 The regex pattern.
215 '''
216 # pylint: disable=unused-argument,redundant-returns-doc
217 assert False, 'Missing subclass implementation'
218 return re.compile('^(?!x)x$')
219
220 def run_test(self, image: TestImage, block_size: str, preset: str,
221 repeats: int, keep_output: bool = True,

Callers 1

parse_outputMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected