Lines Matching refs:jp2_state
2067 l_is_valid &= (jp2->jp2_state == JP2_STATE_NONE); in opj_jp2_default_validation()
2132 if (jp2->jp2_state & JP2_STATE_HEADER) { in opj_jp2_read_header_procedure()
2133 jp2->jp2_state |= JP2_STATE_CODESTREAM; in opj_jp2_read_header_procedure()
2162 if (jp2->jp2_state & JP2_STATE_HEADER) { in opj_jp2_read_header_procedure()
2167 jp2->jp2_state |= JP2_STATE_UNKNOWN; in opj_jp2_read_header_procedure()
2206 if (!(jp2->jp2_state & JP2_STATE_SIGNATURE)) { in opj_jp2_read_header_procedure()
2211 if (!(jp2->jp2_state & JP2_STATE_FILE_TYPE)) { in opj_jp2_read_header_procedure()
2216 jp2->jp2_state |= JP2_STATE_UNKNOWN; in opj_jp2_read_header_procedure()
2360 if (jp2->jp2_state != JP2_STATE_NONE) { in opj_jp2_read_jp()
2378 jp2->jp2_state |= JP2_STATE_SIGNATURE; in opj_jp2_read_jp()
2406 if (jp2->jp2_state != JP2_STATE_SIGNATURE) { in opj_jp2_read_ftyp()
2447 jp2->jp2_state |= JP2_STATE_FILE_TYPE; in opj_jp2_read_ftyp()
2515 if ((jp2->jp2_state & JP2_STATE_FILE_TYPE) != JP2_STATE_FILE_TYPE ) { in opj_jp2_read_jp2h()
2561 jp2->jp2_state |= JP2_STATE_HEADER; in opj_jp2_read_jp2h()