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

Function copyWithStartCode

module/gmp-openh264.cpp:797–801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

795}
796
797void copyWithStartCode(std::vector<uint8_t>& out, const uint8_t* in, size_t size) {
798 static const uint8_t code[] = { 0x00, 0x00, 0x00, 0x01 };
799 out.insert(out.end(), code, code + sizeof(code));
800 out.insert(out.end(), in, in + size);
801}
802
803class OpenH264VideoDecoder : public GMPVideoDecoder, public RefCounted {
804 public:

Callers 1

InitDecodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected