Lines Matching refs:jp2_state
2235 l_is_valid &= (jp2->jp2_state == JP2_STATE_NONE); in opj_jp2_default_validation()
2302 if (jp2->jp2_state & JP2_STATE_HEADER) { in opj_jp2_read_header_procedure()
2303 jp2->jp2_state |= JP2_STATE_CODESTREAM; in opj_jp2_read_header_procedure()
2334 if (jp2->jp2_state & JP2_STATE_HEADER) { in opj_jp2_read_header_procedure()
2342 jp2->jp2_state |= JP2_STATE_UNKNOWN; in opj_jp2_read_header_procedure()
2391 if (!(jp2->jp2_state & JP2_STATE_SIGNATURE)) { in opj_jp2_read_header_procedure()
2397 if (!(jp2->jp2_state & JP2_STATE_FILE_TYPE)) { in opj_jp2_read_header_procedure()
2403 jp2->jp2_state |= JP2_STATE_UNKNOWN; in opj_jp2_read_header_procedure()
2406 if (jp2->jp2_state & JP2_STATE_CODESTREAM) { in opj_jp2_read_header_procedure()
2562 if (jp2->jp2_state != JP2_STATE_NONE) { in opj_jp2_read_jp()
2582 jp2->jp2_state |= JP2_STATE_SIGNATURE; in opj_jp2_read_jp()
2610 if (jp2->jp2_state != JP2_STATE_SIGNATURE) { in opj_jp2_read_ftyp()
2651 jp2->jp2_state |= JP2_STATE_FILE_TYPE; in opj_jp2_read_ftyp()
2719 if ((jp2->jp2_state & JP2_STATE_FILE_TYPE) != JP2_STATE_FILE_TYPE) { in opj_jp2_read_jp2h()
2770 jp2->jp2_state |= JP2_STATE_HEADER; in opj_jp2_read_jp2h()