rename jp2_write_jp_v2 to opj_jp2_write_jp

This commit is contained in:
Mickael Savinaud 2012-08-13 10:03:57 +00:00
parent 094b952d70
commit 0e1c2e3378
1 changed files with 17 additions and 4 deletions

View File

@ -193,6 +193,19 @@ static opj_bool opj_jp2_read_jp(opj_jp2_v2_t *jp2,
OPJ_UINT32 p_header_size,
opj_event_mgr_t * p_manager);
/**
* Writes a jpeg2000 file signature box.
*
* @param cio the stream to write data to.
* @param jp2 the jpeg2000 file codec.
* @param p_manager the user event manager.
*
* @return true if writting was successful.
*/
static opj_bool opj_jp2_write_jp( opj_jp2_v2_t *jp2,
opj_stream_private_t *cio,
opj_event_mgr_t * p_manager );
/**
Apply collected palette data
@param color Collector for profile, cdef and pclr data
@ -1471,7 +1484,7 @@ opj_bool opj_jp2_write_jp2c(opj_jp2_v2_t *jp2,
*
* @return true if writting was successful.
*/
opj_bool jp2_write_jp_v2( opj_jp2_v2_t *jp2,
opj_bool opj_jp2_write_jp( opj_jp2_v2_t *jp2,
opj_stream_private_t *cio,
opj_event_mgr_t * p_manager )
{
@ -2383,7 +2396,7 @@ void opj_jp2_setup_header_writting (opj_jp2_v2_t *jp2)
/* preconditions */
assert(jp2 != 00);
opj_procedure_list_add_procedure(jp2->m_procedure_list,(opj_procedure)jp2_write_jp_v2 );
opj_procedure_list_add_procedure(jp2->m_procedure_list,(opj_procedure)opj_jp2_write_jp );
opj_procedure_list_add_procedure(jp2->m_procedure_list,(opj_procedure)opj_jp2_write_ftyp );
opj_procedure_list_add_procedure(jp2->m_procedure_list,(opj_procedure)opj_jp2_write_jp2h );
opj_procedure_list_add_procedure(jp2->m_procedure_list,(opj_procedure)opj_jp2_skip_jp2c );