Lines Matching refs:slice_count
1550 static int get_slice_offset(AVCodecContext *avctx, const uint8_t *buf, int n, int slice_count, int buf_size)
1552 if (n < slice_count) {
1553 if(avctx->slice_count) return avctx->slice_offset[n];
1608 int slice_count;
1627 if(!avctx->slice_count){
1628 slice_count = (*buf++) + 1;
1630 buf += 8 * slice_count;
1631 buf_size -= 1 + 8 * slice_count;
1633 slice_count = avctx->slice_count;
1635 offset = get_slice_offset(avctx, slices_hdr, 0, slice_count, buf_size);
1750 for(i = 0; i < slice_count; i++){
1751 int offset = get_slice_offset(avctx, slices_hdr, i , slice_count, buf_size);
1752 int offset1 = get_slice_offset(avctx, slices_hdr, i+1, slice_count, buf_size);
1764 if(i+1 < slice_count){
1765 int offset2 = get_slice_offset(avctx, slices_hdr, i+2, slice_count, buf_size);