MCPcopy Create free account
hub / github.com/Tencent/libpag / WriteRatio

Function WriteRatio

src/codec/DataTypes.cpp:327–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326
327void WriteRatio(EncodeStream* stream, const Ratio& ratio) {
328 stream->writeEncodedInt32(ratio.numerator);
329 stream->writeEncodedUint32(ratio.denominator);
330}
331
332void WriteTime(EncodeStream* stream, Frame time) {
333 // Since most of the time values are positive (time in keyframes),

Callers 1

writeValueMethod · 0.85

Calls 2

writeEncodedInt32Method · 0.80
writeEncodedUint32Method · 0.80

Tested by

no test coverage detected