[trunk]rename pi_update_encoding_parameters to opj_pi_update_encoding_parameters

This commit is contained in:
Mickael Savinaud 2012-10-03 12:50:44 +00:00
parent bd2c6cfa55
commit 6c4024796e
3 changed files with 8 additions and 8 deletions

View File

@ -1629,7 +1629,7 @@ opj_bool opj_j2k_calculate_tp( opj_j2k_v2_t *p_j2k,
for (tileno = 0; tileno < l_nb_tiles; ++tileno) { for (tileno = 0; tileno < l_nb_tiles; ++tileno) {
OPJ_UINT32 cur_totnum_tp = 0; OPJ_UINT32 cur_totnum_tp = 0;
pi_update_encoding_parameters(image,cp,tileno); opj_pi_update_encoding_parameters(image,cp,tileno);
for (pino = 0; pino <= tcp->numpocs; ++pino) for (pino = 0; pino <= tcp->numpocs; ++pino)
{ {
@ -1659,7 +1659,7 @@ opj_bool opj_j2k_calculate_tp( opj_j2k_v2_t *p_j2k,
for (tileno = 0; tileno < l_nb_tiles; ++tileno) { for (tileno = 0; tileno < l_nb_tiles; ++tileno) {
OPJ_UINT32 cur_totnum_tp = 0; OPJ_UINT32 cur_totnum_tp = 0;
pi_update_encoding_parameters(image,cp,tileno); opj_pi_update_encoding_parameters(image,cp,tileno);
for (pino = 0; pino <= tcp->numpocs; ++pino) { for (pino = 0; pino <= tcp->numpocs; ++pino) {
OPJ_UINT32 tp_num = opj_j2k_get_num_tp(cp,pino,tileno); OPJ_UINT32 tp_num = opj_j2k_get_num_tp(cp,pino,tileno);

View File

@ -1424,9 +1424,9 @@ opj_bool pi_create_encode( opj_pi_iterator_t *pi, opj_cp_t *cp,int tileno, int p
return OPJ_FALSE; return OPJ_FALSE;
} }
void pi_update_encoding_parameters( const opj_image_t *p_image, void opj_pi_update_encoding_parameters( const opj_image_t *p_image,
opj_cp_v2_t *p_cp, opj_cp_v2_t *p_cp,
OPJ_UINT32 p_tile_no ) OPJ_UINT32 p_tile_no )
{ {
/* encoding parameters to set */ /* encoding parameters to set */
OPJ_UINT32 l_max_res; OPJ_UINT32 l_max_res;

View File

@ -133,9 +133,9 @@ opj_pi_iterator_t *pi_initialise_encode_v2( const struct opj_image *image,
* @param p_cp the coding parameters. * @param p_cp the coding parameters.
* @param p_tile_no index of the tile being encoded. * @param p_tile_no index of the tile being encoded.
*/ */
void pi_update_encoding_parameters( const struct opj_image *p_image, void opj_pi_update_encoding_parameters( const opj_image_t *p_image,
struct opj_cp_v2 *p_cp, opj_cp_v2_t *p_cp,
OPJ_UINT32 p_tile_no ); OPJ_UINT32 p_tile_no );
/** /**
Modify the packet iterator for enabling tile part generation Modify the packet iterator for enabling tile part generation