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

Function check_slice_end

libavcodec/rv34.c:1360–1373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1358}
1359
1360static int check_slice_end(RV34DecContext *r, MpegEncContext *s)
1361{
1362 int bits;
1363 if(s->mb_y >= s->mb_height)
1364 return 1;
1365 if (!r->mb_num_left)
1366 return 1;
1367 if (r->mb_skip_run > 1)
1368 return 0;
1369 bits = get_bits_left(&r->gb);
1370 if (bits <= 0 || (bits < 8 && !show_bits(&r->gb, bits)))
1371 return 1;
1372 return 0;
1373}
1374
1375
1376static void rv34_decoder_free(RV34DecContext *r)

Callers 1

rv34_decode_sliceFunction · 0.85

Calls 2

get_bits_leftFunction · 0.85
show_bitsFunction · 0.85

Tested by

no test coverage detected