MCPcopy Create free account
hub / github.com/cisco/openh264 / GetRandWidth

Method GetRandWidth

test/api/encode_decode_api_test.h:96–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 virtual void encToDecSliceData (const int iLayerNum, const int iSliceNum, const SFrameBSInfo& info, int& len);
95
96 virtual int GetRandWidth() {
97 return WelsClip3 ((((rand() % MAX_WIDTH) >> 1) + 1) << 1, 16, MAX_WIDTH);
98 }
99
100 virtual int GetRandHeight() {
101 return WelsClip3 ((((rand() % MAX_HEIGHT) >> 1) + 1) << 1, 16, MAX_HEIGHT);

Callers

nothing calls this directly

Calls 1

WelsClip3Function · 0.85

Tested by

no test coverage detected