Lines Matching defs:offset
95 int *offset)
115 vlc->table = &table_data[*offset];
116 vlc->table_allocated = FF_ARRAY_ELEMS(table_data) - *offset;
121 *offset += vlc->table_size;
129 int i, j, k, offset = 0;
134 &intra_vlcs[i].cbppattern[j], NULL, &offset);
136 &intra_vlcs[i].second_pattern[j], NULL, &offset);
138 &intra_vlcs[i].third_pattern[j], NULL, &offset);
141 &intra_vlcs[i].cbp[j][k], rv34_cbp_code, &offset);
146 &intra_vlcs[i].first_pattern[j], NULL, &offset);
149 &intra_vlcs[i].coefficient, NULL, &offset);
154 &inter_vlcs[i].cbppattern[0], NULL, &offset);
157 &inter_vlcs[i].cbp[0][j], rv34_cbp_code, &offset);
161 &inter_vlcs[i].first_pattern[j], NULL, &offset);
163 &inter_vlcs[i].second_pattern[j], NULL, &offset);
165 &inter_vlcs[i].third_pattern[j], NULL, &offset);
168 &inter_vlcs[i].coefficient, NULL, &offset);
650 * @param xoff horizontal offset from the start of the current block
651 * @param yoff vertical offset from the start of the current block
652 * @param mv_off offset to the motion vector information
1437 av_log(s->avctx, AV_LOG_ERROR, "Slice indicates MB offset %d, got %d\n", r->si.start, mb_pos);
1612 int offset;
1635 offset = get_slice_offset(avctx, slices_hdr, 0, slice_count, buf_size);
1637 if(offset < 0 || offset > buf_size){
1638 av_log(avctx, AV_LOG_ERROR, "Slice offset is invalid\n");
1641 init_get_bits(&s->gb, buf+offset, (buf_size-offset)*8);
1751 int offset = get_slice_offset(avctx, slices_hdr, i , slice_count, buf_size);
1755 if(offset < 0 || offset > offset1 || offset1 > buf_size){
1756 av_log(avctx, AV_LOG_ERROR, "Slice offset is invalid\n");
1759 size = offset1 - offset;
1767 av_log(avctx, AV_LOG_ERROR, "Slice offset is invalid\n");
1772 size = offset2 - offset;
1776 av_assert0 (size >= 0 && size <= buf_size - offset);
1777 last = rv34_decode_slice(r, r->si.end, buf + offset, size);