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

Method onDecodeFrame

test/api/decoder_test.cpp:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 SHA1Reset (&ctx_);
62 }
63 virtual void onDecodeFrame (const Frame& frame) {
64 const Plane& y = frame.y;
65 const Plane& u = frame.u;
66 const Plane& v = frame.v;
67 UpdateHashFromPlane (&ctx_, y.data, y.width, y.height, y.stride);
68 UpdateHashFromPlane (&ctx_, u.data, u.width, u.height, u.stride);
69 UpdateHashFromPlane (&ctx_, v.data, v.width, v.height, v.stride);
70 }
71 protected:
72 SHA1Context ctx_;
73};

Callers 4

DecodeFrameMethod · 0.45
FlushFrameMethod · 0.45
DecodeFrameMethod · 0.45
FlushFrameMethod · 0.45

Calls 1

UpdateHashFromPlaneFunction · 0.70

Tested by

no test coverage detected