box 108 3rdparty/libjasper/jp2_cod.c void jp2_box_dump(jp2_box_t *box, FILE *out); box 110 3rdparty/libjasper/jp2_cod.c static int jp2_jp_getdata(jp2_box_t *box, jas_stream_t *in); box 111 3rdparty/libjasper/jp2_cod.c static int jp2_jp_putdata(jp2_box_t *box, jas_stream_t *out); box 112 3rdparty/libjasper/jp2_cod.c static int jp2_ftyp_getdata(jp2_box_t *box, jas_stream_t *in); box 113 3rdparty/libjasper/jp2_cod.c static int jp2_ftyp_putdata(jp2_box_t *box, jas_stream_t *out); box 114 3rdparty/libjasper/jp2_cod.c static int jp2_ihdr_getdata(jp2_box_t *box, jas_stream_t *in); box 115 3rdparty/libjasper/jp2_cod.c static int jp2_ihdr_putdata(jp2_box_t *box, jas_stream_t *out); box 116 3rdparty/libjasper/jp2_cod.c static void jp2_bpcc_destroy(jp2_box_t *box); box 117 3rdparty/libjasper/jp2_cod.c static int jp2_bpcc_getdata(jp2_box_t *box, jas_stream_t *in); box 118 3rdparty/libjasper/jp2_cod.c static int jp2_bpcc_putdata(jp2_box_t *box, jas_stream_t *out); box 119 3rdparty/libjasper/jp2_cod.c static int jp2_colr_getdata(jp2_box_t *box, jas_stream_t *in); box 120 3rdparty/libjasper/jp2_cod.c static int jp2_colr_putdata(jp2_box_t *box, jas_stream_t *out); box 121 3rdparty/libjasper/jp2_cod.c static void jp2_colr_dumpdata(jp2_box_t *box, FILE *out); box 122 3rdparty/libjasper/jp2_cod.c static void jp2_colr_destroy(jp2_box_t *box); box 123 3rdparty/libjasper/jp2_cod.c static void jp2_cdef_destroy(jp2_box_t *box); box 124 3rdparty/libjasper/jp2_cod.c static int jp2_cdef_getdata(jp2_box_t *box, jas_stream_t *in); box 125 3rdparty/libjasper/jp2_cod.c static int jp2_cdef_putdata(jp2_box_t *box, jas_stream_t *out); box 126 3rdparty/libjasper/jp2_cod.c static void jp2_cdef_dumpdata(jp2_box_t *box, FILE *out); box 127 3rdparty/libjasper/jp2_cod.c static void jp2_cmap_destroy(jp2_box_t *box); box 128 3rdparty/libjasper/jp2_cod.c static int jp2_cmap_getdata(jp2_box_t *box, jas_stream_t *in); box 129 3rdparty/libjasper/jp2_cod.c static int jp2_cmap_putdata(jp2_box_t *box, jas_stream_t *out); box 130 3rdparty/libjasper/jp2_cod.c static void jp2_cmap_dumpdata(jp2_box_t *box, FILE *out); box 131 3rdparty/libjasper/jp2_cod.c static void jp2_pclr_destroy(jp2_box_t *box); box 132 3rdparty/libjasper/jp2_cod.c static int jp2_pclr_getdata(jp2_box_t *box, jas_stream_t *in); box 133 3rdparty/libjasper/jp2_cod.c static int jp2_pclr_putdata(jp2_box_t *box, jas_stream_t *out); box 134 3rdparty/libjasper/jp2_cod.c static void jp2_pclr_dumpdata(jp2_box_t *box, FILE *out); box 135 3rdparty/libjasper/jp2_cod.c static void jp2_uuid_destroy(jp2_box_t *box); box 136 3rdparty/libjasper/jp2_cod.c static int jp2_uuid_getdata(jp2_box_t *box, jas_stream_t *in); box 137 3rdparty/libjasper/jp2_cod.c static int jp2_uuid_putdata(jp2_box_t *box, jas_stream_t *out); box 195 3rdparty/libjasper/jp2_cod.c jp2_box_t *box; box 198 3rdparty/libjasper/jp2_cod.c if (!(box = jas_malloc(sizeof(jp2_box_t)))) { box 201 3rdparty/libjasper/jp2_cod.c memset(box, 0, sizeof(jp2_box_t)); box 202 3rdparty/libjasper/jp2_cod.c box->type = type; box 203 3rdparty/libjasper/jp2_cod.c box->len = 0; box 207 3rdparty/libjasper/jp2_cod.c box->info = boxinfo; box 208 3rdparty/libjasper/jp2_cod.c box->ops = &boxinfo->ops; box 209 3rdparty/libjasper/jp2_cod.c return box; box 216 3rdparty/libjasper/jp2_cod.c void jp2_box_destroy(jp2_box_t *box) box 218 3rdparty/libjasper/jp2_cod.c if (box->ops->destroy) { box 219 3rdparty/libjasper/jp2_cod.c (*box->ops->destroy)(box); box 221 3rdparty/libjasper/jp2_cod.c jas_free(box); box 224 3rdparty/libjasper/jp2_cod.c static void jp2_bpcc_destroy(jp2_box_t *box) box 226 3rdparty/libjasper/jp2_cod.c jp2_bpcc_t *bpcc = &box->data.bpcc; box 233 3rdparty/libjasper/jp2_cod.c static void jp2_cdef_destroy(jp2_box_t *box) box 235 3rdparty/libjasper/jp2_cod.c jp2_cdef_t *cdef = &box->data.cdef; box 248 3rdparty/libjasper/jp2_cod.c jp2_box_t *box; box 255 3rdparty/libjasper/jp2_cod.c box = 0; box 258 3rdparty/libjasper/jp2_cod.c if (!(box = jas_malloc(sizeof(jp2_box_t)))) { box 261 3rdparty/libjasper/jp2_cod.c box->ops = &jp2_boxinfo_unk.ops; box 262 3rdparty/libjasper/jp2_cod.c if (jp2_getuint32(in, &len) || jp2_getuint32(in, &box->type)) { box 265 3rdparty/libjasper/jp2_cod.c boxinfo = jp2_boxinfolookup(box->type); box 266 3rdparty/libjasper/jp2_cod.c box->info = boxinfo; box 267 3rdparty/libjasper/jp2_cod.c box->ops = &boxinfo->ops; box 268 3rdparty/libjasper/jp2_cod.c box->len = len; box 269 3rdparty/libjasper/jp2_cod.c if (box->len == 1) { box 277 3rdparty/libjasper/jp2_cod.c box->len = extlen; box 278 3rdparty/libjasper/jp2_cod.c box->datalen = extlen - JP2_BOX_HDRLEN(true); box 280 3rdparty/libjasper/jp2_cod.c box->datalen = box->len - JP2_BOX_HDRLEN(false); box 282 3rdparty/libjasper/jp2_cod.c if (box->len != 0 && box->len < 8) { box 286 3rdparty/libjasper/jp2_cod.c dataflag = !(box->info->flags & (JP2_BOX_SUPER | JP2_BOX_NODATA)); box 292 3rdparty/libjasper/jp2_cod.c if (jas_stream_copy(tmpstream, in, box->datalen)) { box 298 3rdparty/libjasper/jp2_cod.c if (box->ops->getdata) { box 299 3rdparty/libjasper/jp2_cod.c if ((*box->ops->getdata)(box, tmpstream)) { box 308 3rdparty/libjasper/jp2_cod.c jp2_box_dump(box, stderr); box 311 3rdparty/libjasper/jp2_cod.c return box; box 315 3rdparty/libjasper/jp2_cod.c if (box) { box 316 3rdparty/libjasper/jp2_cod.c jp2_box_destroy(box); box 324 3rdparty/libjasper/jp2_cod.c void jp2_box_dump(jp2_box_t *box, FILE *out) box 327 3rdparty/libjasper/jp2_cod.c boxinfo = jp2_boxinfolookup(box->type); box 332 3rdparty/libjasper/jp2_cod.c '"', (unsigned)box->type, (int)box->len); box 333 3rdparty/libjasper/jp2_cod.c if (box->ops->dumpdata) { box 334 3rdparty/libjasper/jp2_cod.c (*box->ops->dumpdata)(box, out); box 338 3rdparty/libjasper/jp2_cod.c static int jp2_jp_getdata(jp2_box_t *box, jas_stream_t *in) box 340 3rdparty/libjasper/jp2_cod.c jp2_jp_t *jp = &box->data.jp; box 347 3rdparty/libjasper/jp2_cod.c static int jp2_ftyp_getdata(jp2_box_t *box, jas_stream_t *in) box 349 3rdparty/libjasper/jp2_cod.c jp2_ftyp_t *ftyp = &box->data.ftyp; box 354 3rdparty/libjasper/jp2_cod.c ftyp->numcompatcodes = (box->datalen - 8) / 4; box 366 3rdparty/libjasper/jp2_cod.c static int jp2_ihdr_getdata(jp2_box_t *box, jas_stream_t *in) box 368 3rdparty/libjasper/jp2_cod.c jp2_ihdr_t *ihdr = &box->data.ihdr; box 378 3rdparty/libjasper/jp2_cod.c static int jp2_bpcc_getdata(jp2_box_t *box, jas_stream_t *in) box 380 3rdparty/libjasper/jp2_cod.c jp2_bpcc_t *bpcc = &box->data.bpcc; box 382 3rdparty/libjasper/jp2_cod.c bpcc->numcmpts = box->datalen; box 394 3rdparty/libjasper/jp2_cod.c static void jp2_colr_dumpdata(jp2_box_t *box, FILE *out) box 396 3rdparty/libjasper/jp2_cod.c jp2_colr_t *colr = &box->data.colr; box 408 3rdparty/libjasper/jp2_cod.c static int jp2_colr_getdata(jp2_box_t *box, jas_stream_t *in) box 410 3rdparty/libjasper/jp2_cod.c jp2_colr_t *colr = &box->data.colr; box 426 3rdparty/libjasper/jp2_cod.c colr->iccplen = box->datalen - 3; box 438 3rdparty/libjasper/jp2_cod.c static void jp2_cdef_dumpdata(jp2_box_t *box, FILE *out) box 440 3rdparty/libjasper/jp2_cod.c jp2_cdef_t *cdef = &box->data.cdef; box 448 3rdparty/libjasper/jp2_cod.c static void jp2_colr_destroy(jp2_box_t *box) box 450 3rdparty/libjasper/jp2_cod.c jp2_colr_t *colr = &box->data.colr; box 456 3rdparty/libjasper/jp2_cod.c static int jp2_cdef_getdata(jp2_box_t *box, jas_stream_t *in) box 458 3rdparty/libjasper/jp2_cod.c jp2_cdef_t *cdef = &box->data.cdef; box 481 3rdparty/libjasper/jp2_cod.c int jp2_box_put(jp2_box_t *box, jas_stream_t *out) box 489 3rdparty/libjasper/jp2_cod.c dataflag = !(box->info->flags & (JP2_BOX_SUPER | JP2_BOX_NODATA)); box 493 3rdparty/libjasper/jp2_cod.c if (box->ops->putdata) { box 494 3rdparty/libjasper/jp2_cod.c if ((*box->ops->putdata)(box, tmpstream)) { box 498 3rdparty/libjasper/jp2_cod.c box->len = jas_stream_tell(tmpstream) + JP2_BOX_HDRLEN(false); box 502 3rdparty/libjasper/jp2_cod.c if (jp2_putuint32(out, /*extlen ? 1 :*/ box->len)) { box 505 3rdparty/libjasper/jp2_cod.c if (jp2_putuint32(out, box->type)) { box 515 3rdparty/libjasper/jp2_cod.c if (jas_stream_copy(out, tmpstream, box->len - JP2_BOX_HDRLEN(false))) { box 532 3rdparty/libjasper/jp2_cod.c static int jp2_jp_putdata(jp2_box_t *box, jas_stream_t *out) box 534 3rdparty/libjasper/jp2_cod.c jp2_jp_t *jp = &box->data.jp; box 541 3rdparty/libjasper/jp2_cod.c static int jp2_ftyp_putdata(jp2_box_t *box, jas_stream_t *out) box 543 3rdparty/libjasper/jp2_cod.c jp2_ftyp_t *ftyp = &box->data.ftyp; box 556 3rdparty/libjasper/jp2_cod.c static int jp2_ihdr_putdata(jp2_box_t *box, jas_stream_t *out) box 558 3rdparty/libjasper/jp2_cod.c jp2_ihdr_t *ihdr = &box->data.ihdr; box 568 3rdparty/libjasper/jp2_cod.c static int jp2_bpcc_putdata(jp2_box_t *box, jas_stream_t *out) box 570 3rdparty/libjasper/jp2_cod.c jp2_bpcc_t *bpcc = &box->data.bpcc; box 580 3rdparty/libjasper/jp2_cod.c static int jp2_colr_putdata(jp2_box_t *box, jas_stream_t *out) box 582 3rdparty/libjasper/jp2_cod.c jp2_colr_t *colr = &box->data.colr; box 602 3rdparty/libjasper/jp2_cod.c static int jp2_cdef_putdata(jp2_box_t *box, jas_stream_t *out) box 604 3rdparty/libjasper/jp2_cod.c jp2_cdef_t *cdef = &box->data.cdef; box 762 3rdparty/libjasper/jp2_cod.c static void jp2_cmap_destroy(jp2_box_t *box) box 764 3rdparty/libjasper/jp2_cod.c jp2_cmap_t *cmap = &box->data.cmap; box 770 3rdparty/libjasper/jp2_cod.c static int jp2_cmap_getdata(jp2_box_t *box, jas_stream_t *in) box 772 3rdparty/libjasper/jp2_cod.c jp2_cmap_t *cmap = &box->data.cmap; box 776 3rdparty/libjasper/jp2_cod.c cmap->numchans = (box->datalen) / 4; box 792 3rdparty/libjasper/jp2_cod.c static int jp2_cmap_putdata(jp2_box_t *box, jas_stream_t *out) box 795 3rdparty/libjasper/jp2_cod.c box = 0; box 801 3rdparty/libjasper/jp2_cod.c static void jp2_cmap_dumpdata(jp2_box_t *box, FILE *out) box 803 3rdparty/libjasper/jp2_cod.c jp2_cmap_t *cmap = &box->data.cmap; box 814 3rdparty/libjasper/jp2_cod.c static void jp2_pclr_destroy(jp2_box_t *box) box 816 3rdparty/libjasper/jp2_cod.c jp2_pclr_t *pclr = &box->data.pclr; box 824 3rdparty/libjasper/jp2_cod.c static int jp2_pclr_getdata(jp2_box_t *box, jas_stream_t *in) box 826 3rdparty/libjasper/jp2_cod.c jp2_pclr_t *pclr = &box->data.pclr; box 862 3rdparty/libjasper/jp2_cod.c static int jp2_pclr_putdata(jp2_box_t *box, jas_stream_t *out) box 865 3rdparty/libjasper/jp2_cod.c jp2_pclr_t *pclr = &box->data.pclr; box 868 3rdparty/libjasper/jp2_cod.c box = 0; box 873 3rdparty/libjasper/jp2_cod.c static void jp2_pclr_dumpdata(jp2_box_t *box, FILE *out) box 875 3rdparty/libjasper/jp2_cod.c jp2_pclr_t *pclr = &box->data.pclr; box 887 3rdparty/libjasper/jp2_cod.c static void jp2_uuid_destroy(jp2_box_t *box) box 889 3rdparty/libjasper/jp2_cod.c jp2_uuid_t *uuid = &box->data.uuid; box 897 3rdparty/libjasper/jp2_cod.c static int jp2_uuid_getdata(jp2_box_t *box, jas_stream_t *in) box 899 3rdparty/libjasper/jp2_cod.c jp2_uuid_t *uuid = &box->data.uuid; box 908 3rdparty/libjasper/jp2_cod.c uuid->datalen = box->datalen - 16; box 918 3rdparty/libjasper/jp2_cod.c static int jp2_uuid_putdata(jp2_box_t *box, jas_stream_t *out) box 920 3rdparty/libjasper/jp2_cod.c jp2_uuid_t *uuid = &box->data.uuid; box 277 3rdparty/libjasper/jp2_cod.h void (*init)(jp2_box_t *box); box 278 3rdparty/libjasper/jp2_cod.h void (*destroy)(jp2_box_t *box); box 279 3rdparty/libjasper/jp2_cod.h int (*getdata)(jp2_box_t *box, jas_stream_t *in); box 280 3rdparty/libjasper/jp2_cod.h int (*putdata)(jp2_box_t *box, jas_stream_t *out); box 281 3rdparty/libjasper/jp2_cod.h void (*dumpdata)(jp2_box_t *box, FILE *out); box 300 3rdparty/libjasper/jp2_cod.h void jp2_box_destroy(jp2_box_t *box); box 302 3rdparty/libjasper/jp2_cod.h int jp2_box_put(jp2_box_t *box, jas_stream_t *out); box 98 3rdparty/libjasper/jp2_dec.c jp2_box_t *box; box 120 3rdparty/libjasper/jp2_dec.c box = 0; box 128 3rdparty/libjasper/jp2_dec.c if (!(box = jp2_box_get(in))) { box 132 3rdparty/libjasper/jp2_dec.c if (box->type != JP2_BOX_JP) { box 136 3rdparty/libjasper/jp2_dec.c if (box->data.jp.magic != JP2_JP_MAGIC) { box 140 3rdparty/libjasper/jp2_dec.c jp2_box_destroy(box); box 141 3rdparty/libjasper/jp2_dec.c box = 0; box 144 3rdparty/libjasper/jp2_dec.c if (!(box = jp2_box_get(in))) { box 147 3rdparty/libjasper/jp2_dec.c if (box->type != JP2_BOX_FTYP) { box 151 3rdparty/libjasper/jp2_dec.c jp2_box_destroy(box); box 152 3rdparty/libjasper/jp2_dec.c box = 0; box 156 3rdparty/libjasper/jp2_dec.c while ((box = jp2_box_get(in))) { box 158 3rdparty/libjasper/jp2_dec.c jas_eprintf("box type %s\n", box->info->name); box 160 3rdparty/libjasper/jp2_dec.c switch (box->type) { box 166 3rdparty/libjasper/jp2_dec.c dec->ihdr = box; box 167 3rdparty/libjasper/jp2_dec.c box = 0; box 172 3rdparty/libjasper/jp2_dec.c dec->bpcc = box; box 173 3rdparty/libjasper/jp2_dec.c box = 0; box 178 3rdparty/libjasper/jp2_dec.c dec->cdef = box; box 179 3rdparty/libjasper/jp2_dec.c box = 0; box 184 3rdparty/libjasper/jp2_dec.c dec->pclr = box; box 185 3rdparty/libjasper/jp2_dec.c box = 0; box 190 3rdparty/libjasper/jp2_dec.c dec->cmap = box; box 191 3rdparty/libjasper/jp2_dec.c box = 0; box 196 3rdparty/libjasper/jp2_dec.c dec->colr = box; box 197 3rdparty/libjasper/jp2_dec.c box = 0; box 201 3rdparty/libjasper/jp2_dec.c if (box) { box 202 3rdparty/libjasper/jp2_dec.c jp2_box_destroy(box); box 203 3rdparty/libjasper/jp2_dec.c box = 0; box 426 3rdparty/libjasper/jp2_dec.c if (box) { box 427 3rdparty/libjasper/jp2_dec.c jp2_box_destroy(box); box 442 3rdparty/libjasper/jp2_dec.c jp2_box_t *box; box 96 3rdparty/libjasper/jp2_enc.c jp2_box_t *box; box 116 3rdparty/libjasper/jp2_enc.c box = 0; box 132 3rdparty/libjasper/jp2_enc.c if (!(box = jp2_box_create(JP2_BOX_JP))) { box 135 3rdparty/libjasper/jp2_enc.c box->data.jp.magic = JP2_JP_MAGIC; box 136 3rdparty/libjasper/jp2_enc.c if (jp2_box_put(box, out)) { box 139 3rdparty/libjasper/jp2_enc.c jp2_box_destroy(box); box 140 3rdparty/libjasper/jp2_enc.c box = 0; box 144 3rdparty/libjasper/jp2_enc.c if (!(box = jp2_box_create(JP2_BOX_FTYP))) { box 147 3rdparty/libjasper/jp2_enc.c ftyp = &box->data.ftyp; box 152 3rdparty/libjasper/jp2_enc.c if (jp2_box_put(box, out)) { box 155 3rdparty/libjasper/jp2_enc.c jp2_box_destroy(box); box 156 3rdparty/libjasper/jp2_enc.c box = 0; box 171 3rdparty/libjasper/jp2_enc.c if (!(box = jp2_box_create(JP2_BOX_IHDR))) { box 174 3rdparty/libjasper/jp2_enc.c ihdr = &box->data.ihdr; box 183 3rdparty/libjasper/jp2_enc.c if (jp2_box_put(box, tmpstream)) { box 186 3rdparty/libjasper/jp2_enc.c jp2_box_destroy(box); box 187 3rdparty/libjasper/jp2_enc.c box = 0; box 192 3rdparty/libjasper/jp2_enc.c if (!(box = jp2_box_create(JP2_BOX_BPCC))) { box 195 3rdparty/libjasper/jp2_enc.c bpcc = &box->data.bpcc; box 205 3rdparty/libjasper/jp2_enc.c if (jp2_box_put(box, tmpstream)) { box 208 3rdparty/libjasper/jp2_enc.c jp2_box_destroy(box); box 209 3rdparty/libjasper/jp2_enc.c box = 0; box 214 3rdparty/libjasper/jp2_enc.c if (!(box = jp2_box_create(JP2_BOX_COLR))) { box 217 3rdparty/libjasper/jp2_enc.c colr = &box->data.colr; box 249 3rdparty/libjasper/jp2_enc.c if (jp2_box_put(box, tmpstream)) { box 252 3rdparty/libjasper/jp2_enc.c jp2_box_destroy(box); box 253 3rdparty/libjasper/jp2_enc.c box = 0; box 286 3rdparty/libjasper/jp2_enc.c if (!(box = jp2_box_create(JP2_BOX_CDEF))) { box 289 3rdparty/libjasper/jp2_enc.c cdef = &box->data.cdef; box 299 3rdparty/libjasper/jp2_enc.c if (jp2_box_put(box, tmpstream)) { box 302 3rdparty/libjasper/jp2_enc.c jp2_box_destroy(box); box 303 3rdparty/libjasper/jp2_enc.c box = 0; box 315 3rdparty/libjasper/jp2_enc.c if (!(box = jp2_box_create(JP2_BOX_JP2H))) { box 318 3rdparty/libjasper/jp2_enc.c box->len = len + JP2_BOX_HDRLEN(false); box 319 3rdparty/libjasper/jp2_enc.c if (jp2_box_put(box, out)) { box 322 3rdparty/libjasper/jp2_enc.c jp2_box_destroy(box); box 323 3rdparty/libjasper/jp2_enc.c box = 0; box 337 3rdparty/libjasper/jp2_enc.c if (box) { box 338 3rdparty/libjasper/jp2_enc.c jp2_box_destroy(box); box 348 3rdparty/libjasper/jp2_enc.c jp2_box_t *box; box 356 3rdparty/libjasper/jp2_enc.c if (!(box = jp2_box_create(JP2_BOX_JP2C))) { box 359 3rdparty/libjasper/jp2_enc.c box->len = 0; box 360 3rdparty/libjasper/jp2_enc.c if (jp2_box_put(box, out)) { box 363 3rdparty/libjasper/jp2_enc.c jp2_box_destroy(box); box 364 3rdparty/libjasper/jp2_enc.c box = 0; box 381 3rdparty/libjasper/jp2_enc.c if (box) { box 382 3rdparty/libjasper/jp2_enc.c jp2_box_destroy(box); box 270 3rdparty/libjpeg/jquant2.c typedef box * boxptr; box 549 3rdparty/libjpeg/jquant2.c ((j_common_ptr) cinfo, JPOOL_IMAGE, desired_colors * SIZEOF(box)); box 521 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp Box2i box (V2i (xMin, yMin), V2i (xMax, yMax)); box 525 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp header(hdr)->insert (name, Imf::Box2iAttribute (box)); box 530 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp box; box 551 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp const Box2i &box = box 554 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *xMin = box.min.x; box 555 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *yMin = box.min.y; box 556 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *xMax = box.max.x; box 557 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *yMax = box.max.y; box 577 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp Box2f box (V2f (xMin, yMin), V2f (xMax, yMax)); box 581 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp header(hdr)->insert (name, Imf::Box2fAttribute (box)); box 586 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp box; box 607 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp const Box2f &box = box 610 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *xMin = box.min.x; box 611 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *yMin = box.min.y; box 612 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *xMax = box.max.x; box 613 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *yMax = box.max.y; box 103 3rdparty/openexr/Imath/ImathBox.h void extendBy (const Box<T> &box); box 113 3rdparty/openexr/Imath/ImathBox.h bool intersects (const Box<T> &box) const; box 216 3rdparty/openexr/Imath/ImathBox.h Box<T>::extendBy(const Box<T> &box) box 220 3rdparty/openexr/Imath/ImathBox.h if (box.min[i] < min[i]) box 221 3rdparty/openexr/Imath/ImathBox.h min[i] = box.min[i]; box 223 3rdparty/openexr/Imath/ImathBox.h if (box.max[i] > max[i]) box 224 3rdparty/openexr/Imath/ImathBox.h max[i] = box.max[i]; box 245 3rdparty/openexr/Imath/ImathBox.h Box<T>::intersects(const Box<T> &box) const box 249 3rdparty/openexr/Imath/ImathBox.h if (box.max[i] < min[i] || box.min[i] > max[i]) box 374 3rdparty/openexr/Imath/ImathBox.h void extendBy (const Box<Vec2<T> > &box); box 384 3rdparty/openexr/Imath/ImathBox.h bool intersects (const Box<Vec2<T> > &box) const; box 475 3rdparty/openexr/Imath/ImathBox.h Box<Vec2<T> >::extendBy (const Box<Vec2<T> > &box) box 477 3rdparty/openexr/Imath/ImathBox.h if (box.min[0] < min[0]) box 478 3rdparty/openexr/Imath/ImathBox.h min[0] = box.min[0]; box 480 3rdparty/openexr/Imath/ImathBox.h if (box.max[0] > max[0]) box 481 3rdparty/openexr/Imath/ImathBox.h max[0] = box.max[0]; box 483 3rdparty/openexr/Imath/ImathBox.h if (box.min[1] < min[1]) box 484 3rdparty/openexr/Imath/ImathBox.h min[1] = box.min[1]; box 486 3rdparty/openexr/Imath/ImathBox.h if (box.max[1] > max[1]) box 487 3rdparty/openexr/Imath/ImathBox.h max[1] = box.max[1]; box 505 3rdparty/openexr/Imath/ImathBox.h Box<Vec2<T> >::intersects (const Box<Vec2<T> > &box) const box 507 3rdparty/openexr/Imath/ImathBox.h if (box.max[0] < min[0] || box.min[0] > max[0] || box 508 3rdparty/openexr/Imath/ImathBox.h box.max[1] < min[1] || box.min[1] > max[1]) box 616 3rdparty/openexr/Imath/ImathBox.h void extendBy (const Box<Vec3<T> > &box); box 626 3rdparty/openexr/Imath/ImathBox.h bool intersects (const Box<Vec3<T> > &box) const; box 724 3rdparty/openexr/Imath/ImathBox.h Box<Vec3<T> >::extendBy (const Box<Vec3<T> > &box) box 726 3rdparty/openexr/Imath/ImathBox.h if (box.min[0] < min[0]) box 727 3rdparty/openexr/Imath/ImathBox.h min[0] = box.min[0]; box 729 3rdparty/openexr/Imath/ImathBox.h if (box.max[0] > max[0]) box 730 3rdparty/openexr/Imath/ImathBox.h max[0] = box.max[0]; box 732 3rdparty/openexr/Imath/ImathBox.h if (box.min[1] < min[1]) box 733 3rdparty/openexr/Imath/ImathBox.h min[1] = box.min[1]; box 735 3rdparty/openexr/Imath/ImathBox.h if (box.max[1] > max[1]) box 736 3rdparty/openexr/Imath/ImathBox.h max[1] = box.max[1]; box 738 3rdparty/openexr/Imath/ImathBox.h if (box.min[2] < min[2]) box 739 3rdparty/openexr/Imath/ImathBox.h min[2] = box.min[2]; box 741 3rdparty/openexr/Imath/ImathBox.h if (box.max[2] > max[2]) box 742 3rdparty/openexr/Imath/ImathBox.h max[2] = box.max[2]; box 761 3rdparty/openexr/Imath/ImathBox.h Box<Vec3<T> >::intersects (const Box<Vec3<T> > &box) const box 763 3rdparty/openexr/Imath/ImathBox.h if (box.max[0] < min[0] || box.min[0] > max[0] || box 764 3rdparty/openexr/Imath/ImathBox.h box.max[1] < min[1] || box.min[1] > max[1] || box 765 3rdparty/openexr/Imath/ImathBox.h box.max[2] < min[2] || box.min[2] > max[2]) box 88 3rdparty/openexr/Imath/ImathBoxAlgo.h clip (const T &p, const Box<T> &box) box 97 3rdparty/openexr/Imath/ImathBoxAlgo.h for (int i = 0; i < int (box.min.dimensions()); i++) box 99 3rdparty/openexr/Imath/ImathBoxAlgo.h if (p[i] < box.min[i]) box 100 3rdparty/openexr/Imath/ImathBoxAlgo.h q[i] = box.min[i]; box 101 3rdparty/openexr/Imath/ImathBoxAlgo.h else if (p[i] > box.max[i]) box 102 3rdparty/openexr/Imath/ImathBoxAlgo.h q[i] = box.max[i]; box 113 3rdparty/openexr/Imath/ImathBoxAlgo.h closestPointInBox (const T &p, const Box<T> &box) box 115 3rdparty/openexr/Imath/ImathBoxAlgo.h return clip (p, box); box 121 3rdparty/openexr/Imath/ImathBoxAlgo.h closestPointOnBox (const Vec3<T> &p, const Box< Vec3<T> > &box) box 130 3rdparty/openexr/Imath/ImathBoxAlgo.h if (box.isEmpty()) box 133 3rdparty/openexr/Imath/ImathBoxAlgo.h Vec3<T> q = closestPointInBox (p, box); box 137 3rdparty/openexr/Imath/ImathBoxAlgo.h Vec3<T> d1 = p - box.min; box 138 3rdparty/openexr/Imath/ImathBoxAlgo.h Vec3<T> d2 = box.max - p; box 146 3rdparty/openexr/Imath/ImathBoxAlgo.h q.x = (d1.x < d2.x)? box.min.x: box.max.x; box 150 3rdparty/openexr/Imath/ImathBoxAlgo.h q.y = (d1.y < d2.y)? box.min.y: box.max.y; box 154 3rdparty/openexr/Imath/ImathBoxAlgo.h q.z = (d1.z < d2.z)? box.min.z: box.max.z; box 164 3rdparty/openexr/Imath/ImathBoxAlgo.h transform (const Box< Vec3<S> > &box, const Matrix44<T> &m) box 180 3rdparty/openexr/Imath/ImathBoxAlgo.h if (box.isEmpty() || box.isInfinite()) box 181 3rdparty/openexr/Imath/ImathBoxAlgo.h return box; box 200 3rdparty/openexr/Imath/ImathBoxAlgo.h a = (S) m[j][i] * box.min[j]; box 201 3rdparty/openexr/Imath/ImathBoxAlgo.h b = (S) m[j][i] * box.max[j]; box 227 3rdparty/openexr/Imath/ImathBoxAlgo.h points[0][0] = points[1][0] = points[2][0] = points[3][0] = box.min[0]; box 228 3rdparty/openexr/Imath/ImathBoxAlgo.h points[4][0] = points[5][0] = points[6][0] = points[7][0] = box.max[0]; box 230 3rdparty/openexr/Imath/ImathBoxAlgo.h points[0][1] = points[1][1] = points[4][1] = points[5][1] = box.min[1]; box 231 3rdparty/openexr/Imath/ImathBoxAlgo.h points[2][1] = points[3][1] = points[6][1] = points[7][1] = box.max[1]; box 233 3rdparty/openexr/Imath/ImathBoxAlgo.h points[0][2] = points[2][2] = points[4][2] = points[6][2] = box.min[2]; box 234 3rdparty/openexr/Imath/ImathBoxAlgo.h points[1][2] = points[3][2] = points[5][2] = points[7][2] = box.max[2]; box 246 3rdparty/openexr/Imath/ImathBoxAlgo.h transform (const Box< Vec3<S> > &box, box 264 3rdparty/openexr/Imath/ImathBoxAlgo.h if (box.isEmpty() || box.isInfinite()) box 284 3rdparty/openexr/Imath/ImathBoxAlgo.h a = (S) m[j][i] * box.min[j]; box 285 3rdparty/openexr/Imath/ImathBoxAlgo.h b = (S) m[j][i] * box.max[j]; box 311 3rdparty/openexr/Imath/ImathBoxAlgo.h points[0][0] = points[1][0] = points[2][0] = points[3][0] = box.min[0]; box 312 3rdparty/openexr/Imath/ImathBoxAlgo.h points[4][0] = points[5][0] = points[6][0] = points[7][0] = box.max[0]; box 314 3rdparty/openexr/Imath/ImathBoxAlgo.h points[0][1] = points[1][1] = points[4][1] = points[5][1] = box.min[1]; box 315 3rdparty/openexr/Imath/ImathBoxAlgo.h points[2][1] = points[3][1] = points[6][1] = points[7][1] = box.max[1]; box 317 3rdparty/openexr/Imath/ImathBoxAlgo.h points[0][2] = points[2][2] = points[4][2] = points[6][2] = box.min[2]; box 318 3rdparty/openexr/Imath/ImathBoxAlgo.h points[1][2] = points[3][2] = points[5][2] = points[7][2] = box.max[2]; box 327 3rdparty/openexr/Imath/ImathBoxAlgo.h affineTransform (const Box< Vec3<S> > &box, const Matrix44<T> &m) box 338 3rdparty/openexr/Imath/ImathBoxAlgo.h if (box.isEmpty() || box.isInfinite()) box 344 3rdparty/openexr/Imath/ImathBoxAlgo.h return box; box 357 3rdparty/openexr/Imath/ImathBoxAlgo.h a = (S) m[j][i] * box.min[j]; box 358 3rdparty/openexr/Imath/ImathBoxAlgo.h b = (S) m[j][i] * box.max[j]; box 378 3rdparty/openexr/Imath/ImathBoxAlgo.h affineTransform (const Box< Vec3<S> > &box, box 391 3rdparty/openexr/Imath/ImathBoxAlgo.h if (box.isEmpty()) box 400 3rdparty/openexr/Imath/ImathBoxAlgo.h if (box.isInfinite()) box 417 3rdparty/openexr/Imath/ImathBoxAlgo.h a = (S) m[j][i] * box.min[j]; box 418 3rdparty/openexr/Imath/ImathBoxAlgo.h b = (S) m[j][i] * box.max[j]; box 1006 3rdparty/openexr/Imath/ImathBoxAlgo.h intersects (const Box< Vec3<T> > &box, const Line3<T> &ray) box 1009 3rdparty/openexr/Imath/ImathBoxAlgo.h return intersects (box, ray, ignored); box 151 3rdparty/openexr/Imath/ImathFrustumTest.h bool isVisible(const Box<Vec3<T> > &box) const; box 158 3rdparty/openexr/Imath/ImathFrustumTest.h bool completelyContains(const Box<Vec3<T> > &box) const; box 307 3rdparty/openexr/Imath/ImathFrustumTest.h bool FrustumTest<T>::isVisible(const Box<Vec3<T> > &box) const box 309 3rdparty/openexr/Imath/ImathFrustumTest.h Vec3<T> center = (box.min + box.max) / 2; box 310 3rdparty/openexr/Imath/ImathFrustumTest.h Vec3<T> extent = (box.max - center); box 345 3rdparty/openexr/Imath/ImathFrustumTest.h bool FrustumTest<T>::completelyContains(const Box<Vec3<T> > &box) const box 347 3rdparty/openexr/Imath/ImathFrustumTest.h Vec3<T> center = (box.min + box.max) / 2; box 348 3rdparty/openexr/Imath/ImathFrustumTest.h Vec3<T> extent = (box.max - center); box 90 3rdparty/openexr/Imath/ImathSphere.h void circumscribe(const Box<Vec3<T> > &box); box 109 3rdparty/openexr/Imath/ImathSphere.h void Sphere3<T>::circumscribe(const Box<Vec3<T> > &box) box 111 3rdparty/openexr/Imath/ImathSphere.h center = T(0.5) * (box.min + box.max); box 112 3rdparty/openexr/Imath/ImathSphere.h radius = (box.max - center).length(); box 68 modules/calib3d/src/checkchessboard.cpp CvBox2D box = cvMinAreaRect2(seq); box 69 modules/calib3d/src/checkchessboard.cpp float box_size = MAX(box.size.width, box.size.height); box 75 modules/calib3d/src/checkchessboard.cpp float aspect_ratio = box.size.width/MAX(box.size.height, 1); box 51 modules/core/src/kmeans.cpp static void generateRandomCenter(const std::vector<Vec2f>& box, float* center, RNG& rng) box 53 modules/core/src/kmeans.cpp size_t j, dims = box.size(); box 56 modules/core/src/kmeans.cpp center[j] = ((float)rng*(1.f+margin*2.f)-margin)*(box[j][1] - box[j][0]) + box[j][0]; box 260 modules/core/src/kmeans.cpp Vec2f* box = &_box[0]; box 284 modules/core/src/kmeans.cpp box[j] = Vec2f(sample[j], sample[j]); box 292 modules/core/src/kmeans.cpp box[j][0] = std::min(box[j][0], v); box 293 modules/core/src/kmeans.cpp box[j][1] = std::max(box[j][1], v); box 284 modules/imgcodecs/test/test_drawing.cpp CvBox2D box; box 285 modules/imgcodecs/test/test_drawing.cpp box.center.x = 100; box 286 modules/imgcodecs/test/test_drawing.cpp box.center.y = 200; box 287 modules/imgcodecs/test/test_drawing.cpp box.size.width = 200; box 288 modules/imgcodecs/test/test_drawing.cpp box.size.height = 100; box 289 modules/imgcodecs/test/test_drawing.cpp box.angle = 160; box 290 modules/imgcodecs/test/test_drawing.cpp cvEllipseBox( &img, box, Scalar(200,200,255), 5 ); box 3515 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void boxPoints(RotatedRect box, OutputArray points); box 3875 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void ellipse(InputOutputArray img, const RotatedRect& box, const Scalar& color, box 596 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvBoxPoints( CvBox2D box, CvPoint2D32f pt[4] ); box 1036 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CV_INLINE void cvEllipseBox( CvArr* img, CvBox2D box, CvScalar color, box 1041 modules/imgproc/include/opencv2/imgproc/imgproc_c.h axes.width = cvRound(box.size.width*0.5); box 1042 modules/imgproc/include/opencv2/imgproc/imgproc_c.h axes.height = cvRound(box.size.height*0.5); box 1044 modules/imgproc/include/opencv2/imgproc/imgproc_c.h cvEllipse( img, cvPointFrom32f( box.center ), axes, box.angle, box 2071 modules/imgproc/misc/java/test/ImgprocTest.java RotatedRect box = new RotatedRect(center, size, 45); box 2073 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.ellipse(gray0, box, new Scalar(1)); box 2097 modules/imgproc/misc/java/test/ImgprocTest.java RotatedRect box = new RotatedRect(center, size, 45); box 2099 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.ellipse(gray0, box, new Scalar(1), Core.FILLED); box 2100 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.ellipse(gray0, box, new Scalar(0)); box 2108 modules/imgproc/misc/java/test/ImgprocTest.java RotatedRect box = new RotatedRect(center, size, 20); box 2110 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.ellipse(gray0, box, new Scalar(9), 1, Imgproc.LINE_AA); box 2111 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.ellipse(gray0, box, new Scalar(0), 1, Imgproc.LINE_4); box 1791 modules/imgproc/src/drawing.cpp void ellipse(InputOutputArray _img, const RotatedRect& box, const Scalar& color, box 1799 modules/imgproc/src/drawing.cpp CV_Assert( box.size.width >= 0 && box.size.height >= 0 && box 1805 modules/imgproc/src/drawing.cpp int _angle = cvRound(box.angle); box 1806 modules/imgproc/src/drawing.cpp Point center(cvRound(box.center.x*(1 << XY_SHIFT)), box 1807 modules/imgproc/src/drawing.cpp cvRound(box.center.y*(1 << XY_SHIFT))); box 1808 modules/imgproc/src/drawing.cpp Size axes(cvRound(box.size.width*(1 << (XY_SHIFT - 1))), box 1809 modules/imgproc/src/drawing.cpp cvRound(box.size.height*(1 << (XY_SHIFT - 1)))); box 87 modules/imgproc/src/geometry.cpp cvBoxPoints( CvBox2D box, CvPoint2D32f pt[4] ) box 91 modules/imgproc/src/geometry.cpp cv::RotatedRect(box).points((cv::Point2f*)pt); box 347 modules/imgproc/src/rotcalipers.cpp RotatedRect box; box 364 modules/imgproc/src/rotcalipers.cpp box.center.x = out[0].x + (out[1].x + out[2].x)*0.5f; box 365 modules/imgproc/src/rotcalipers.cpp box.center.y = out[0].y + (out[1].y + out[2].y)*0.5f; box 366 modules/imgproc/src/rotcalipers.cpp box.size.width = (float)std::sqrt((double)out[1].x*out[1].x + (double)out[1].y*out[1].y); box 367 modules/imgproc/src/rotcalipers.cpp box.size.height = (float)std::sqrt((double)out[2].x*out[2].x + (double)out[2].y*out[2].y); box 368 modules/imgproc/src/rotcalipers.cpp box.angle = (float)atan2( (double)out[1].y, (double)out[1].x ); box 372 modules/imgproc/src/rotcalipers.cpp box.center.x = (hpoints[0].x + hpoints[1].x)*0.5f; box 373 modules/imgproc/src/rotcalipers.cpp box.center.y = (hpoints[0].y + hpoints[1].y)*0.5f; box 376 modules/imgproc/src/rotcalipers.cpp box.size.width = (float)std::sqrt(dx*dx + dy*dy); box 377 modules/imgproc/src/rotcalipers.cpp box.size.height = 0; box 378 modules/imgproc/src/rotcalipers.cpp box.angle = (float)atan2( dy, dx ); box 383 modules/imgproc/src/rotcalipers.cpp box.center = hpoints[0]; box 386 modules/imgproc/src/rotcalipers.cpp box.angle = (float)(box.angle*180/CV_PI); box 387 modules/imgproc/src/rotcalipers.cpp return box; box 401 modules/imgproc/src/rotcalipers.cpp void cv::boxPoints(cv::RotatedRect box, OutputArray _pts) box 405 modules/imgproc/src/rotcalipers.cpp box.points(pts.ptr<Point2f>()); box 376 modules/imgproc/src/shapedescr.cpp RotatedRect box; box 460 modules/imgproc/src/shapedescr.cpp box.center.x = (float)rp[0] + c.x; box 461 modules/imgproc/src/shapedescr.cpp box.center.y = (float)rp[1] + c.y; box 462 modules/imgproc/src/shapedescr.cpp box.size.width = (float)(rp[2]*2); box 463 modules/imgproc/src/shapedescr.cpp box.size.height = (float)(rp[3]*2); box 464 modules/imgproc/src/shapedescr.cpp if( box.size.width > box.size.height ) box 467 modules/imgproc/src/shapedescr.cpp CV_SWAP( box.size.width, box.size.height, tmp ); box 468 modules/imgproc/src/shapedescr.cpp box.angle = (float)(90 + rp[4]*180/CV_PI); box 470 modules/imgproc/src/shapedescr.cpp if( box.angle < -180 ) box 471 modules/imgproc/src/shapedescr.cpp box.angle += 360; box 472 modules/imgproc/src/shapedescr.cpp if( box.angle > 360 ) box 473 modules/imgproc/src/shapedescr.cpp box.angle -= 360; box 475 modules/imgproc/src/shapedescr.cpp return box; box 1327 modules/imgproc/src/smooth.cpp if ( tegra::useTegra() && tegra::box(src, dst, ksize, anchor, normalize, borderType) ) box 678 modules/imgproc/test/test_convhull.cpp CvBox2D box; box 692 modules/imgproc/test/test_convhull.cpp box = cvMinAreaRect2( points, storage ); box 693 modules/imgproc/test/test_convhull.cpp cvBoxPoints( box, box_pt ); box 698 modules/imgproc/test/test_convhull.cpp box = (CvBox2D)r; box 1143 modules/imgproc/test/test_convhull.cpp CvBox2D box0, box; box 1237 modules/imgproc/test/test_convhull.cpp box = cvFitEllipse2( points ); box 1239 modules/imgproc/test/test_convhull.cpp box = (CvBox2D)cv::fitEllipse(cv::cvarrToMat(points)); box 1247 modules/imgproc/test/test_convhull.cpp if( cvIsNaN(box.center.x) || cvIsInf(box.center.x) || box 1248 modules/imgproc/test/test_convhull.cpp cvIsNaN(box.center.y) || cvIsInf(box.center.y) || box 1249 modules/imgproc/test/test_convhull.cpp cvIsNaN(box.size.width) || cvIsInf(box.size.width) || box 1250 modules/imgproc/test/test_convhull.cpp cvIsNaN(box.size.height) || cvIsInf(box.size.height) || box 1251 modules/imgproc/test/test_convhull.cpp cvIsNaN(box.angle) || cvIsInf(box.angle) ) box 1254 modules/imgproc/test/test_convhull.cpp box.center.x, box.center.y, box.size.width, box.size.height, box.angle ); box 1259 modules/imgproc/test/test_convhull.cpp box.angle = (float)(90-box.angle); box 1260 modules/imgproc/test/test_convhull.cpp if( box.angle < 0 ) box 1261 modules/imgproc/test/test_convhull.cpp box.angle += 360; box 1262 modules/imgproc/test/test_convhull.cpp if( box.angle > 360 ) box 1263 modules/imgproc/test/test_convhull.cpp box.angle -= 360; box 1265 modules/imgproc/test/test_convhull.cpp if( fabs(box.center.x - box0.center.x) > 3 || box 1266 modules/imgproc/test/test_convhull.cpp fabs(box.center.y - box0.center.y) > 3 || box 1267 modules/imgproc/test/test_convhull.cpp fabs(box.size.width - box0.size.width) > 0.1*fabs(box0.size.width) || box 1268 modules/imgproc/test/test_convhull.cpp fabs(box.size.height - box0.size.height) > 0.1*fabs(box0.size.height) ) box 1272 modules/imgproc/test/test_convhull.cpp box.center.x, box.center.y, box.size.width, box.size.height, box 1278 modules/imgproc/test/test_convhull.cpp diff_angle = fabs(box0.angle - box.angle); box 1285 modules/imgproc/test/test_convhull.cpp box.angle, box0.angle ); box 1300 modules/imgproc/test/test_convhull.cpp box.center.x += (float)low_high_range*2; box 1301 modules/imgproc/test/test_convhull.cpp box.center.y += (float)low_high_range*2; box 1302 modules/imgproc/test/test_convhull.cpp cvEllipseBox( img, box, CV_RGB(255,0,0), 3, 8 ); box 1407 modules/imgproc/test/test_convhull.cpp box = (CvBox2D)cv::fitEllipse(pointsMat); box 150 modules/video/include/opencv2/video/tracking_c.h CvBox2D* box CV_DEFAULT(NULL) ); box 199 modules/video/src/camshift.cpp RotatedRect box; box 200 modules/video/src/camshift.cpp box.size.height = (float)length; box 201 modules/video/src/camshift.cpp box.size.width = (float)width; box 202 modules/video/src/camshift.cpp box.angle = (float)((CV_PI*0.5+theta)*180./CV_PI); box 203 modules/video/src/camshift.cpp while(box.angle < 0) box 204 modules/video/src/camshift.cpp box.angle += 360; box 205 modules/video/src/camshift.cpp while(box.angle >= 360) box 206 modules/video/src/camshift.cpp box.angle -= 360; box 207 modules/video/src/camshift.cpp if(box.angle >= 180) box 208 modules/video/src/camshift.cpp box.angle -= 180; box 209 modules/video/src/camshift.cpp box.center = Point2f( window.x + window.width*0.5f, window.y + window.height*0.5f); box 211 modules/video/src/camshift.cpp return box; box 71 modules/video/src/compat_video.cpp CvBox2D* box ) box 84 modules/video/src/compat_video.cpp if( box ) box 85 modules/video/src/compat_video.cpp *box = rr; box 213 modules/video/test/test_camshift.cpp CvBox2D box; box 265 modules/video/test/test_camshift.cpp cvCamShift( img, init_rect, criteria, &comp, &box ); box 276 modules/video/test/test_camshift.cpp if( cvIsNaN(box.size.width) || cvIsInf(box.size.width) || box.size.width <= 0 || box 277 modules/video/test/test_camshift.cpp cvIsNaN(box.size.height) || cvIsInf(box.size.height) || box.size.height <= 0 || box 278 modules/video/test/test_camshift.cpp cvIsNaN(box.center.x) || cvIsInf(box.center.x) || box 279 modules/video/test/test_camshift.cpp cvIsNaN(box.center.y) || cvIsInf(box.center.y) || box 280 modules/video/test/test_camshift.cpp cvIsNaN(box.angle) || cvIsInf(box.angle) || box.angle < -180 || box.angle > 180 || box 288 modules/video/test/test_camshift.cpp box.angle = (float)(180 - box.angle); box 290 modules/video/test/test_camshift.cpp if( fabs(box.size.width - box0.size.width) > box0.size.width*0.2 || box 291 modules/video/test/test_camshift.cpp fabs(box.size.height - box0.size.height) > box0.size.height*0.3 ) box 294 modules/video/test/test_camshift.cpp box.size.width, box.size.height, box0.size.width, box0.size.height ); box 299 modules/video/test/test_camshift.cpp if( fabs(box.center.x - box0.center.x) > m*0.1 || box 300 modules/video/test/test_camshift.cpp fabs(box.center.y - box0.center.y) > m*0.1 ) box 303 modules/video/test/test_camshift.cpp box.center.x, box.center.y, box0.center.x, box0.center.y ); box 308 modules/video/test/test_camshift.cpp if( box.angle < 0 ) box 309 modules/video/test/test_camshift.cpp box.angle += 180; box 311 modules/video/test/test_camshift.cpp diff_angle = fabs(box0.angle - box.angle); box 312 modules/video/test/test_camshift.cpp diff_angle = MIN( diff_angle, fabs(box0.angle - box.angle + 180)); box 317 modules/video/test/test_camshift.cpp box.angle, box0.angle ); box 357 modules/video/test/test_camshift.cpp cvEllipseBox( dst, box, CV_RGB(0,255,0), 3, 8, 0 ); box 80 samples/cpp/fitellipse.cpp RotatedRect box = fitEllipse(pointsf); box 82 samples/cpp/fitellipse.cpp if( MAX(box.size.width, box.size.height) > MIN(box.size.width, box.size.height)*30 ) box 86 samples/cpp/fitellipse.cpp ellipse(cimage, box, Scalar(0,0,255), 1, LINE_AA); box 87 samples/cpp/fitellipse.cpp ellipse(cimage, box.center, box.size*0.5f, box.angle, 0, 360, Scalar(0,255,255), 1, LINE_AA); box 89 samples/cpp/fitellipse.cpp box.points(vtx); box 43 samples/cpp/minarea.cpp RotatedRect box = minAreaRect(Mat(points)); box 54 samples/cpp/minarea.cpp box.points(vtx); box 128 samples/cpp/select3dobj.cpp const vector<Point3f>& box, int nobjpt, bool runExtraSegmentation) box 136 samples/cpp/select3dobj.cpp objpt.push_back(box[0]); box 138 samples/cpp/select3dobj.cpp objpt.push_back(box[1]); box 141 samples/cpp/select3dobj.cpp objpt.push_back(box[2]); box 146 samples/cpp/select3dobj.cpp objpt.push_back(Point3f(objpt[i].x, objpt[i].y, box[3].z)); box 200 samples/cpp/select3dobj.cpp vector<Point3f>& box) box 212 samples/cpp/select3dobj.cpp box.resize(4); box 242 samples/cpp/select3dobj.cpp float dx = box[1].x - box[0].x, dy = box[1].y - box[0].y; box 244 samples/cpp/select3dobj.cpp tempobj[0] = Point3f(dy*len + box[nearestIdx].x, box 245 samples/cpp/select3dobj.cpp -dx*len + box[nearestIdx].y, 0.f); box 248 samples/cpp/select3dobj.cpp tempobj[0] = Point3f(box[nearestIdx].x, box[nearestIdx].y, 1.f); box 262 samples/cpp/select3dobj.cpp box[npt] = image2plane(imgpt[npt], R, tvec, cameraMatrix, npt<3 ? 0 : Z); box 265 samples/cpp/select3dobj.cpp (npt > 0 && norm(box[npt] - box[npt-1]) > eps && box 272 samples/cpp/select3dobj.cpp box[nobjpt] = box[nobjpt-1]; box 284 samples/cpp/select3dobj.cpp cameraMatrix, rvec, tvec, box, npt, false); box 295 samples/cpp/select3dobj.cpp box.clear(); box 298 samples/cpp/select3dobj.cpp if( (c == '\r' || c == '\n') && nobjpt == 4 && box[3].z != 0 ) box 304 samples/cpp/select3dobj.cpp static bool readModelViews( const string& filename, vector<Point3f>& box, box 311 samples/cpp/select3dobj.cpp box.resize(0); box 316 samples/cpp/select3dobj.cpp fs["box"] >> box; box 338 samples/cpp/select3dobj.cpp static bool writeModelViews(const string& filename, const vector<Point3f>& box, box 348 samples/cpp/select3dobj.cpp fs << box << "]" << "views" << "["; box 518 samples/cpp/select3dobj.cpp vector<Point3f> box, boardPoints; box 520 samples/cpp/select3dobj.cpp readModelViews(indexFilename, box, capturedImgList, roiList, poseList); box 573 samples/cpp/select3dobj.cpp if( box.empty() ) box 576 samples/cpp/select3dobj.cpp cameraMatrix, rvec, tvec, box); box 581 samples/cpp/select3dobj.cpp if( !box.empty() ) box 584 samples/cpp/select3dobj.cpp cameraMatrix, rvec, tvec, box, 4, true); box 619 samples/cpp/select3dobj.cpp int c = waitKey(imageList.empty() && !box.empty() ? 30 : 300); box 626 samples/cpp/select3dobj.cpp writeModelViews(indexFilename, box, capturedImgList, roiList, poseList); box 109 samples/cpp/train_HOG.cpp Rect box; box 110 samples/cpp/train_HOG.cpp box.width = size.width; box 111 samples/cpp/train_HOG.cpp box.height = size.height; box 113 samples/cpp/train_HOG.cpp const int size_x = box.width; box 114 samples/cpp/train_HOG.cpp const int size_y = box.height; box 122 samples/cpp/train_HOG.cpp box.x = rand() % (img->cols - size_x); box 123 samples/cpp/train_HOG.cpp box.y = rand() % (img->rows - size_y); box 124 samples/cpp/train_HOG.cpp Mat roi = (*img)(box);