Home
last modified time | relevance | path

Searched refs:first_pass_failed (Results 1 – 1 of 1) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
Dt2.c396 OPJ_BOOL* first_pass_failed = NULL; in opj_t2_decode_packets() local
404 first_pass_failed = (OPJ_BOOL*)opj_malloc(l_image->numcomps * sizeof(OPJ_BOOL)); in opj_t2_decode_packets()
405 if (!first_pass_failed) in opj_t2_decode_packets()
410 memset(first_pass_failed, OPJ_TRUE, l_image->numcomps * sizeof(OPJ_BOOL)); in opj_t2_decode_packets()
420 first_pass_failed[l_current_pi->compno] = OPJ_FALSE; in opj_t2_decode_packets()
424 opj_free(first_pass_failed); in opj_t2_decode_packets()
435 opj_free(first_pass_failed); in opj_t2_decode_packets()
440 if (first_pass_failed[l_current_pi->compno]) { in opj_t2_decode_packets()
474 opj_free(first_pass_failed); in opj_t2_decode_packets()