Searched defs:ResFloatKeyFVSS48Data (Results 1 – 1 of 1) sorted by relevance
136 struct ResFloatKeyFVSS48Data struct138 ut::ResU8 m_FrameValue[3]; // u8 m_Frame; u16 m_Value * scale + offset;139 ut::ResU8 m_InOutSlope[3]; // fx6.5 m_InSlope; fx6.5 m_OutSlope;141 u32 GetFrame() const { return m_FrameValue[0]; } in GetFrame()142 f32 GetFrameF32() const { return static_cast<f32>( this->GetFrame() ); } in GetFrameF32()143 …Value() const { return static_cast<f32>( u16(m_FrameValue[1]) + (u16(m_FrameValue[2]) << 8) ); } in GetValue()144 …const { return internal::CastS6_5ToF32( s16(m_InOutSlope[0] + (s8(m_InOutSlope[1] << 4) << 4)) ); } in GetInSlope()145 …nst { return internal::CastS6_5ToF32( s16((s8(m_InOutSlope[2]) << 4) + (m_InOutSlope[1] >> 4)) ); } in GetOutSlope()