MCPcopy Create free account
hub / github.com/IENT/YUView / convertRawListToVec

Function convertRawListToVec

YUViewLib/src/ffmpeg/AVCodecWrapper.cpp:78–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76} AVCodec_59;
77
78template <typename T> std::vector<T> convertRawListToVec(const T *rawValues, T terminationValue)
79{
80 std::vector<T> values;
81 int i = 0;
82 auto val = rawValues[i++];
83 while (val != terminationValue)
84 {
85 values.push_back(val);
86 val = rawValues[i++];
87 }
88 return values;
89}
90
91} // namespace
92

Callers 1

updateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected