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

Method set_ref_2plane

Source/astcenc_internal.h:497–500  ·  view source on GitHub ↗

* @brief Set a 2 plane weight quant as active. * * @param weight_quant The quant method to set. */

Source from the content-addressed store, hash-verified

495 * @param weight_quant The quant method to set.
496 */
497 void set_ref_2plane(quant_method weight_quant)
498 {
499 refprec_2planes |= static_cast<uint16_t>(1 << weight_quant);
500 }
501
502 /**
503 * @brief Test if this mode is active below a given 2 plane weight quant (inclusive).

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected