code 81 3rdparty/include/dshow/ddraw.h #define MAKE_DDHRESULT( code ) MAKE_HRESULT( 1, _FACDD, code ) code 116 3rdparty/include/dshow/dsound.h #define MAKE_DSHRESULT(code) MAKE_HRESULT(1,_FACDS,code) code 100 3rdparty/include/ffmpeg_/libavutil/attributes.h # define AV_NOWARN_DEPRECATED(code) \ code 103 3rdparty/include/ffmpeg_/libavutil/attributes.h code \ code 106 3rdparty/include/ffmpeg_/libavutil/attributes.h # define AV_NOWARN_DEPRECATED(code) code code 169 3rdparty/libjpeg/jchuff.c unsigned int code; code 206 3rdparty/libjpeg/jchuff.c code = 0; code 211 3rdparty/libjpeg/jchuff.c huffcode[p++] = code; code 212 3rdparty/libjpeg/jchuff.c code++; code 217 3rdparty/libjpeg/jchuff.c if (((INT32) code) >= (((INT32) 1) << si)) code 219 3rdparty/libjpeg/jchuff.c code <<= 1; code 307 3rdparty/libjpeg/jchuff.c emit_bits_s (working_state * state, unsigned int code, int size) code 311 3rdparty/libjpeg/jchuff.c register INT32 put_buffer = (INT32) code; code 346 3rdparty/libjpeg/jchuff.c emit_bits_e (huff_entropy_ptr entropy, unsigned int code, int size) code 350 3rdparty/libjpeg/jchuff.c register INT32 put_buffer = (INT32) code; code 317 3rdparty/libjpeg/jcmarker.c emit_sof (j_compress_ptr cinfo, JPEG_MARKER code) code 323 3rdparty/libjpeg/jcmarker.c emit_marker(cinfo, code); code 332 3rdparty/libjpeg/jdhuff.c unsigned int code; code 370 3rdparty/libjpeg/jdhuff.c code = 0; code 375 3rdparty/libjpeg/jdhuff.c huffcode[p++] = code; code 376 3rdparty/libjpeg/jdhuff.c code++; code 381 3rdparty/libjpeg/jdhuff.c if (((INT32) code) >= (((INT32) 1) << si)) code 383 3rdparty/libjpeg/jdhuff.c code <<= 1; code 597 3rdparty/libjpeg/jdhuff.c register INT32 code; code 603 3rdparty/libjpeg/jdhuff.c code = GET_BITS(l); code 608 3rdparty/libjpeg/jdhuff.c while (code > htbl->maxcode[l]) { code 609 3rdparty/libjpeg/jdhuff.c code <<= 1; code 611 3rdparty/libjpeg/jdhuff.c code |= GET_BITS(1); code 626 3rdparty/libjpeg/jdhuff.c return htbl->pub->huffval[ (int) (code + htbl->valoffset[l]) ]; code 49 3rdparty/libjpeg/jerror.c #define JMESSAGE(code,string) string , code 28 3rdparty/libjpeg/jerror.h #define JMESSAGE(code,string) code 209 3rdparty/libjpeg/jerror.h #define ERREXIT(cinfo,code) \ code 210 3rdparty/libjpeg/jerror.h ((cinfo)->err->msg_code = (code), \ code 212 3rdparty/libjpeg/jerror.h #define ERREXIT1(cinfo,code,p1) \ code 213 3rdparty/libjpeg/jerror.h ((cinfo)->err->msg_code = (code), \ code 216 3rdparty/libjpeg/jerror.h #define ERREXIT2(cinfo,code,p1,p2) \ code 217 3rdparty/libjpeg/jerror.h ((cinfo)->err->msg_code = (code), \ code 221 3rdparty/libjpeg/jerror.h #define ERREXIT3(cinfo,code,p1,p2,p3) \ code 222 3rdparty/libjpeg/jerror.h ((cinfo)->err->msg_code = (code), \ code 227 3rdparty/libjpeg/jerror.h #define ERREXIT4(cinfo,code,p1,p2,p3,p4) \ code 228 3rdparty/libjpeg/jerror.h ((cinfo)->err->msg_code = (code), \ code 234 3rdparty/libjpeg/jerror.h #define ERREXIT6(cinfo,code,p1,p2,p3,p4,p5,p6) \ code 235 3rdparty/libjpeg/jerror.h ((cinfo)->err->msg_code = (code), \ code 243 3rdparty/libjpeg/jerror.h #define ERREXITS(cinfo,code,str) \ code 244 3rdparty/libjpeg/jerror.h ((cinfo)->err->msg_code = (code), \ code 251 3rdparty/libjpeg/jerror.h #define WARNMS(cinfo,code) \ code 252 3rdparty/libjpeg/jerror.h ((cinfo)->err->msg_code = (code), \ code 254 3rdparty/libjpeg/jerror.h #define WARNMS1(cinfo,code,p1) \ code 255 3rdparty/libjpeg/jerror.h ((cinfo)->err->msg_code = (code), \ code 258 3rdparty/libjpeg/jerror.h #define WARNMS2(cinfo,code,p1,p2) \ code 259 3rdparty/libjpeg/jerror.h ((cinfo)->err->msg_code = (code), \ code 265 3rdparty/libjpeg/jerror.h #define TRACEMS(cinfo,lvl,code) \ code 266 3rdparty/libjpeg/jerror.h ((cinfo)->err->msg_code = (code), \ code 268 3rdparty/libjpeg/jerror.h #define TRACEMS1(cinfo,lvl,code,p1) \ code 269 3rdparty/libjpeg/jerror.h ((cinfo)->err->msg_code = (code), \ code 272 3rdparty/libjpeg/jerror.h #define TRACEMS2(cinfo,lvl,code,p1,p2) \ code 273 3rdparty/libjpeg/jerror.h ((cinfo)->err->msg_code = (code), \ code 277 3rdparty/libjpeg/jerror.h #define TRACEMS3(cinfo,lvl,code,p1,p2,p3) \ code 280 3rdparty/libjpeg/jerror.h (cinfo)->err->msg_code = (code); \ code 282 3rdparty/libjpeg/jerror.h #define TRACEMS4(cinfo,lvl,code,p1,p2,p3,p4) \ code 285 3rdparty/libjpeg/jerror.h (cinfo)->err->msg_code = (code); \ code 287 3rdparty/libjpeg/jerror.h #define TRACEMS5(cinfo,lvl,code,p1,p2,p3,p4,p5) \ code 291 3rdparty/libjpeg/jerror.h (cinfo)->err->msg_code = (code); \ code 293 3rdparty/libjpeg/jerror.h #define TRACEMS8(cinfo,lvl,code,p1,p2,p3,p4,p5,p6,p7,p8) \ code 297 3rdparty/libjpeg/jerror.h (cinfo)->err->msg_code = (code); \ code 299 3rdparty/libjpeg/jerror.h #define TRACEMSS(cinfo,lvl,code,str) \ code 300 3rdparty/libjpeg/jerror.h ((cinfo)->err->msg_code = (code), \ code 51 3rdparty/libjpeg/jfdctflt.c Sorry, this code only copes with 8x8 DCTs. /* deliberate syntax err */ code 47 3rdparty/libjpeg/jfdctfst.c Sorry, this code only copes with 8x8 DCTs. /* deliberate syntax err */ code 57 3rdparty/libjpeg/jfdctint.c Sorry, this code only copes with 8x8 DCT blocks. /* deliberate syntax err */ code 53 3rdparty/libjpeg/jidctflt.c Sorry, this code only copes with 8x8 DCTs. /* deliberate syntax err */ code 48 3rdparty/libjpeg/jidctfst.c Sorry, this code only copes with 8x8 DCTs. /* deliberate syntax err */ code 64 3rdparty/libjpeg/jidctint.c Sorry, this code only copes with 8x8 DCT blocks. /* deliberate syntax err */ code 37 3rdparty/libtiff/t4.h unsigned short code; /* g3 code */ code 617 3rdparty/libtiff/tif_fax3.c #define putcode(tif, te) Fax3PutBits(tif, (te)->code, (te)->length) code 625 3rdparty/libtiff/tif_fax3.c putchar(code & (1<<t) ? '1' : '0'); \ code 642 3rdparty/libtiff/tif_fax3.c unsigned int code, length; code 646 3rdparty/libtiff/tif_fax3.c code = te->code, length = te->length; code 650 3rdparty/libtiff/tif_fax3.c _PutBits(tif, code, length); code 656 3rdparty/libtiff/tif_fax3.c code = te->code, length = te->length; code 660 3rdparty/libtiff/tif_fax3.c _PutBits(tif, code, length); code 663 3rdparty/libtiff/tif_fax3.c code = tab[span].code, length = tab[span].length; code 667 3rdparty/libtiff/tif_fax3.c _PutBits(tif, code, length); code 685 3rdparty/libtiff/tif_fax3.c unsigned int code, length, tparm; code 699 3rdparty/libtiff/tif_fax3.c code = 0; code 704 3rdparty/libtiff/tif_fax3.c code = EOL, length = 12; code 706 3rdparty/libtiff/tif_fax3.c code = (code<<1) | (sp->tag == G3_1D), length++; code 707 3rdparty/libtiff/tif_fax3.c _PutBits(tif, code, length); code 1092 3rdparty/libtiff/tif_fax3.c unsigned int code = EOL; code 1097 3rdparty/libtiff/tif_fax3.c code = (code<<1) | (sp->tag == G3_1D), length++; code 1099 3rdparty/libtiff/tif_fax3.c Fax3PutBits(tif, code, length); code 118 3rdparty/libtiff/tif_jpeg.c #define LONGJMP(jbuf,code) longjmp(jbuf,code) code 115 3rdparty/libtiff/tif_lzw.c hcode_t code; code 188 3rdparty/libtiff/tif_lzw.c #define NextCode(tif, sp, bp, code, get) get(sp, bp, code) code 203 3rdparty/libtiff/tif_lzw.c int code; code 241 3rdparty/libtiff/tif_lzw.c code = 255; code 243 3rdparty/libtiff/tif_lzw.c sp->dec_codetab[code].value = code; code 244 3rdparty/libtiff/tif_lzw.c sp->dec_codetab[code].firstchar = code; code 245 3rdparty/libtiff/tif_lzw.c sp->dec_codetab[code].length = 1; code 246 3rdparty/libtiff/tif_lzw.c sp->dec_codetab[code].next = NULL; code 247 3rdparty/libtiff/tif_lzw.c } while (code--); code 338 3rdparty/libtiff/tif_lzw.c #define GetNextCode(sp, bp, code) { \ code 345 3rdparty/libtiff/tif_lzw.c code = (hcode_t)((nextdata >> (nextbits-nbits)) & nbitsmask); \ code 366 3rdparty/libtiff/tif_lzw.c hcode_t code; code 433 3rdparty/libtiff/tif_lzw.c NextCode(tif, sp, bp, code, GetNextCode); code 434 3rdparty/libtiff/tif_lzw.c if (code == CODE_EOI) code 436 3rdparty/libtiff/tif_lzw.c if (code == CODE_CLEAR) { code 443 3rdparty/libtiff/tif_lzw.c NextCode(tif, sp, bp, code, GetNextCode); code 444 3rdparty/libtiff/tif_lzw.c if (code == CODE_EOI) code 446 3rdparty/libtiff/tif_lzw.c if (code >= CODE_CLEAR) { code 452 3rdparty/libtiff/tif_lzw.c *op++ = (char)code, occ--; code 453 3rdparty/libtiff/tif_lzw.c oldcodep = sp->dec_codetab + code; code 456 3rdparty/libtiff/tif_lzw.c codep = sp->dec_codetab + code; code 488 3rdparty/libtiff/tif_lzw.c if (code >= 256) { code 539 3rdparty/libtiff/tif_lzw.c *op++ = (char)code, occ--; code 570 3rdparty/libtiff/tif_lzw.c #define GetNextCodeCompat(sp, bp, code) { \ code 577 3rdparty/libtiff/tif_lzw.c code = (hcode_t)(nextdata & nbitsmask); \ code 591 3rdparty/libtiff/tif_lzw.c int code, nbits; code 652 3rdparty/libtiff/tif_lzw.c NextCode(tif, sp, bp, code, GetNextCodeCompat); code 653 3rdparty/libtiff/tif_lzw.c if (code == CODE_EOI) code 655 3rdparty/libtiff/tif_lzw.c if (code == CODE_CLEAR) { code 662 3rdparty/libtiff/tif_lzw.c NextCode(tif, sp, bp, code, GetNextCodeCompat); code 663 3rdparty/libtiff/tif_lzw.c if (code == CODE_EOI) code 665 3rdparty/libtiff/tif_lzw.c if (code >= CODE_CLEAR) { code 671 3rdparty/libtiff/tif_lzw.c *op++ = code, occ--; code 672 3rdparty/libtiff/tif_lzw.c oldcodep = sp->dec_codetab + code; code 675 3rdparty/libtiff/tif_lzw.c codep = sp->dec_codetab + code; code 705 3rdparty/libtiff/tif_lzw.c if (code >= 256) { code 743 3rdparty/libtiff/tif_lzw.c *op++ = code, occ--; code 917 3rdparty/libtiff/tif_lzw.c ent = hp->code; code 936 3rdparty/libtiff/tif_lzw.c ent = hp->code; code 957 3rdparty/libtiff/tif_lzw.c hp->code = free_ent++; code 153 3rdparty/libtiff/tif_ojpeg.c #define LONGJMP(jbuf,code) longjmp(jbuf,code) code 704 3rdparty/libwebp/dec/vp8l.c int code; \ code 712 3rdparty/libwebp/dec/vp8l.c code = ReadSymbol(&htree_group->htrees_[GREEN], br); \ code 713 3rdparty/libwebp/dec/vp8l.c if (code < NUM_LITERAL_CODES) { /* Literal*/ \ code 716 3rdparty/libwebp/dec/vp8l.c green = code; \ code 736 3rdparty/libwebp/dec/vp8l.c } else if (code < len_code_limit) { /* Backward reference */ \ code 738 3rdparty/libwebp/dec/vp8l.c const int length_sym = code - NUM_LITERAL_CODES; \ code 769 3rdparty/libwebp/dec/vp8l.c } else if (code < color_cache_limit) { /* Color cache */ \ code 770 3rdparty/libwebp/dec/vp8l.c const int key = code - len_code_limit; \ code 1369 3rdparty/libwebp/dsp/lossless.c uint32_t code = 0xff000000; code 1373 3rdparty/libwebp/dsp/lossless.c code = 0xff000000; code 1375 3rdparty/libwebp/dsp/lossless.c code |= row[x] << (8 + bit_depth * xsub); code 1376 3rdparty/libwebp/dsp/lossless.c dst[x >> xbits] = code; code 462 3rdparty/libwebp/enc/backward_references.c int code, extra_bits_count, extra_bits_value; code 463 3rdparty/libwebp/enc/backward_references.c PrefixEncode(length, &code, &extra_bits_count, &extra_bits_value); code 464 3rdparty/libwebp/enc/backward_references.c return m->literal_[VALUES_IN_BYTE + code] + extra_bits_count; code 469 3rdparty/libwebp/enc/backward_references.c int code, extra_bits_count, extra_bits_value; code 470 3rdparty/libwebp/enc/backward_references.c PrefixEncode(distance, &code, &extra_bits_count, &extra_bits_value); code 471 3rdparty/libwebp/enc/backward_references.c return m->distance_[code] + extra_bits_count; code 534 3rdparty/libwebp/enc/backward_references.c const int code = DistanceToPlaneCode(xsize, offset); code 536 3rdparty/libwebp/enc/backward_references.c prev_cost + GetDistanceCost(cost_model, code); code 547 3rdparty/libwebp/enc/backward_references.c if (len >= 128 && code <= min_distance_code) { code 84 3rdparty/libwebp/enc/backward_references.h static WEBP_INLINE void PrefixEncode(int distance, int* const code, code 92 3rdparty/libwebp/enc/backward_references.h *code = 2 * highest_bit + second_highest_bit; code 96 3rdparty/libwebp/enc/backward_references.h *code = (distance == 2) ? 1 : 0; code 93 3rdparty/libwebp/enc/histogram.c int code, extra_bits_count, extra_bits_value; code 95 3rdparty/libwebp/enc/histogram.c &code, &extra_bits_count, &extra_bits_value); code 96 3rdparty/libwebp/enc/histogram.c ++histo->literal_[256 + code]; code 98 3rdparty/libwebp/enc/histogram.c &code, &extra_bits_count, &extra_bits_value); code 99 3rdparty/libwebp/enc/histogram.c ++histo->distance_[code]; code 289 3rdparty/libwebp/enc/vp8l.c const int ix = tokens[i].code; code 328 3rdparty/libwebp/enc/vp8l.c ++histogram[tokens[i].code]; code 345 3rdparty/libwebp/enc/vp8l.c const int ix = tokens[i].code; code 416 3rdparty/libwebp/enc/vp8l.c const HuffmanTreeCode* const code, code 418 3rdparty/libwebp/enc/vp8l.c const int depth = code->code_lengths[code_index]; code 419 3rdparty/libwebp/enc/vp8l.c const int symbol = code->codes[code_index]; code 440 3rdparty/libwebp/enc/vp8l.c const int code = PixOrCopyCacheIdx(v); code 441 3rdparty/libwebp/enc/vp8l.c const int literal_ix = 256 + NUM_LENGTH_CODES + code; code 447 3rdparty/libwebp/enc/vp8l.c const int code = PixOrCopyLiteral(v, order[k]); code 448 3rdparty/libwebp/enc/vp8l.c WriteHuffmanCode(bw, codes + k, code); code 452 3rdparty/libwebp/enc/vp8l.c int code, distance; code 454 3rdparty/libwebp/enc/vp8l.c PrefixEncode(v->len, &code, &n_bits, &bits); code 455 3rdparty/libwebp/enc/vp8l.c WriteHuffmanCode(bw, codes, 256 + code); code 459 3rdparty/libwebp/enc/vp8l.c PrefixEncode(distance, &code, &n_bits, &bits); code 460 3rdparty/libwebp/enc/vp8l.c WriteHuffmanCode(bw, codes + 4, code); code 121 3rdparty/libwebp/utils/huffman.c int symbol, int code, int code_length) { code 134 3rdparty/libwebp/utils/huffman.c node += node->children_ + ((code >> code_length) & 1); code 287 3rdparty/libwebp/utils/huffman_encode.c tokens->code = value; code 296 3rdparty/libwebp/utils/huffman_encode.c tokens->code = value; code 302 3rdparty/libwebp/utils/huffman_encode.c tokens->code = 16; code 307 3rdparty/libwebp/utils/huffman_encode.c tokens->code = 16; code 322 3rdparty/libwebp/utils/huffman_encode.c tokens->code = 0; // 0-value code 328 3rdparty/libwebp/utils/huffman_encode.c tokens->code = 17; code 333 3rdparty/libwebp/utils/huffman_encode.c tokens->code = 18; code 338 3rdparty/libwebp/utils/huffman_encode.c tokens->code = 18; code 412 3rdparty/libwebp/utils/huffman_encode.c uint32_t code = 0; code 414 3rdparty/libwebp/utils/huffman_encode.c code = (code + depth_count[i - 1]) << 1; code 415 3rdparty/libwebp/utils/huffman_encode.c next_code[i] = code; code 25 3rdparty/libwebp/utils/huffman_encode.h uint8_t code; // value (0..15) or escape code (16,17,18) code 146 3rdparty/openexr/IlmImf/ImfHuf.cpp hufLength (Int64 code) code 148 3rdparty/openexr/IlmImf/ImfHuf.cpp return code & 63; code 153 3rdparty/openexr/IlmImf/ImfHuf.cpp hufCode (Int64 code) code 155 3rdparty/openexr/IlmImf/ImfHuf.cpp return code >> 6; code 719 3rdparty/openexr/IlmImf/ImfHuf.cpp outputCode (Int64 code, Int64 &c, int &lc, char *&out) code 721 3rdparty/openexr/IlmImf/ImfHuf.cpp outputBits (hufLength (code), hufCode (code), c, lc, out); code 68 3rdparty/zlib/deflate.h ush code; /* bit string */ code 77 3rdparty/zlib/deflate.h #define Code fc.code code 87 3rdparty/zlib/infback.c static code *lenfix, *distfix; code 88 3rdparty/zlib/infback.c static code fixed[544]; code 93 3rdparty/zlib/infback.c static code *next; code 265 3rdparty/zlib/infback.c code here; /* current decoding table entry */ code 266 3rdparty/zlib/infback.c code last; /* parent table entry */ code 386 3rdparty/zlib/infback.c state->lencode = (code const FAR *)(state->next); code 460 3rdparty/zlib/infback.c state->lencode = (code const FAR *)(state->next); code 469 3rdparty/zlib/infback.c state->distcode = (code const FAR *)(state->next); code 86 3rdparty/zlib/inffast.c code const FAR *lcode; /* local strm->lencode */ code 87 3rdparty/zlib/inffast.c code const FAR *dcode; /* local strm->distcode */ code 90 3rdparty/zlib/inffast.c code here; /* retrieved table entry */ code 10 3rdparty/zlib/inffixed.h static const code lenfix[512] = { code 87 3rdparty/zlib/inffixed.h static const code distfix[32] = { code 266 3rdparty/zlib/inflate.c static code *lenfix, *distfix; code 267 3rdparty/zlib/inflate.c static code fixed[544]; code 272 3rdparty/zlib/inflate.c static code *next; code 618 3rdparty/zlib/inflate.c code here; /* current decoding table entry */ code 619 3rdparty/zlib/inflate.c code last; /* parent table entry */ code 924 3rdparty/zlib/inflate.c state->lencode = (const code FAR *)(state->next); code 998 3rdparty/zlib/inflate.c state->lencode = (const code FAR *)(state->next); code 1007 3rdparty/zlib/inflate.c state->distcode = (const code FAR *)(state->next); code 106 3rdparty/zlib/inflate.h code const FAR *lencode; /* starting table for length/literal codes */ code 107 3rdparty/zlib/inflate.h code const FAR *distcode; /* starting table for distance codes */ code 115 3rdparty/zlib/inflate.h code FAR *next; /* next available space in codes[] */ code 118 3rdparty/zlib/inflate.h code codes[ENOUGH]; /* space for code tables */ code 36 3rdparty/zlib/inftrees.c code FAR * FAR *table; code 53 3rdparty/zlib/inftrees.c code here; /* table entry for duplication */ code 54 3rdparty/zlib/inftrees.c code FAR *next; /* next available space in table */ code 61 3rdparty/zlib/inftrees.h unsigned codes, code FAR * FAR *table, code 241 3rdparty/zlib/trees.c int code; /* code value */ code 259 3rdparty/zlib/trees.c for (code = 0; code < LENGTH_CODES-1; code++) { code 260 3rdparty/zlib/trees.c base_length[code] = length; code 261 3rdparty/zlib/trees.c for (n = 0; n < (1<<extra_lbits[code]); n++) { code 262 3rdparty/zlib/trees.c _length_code[length++] = (uch)code; code 270 3rdparty/zlib/trees.c _length_code[length-1] = (uch)code; code 274 3rdparty/zlib/trees.c for (code = 0 ; code < 16; code++) { code 275 3rdparty/zlib/trees.c base_dist[code] = dist; code 276 3rdparty/zlib/trees.c for (n = 0; n < (1<<extra_dbits[code]); n++) { code 277 3rdparty/zlib/trees.c _dist_code[dist++] = (uch)code; code 282 3rdparty/zlib/trees.c for ( ; code < D_CODES; code++) { code 283 3rdparty/zlib/trees.c base_dist[code] = dist << 7; code 284 3rdparty/zlib/trees.c for (n = 0; n < (1<<(extra_dbits[code]-7)); n++) { code 285 3rdparty/zlib/trees.c _dist_code[256 + dist++] = (uch)code; code 581 3rdparty/zlib/trees.c ush code = 0; /* running code value */ code 589 3rdparty/zlib/trees.c next_code[bits] = code = (code + bl_count[bits-1]) << 1; code 594 3rdparty/zlib/trees.c Assert (code + bl_count[MAX_BITS]-1 == (1<<MAX_BITS)-1, code 1068 3rdparty/zlib/trees.c unsigned code; /* the code to send */ code 1079 3rdparty/zlib/trees.c code = _length_code[lc]; code 1080 3rdparty/zlib/trees.c send_code(s, code+LITERALS+1, ltree); /* send the length code */ code 1081 3rdparty/zlib/trees.c extra = extra_lbits[code]; code 1083 3rdparty/zlib/trees.c lc -= base_length[code]; code 1087 3rdparty/zlib/trees.c code = d_code(dist); code 1088 3rdparty/zlib/trees.c Assert (code < D_CODES, "bad d_code"); code 1090 3rdparty/zlib/trees.c send_code(s, code, dtree); /* send the distance code */ code 1091 3rdparty/zlib/trees.c extra = extra_dbits[code]; code 1093 3rdparty/zlib/trees.c dist -= base_dist[code]; code 1154 3rdparty/zlib/trees.c local unsigned bi_reverse(code, len) code 1155 3rdparty/zlib/trees.c unsigned code; /* the value to invert */ code 1160 3rdparty/zlib/trees.c res |= code & 1; code 1161 3rdparty/zlib/trees.c code >>= 1, res <<= 1; code 91 modules/calib3d/test/test_cameracalibration.cpp int code = cvtest::ArrayTest::read_params( fs ); code 92 modules/calib3d/test/test_cameracalibration.cpp return code; code 101 modules/calib3d/test/test_cameracalibration.cpp int i, code; code 103 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::randInt(rng) % 3; code 106 modules/calib3d/test/test_cameracalibration.cpp if( code == 0 ) code 111 modules/calib3d/test/test_cameracalibration.cpp else if( code == 1 ) code 180 modules/calib3d/test/test_cameracalibration.cpp int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); code 181 modules/calib3d/test/test_cameracalibration.cpp return code; code 292 modules/calib3d/test/test_cameracalibration.cpp int code = cvtest::TS::OK; code 346 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::TS::FAIL_MISSING_TEST_DATA; code 368 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::TS::FAIL_MISSING_TEST_DATA; code 379 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::TS::FAIL_INVALID_TEST_DATA; code 389 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::TS::FAIL_INVALID_TEST_DATA; code 401 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::TS::FAIL_INVALID_TEST_DATA; code 584 modules/calib3d/test/test_cameracalibration.cpp code = compare(cameraMatrix+0,&goodFcx,1,0.1,"fx"); code 585 modules/calib3d/test/test_cameracalibration.cpp if( code < 0 ) code 588 modules/calib3d/test/test_cameracalibration.cpp code = compare(cameraMatrix+4,&goodFcy,1,0.1,"fy"); code 589 modules/calib3d/test/test_cameracalibration.cpp if( code < 0 ) code 593 modules/calib3d/test/test_cameracalibration.cpp code = compare(cameraMatrix+2,&goodCx,1,0.1,"cx"); code 594 modules/calib3d/test/test_cameracalibration.cpp if( code < 0 ) code 597 modules/calib3d/test/test_cameracalibration.cpp code = compare(cameraMatrix+5,&goodCy,1,0.1,"cy"); code 598 modules/calib3d/test/test_cameracalibration.cpp if( code < 0 ) code 602 modules/calib3d/test/test_cameracalibration.cpp code = compare(distortion,goodDistortion,4,0.1,"[k1,k2,p1,p2]"); code 603 modules/calib3d/test/test_cameracalibration.cpp if( code < 0 ) code 607 modules/calib3d/test/test_cameracalibration.cpp code = compare(rotMatrs,goodRotMatrs, 9*numImages,0.05,"rotation matrices"); code 608 modules/calib3d/test/test_cameracalibration.cpp if( code < 0 ) code 612 modules/calib3d/test/test_cameracalibration.cpp code = compare(transVects,goodTransVects, 3*numImages,0.1,"translation vectors"); code 613 modules/calib3d/test/test_cameracalibration.cpp if( code < 0 ) code 620 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; goto _exit_; code 627 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; goto _exit_; code 665 modules/calib3d/test/test_cameracalibration.cpp if( code < 0 ) code 666 modules/calib3d/test/test_cameracalibration.cpp ts->set_failed_test_info( code ); code 835 modules/calib3d/test/test_cameracalibration.cpp int code = cvtest::TS::OK; code 890 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 896 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 902 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 908 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 914 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 921 modules/calib3d/test/test_cameracalibration.cpp ts->set_failed_test_info( code ); code 1019 modules/calib3d/test/test_cameracalibration.cpp int code = cvtest::TS::OK; code 1096 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 1119 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 1136 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 1159 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 1180 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 1199 modules/calib3d/test/test_cameracalibration.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 1205 modules/calib3d/test/test_cameracalibration.cpp ts->set_failed_test_info( code ); code 62 modules/calib3d/test/test_chesscorners_timing.cpp int code = cvtest::TS::OK; code 87 modules/calib3d/test/test_chesscorners_timing.cpp code = cvtest::TS::FAIL_MISSING_TEST_DATA; code 118 modules/calib3d/test/test_chesscorners_timing.cpp code = cvtest::TS::FAIL_MISSING_TEST_DATA; code 151 modules/calib3d/test/test_chesscorners_timing.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 183 modules/calib3d/test/test_chesscorners_timing.cpp if( code < 0 ) code 184 modules/calib3d/test/test_chesscorners_timing.cpp ts->set_failed_test_info( code ); code 122 modules/calib3d/test/test_cornerssubpix.cpp int code = cvtest::TS::OK; code 181 modules/calib3d/test/test_cornerssubpix.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 195 modules/calib3d/test/test_cornerssubpix.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 208 modules/calib3d/test/test_cornerssubpix.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 218 modules/calib3d/test/test_cornerssubpix.cpp if( code < 0 ) code 219 modules/calib3d/test/test_cornerssubpix.cpp ts->set_failed_test_info( code ); code 560 modules/calib3d/test/test_fundam.cpp int code = cvtest::ArrayTest::read_params( fs ); code 561 modules/calib3d/test/test_fundam.cpp return code; code 570 modules/calib3d/test/test_fundam.cpp int i, code; code 572 modules/calib3d/test/test_fundam.cpp code = cvtest::randInt(rng) % 3; code 575 modules/calib3d/test/test_fundam.cpp if( code == 0 ) code 580 modules/calib3d/test/test_fundam.cpp else if( code == 1 ) code 655 modules/calib3d/test/test_fundam.cpp int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); code 656 modules/calib3d/test/test_fundam.cpp return code; code 823 modules/calib3d/test/test_fundam.cpp int code = cvtest::ArrayTest::read_params( fs ); code 824 modules/calib3d/test/test_fundam.cpp return code; code 954 modules/calib3d/test/test_fundam.cpp int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); code 955 modules/calib3d/test/test_fundam.cpp if( code > 0 ) code 973 modules/calib3d/test/test_fundam.cpp return code; code 1122 modules/calib3d/test/test_fundam.cpp int code = cvtest::ArrayTest::read_params( fs ); code 1123 modules/calib3d/test/test_fundam.cpp return code; code 1253 modules/calib3d/test/test_fundam.cpp int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); code 1254 modules/calib3d/test/test_fundam.cpp if( code > 0 ) code 1272 modules/calib3d/test/test_fundam.cpp return code; code 1450 modules/calib3d/test/test_fundam.cpp int code = cvtest::ArrayTest::read_params( fs ); code 1451 modules/calib3d/test/test_fundam.cpp return code; code 1585 modules/calib3d/test/test_fundam.cpp int code = cvtest::ArrayTest::read_params( fs ); code 1586 modules/calib3d/test/test_fundam.cpp return code; code 370 modules/calib3d/test/test_homography.cpp int code = check_ransac_mask_1(src_mat_2f, mask[j]); code 372 modules/calib3d/test/test_homography.cpp if (code) code 376 modules/calib3d/test/test_homography.cpp switch (code) code 489 modules/calib3d/test/test_homography.cpp int code = check_ransac_mask_2(mask, mask_res[j]); code 491 modules/calib3d/test/test_homography.cpp if (code) code 495 modules/calib3d/test/test_homography.cpp switch (code) code 64 modules/calib3d/test/test_posit.cpp int code = cvtest::TS::OK; code 195 modules/calib3d/test/test_posit.cpp code = cvtest::cmpEps2( ts, _rotation, _true_rotation, flEpsilon, false, "rotation matrix" ); code 196 modules/calib3d/test/test_posit.cpp if( code < 0 ) code 199 modules/calib3d/test/test_posit.cpp code = cvtest::cmpEps2( ts, _translation, _true_translation, flEpsilon, false, "translation vector" ); code 200 modules/calib3d/test/test_posit.cpp if( code < 0 ) code 216 modules/calib3d/test/test_posit.cpp if( code < 0 ) code 217 modules/calib3d/test/test_posit.cpp ts->set_failed_test_info( code ); code 412 modules/calib3d/test/test_stereomatching.cpp int code = readDatasetsParams( datasetsFS ); code 413 modules/calib3d/test/test_stereomatching.cpp if( code != cvtest::TS::OK ) code 415 modules/calib3d/test/test_stereomatching.cpp ts->set_failed_test_info( code ); code 419 modules/calib3d/test/test_stereomatching.cpp code = readRunParams( runParamsFS ); code 420 modules/calib3d/test/test_stereomatching.cpp if( code != cvtest::TS::OK ) code 422 modules/calib3d/test/test_stereomatching.cpp ts->set_failed_test_info( code ); code 459 modules/calib3d/test/test_stereomatching.cpp code = cvtest::TS::FAIL_INVALID_TEST_DATA; code 489 modules/calib3d/test/test_stereomatching.cpp code = tempCode==cvtest::TS::OK ? code : tempCode; code 495 modules/calib3d/test/test_stereomatching.cpp ts->set_failed_test_info( code ); code 547 modules/calib3d/test/test_stereomatching.cpp int code = cvtest::TS::OK; code 594 modules/calib3d/test/test_stereomatching.cpp code = tempCode==cvtest::TS::OK ? code : tempCode; code 596 modules/calib3d/test/test_stereomatching.cpp code = tempCode==cvtest::TS::OK ? code : tempCode; code 598 modules/calib3d/test/test_stereomatching.cpp return code; code 695 modules/calib3d/test/test_stereomatching.cpp int code = CV_StereoMatchingTest::readRunParams( fs ); code 708 modules/calib3d/test/test_stereomatching.cpp return code; code 751 modules/calib3d/test/test_stereomatching.cpp int code = CV_StereoMatchingTest::readRunParams(fs); code 765 modules/calib3d/test/test_stereomatching.cpp return code; code 93 modules/calib3d/test/test_undistort.cpp int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); code 95 modules/calib3d/test/test_undistort.cpp if (code <= 0) code 96 modules/calib3d/test/test_undistort.cpp return code; code 119 modules/calib3d/test/test_undistort.cpp return code; code 261 modules/calib3d/test/test_undistort.cpp int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); code 263 modules/calib3d/test/test_undistort.cpp if (code <= 0) code 264 modules/calib3d/test/test_undistort.cpp return code; code 377 modules/calib3d/test/test_undistort.cpp return code; code 666 modules/calib3d/test/test_undistort.cpp int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); code 668 modules/calib3d/test/test_undistort.cpp if (code <= 0) code 669 modules/calib3d/test/test_undistort.cpp return code; code 784 modules/calib3d/test/test_undistort.cpp return code; code 120 modules/core/include/opencv2/core.hpp int code; ///< error code @see CVStatus code 367 modules/core/include/opencv2/core/base.hpp #define CV_Error( code, msg ) cv::error( code, msg, CV_Func, __FILE__, __LINE__ ) code 381 modules/core/include/opencv2/core/base.hpp #define CV_Error_( code, args ) cv::error( code, cv::format args, CV_Func, __FILE__, __LINE__ ) code 392 modules/core/include/opencv2/core/base.hpp #define CV_ErrorNoReturn( code, msg ) cv::errorNoReturn( code, msg, CV_Func, __FILE__, __LINE__ ) code 395 modules/core/include/opencv2/core/base.hpp #define CV_ErrorNoReturn_( code, args ) cv::errorNoReturn( code, cv::format args, CV_Func, __FILE__, __LINE__ ) code 81 modules/core/include/opencv2/core/private.cuda.hpp CV_EXPORTS cv::String getNppErrorMessage(int code); code 82 modules/core/include/opencv2/core/private.cuda.hpp CV_EXPORTS cv::String getCudaDriverApiErrorMessage(int code); code 119 modules/core/include/opencv2/core/private.cuda.hpp static inline void checkNppError(int code, const char* file, const int line, const char* func) code 121 modules/core/include/opencv2/core/private.cuda.hpp if (code < 0) code 122 modules/core/include/opencv2/core/private.cuda.hpp cv::error(cv::Error::GpuApiCallError, getNppErrorMessage(code), func, file, line); code 125 modules/core/include/opencv2/core/private.cuda.hpp static inline void checkCudaDriverApiError(int code, const char* file, const int line, const char* func) code 127 modules/core/include/opencv2/core/private.cuda.hpp if (code != CUDA_SUCCESS) code 128 modules/core/include/opencv2/core/private.cuda.hpp cv::error(cv::Error::GpuApiCallError, getCudaDriverApiErrorMessage(code), func, file, line); code 1624 modules/core/include/opencv2/core/types_c.h CV_READ_SEQ_ELEM( (reader).code, (reader)); \ code 1625 modules/core/include/opencv2/core/types_c.h assert( ((reader).code & ~7) == 0 ); \ code 1626 modules/core/include/opencv2/core/types_c.h (reader).pt.x += (reader).deltas[(int)(reader).code][0]; \ code 1627 modules/core/include/opencv2/core/types_c.h (reader).pt.y += (reader).deltas[(int)(reader).code][1]; \ code 4174 modules/core/src/arithm.cpp code(code_) code 4176 modules/core/src/arithm.cpp CV_Assert(code == CMP_GT || code == CMP_LE || code 4177 modules/core/src/arithm.cpp code == CMP_EQ || code == CMP_NE); code 4186 modules/core/src/arithm.cpp if (code == CMP_GT) code 4189 modules/core/src/arithm.cpp else if (code == CMP_LE) code 4192 modules/core/src/arithm.cpp else if (code == CMP_EQ) code 4195 modules/core/src/arithm.cpp else if (code == CMP_NE) code 4202 modules/core/src/arithm.cpp int code; code 4210 modules/core/src/arithm.cpp code(code_) code 4212 modules/core/src/arithm.cpp CV_Assert(code == CMP_GT || code == CMP_LE || code 4213 modules/core/src/arithm.cpp code == CMP_EQ || code == CMP_NE); code 4222 modules/core/src/arithm.cpp if (code == CMP_GT) code 4228 modules/core/src/arithm.cpp else if (code == CMP_LE) code 4234 modules/core/src/arithm.cpp else if (code == CMP_EQ) code 4240 modules/core/src/arithm.cpp else if (code == CMP_NE) code 4250 modules/core/src/arithm.cpp int code; code 4258 modules/core/src/arithm.cpp code(code_) code 4260 modules/core/src/arithm.cpp CV_Assert(code == CMP_GT || code == CMP_LE || code 4261 modules/core/src/arithm.cpp code == CMP_EQ || code == CMP_NE); code 4270 modules/core/src/arithm.cpp if (code == CMP_GT) code 4277 modules/core/src/arithm.cpp else if (code == CMP_LE) code 4284 modules/core/src/arithm.cpp else if (code == CMP_EQ) code 4291 modules/core/src/arithm.cpp else if (code == CMP_NE) code 4303 modules/core/src/arithm.cpp int code; code 4311 modules/core/src/arithm.cpp code(code_) code 4313 modules/core/src/arithm.cpp CV_Assert(code == CMP_GT || code == CMP_LE || code 4314 modules/core/src/arithm.cpp code == CMP_EQ || code == CMP_NE); code 4323 modules/core/src/arithm.cpp if (code == CMP_GT) code 4330 modules/core/src/arithm.cpp else if (code == CMP_LE) code 4337 modules/core/src/arithm.cpp else if (code == CMP_EQ) code 4344 modules/core/src/arithm.cpp else if (code == CMP_NE) code 4356 modules/core/src/arithm.cpp int code; code 4366 modules/core/src/arithm.cpp code(code_) code 4368 modules/core/src/arithm.cpp CV_Assert(code == CMP_GT || code == CMP_LE || code 4369 modules/core/src/arithm.cpp code == CMP_EQ || code == CMP_NE); code 4383 modules/core/src/arithm.cpp if (code == CMP_GT) code 4387 modules/core/src/arithm.cpp else if (code == CMP_LE) code 4394 modules/core/src/arithm.cpp else if (code == CMP_EQ) code 4398 modules/core/src/arithm.cpp else if (code == CMP_NE) code 4409 modules/core/src/arithm.cpp int code; code 4418 modules/core/src/arithm.cpp code(code_) code 4420 modules/core/src/arithm.cpp CV_Assert(code == CMP_GT || code == CMP_LE || code 4421 modules/core/src/arithm.cpp code == CMP_EQ || code == CMP_NE); code 4435 modules/core/src/arithm.cpp if (code == CMP_GT) code 4445 modules/core/src/arithm.cpp else if (code == CMP_LE) code 4455 modules/core/src/arithm.cpp else if (code == CMP_EQ) code 4465 modules/core/src/arithm.cpp else if (code == CMP_NE) code 4479 modules/core/src/arithm.cpp int code; code 4488 modules/core/src/arithm.cpp uchar* dst, size_t step, Size size, int code) code 4492 modules/core/src/arithm.cpp if( code == CMP_GE || code == CMP_LT ) code 4496 modules/core/src/arithm.cpp code = code == CMP_GE ? CMP_LE : CMP_GT; code 4499 modules/core/src/arithm.cpp Cmp_SIMD<T> vop(code); code 4501 modules/core/src/arithm.cpp if( code == CMP_GT || code == CMP_LE ) code 4503 modules/core/src/arithm.cpp int m = code == CMP_GT ? 0 : 255; code 4523 modules/core/src/arithm.cpp else if( code == CMP_EQ || code == CMP_NE ) code 4525 modules/core/src/arithm.cpp int m = code == CMP_EQ ? 0 : 255; code 4579 modules/core/src/arithm.cpp int code = *(int*)_cmpop; code 4582 modules/core/src/arithm.cpp if( code == CMP_GE || code == CMP_LT ) code 4586 modules/core/src/arithm.cpp code = code == CMP_GE ? CMP_LE : CMP_GT; code 4589 modules/core/src/arithm.cpp if( code == CMP_GT || code == CMP_LE ) code 4591 modules/core/src/arithm.cpp int m = code == CMP_GT ? 0 : 255; code 4598 modules/core/src/arithm.cpp __m128i m128 = code == CMP_GT ? _mm_setzero_si128() : _mm_set1_epi8 (-1); code 4614 modules/core/src/arithm.cpp uint8x16_t mask = code == CMP_GT ? vdupq_n_u8(0) : vdupq_n_u8(255); code 4628 modules/core/src/arithm.cpp else if( code == CMP_EQ || code == CMP_NE ) code 4630 modules/core/src/arithm.cpp int m = code == CMP_EQ ? 0 : 255; code 4637 modules/core/src/arithm.cpp __m128i m128 = code == CMP_EQ ? _mm_setzero_si128() : _mm_set1_epi8 (-1); code 4647 modules/core/src/arithm.cpp uint8x16_t mask = code == CMP_EQ ? vdupq_n_u8(0) : vdupq_n_u8(255); code 4709 modules/core/src/arithm.cpp int code = *(int*)_cmpop; code 4712 modules/core/src/arithm.cpp if( code == CMP_GE || code == CMP_LT ) code 4716 modules/core/src/arithm.cpp code = code == CMP_GE ? CMP_LE : CMP_GT; code 4719 modules/core/src/arithm.cpp if( code == CMP_GT || code == CMP_LE ) code 4721 modules/core/src/arithm.cpp int m = code == CMP_GT ? 0 : 255; code 4728 modules/core/src/arithm.cpp __m128i m128 = code == CMP_GT ? _mm_setzero_si128() : _mm_set1_epi16 (-1); code 4752 modules/core/src/arithm.cpp uint8x16_t mask = code == CMP_GT ? vdupq_n_u8(0) : vdupq_n_u8(255); code 4773 modules/core/src/arithm.cpp else if( code == CMP_EQ || code == CMP_NE ) code 4775 modules/core/src/arithm.cpp int m = code == CMP_EQ ? 0 : 255; code 4782 modules/core/src/arithm.cpp __m128i m128 = code == CMP_EQ ? _mm_setzero_si128() : _mm_set1_epi16 (-1); code 4806 modules/core/src/arithm.cpp uint8x16_t mask = code == CMP_EQ ? vdupq_n_u8(0) : vdupq_n_u8(255); code 1087 modules/core/src/cuda_info.cpp int code; code 1093 modules/core/src/cuda_info.cpp int code; code 1094 modules/core/src/cuda_info.cpp ErrorEntryComparer(int code_) : code(code_) {} code 1095 modules/core/src/cuda_info.cpp bool operator()(const ErrorEntry& e) const { return e.code == code; } code 1241 modules/core/src/cuda_info.cpp cv::String getErrorString(int code, const ErrorEntry* errors, size_t n) code 1243 modules/core/src/cuda_info.cpp size_t idx = std::find_if(errors, errors + n, ErrorEntryComparer(code)) - errors; code 1246 modules/core/src/cuda_info.cpp cv::String str = cv::format("%s [Code = %d]", msg, code); code 1254 modules/core/src/cuda_info.cpp String cv::cuda::getNppErrorMessage(int code) code 1257 modules/core/src/cuda_info.cpp (void) code; code 1260 modules/core/src/cuda_info.cpp return getErrorString(code, npp_errors, npp_error_num); code 1264 modules/core/src/cuda_info.cpp String cv::cuda::getCudaDriverApiErrorMessage(int code) code 1267 modules/core/src/cuda_info.cpp (void) code; code 1270 modules/core/src/cuda_info.cpp return getErrorString(code, cu_errors, cu_errors_num); code 2261 modules/core/src/datastructs.cpp int k = (i+j)>>1, code; code 2263 modules/core/src/datastructs.cpp code = cmp_func( elem, ptr, userdata ); code 2264 modules/core/src/datastructs.cpp if( !code ) code 2272 modules/core/src/datastructs.cpp if( code < 0 ) code 3094 modules/core/src/datastructs.cpp int code = -1; code 3122 modules/core/src/datastructs.cpp code = CV_GRAPH_VERTEX; code 3123 modules/core/src/datastructs.cpp return code; code 3149 modules/core/src/datastructs.cpp code = CV_GRAPH_TREE_EDGE; code 3153 modules/core/src/datastructs.cpp return code; code 3163 modules/core/src/datastructs.cpp code = (dst->flags & CV_GRAPH_SEARCH_TREE_NODE_FLAG) ? code 3168 modules/core/src/datastructs.cpp if( scanner->mask & code ) code 3173 modules/core/src/datastructs.cpp return code; code 3211 modules/core/src/datastructs.cpp code = CV_GRAPH_BACKTRACKING; code 3212 modules/core/src/datastructs.cpp return code; code 3225 modules/core/src/datastructs.cpp code = CV_GRAPH_OVER; code 3236 modules/core/src/datastructs.cpp code = CV_GRAPH_NEW_TREE; code 3241 modules/core/src/datastructs.cpp return code; code 200 modules/core/src/system.cpp Exception::Exception() { code = 0; line = 0; } code 203 modules/core/src/system.cpp : code(_code), err(_err), func(_func), file(_file), line(_line) code 218 modules/core/src/system.cpp msg = format("%s:%d: error: (%d) %s in function %s\n", file.c_str(), line, code, err.c_str(), func.c_str()); code 220 modules/core/src/system.cpp msg = format("%s:%d: error: (%d) %s\n", file.c_str(), line, code, err.c_str()); code 632 modules/core/src/system.cpp customErrorCallback(exc.code, exc.func.c_str(), exc.err.c_str(), code 636 modules/core/src/system.cpp const char* errorStr = cvErrorStr(exc.code); code 796 modules/core/src/system.cpp CV_IMPL void cvError( int code, const char* func_name, code 800 modules/core/src/system.cpp cv::error(cv::Exception(code, err_msg, func_name, file_name, line)); code 388 modules/core/test/test_ds.cpp int code = cvtest::BaseTest::read_params( fs ); code 390 modules/core/test/test_ds.cpp if( code < 0 ) code 391 modules/core/test/test_ds.cpp return code; code 1970 modules/core/test/test_ds.cpp int code, a = -1, b = -1; code 1972 modules/core/test/test_ds.cpp code = cvNextGraphItem( scanner ); code 1974 modules/core/test/test_ds.cpp switch( code ) code 2038 modules/core/test/test_ds.cpp if( code < 0 ) code 2069 modules/core/test/test_ds.cpp int code = cvNextGraphItem( scanner ); code 2071 modules/core/test/test_ds.cpp if( code == CV_GRAPH_OVER ) code 2073 modules/core/test/test_ds.cpp else if( code & CV_GRAPH_ANY_EDGE ) code 2082 modules/core/test/test_ds.cpp else if( code & CV_GRAPH_VERTEX ) code 648 modules/core/test/test_dxt.cpp int code = Base::prepare_test_case( test_case_idx ); code 649 modules/core/test/test_dxt.cpp if( code > 0 ) code 664 modules/core/test/test_dxt.cpp return code; code 167 modules/core/test/test_mat.cpp int code = cvtest::TS::OK, tempCode; code 192 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 196 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 200 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 204 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 206 modules/core/test/test_mat.cpp return code; code 211 modules/core/test/test_mat.cpp int code = cvtest::TS::OK, tempCode; code 215 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 218 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 221 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 224 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 228 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 231 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 235 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 238 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 242 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 245 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 249 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 251 modules/core/test/test_mat.cpp return code; code 256 modules/core/test/test_mat.cpp int code = cvtest::TS::OK, tempCode; code 259 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 262 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 264 modules/core/test/test_mat.cpp return code; code 269 modules/core/test/test_mat.cpp int code = cvtest::TS::OK, tempCode; code 272 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 275 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 278 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 281 modules/core/test/test_mat.cpp code = tempCode != cvtest::TS::OK ? tempCode : code; code 283 modules/core/test/test_mat.cpp ts->set_failed_test_info( code ); code 676 modules/core/test/test_math.cpp int code = Base::prepare_test_case( test_case_idx ); code 677 modules/core/test/test_math.cpp if( code > 0 ) code 682 modules/core/test/test_math.cpp return code; code 869 modules/core/test/test_math.cpp int code = Base::prepare_test_case( test_case_idx ); code 870 modules/core/test/test_math.cpp if( code > 0 ) code 881 modules/core/test/test_math.cpp return code; code 1106 modules/core/test/test_math.cpp int code = Base::prepare_test_case( test_case_idx ); code 1107 modules/core/test/test_math.cpp if( code > 0 ) code 1114 modules/core/test/test_math.cpp return code; code 1218 modules/core/test/test_math.cpp int code = Core_MatrixTest::prepare_test_case( test_case_idx ); code 1219 modules/core/test/test_math.cpp if( code > 0 ) code 1255 modules/core/test/test_math.cpp return code; code 1378 modules/core/test/test_math.cpp int code = Core_MatrixTest::prepare_test_case( test_case_idx ); code 1379 modules/core/test/test_math.cpp if( code > 0 ) code 1382 modules/core/test/test_math.cpp return code; code 1555 modules/core/test/test_math.cpp int code = Core_MatrixTest::prepare_test_case( test_case_idx ); code 1556 modules/core/test/test_math.cpp if( code > 0 ) code 1568 modules/core/test/test_math.cpp return code; code 1711 modules/core/test/test_math.cpp int code = Core_MatrixTest::prepare_test_case( test_case_idx ); code 1720 modules/core/test/test_math.cpp return code; code 1889 modules/core/test/test_math.cpp int code = Core_MatrixTest::prepare_test_case( test_case_idx ); code 1890 modules/core/test/test_math.cpp if( code > 0 ) code 1906 modules/core/test/test_math.cpp return code; code 2104 modules/core/test/test_math.cpp int code = Base::prepare_test_case( test_case_idx ); code 2105 modules/core/test/test_math.cpp if( code > 0 ) code 2121 modules/core/test/test_math.cpp return code; code 67 modules/cudaarithm/src/arithm.cpp int code; code 73 modules/cudaarithm/src/arithm.cpp int code; code 74 modules/cudaarithm/src/arithm.cpp ErrorEntryComparer(int code_) : code(code_) {} code 75 modules/cudaarithm/src/arithm.cpp bool operator()(const ErrorEntry& e) const { return e.code == code; } code 78 modules/cudaarithm/src/arithm.cpp String getErrorString(int code, const ErrorEntry* errors, size_t n) code 80 modules/cudaarithm/src/arithm.cpp size_t idx = std::find_if(errors, errors + n, ErrorEntryComparer(code)) - errors; code 83 modules/cudaarithm/src/arithm.cpp String str = cv::format("%s [Code = %d]", msg, code); code 94 modules/cudaarithm/test/test_arithm.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 106 modules/cudaarithm/test/test_arithm.cpp ASSERT_EQ(cv::Error::StsNotImplemented, e.code); code 92 modules/cudaarithm/test/test_core.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 154 modules/cudaarithm/test/test_core.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 215 modules/cudaarithm/test/test_core.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 92 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 154 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 211 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 242 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 299 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 330 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 395 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 457 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 514 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 545 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 602 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 633 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 698 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 728 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 883 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 914 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 970 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 1001 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 1065 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 1095 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 1250 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 1280 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 1336 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 1392 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 1421 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 1450 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 1811 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 1872 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 1982 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 2333 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 2361 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 2416 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 2444 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 2506 modules/cudaarithm/test/test_element_operations.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 96 modules/cudaarithm/test/test_gpumat.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 121 modules/cudaarithm/test/test_gpumat.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 148 modules/cudaarithm/test/test_gpumat.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 216 modules/cudaarithm/test/test_gpumat.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 275 modules/cudaarithm/test/test_gpumat.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 307 modules/cudaarithm/test/test_gpumat.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 402 modules/cudaarithm/test/test_reductions.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 454 modules/cudaarithm/test/test_reductions.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 484 modules/cudaarithm/test/test_reductions.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 569 modules/cudaarithm/test/test_reductions.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 678 modules/cudaarithm/test/test_reductions.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 716 modules/cudaarithm/test/test_reductions.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 782 modules/cudaarithm/test/test_reductions.cpp ASSERT_EQ(cv::Error::StsUnsupportedFormat, e.code); code 1003 modules/cudaarithm/test/test_reductions.cpp ASSERT_EQ(cv::Error::StsNotImplemented, e.code); code 90 modules/cudafeatures2d/test/test_features2d.cpp ASSERT_EQ(cv::Error::StsNotImplemented, e.code); code 179 modules/cudafeatures2d/test/test_features2d.cpp ASSERT_EQ(cv::Error::StsNotImplemented, e.code); code 591 modules/cudafeatures2d/test/test_features2d.cpp ASSERT_EQ(cv::Error::StsNotImplemented, e.code); code 657 modules/cudafeatures2d/test/test_features2d.cpp ASSERT_EQ(cv::Error::StsNotImplemented, e.code); code 90 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void cvtColor(InputArray src, OutputArray dst, int code, int dcn = 0, Stream& stream = Stream::Null()); code 136 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void demosaicing(InputArray src, OutputArray dst, int code, int dcn = -1, Stream& stream = Stream::Null()); code 91 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cuda::cvtColor(d_src, dst, info.code, info.dcn); code 99 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cvtColor(src, dst, info.code, info.dcn); code 130 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cuda::cvtColor(d_src, dst, info.code, info.dcn); code 138 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cvtColor(src, dst, info.code, info.dcn); code 160 modules/cudaimgproc/perf/perf_color.cpp const int code = GET_PARAM(1); code 170 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cuda::demosaicing(d_src, dst, code); code 176 modules/cudaimgproc/perf/perf_color.cpp if (code >= cv::COLOR_COLORCVT_MAX) code 184 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cvtColor(src, dst, code); code 1925 modules/cudaimgproc/src/color.cpp void cv::cuda::cvtColor(InputArray src, OutputArray dst, int code, int dcn, Stream& stream) code 2098 modules/cudaimgproc/src/color.cpp CV_Assert( code < 128 ); code 2100 modules/cudaimgproc/src/color.cpp func_t func = funcs[code]; code 2111 modules/cudaimgproc/src/color.cpp void cv::cuda::demosaicing(InputArray _src, OutputArray _dst, int code, int dcn, Stream& stream) code 2115 modules/cudaimgproc/src/color.cpp switch (code) code 2118 modules/cudaimgproc/src/color.cpp bayer_to_gray(_src, _dst, code == cv::COLOR_BayerBG2GRAY || code == cv::COLOR_BayerGB2GRAY, code == cv::COLOR_BayerGB2GRAY || code == cv::COLOR_BayerGR2GRAY, stream); code 2122 modules/cudaimgproc/src/color.cpp bayer_to_BGR(_src, _dst, dcn, code == cv::COLOR_BayerBG2BGR || code == cv::COLOR_BayerGB2BGR, code == cv::COLOR_BayerGB2BGR || code == cv::COLOR_BayerGR2BGR, stream); code 2146 modules/cudaimgproc/src/color.cpp const int2 firstRed = make_int2(code == COLOR_BayerRG2BGR_MHT || code == COLOR_BayerGB2BGR_MHT ? 0 : 1, code 2147 modules/cudaimgproc/src/color.cpp code == COLOR_BayerRG2BGR_MHT || code == COLOR_BayerGR2BGR_MHT ? 0 : 1); code 2174 modules/cudaimgproc/src/color.cpp const int2 firstRed = make_int2(code == COLOR_BayerRG2BGR_MHT || code == COLOR_BayerGB2BGR_MHT ? 0 : 1, code 2175 modules/cudaimgproc/src/color.cpp code == COLOR_BayerRG2BGR_MHT || code == COLOR_BayerGR2BGR_MHT ? 0 : 1); code 80 modules/cudalegacy/include/opencv2/cudalegacy/private.hpp CV_EXPORTS cv::String getNcvErrorMessage(int code); code 57 modules/cudalegacy/src/NCV.cpp int code; code 63 modules/cudalegacy/src/NCV.cpp int code; code 64 modules/cudalegacy/src/NCV.cpp ErrorEntryComparer(int code_) : code(code_) {} code 65 modules/cudalegacy/src/NCV.cpp bool operator()(const ErrorEntry& e) const { return e.code == code; } code 121 modules/cudalegacy/src/NCV.cpp cv::String cv::cuda::getNcvErrorMessage(int code) code 123 modules/cudalegacy/src/NCV.cpp size_t idx = std::find_if(ncv_errors, ncv_errors + ncv_error_num, ErrorEntryComparer(code)) - ncv_errors; code 126 modules/cudalegacy/src/NCV.cpp String str = cv::format("%s [Code = %d]", msg, code); code 88 modules/features2d/test/test_nearestneighbors.cpp int code = cvtest::TS::OK; code 105 modules/features2d/test/test_nearestneighbors.cpp code = findNeighbors( points, results ); code 107 modules/features2d/test/test_nearestneighbors.cpp if( code == cvtest::TS::OK ) code 120 modules/features2d/test/test_nearestneighbors.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 124 modules/features2d/test/test_nearestneighbors.cpp return code; code 128 modules/features2d/test/test_nearestneighbors.cpp int code = cvtest::TS::OK, tempCode; code 138 modules/features2d/test/test_nearestneighbors.cpp code = tempCode; code 145 modules/features2d/test/test_nearestneighbors.cpp code = tempCode; code 152 modules/features2d/test/test_nearestneighbors.cpp code = tempCode; code 157 modules/features2d/test/test_nearestneighbors.cpp ts->set_failed_test_info( code ); code 1760 modules/highgui/src/window_gtk.cpp int code = 0; code 1777 modules/highgui/src/window_gtk.cpp code = 27; code 1781 modules/highgui/src/window_gtk.cpp code = '\n'; code 1784 modules/highgui/src/window_gtk.cpp code = '\t'; code 1787 modules/highgui/src/window_gtk.cpp code = event->keyval; code 1790 modules/highgui/src/window_gtk.cpp code |= event->state << 16; code 1796 modules/highgui/src/window_gtk.cpp last_key = code; code 372 modules/highgui/src/window_w32.cpp LONG code = RegEnumKeyEx( hroot, count, currentKey, &csize, NULL, NULL, NULL, &accesstime ); code 373 modules/highgui/src/window_w32.cpp if( code != ERROR_SUCCESS && code != ERROR_MORE_DATA ) code 256 modules/imgcodecs/src/grfmt_bmp.cpp int code = m_strm.getWord(); code 257 modules/imgcodecs/src/grfmt_bmp.cpp int len = code & 255; code 258 modules/imgcodecs/src/grfmt_bmp.cpp code >>= 8; code 265 modules/imgcodecs/src/grfmt_bmp.cpp clr[0] = m_palette[code >> 4]; code 266 modules/imgcodecs/src/grfmt_bmp.cpp clr[1] = m_palette[code & 15]; code 267 modules/imgcodecs/src/grfmt_bmp.cpp gray_clr[0] = gray_palette[code >> 4]; code 268 modules/imgcodecs/src/grfmt_bmp.cpp gray_clr[1] = gray_palette[code & 15]; code 282 modules/imgcodecs/src/grfmt_bmp.cpp else if( code > 2 ) // absolute mode code 284 modules/imgcodecs/src/grfmt_bmp.cpp if( data + code*nch > line_end ) goto decode_rle4_bad; code 285 modules/imgcodecs/src/grfmt_bmp.cpp m_strm.getBytes( src, (((code + 1)>>1) + 1) & -2 ); code 287 modules/imgcodecs/src/grfmt_bmp.cpp data = FillColorRow4( data, src, code, m_palette ); code 289 modules/imgcodecs/src/grfmt_bmp.cpp data = FillGrayRow4( data, src, code, gray_palette ); code 296 modules/imgcodecs/src/grfmt_bmp.cpp if( code == 2 ) code 302 modules/imgcodecs/src/grfmt_bmp.cpp len = x_shift3 + ((y_shift * width3) & ((code == 0) - 1)); code 345 modules/imgcodecs/src/grfmt_bmp.cpp int code = m_strm.getWord(); code 346 modules/imgcodecs/src/grfmt_bmp.cpp int len = code & 255; code 347 modules/imgcodecs/src/grfmt_bmp.cpp code >>= 8; code 359 modules/imgcodecs/src/grfmt_bmp.cpp m_palette[code] ); code 363 modules/imgcodecs/src/grfmt_bmp.cpp gray_palette[code] ); code 367 modules/imgcodecs/src/grfmt_bmp.cpp else if( code > 2 ) // absolute mode code 370 modules/imgcodecs/src/grfmt_bmp.cpp int code3 = code*nch; code 374 modules/imgcodecs/src/grfmt_bmp.cpp m_strm.getBytes( src, (code + 1) & -2 ); code 376 modules/imgcodecs/src/grfmt_bmp.cpp data = FillColorRow8( data, src, code, m_palette ); code 378 modules/imgcodecs/src/grfmt_bmp.cpp data = FillGrayRow8( data, src, code, gray_palette ); code 387 modules/imgcodecs/src/grfmt_bmp.cpp if( code || !line_end_flag || x_shift3 < width3 ) code 389 modules/imgcodecs/src/grfmt_bmp.cpp if( code == 2 ) code 395 modules/imgcodecs/src/grfmt_bmp.cpp x_shift3 += (y_shift * width3) & ((code == 0) - 1); code 54 modules/imgcodecs/src/grfmt_pxm.cpp int code; code 58 modules/imgcodecs/src/grfmt_pxm.cpp code = strm.getByte(); code 60 modules/imgcodecs/src/grfmt_pxm.cpp if( !isdigit(code)) code 64 modules/imgcodecs/src/grfmt_pxm.cpp if( code == '#' ) code 68 modules/imgcodecs/src/grfmt_pxm.cpp code = strm.getByte(); code 70 modules/imgcodecs/src/grfmt_pxm.cpp while( code != '\n' && code != '\r' ); code 73 modules/imgcodecs/src/grfmt_pxm.cpp code = strm.getByte(); code 75 modules/imgcodecs/src/grfmt_pxm.cpp while( isspace(code)) code 76 modules/imgcodecs/src/grfmt_pxm.cpp code = strm.getByte(); code 78 modules/imgcodecs/src/grfmt_pxm.cpp while( !isdigit( code )); code 83 modules/imgcodecs/src/grfmt_pxm.cpp val = val*10 + code - '0'; code 85 modules/imgcodecs/src/grfmt_pxm.cpp code = strm.getByte(); code 87 modules/imgcodecs/src/grfmt_pxm.cpp while( isdigit(code)); code 142 modules/imgcodecs/src/grfmt_pxm.cpp int code = m_strm.getByte(); code 143 modules/imgcodecs/src/grfmt_pxm.cpp if( code != 'P' ) code 146 modules/imgcodecs/src/grfmt_pxm.cpp code = m_strm.getByte(); code 147 modules/imgcodecs/src/grfmt_pxm.cpp switch( code ) code 155 modules/imgcodecs/src/grfmt_pxm.cpp m_binary = code >= '4'; code 267 modules/imgcodecs/src/grfmt_pxm.cpp int code = ReadNumber( m_strm, INT_MAX ); code 268 modules/imgcodecs/src/grfmt_pxm.cpp if( (unsigned)code > (unsigned)m_maxval ) code = m_maxval; code 270 modules/imgcodecs/src/grfmt_pxm.cpp src[x] = gray_palette[code]; code 272 modules/imgcodecs/src/grfmt_pxm.cpp ((ushort *)src)[x] = (ushort)code; code 207 modules/imgcodecs/src/grfmt_sunras.cpp int code = 0, len = 0, len1 = 0; code 211 modules/imgcodecs/src/grfmt_sunras.cpp code = m_strm.getByte(); code 212 modules/imgcodecs/src/grfmt_sunras.cpp if( code == 0x80 ) code 217 modules/imgcodecs/src/grfmt_sunras.cpp tsrc[len1] = (uchar)code; code 226 modules/imgcodecs/src/grfmt_sunras.cpp code = m_strm.getByte(); code 233 modules/imgcodecs/src/grfmt_sunras.cpp memset( tsrc, code, len ); code 275 modules/imgcodecs/src/grfmt_sunras.cpp int code = 0, len = 0, len1; code 280 modules/imgcodecs/src/grfmt_sunras.cpp code = m_strm.getByte(); code 281 modules/imgcodecs/src/grfmt_sunras.cpp if( code == 0x80 ) code 286 modules/imgcodecs/src/grfmt_sunras.cpp *tsrc++ = (uchar)code; code 304 modules/imgcodecs/src/grfmt_sunras.cpp code = m_strm.getByte(); code 309 modules/imgcodecs/src/grfmt_sunras.cpp m_palette[code] ); code 313 modules/imgcodecs/src/grfmt_sunras.cpp gray_palette[code] ); code 454 modules/imgcodecs/src/loadsave.cpp bool code = encoder->write( *pimage, params ); code 457 modules/imgcodecs/src/loadsave.cpp return code; code 535 modules/imgcodecs/src/loadsave.cpp bool code = decoder->readData( *data ); code 539 modules/imgcodecs/src/loadsave.cpp if( !code ) code 588 modules/imgcodecs/src/loadsave.cpp bool code; code 591 modules/imgcodecs/src/loadsave.cpp code = encoder->write(image, params); code 593 modules/imgcodecs/src/loadsave.cpp CV_Assert( code ); code 598 modules/imgcodecs/src/loadsave.cpp code = encoder->setDestination(filename); code 599 modules/imgcodecs/src/loadsave.cpp CV_Assert( code ); code 601 modules/imgcodecs/src/loadsave.cpp code = encoder->write(image, params); code 603 modules/imgcodecs/src/loadsave.cpp CV_Assert( code ); code 615 modules/imgcodecs/src/loadsave.cpp return code; code 698 modules/imgcodecs/src/loadsave.cpp bool code = cv::imencode(ext, img, buf, code 700 modules/imgcodecs/src/loadsave.cpp if( !code ) code 643 modules/imgcodecs/src/utils.cpp int code = src_cn*10 + dst_cn; code 653 modules/imgcodecs/src/utils.cpp switch( code ) code 3264 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void cvtColor( InputArray src, OutputArray dst, int code, int dstCn = 0 ); code 3269 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void demosaicing(InputArray _src, OutputArray _dst, int code, int dcn = 0); code 203 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvCvtColor( const CvArr* src, CvArr* dst, int code ); code 474 modules/imgproc/include/opencv2/imgproc/types_c.h char code; code 102 modules/imgproc/perf/opencl/perf_color.cpp const int code = get<0>(conversionParams), scn = get<1>(conversionParams), code 108 modules/imgproc/perf/opencl/perf_color.cpp OCL_TEST_CYCLE() cv::cvtColor(src, dst, code, dcn); code 103 modules/imgproc/src/approx.cpp s = abs_diff[reader.code - prev_code + 7]; code 6678 modules/imgproc/src/color.cpp static bool ocl_cvtColor( InputArray _src, OutputArray _dst, int code, int dcn ) code 6698 modules/imgproc/src/color.cpp switch (code) code 6704 modules/imgproc/src/color.cpp dcn = code == COLOR_BGR2BGRA || code == COLOR_RGB2BGRA || code == COLOR_BGRA2RGBA ? 4 : 3; code 6705 modules/imgproc/src/color.cpp bool reverse = !(code == COLOR_BGR2BGRA || code == COLOR_BGRA2BGR); code 6714 modules/imgproc/src/color.cpp dcn = code == COLOR_BGR5652BGRA || code == COLOR_BGR5552BGRA || code == COLOR_BGR5652RGBA || code == COLOR_BGR5552RGBA ? 4 : 3; code 6716 modules/imgproc/src/color.cpp bidx = code == COLOR_BGR5652BGR || code == COLOR_BGR5552BGR || code 6717 modules/imgproc/src/color.cpp code == COLOR_BGR5652BGRA || code == COLOR_BGR5552BGRA ? 0 : 2; code 6718 modules/imgproc/src/color.cpp int greenbits = code == COLOR_BGR5652BGR || code == COLOR_BGR5652RGB || code 6719 modules/imgproc/src/color.cpp code == COLOR_BGR5652BGRA || code == COLOR_BGR5652RGBA ? 6 : 5; code 6728 modules/imgproc/src/color.cpp bidx = code == COLOR_BGR2BGR565 || code == COLOR_BGR2BGR555 || code 6729 modules/imgproc/src/color.cpp code == COLOR_BGRA2BGR565 || code == COLOR_BGRA2BGR555 ? 0 : 2; code 6730 modules/imgproc/src/color.cpp int greenbits = code == COLOR_BGR2BGR565 || code == COLOR_RGB2BGR565 || code 6731 modules/imgproc/src/color.cpp code == COLOR_BGRA2BGR565 || code == COLOR_RGBA2BGR565 ? 6 : 5; code 6741 modules/imgproc/src/color.cpp int greenbits = code == COLOR_BGR5652GRAY ? 6 : 5; code 6750 modules/imgproc/src/color.cpp int greenbits = code == COLOR_GRAY2BGR565 ? 6 : 5; code 6759 modules/imgproc/src/color.cpp bidx = code == COLOR_BGR2GRAY || code == COLOR_BGRA2GRAY ? 0 : 2; code 6771 modules/imgproc/src/color.cpp dcn = code == COLOR_GRAY2BGRA ? 4 : 3; code 6780 modules/imgproc/src/color.cpp bidx = code == COLOR_RGB2YUV ? 0 : 2; code 6791 modules/imgproc/src/color.cpp bidx = code == COLOR_YUV2RGB ? 0 : 2; code 6801 modules/imgproc/src/color.cpp dcn = code == COLOR_YUV2BGRA_NV12 || code == COLOR_YUV2RGBA_NV12 || code 6802 modules/imgproc/src/color.cpp code == COLOR_YUV2BGRA_NV21 || code == COLOR_YUV2RGBA_NV21 ? 4 : 3; code 6803 modules/imgproc/src/color.cpp bidx = code == COLOR_YUV2BGRA_NV12 || code == COLOR_YUV2BGR_NV12 || code 6804 modules/imgproc/src/color.cpp code == COLOR_YUV2BGRA_NV21 || code == COLOR_YUV2BGR_NV21 ? 0 : 2; code 6805 modules/imgproc/src/color.cpp uidx = code == COLOR_YUV2RGBA_NV21 || code == COLOR_YUV2RGB_NV21 || code 6806 modules/imgproc/src/color.cpp code == COLOR_YUV2BGRA_NV21 || code == COLOR_YUV2BGR_NV21 ? 1 : 0; code 6819 modules/imgproc/src/color.cpp dcn = code == COLOR_YUV2BGRA_YV12 || code == COLOR_YUV2RGBA_YV12 || code 6820 modules/imgproc/src/color.cpp code == COLOR_YUV2BGRA_IYUV || code == COLOR_YUV2RGBA_IYUV ? 4 : 3; code 6821 modules/imgproc/src/color.cpp bidx = code == COLOR_YUV2BGRA_YV12 || code == COLOR_YUV2BGR_YV12 || code 6822 modules/imgproc/src/color.cpp code == COLOR_YUV2BGRA_IYUV || code == COLOR_YUV2BGR_IYUV ? 0 : 2; code 6823 modules/imgproc/src/color.cpp uidx = code == COLOR_YUV2BGRA_YV12 || code == COLOR_YUV2BGR_YV12 || code 6824 modules/imgproc/src/color.cpp code == COLOR_YUV2RGBA_YV12 || code == COLOR_YUV2RGB_YV12 ? 1 : 0; code 6851 modules/imgproc/src/color.cpp bidx = code == COLOR_BGRA2YUV_YV12 || code == COLOR_BGR2YUV_YV12 || code 6852 modules/imgproc/src/color.cpp code == COLOR_BGRA2YUV_IYUV || code == COLOR_BGR2YUV_IYUV ? 0 : 2; code 6853 modules/imgproc/src/color.cpp uidx = code == COLOR_RGBA2YUV_YV12 || code == COLOR_RGB2YUV_YV12 || code 6854 modules/imgproc/src/color.cpp code == COLOR_BGRA2YUV_YV12 || code == COLOR_BGR2YUV_YV12 ? 1 : 0; code 6881 modules/imgproc/src/color.cpp dcn = (code==COLOR_YUV2RGBA_UYVY || code==COLOR_YUV2BGRA_UYVY || code==COLOR_YUV2RGBA_YUY2 || code 6882 modules/imgproc/src/color.cpp code==COLOR_YUV2BGRA_YUY2 || code==COLOR_YUV2RGBA_YVYU || code==COLOR_YUV2BGRA_YVYU) ? 4 : 3; code 6884 modules/imgproc/src/color.cpp bidx = (code==COLOR_YUV2BGR_UYVY || code==COLOR_YUV2BGRA_UYVY || code==COLOR_YUV2BGRA_YUY2 || code 6885 modules/imgproc/src/color.cpp code==COLOR_YUV2BGR_YUY2 || code==COLOR_YUV2BGRA_YVYU || code==COLOR_YUV2BGR_YVYU) ? 0 : 2; code 6886 modules/imgproc/src/color.cpp yidx = (code==COLOR_YUV2RGB_UYVY || code==COLOR_YUV2RGBA_UYVY || code==COLOR_YUV2BGR_UYVY || code==COLOR_YUV2BGRA_UYVY) ? 1 : 0; code 6887 modules/imgproc/src/color.cpp uidx = (code==COLOR_YUV2RGB_YVYU || code==COLOR_YUV2RGBA_YVYU || code 6888 modules/imgproc/src/color.cpp code==COLOR_YUV2BGR_YVYU || code==COLOR_YUV2BGRA_YVYU) ? 2 : 0; code 6903 modules/imgproc/src/color.cpp bidx = code == COLOR_BGR2YCrCb ? 0 : 2; code 6915 modules/imgproc/src/color.cpp bidx = code == COLOR_YCrCb2BGR ? 0 : 2; code 6923 modules/imgproc/src/color.cpp bidx = code == COLOR_BGR2XYZ ? 0 : 2; code 6974 modules/imgproc/src/color.cpp bidx = code == COLOR_XYZ2BGR ? 0 : 2; code 7024 modules/imgproc/src/color.cpp bidx = code == COLOR_BGR2HSV || code == COLOR_BGR2HLS || code 7025 modules/imgproc/src/color.cpp code == COLOR_BGR2HSV_FULL || code == COLOR_BGR2HLS_FULL ? 0 : 2; code 7026 modules/imgproc/src/color.cpp int hrange = depth == CV_32F ? 360 : code == COLOR_BGR2HSV || code == COLOR_RGB2HSV || code 7027 modules/imgproc/src/color.cpp code == COLOR_BGR2HLS || code == COLOR_RGB2HLS ? 180 : 256; code 7028 modules/imgproc/src/color.cpp bool is_hsv = code == COLOR_BGR2HSV || code == COLOR_RGB2HSV || code == COLOR_BGR2HSV_FULL || code == COLOR_RGB2HSV_FULL; code 7093 modules/imgproc/src/color.cpp bidx = code == COLOR_HSV2BGR || code == COLOR_HLS2BGR || code 7094 modules/imgproc/src/color.cpp code == COLOR_HSV2BGR_FULL || code == COLOR_HLS2BGR_FULL ? 0 : 2; code 7095 modules/imgproc/src/color.cpp int hrange = depth == CV_32F ? 360 : code == COLOR_HSV2BGR || code == COLOR_HSV2RGB || code 7096 modules/imgproc/src/color.cpp code == COLOR_HLS2BGR || code == COLOR_HLS2RGB ? 180 : 255; code 7097 modules/imgproc/src/color.cpp bool is_hsv = code == COLOR_HSV2BGR || code == COLOR_HSV2RGB || code 7098 modules/imgproc/src/color.cpp code == COLOR_HSV2BGR_FULL || code == COLOR_HSV2RGB_FULL; code 7111 modules/imgproc/src/color.cpp k.create(code == COLOR_RGBA2mRGBA ? "RGBA2mRGBA" : "mRGBA2RGBA", ocl::imgproc::cvtcolor_oclsrc, code 7120 modules/imgproc/src/color.cpp bidx = code == CV_BGR2Lab || code == CV_LBGR2Lab || code == CV_BGR2Luv || code == CV_LBGR2Luv ? 0 : 2; code 7121 modules/imgproc/src/color.cpp bool srgb = code == CV_BGR2Lab || code == CV_RGB2Lab || code == CV_RGB2Luv || code == CV_BGR2Luv; code 7122 modules/imgproc/src/color.cpp bool lab = code == CV_BGR2Lab || code == CV_RGB2Lab || code == CV_LBGR2Lab || code == CV_LRGB2Lab; code 7245 modules/imgproc/src/color.cpp bidx = code == CV_Lab2BGR || code == CV_Lab2LBGR || code == CV_Luv2BGR || code == CV_Luv2LBGR ? 0 : 2; code 7246 modules/imgproc/src/color.cpp bool srgb = code == CV_Lab2BGR || code == CV_Lab2RGB || code == CV_Luv2BGR || code == CV_Luv2RGB; code 7247 modules/imgproc/src/color.cpp bool lab = code == CV_Lab2BGR || code == CV_Lab2RGB || code == CV_Lab2LBGR || code == CV_Lab2LRGB; code 7332 modules/imgproc/src/color.cpp void cv::cvtColor( InputArray _src, OutputArray _dst, int code, int dcn ) code 7337 modules/imgproc/src/color.cpp CV_OCL_RUN( _src.dims() <= 2 && _dst.isUMat() && !(depth == CV_8U && (code == CV_Luv2BGR || code == CV_Luv2RGB)), code 7338 modules/imgproc/src/color.cpp ocl_cvtColor(_src, _dst, code, dcn) ) code 7345 modules/imgproc/src/color.cpp switch( code ) code 7350 modules/imgproc/src/color.cpp dcn = code == CV_BGR2BGRA || code == CV_RGB2BGRA || code == CV_BGRA2RGBA ? 4 : 3; code 7351 modules/imgproc/src/color.cpp bidx = code == CV_BGR2BGRA || code == CV_BGRA2BGR ? 0 : 2; code 7359 modules/imgproc/src/color.cpp if( code == CV_BGR2BGRA) code 7368 modules/imgproc/src/color.cpp else if( code == CV_BGRA2BGR ) code 7377 modules/imgproc/src/color.cpp else if( code == CV_BGR2RGBA ) code 7386 modules/imgproc/src/color.cpp else if( code == CV_RGBA2BGR ) code 7395 modules/imgproc/src/color.cpp else if( code == CV_RGB2BGR ) code 7405 modules/imgproc/src/color.cpp else if( code == CV_RGBA2BGRA ) code 7443 modules/imgproc/src/color.cpp if (code == CV_BGR2BGR565 && scn == 3) code 7452 modules/imgproc/src/color.cpp else if (code == CV_BGRA2BGR565 && scn == 4) code 7463 modules/imgproc/src/color.cpp else if (code == CV_RGB2BGR565 && scn == 3) code 7473 modules/imgproc/src/color.cpp else if (code == CV_RGBA2BGR565 && scn == 4) code 7488 modules/imgproc/src/color.cpp if(code == CV_BGR2BGR565 || code == CV_BGRA2BGR565 || code == CV_RGB2BGR565 || code == CV_RGBA2BGR565) code 7489 modules/imgproc/src/color.cpp if(tegra::useTegra() && tegra::cvtRGB2RGB565(src, dst, code == CV_RGB2BGR565 || code == CV_RGBA2BGR565 ? 0 : 2)) code 7494 modules/imgproc/src/color.cpp code == CV_BGR2BGR565 || code == CV_BGR2BGR555 || code 7495 modules/imgproc/src/color.cpp code == CV_BGRA2BGR565 || code == CV_BGRA2BGR555 ? 0 : 2, code 7496 modules/imgproc/src/color.cpp code == CV_BGR2BGR565 || code == CV_RGB2BGR565 || code 7497 modules/imgproc/src/color.cpp code == CV_BGRA2BGR565 || code == CV_RGBA2BGR565 ? 6 : 5 // green bits code 7503 modules/imgproc/src/color.cpp if(dcn <= 0) dcn = (code==CV_BGR5652BGRA || code==CV_BGR5552BGRA || code==CV_BGR5652RGBA || code==CV_BGR5552RGBA) ? 4 : 3; code 7512 modules/imgproc/src/color.cpp if (code == CV_BGR5652BGR && dcn == 3) code 7521 modules/imgproc/src/color.cpp else if (code == CV_BGR5652RGB && dcn == 3) code 7531 modules/imgproc/src/color.cpp else if (code == CV_BGR5652BGRA && dcn == 4) code 7541 modules/imgproc/src/color.cpp else if (code == CV_BGR5652RGBA && dcn == 4) code 7556 modules/imgproc/src/color.cpp code == CV_BGR5652BGR || code == CV_BGR5552BGR || code 7557 modules/imgproc/src/color.cpp code == CV_BGR5652BGRA || code == CV_BGR5552BGRA ? 0 : 2, // blue idx code 7558 modules/imgproc/src/color.cpp code == CV_BGR5652BGR || code == CV_BGR5652RGB || code 7559 modules/imgproc/src/color.cpp code == CV_BGR5652BGRA || code == CV_BGR5652RGBA ? 6 : 5 // green bits code 7571 modules/imgproc/src/color.cpp if( code == CV_BGR2GRAY && depth == CV_32F ) code 7580 modules/imgproc/src/color.cpp else if( code == CV_RGB2GRAY && depth == CV_32F ) code 7589 modules/imgproc/src/color.cpp else if( code == CV_BGRA2GRAY && depth == CV_32F ) code 7598 modules/imgproc/src/color.cpp else if( code == CV_RGBA2GRAY && depth == CV_32F ) code 7610 modules/imgproc/src/color.cpp bidx = code == CV_BGR2GRAY || code == CV_BGRA2GRAY ? 0 : 2; code 7631 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB5x52Gray(code == CV_BGR5652GRAY ? 6 : 5)); code 7635 modules/imgproc/src/color.cpp if( dcn <= 0 ) dcn = (code==CV_GRAY2BGRA) ? 4 : 3; code 7643 modules/imgproc/src/color.cpp if( code == CV_GRAY2BGR ) code 7652 modules/imgproc/src/color.cpp else if( code == CV_GRAY2BGRA ) code 7684 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Gray2RGB5x5(code == CV_GRAY2BGR565 ? 6 : 5)); code 7691 modules/imgproc/src/color.cpp bidx = code == CV_BGR2YCrCb || code == CV_BGR2YUV ? 0 : 2; code 7694 modules/imgproc/src/color.cpp const float* coeffs_f = code == CV_BGR2YCrCb || code == CV_RGB2YCrCb ? 0 : yuv_f; code 7695 modules/imgproc/src/color.cpp const int* coeffs_i = code == CV_BGR2YCrCb || code == CV_RGB2YCrCb ? 0 : yuv_i; code 7703 modules/imgproc/src/color.cpp if (code == CV_RGB2YUV && scn == 3 && depth == CV_8U) code 7712 modules/imgproc/src/color.cpp else if (code == CV_BGR2YUV && scn == 3 && depth == CV_8U) code 7722 modules/imgproc/src/color.cpp else if (code == CV_RGB2YUV && scn == 4 && depth == CV_8U) code 7732 modules/imgproc/src/color.cpp else if (code == CV_BGR2YUV && scn == 4 && depth == CV_8U) code 7748 modules/imgproc/src/color.cpp if((code == CV_RGB2YCrCb || code == CV_BGR2YCrCb) && tegra::useTegra() && tegra::cvtRGB2YCrCb(src, dst, bidx)) code 7765 modules/imgproc/src/color.cpp bidx = code == CV_YCrCb2BGR || code == CV_YUV2BGR ? 0 : 2; code 7768 modules/imgproc/src/color.cpp const float* coeffs_f = code == CV_YCrCb2BGR || code == CV_YCrCb2RGB ? 0 : yuv_f; code 7769 modules/imgproc/src/color.cpp const int* coeffs_i = code == CV_YCrCb2BGR || code == CV_YCrCb2RGB ? 0 : yuv_i; code 7777 modules/imgproc/src/color.cpp if (code == CV_YUV2RGB && dcn == 3 && depth == CV_8U) code 7786 modules/imgproc/src/color.cpp else if (code == CV_YUV2BGR && dcn == 3 && depth == CV_8U) code 7796 modules/imgproc/src/color.cpp else if (code == CV_YUV2RGB && dcn == 4 && depth == CV_8U) code 7806 modules/imgproc/src/color.cpp else if (code == CV_YUV2BGR && dcn == 4 && depth == CV_8U) code 7830 modules/imgproc/src/color.cpp bidx = code == CV_BGR2XYZ ? 0 : 2; code 7838 modules/imgproc/src/color.cpp if( code == CV_BGR2XYZ && scn == 3 && depth != CV_32F ) code 7847 modules/imgproc/src/color.cpp else if( code == CV_BGR2XYZ && scn == 4 && depth != CV_32F ) code 7856 modules/imgproc/src/color.cpp else if( code == CV_RGB2XYZ && scn == 3 && depth != CV_32F ) code 7865 modules/imgproc/src/color.cpp else if( code == CV_RGB2XYZ && scn == 4 && depth != CV_32F ) code 7888 modules/imgproc/src/color.cpp bidx = code == CV_XYZ2BGR ? 0 : 2; code 7896 modules/imgproc/src/color.cpp if( code == CV_XYZ2BGR && dcn == 3 && depth != CV_32F ) code 7905 modules/imgproc/src/color.cpp else if( code == CV_XYZ2BGR && dcn == 4 && depth != CV_32F ) code 7914 modules/imgproc/src/color.cpp if( code == CV_XYZ2RGB && dcn == 3 && depth != CV_32F ) code 7923 modules/imgproc/src/color.cpp else if( code == CV_XYZ2RGB && dcn == 4 && depth != CV_32F ) code 7947 modules/imgproc/src/color.cpp bidx = code == CV_BGR2HSV || code == CV_BGR2HLS || code 7948 modules/imgproc/src/color.cpp code == CV_BGR2HSV_FULL || code == CV_BGR2HLS_FULL ? 0 : 2; code 7949 modules/imgproc/src/color.cpp int hrange = depth == CV_32F ? 360 : code == CV_BGR2HSV || code == CV_RGB2HSV || code 7950 modules/imgproc/src/color.cpp code == CV_BGR2HLS || code == CV_RGB2HLS ? 180 : 256; code 7961 modules/imgproc/src/color.cpp if( code == CV_BGR2HSV_FULL && scn == 3 ) code 7970 modules/imgproc/src/color.cpp else if( code == CV_BGR2HSV_FULL && scn == 4 ) code 7979 modules/imgproc/src/color.cpp else if( code == CV_RGB2HSV_FULL && scn == 4 ) code 7989 modules/imgproc/src/color.cpp if( code == CV_RGB2HSV_FULL && scn == 3 && depth == CV_16U ) code 7998 modules/imgproc/src/color.cpp else if( code == CV_BGR2HLS_FULL && scn == 3 ) code 8007 modules/imgproc/src/color.cpp else if( code == CV_BGR2HLS_FULL && scn == 4 ) code 8016 modules/imgproc/src/color.cpp else if( code == CV_RGB2HLS_FULL && scn == 3 ) code 8025 modules/imgproc/src/color.cpp else if( code == CV_RGB2HLS_FULL && scn == 4 ) code 8038 modules/imgproc/src/color.cpp if( code == CV_BGR2HSV || code == CV_RGB2HSV || code 8039 modules/imgproc/src/color.cpp code == CV_BGR2HSV_FULL || code == CV_RGB2HSV_FULL ) code 8065 modules/imgproc/src/color.cpp bidx = code == CV_HSV2BGR || code == CV_HLS2BGR || code 8066 modules/imgproc/src/color.cpp code == CV_HSV2BGR_FULL || code == CV_HLS2BGR_FULL ? 0 : 2; code 8067 modules/imgproc/src/color.cpp int hrange = depth == CV_32F ? 360 : code == CV_HSV2BGR || code == CV_HSV2RGB || code 8068 modules/imgproc/src/color.cpp code == CV_HLS2BGR || code == CV_HLS2RGB ? 180 : 255; code 8078 modules/imgproc/src/color.cpp if( code == CV_HSV2BGR_FULL && dcn == 3 ) code 8087 modules/imgproc/src/color.cpp else if( code == CV_HSV2BGR_FULL && dcn == 4 ) code 8096 modules/imgproc/src/color.cpp else if( code == CV_HSV2RGB_FULL && dcn == 3 ) code 8105 modules/imgproc/src/color.cpp else if( code == CV_HSV2RGB_FULL && dcn == 4 ) code 8114 modules/imgproc/src/color.cpp else if( code == CV_HLS2BGR_FULL && dcn == 3 ) code 8123 modules/imgproc/src/color.cpp else if( code == CV_HLS2BGR_FULL && dcn == 4 ) code 8132 modules/imgproc/src/color.cpp else if( code == CV_HLS2RGB_FULL && dcn == 3 ) code 8141 modules/imgproc/src/color.cpp else if( code == CV_HLS2RGB_FULL && dcn == 4 ) code 8154 modules/imgproc/src/color.cpp if( code == CV_HSV2BGR || code == CV_HSV2RGB || code 8155 modules/imgproc/src/color.cpp code == CV_HSV2BGR_FULL || code == CV_HSV2RGB_FULL ) code 8176 modules/imgproc/src/color.cpp bidx = code == CV_BGR2Lab || code == CV_BGR2Luv || code 8177 modules/imgproc/src/color.cpp code == CV_LBGR2Lab || code == CV_LBGR2Luv ? 0 : 2; code 8178 modules/imgproc/src/color.cpp bool srgb = code == CV_BGR2Lab || code == CV_RGB2Lab || code 8179 modules/imgproc/src/color.cpp code == CV_BGR2Luv || code == CV_RGB2Luv; code 8187 modules/imgproc/src/color.cpp if (code == CV_LBGR2Lab && scn == 3 && depth == CV_8U) code 8196 modules/imgproc/src/color.cpp else if (code == CV_LBGR2Lab && scn == 4 && depth == CV_8U) code 8207 modules/imgproc/src/color.cpp if (code == CV_LRGB2Lab && scn == 3 && depth == CV_8U) // slower than OpenCV code 8217 modules/imgproc/src/color.cpp else if (code == CV_LRGB2Lab && scn == 4 && depth == CV_8U) // slower than OpenCV code 8227 modules/imgproc/src/color.cpp else if (code == CV_LRGB2Luv && scn == 3) code 8236 modules/imgproc/src/color.cpp else if (code == CV_LRGB2Luv && scn == 4) code 8246 modules/imgproc/src/color.cpp else if (code == CV_LBGR2Luv && scn == 3) code 8256 modules/imgproc/src/color.cpp else if (code == CV_LBGR2Luv && scn == 4) code 8269 modules/imgproc/src/color.cpp if( code == CV_BGR2Lab || code == CV_RGB2Lab || code 8270 modules/imgproc/src/color.cpp code == CV_LBGR2Lab || code == CV_LRGB2Lab ) code 8292 modules/imgproc/src/color.cpp bidx = code == CV_Lab2BGR || code == CV_Luv2BGR || code 8293 modules/imgproc/src/color.cpp code == CV_Lab2LBGR || code == CV_Luv2LBGR ? 0 : 2; code 8294 modules/imgproc/src/color.cpp bool srgb = code == CV_Lab2BGR || code == CV_Lab2RGB || code 8295 modules/imgproc/src/color.cpp code == CV_Luv2BGR || code == CV_Luv2RGB; code 8303 modules/imgproc/src/color.cpp if( code == CV_Lab2LBGR && dcn == 3 && depth == CV_8U) code 8312 modules/imgproc/src/color.cpp else if( code == CV_Lab2LBGR && dcn == 4 && depth == CV_8U ) code 8322 modules/imgproc/src/color.cpp if( code == CV_Lab2LRGB && dcn == 3 && depth == CV_8U ) code 8332 modules/imgproc/src/color.cpp else if( code == CV_Lab2LRGB && dcn == 4 && depth == CV_8U ) code 8342 modules/imgproc/src/color.cpp if( code == CV_Luv2LRGB && dcn == 3 ) code 8347 modules/imgproc/src/color.cpp else if( code == CV_Luv2LRGB && dcn == 4 ) code 8356 modules/imgproc/src/color.cpp if( code == CV_Luv2LBGR && dcn == 3 ) code 8365 modules/imgproc/src/color.cpp else if( code == CV_Luv2LBGR && dcn == 4 ) code 8377 modules/imgproc/src/color.cpp if( code == CV_Lab2BGR || code == CV_Lab2RGB || code 8378 modules/imgproc/src/color.cpp code == CV_Lab2LBGR || code == CV_Lab2LRGB ) code 8399 modules/imgproc/src/color.cpp demosaicing(src, _dst, code, dcn); code 8408 modules/imgproc/src/color.cpp if (dcn <= 0) dcn = (code==CV_YUV420sp2BGRA || code==CV_YUV420sp2RGBA || code==CV_YUV2BGRA_NV12 || code==CV_YUV2RGBA_NV12) ? 4 : 3; code 8409 modules/imgproc/src/color.cpp const int bIdx = (code==CV_YUV2BGR_NV21 || code==CV_YUV2BGRA_NV21 || code==CV_YUV2BGR_NV12 || code==CV_YUV2BGRA_NV12) ? 0 : 2; code 8410 modules/imgproc/src/color.cpp const int uIdx = (code==CV_YUV2BGR_NV21 || code==CV_YUV2BGRA_NV21 || code==CV_YUV2RGB_NV21 || code==CV_YUV2RGBA_NV21) ? 1 : 0; code 8443 modules/imgproc/src/color.cpp if (dcn <= 0) dcn = (code==CV_YUV2BGRA_YV12 || code==CV_YUV2RGBA_YV12 || code==CV_YUV2RGBA_IYUV || code==CV_YUV2BGRA_IYUV) ? 4 : 3; code 8444 modules/imgproc/src/color.cpp const int bIdx = (code==CV_YUV2BGR_YV12 || code==CV_YUV2BGRA_YV12 || code==CV_YUV2BGR_IYUV || code==CV_YUV2BGRA_IYUV) ? 0 : 2; code 8445 modules/imgproc/src/color.cpp const int uIdx = (code==CV_YUV2BGR_YV12 || code==CV_YUV2RGB_YV12 || code==CV_YUV2BGRA_YV12 || code==CV_YUV2RGBA_YV12) ? 1 : 0; code 8503 modules/imgproc/src/color.cpp const int bIdx = (code == CV_BGR2YUV_IYUV || code == CV_BGRA2YUV_IYUV || code == CV_BGR2YUV_YV12 || code == CV_BGRA2YUV_YV12) ? 0 : 2; code 8504 modules/imgproc/src/color.cpp const int uIdx = (code == CV_BGR2YUV_IYUV || code == CV_BGRA2YUV_IYUV || code == CV_RGB2YUV_IYUV || code == CV_RGBA2YUV_IYUV) ? 1 : 2; code 8532 modules/imgproc/src/color.cpp if (dcn <= 0) dcn = (code==CV_YUV2RGBA_UYVY || code==CV_YUV2BGRA_UYVY || code==CV_YUV2RGBA_YUY2 || code==CV_YUV2BGRA_YUY2 || code==CV_YUV2RGBA_YVYU || code==CV_YUV2BGRA_YVYU) ? 4 : 3; code 8533 modules/imgproc/src/color.cpp const int bIdx = (code==CV_YUV2BGR_UYVY || code==CV_YUV2BGRA_UYVY || code==CV_YUV2BGR_YUY2 || code==CV_YUV2BGRA_YUY2 || code==CV_YUV2BGR_YVYU || code==CV_YUV2BGRA_YVYU) ? 0 : 2; code 8534 modules/imgproc/src/color.cpp const int ycn = (code==CV_YUV2RGB_UYVY || code==CV_YUV2BGR_UYVY || code==CV_YUV2RGBA_UYVY || code==CV_YUV2BGRA_UYVY) ? 1 : 0; code 8535 modules/imgproc/src/color.cpp const int uIdx = (code==CV_YUV2RGB_YVYU || code==CV_YUV2BGR_YVYU || code==CV_YUV2RGBA_YVYU || code==CV_YUV2BGRA_YVYU) ? 1 : 0; code 8572 modules/imgproc/src/color.cpp extractChannel(_src, _dst, code == CV_YUV2GRAY_UYVY ? 1 : 0); code 8626 modules/imgproc/src/color.cpp cvCvtColor( const CvArr* srcarr, CvArr* dstarr, int code ) code 8631 modules/imgproc/src/color.cpp cv::cvtColor(src, dst, code, dst.channels()); code 80 modules/imgproc/src/contours.cpp int code; code 91 modules/imgproc/src/contours.cpp code = *ptr++; code 100 modules/imgproc/src/contours.cpp reader->code = (schar)code; code 101 modules/imgproc/src/contours.cpp assert( (code & ~7) == 0 ); code 102 modules/imgproc/src/contours.cpp reader->pt.x = pt.x + icvCodeDeltas[code].x; code 103 modules/imgproc/src/contours.cpp reader->pt.y = pt.y + icvCodeDeltas[code].y; code 610 modules/imgproc/src/demosaicing.cpp static void Bayer2Gray_( const Mat& srcmat, Mat& dstmat, int code ) code 617 modules/imgproc/src/demosaicing.cpp int start_with_green = code == CV_BayerGB2GRAY || code == CV_BayerGR2GRAY; code 620 modules/imgproc/src/demosaicing.cpp if( code != CV_BayerBG2GRAY && code != CV_BayerGB2GRAY ) code 878 modules/imgproc/src/demosaicing.cpp static void Bayer2RGB_( const Mat& srcmat, Mat& dstmat, int code ) code 882 modules/imgproc/src/demosaicing.cpp int blue = code == CV_BayerBG2BGR || code == CV_BayerGB2BGR ? -1 : 1; code 883 modules/imgproc/src/demosaicing.cpp int start_with_green = code == CV_BayerGB2BGR || code == CV_BayerGR2BGR; code 913 modules/imgproc/src/demosaicing.cpp static void Bayer2RGB_VNG_8u( const Mat& srcmat, Mat& dstmat, int code ) code 921 modules/imgproc/src/demosaicing.cpp int blueIdx = code == CV_BayerBG2BGR_VNG || code == CV_BayerGB2BGR_VNG ? 0 : 2; code 922 modules/imgproc/src/demosaicing.cpp bool greenCell0 = code != CV_BayerBG2BGR_VNG && code != CV_BayerRG2BGR_VNG; code 927 modules/imgproc/src/demosaicing.cpp Bayer2RGB_<uchar, SIMDBayerInterpolator_8u>( srcmat, dstmat, code ); code 1568 modules/imgproc/src/demosaicing.cpp static void Bayer2RGB_EdgeAware_T(const Mat& src, Mat& dst, int code) code 1582 modules/imgproc/src/demosaicing.cpp int start_with_green = code == CV_BayerGB2BGR_EA || code == CV_BayerGR2BGR_EA ? 1 : 0; code 1583 modules/imgproc/src/demosaicing.cpp int blue = code == CV_BayerGB2BGR_EA || code == CV_BayerBG2BGR_EA ? 1 : 0; code 1616 modules/imgproc/src/demosaicing.cpp void cv::demosaicing(InputArray _src, OutputArray _dst, int code, int dcn) code 1625 modules/imgproc/src/demosaicing.cpp switch (code) code 1636 modules/imgproc/src/demosaicing.cpp Bayer2Gray_<uchar, SIMDBayerInterpolator_8u>(src, dst, code); code 1638 modules/imgproc/src/demosaicing.cpp Bayer2Gray_<ushort, SIMDBayerStubInterpolator_<ushort> >(src, dst, code); code 1653 modules/imgproc/src/demosaicing.cpp if( code == CV_BayerBG2BGR || code == CV_BayerGB2BGR || code 1654 modules/imgproc/src/demosaicing.cpp code == CV_BayerRG2BGR || code == CV_BayerGR2BGR ) code 1657 modules/imgproc/src/demosaicing.cpp Bayer2RGB_<uchar, SIMDBayerInterpolator_8u>(src, dst_, code); code 1659 modules/imgproc/src/demosaicing.cpp Bayer2RGB_<ushort, SIMDBayerStubInterpolator_<ushort> >(src, dst_, code); code 1666 modules/imgproc/src/demosaicing.cpp Bayer2RGB_VNG_8u(src, dst_, code); code 1680 modules/imgproc/src/demosaicing.cpp Bayer2RGB_EdgeAware_T<uchar, SIMDBayerInterpolator_8u>(src, dst, code); code 1682 modules/imgproc/src/demosaicing.cpp Bayer2RGB_EdgeAware_T<ushort, SIMDBayerStubInterpolator_<ushort> >(src, dst, code); code 2420 modules/imgproc/src/drawing.cpp char code; code 2421 modules/imgproc/src/drawing.cpp CV_READ_SEQ_ELEM( code, reader ); code 2423 modules/imgproc/src/drawing.cpp assert( (code & ~7) == 0 ); code 2425 modules/imgproc/src/drawing.cpp if( code != prev_code ) code 2427 modules/imgproc/src/drawing.cpp prev_code = code; code 2435 modules/imgproc/src/drawing.cpp pt.x += CodeDeltas[(int)code][0]; code 2436 modules/imgproc/src/drawing.cpp pt.y += CodeDeltas[(int)code][1]; code 298 modules/imgproc/src/geometry.cpp char code = 'e'; code 300 modules/imgproc/src/geometry.cpp code = '0'; code 314 modules/imgproc/src/geometry.cpp code = '0'; code 315 modules/imgproc/src/geometry.cpp return code; code 334 modules/imgproc/src/geometry.cpp char code = '?'; // Return char characterizing intersection. code 348 modules/imgproc/src/geometry.cpp if ( (num == 0.0) || (num == denom) ) code = 'v'; code 354 modules/imgproc/src/geometry.cpp if ( (num == 0.0) || (num == denom) ) code = 'v'; code 359 modules/imgproc/src/geometry.cpp code = '1'; code 362 modules/imgproc/src/geometry.cpp code = '0'; code 367 modules/imgproc/src/geometry.cpp return code; code 425 modules/imgproc/src/geometry.cpp int code = segSegInt( P[a1], P[a], Q[b1], Q[b], p, q ); code 426 modules/imgproc/src/geometry.cpp if( code == '1' || code == 'v' ) code 441 modules/imgproc/src/geometry.cpp if( code == 'e' && A.ddot(B) < 0 ) code 92 modules/imgproc/test/ocl/test_color.cpp void performTest(int channelsIn, int channelsOut, int code, double threshold = 1e-3) code 98 modules/imgproc/test/ocl/test_color.cpp OCL_OFF(cv::cvtColor(src_roi, dst_roi, code, channelsOut)); code 99 modules/imgproc/test/ocl/test_color.cpp OCL_ON(cv::cvtColor(usrc_roi, udst_roi, code, channelsOut)); code 285 modules/imgproc/test/test_approxpoly.cpp int code = cvtest::TS::OK; code 331 modules/imgproc/test/test_approxpoly.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 335 modules/imgproc/test/test_approxpoly.cpp code = check( SrcSeq, DstSeq, Eps ); code 336 modules/imgproc/test/test_approxpoly.cpp if( code != 0 ) code 340 modules/imgproc/test/test_approxpoly.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 354 modules/imgproc/test/test_approxpoly.cpp if( code < 0 ) code 355 modules/imgproc/test/test_approxpoly.cpp ts->set_failed_test_info( code ); code 107 modules/imgproc/test/test_canny.cpp int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); code 108 modules/imgproc/test/test_canny.cpp if( code > 0 ) code 114 modules/imgproc/test/test_canny.cpp return code; code 260 modules/imgproc/test/test_canny.cpp int code = cvtest::TS::OK, nz0; code 265 modules/imgproc/test/test_canny.cpp return code; code 271 modules/imgproc/test/test_canny.cpp return code; code 282 modules/imgproc/test/test_canny.cpp return code; code 154 modules/imgproc/test/test_color.cpp int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); code 155 modules/imgproc/test/test_color.cpp if( code > 0 && inplace ) code 157 modules/imgproc/test/test_color.cpp return code; code 1589 modules/imgproc/test/test_color.cpp static void bayer2BGR_(const Mat& src, Mat& dst, int code) code 1595 modules/imgproc/test/test_color.cpp if( code == CV_BayerRG2BGR || code == CV_BayerGR2BGR ) code 1602 modules/imgproc/test/test_color.cpp int save_code = code; code 1613 modules/imgproc/test/test_color.cpp if( !(code & 1) ) code 1625 modules/imgproc/test/test_color.cpp code ^= 1; code 1638 modules/imgproc/test/test_color.cpp code = save_code ^ 1; code 1954 modules/imgproc/test/test_color.cpp static void test_Bayer2RGB_EdgeAware_8u(const Mat& src, Mat& dst, int code) code 1969 modules/imgproc/test/test_color.cpp int start_with_green = code == CV_BayerGB2BGR_EA || code == CV_BayerGR2BGR_EA ? 1 : 0; code 1970 modules/imgproc/test/test_color.cpp int blue = code == CV_BayerGB2BGR_EA || code == CV_BayerBG2BGR_EA ? 1 : 0; code 2153 modules/imgproc/test/test_color.cpp for (int code = CV_BayerBG2BGR; code <= CV_BayerGR2BGR; ++code) code 2155 modules/imgproc/test/test_color.cpp cvtColor(raw, rgb, code); code 2159 modules/imgproc/test/test_color.cpp cvtColor(raw, actual, code, 4); code 118 modules/imgproc/test/test_contours.cpp int code = cvtest::BaseTest::read_params( fs ); code 120 modules/imgproc/test/test_contours.cpp if( code < 0 ) code 121 modules/imgproc/test/test_contours.cpp return code; code 209 modules/imgproc/test/test_contours.cpp int i, code = cvtest::BaseTest::prepare_test_case( test_case_idx ); code 211 modules/imgproc/test/test_contours.cpp if( code < 0 ) code 212 modules/imgproc/test/test_contours.cpp return code; code 270 modules/imgproc/test/test_contours.cpp int code = cvtest::TS::OK; code 280 modules/imgproc/test/test_contours.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 289 modules/imgproc/test/test_contours.cpp code = cvtest::cmpEps2(ts, _img[0], _img[3], 0, true, "Comparing original image with the map of filled contours" ); code 291 modules/imgproc/test/test_contours.cpp if( code < 0 ) code 294 modules/imgproc/test/test_contours.cpp code = cvtest::cmpEps2( ts, _img[1], _img[2], 0, true, code 297 modules/imgproc/test/test_contours.cpp if( code < 0 ) code 321 modules/imgproc/test/test_contours.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 341 modules/imgproc/test/test_contours.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 353 modules/imgproc/test/test_contours.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 370 modules/imgproc/test/test_contours.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 378 modules/imgproc/test/test_contours.cpp if( code < 0 ) code 385 modules/imgproc/test/test_contours.cpp ts->set_failed_test_info( code ); code 388 modules/imgproc/test/test_contours.cpp return code; code 253 modules/imgproc/test/test_convhull.cpp int code = cvtest::BaseTest::read_params( fs ); code 254 modules/imgproc/test/test_convhull.cpp if( code < 0 ) code 255 modules/imgproc/test/test_convhull.cpp return code; code 466 modules/imgproc/test/test_convhull.cpp int code = CV_BaseShapeDescrTest::prepare_test_case( test_case_idx ); code 470 modules/imgproc/test/test_convhull.cpp if( code <= 0 ) code 471 modules/imgproc/test/test_convhull.cpp return code; code 498 modules/imgproc/test/test_convhull.cpp return code; code 542 modules/imgproc/test/test_convhull.cpp int code = CV_BaseShapeDescrTest::validate_test_results( test_case_idx ); code 602 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 623 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 640 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 651 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 659 modules/imgproc/test/test_convhull.cpp if( code < 0 ) code 660 modules/imgproc/test/test_convhull.cpp ts->set_failed_test_info( code ); code 661 modules/imgproc/test/test_convhull.cpp return code; code 707 modules/imgproc/test/test_convhull.cpp int code = CV_BaseShapeDescrTest::validate_test_results( test_case_idx ); code 727 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 760 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 778 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 784 modules/imgproc/test/test_convhull.cpp if( code < 0 ) code 785 modules/imgproc/test/test_convhull.cpp ts->set_failed_test_info( code ); code 786 modules/imgproc/test/test_convhull.cpp return code; code 840 modules/imgproc/test/test_convhull.cpp int code = CV_BaseShapeDescrTest::validate_test_results( test_case_idx ); code 906 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 912 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 918 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 922 modules/imgproc/test/test_convhull.cpp if ( code < 0 ) code 923 modules/imgproc/test/test_convhull.cpp ts->set_failed_test_info( code ); code 925 modules/imgproc/test/test_convhull.cpp return code; code 968 modules/imgproc/test/test_convhull.cpp int code = CV_BaseShapeDescrTest::validate_test_results( test_case_idx ); code 997 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 1009 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 1015 modules/imgproc/test/test_convhull.cpp if( code < 0 ) code 1016 modules/imgproc/test/test_convhull.cpp ts->set_failed_test_info( code ); code 1017 modules/imgproc/test/test_convhull.cpp return code; code 1047 modules/imgproc/test/test_convhull.cpp int code = CV_BaseShapeDescrTest::prepare_test_case( test_case_idx ); code 1051 modules/imgproc/test/test_convhull.cpp if( code < 0 ) code 1052 modules/imgproc/test/test_convhull.cpp return code; code 1090 modules/imgproc/test/test_convhull.cpp int code = CV_BaseShapeDescrTest::validate_test_results( test_case_idx ); code 1115 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 1120 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 1123 modules/imgproc/test/test_convhull.cpp if( code < 0 ) code 1124 modules/imgproc/test/test_convhull.cpp ts->set_failed_test_info( code ); code 1125 modules/imgproc/test/test_convhull.cpp return code; code 1244 modules/imgproc/test/test_convhull.cpp int code = CV_BaseShapeDescrTest::validate_test_results( test_case_idx ); code 1255 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 1274 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 1286 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 1293 modules/imgproc/test/test_convhull.cpp if( code < 0 ) code 1318 modules/imgproc/test/test_convhull.cpp if( code < 0 ) code 1320 modules/imgproc/test/test_convhull.cpp ts->set_failed_test_info( code ); code 1322 modules/imgproc/test/test_convhull.cpp return code; code 1528 modules/imgproc/test/test_convhull.cpp int code = CV_BaseShapeDescrTest::prepare_test_case( test_case_idx ); code 1532 modules/imgproc/test/test_convhull.cpp return code; code 1553 modules/imgproc/test/test_convhull.cpp int code = CV_BaseShapeDescrTest::validate_test_results( test_case_idx ); code 1563 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 1595 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 1616 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 1622 modules/imgproc/test/test_convhull.cpp if( code < 0 ) code 1624 modules/imgproc/test/test_convhull.cpp ts->set_failed_test_info( code ); code 1626 modules/imgproc/test/test_convhull.cpp return code; code 1761 modules/imgproc/test/test_convhull.cpp int code = CV_BaseShapeDescrTest::prepare_test_case( test_case_idx ); code 1762 modules/imgproc/test/test_convhull.cpp return code; code 1783 modules/imgproc/test/test_convhull.cpp int code = CV_BaseShapeDescrTest::validate_test_results( test_case_idx ); code 1809 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 1818 modules/imgproc/test/test_convhull.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 1823 modules/imgproc/test/test_convhull.cpp if( code < 0 ) code 1831 modules/imgproc/test/test_convhull.cpp ts->set_failed_test_info( code ); code 1835 modules/imgproc/test/test_convhull.cpp return code; code 30 modules/imgproc/test/test_cvtyuv.cpp static YUVreader* getReader(int code); code 40 modules/imgproc/test/test_cvtyuv.cpp static RGBreader* getReader(int code); code 51 modules/imgproc/test/test_cvtyuv.cpp static RGBwriter* getWriter(int code); code 66 modules/imgproc/test/test_cvtyuv.cpp static GRAYwriter* getWriter(int code); code 81 modules/imgproc/test/test_cvtyuv.cpp static YUVwriter* getWriter(int code); code 361 modules/imgproc/test/test_cvtyuv.cpp YUVreader* YUVreader::getReader(int code) code 363 modules/imgproc/test/test_cvtyuv.cpp switch(code) code 419 modules/imgproc/test/test_cvtyuv.cpp RGBreader* RGBreader::getReader(int code) code 421 modules/imgproc/test/test_cvtyuv.cpp switch(code) code 440 modules/imgproc/test/test_cvtyuv.cpp RGBwriter* RGBwriter::getWriter(int code) code 442 modules/imgproc/test/test_cvtyuv.cpp switch(code) code 487 modules/imgproc/test/test_cvtyuv.cpp GRAYwriter* GRAYwriter::getWriter(int code) code 489 modules/imgproc/test/test_cvtyuv.cpp switch(code) code 500 modules/imgproc/test/test_cvtyuv.cpp YUVwriter* YUVwriter::getWriter(int code) code 502 modules/imgproc/test/test_cvtyuv.cpp switch(code) code 551 modules/imgproc/test/test_cvtyuv.cpp ConversionYUV( const int code ) code 553 modules/imgproc/test/test_cvtyuv.cpp yuvReader_ = YUVreader :: getReader(code); code 554 modules/imgproc/test/test_cvtyuv.cpp yuvWriter_ = YUVwriter :: getWriter(code); code 555 modules/imgproc/test/test_cvtyuv.cpp rgbReader_ = RGBreader :: getReader(code); code 556 modules/imgproc/test/test_cvtyuv.cpp rgbWriter_ = RGBwriter :: getWriter(code); code 557 modules/imgproc/test/test_cvtyuv.cpp grayWriter_ = GRAYwriter:: getWriter(code); code 612 modules/imgproc/test/test_cvtyuv.cpp int code = GetParam(); code 615 modules/imgproc/test/test_cvtyuv.cpp ConversionYUV cvt(code); code 642 modules/imgproc/test/test_cvtyuv.cpp cv::cvtColor(src, dst, code, -1); code 650 modules/imgproc/test/test_cvtyuv.cpp int code = GetParam(); code 653 modules/imgproc/test/test_cvtyuv.cpp ConversionYUV cvt(code); code 689 modules/imgproc/test/test_cvtyuv.cpp cv::cvtColor(src, dst, code, -1); code 129 modules/imgproc/test/test_distancetransform.cpp int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); code 130 modules/imgproc/test/test_distancetransform.cpp if( code > 0 ) code 141 modules/imgproc/test/test_distancetransform.cpp return code; code 64 modules/imgproc/test/test_emd.cpp int code = cvtest::TS::OK; code 86 modules/imgproc/test/test_emd.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 89 modules/imgproc/test/test_emd.cpp if( code < 0 ) code 90 modules/imgproc/test/test_emd.cpp ts->set_failed_test_info( code ); code 82 modules/imgproc/test/test_filter.cpp int code = cvtest::ArrayTest::read_params( fs ); code 83 modules/imgproc/test/test_filter.cpp if( code < 0 ) code 84 modules/imgproc/test/test_filter.cpp return code; code 89 modules/imgproc/test/test_filter.cpp return code; code 155 modules/imgproc/test/test_filter.cpp int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); code 156 modules/imgproc/test/test_filter.cpp if( code > 0 ) code 163 modules/imgproc/test/test_filter.cpp return code; code 222 modules/imgproc/test/test_filter.cpp int code = CV_FilterBaseTest::prepare_test_case( test_case_idx ); code 225 modules/imgproc/test/test_filter.cpp if( code <= 0 ) code 226 modules/imgproc/test/test_filter.cpp return code; code 251 modules/imgproc/test/test_filter.cpp return code; code 603 modules/imgproc/test/test_filter.cpp int code = CV_DerivBaseTest::prepare_test_case( test_case_idx ); code 604 modules/imgproc/test/test_filter.cpp return _aperture_size < 0 ? 0 : code; code 709 modules/imgproc/test/test_filter.cpp int code = CV_SmoothBaseTest::prepare_test_case( test_case_idx ); code 710 modules/imgproc/test/test_filter.cpp return code > 0 && !normalize && test_mat[INPUT][0].channels() > 1 ? 0 : code; code 1233 modules/imgproc/test/test_filter.cpp int code = cvtest::BaseTest::read_params( fs ); code 1234 modules/imgproc/test/test_filter.cpp if( code < 0 ) code 1235 modules/imgproc/test/test_filter.cpp return code; code 1242 modules/imgproc/test/test_filter.cpp return code; code 1504 modules/imgproc/test/test_filter.cpp int code = CV_FeatureSelBaseTest::prepare_test_case( test_case_idx ); code 1507 modules/imgproc/test/test_filter.cpp return code; code 1647 modules/imgproc/test/test_filter.cpp int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); code 1648 modules/imgproc/test/test_filter.cpp return code > 0 && ((test_array[OUTPUT][2] && test_mat[OUTPUT][2].channels() > 1) || code 1649 modules/imgproc/test/test_filter.cpp test_mat[OUTPUT][0].depth() < test_mat[INPUT][0].depth()) ? 0 : code; code 121 modules/imgproc/test/test_histograms.cpp int code = cvtest::BaseTest::read_params( fs ); code 122 modules/imgproc/test/test_histograms.cpp if( code < 0 ) code 123 modules/imgproc/test/test_histograms.cpp return code; code 367 modules/imgproc/test/test_histograms.cpp int code = CV_BaseHistTest::prepare_test_case( test_case_idx ); code 369 modules/imgproc/test/test_histograms.cpp if( code > 0 ) code 429 modules/imgproc/test/test_histograms.cpp return code; code 540 modules/imgproc/test/test_histograms.cpp int code = cvtest::TS::OK; code 550 modules/imgproc/test/test_histograms.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 555 modules/imgproc/test/test_histograms.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 558 modules/imgproc/test/test_histograms.cpp if( code < 0 ) code 568 modules/imgproc/test/test_histograms.cpp if( code < 0 ) code 569 modules/imgproc/test/test_histograms.cpp ts->set_failed_test_info( code ); code 570 modules/imgproc/test/test_histograms.cpp return code; code 647 modules/imgproc/test/test_histograms.cpp int code = cvtest::TS::OK; code 654 modules/imgproc/test/test_histograms.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 662 modules/imgproc/test/test_histograms.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 675 modules/imgproc/test/test_histograms.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 680 modules/imgproc/test/test_histograms.cpp if( code < 0 ) code 681 modules/imgproc/test/test_histograms.cpp ts->set_failed_test_info( code ); code 682 modules/imgproc/test/test_histograms.cpp return code; code 712 modules/imgproc/test/test_histograms.cpp int code = CV_BaseHistTest::prepare_test_case( test_case_idx ); code 714 modules/imgproc/test/test_histograms.cpp if( code > 0 ) code 723 modules/imgproc/test/test_histograms.cpp return code; code 744 modules/imgproc/test/test_histograms.cpp int code = cvtest::TS::OK; code 772 modules/imgproc/test/test_histograms.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 778 modules/imgproc/test/test_histograms.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 781 modules/imgproc/test/test_histograms.cpp if( code < 0 ) code 782 modules/imgproc/test/test_histograms.cpp ts->set_failed_test_info( code ); code 783 modules/imgproc/test/test_histograms.cpp return code; code 834 modules/imgproc/test/test_histograms.cpp int code = CV_BaseHistTest::prepare_test_case( test_case_idx ); code 836 modules/imgproc/test/test_histograms.cpp if( code > 0 ) code 877 modules/imgproc/test/test_histograms.cpp return code; code 889 modules/imgproc/test/test_histograms.cpp int code = cvtest::TS::OK; code 900 modules/imgproc/test/test_histograms.cpp if( code > 0 ) code 918 modules/imgproc/test/test_histograms.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 924 modules/imgproc/test/test_histograms.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 930 modules/imgproc/test/test_histograms.cpp if( code > 0 && hist_type == CV_HIST_SPARSE ) code 936 modules/imgproc/test/test_histograms.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 940 modules/imgproc/test/test_histograms.cpp if( code < 0 ) code 941 modules/imgproc/test/test_histograms.cpp ts->set_failed_test_info( code ); code 942 modules/imgproc/test/test_histograms.cpp return code; code 972 modules/imgproc/test/test_histograms.cpp int code = CV_BaseHistTest::prepare_test_case( test_case_idx ); code 974 modules/imgproc/test/test_histograms.cpp return code; code 997 modules/imgproc/test/test_histograms.cpp int code = cvtest::TS::OK; code 1100 modules/imgproc/test/test_histograms.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 1107 modules/imgproc/test/test_histograms.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 1112 modules/imgproc/test/test_histograms.cpp if( code < 0 ) code 1113 modules/imgproc/test/test_histograms.cpp ts->set_failed_test_info( code ); code 1114 modules/imgproc/test/test_histograms.cpp return code; code 1172 modules/imgproc/test/test_histograms.cpp int code = CV_BaseHistTest::prepare_test_case( test_case_idx ); code 1174 modules/imgproc/test/test_histograms.cpp if( code > 0 ) code 1203 modules/imgproc/test/test_histograms.cpp return code; code 1308 modules/imgproc/test/test_histograms.cpp int code = cvtest::TS::OK; code 1315 modules/imgproc/test/test_histograms.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 1319 modules/imgproc/test/test_histograms.cpp if( code < 0 ) code 1320 modules/imgproc/test/test_histograms.cpp ts->set_failed_test_info( code ); code 1321 modules/imgproc/test/test_histograms.cpp return code; code 1383 modules/imgproc/test/test_histograms.cpp int code = CV_BaseHistTest::prepare_test_case( test_case_idx ); code 1385 modules/imgproc/test/test_histograms.cpp if( code > 0 ) code 1436 modules/imgproc/test/test_histograms.cpp return code; code 1534 modules/imgproc/test/test_histograms.cpp int code = cvtest::TS::OK; code 1539 modules/imgproc/test/test_histograms.cpp code = cvtest::cmpEps2( ts, a, b, threshold, true, "Back project image" ); code 1541 modules/imgproc/test/test_histograms.cpp if( code < 0 ) code 1542 modules/imgproc/test/test_histograms.cpp ts->set_failed_test_info( code ); code 1544 modules/imgproc/test/test_histograms.cpp return code; code 1607 modules/imgproc/test/test_histograms.cpp int code = CV_BaseHistTest::prepare_test_case( test_case_idx ); code 1609 modules/imgproc/test/test_histograms.cpp if( code > 0 ) code 1664 modules/imgproc/test/test_histograms.cpp return code; code 1726 modules/imgproc/test/test_histograms.cpp int code = cvtest::TS::OK; code 1733 modules/imgproc/test/test_histograms.cpp code = cvtest::cmpEps2( ts, a, b, err_level, true, "BackProjectPatch result" ); code 1735 modules/imgproc/test/test_histograms.cpp if( code < 0 ) code 1736 modules/imgproc/test/test_histograms.cpp ts->set_failed_test_info( code ); code 1738 modules/imgproc/test/test_histograms.cpp return code; code 1787 modules/imgproc/test/test_histograms.cpp int code = CV_BaseHistTest::prepare_test_case( test_case_idx ); code 1789 modules/imgproc/test/test_histograms.cpp return code; code 1801 modules/imgproc/test/test_histograms.cpp int code = cvtest::TS::OK; code 1827 modules/imgproc/test/test_histograms.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 1835 modules/imgproc/test/test_histograms.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 1843 modules/imgproc/test/test_histograms.cpp if( code < 0 ) code 1844 modules/imgproc/test/test_histograms.cpp ts->set_failed_test_info( code ); code 1845 modules/imgproc/test/test_histograms.cpp return code; code 82 modules/imgproc/test/test_imgwarp.cpp int code = cvtest::ArrayTest::read_params( fs ); code 83 modules/imgproc/test/test_imgwarp.cpp return code; code 124 modules/imgproc/test/test_imgwarp.cpp int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); code 132 modules/imgproc/test/test_imgwarp.cpp if( code <= 0 ) code 133 modules/imgproc/test/test_imgwarp.cpp return code; code 198 modules/imgproc/test/test_imgwarp.cpp return code; code 509 modules/imgproc/test/test_imgwarp.cpp int code = CV_ImgWarpBaseTest::prepare_test_case( test_case_idx ); code 516 modules/imgproc/test/test_imgwarp.cpp if( code <= 0 ) code 517 modules/imgproc/test/test_imgwarp.cpp return code; code 532 modules/imgproc/test/test_imgwarp.cpp return code; code 620 modules/imgproc/test/test_imgwarp.cpp int code = CV_ImgWarpBaseTest::prepare_test_case( test_case_idx ); code 627 modules/imgproc/test/test_imgwarp.cpp if( code <= 0 ) code 628 modules/imgproc/test/test_imgwarp.cpp return code; code 653 modules/imgproc/test/test_imgwarp.cpp return code; code 754 modules/imgproc/test/test_imgwarp.cpp int code = CV_ImgWarpBaseTest::prepare_test_case( test_case_idx ); code 761 modules/imgproc/test/test_imgwarp.cpp if( code <= 0 ) code 762 modules/imgproc/test/test_imgwarp.cpp return code; code 777 modules/imgproc/test/test_imgwarp.cpp return code; code 887 modules/imgproc/test/test_imgwarp.cpp int code = CV_ImgWarpBaseTest::prepare_test_case( test_case_idx ); code 901 modules/imgproc/test/test_imgwarp.cpp if( code <= 0 ) code 902 modules/imgproc/test/test_imgwarp.cpp return code; code 944 modules/imgproc/test/test_imgwarp.cpp return code; code 1046 modules/imgproc/test/test_imgwarp.cpp int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); code 1054 modules/imgproc/test/test_imgwarp.cpp if( code <= 0 ) code 1055 modules/imgproc/test/test_imgwarp.cpp return code; code 1078 modules/imgproc/test/test_imgwarp.cpp return code; code 1320 modules/imgproc/test/test_imgwarp.cpp int code = CV_ImgWarpBaseTest::prepare_test_case( test_case_idx ); code 1326 modules/imgproc/test/test_imgwarp.cpp if( code <= 0 ) code 1327 modules/imgproc/test/test_imgwarp.cpp return code; code 1347 modules/imgproc/test/test_imgwarp.cpp return code; code 48 modules/imgproc/test/test_moments.cpp #define OCL_TUNING_MODE_ONLY(code) code code 50 modules/imgproc/test/test_moments.cpp #define OCL_TUNING_MODE_ONLY(code) code 158 modules/imgproc/test/test_moments.cpp int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); code 159 modules/imgproc/test/test_moments.cpp if( code > 0 ) code 166 modules/imgproc/test/test_moments.cpp return code; code 383 modules/imgproc/test/test_moments.cpp int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); code 384 modules/imgproc/test/test_moments.cpp if( code > 0 ) code 389 modules/imgproc/test/test_moments.cpp return code; code 81 modules/imgproc/test/test_templmatch.cpp int code = cvtest::ArrayTest::read_params( fs ); code 82 modules/imgproc/test/test_templmatch.cpp if( code < 0 ) code 83 modules/imgproc/test/test_templmatch.cpp return code; code 88 modules/imgproc/test/test_templmatch.cpp return code; code 240 modules/ml/test/test_emknearestkmeans.cpp int code = cvtest::TS::OK; code 248 modules/ml/test/test_emknearestkmeans.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 253 modules/ml/test/test_emknearestkmeans.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 261 modules/ml/test/test_emknearestkmeans.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 266 modules/ml/test/test_emknearestkmeans.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 278 modules/ml/test/test_emknearestkmeans.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 283 modules/ml/test/test_emknearestkmeans.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 286 modules/ml/test/test_emknearestkmeans.cpp ts->set_failed_test_info( code ); code 314 modules/ml/test/test_emknearestkmeans.cpp int code = cvtest::TS::OK; code 324 modules/ml/test/test_emknearestkmeans.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 329 modules/ml/test/test_emknearestkmeans.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 340 modules/ml/test/test_emknearestkmeans.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 345 modules/ml/test/test_emknearestkmeans.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 348 modules/ml/test/test_emknearestkmeans.cpp ts->set_failed_test_info( code ); code 393 modules/ml/test/test_emknearestkmeans.cpp int code = cvtest::TS::OK; code 415 modules/ml/test/test_emknearestkmeans.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 420 modules/ml/test/test_emknearestkmeans.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 434 modules/ml/test/test_emknearestkmeans.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 439 modules/ml/test/test_emknearestkmeans.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 442 modules/ml/test/test_emknearestkmeans.cpp return code; code 473 modules/ml/test/test_emknearestkmeans.cpp int code = cvtest::TS::OK; code 479 modules/ml/test/test_emknearestkmeans.cpp code = currCode == cvtest::TS::OK ? code : currCode; code 485 modules/ml/test/test_emknearestkmeans.cpp code = currCode == cvtest::TS::OK ? code : currCode; code 491 modules/ml/test/test_emknearestkmeans.cpp code = currCode == cvtest::TS::OK ? code : currCode; code 497 modules/ml/test/test_emknearestkmeans.cpp code = currCode == cvtest::TS::OK ? code : currCode; code 503 modules/ml/test/test_emknearestkmeans.cpp code = currCode == cvtest::TS::OK ? code : currCode; code 509 modules/ml/test/test_emknearestkmeans.cpp code = currCode == cvtest::TS::OK ? code : currCode; code 515 modules/ml/test/test_emknearestkmeans.cpp code = currCode == cvtest::TS::OK ? code : currCode; code 521 modules/ml/test/test_emknearestkmeans.cpp code = currCode == cvtest::TS::OK ? code : currCode; code 527 modules/ml/test/test_emknearestkmeans.cpp code = currCode == cvtest::TS::OK ? code : currCode; code 530 modules/ml/test/test_emknearestkmeans.cpp ts->set_failed_test_info( code ); code 539 modules/ml/test/test_emknearestkmeans.cpp int code = cvtest::TS::OK; code 596 modules/ml/test/test_emknearestkmeans.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 599 modules/ml/test/test_emknearestkmeans.cpp ts->set_failed_test_info( code ); code 684 modules/ml/test/test_emknearestkmeans.cpp int code = cvtest::TS::OK; code 688 modules/ml/test/test_emknearestkmeans.cpp code = cvtest::TS::FAIL_INVALID_TEST_DATA; code 693 modules/ml/test/test_emknearestkmeans.cpp code = cvtest::TS::FAIL_INVALID_TEST_DATA; code 696 modules/ml/test/test_emknearestkmeans.cpp ts->set_failed_test_info(code); code 80 modules/ml/test/test_gbttest.cpp int code = cvtest::TS::OK; code 146 modules/ml/test/test_gbttest.cpp code = checkPredictError(test_num); code 148 modules/ml/test/test_gbttest.cpp return code; code 200 modules/ml/test/test_gbttest.cpp int code = cvtest::TS::OK; code 215 modules/ml/test/test_gbttest.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 222 modules/ml/test/test_gbttest.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 238 modules/ml/test/test_gbttest.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 241 modules/ml/test/test_gbttest.cpp return code; code 254 modules/ml/test/test_gbttest.cpp int code = cvtest::TS::OK; code 262 modules/ml/test/test_gbttest.cpp code = temp_code; code 270 modules/ml/test/test_gbttest.cpp code = temp_code; code 281 modules/ml/test/test_gbttest.cpp ts->set_failed_test_info( code ); code 148 modules/ml/test/test_lr.cpp int code = cvtest::TS::OK; code 211 modules/ml/test/test_lr.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 216 modules/ml/test/test_lr.cpp ts->set_failed_test_info( code ); code 54 modules/ml/test/test_mltests.cpp int code = cvtest::TS::OK; code 55 modules/ml/test/test_mltests.cpp code = prepare_test_case( testCaseIdx ); code 57 modules/ml/test/test_mltests.cpp if (code == cvtest::TS::OK) code 69 modules/ml/test/test_mltests.cpp code = train( testCaseIdx ); code 89 modules/ml/test/test_mltests.cpp return code; code 254 modules/ml/test/test_mltests2.cpp int code = cvtest::TS::OK; code 261 modules/ml/test/test_mltests2.cpp code = temp_code; code 266 modules/ml/test/test_mltests2.cpp code = cvtest::TS::FAIL_INVALID_TEST_DATA; code 268 modules/ml/test/test_mltests2.cpp ts->set_failed_test_info( code ); code 57 modules/ml/test/test_save_load.cpp int code = cvtest::TS::OK; code 58 modules/ml/test/test_save_load.cpp code = prepare_test_case( testCaseIdx ); code 60 modules/ml/test/test_save_load.cpp if( code == cvtest::TS::OK ) code 63 modules/ml/test/test_save_load.cpp code = train( testCaseIdx ); code 64 modules/ml/test/test_save_load.cpp if( code == cvtest::TS::OK ) code 77 modules/ml/test/test_save_load.cpp return code; code 82 modules/ml/test/test_save_load.cpp int code = cvtest::TS::OK; code 88 modules/ml/test/test_save_load.cpp code = cvtest::TS::FAIL_MISSING_TEST_DATA; code 89 modules/ml/test/test_save_load.cpp if( code >= 0 ) code 98 modules/ml/test/test_save_load.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 100 modules/ml/test/test_save_load.cpp if( code >= 0 ) code 114 modules/ml/test/test_save_load.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 127 modules/ml/test/test_save_load.cpp if( code >= 0 ) code 133 modules/ml/test/test_save_load.cpp if( code >= 0 ) code 143 modules/ml/test/test_save_load.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 148 modules/ml/test/test_save_load.cpp return code; code 188 modules/ml/test/test_save_load.cpp int code = cvtest::TS::OK; code 206 modules/ml/test/test_save_load.cpp code = cvtest::TS::FAIL_INVALID_TEST_DATA; code 220 modules/ml/test/test_save_load.cpp ts->set_failed_test_info(code); code 158 modules/objdetect/test/test_cascadeandhog.cpp int code; code 161 modules/objdetect/test/test_cascadeandhog.cpp code = prepareData( validationFS ); code 166 modules/objdetect/test/test_cascadeandhog.cpp code = prepareData(fs0); code 169 modules/objdetect/test/test_cascadeandhog.cpp if( code < 0 ) code 171 modules/objdetect/test/test_cascadeandhog.cpp ts->set_failed_test_info( code ); code 235 modules/objdetect/test/test_cascadeandhog.cpp code = temp_code; code 250 modules/objdetect/test/test_cascadeandhog.cpp code = cvtest::TS::FAIL_INVALID_TEST_DATA; code 252 modules/objdetect/test/test_cascadeandhog.cpp ts->set_failed_test_info( code ); code 273 modules/objdetect/test/test_cascadeandhog.cpp int code = detectMultiScale( detectorIdx, image, imgObjects ); code 274 modules/objdetect/test/test_cascadeandhog.cpp if( code != cvtest::TS::OK ) code 275 modules/objdetect/test/test_cascadeandhog.cpp return code; code 182 modules/superres/src/input_array_utility.cpp const int code = codes[scn][cn]; code 183 modules/superres/src/input_array_utility.cpp CV_Assert( code >= 0 ); code 189 modules/superres/src/input_array_utility.cpp cuda::cvtColor(src.getGpuMat(), dst.getGpuMatRef(), code, cn); code 196 modules/superres/src/input_array_utility.cpp cv::cvtColor(src, dst, code, cn); code 261 modules/ts/include/opencv2/ts.hpp int code; code 407 modules/ts/include/opencv2/ts.hpp TS::FailureCode get_err_code() { return TS::FailureCode(current_test_info.code); } code 415 modules/ts/include/opencv2/ts.hpp static string str_from_code( const TS::FailureCode code ); code 500 modules/ts/include/opencv2/ts.hpp if( e.code != expected_code ) code 503 modules/ts/include/opencv2/ts.hpp descr, test_case_idx, e.code, expected_code); code 100 modules/ts/include/opencv2/ts/cuda_perf.hpp int code; code 229 modules/ts/src/cuda_perf.cpp *os << str[info.code]; code 80 modules/ts/src/ts.cpp TS::FailureCode code = TS::FAIL_EXCEPTION; code 89 modules/ts/src/ts.cpp code = TS::FAIL_MEMORY_EXCEPTION; code 99 modules/ts/src/ts.cpp code = TS::FAIL_ARITHM_EXCEPTION; code 107 modules/ts/src/ts.cpp code = TS::FAIL_EXCEPTION; code 109 modules/ts/src/ts.cpp throw code; code 124 modules/ts/src/ts.cpp TS::FailureCode code = TS::FAIL_EXCEPTION; code 128 modules/ts/src/ts.cpp code = TS::FAIL_ARITHM_EXCEPTION; code 132 modules/ts/src/ts.cpp code = TS::FAIL_ARITHM_EXCEPTION; code 135 modules/ts/src/ts.cpp code = TS::FAIL_EXCEPTION; code 138 modules/ts/src/ts.cpp longjmp( tsJmpMark, (int)code ); code 226 modules/ts/src/ts.cpp const char* errorStr = cvErrorStr(exc.code); code 261 modules/ts/src/ts.cpp int progress = 0, code; code 270 modules/ts/src/ts.cpp code = prepare_test_case( test_case_idx ); code 271 modules/ts/src/ts.cpp if( code < 0 || ts->get_err_code() < 0 ) code 274 modules/ts/src/ts.cpp if( code == 0 ) code 358 modules/ts/src/ts.cpp if( e.code != expected_code ) code 361 modules/ts/src/ts.cpp descr, test_case_idx, e.code, expected_code); code 401 modules/ts/src/ts.cpp code = 0; code 417 modules/ts/src/ts.cpp string TS::str_from_code( const TS::FailureCode code ) code 419 modules/ts/src/ts.cpp switch( code ) code 498 modules/ts/src/ts.cpp TS::FailureCode code = get_err_code(); code 499 modules/ts/src/ts.cpp if( code >= 0 ) code 515 modules/ts/src/ts.cpp FAIL() << "\n\tfailure reason: " << str_from_code(code) << code 535 modules/ts/src/ts.cpp current_test_info.code = 0; code 544 modules/ts/src/ts.cpp if( current_test_info.code >= 0 ) code 545 modules/ts/src/ts.cpp current_test_info.code = TS::FailureCode(fail_code); code 85 modules/ts/src/ts_arrtest.cpp int code = BaseTest::read_params( fs ); code 86 modules/ts/src/ts_arrtest.cpp if( code < 0 ) code 87 modules/ts/src/ts_arrtest.cpp return code; code 98 modules/ts/src/ts_arrtest.cpp return code; code 135 modules/ts/src/ts_arrtest.cpp int code = 1; code 224 modules/ts/src/ts_arrtest.cpp return code; code 300 modules/ts/src/ts_arrtest.cpp int code; code 306 modules/ts/src/ts_arrtest.cpp code = cmpEps2(ts, test_mat[i0][j], test_mat[i1][j], err_level, element_wise_relative_error, arr_names[i0]); code 308 modules/ts/src/ts_arrtest.cpp if (code == 0) continue; code 327 modules/ts/src/ts_arrtest.cpp ts->set_failed_test_info( code ); code 328 modules/ts/src/ts_arrtest.cpp return code; code 2102 modules/ts/src/ts_func.cpp int code = cmpEps( a, b, &diff, success_err_level, &idx, element_wise_relative_error ); code 2104 modules/ts/src/ts_func.cpp switch( code ) code 2108 modules/ts/src/ts_func.cpp code = TS::FAIL_BAD_ACCURACY; code 2112 modules/ts/src/ts_func.cpp code = TS::FAIL_INVALID_OUTPUT; code 2116 modules/ts/src/ts_func.cpp code = TS::FAIL_INVALID_OUTPUT; code 2122 modules/ts/src/ts_func.cpp if( code < 0 ) code 2139 modules/ts/src/ts_func.cpp return code; code 2924 modules/ts/src/ts_func.cpp int code = cmpEps( m1, m2, &realmaxdiff, maxdiff, &loc0, true); code 2926 modules/ts/src/ts_func.cpp if(code >= 0) code 1699 modules/ts/src/ts_perf.cpp if (e.code == cv::Error::GpuApiCallError) code 95 modules/video/test/test_camshift.cpp int code = cvtest::BaseTest::read_params( fs ); code 96 modules/video/test/test_camshift.cpp if( code < 0 ) code 97 modules/video/test/test_camshift.cpp return code; code 229 modules/video/test/test_camshift.cpp int code = CV_TrackBaseTest::prepare_test_case( test_case_idx ); code 232 modules/video/test/test_camshift.cpp if( code <= 0 ) code 233 modules/video/test/test_camshift.cpp return code; code 259 modules/video/test/test_camshift.cpp return i < 100 ? code : 0; code 271 modules/video/test/test_camshift.cpp int code = cvtest::TS::OK; code 284 modules/video/test/test_camshift.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 295 modules/video/test/test_camshift.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 304 modules/video/test/test_camshift.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 318 modules/video/test/test_camshift.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 333 modules/video/test/test_camshift.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 341 modules/video/test/test_camshift.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 347 modules/video/test/test_camshift.cpp if( code < 0 ) code 362 modules/video/test/test_camshift.cpp ts->set_failed_test_info( code ); code 364 modules/video/test/test_camshift.cpp return code; code 396 modules/video/test/test_camshift.cpp int code = CV_TrackBaseTest::prepare_test_case( test_case_idx ); code 399 modules/video/test/test_camshift.cpp if( code <= 0 ) code 400 modules/video/test/test_camshift.cpp return code; code 426 modules/video/test/test_camshift.cpp return i < 100 ? code : 0; code 438 modules/video/test/test_camshift.cpp int code = cvtest::TS::OK; code 445 modules/video/test/test_camshift.cpp code = cvtest::TS::FAIL_INVALID_OUTPUT; code 457 modules/video/test/test_camshift.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 472 modules/video/test/test_camshift.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 480 modules/video/test/test_camshift.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 486 modules/video/test/test_camshift.cpp if( code < 0 ) code 503 modules/video/test/test_camshift.cpp ts->set_failed_test_info( code ); code 505 modules/video/test/test_camshift.cpp return code; code 62 modules/video/test/test_kalman.cpp int code = cvtest::TS::OK; code 113 modules/video/test/test_kalman.cpp code = cvtest::cmpEps2( ts, _Sample, _state_post, EPSILON, false, "The final estimated state" ); code 119 modules/video/test/test_kalman.cpp if( code < 0 ) code 120 modules/video/test/test_kalman.cpp ts->set_failed_test_info( code ); code 60 modules/video/test/test_optflowpyrlk.cpp int code = cvtest::TS::OK; code 88 modules/video/test/test_optflowpyrlk.cpp code = cvtest::TS::FAIL_MISSING_TEST_DATA; code 98 modules/video/test/test_optflowpyrlk.cpp code = cvtest::TS::FAIL_MISSING_TEST_DATA; code 106 modules/video/test/test_optflowpyrlk.cpp code = cvtest::TS::FAIL_MISSING_TEST_DATA; code 126 modules/video/test/test_optflowpyrlk.cpp code = cvtest::TS::FAIL_MISSING_TEST_DATA; code 138 modules/video/test/test_optflowpyrlk.cpp code = cvtest::TS::FAIL_MISSING_TEST_DATA; code 180 modules/video/test/test_optflowpyrlk.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 190 modules/video/test/test_optflowpyrlk.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 197 modules/video/test/test_optflowpyrlk.cpp code = cvtest::TS::FAIL_BAD_ACCURACY; code 208 modules/video/test/test_optflowpyrlk.cpp if( code < 0 ) code 209 modules/video/test/test_optflowpyrlk.cpp ts->set_failed_test_info( code ); code 544 modules/videoio/src/cap_dc1394.cpp double code = CV_FOURCC('B','G','R',0); code 548 modules/videoio/src/cap_dc1394.cpp code = CV_FOURCC('Y','4','2','2'); code 551 modules/videoio/src/cap_dc1394.cpp code = CV_FOURCC('Y',0,0,0); code 555 modules/videoio/src/cap_dc1394.cpp code = CV_FOURCC('Y','4','1','1'); code 560 modules/videoio/src/cap_dc1394.cpp code = CV_FOURCC('Y','U','V',0); code 564 modules/videoio/src/cap_dc1394.cpp code = CV_FOURCC('Y',0,0,0); code 303 modules/videoio/src/cap_dc1394_v2.cpp int code = 0; code 313 modules/videoio/src/cap_dc1394_v2.cpp code = dc1394_video_set_iso_speed(dcCam, code 363 modules/videoio/src/cap_dc1394_v2.cpp code = dc1394_video_set_mode(dcCam, wantedMode); code 414 modules/videoio/src/cap_dc1394_v2.cpp code = dc1394_video_set_mode(dcCam, bestMode); code 439 modules/videoio/src/cap_dc1394_v2.cpp code = dc1394_video_set_framerate(dcCam, bestFps); code 451 modules/videoio/src/cap_dc1394_v2.cpp code = dc1394_capture_setup(dcCam, nDMABufs, DC1394_CAPTURE_FLAGS_DEFAULT); code 452 modules/videoio/src/cap_dc1394_v2.cpp if (code >= 0) code 469 modules/videoio/src/cap_dc1394_v2.cpp return code >= 0; code 541 modules/videoio/src/cap_dc1394_v2.cpp bool code = false, isColor; code 636 modules/videoio/src/cap_dc1394_v2.cpp code = true; code 648 modules/videoio/src/cap_dc1394_v2.cpp return code; code 311 modules/videoio/src/cap_mjpeg_encoder.cpp int code = src[k] & huff_code_mask; code 313 modules/videoio/src/cap_mjpeg_encoder.cpp table[val - min_val + 2] = (code << 8) | i; code 322 modules/videoio/src/cap_mjpeg_encoder.cpp int i, val_idx, code = 0; code 329 modules/videoio/src/cap_mjpeg_encoder.cpp code <<= 1; code 332 modules/videoio/src/cap_mjpeg_encoder.cpp dst[k + 1] = (src[val_idx + k] << huff_val_shift) | (code + k); code 334 modules/videoio/src/cap_mjpeg_encoder.cpp code += code_count; code 1244 modules/videoio/src/cap_mjpeg_encoder.cpp unsigned currval = 0, code = 0, tempval = 0; code 1260 modules/videoio/src/cap_mjpeg_encoder.cpp code = table[(val) + 2]; \ code 1261 modules/videoio/src/cap_mjpeg_encoder.cpp JPUT_BITS(code >> 8, (int)(code & 255)) code 2042 modules/videoio/src/cap_v4l.cpp unsigned char code; code 2060 modules/videoio/src/cap_v4l.cpp code = (addr[0] << (bitpos & 7)) | (addr[1] >> (8 - (bitpos & 7))); code 2062 modules/videoio/src/cap_v4l.cpp *outp++ = code; code 2065 modules/videoio/src/cap_v4l.cpp code = (addr[0] << (bitpos & 7)) | (addr[1] >> (8 - (bitpos & 7))); code 2067 modules/videoio/src/cap_v4l.cpp *outp++ = code; code 2075 modules/videoio/src/cap_v4l.cpp code = (addr[0] << (bitpos & 7)) | (addr[1] >> (8 - (bitpos & 7))); code 2078 modules/videoio/src/cap_v4l.cpp bitpos += table[code].len; code 2081 modules/videoio/src/cap_v4l.cpp val = table[code].val; code 2082 modules/videoio/src/cap_v4l.cpp if (!table[code].is_abs) { code 430 modules/videoio/test/test_ffmpeg.cpp int code = remove(i->c_str()); code 431 modules/videoio/test/test_ffmpeg.cpp if (code == 1) code 225 modules/viz/include/opencv2/viz/types.hpp KeyboardEvent(Action action, const String& symbol, unsigned char code, int modifiers); code 229 modules/viz/include/opencv2/viz/types.hpp unsigned char code; code 52 modules/viz/src/types.cpp : action(_action), symbol(_symbol), code(_code), modifiers(_modifiers) {} code 38 samples/cpp/kalman.cpp char code = (char)-1; code 92 samples/cpp/kalman.cpp code = (char)waitKey(100); code 94 samples/cpp/kalman.cpp if( code > 0 ) code 97 samples/cpp/kalman.cpp if( code == 27 || code == 'q' || code == 'Q' ) code 575 samples/cpp/select3dobj.cpp int code = select3DBox("View", "Selected Object", frame, code 577 samples/cpp/select3dobj.cpp if( code == -100 ) code 58 samples/gpu/driver_api_multi.cpp inline void safeCall_(int code, const char* expr, const char* file, int line) code 60 samples/gpu/driver_api_multi.cpp if (code != CUDA_SUCCESS) code 62 samples/gpu/driver_api_multi.cpp std::cout << "CUDA driver API error: code " << code << ", expr " << expr code 60 samples/gpu/driver_api_stereo_multi.cpp inline void safeCall_(int code, const char* expr, const char* file, int line) code 62 samples/gpu/driver_api_stereo_multi.cpp if (code != CUDA_SUCCESS) code 64 samples/gpu/driver_api_stereo_multi.cpp std::cout << "CUDA driver API error: code " << code << ", expr " << expr