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

Function UpdateHashFromPlane

test/api/thread_decoder_test.cpp:6–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include <string>
5
6static void UpdateHashFromPlane (SHA1Context* ctx, const uint8_t* plane,
7 int width, int height, int stride) {
8 for (int i = 0; i < height; i++) {
9 SHA1Input (ctx, plane, width);
10 plane += stride;
11 }
12}
13
14class ThreadDecoderCapabilityTest : public ::testing::Test {
15 public:

Callers 1

onDecodeFrameMethod · 0.70

Calls 1

SHA1InputFunction · 0.85

Tested by

no test coverage detected