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

Function FillWithRandomData

test/encoder/EncUT_MBCopy.cpp:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13using namespace WelsEnc;
14#define MBCOPYTEST_NUM 1000
15static void FillWithRandomData (uint8_t* p, int32_t Len) {
16 for (int32_t i = 0; i < Len; i++) {
17 p[i] = rand() % 256;
18 }
19}
20
21
22TEST (MBCopyFunTest, pfCopy8x8Aligned) {

Callers 1

TESTFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected