Lines Matching defs:tag
130 * @param tag the tag that was in the nibble
132 static int yop_paint_block(YopDecContext *s, int linesize, int tag)
134 if (s->src_end - s->srcptr < paint_lut[tag][3]) {
140 s->dstptr[1] = s->srcptr[paint_lut[tag][0]];
141 s->dstptr[linesize] = s->srcptr[paint_lut[tag][1]];
142 s->dstptr[linesize + 1] = s->srcptr[paint_lut[tag][2]];
145 s->srcptr += paint_lut[tag][3];
151 * @param copy_tag the tag that was in the nibble
196 int tag, firstcolor, is_odd_frame;
242 tag = yop_get_next_nibble(s);
244 if (tag != 0xf) {
245 ret = yop_paint_block(s, frame->linesize[0], tag);
249 tag = yop_get_next_nibble(s);
250 ret = yop_copy_previous_block(s, frame->linesize[0], tag);