Lines Matching refs:last_nnz
756 av_freep(&s->last_nnz[i]); in ff_mjpeg_decode_sof()
758 s->last_nnz[i] = av_mallocz_array(size, sizeof(**s->last_nnz)); in ff_mjpeg_decode_sof()
759 if (!s->blocks[i] || !s->last_nnz[i]) in ff_mjpeg_decode_sof()
867 uint8_t *last_nnz, int ac_index, in decode_block_progressive() argument
933 if (i > *last_nnz) in decode_block_progressive()
934 *last_nnz = i; in decode_block_progressive()
966 uint8_t *last_nnz, in decode_block_refinement() argument
971 int last = FFMIN(se, *last_nnz); in decode_block_refinement()
991 if (i > *last_nnz) in decode_block_refinement()
992 *last_nnz = i; in decode_block_refinement()
1014 if (i > *last_nnz) in decode_block_refinement()
1015 *last_nnz = i; in decode_block_refinement()
1560 uint8_t *last_nnz = &s->last_nnz[c][block_idx]; in mjpeg_decode_scan_progressive_ac() local
1565 for (mb_x = 0; mb_x < s->mb_width; mb_x++, block++, last_nnz++) { in mjpeg_decode_scan_progressive_ac()
1571 ret = decode_block_refinement(s, *block, last_nnz, s->ac_index[0], in mjpeg_decode_scan_progressive_ac()
1574 ret = decode_block_progressive(s, *block, last_nnz, s->ac_index[0], in mjpeg_decode_scan_progressive_ac()
2914 av_freep(&s->last_nnz[i]); in ff_mjpeg_decode_end()