Lines Matching refs:m_tp
6423 opj_thread_pool_destroy(j2k->m_tp); in opj_j2k_set_threads()
6424 j2k->m_tp = NULL; in opj_j2k_set_threads()
6426 j2k->m_tp = opj_thread_pool_create((int)num_threads); in opj_j2k_set_threads()
6428 if (j2k->m_tp == NULL) { in opj_j2k_set_threads()
6429 j2k->m_tp = opj_thread_pool_create(0); in opj_j2k_set_threads()
6501 l_j2k->m_tp = opj_thread_pool_create(opj_j2k_get_default_thread_count()); in opj_j2k_create_compress()
6502 if (!l_j2k->m_tp) { in opj_j2k_create_compress()
6503 l_j2k->m_tp = opj_thread_pool_create(0); in opj_j2k_create_compress()
6505 if (!l_j2k->m_tp) { in opj_j2k_create_compress()
8240 if (!opj_tcd_init(p_j2k->m_tcd, l_image, &(p_j2k->m_cp), p_j2k->m_tp)) { in opj_j2k_copy_default_tcp_and_create_tcd()
8326 opj_thread_pool_destroy(p_j2k->m_tp); in opj_j2k_destroy()
8327 p_j2k->m_tp = NULL; in opj_j2k_destroy()
9531 l_j2k->m_tp = opj_thread_pool_create(opj_j2k_get_default_thread_count()); in opj_j2k_create_decompress()
9532 if (!l_j2k->m_tp) { in opj_j2k_create_decompress()
9533 l_j2k->m_tp = opj_thread_pool_create(0); in opj_j2k_create_decompress()
9535 if (!l_j2k->m_tp) { in opj_j2k_create_decompress()
12075 p_j2k->m_tp)) { in opj_j2k_create_tcd()