Lines Matching refs:pKey
48 static FrameType GetFrame( const KeyType* pKey ) { return pKey->GetFrame(); } in GetFrame() argument
49 static f32 GetFrameF32( const KeyType* pKey ) { return pKey->GetFrameF32(); } in GetFrameF32() argument
50 … f32 GetValue( const ResFloatSegmentFVData*, const KeyType* pKey ) { return pKey->GetValue()… in GetValue() argument
64 static FrameType GetFrame( const KeyType* pKey ) { return pKey->GetFrame(); } in GetFrame() argument
65 static f32 GetFrameF32( const KeyType* pKey ) { return pKey->GetFrameF32(); } in GetFrameF32() argument
66 static f32 GetValue( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetValue() argument
68 f32 value = pKey->GetValue(); in GetValue()
84 static FrameType GetFrame( const KeyType* pKey ) { return pKey->m_Frame; } in GetFrame() argument
85 static f32 GetFrameF32( const KeyType* pKey ) { return pKey->m_Frame; } in GetFrameF32() argument
86 …c f32 GetValue( const ResFloatSegmentFVData*, const KeyType* pKey ) { return pKey->m_Value; } in GetValue() argument
87 static f32 GetInSlope( const KeyType* pKey ) { return pKey->m_InSlope; } in GetInSlope() argument
88 static f32 GetOutSlope( const KeyType* pKey ) { return pKey->m_OutSlope; } in GetOutSlope() argument
102 … static FrameType GetFrame( const KeyType* pKey ) { return (pKey->m_FrameValue & 0x00000FFF); } in GetFrame() argument
103 static f32 GetFrameF32( const KeyType* pKey ) { return f32( GetFrame(pKey) ); } in GetFrameF32() argument
104 static f32 GetValue( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetValue() argument
106 f32 value = pKey->GetValue(); in GetValue()
109 static f32 GetInSlope( const KeyType* pKey ) { return pKey->GetInSlope(); } in GetInSlope() argument
110 static f32 GetOutSlope( const KeyType* pKey ) { return pKey->GetOutSlope(); } in GetOutSlope() argument
124 static FrameType GetFrame( const KeyType* pKey ) { return pKey->GetFrame(); } in GetFrame() argument
125 static f32 GetFrameF32( const KeyType* pKey ) { return pKey->GetFrameF32(); } in GetFrameF32() argument
126 static f32 GetValue( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetValue() argument
128 f32 value = pKey->GetValue(); in GetValue()
131 static f32 GetInSlope( const KeyType* pKey ) { return pKey->GetInSlope(); } in GetInSlope() argument
132 static f32 GetOutSlope( const KeyType* pKey ) { return pKey->GetOutSlope(); } in GetOutSlope() argument
147 static FrameType GetFrame( const KeyType* pKey ) { return pKey->GetFrame(); } in GetFrame() argument
148 static f32 GetFrameF32( const KeyType* pKey ) { return pKey->GetFrameF32(); } in GetFrameF32() argument
149 … f32 GetValue( const ResFloatSegmentFVData*, const KeyType* pKey ) { return pKey->GetValue()… in GetValue() argument
150 static f32 GetSlope( const KeyType* pKey ) { return pKey->GetSlope(); } in GetSlope() argument
164 static FrameType GetFrame( const KeyType* pKey ) { return pKey->GetFrame(); } in GetFrame() argument
165 static f32 GetFrameF32( const KeyType* pKey ) { return pKey->GetFrameF32(); } in GetFrameF32() argument
166 static f32 GetValue( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetValue() argument
168 f32 value = pKey->GetValue(); in GetValue()
171 static f32 GetSlope( const KeyType* pKey ) { return pKey->GetSlope(); } in GetSlope() argument
185 static FrameType GetFrame( const KeyType* pKey ) { return pKey->m_Frame; } in GetFrame() argument
186 static f32 GetFrameF32( const KeyType* pKey ) { return f32( GetFrame( pKey ) ); } in GetFrameF32() argument
187 static f32 GetValue( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetValue() argument
189 f32 value = f32(pKey->m_ValueSlope[0] + ((pKey->m_ValueSlope[1] & 0x0F) << 8) ); in GetValue()
192 static f32 GetSlope( const KeyType* pKey ) { return pKey->GetSlope(); } in GetSlope() argument
207 static FrameType GetFrame( const KeyType* pKey ) { return pKey->GetFrame(); } in GetFrame() argument
208 static f32 GetFrameF32( const KeyType* pKey ) { return pKey->GetFrameF32(); } in GetFrameF32() argument
209 …static s32 GetValue( const ResIntCurveFVData*, const KeyType* pKey ) { return pKey->GetValue… in GetValue() argument
223 static FrameType GetFrame( const KeyType* pKey ) { return pKey->GetFrame(); } in GetFrame() argument
224 static f32 GetFrameF32( const KeyType* pKey ) { return pKey->GetFrameF32(); } in GetFrameF32() argument
225 static s32 GetValue( const ResIntCurveFVData* /*pCurve*/, const KeyType* pKey ) in GetValue() argument
227 return pKey->GetValue(); in GetValue()
243 static FrameType GetFrame( const KeyType* pKey ) { return u32(pKey->m_Frame); } in GetFrame() argument
244 static f32 GetFrameF32( const KeyType* pKey ) { return f32( GetFrame( pKey ) ); } in GetFrameF32() argument
245 static s32 GetValue( const ResIntCurveFVData* /*pCurve*/, const KeyType* pKey ) in GetValue() argument
247 return s32(pKey->m_Value); in GetValue()
390 const typename Traits::KeyType* pKey = Traits::GetKey(pSegment, keyIdx); in GetKeyFV_() local
393 if ( quantizedFrame < Traits::GetFrame( pKey ) ) in GetKeyFV_()
397 NW_ASSERT( Traits::GetKey(pSegment, 0) < pKey ); in GetKeyFV_()
398 --pKey; in GetKeyFV_()
399 } while ( quantizedFrame < Traits::GetFrame( pKey ) ); in GetKeyFV_()
405 NW_ASSERT( pKey < Traits::GetKey(pSegment, pSegment->m_NumFrameValues - 1) ); in GetKeyFV_()
406 ++pKey; in GetKeyFV_()
407 } while ( Traits::GetFrame( pKey ) <= quantizedFrame ); in GetKeyFV_()
410 NW_ASSERT( Traits::GetKey(pSegment, 0) < pKey ); in GetKeyFV_()
411 --pKey; in GetKeyFV_()
414 return pKey; in GetKeyFV_()
468 const typename Traits::KeyType* pKey = GetFloatKeyFV_<Traits>( pSegment, frame ); in CalcStepFloatSegmentFV_() local
470 return Traits::GetValue( pSegment, pKey ); in CalcStepFloatSegmentFV_()
478 const typename Traits::KeyType* pKey = GetFloatKeyFV_<Traits>( pSegment, frame ); in CalcLinearFloatSegmentFV_() local
480 f32 keyFrame = Traits::GetFrameF32( pKey ); in CalcLinearFloatSegmentFV_()
484 return Traits::GetValue( pSegment, pKey ); in CalcLinearFloatSegmentFV_()
487 const typename Traits::KeyType* pNextKey = pKey + 1; in CalcLinearFloatSegmentFV_()
492 return Traits::GetValue( pSegment, pKey ) * (1.0f - rate) in CalcLinearFloatSegmentFV_()
500 const typename Traits::KeyType* pKey = GetFloatKeyFV_<Traits>( pSegment, frame ); in CalcHermiteFloatSegmentFVSS_() local
502 f32 keyFrame = Traits::GetFrameF32( pKey ); in CalcHermiteFloatSegmentFVSS_()
506 return Traits::GetValue( pSegment, pKey ); in CalcHermiteFloatSegmentFVSS_()
509 const typename Traits::KeyType* pNextKey = pKey + 1; in CalcHermiteFloatSegmentFVSS_()
513 f32 v0 = Traits::GetValue( pSegment, pKey ); in CalcHermiteFloatSegmentFVSS_()
515 f32 t0 = Traits::GetOutSlope( pKey ); in CalcHermiteFloatSegmentFVSS_()
525 const typename Traits::KeyType* pKey = GetFloatKeyFV_<Traits>( pSegment, frame ); in CalcHermiteFloatSegmentFVS_() local
529 f32 keyFrame = Traits::GetFrameF32( pKey ); in CalcHermiteFloatSegmentFVS_()
533 return Traits::GetValue( pSegment, pKey ); in CalcHermiteFloatSegmentFVS_()
536 const typename Traits::KeyType* pNextKey = pKey + 1; in CalcHermiteFloatSegmentFVS_()
540 f32 v0 = Traits::GetValue( pSegment, pKey ); in CalcHermiteFloatSegmentFVS_()
542 f32 t0 = Traits::GetSlope( pKey ); in CalcHermiteFloatSegmentFVS_()
597 const typename Traits::KeyType* pKey = GetIntKeyFV_<Traits>( pCurve, frame ); in CalcIntCurveFV_() local
599 return Traits::GetValue( pCurve, pKey ); in CalcIntCurveFV_()