summaryrefslogtreecommitdiff
path: root/cesar/ce/rx/bitloading/inc/bitloading.h
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/ce/rx/bitloading/inc/bitloading.h')
-rw-r--r--cesar/ce/rx/bitloading/inc/bitloading.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/cesar/ce/rx/bitloading/inc/bitloading.h b/cesar/ce/rx/bitloading/inc/bitloading.h
index 42e970cd93..5fd08f5138 100644
--- a/cesar/ce/rx/bitloading/inc/bitloading.h
+++ b/cesar/ce/rx/bitloading/inc/bitloading.h
@@ -170,6 +170,20 @@ ce_rx_bl_compute_tone_map_iterative (const u64 bpt_initial[PHY_FEC_RATE_NB],
tonemask_info_t *reducedtm,
ce_rx_bitloading_t *bl);
+/**
+ * Compute the worst case tonemap from a given set of tonemap. The worst case
+ * tonemap is defined as the tonemap using the worst modulation of the
+ * tonemaps in the set for each tone.
+ * \param ce_rx CE RX context.
+ * \param tms set of tonemap in which are the tonemap to use.
+ * \param tm_list set of tonemap to use represented as a bitfield of the
+ * corresponding tonemap indexes.
+ * \return tonemap index of the created tonemap. ROBO if the new tonemap is
+ * worse than ROBO or if ROBO is in the set of tonemap to use.
+ */
+uint
+ce_rx_bl_compute_worst_case_tm (ce_rx_t *ce_rx, tonemaps_t *tms, u32 tm_list);
+
END_DECLS
#endif /* ce_rx_bitloading_inc_bitloading_h */