Lines Matching refs:dest_index
209 if (dest_index + count > dest_size) { \
210 av_log(s->avctx, AV_LOG_ERROR, "decode_format80 problem: next op would overflow dest_index\n"); \
211 av_log(s->avctx, AV_LOG_ERROR, "current dest_index = %d, count = %d, dest_size = %d\n", \
212 dest_index, count, dest_size); \
218 av_log(s->avctx, AV_LOG_ERROR, "decode_format80 problem: next op would overflow dest_index\n"); \
228 int dest_index = 0;
243 if (dest_index >= dest_size) {
244 av_log(s->avctx, AV_LOG_ERROR, "decode_format80 problem: dest_index (%d) exceeded dest_size (%d)\n",
245 dest_index, dest_size);
257 dest[dest_index + i] = dest[src_pos + i];
258 dest_index += count;
266 memset(&dest[dest_index], color, count);
267 dest_index += count;
277 dest[dest_index + i] = dest[src_pos + i];
278 dest_index += count;
285 bytestream2_get_buffer(&s->gb, &dest[dest_index], count);
286 dest_index += count;
294 CHECK_COPY(dest_index - src_pos);
296 dest[dest_index + i] = dest[dest_index - src_pos + i];
297 dest_index += count;
306 if (dest_index < dest_size) {
307 av_log(s->avctx, AV_LOG_ERROR, "decode_format80 problem: decode finished with dest_index (%d) < dest_size (%d)\n",
308 dest_index, dest_size);
309 memset(dest + dest_index, 0, dest_size - dest_index);