MCPcopy Create free account
hub / github.com/apache/brpc / is_audio

Function is_audio

src/brpc/ts.cpp:215–217  ·  view source on GitHub ↗

whether the sid indicates the elementary stream audio.

Source from the content-addressed store, hash-verified

213
214// whether the sid indicates the elementary stream audio.
215inline bool is_audio(TsPESStreamId sid) {
216 return ((sid >> 5) & 0x07) == 0x06/*0b110*/;
217}
218
219// whether the sid indicates the elementary stream video.
220inline bool is_video(TsPESStreamId sid) {

Callers 2

EncodeMethod · 0.85
EncodePESMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected