Lines Matching refs:p_image

1611                         opj_image_t* p_image,  in opj_jp2_decode()  argument
1614 if (!p_image) { in opj_jp2_decode()
1619 if (! opj_j2k_decode(jp2->j2k, p_stream, p_image, p_manager)) { in opj_jp2_decode()
1631 if (!opj_jp2_check_color(p_image, &(jp2->color), p_manager)) { in opj_jp2_decode()
1637 p_image->color_space = OPJ_CLRSPC_SRGB; in opj_jp2_decode()
1639 p_image->color_space = OPJ_CLRSPC_GRAY; in opj_jp2_decode()
1641 p_image->color_space = OPJ_CLRSPC_SYCC; in opj_jp2_decode()
1643 p_image->color_space = OPJ_CLRSPC_EYCC; in opj_jp2_decode()
1645 p_image->color_space = OPJ_CLRSPC_CMYK; in opj_jp2_decode()
1647 p_image->color_space = OPJ_CLRSPC_UNKNOWN; in opj_jp2_decode()
1654 } else if (p_image->pdfium_use_colorspace) { in opj_jp2_decode()
1655 if (!opj_jp2_apply_pclr(p_image, &(jp2->color), p_manager)) { in opj_jp2_decode()
1663 opj_jp2_apply_cdef(p_image, &(jp2->color), p_manager); in opj_jp2_decode()
1667 p_image->icc_profile_buf = jp2->color.icc_profile_buf; in opj_jp2_decode()
1668 p_image->icc_profile_len = jp2->color.icc_profile_len; in opj_jp2_decode()
2473 opj_image_t * p_image, in opj_jp2_start_compress() argument
2502 return opj_j2k_start_compress(jp2->j2k, stream, p_image, p_manager); in opj_jp2_start_compress()
2850 opj_image_t ** p_image, in opj_jp2_read_header() argument
2889 p_image, in opj_jp2_read_header()
3104 opj_image_t* p_image, in opj_jp2_set_decode_area() argument
3110 return opj_j2k_set_decode_area(p_jp2->j2k, p_image, p_start_x, p_start_y, in opj_jp2_set_decode_area()
3116 opj_image_t* p_image, in opj_jp2_get_tile() argument
3121 if (!p_image) { in opj_jp2_get_tile()
3128 if (! opj_j2k_get_tile(p_jp2->j2k, p_stream, p_image, p_manager, tile_index)) { in opj_jp2_get_tile()
3139 if (!opj_jp2_check_color(p_image, &(p_jp2->color), p_manager)) { in opj_jp2_get_tile()
3145 p_image->color_space = OPJ_CLRSPC_SRGB; in opj_jp2_get_tile()
3147 p_image->color_space = OPJ_CLRSPC_GRAY; in opj_jp2_get_tile()
3149 p_image->color_space = OPJ_CLRSPC_SYCC; in opj_jp2_get_tile()
3151 p_image->color_space = OPJ_CLRSPC_EYCC; in opj_jp2_get_tile()
3153 p_image->color_space = OPJ_CLRSPC_CMYK; in opj_jp2_get_tile()
3155 p_image->color_space = OPJ_CLRSPC_UNKNOWN; in opj_jp2_get_tile()
3163 if (!opj_jp2_apply_pclr(p_image, &(p_jp2->color), p_manager)) { in opj_jp2_get_tile()
3171 opj_jp2_apply_cdef(p_image, &(p_jp2->color), p_manager); in opj_jp2_get_tile()
3175 p_image->icc_profile_buf = p_jp2->color.icc_profile_buf; in opj_jp2_get_tile()
3176 p_image->icc_profile_len = p_jp2->color.icc_profile_len; in opj_jp2_get_tile()