Lines Matching defs:buf_size
872 int buf_size, int y_offset, int table_size)
880 if ((ret = init_get_bits8(&s->gb, s->bitstream_buffer + table_size, buf_size - table_size)) < 0)
1186 int buf_size = avpkt->size;
1194 if (buf_size < (width * height + 7)/8)
1199 buf_size);
1204 (const uint32_t *) buf, buf_size / 4);
1210 table_size = read_huffman_tables(s, s->bitstream_buffer, buf_size);
1215 if ((unsigned) (buf_size - table_size) >= INT_MAX / 8)
1221 (buf_size > 32 && AV_RL32(avpkt->data + buf_size - 16) == 0)) {
1222 slices_info_offset = AV_RL32(avpkt->data + buf_size - 4);
1223 slice_height = AV_RL32(avpkt->data + buf_size - 8);
1224 nb_slices = AV_RL32(avpkt->data + buf_size - 12);
1225 if (nb_slices * 8LL + slices_info_offset > buf_size - 16 ||
1242 slice_offset + (int64_t)slice_size > buf_size)
1251 slice_size = buf_size;