/** * mdss_dp_test_bit_depth_to_bpp() - convert test bit depth to bpp * @tbd: test bit depth * * Returns the bits per pixel (bpp) to be used corresponding to the * git bit depth value. This function assumes that bit depth has * already been validated.
*/ staticinline u32 msm_dp_link_bit_depth_to_bpp(u32 tbd)
{ /* * Few simplistic rules and assumptions made here: * 1. Bit depth is per color component * 2. If bit depth is unknown return 0 * 3. Assume 3 color components
*/ switch (tbd) { case DP_TEST_BIT_DEPTH_6: return 18; case DP_TEST_BIT_DEPTH_8: return 24; case DP_TEST_BIT_DEPTH_10: return 30; case DP_TEST_BIT_DEPTH_UNKNOWN: default: return 0;
}
}
/** * msm_dp_link_get() - get the functionalities of dp test module * * * return: a pointer to msm_dp_link struct
*/ struct msm_dp_link *msm_dp_link_get(struct device *dev, struct drm_dp_aux *aux);
#endif/* _DP_LINK_H_ */
Messung V0.5
¤ Dauer der Verarbeitung: 0.19 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.