| 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_); |
nothing calls this directly
no test coverage detected