Lines Matching defs:page
43 Page pt[MAX_PAGES]; /**< page table */
44 int page; /**< current page (or AVERROR_xxx code) */
45 int record; /**< current record (with in page) */
62 * @return page containing the requested record or AVERROR_XXX
95 avio_skip(pb, 2); /* max records per page */
140 /* read page table */
152 /* find page of first frame */
153 anm->page = find_record(anm, 0);
154 if (anm->page < 0) {
155 return anm->page;
177 if (anm->page < 0)
178 return anm->page;
181 p = &anm->pt[anm->page];
183 /* parse page header */
185 avio_seek(pb, anm->page_table_offset + MAX_PAGES*6 + (anm->page<<16), SEEK_SET);
190 /* if we have fetched all records in this page, then find the
191 next page and repeat */
193 anm->page = find_record(anm, p->base_record + p->nb_records);
194 if (anm->page < 0)
195 return anm->page;
202 avio_seek(pb, anm->page_table_offset + MAX_PAGES*6 + (anm->page<<16) +