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

Function WritePlaneBuffer

test/api/decode_encode_test.cpp:20–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20static void WritePlaneBuffer (BufferedData* buf, const uint8_t* plane,
21 int width, int height, int stride) {
22 for (int i = 0; i < height; i++) {
23 if (!buf->PushBack (plane, width)) {
24 FAIL() << "unable to allocate memory";
25 }
26 plane += stride;
27 }
28}
29
30struct DecodeEncodeFileParam {
31 const char* fileName;

Callers 1

onDecodeFrameMethod · 0.85

Calls 1

PushBackMethod · 0.80

Tested by

no test coverage detected