| 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 | }; |
no test coverage detected