MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / ff_msmpeg4_code012

Function ff_msmpeg4_code012

libavcodec/msmpeg4.c:201–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201void ff_msmpeg4_code012(PutBitContext *pb, int n)
202{
203 if (n == 0) {
204 put_bits(pb, 1, 0);
205 } else {
206 put_bits(pb, 1, 1);
207 put_bits(pb, 1, (n >= 2));
208 }
209}
210
211static int get_size_of_code(MpegEncContext * s, RLTable *rl, int last, int run, int level, int intra){
212 int size=0;

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected