MCPcopy Create free account
hub / github.com/audeering/opensmile / fieldToElementIdx

Method fieldToElementIdx

src/core/dataMemoryLevel.cpp:171–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171long FrameMetaInfo::fieldToElementIdx(long _field, long _arrIdx) const
172{
173 int i;
174 int lN=0;
175 if (_field >= N) _field = lN-1;
176 for(i=0; i<_field; i++) {
177 lN += field[i].N;
178 }
179 return lN + _arrIdx;
180}
181
182long FrameMetaInfo::elementToFieldIdx(long _element, long *_arrIdx) const
183{

Callers 9

getElidxFromNameMethod · 0.80
myTickMethod · 0.80
findFieldMethod · 0.80
findElementMethod · 0.80
myTickMethod · 0.80
findInputMappingMethod · 0.80
setupNewNamesMethod · 0.80
setupNewNamesMethod · 0.80
findInputFieldsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected