diff options
| author | Mickael Savinaud <savmickael@users.noreply.github.com> | 2011-10-21 16:38:08 +0000 |
|---|---|---|
| committer | Mickael Savinaud <savmickael@users.noreply.github.com> | 2011-10-21 16:38:08 +0000 |
| commit | 2808de608439aa32c280b3d04bc6e494faa73900 (patch) | |
| tree | ae843ab0268c9bf0141b1dcb3f8208aa12de72b9 /libopenjpeg/jp2.c | |
| parent | 028088f5f077b6cc666f8152736398df68ec239b (diff) | |
[trunk] WIP: manage output image with area correponding to the set decoded area
Diffstat (limited to 'libopenjpeg/jp2.c')
| -rw-r--r-- | libopenjpeg/jp2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libopenjpeg/jp2.c b/libopenjpeg/jp2.c index ee913140..322abc75 100644 --- a/libopenjpeg/jp2.c +++ b/libopenjpeg/jp2.c @@ -2627,11 +2627,12 @@ void jp2_destroy(opj_jp2_v2_t *jp2) * @return true if the area could be set. */ opj_bool jp2_set_decode_area( opj_jp2_v2_t *p_jp2, + opj_image_t* p_image, OPJ_INT32 p_start_x, OPJ_INT32 p_start_y, OPJ_INT32 p_end_x, OPJ_INT32 p_end_y, struct opj_event_mgr * p_manager ) { - return j2k_set_decode_area(p_jp2->j2k, p_start_x, p_start_y, p_end_x, p_end_y, p_manager); + return j2k_set_decode_area(p_jp2->j2k, p_image, p_start_x, p_start_y, p_end_x, p_end_y, p_manager); } /* ----------------------------------------------------------------------- */ |
