Lines Matching refs:dest_index
219 if (dest_index + count > dest_size) { \
220 av_log(s->avctx, AV_LOG_ERROR, "decode_format80 problem: next op would overflow dest_index\n"); \
221 av_log(s->avctx, AV_LOG_ERROR, "current dest_index = %d, count = %d, dest_size = %d\n", \
222 dest_index, count, dest_size); \
228 av_log(s->avctx, AV_LOG_ERROR, "decode_format80 problem: next op would overflow dest_index\n"); \
238 int dest_index = 0;
267 if (dest_index >= dest_size) {
268 av_log(s->avctx, AV_LOG_ERROR, "decode_format80 problem: dest_index (%d) exceeded dest_size (%d)\n",
269 dest_index, dest_size);
278 src_pos = dest_index - src_pos;
283 dest[dest_index + i] = dest[src_pos + i];
284 dest_index += count;
292 memset(&dest[dest_index], color, count);
293 dest_index += count;
300 src_pos = dest_index - src_pos;
305 dest[dest_index + i] = dest[src_pos + i];
306 dest_index += count;
313 bytestream2_get_buffer(&s->gb, &dest[dest_index], count);
314 dest_index += count;
322 CHECK_COPY(dest_index - src_pos);
324 dest[dest_index + i] = dest[dest_index - src_pos + i];
325 dest_index += count;
334 if (dest_index < dest_size) {
335 av_log(s->avctx, AV_LOG_ERROR, "decode_format80 problem: decode finished with dest_index (%d) < dest_size (%d)\n",
336 dest_index, dest_size);
337 memset(dest + dest_index, 0, dest_size - dest_index);