MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / handle_row

Function handle_row

libavcodec/lscrdec.c:61–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59} LSCRContext;
60
61static void handle_row(LSCRContext *s)
62{
63 uint8_t *ptr, *last_row;
64
65 ptr = s->image_buf + s->image_linesize * s->y;
66 if (s->y == 0)
67 last_row = s->last_row;
68 else
69 last_row = ptr - s->image_linesize;
70
71 ff_png_filter_row(&s->dsp, ptr, s->crow_buf[0], s->crow_buf + 1,
72 last_row, s->row_size, 3);
73
74 s->y++;
75}
76
77static int decode_idat(LSCRContext *s, z_stream *zstream, int length)
78{

Callers 1

decode_idatFunction · 0.85

Calls 1

ff_png_filter_rowFunction · 0.85

Tested by

no test coverage detected