Lines Matching refs:pKey

48         static FrameType GetFrame( const KeyType* pKey ) { return pKey->GetFrame(); }  in GetFrame()  argument
49 …2 GetFrameF32( const ResFloatSegmentFVData*, const KeyType* pKey ) { return pKey->GetFrameF3… in GetFrameF32() argument
50 … f32 GetValue( const ResFloatSegmentFVData*, const KeyType* pKey ) { return pKey->GetValue()… in GetValue() argument
68 static FrameType GetFrame( const KeyType* pKey ) { return pKey->GetFrame(); } in GetFrame() argument
69 static f32 GetFrameF32( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetFrameF32() argument
71 f32 frame = pKey->GetFrameF32(); in GetFrameF32()
74 static f32 GetValue( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetValue() argument
76 f32 value = pKey->GetValue(); in GetValue()
92 static FrameType GetFrame( const KeyType* pKey ) { return pKey->m_Frame; } in GetFrame() argument
93 …32 GetFrameF32( const ResFloatSegmentFVData*, const KeyType* pKey ) { return pKey->m_Frame; } in GetFrameF32() argument
94 …c f32 GetValue( const ResFloatSegmentFVData*, const KeyType* pKey ) { return pKey->m_Value; } in GetValue() argument
95 static f32 GetInSlope( const KeyType* pKey ) { return pKey->m_InSlope; } in GetInSlope() argument
96 static f32 GetOutSlope( const KeyType* pKey ) { return pKey->m_OutSlope; } in GetOutSlope() argument
114 static FrameType GetFrame( const KeyType* pKey ) { return pKey->GetFrame(); } in GetFrame() argument
115 static f32 GetFrameF32( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetFrameF32() argument
117 f32 frame = pKey->GetFrameF32(); in GetFrameF32()
120 static f32 GetValue( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetValue() argument
122 f32 value = pKey->GetValue(); in GetValue()
125 static f32 GetInSlope( const KeyType* pKey ) { return pKey->GetInSlope(); } in GetInSlope() argument
126 static f32 GetOutSlope( const KeyType* pKey ) { return pKey->GetOutSlope(); } in GetOutSlope() argument
144 static FrameType GetFrame( const KeyType* pKey ) { return pKey->GetFrame(); } in GetFrame() argument
145 static f32 GetFrameF32( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetFrameF32() argument
147 f32 frame = pKey->GetFrameF32(); in GetFrameF32()
150 static f32 GetValue( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetValue() argument
152 f32 value = pKey->GetValue(); in GetValue()
155 static f32 GetInSlope( const KeyType* pKey ) { return pKey->GetInSlope(); } in GetInSlope() argument
156 static f32 GetOutSlope( const KeyType* pKey ) { return pKey->GetOutSlope(); } in GetOutSlope() argument
171 static FrameType GetFrame( const KeyType* pKey ) { return pKey->GetFrame(); } in GetFrame() argument
172 …2 GetFrameF32( const ResFloatSegmentFVData*, const KeyType* pKey ) { return pKey->GetFrameF3… in GetFrameF32() argument
173 … f32 GetValue( const ResFloatSegmentFVData*, const KeyType* pKey ) { return pKey->GetValue()… in GetValue() argument
174 static f32 GetSlope( const KeyType* pKey ) { return pKey->GetSlope(); } in GetSlope() argument
192 static FrameType GetFrame( const KeyType* pKey ) { return pKey->GetFrame(); } in GetFrame() argument
193 static f32 GetFrameF32( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetFrameF32() argument
195 f32 frame = pKey->GetFrameF32(); in GetFrameF32()
198 static f32 GetValue( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetValue() argument
200 f32 value = pKey->GetValue(); in GetValue()
203 static f32 GetSlope( const KeyType* pKey ) { return pKey->GetSlope(); } in GetSlope() argument
221 static FrameType GetFrame( const KeyType* pKey ) { return pKey->GetFrame(); } in GetFrame() argument
222 static f32 GetFrameF32( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetFrameF32() argument
224 f32 frame = pKey->GetFrameF32(); in GetFrameF32()
227 static f32 GetValue( const ResFloatSegmentFVData* pSegment, const KeyType* pKey ) in GetValue() argument
229 f32 value = f32(pKey->m_ValueSlope[0] + ((pKey->m_ValueSlope[1] & 0x0F) << 8) ); in GetValue()
232 static f32 GetSlope( const KeyType* pKey ) { return pKey->GetSlope(); } in GetSlope() argument
247 static FrameType GetFrame( const KeyType* pKey ) { return pKey->GetFrame(); } in GetFrame() argument
248 …static f32 GetFrameF32( const ResIntCurveFVData*, const KeyType* pKey ) { return pKey->GetFr… in GetFrameF32() argument
249 …static s32 GetValue( const ResIntCurveFVData*, const KeyType* pKey ) { return pKey->GetValue… in GetValue() argument
263 static FrameType GetFrame( const KeyType* pKey ) { return pKey->GetFrame(); } in GetFrame() argument
264 …static f32 GetFrameF32( const ResIntCurveFVData*, const KeyType* pKey ) { return pKey->GetFr… in GetFrameF32() argument
265 static s32 GetValue( const ResIntCurveFVData* /*pCurve*/, const KeyType* pKey ) in GetValue() argument
267 return pKey->GetValue(); in GetValue()
283 static FrameType GetFrame( const KeyType* pKey ) { return u32(pKey->m_Frame); } in GetFrame() argument
284 … GetFrameF32( const ResIntCurveFVData*, const KeyType* pKey ) { return f32( GetFrame( pKey ) )… in GetFrameF32() argument
285 static s32 GetValue( const ResIntCurveFVData* /*pCurve*/, const KeyType* pKey ) in GetValue() argument
287 return s32(pKey->m_Value); in GetValue()
428 const typename Traits::KeyType* pKey = Traits::GetKey(pSegment, keyIdx); in GetKeyFV_() local
431 if ( quantizedFrame < Traits::GetFrame( pKey ) ) in GetKeyFV_()
435 NW_ASSERT( Traits::GetKey(pSegment, 0) < pKey ); in GetKeyFV_()
436 --pKey; in GetKeyFV_()
437 } while ( quantizedFrame < Traits::GetFrame( pKey ) ); in GetKeyFV_()
443 NW_ASSERT( pKey < Traits::GetKey(pSegment, pSegment->m_NumFrameValues - 1) ); in GetKeyFV_()
444 ++pKey; in GetKeyFV_()
445 } while ( Traits::GetFrame( pKey ) <= quantizedFrame ); in GetKeyFV_()
448 NW_ASSERT( Traits::GetKey(pSegment, 0) < pKey ); in GetKeyFV_()
449 --pKey; in GetKeyFV_()
452 return pKey; in GetKeyFV_()
506 const typename Traits::KeyType* pKey = GetFloatKeyFV_<Traits>( pSegment, frame ); in CalcStepFloatSegmentFV_() local
508 return Traits::GetValue( pSegment, pKey ); in CalcStepFloatSegmentFV_()
516 const typename Traits::KeyType* pKey = GetFloatKeyFV_<Traits>( pSegment, frame ); in CalcLinearFloatSegmentFV_() local
518 f32 keyFrame = Traits::GetFrameF32( pSegment, pKey ); in CalcLinearFloatSegmentFV_()
522 return Traits::GetValue( pSegment, pKey ); in CalcLinearFloatSegmentFV_()
525 const typename Traits::KeyType* pNextKey = pKey + 1; in CalcLinearFloatSegmentFV_()
530 return Traits::GetValue( pSegment, pKey ) * (1.0f - rate) in CalcLinearFloatSegmentFV_()
538 const typename Traits::KeyType* pKey = GetFloatKeyFV_<Traits>( pSegment, frame ); in CalcHermiteFloatSegmentFVSS_() local
540 f32 keyFrame = Traits::GetFrameF32( pSegment, pKey ); in CalcHermiteFloatSegmentFVSS_()
544 return Traits::GetValue( pSegment, pKey ); in CalcHermiteFloatSegmentFVSS_()
547 const typename Traits::KeyType* pNextKey = pKey + 1; in CalcHermiteFloatSegmentFVSS_()
551 f32 v0 = Traits::GetValue( pSegment, pKey ); in CalcHermiteFloatSegmentFVSS_()
553 f32 t0 = Traits::GetOutSlope( pKey ); in CalcHermiteFloatSegmentFVSS_()
563 const typename Traits::KeyType* pKey = GetFloatKeyFV_<Traits>( pSegment, frame ); in CalcHermiteFloatSegmentFVS_() local
567 f32 keyFrame = Traits::GetFrameF32( pSegment, pKey ); in CalcHermiteFloatSegmentFVS_()
571 return Traits::GetValue( pSegment, pKey ); in CalcHermiteFloatSegmentFVS_()
574 const typename Traits::KeyType* pNextKey = pKey + 1; in CalcHermiteFloatSegmentFVS_()
578 f32 v0 = Traits::GetValue( pSegment, pKey ); in CalcHermiteFloatSegmentFVS_()
580 f32 t0 = Traits::GetSlope( pKey ); in CalcHermiteFloatSegmentFVS_()
635 const typename Traits::KeyType* pKey = GetIntKeyFV_<Traits>( pCurve, frame ); in CalcIntCurveFV_() local
637 return Traits::GetValue( pCurve, pKey ); in CalcIntCurveFV_()