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

Function FillWithRandomData

test/encoder/EncUT_SVC_me.cpp:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12using namespace WelsEnc;
13#define SVC_ME_TEST_NUM 10
14static void FillWithRandomData (uint8_t* p, int32_t Len) {
15 for (int32_t i = 0; i < Len; i++) {
16 p[i] = rand() % 256;
17 }
18}
19
20//preprocess related
21int32_t SumOf8x8SingleBlock_ref (uint8_t* pRef, const int32_t kiRefStride) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected