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

Function FillWithRandomData

test/processing/ProcessUT_AdaptiveQuantization.cpp:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12using namespace WelsVP;
13
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
20void SampleVariance16x16_ref (uint8_t* pRefY, int32_t iRefStride, uint8_t* pSrcY, int32_t iSrcStride,
21 SMotionTextureUnit* pMotionTexture) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected