Lines Matching refs:timestampSize
26 const size_t timestampSize = sizeof(nsecs_t); in getFlattenedSize() local
28 size_t size = timestampSize; in getFlattenedSize()
29 size += 3 * desiredPresentTimesNano.size() * timestampSize; in getFlattenedSize()
40 const size_t timestampSize = sizeof(nsecs_t); in flatten() local
43 memcpy(timestamps, &refreshPeriodNano, timestampSize); in flatten()
46 memcpy(timestamps, desiredPresentTimesNano.array(), frameCount * timestampSize); in flatten()
49 memcpy(timestamps, actualPresentTimesNano.array(), frameCount * timestampSize); in flatten()
52 memcpy(timestamps, frameReadyTimesNano.array(), frameCount * timestampSize); in flatten()
58 const size_t timestampSize = sizeof(nsecs_t); in unflatten() local
60 if (size < timestampSize) { in unflatten()
65 size_t frameCount = (size - timestampSize) / (3 * timestampSize); in unflatten()
67 memcpy(&refreshPeriodNano, timestamps, timestampSize); in unflatten()
71 memcpy(desiredPresentTimesNano.editArray(), timestamps, frameCount * timestampSize); in unflatten()
75 memcpy(actualPresentTimesNano.editArray(), timestamps, frameCount * timestampSize); in unflatten()
79 memcpy(frameReadyTimesNano.editArray(), timestamps, frameCount * timestampSize); in unflatten()