summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorZaggy1024 <zaggy1024@gmail.com>2022-11-06 15:01:55 -0600
committerAndrew Kaster <andrewdkaster@gmail.com>2022-11-12 10:17:27 -0700
commit69e6feaf3221acea63a660f2ba4f44b419f48379 (patch)
tree7b41ff0f9bda26acaee4f1a9d6c34bf9e175b9ff /Userland
parent17e1b205a4a85d55111a9023cb18c4573f57cd8d (diff)
downloadserenity-69e6feaf3221acea63a660f2ba4f44b419f48379.zip
LibVideo: Add const getters to VP9/ProbabilityTables.h
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibVideo/VP9/ProbabilityTables.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/Userland/Libraries/LibVideo/VP9/ProbabilityTables.h b/Userland/Libraries/LibVideo/VP9/ProbabilityTables.h
index ab91fc4d92..1f42382880 100644
--- a/Userland/Libraries/LibVideo/VP9/ProbabilityTables.h
+++ b/Userland/Libraries/LibVideo/VP9/ProbabilityTables.h
@@ -53,26 +53,47 @@ public:
KfUVModeProbs const& kf_uv_mode_prob() const;
PartitionProbs& partition_probs() { return m_current_probability_table.partition_probs; };
+ PartitionProbs const& partition_probs() const { return m_current_probability_table.partition_probs; };
YModeProbs& y_mode_probs() { return m_current_probability_table.y_mode_probs; };
+ YModeProbs const& y_mode_probs() const { return m_current_probability_table.y_mode_probs; };
UVModeProbs& uv_mode_probs() { return m_current_probability_table.uv_mode_probs; };
+ UVModeProbs const& uv_mode_probs() const { return m_current_probability_table.uv_mode_probs; };
SkipProb& skip_prob() { return m_current_probability_table.skip_prob; };
+ SkipProb const& skip_prob() const { return m_current_probability_table.skip_prob; };
IsInterProb& is_inter_prob() { return m_current_probability_table.is_inter_prob; };
+ IsInterProb const& is_inter_prob() const { return m_current_probability_table.is_inter_prob; };
CompModeProb& comp_mode_prob() { return m_current_probability_table.comp_mode_prob; };
+ CompModeProb const& comp_mode_prob() const { return m_current_probability_table.comp_mode_prob; };
CompRefProb& comp_ref_prob() { return m_current_probability_table.comp_ref_prob; };
+ CompRefProb const& comp_ref_prob() const { return m_current_probability_table.comp_ref_prob; };
SingleRefProb& single_ref_prob() { return m_current_probability_table.single_ref_prob; };
+ SingleRefProb const& single_ref_prob() const { return m_current_probability_table.single_ref_prob; };
MvSignProb& mv_sign_prob() { return m_current_probability_table.mv_sign_prob; };
+ MvSignProb const& mv_sign_prob() const { return m_current_probability_table.mv_sign_prob; };
MvBitsProb& mv_bits_prob() { return m_current_probability_table.mv_bits_prob; };
+ MvBitsProb const& mv_bits_prob() const { return m_current_probability_table.mv_bits_prob; };
MvClass0BitProb& mv_class0_bit_prob() { return m_current_probability_table.mv_class0_bit_prob; };
+ MvClass0BitProb const& mv_class0_bit_prob() const { return m_current_probability_table.mv_class0_bit_prob; };
TxProbs& tx_probs() { return m_current_probability_table.tx_probs; };
+ TxProbs const& tx_probs() const { return m_current_probability_table.tx_probs; };
InterModeProbs& inter_mode_probs() { return m_current_probability_table.inter_mode_probs; };
+ InterModeProbs const& inter_mode_probs() const { return m_current_probability_table.inter_mode_probs; };
InterpFilterProbs& interp_filter_probs() { return m_current_probability_table.interp_filter_probs; };
+ InterpFilterProbs const& interp_filter_probs() const { return m_current_probability_table.interp_filter_probs; };
MvJointProbs& mv_joint_probs() { return m_current_probability_table.mv_joint_probs; };
+ MvJointProbs const& mv_joint_probs() const { return m_current_probability_table.mv_joint_probs; };
MvClassProbs& mv_class_probs() { return m_current_probability_table.mv_class_probs; };
+ MvClassProbs const& mv_class_probs() const { return m_current_probability_table.mv_class_probs; };
MvClass0FrProbs& mv_class0_fr_probs() { return m_current_probability_table.mv_class0_fr_probs; };
+ MvClass0FrProbs const& mv_class0_fr_probs() const { return m_current_probability_table.mv_class0_fr_probs; };
MvClass0HpProbs& mv_class0_hp_prob() { return m_current_probability_table.mv_class0_hp_prob; };
+ MvClass0HpProbs const& mv_class0_hp_prob() const { return m_current_probability_table.mv_class0_hp_prob; };
MvFrProbs& mv_fr_probs() { return m_current_probability_table.mv_fr_probs; };
+ MvFrProbs const& mv_fr_probs() const { return m_current_probability_table.mv_fr_probs; };
MvHpProb& mv_hp_prob() { return m_current_probability_table.mv_hp_prob; };
+ MvHpProb const& mv_hp_prob() const { return m_current_probability_table.mv_hp_prob; };
CoefProbs& coef_probs() { return m_current_probability_table.coef_probs; };
+ CoefProbs const& coef_probs() const { return m_current_probability_table.coef_probs; };
private:
struct ProbabilityTable {