31 #ifndef IMGREG_MANAGER_H_
32 # define IMGREG_MANAGER_H_
57 const int rx,
const int ry,
58 const int rw,
const int rh,
59 const int XOsiz,
const int YOsiz,
60 const int Xsiz,
const int Ysiz,
61 const int numOfreslev);
79 void find_level(
int maxlev,
int *lev,
int *fx,
int *fy,
int *xmin,
int *ymin,
80 int *xmax,
int *ymax);
void find_level(int maxlev, int *lev, int *fx, int *fy, int *xmin, int *ymin, int *xmax, int *ymax)
find deconposition level and its resolution size C.4.1 Mapping view-window requests to codestream ima...
Definition: imgreg_manager.c:109
int oy
Definition: imgreg_manager.h:39
int xosiz
Definition: imgreg_manager.h:36
int fy
Definition: imgreg_manager.h:38
int ox
frame size (fsiz)
Definition: imgreg_manager.h:39
int fx
offset from the origin of the reference grid at the decomposition level
Definition: imgreg_manager.h:38
int level
region size (rsiz)
Definition: imgreg_manager.h:41
int sx
offset (roff)
Definition: imgreg_manager.h:40
int sy
Definition: imgreg_manager.h:40
image region parameters
Definition: imgreg_manager.h:35
int yosiz
Definition: imgreg_manager.h:36
imgreg_param_t map_viewin2imgreg(const int fx, const int fy, const int rx, const int ry, const int rw, const int rh, const int XOsiz, const int YOsiz, const int Xsiz, const int Ysiz, const int numOfreslev)
map view-window requests to codestream image resolutions and regions
Definition: imgreg_manager.c:46
void print_imgreg(imgreg_param_t imgreg)
print image region parameters
Definition: imgreg_manager.c:150
struct imgreg_param imgreg_param_t
image region parameters
int comp_decomplev(int fw, int fh, int Xsiz, int Ysiz)
compute decomposition level (only to get the level use find_level for all parameters ...
Definition: imgreg_manager.c:134