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

Method getFrameRel

src/core/dataReader.cpp:537–542  ·  view source on GitHub ↗

relative: (vIdxRelE is positive and indicates the number of frames to go back from the last read frame) noInc: 1=do not increase current read counter (DEFAULT is to INCREASE READ COUNTER!)

Source from the content-addressed store, hash-verified

535// relative: (vIdxRelE is positive and indicates the number of frames to go back from the last read frame)
536// noInc: 1=do not increase current read counter (DEFAULT is to INCREASE READ COUNTER!)
537cVector * cDataReader::getFrameRel(long vIdxRelE, int privateVec, int noInc, int *result)
538{
539 cVector * ret = getFrame(curR-vIdxRelE,-1,privateVec,result);
540 if ((!noInc)&&((ret!=NULL)||(curR-vIdxRelE < 0))) { curR++; }
541 return ret;
542}
543
544// vIdxRelE: end of matrix relative to end of data
545cMatrix * cDataReader::getMatrixRel(long vIdxRelE, long length, int privateVec)

Callers 9

myTickMethod · 0.80
myTickMethod · 0.80
myTickMethod · 0.80
myTickMethod · 0.80
myTickMethod · 0.80
myTickMethod · 0.80
myTickMethod · 0.80
myTickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected