Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
13
using namespace WelsEnc;
14
#define MBCOPYTEST_NUM 1000
15
static 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
22
TEST (MBCopyFunTest, pfCopy8x8Aligned) {
Callers
1
TEST
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected