Home
last modified time | relevance | path

Searched refs:segmentBudget (Results 1 – 1 of 1) sorted by relevance

/frameworks/wilhelm/tools/permute/
Dpermute.c79 static unsigned split(State *s, unsigned frameStart, unsigned frameLength, unsigned segmentBudget) in split() argument
83 assert(segmentBudget > 0); in split()
84 if ((frameLength <= s->mMinSegmentLengthFrames*2) || (segmentBudget <= 1)) { in split()
104 assert(segmentBudget >= 2); in split()
107 used = split(s, leftStart, leftLength, segmentBudget / 2); in split()
108 used += split(s, rightStart, rightLength, segmentBudget - used); in split()
110 used = split(s, rightStart, rightLength, segmentBudget / 2); in split()
111 used += split(s, leftStart, leftLength, segmentBudget - used); in split()
114 assert(used <= segmentBudget); in split()