Lines Matching refs:ftyp
146 {JP2_BOX_FTYP, "FTYP", 0,
349 jp2_ftyp_t *ftyp = &box->data.ftyp;
351 if (jp2_getuint32(in, &ftyp->majver) || jp2_getuint32(in, &ftyp->minver)) {
354 ftyp->numcompatcodes = (box->datalen - 8) / 4;
355 if (ftyp->numcompatcodes > JP2_FTYP_MAXCOMPATCODES) {
358 for (i = 0; i < ftyp->numcompatcodes; ++i) {
359 if (jp2_getuint32(in, &ftyp->compatcodes[i])) {
543 jp2_ftyp_t *ftyp = &box->data.ftyp;
545 if (jp2_putuint32(out, ftyp->majver) || jp2_putuint32(out, ftyp->minver)) {
548 for (i = 0; i < ftyp->numcompatcodes; ++i) {
549 if (jp2_putuint32(out, ftyp->compatcodes[i])) {