summaryrefslogtreecommitdiff
path: root/cesar/ce/rx/bitloading/context.h
diff options
context:
space:
mode:
authorCyril Jourdan2013-03-27 17:52:04 +0100
committerCyril Jourdan2013-04-18 16:42:05 +0200
commit4be0332474452adb67ef4e59d5750af2a12f7e61 (patch)
tree6ac0325da6305f12621a82a5eacb57d38f8795b3 /cesar/ce/rx/bitloading/context.h
parent277d149f4d5e5ccd3b6a2cf666db75d83bf77539 (diff)
cesar/ce/rx/bl: indicate if we should use ROBO as default TM, refs #2588
The goal is to help us to update the default tonemap when an interval is restarting.
Diffstat (limited to 'cesar/ce/rx/bitloading/context.h')
-rw-r--r--cesar/ce/rx/bitloading/context.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/cesar/ce/rx/bitloading/context.h b/cesar/ce/rx/bitloading/context.h
index 2d9f86e471..7e914883b7 100644
--- a/cesar/ce/rx/bitloading/context.h
+++ b/cesar/ce/rx/bitloading/context.h
@@ -182,6 +182,15 @@ typedef struct ce_rx_bitloading_t
ce_rx_bl_bmu_t bmu;
/** Actual bit-loading failed to optimize tone map as much as possible. */
bool optimization_failed;
+ /** Use ROBO for default tonemap?
+ * The goal of this field is to allow us to update default tonemap when
+ * intervals are activated. When one interval is restarting, it can use
+ * this field to indicate that channel quality may be decreasing
+ * significantly and that we should use ROBO as the default tonemap,
+ * at least temporarily.
+ * /!\ This field is only valid between interval reset and tonemap
+ * calculation and with intervals activated! */
+ bool default_robo;
} ce_rx_bitloading_t;
#endif /* ce_rx_bitloading_context_h */