Lines Matching refs:p_image
1610 opj_image_t* p_image, in opj_jp2_decode() argument
1613 if (!p_image) { in opj_jp2_decode()
1618 if (! opj_j2k_decode(jp2->j2k, p_stream, p_image, p_manager)) { in opj_jp2_decode()
1630 if (!opj_jp2_check_color(p_image, &(jp2->color), p_manager)) { in opj_jp2_decode()
1636 p_image->color_space = OPJ_CLRSPC_SRGB; in opj_jp2_decode()
1638 p_image->color_space = OPJ_CLRSPC_GRAY; in opj_jp2_decode()
1640 p_image->color_space = OPJ_CLRSPC_SYCC; in opj_jp2_decode()
1642 p_image->color_space = OPJ_CLRSPC_EYCC; in opj_jp2_decode()
1644 p_image->color_space = OPJ_CLRSPC_CMYK; in opj_jp2_decode()
1646 p_image->color_space = OPJ_CLRSPC_UNKNOWN; in opj_jp2_decode()
1654 if (!opj_jp2_apply_pclr(p_image, &(jp2->color), p_manager)) { in opj_jp2_decode()
1662 opj_jp2_apply_cdef(p_image, &(jp2->color), p_manager); in opj_jp2_decode()
1666 p_image->icc_profile_buf = jp2->color.icc_profile_buf; in opj_jp2_decode()
1667 p_image->icc_profile_len = jp2->color.icc_profile_len; in opj_jp2_decode()
2472 opj_image_t * p_image, in opj_jp2_start_compress() argument
2501 return opj_j2k_start_compress(jp2->j2k, stream, p_image, p_manager); in opj_jp2_start_compress()
2849 opj_image_t ** p_image, in opj_jp2_read_header() argument
2888 p_image, in opj_jp2_read_header()
3103 opj_image_t* p_image, in opj_jp2_set_decode_area() argument
3109 return opj_j2k_set_decode_area(p_jp2->j2k, p_image, p_start_x, p_start_y, in opj_jp2_set_decode_area()
3115 opj_image_t* p_image, in opj_jp2_get_tile() argument
3120 if (!p_image) { in opj_jp2_get_tile()
3127 if (! opj_j2k_get_tile(p_jp2->j2k, p_stream, p_image, p_manager, tile_index)) { in opj_jp2_get_tile()
3138 if (!opj_jp2_check_color(p_image, &(p_jp2->color), p_manager)) { in opj_jp2_get_tile()
3144 p_image->color_space = OPJ_CLRSPC_SRGB; in opj_jp2_get_tile()
3146 p_image->color_space = OPJ_CLRSPC_GRAY; in opj_jp2_get_tile()
3148 p_image->color_space = OPJ_CLRSPC_SYCC; in opj_jp2_get_tile()
3150 p_image->color_space = OPJ_CLRSPC_EYCC; in opj_jp2_get_tile()
3152 p_image->color_space = OPJ_CLRSPC_CMYK; in opj_jp2_get_tile()
3154 p_image->color_space = OPJ_CLRSPC_UNKNOWN; in opj_jp2_get_tile()
3162 if (!opj_jp2_apply_pclr(p_image, &(p_jp2->color), p_manager)) { in opj_jp2_get_tile()
3170 opj_jp2_apply_cdef(p_image, &(p_jp2->color), p_manager); in opj_jp2_get_tile()
3174 p_image->icc_profile_buf = p_jp2->color.icc_profile_buf; in opj_jp2_get_tile()
3175 p_image->icc_profile_len = p_jp2->color.icc_profile_len; in opj_jp2_get_tile()