• Home
  • Raw
  • Download

Lines Matching refs:sprite

111     int sprite, i;  in vc1_parse_sprites()  local
113 for (sprite = 0; sprite <= v->two_sprites; sprite++) { in vc1_parse_sprites()
114 vc1_sprite_parse_transform(gb, sd->coefs[sprite]); in vc1_parse_sprites()
115 if (sd->coefs[sprite][1] || sd->coefs[sprite][3]) in vc1_parse_sprites()
117 av_log(avctx, AV_LOG_DEBUG, sprite ? "S2:" : "S1:"); in vc1_parse_sprites()
120 sd->coefs[sprite][i] / (1<<16), in vc1_parse_sprites()
121 (abs(sd->coefs[sprite][i]) & 0xFFFF) * 1000 / (1 << 16)); in vc1_parse_sprites()
181 int i, plane, row, sprite; in vc1_draw_sprites() local
206 for (sprite = 0; sprite <= v->two_sprites; sprite++) { in vc1_draw_sprites()
209 int ycoord = yoff[sprite] + yadv[sprite] * row; in vc1_draw_sprites()
212 ysub[sprite] = ycoord & 0xFFFF; in vc1_draw_sprites()
213 if (sprite) { in vc1_draw_sprites()
218 if (!(xoff[sprite] & 0xFFFF) && xadv[sprite] == 1 << 16) { in vc1_draw_sprites()
219 src_h[sprite][0] = iplane + (xoff[sprite] >> 16) + yline * iline; in vc1_draw_sprites()
220 if (ysub[sprite]) in vc1_draw_sprites()
221 src_h[sprite][1] = iplane + (xoff[sprite] >> 16) + next_line; in vc1_draw_sprites()
223 if (sr_cache[sprite][0] != yline) { in vc1_draw_sprites()
224 if (sr_cache[sprite][1] == yline) { in vc1_draw_sprites()
225 FFSWAP(uint8_t*, v->sr_rows[sprite][0], v->sr_rows[sprite][1]); in vc1_draw_sprites()
226 FFSWAP(int, sr_cache[sprite][0], sr_cache[sprite][1]); in vc1_draw_sprites()
228 …v->vc1dsp.sprite_h(v->sr_rows[sprite][0], iplane + yline * iline, xoff[sprite], xadv[sprite], widt… in vc1_draw_sprites()
229 sr_cache[sprite][0] = yline; in vc1_draw_sprites()
232 if (ysub[sprite] && sr_cache[sprite][1] != yline + 1) { in vc1_draw_sprites()
233 v->vc1dsp.sprite_h(v->sr_rows[sprite][1], in vc1_draw_sprites()
234 iplane + next_line, xoff[sprite], in vc1_draw_sprites()
235 xadv[sprite], width); in vc1_draw_sprites()
236 sr_cache[sprite][1] = yline + 1; in vc1_draw_sprites()
238 src_h[sprite][0] = v->sr_rows[sprite][0]; in vc1_draw_sprites()
239 src_h[sprite][1] = v->sr_rows[sprite][1]; in vc1_draw_sprites()