MCPcopy Create free account
hub / github.com/anyrtcIO-Community/anyRTC-RTMP-OpenSource / bs_read_ue

Function bs_read_ue

AnyCore/plydecoder.cc:183–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 return 0; //����0Ӧ����û�ж�������
182}
183int bs_read_ue( bs_t *s )
184{
185 int i = 0;
186
187 while( bs_read1( s ) == 0 && s->p < s->p_end && i < 32 ) //����Ϊ�������ĵ�ǰ����=0��ָ��δԽ�磬���ֻ�ܶ�32����
188 {
189 i++;
190 }
191 return( ( 1 << i) - 1 + bs_read( s, i ) );
192}
193#endif
194
195PlyDecoder::PlyDecoder()

Callers 1

OnNeedDecodeDataMethod · 0.85

Calls 2

bs_read1Function · 0.85
bs_readFunction · 0.85

Tested by

no test coverage detected