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

Method onDecodeFrame

test/api/decode_encode_test.cpp:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 virtual void onDecodeFrame (const Frame& frame) {
61 const Plane& y = frame.y;
62 const Plane& u = frame.u;
63 const Plane& v = frame.v;
64 WritePlaneBuffer (&buf_, y.data, y.width, y.height, y.stride);
65 WritePlaneBuffer (&buf_, u.data, u.width, u.height, u.stride);
66 WritePlaneBuffer (&buf_, v.data, v.width, v.height, v.stride);
67 }
68
69 virtual void onEncodeFrame (const SFrameBSInfo& frameInfo) {
70 UpdateHashFromFrame (frameInfo, &ctx_);

Callers

nothing calls this directly

Calls 1

WritePlaneBufferFunction · 0.85

Tested by

no test coverage detected