Lines Matching refs:j2k
623 jp2->j2k->m_cp.allow_different_bit_depth_sign = (jp2->bpc == 255); in opj_jp2_read_ihdr()
624 jp2->j2k->ihdr_w = jp2->w; in opj_jp2_read_ihdr()
625 jp2->j2k->ihdr_h = jp2->h; in opj_jp2_read_ihdr()
1603 jp2->j2k->enumcs = jp2->enumcs; in opj_jp2_read_colr()
1618 if (! opj_j2k_decode(jp2->j2k, p_stream, p_image, p_manager)) { in opj_jp2_decode()
1624 if (jp2->j2k->m_specific_param.m_decoder.m_numcomps_to_decode) { in opj_jp2_decode()
1907 opj_j2k_setup_decoder(jp2->j2k, parameters); in opj_jp2_setup_decoder()
1918 return opj_j2k_set_threads(jp2->j2k, num_threads); in opj_jp2_set_threads()
1952 if (opj_j2k_setup_encoder(jp2->j2k, parameters, image, in opj_jp2_setup_encoder()
2116 return opj_j2k_encode(jp2->j2k, stream, p_manager); in opj_jp2_encode()
2139 return opj_j2k_end_decompress(jp2->j2k, cio, p_manager); in opj_jp2_end_decompress()
2157 if (! opj_j2k_end_compress(jp2->j2k, cio, p_manager)) { in opj_jp2_end_compress()
2242 l_is_valid &= (jp2->j2k != 00); in opj_jp2_default_validation()
2501 return opj_j2k_start_compress(jp2->j2k, stream, p_image, p_manager); in opj_jp2_start_compress()
2887 jp2->j2k, in opj_jp2_read_header()
2988 return opj_j2k_read_tile_header(p_jp2->j2k, in opj_jp2_read_tile_header()
3008 return opj_j2k_write_tile(p_jp2->j2k, p_tile_index, p_data, p_data_size, in opj_jp2_write_tile()
3020 return opj_j2k_decode_tile(p_jp2->j2k, p_tile_index, p_data, p_data_size, in opj_jp2_decode_tile()
3028 opj_j2k_destroy(jp2->j2k); in opj_jp2_destroy()
3029 jp2->j2k = 00; in opj_jp2_destroy()
3097 return opj_j2k_set_decoded_components(p_jp2->j2k, in opj_jp2_set_decoded_components()
3109 return opj_j2k_set_decode_area(p_jp2->j2k, p_image, p_start_x, p_start_y, in opj_jp2_set_decode_area()
3127 if (! opj_j2k_get_tile(p_jp2->j2k, p_stream, p_image, p_manager, tile_index)) { in opj_jp2_get_tile()
3133 if (p_jp2->j2k->m_specific_param.m_decoder.m_numcomps_to_decode) { in opj_jp2_get_tile()
3193 jp2->j2k = opj_j2k_create_compress(); in opj_jp2_create()
3195 jp2->j2k = opj_j2k_create_decompress(); in opj_jp2_create()
3198 if (jp2->j2k == 00) { in opj_jp2_create()
3233 j2k_dump(p_jp2->j2k, in jp2_dump()
3240 return j2k_get_cstr_index(p_jp2->j2k); in jp2_get_cstr_index()
3245 return j2k_get_cstr_info(p_jp2->j2k); in jp2_get_cstr_info()
3252 return opj_j2k_set_decoded_resolution_factor(p_jp2->j2k, res_factor, p_manager); in opj_jp2_set_decoded_resolution_factor()