Lines Matching refs:SkOperand
30 fStorage = sk_malloc_throw((sizeof(SkOperand) * elemCount + sizeof(SkTimeCode)) * frameCount);
32 fValues = (SkOperand*) ((char*) fStorage + sizeof(SkTimeCode) * frameCount);
35 fValuesArray = (SkOperand(*)[10]) fValues;
39 bool SkOperandInterpolator::setKeyFrame(int index, SkMSec time, const SkOperand values[], SkScalar blend)
53 SkOperand* dst = &fValues[fElemCount * index];
54 memcpy(dst, values, fElemCount * sizeof(SkOperand));
59 SkInterpolatorBase::Result SkOperandInterpolator::timeToValues(SkMSec time, SkOperand values[]) const
67 const SkOperand* nextSrc = &fValues[index * fElemCount];
75 const SkOperand* prevSrc = nextSrc - fElemCount;
87 memcpy(values, prevSrc, sizeof(SkOperand) * fElemCount);
99 static SkOperand* iset(SkOperand array[3], int a, int b, int c)
112 SkOperand v1[3], v2[3], v[3], vv[3];