Lines Matching refs:curframe
41 uint32_t curframe, lastframe; member
76 c->curframe = 0; in mpc_read_header()
125 int ret, size, size2, curbits, cur = c->curframe; in mpc_read_packet()
129 if (c->curframe >= c->fcount && c->fcount) in mpc_read_packet()
132 if(c->curframe != c->lastframe + 1){ in mpc_read_packet()
133 avio_seek(s->pb, c->frames[c->curframe].pos, SEEK_SET); in mpc_read_packet()
134 c->curbits = c->frames[c->curframe].skip; in mpc_read_packet()
136 c->lastframe = c->curframe; in mpc_read_packet()
137 c->curframe++; in mpc_read_packet()
163 pkt->data[1] = (c->curframe > c->fcount) && c->fcount; in mpc_read_packet()
198 c->curframe = st->index_entries[index].pos; in mpc_read_seek()
207 lastframe = c->curframe; in mpc_read_seek()
208 if(c->frames_noted) c->curframe = c->frames_noted - 1; in mpc_read_seek()
209 while(c->curframe < timestamp){ in mpc_read_seek()
212 c->curframe = lastframe; in mpc_read_seek()