summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/t2.h
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2017-08-14 13:23:57 +0200
committerEven Rouault <even.rouault@spatialys.com>2017-08-17 19:05:54 +0200
commitfe338a057c39797bf61939471ebaef09e44464c7 (patch)
treec468abed56c47f7a1fd8d40f0ebbb44c2a404383 /src/lib/openjp2/t2.h
parent17ea17f487a777d14bd322ac06c4e6cb9124a226 (diff)
Sub-tile decoding: only decode precincts and codeblocks that intersect the window specified in opj_set_decode_area()
Diffstat (limited to 'src/lib/openjp2/t2.h')
-rw-r--r--src/lib/openjp2/t2.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/openjp2/t2.h b/src/lib/openjp2/t2.h
index 111aa2de..66500b16 100644
--- a/src/lib/openjp2/t2.h
+++ b/src/lib/openjp2/t2.h
@@ -13,6 +13,7 @@
* Copyright (c) 2005, Herve Drolon, FreeImage Team
* Copyright (c) 2008, 2011-2012, Centre National d'Etudes Spatiales (CNES), FR
* Copyright (c) 2012, CS Systemes d'Information, France
+ * Copyright (c) 2017, IntoPIX SA <support@intopix.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -94,6 +95,7 @@ OPJ_BOOL opj_t2_encode_packets(opj_t2_t* t2,
/**
Decode the packets of a tile from a source buffer
+@param tcd TCD handle
@param t2 T2 handle
@param tileno number that identifies the tile for which to decode the packets
@param tile tile for which to decode the packets
@@ -105,7 +107,8 @@ Decode the packets of a tile from a source buffer
@return FIXME DOC
*/
-OPJ_BOOL opj_t2_decode_packets(opj_t2_t *t2,
+OPJ_BOOL opj_t2_decode_packets(opj_tcd_t* tcd,
+ opj_t2_t *t2,
OPJ_UINT32 tileno,
opj_tcd_tile_t *tile,
OPJ_BYTE *src,