ok 647 3rdparty/libpng/pngget.c png_uint_32 ok = png_get_gAMA_fixed(png_ptr, info_ptr, &igamma); ok 649 3rdparty/libpng/pngget.c if (ok) ok 652 3rdparty/libpng/pngget.c return ok; ok 301 3rdparty/libtiff/tif_aux.c int ok; ok 305 3rdparty/libtiff/tif_aux.c ok = TIFFVGetFieldDefaulted(tif, tag, ap); ok 307 3rdparty/libtiff/tif_aux.c return (ok); ok 934 3rdparty/libtiff/tif_dirwrite.c int ok; ok 949 3rdparty/libtiff/tif_dirwrite.c ok = TIFFWriteDirectoryTagFloatArray(tif,ndir,dir,tag,count,(float*)conv); ok 953 3rdparty/libtiff/tif_dirwrite.c ok = TIFFWriteDirectoryTagDoubleArray(tif,ndir,dir,tag,count,value); ok 961 3rdparty/libtiff/tif_dirwrite.c ok = TIFFWriteDirectoryTagSbyteArray(tif,ndir,dir,tag,count,(int8*)conv); ok 967 3rdparty/libtiff/tif_dirwrite.c ok = TIFFWriteDirectoryTagSshortArray(tif,ndir,dir,tag,count,(int16*)conv); ok 973 3rdparty/libtiff/tif_dirwrite.c ok = TIFFWriteDirectoryTagSlongArray(tif,ndir,dir,tag,count,(int32*)conv); ok 981 3rdparty/libtiff/tif_dirwrite.c ok = TIFFWriteDirectoryTagByteArray(tif,ndir,dir,tag,count,(uint8*)conv); ok 987 3rdparty/libtiff/tif_dirwrite.c ok = TIFFWriteDirectoryTagShortArray(tif,ndir,dir,tag,count,(uint16*)conv); ok 993 3rdparty/libtiff/tif_dirwrite.c ok = TIFFWriteDirectoryTagLongArray(tif,ndir,dir,tag,count,(uint32*)conv); ok 997 3rdparty/libtiff/tif_dirwrite.c ok = 0; ok 1001 3rdparty/libtiff/tif_dirwrite.c return (ok); ok 494 3rdparty/libtiff/tif_getimage.c int ok; ok 499 3rdparty/libtiff/tif_getimage.c ok = TIFFRGBAImageGet(&img, raster+(rheight-img.height)*rwidth, ok 504 3rdparty/libtiff/tif_getimage.c ok = 0; ok 506 3rdparty/libtiff/tif_getimage.c return (ok); ok 2717 3rdparty/libtiff/tif_getimage.c int ok; ok 2745 3rdparty/libtiff/tif_getimage.c ok = TIFFRGBAImageGet(&img, raster, img.width, rows_to_read ); ok 2750 3rdparty/libtiff/tif_getimage.c ok = 0; ok 2753 3rdparty/libtiff/tif_getimage.c return (ok); ok 2768 3rdparty/libtiff/tif_getimage.c int ok; ok 2829 3rdparty/libtiff/tif_getimage.c ok = TIFFRGBAImageGet(&img, raster, read_xsize, read_ysize ); ok 2842 3rdparty/libtiff/tif_getimage.c return( ok ); ok 2857 3rdparty/libtiff/tif_getimage.c return (ok); ok 40 3rdparty/libwebp/dec/alpha.c int ok = 0; ok 66 3rdparty/libwebp/dec/alpha.c ok = (alpha_data_size >= alpha_decoded_size); ok 67 3rdparty/libwebp/dec/alpha.c if (ok) memcpy(output, alpha_data, alpha_decoded_size); ok 69 3rdparty/libwebp/dec/alpha.c ok = VP8LDecodeAlphaImageStream(width, height, alpha_data, alpha_data_size, ok 73 3rdparty/libwebp/dec/alpha.c if (ok) { ok 81 3rdparty/libwebp/dec/alpha.c ok = DequantizeLevels(output, width, height); ok 85 3rdparty/libwebp/dec/alpha.c return ok; ok 41 3rdparty/libwebp/dec/buffer.c int ok = 1; ok 46 3rdparty/libwebp/dec/buffer.c ok = 0; ok 53 3rdparty/libwebp/dec/buffer.c ok &= (y_size <= buf->y_size); ok 54 3rdparty/libwebp/dec/buffer.c ok &= (u_size <= buf->u_size); ok 55 3rdparty/libwebp/dec/buffer.c ok &= (v_size <= buf->v_size); ok 56 3rdparty/libwebp/dec/buffer.c ok &= (buf->y_stride >= width); ok 57 3rdparty/libwebp/dec/buffer.c ok &= (buf->u_stride >= (width + 1) / 2); ok 58 3rdparty/libwebp/dec/buffer.c ok &= (buf->v_stride >= (width + 1) / 2); ok 59 3rdparty/libwebp/dec/buffer.c ok &= (buf->y != NULL); ok 60 3rdparty/libwebp/dec/buffer.c ok &= (buf->u != NULL); ok 61 3rdparty/libwebp/dec/buffer.c ok &= (buf->v != NULL); ok 63 3rdparty/libwebp/dec/buffer.c ok &= (buf->a_stride >= width); ok 64 3rdparty/libwebp/dec/buffer.c ok &= (a_size <= buf->a_size); ok 65 3rdparty/libwebp/dec/buffer.c ok &= (buf->a != NULL); ok 70 3rdparty/libwebp/dec/buffer.c ok &= (size <= buf->size); ok 71 3rdparty/libwebp/dec/buffer.c ok &= (buf->stride >= width * kModeBpp[mode]); ok 72 3rdparty/libwebp/dec/buffer.c ok &= (buf->rgba != NULL); ok 74 3rdparty/libwebp/dec/buffer.c return ok ? VP8_STATUS_OK : VP8_STATUS_INVALID_PARAM; ok 165 3rdparty/libwebp/dec/frame.c int ok = 1; ok 236 3rdparty/libwebp/dec/frame.c ok = io->put(io); ok 248 3rdparty/libwebp/dec/frame.c return ok; ok 256 3rdparty/libwebp/dec/frame.c int ok = 1; ok 262 3rdparty/libwebp/dec/frame.c ok = FinishRow(dec, io); ok 266 3rdparty/libwebp/dec/frame.c ok &= WebPWorkerSync(worker); ok 268 3rdparty/libwebp/dec/frame.c if (ok) { // spawn a new deblocking/output job ok 284 3rdparty/libwebp/dec/frame.c return ok; ok 346 3rdparty/libwebp/dec/frame.c int ok = 1; ok 348 3rdparty/libwebp/dec/frame.c ok = WebPWorkerSync(&dec->worker_); ok 354 3rdparty/libwebp/dec/frame.c return ok; ok 553 3rdparty/libwebp/dec/io.c const int ok = is_rgb ? InitRGBRescaler(io, p) : InitYUVRescaler(io, p); ok 554 3rdparty/libwebp/dec/io.c if (!ok) { ok 726 3rdparty/libwebp/dec/vp8.c int ok = 0; ok 743 3rdparty/libwebp/dec/vp8.c ok = (VP8EnterCritical(dec, io) == VP8_STATUS_OK); ok 744 3rdparty/libwebp/dec/vp8.c if (ok) { // good to go. ok 746 3rdparty/libwebp/dec/vp8.c if (ok) ok = VP8InitFrame(dec, io); ok 749 3rdparty/libwebp/dec/vp8.c if (ok) ok = ParseFrame(dec, io); ok 752 3rdparty/libwebp/dec/vp8.c ok &= VP8ExitCritical(dec, io); ok 755 3rdparty/libwebp/dec/vp8.c if (!ok) { ok 761 3rdparty/libwebp/dec/vp8.c return ok; ok 173 3rdparty/libwebp/dec/vp8l.c int ok = 0; ok 221 3rdparty/libwebp/dec/vp8l.c ok = 1; ok 225 3rdparty/libwebp/dec/vp8l.c return ok; ok 230 3rdparty/libwebp/dec/vp8l.c int ok = 0; ok 250 3rdparty/libwebp/dec/vp8l.c ok = HuffmanTreeBuildExplicit(tree, code_lengths, codes, symbols, ok 272 3rdparty/libwebp/dec/vp8l.c ok = ReadHuffmanCodeLengths(dec, code_length_code_lengths, alphabet_size, ok 274 3rdparty/libwebp/dec/vp8l.c if (ok) { ok 275 3rdparty/libwebp/dec/vp8l.c ok = HuffmanTreeBuildImplicit(tree, code_lengths, alphabet_size); ok 279 3rdparty/libwebp/dec/vp8l.c ok = ok && !br->error_; ok 280 3rdparty/libwebp/dec/vp8l.c if (!ok) { ok 689 3rdparty/libwebp/dec/vp8l.c int ok = 1; \ ok 745 3rdparty/libwebp/dec/vp8l.c ok = 0; \ ok 778 3rdparty/libwebp/dec/vp8l.c ok = 0; \ ok 781 3rdparty/libwebp/dec/vp8l.c ok = !br->error_; \ ok 782 3rdparty/libwebp/dec/vp8l.c if (!ok) goto End; \ ok 787 3rdparty/libwebp/dec/vp8l.c if (br->error_ || !ok || (br->eos_ && src < src_end)) { \ ok 788 3rdparty/libwebp/dec/vp8l.c ok = 0; \ ok 794 3rdparty/libwebp/dec/vp8l.c return ok; \ ok 851 3rdparty/libwebp/dec/vp8l.c int ok = 1; ok 874 3rdparty/libwebp/dec/vp8l.c ok = DecodeImageStream(VP8LSubSampleSize(transform->xsize_, ok 888 3rdparty/libwebp/dec/vp8l.c ok = DecodeImageStream(num_colors, 1, 0, dec, &transform->data_); ok 889 3rdparty/libwebp/dec/vp8l.c ok = ok && ExpandColorMap(num_colors, transform); ok 899 3rdparty/libwebp/dec/vp8l.c return ok; ok 971 3rdparty/libwebp/dec/vp8l.c int ok = 1; ok 981 3rdparty/libwebp/dec/vp8l.c while (ok && VP8LReadBits(br, 1)) { ok 982 3rdparty/libwebp/dec/vp8l.c ok = ReadTransform(&transform_xsize, &transform_ysize, dec); ok 987 3rdparty/libwebp/dec/vp8l.c if (ok && VP8LReadBits(br, 1)) { ok 989 3rdparty/libwebp/dec/vp8l.c ok = (color_cache_bits >= 1 && color_cache_bits <= MAX_CACHE_BITS); ok 990 3rdparty/libwebp/dec/vp8l.c if (!ok) { ok 997 3rdparty/libwebp/dec/vp8l.c ok = ok && ReadHuffmanCodes(dec, transform_xsize, transform_ysize, ok 999 3rdparty/libwebp/dec/vp8l.c if (!ok) { ok 1009 3rdparty/libwebp/dec/vp8l.c ok = 0; ok 1027 3rdparty/libwebp/dec/vp8l.c ok = 0; ok 1033 3rdparty/libwebp/dec/vp8l.c ok = DecodeImageData(dec, data, transform_xsize, transform_ysize, NULL); ok 1034 3rdparty/libwebp/dec/vp8l.c ok = ok && !br->error_; ok 1038 3rdparty/libwebp/dec/vp8l.c if (!ok) { ok 1057 3rdparty/libwebp/dec/vp8l.c return ok; ok 1124 3rdparty/libwebp/dec/vp8l.c int ok = 0; ok 1159 3rdparty/libwebp/dec/vp8l.c ok = (bytes_per_pixel == sizeof(uint8_t)) ? ok 1167 3rdparty/libwebp/dec/vp8l.c return ok; ok 55 3rdparty/libwebp/enc/alpha.c int ok = 0; ok 88 3rdparty/libwebp/enc/alpha.c ok = VP8LBitWriterInit(&tmp_bw, (width * height) >> 3); ok 89 3rdparty/libwebp/enc/alpha.c ok = ok && (VP8LEncodeStream(&config, &picture, &tmp_bw) == VP8_ENC_OK); ok 91 3rdparty/libwebp/enc/alpha.c if (ok) { ok 97 3rdparty/libwebp/enc/alpha.c return ok && !bw->error_; ok 108 3rdparty/libwebp/enc/alpha.c int ok = 0; ok 140 3rdparty/libwebp/enc/alpha.c ok = VP8BitWriterAppend(bw, alpha_src, width * height); ok 141 3rdparty/libwebp/enc/alpha.c ok = ok && !bw->error_; ok 143 3rdparty/libwebp/enc/alpha.c ok = EncodeLossless(alpha_src, width, height, effort_level, bw, stats); ok 146 3rdparty/libwebp/enc/alpha.c return ok; ok 191 3rdparty/libwebp/enc/alpha.c int ok = 1; ok 224 3rdparty/libwebp/enc/alpha.c ok = QuantizeLevels(quant_alpha, width, height, alpha_levels, &sse); ok 227 3rdparty/libwebp/enc/alpha.c if (ok) { ok 249 3rdparty/libwebp/enc/alpha.c ok = EncodeAlphaInternal(quant_alpha, width, height, ok 253 3rdparty/libwebp/enc/alpha.c if (!ok) { ok 264 3rdparty/libwebp/enc/alpha.c ok = (filtered_alpha != NULL); ok 265 3rdparty/libwebp/enc/alpha.c if (!ok) { ok 280 3rdparty/libwebp/enc/alpha.c ok && (test_filter <= WEBP_FILTER_GRADIENT); ok 286 3rdparty/libwebp/enc/alpha.c ok = EncodeAlphaInternal(quant_alpha, width, height, ok 290 3rdparty/libwebp/enc/alpha.c if (ok) { ok 311 3rdparty/libwebp/enc/alpha.c if (ok) { ok 323 3rdparty/libwebp/enc/alpha.c return ok; ok 393 3rdparty/libwebp/enc/alpha.c int ok = 1; ok 396 3rdparty/libwebp/enc/alpha.c ok = WebPWorkerSync(worker); // finish anything left in flight ok 403 3rdparty/libwebp/enc/alpha.c return ok; ok 392 3rdparty/libwebp/enc/analysis.c int ok = 1; ok 407 3rdparty/libwebp/enc/analysis.c ok = VP8IteratorProgress(&it, 20); ok 409 3rdparty/libwebp/enc/analysis.c } while (ok && VP8IteratorNext(&it, it.yuv_in_)); ok 412 3rdparty/libwebp/enc/analysis.c if (ok) AssignSegments(enc, alphas); ok 416 3rdparty/libwebp/enc/analysis.c return ok; ok 268 3rdparty/libwebp/enc/backward_references.c int ok = 0; ok 367 3rdparty/libwebp/enc/backward_references.c ok = 1; ok 371 3rdparty/libwebp/enc/backward_references.c return ok; ok 413 3rdparty/libwebp/enc/backward_references.c int ok = 0; ok 441 3rdparty/libwebp/enc/backward_references.c ok = 1; ok 445 3rdparty/libwebp/enc/backward_references.c return ok; ok 478 3rdparty/libwebp/enc/backward_references.c int ok = 0; ok 592 3rdparty/libwebp/enc/backward_references.c ok = 1; ok 598 3rdparty/libwebp/enc/backward_references.c return ok; ok 631 3rdparty/libwebp/enc/backward_references.c int ok = 0; ok 689 3rdparty/libwebp/enc/backward_references.c ok = 1; ok 693 3rdparty/libwebp/enc/backward_references.c return ok; ok 702 3rdparty/libwebp/enc/backward_references.c int ok = 0; ok 722 3rdparty/libwebp/enc/backward_references.c ok = 1; ok 725 3rdparty/libwebp/enc/backward_references.c return ok; ok 744 3rdparty/libwebp/enc/backward_references.c int ok = 0; ok 808 3rdparty/libwebp/enc/backward_references.c ok = 1; ok 811 3rdparty/libwebp/enc/backward_references.c if (!ok) { ok 814 3rdparty/libwebp/enc/backward_references.c return ok; ok 868 3rdparty/libwebp/enc/backward_references.c int ok = 0; ok 890 3rdparty/libwebp/enc/backward_references.c ok = 1; ok 893 3rdparty/libwebp/enc/backward_references.c return ok; ok 815 3rdparty/libwebp/enc/frame.c int ok = 1; ok 820 3rdparty/libwebp/enc/frame.c for (p = 0; ok && p < enc->num_parts_; ++p) { ok 821 3rdparty/libwebp/enc/frame.c ok = VP8BitWriterInit(enc->parts_ + p, bytes_per_parts); ok 823 3rdparty/libwebp/enc/frame.c if (!ok) VP8EncFreeBitWriters(enc); // malloc error occurred ok 824 3rdparty/libwebp/enc/frame.c return ok; ok 827 3rdparty/libwebp/enc/frame.c static int PostLoopFinalize(VP8EncIterator* const it, int ok) { ok 829 3rdparty/libwebp/enc/frame.c if (ok) { // Finalize the partitions, check for extra errors. ok 833 3rdparty/libwebp/enc/frame.c ok &= !enc->parts_[p].error_; ok 837 3rdparty/libwebp/enc/frame.c if (ok) { // All good. Finish up. ok 851 3rdparty/libwebp/enc/frame.c return ok; ok 868 3rdparty/libwebp/enc/frame.c int ok = PreLoopInitialize(enc); ok 869 3rdparty/libwebp/enc/frame.c if (!ok) return 0; ok 896 3rdparty/libwebp/enc/frame.c ok = VP8IteratorProgress(&it, 20); ok 897 3rdparty/libwebp/enc/frame.c } while (ok && VP8IteratorNext(&it, it.yuv_out_)); ok 899 3rdparty/libwebp/enc/frame.c return PostLoopFinalize(&it, ok); ok 910 3rdparty/libwebp/enc/frame.c int ok; ok 929 3rdparty/libwebp/enc/frame.c ok = PreLoopInitialize(enc); ok 930 3rdparty/libwebp/enc/frame.c if (!ok) return 0; ok 952 3rdparty/libwebp/enc/frame.c ok = VP8IteratorProgress(&it, 20); ok 953 3rdparty/libwebp/enc/frame.c } while (ok && VP8IteratorNext(&it, it.yuv_out_)); ok 955 3rdparty/libwebp/enc/frame.c ok = ok && WebPReportProgress(enc->pic_, enc->percent_ + 20, &enc->percent_); ok 957 3rdparty/libwebp/enc/frame.c if (ok) { ok 959 3rdparty/libwebp/enc/frame.c ok = VP8EmitTokens(&enc->tokens_, enc->parts_ + 0, ok 963 3rdparty/libwebp/enc/frame.c return PostLoopFinalize(&it, ok); ok 366 3rdparty/libwebp/enc/histogram.c int ok = 0; ok 433 3rdparty/libwebp/enc/histogram.c ok = 1; ok 437 3rdparty/libwebp/enc/histogram.c return ok; ok 486 3rdparty/libwebp/enc/histogram.c int ok = 0; ok 509 3rdparty/libwebp/enc/histogram.c ok = 1; ok 513 3rdparty/libwebp/enc/histogram.c return ok; ok 1059 3rdparty/libwebp/enc/picture.c int ok; ok 1074 3rdparty/libwebp/enc/picture.c ok = import(&pic, rgba, stride) && WebPEncode(&config, &pic); ok 1076 3rdparty/libwebp/enc/picture.c if (!ok) { ok 362 3rdparty/libwebp/enc/syntax.c int ok = 0; ok 367 3rdparty/libwebp/enc/syntax.c ok = !!GeneratePartition0(enc); ok 399 3rdparty/libwebp/enc/syntax.c ok = ok && PutWebPHeaders(enc, size0, vp8_size, riff_size) ok 410 3rdparty/libwebp/enc/syntax.c ok = ok && pic->writer(buf, size, pic); ok 412 3rdparty/libwebp/enc/syntax.c ok = ok && WebPReportProgress(pic, enc->percent_ + percent_per_part, ok 417 3rdparty/libwebp/enc/syntax.c if (ok && pad) { ok 418 3rdparty/libwebp/enc/syntax.c ok = PutPaddingByte(pic); ok 422 3rdparty/libwebp/enc/syntax.c ok = ok && WebPReportProgress(pic, final_percent, &enc->percent_); ok 423 3rdparty/libwebp/enc/syntax.c return ok; ok 186 3rdparty/libwebp/enc/vp8l.c int ok = 1; ok 211 3rdparty/libwebp/enc/vp8l.c ok = 0; ok 226 3rdparty/libwebp/enc/vp8l.c for (i = 0; ok && (i < histogram_image_size); ++i) { ok 229 3rdparty/libwebp/enc/vp8l.c ok = ok && VP8LCreateHuffmanTree(histo->literal_, 15, codes + 0); ok 230 3rdparty/libwebp/enc/vp8l.c ok = ok && VP8LCreateHuffmanTree(histo->red_, 15, codes + 1); ok 231 3rdparty/libwebp/enc/vp8l.c ok = ok && VP8LCreateHuffmanTree(histo->blue_, 15, codes + 2); ok 232 3rdparty/libwebp/enc/vp8l.c ok = ok && VP8LCreateHuffmanTree(histo->alpha_, 15, codes + 3); ok 233 3rdparty/libwebp/enc/vp8l.c ok = ok && VP8LCreateHuffmanTree(histo->distance_, 15, codes + 4); ok 237 3rdparty/libwebp/enc/vp8l.c if (!ok) { ok 242 3rdparty/libwebp/enc/vp8l.c return ok; ok 308 3rdparty/libwebp/enc/vp8l.c int ok = 0; ok 370 3rdparty/libwebp/enc/vp8l.c ok = 1; ok 373 3rdparty/libwebp/enc/vp8l.c return ok; ok 476 3rdparty/libwebp/enc/vp8l.c int ok = 0; ok 510 3rdparty/libwebp/enc/vp8l.c ok = 1; ok 516 3rdparty/libwebp/enc/vp8l.c return ok; ok 523 3rdparty/libwebp/enc/vp8l.c int ok = 0; ok 599 3rdparty/libwebp/enc/vp8l.c ok = EncodeImageNoHuffman(bw, histogram_argb, ok 604 3rdparty/libwebp/enc/vp8l.c if (!ok) goto Error; ok 621 3rdparty/libwebp/enc/vp8l.c ok = 1; ok 632 3rdparty/libwebp/enc/vp8l.c return ok; ok 288 3rdparty/libwebp/enc/webpenc.c int ok = 1; ok 290 3rdparty/libwebp/enc/webpenc.c ok = VP8EncDeleteAlpha(enc); ok 297 3rdparty/libwebp/enc/webpenc.c return ok; ok 360 3rdparty/libwebp/enc/webpenc.c int ok = 0; ok 386 3rdparty/libwebp/enc/webpenc.c ok = VP8EncAnalyze(enc); ok 389 3rdparty/libwebp/enc/webpenc.c ok = ok && VP8EncStartAlpha(enc); // possibly done in parallel ok 391 3rdparty/libwebp/enc/webpenc.c ok = ok && VP8EncLoop(enc); ok 393 3rdparty/libwebp/enc/webpenc.c ok = ok && VP8EncTokenLoop(enc); ok 395 3rdparty/libwebp/enc/webpenc.c ok = ok && VP8EncFinishAlpha(enc); ok 397 3rdparty/libwebp/enc/webpenc.c ok = ok && VP8EncFinishLayer(enc); ok 400 3rdparty/libwebp/enc/webpenc.c ok = ok && VP8EncWrite(enc); ok 402 3rdparty/libwebp/enc/webpenc.c if (!ok) { ok 405 3rdparty/libwebp/enc/webpenc.c ok &= DeleteVP8Encoder(enc); // must always be called, even if !ok ok 412 3rdparty/libwebp/enc/webpenc.c ok = VP8LEncodeImage(config, pic); // Sets pic->error in case of problem. ok 415 3rdparty/libwebp/enc/webpenc.c return ok; ok 124 3rdparty/libwebp/mux/muxedit.c const int ok = is_lossless ? ok 127 3rdparty/libwebp/mux/muxedit.c if (!ok) return WEBP_MUX_INVALID_ARGUMENT; ok 432 3rdparty/libwebp/mux/muxedit.c int ok; ok 435 3rdparty/libwebp/mux/muxedit.c ok = (tag == kChunks[IDX_VP8].tag) ? ok 438 3rdparty/libwebp/mux/muxedit.c if (ok) { ok 176 3rdparty/libwebp/utils/huffman.c int ok = 0; ok 195 3rdparty/libwebp/utils/huffman.c ok = 1; ok 198 3rdparty/libwebp/utils/huffman.c ok = ok && IsFull(tree); ok 199 3rdparty/libwebp/utils/huffman.c if (!ok) HuffmanTreeRelease(tree); ok 200 3rdparty/libwebp/utils/huffman.c return ok; ok 209 3rdparty/libwebp/utils/huffman.c int ok = 0; ok 231 3rdparty/libwebp/utils/huffman.c ok = 1; ok 233 3rdparty/libwebp/utils/huffman.c ok = ok && IsFull(tree); ok 234 3rdparty/libwebp/utils/huffman.c if (!ok) HuffmanTreeRelease(tree); ok 235 3rdparty/libwebp/utils/huffman.c return ok; ok 79 3rdparty/libwebp/utils/thread.c int ok = 1; ok 80 3rdparty/libwebp/utils/thread.c ok &= (CloseHandle(condition->waiting_sem_) != 0); ok 81 3rdparty/libwebp/utils/thread.c ok &= (CloseHandle(condition->received_sem_) != 0); ok 82 3rdparty/libwebp/utils/thread.c ok &= (CloseHandle(condition->signal_event_) != 0); ok 83 3rdparty/libwebp/utils/thread.c return !ok; ok 101 3rdparty/libwebp/utils/thread.c int ok = 1; ok 104 3rdparty/libwebp/utils/thread.c ok = SetEvent(condition->signal_event_); ok 107 3rdparty/libwebp/utils/thread.c ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != ok 110 3rdparty/libwebp/utils/thread.c return !ok; ok 115 3rdparty/libwebp/utils/thread.c int ok; ok 122 3rdparty/libwebp/utils/thread.c ok = (WaitForSingleObject(condition->signal_event_, INFINITE) == ok 124 3rdparty/libwebp/utils/thread.c ok &= ReleaseSemaphore(condition->received_sem_, 1, NULL); ok 126 3rdparty/libwebp/utils/thread.c return !ok; ok 196 3rdparty/libwebp/utils/thread.c int ok = 1; ok 205 3rdparty/libwebp/utils/thread.c ok = !pthread_create(&worker->thread_, NULL, WebPWorkerThreadLoop, worker); ok 206 3rdparty/libwebp/utils/thread.c if (ok) worker->status_ = OK; ok 212 3rdparty/libwebp/utils/thread.c ok = WebPWorkerSync(worker); ok 214 3rdparty/libwebp/utils/thread.c assert(!ok || (worker->status_ == OK)); ok 215 3rdparty/libwebp/utils/thread.c return ok; ok 98 3rdparty/openexr/IlmThread/IlmThreadSemaphoreWin32.cpp bool ok = ::CloseHandle (_semaphore) != FALSE; ok 99 3rdparty/openexr/IlmThread/IlmThreadSemaphoreWin32.cpp assert (ok); ok 79 3rdparty/openexr/IlmThread/IlmThreadWin32.cpp bool ok = ::CloseHandle (_thread) != FALSE; ok 80 3rdparty/openexr/IlmThread/IlmThreadWin32.cpp assert (ok); ok 985 apps/traincascade/old_ml_boost.cpp bool ok = false; ok 1012 apps/traincascade/old_ml_boost.cpp ok = true; ok 1016 apps/traincascade/old_ml_boost.cpp return ok; ok 1027 apps/traincascade/old_ml_boost.cpp bool ok = false; ok 1086 apps/traincascade/old_ml_boost.cpp ok = true; ok 1093 apps/traincascade/old_ml_boost.cpp return ok; ok 897 apps/traincascade/old_ml_inner_functions.cpp int ok = 0; ok 964 apps/traincascade/old_ml_inner_functions.cpp ok = 1; ok 968 apps/traincascade/old_ml_inner_functions.cpp if( ok ) ok 1000 apps/traincascade/old_ml_inner_functions.cpp return ok; ok 86 apps/traincascade/old_ml_tree.cpp bool ok = false; ok 116 apps/traincascade/old_ml_tree.cpp ok = true; ok 120 apps/traincascade/old_ml_tree.cpp return ok; ok 1908 modules/calib3d/src/calibinit.cpp bool ok = cvFindChessboardCorners(&c_image, patternSize, ok 1917 modules/calib3d/src/calibinit.cpp return ok; ok 3063 modules/calib3d/src/calibration.cpp bool ok = cvRodrigues2(&_csrc, &_cdst, _jacobian.needed() ? &_cjacobian : 0) > 0; ok 3064 modules/calib3d/src/calibration.cpp if( !ok ) ok 663 modules/calib3d/test/test_stereomatching.cpp bool ok = true; ok 668 modules/calib3d/test/test_stereomatching.cpp ok = false; ok 670 modules/calib3d/test/test_stereomatching.cpp return ok ? cvtest::TS::OK : cvtest::TS::FAIL_BAD_ACCURACY; ok 196 modules/core/include/opencv2/core/operations.hpp bool ok; ok 198 modules/core/include/opencv2/core/operations.hpp ok = cv::internal::Matx_FastInvOp<_Tp, m>()(*this, b, method); ok 202 modules/core/include/opencv2/core/operations.hpp ok = (invert(A, B, method) != 0); ok 204 modules/core/include/opencv2/core/operations.hpp if( NULL != p_is_ok ) { *p_is_ok = ok; } ok 205 modules/core/include/opencv2/core/operations.hpp return ok ? b : Matx<_Tp, n, m>::zeros(); ok 212 modules/core/include/opencv2/core/operations.hpp bool ok; ok 214 modules/core/include/opencv2/core/operations.hpp ok = cv::internal::Matx_FastSolveOp<_Tp, m, l>()(*this, rhs, x, method); ok 218 modules/core/include/opencv2/core/operations.hpp ok = cv::solve(A, B, X, method); ok 221 modules/core/include/opencv2/core/operations.hpp return ok ? x : Matx<_Tp, n, l>::zeros(); ok 5711 modules/core/src/convert.cpp bool* ok; ok 5723 modules/core/src/convert.cpp : ok(_ok), src_(src), lut_(lut), dst_(dst) ok 5734 modules/core/src/convert.cpp *ok = (fn != NULL); ok 5739 modules/core/src/convert.cpp if (!*ok) ok 5754 modules/core/src/convert.cpp *ok = false; ok 5767 modules/core/src/convert.cpp bool *ok; ok 5778 modules/core/src/convert.cpp : ok(_ok), src_(src), lut_(lut), dst_(dst), lutBuffer(NULL) ok 5813 modules/core/src/convert.cpp *ok = true; ok 5826 modules/core/src/convert.cpp if (!*ok) ok 5856 modules/core/src/convert.cpp *ok = false; ok 5868 modules/core/src/convert.cpp bool* ok; ok 5876 modules/core/src/convert.cpp : ok(_ok), src_(src), lut_(lut), dst_(dst) ok 5879 modules/core/src/convert.cpp *ok = (func != NULL); ok 5884 modules/core/src/convert.cpp CV_DbgAssert(*ok); ok 5928 modules/core/src/convert.cpp bool ok = false; ok 5937 modules/core/src/convert.cpp ParallelLoopBody* p = new ipp::IppLUTParallelBody_LUTC1(src, lut, dst, &ok); ok 5944 modules/core/src/convert.cpp ParallelLoopBody* p = new ipp::IppLUTParallelBody_LUTCN(src, lut, dst, &ok); ok 5949 modules/core/src/convert.cpp if (body == NULL || ok == false) ok 5951 modules/core/src/convert.cpp ok = false; ok 5952 modules/core/src/convert.cpp ParallelLoopBody* p = new LUTParallelBody(src, lut, dst, &ok); ok 5955 modules/core/src/convert.cpp if (body != NULL && ok) ok 5962 modules/core/src/convert.cpp if (ok) ok 1514 modules/core/src/dxt.cpp *ok = true; ok 1531 modules/core/src/dxt.cpp *ok = false; ok 1553 modules/core/src/dxt.cpp *ok = false; ok 1560 modules/core/src/dxt.cpp *ok = false; ok 1575 modules/core/src/dxt.cpp bool *ok; ok 1588 modules/core/src/dxt.cpp *ok = true; ok 1605 modules/core/src/dxt.cpp *ok = false; ok 1627 modules/core/src/dxt.cpp *ok = false; ok 1634 modules/core/src/dxt.cpp *ok = false; ok 1649 modules/core/src/dxt.cpp bool *ok; ok 1657 modules/core/src/dxt.cpp bool ok; ok 1658 modules/core/src/dxt.cpp parallel_for_(Range(0, src.rows), Dft_C_IPPLoop_Invoker<Dft>(src, dst, ippidft, norm_flag, &ok), src.total()/(double)(1<<16) ); ok 1659 modules/core/src/dxt.cpp return ok; ok 1665 modules/core/src/dxt.cpp bool ok; ok 1666 modules/core/src/dxt.cpp parallel_for_(Range(0, src.rows), Dft_R_IPPLoop_Invoker<Dft>(src, dst, ippidft, norm_flag, &ok), src.total()/(double)(1<<16) ); ok 1667 modules/core/src/dxt.cpp return ok; ok 3340 modules/core/src/dxt.cpp *ok = true; ok 3365 modules/core/src/dxt.cpp *ok = false; ok 3368 modules/core/src/dxt.cpp *ok = false; ok 3381 modules/core/src/dxt.cpp bool *ok; ok 3387 modules/core/src/dxt.cpp bool ok; ok 3388 modules/core/src/dxt.cpp parallel_for_(Range(0, src.rows), DctIPPLoop_Invoker<Dct>(src, dst, &ippidct, inv, &ok), src.rows/(double)(1<<4) ); ok 3389 modules/core/src/dxt.cpp return ok; ok 1348 modules/core/src/lapack.cpp bool ok = type == CV_32F ? ok 1353 modules/core/src/lapack.cpp return ok; ok 4137 modules/core/src/matrix.cpp int ok = 0; ok 4192 modules/core/src/matrix.cpp ok = 1; ok 4193 modules/core/src/matrix.cpp return ok ? arr : 0; ok 2506 modules/core/src/ocl.cpp bool ok = handle != 0 && status == CL_SUCCESS; ok 2507 modules/core/src/ocl.cpp if( ok ) ok 2561 modules/core/src/ocl.cpp bool ok = handle != 0 && retval == CL_SUCCESS; ok 2562 modules/core/src/ocl.cpp if( ok ) ok 5165 modules/core/src/persistence.cpp bool ok = isOpened(); ok 5166 modules/core/src/persistence.cpp state = ok ? NAME_EXPECTED + INSIDE_MAP : UNDEFINED; ok 5167 modules/core/src/persistence.cpp return ok; ok 726 modules/flann/src/miniflann.cpp bool ok = true; ok 793 modules/flann/src/miniflann.cpp ok = false; ok 798 modules/flann/src/miniflann.cpp return ok; ok 1317 modules/highgui/src/window_QT.cpp bool ok = false; ok 1338 modules/highgui/src/window_QT.cpp &ok); ok 1340 modules/highgui/src/window_QT.cpp if (ok) ok 267 modules/imgcodecs/src/grfmt_tiff.cpp int tile_width = tile_width0, ok; ok 278 modules/imgcodecs/src/grfmt_tiff.cpp ok = TIFFReadRGBAStrip( tif, y, (uint32*)buffer ); ok 281 modules/imgcodecs/src/grfmt_tiff.cpp ok = TIFFReadRGBATile( tif, x, y, (uint32*)buffer ); ok 285 modules/imgcodecs/src/grfmt_tiff.cpp if( !ok ) ok 317 modules/imgcodecs/src/grfmt_tiff.cpp ok = (int)TIFFReadEncodedStrip( tif, tileidx, (uint32*)buffer, buffer_size ) >= 0; ok 319 modules/imgcodecs/src/grfmt_tiff.cpp ok = (int)TIFFReadEncodedTile( tif, tileidx, (uint32*)buffer, buffer_size ) >= 0; ok 321 modules/imgcodecs/src/grfmt_tiff.cpp if( !ok ) ok 388 modules/imgcodecs/src/grfmt_tiff.cpp ok = (int)TIFFReadEncodedStrip( tif, tileidx, buffer, buffer_size ) >= 0; ok 390 modules/imgcodecs/src/grfmt_tiff.cpp ok = (int)TIFFReadEncodedTile( tif, tileidx, buffer, buffer_size ) >= 0; ok 392 modules/imgcodecs/src/grfmt_tiff.cpp if( !ok || ncn != 1 ) ok 218 modules/imgproc/src/color.cpp *ok = true; ok 226 modules/imgproc/src/color.cpp *ok = false; ok 237 modules/imgproc/src/color.cpp bool *ok; ok 245 modules/imgproc/src/color.cpp bool ok; ok 246 modules/imgproc/src/color.cpp parallel_for_(Range(0, src.rows), CvtColorIPPLoop_Invoker<Cvt>(src, dst, cvt, &ok), src.total()/(double)(1<<16) ); ok 247 modules/imgproc/src/color.cpp return ok; ok 260 modules/imgproc/src/color.cpp bool ok; ok 261 modules/imgproc/src/color.cpp parallel_for_(Range(0, source.rows), CvtColorIPPLoop_Invoker<Cvt>(source, dst, cvt, &ok), ok 263 modules/imgproc/src/color.cpp return ok; ok 6680 modules/imgproc/src/color.cpp bool ok = false; ok 7319 modules/imgproc/src/color.cpp ok = k.run(dims, globalsize, NULL, false); ok 7321 modules/imgproc/src/color.cpp return ok; ok 575 modules/imgproc/src/corner.cpp IppStatus ok = getBufferSizeFunc(srcRoi, kerSize, blockSize, &bufferSize); ok 576 modules/imgproc/src/corner.cpp if (ok >= 0) ok 579 modules/imgproc/src/corner.cpp ok = minEigenValFunc(src.ptr(), (int) src.step, dst.ptr<Ipp32f>(), (int) dst.step, srcRoi, kerType, kerSize, blockSize, buffer); ok 581 modules/imgproc/src/corner.cpp if (ok >= 0) ok = ippiMulC_32f_C1IR(norm_coef, dst.ptr<Ipp32f>(), (int) dst.step, srcRoi); ok 583 modules/imgproc/src/corner.cpp if (ok >= 0) ok 1187 modules/imgproc/src/histogram.cpp *ok = true; ok 1200 modules/imgproc/src/histogram.cpp *ok = false; ok 1214 modules/imgproc/src/histogram.cpp bool * ok; ok 1246 modules/imgproc/src/histogram.cpp bool ok = true; ok 1252 modules/imgproc/src/histogram.cpp IPPCalcHistInvoker invoker(src, ihist, levels, histSize[0] + 1, (Ipp32s)ranges[0][0], (Ipp32s)ranges[0][1], &ok); ok 1256 modules/imgproc/src/histogram.cpp if (ok) ok 110 modules/imgproc/src/hough.cpp IppStatus ok = ippiHoughLineGetSize_8u_C1R(srcSize, delta, ipp_linesMax, &bufferSize); ok 112 modules/imgproc/src/hough.cpp if (ok >= 0) ok = ippiHoughLine_Region_8u32f_C1R(image, step, srcSize, (IppPointPolar*) &lines[0], dstRoi, ipp_linesMax, &linesCount, delta, threshold, buffer); ok 114 modules/imgproc/src/hough.cpp if (ok >= 0) ok 442 modules/imgproc/src/hough.cpp IppStatus ok = ippiHoughProbLineGetSize_8u_C1R(srcSize, delta, &specSize, &bufferSize); ok 445 modules/imgproc/src/hough.cpp if (ok >= 0) ok = ippiHoughProbLineInit_8u32f_C1R(srcSize, delta, ippAlgHintNone, pSpec); ok 446 modules/imgproc/src/hough.cpp if (ok >= 0) ok = ippiHoughProbLine_8u32f_C1R(image.data, image.step, srcSize, threshold, lineLength, lineGap, (IppiPoint*) &lines[0], ipp_linesMax, &linesCount, buffer, pSpec); ok 450 modules/imgproc/src/hough.cpp if (ok >= 0) ok 2713 modules/imgproc/src/imgwarp.cpp #define CHECK_IPP_STATUS(STATUS) if (STATUS < 0) { *ok = false; return; } ok 2723 modules/imgproc/src/imgwarp.cpp if (mode == (int)ippCubic) { *ok = false; return; } \ ok 2744 modules/imgproc/src/imgwarp.cpp else { *ok = false; return; } \ ok 2758 modules/imgproc/src/imgwarp.cpp *ok = true; ok 2785 modules/imgproc/src/imgwarp.cpp default: { *ok = false; return; } break; ok 2795 modules/imgproc/src/imgwarp.cpp if (*ok == false) ok 2817 modules/imgproc/src/imgwarp.cpp *ok = false; ok 2834 modules/imgproc/src/imgwarp.cpp bool *ok; ok 3266 modules/imgproc/src/imgwarp.cpp bool ok = true; ok 3268 modules/imgproc/src/imgwarp.cpp IPPresizeInvoker invoker(src, dst, inv_scale_x, inv_scale_y, mode, &ok); ok 3270 modules/imgproc/src/imgwarp.cpp if( ok ) ok 4585 modules/imgproc/src/imgwarp.cpp *ok = true; ok 4598 modules/imgproc/src/imgwarp.cpp *ok = false; ok 4605 modules/imgproc/src/imgwarp.cpp *ok = false; ok 4617 modules/imgproc/src/imgwarp.cpp bool * ok; ok 4702 modules/imgproc/src/imgwarp.cpp bool ok; ok 4704 modules/imgproc/src/imgwarp.cpp borderType, borderValue, &ok); ok 4708 modules/imgproc/src/imgwarp.cpp if (ok) ok 5414 modules/imgproc/src/imgwarp.cpp *ok = true; ok 5429 modules/imgproc/src/imgwarp.cpp *ok = false; ok 5438 modules/imgproc/src/imgwarp.cpp *ok = false; ok 5452 modules/imgproc/src/imgwarp.cpp bool *ok; ok 5659 modules/imgproc/src/imgwarp.cpp bool ok; ok 5661 modules/imgproc/src/imgwarp.cpp IPPWarpAffineInvoker invoker(src, dst, coeffs, mode, borderType, borderValue, ippFunc, &ok); ok 5663 modules/imgproc/src/imgwarp.cpp if( ok ) ok 6043 modules/imgproc/src/imgwarp.cpp *ok = true; ok 6059 modules/imgproc/src/imgwarp.cpp *ok = false; ok 6066 modules/imgproc/src/imgwarp.cpp *ok = false; ok 6080 modules/imgproc/src/imgwarp.cpp bool *ok; ok 6163 modules/imgproc/src/imgwarp.cpp bool ok; ok 6165 modules/imgproc/src/imgwarp.cpp IPPWarpPerspectiveInvoker invoker(src, dst, coeffs, mode, borderType, borderValue, ippFunc, &ok); ok 6167 modules/imgproc/src/imgwarp.cpp if( ok ) ok 503 modules/imgproc/src/moments.cpp bool ok = k.args(ocl::KernelArg::ReadOnly(src), ok 506 modules/imgproc/src/moments.cpp if(!ok) ok 1174 modules/imgproc/src/morph.cpp bool ok = false;\ ok 1176 modules/imgproc/src/morph.cpp ok = (0 <= ippiErodeBorder_##flavor(_src->ptr<Ipp##data_type>(), (int)_src->step[0], dst.ptr<Ipp##data_type>(), (int)dst.step[0],\ ok 1179 modules/imgproc/src/morph.cpp ok = (0 <= ippiDilateBorder_##flavor(_src->ptr<Ipp##data_type>(), (int)_src->step[0], dst.ptr<Ipp##data_type>(), (int)dst.step[0],\ ok 1183 modules/imgproc/src/morph.cpp return ok;\ ok 1197 modules/imgproc/src/morph.cpp bool ok = false;\ ok 1202 modules/imgproc/src/morph.cpp ok = ippiErodeBorderReplicate_##flavor(_src->ptr<Ipp##data_type>(), (int)_src->step[0],\ ok 1206 modules/imgproc/src/morph.cpp ok = ippiDilateBorderReplicate_##flavor(_src->ptr<Ipp##data_type>(), (int)_src->step[0],\ ok 1211 modules/imgproc/src/morph.cpp return ok;\ ok 1209 modules/imgproc/src/pyramids.cpp IppStatus ok = ippiPyrDownGetBufSize_Gauss5x5(srcRoi.width, dataType, src.channels(), &bufferSize); ok 1211 modules/imgproc/src/pyramids.cpp if (ok >= 0) ok 1214 modules/imgproc/src/pyramids.cpp ok = pyrDownFunc(src.data, (int) src.step, dst.data, (int) dst.step, srcRoi, buffer); ok 1217 modules/imgproc/src/pyramids.cpp if (ok >= 0) ok 1286 modules/imgproc/src/pyramids.cpp IppStatus ok = ippiPyrUpGetBufSize_Gauss5x5(srcRoi.width, dataType, src.channels(), &bufferSize); ok 1288 modules/imgproc/src/pyramids.cpp if (ok >= 0) ok 1291 modules/imgproc/src/pyramids.cpp ok = pyrUpFunc(src.data, (int) src.step, dst.data, (int) dst.step, srcRoi, buffer); ok 1294 modules/imgproc/src/pyramids.cpp if (ok >= 0) ok 1390 modules/imgproc/src/pyramids.cpp IppStatus ok = ippiPyramidInitAlloc(&gPyr, maxlevel + 1, srcRoi, rate); ok 1396 modules/imgproc/src/pyramids.cpp if (ok >= 0) ok = pyrInitAllocFunc((void**) &(gPyr->pState), srcRoi, rate, kernel, 5, IPPI_INTER_LINEAR); ok 1397 modules/imgproc/src/pyramids.cpp if (ok >= 0) ok 1405 modules/imgproc/src/pyramids.cpp ok = ippiGetPyramidDownROI(gPyr->pRoi[i-1], &dstRoi, rate); ok 1412 modules/imgproc/src/pyramids.cpp if (ok >= 0) ok = pyrDownFunc(gPyr->pImage[i-1], gPyr->pStep[i-1], gPyr->pRoi[i-1], ok 1415 modules/imgproc/src/pyramids.cpp if (ok < 0) ok 2924 modules/imgproc/src/smooth.cpp *ok = true; ok 2935 modules/imgproc/src/smooth.cpp *ok = false; ok 2942 modules/imgproc/src/smooth.cpp *ok = false; ok 2946 modules/imgproc/src/smooth.cpp *ok = false; ok 2958 modules/imgproc/src/smooth.cpp bool *ok; ok 3091 modules/imgproc/src/smooth.cpp bool ok; ok 3092 modules/imgproc/src/smooth.cpp IPPBilateralFilter_8u_Invoker body(temp, dst, sigma_color * sigma_color, sigma_space * sigma_space, radius, &ok ); ok 3094 modules/imgproc/src/smooth.cpp if( ok ) ok 246 modules/imgproc/src/templmatch.cpp bool ok = convolve_dft(image.reshape(1), templ.reshape(1), result_); ok 247 modules/imgproc/src/templmatch.cpp if (ok==false) ok 926 modules/imgproc/src/thresh.cpp IppStatus ok = ippiComputeThreshold_Otsu_8u_C1R(_src.ptr(), step, srcSize, &thresh); ok 928 modules/imgproc/src/thresh.cpp if (ok >= 0) ok 642 modules/ml/src/data.cpp bool ok = !samples.empty(); ok 643 modules/ml/src/data.cpp if(ok) ok 645 modules/ml/src/data.cpp return ok; ok 151 modules/ml/src/lr.cpp bool ok = false; ok 220 modules/ml/src/lr.cpp ok = true; ok 221 modules/ml/src/lr.cpp return ok; ok 1376 modules/ml/src/svm.cpp bool ok = ok 1381 modules/ml/src/svm.cpp if( !ok ) ok 1488 modules/ml/src/svm.cpp bool ok = params.svmType == C_SVC ? ok 1495 modules/ml/src/svm.cpp if( !ok ) ok 227 modules/ml/src/tree.cpp bool ok = addTree( w->sidx ) >= 0; ok 230 modules/ml/src/tree.cpp return ok; ok 1057 modules/objdetect/src/cascadedetect.cpp bool ok = false; ok 1113 modules/objdetect/src/cascadedetect.cpp ok = haarKernel.run(2, globalsize, localsize, true); ok 1153 modules/objdetect/src/cascadedetect.cpp ok = lbpKernel.run(2, globalsize, localsize, true); ok 1156 modules/objdetect/src/cascadedetect.cpp if( ok ) ok 1172 modules/objdetect/src/cascadedetect.cpp return ok; ok 1582 modules/objdetect/src/cascadedetect.cpp bool ok = ccimpl->read_(root); ok 1583 modules/objdetect/src/cascadedetect.cpp if( ok ) ok 1587 modules/objdetect/src/cascadedetect.cpp return ok; ok 269 modules/objdetect/src/cascadedetect_convert.cpp bool ok = haar_cvt::convert(oldcascade, newcascade); ok 270 modules/objdetect/src/cascadedetect_convert.cpp if( !ok && newcascade.size() > 0 ) ok 272 modules/objdetect/src/cascadedetect_convert.cpp return ok; ok 72 modules/photo/test/test_denoise_tvl1.cpp bool ok = std::abs(image.at<uchar>(x,y) - val) < 10; ok 73 modules/photo/test/test_denoise_tvl1.cpp printf("test: image(%d,%d)=%d vs %d - %s\n",x,y,(int)image.at<uchar>(x,y),val,ok?"ok":"bad"); ok 74 modules/photo/test/test_denoise_tvl1.cpp return ok; ok 1022 modules/python/src2/cv2.cpp bool ok = true; ok 1030 modules/python/src2/cv2.cpp ok = false; ok 1057 modules/python/src2/cv2.cpp ok = false; ok 1063 modules/python/src2/cv2.cpp return ok && !PyErr_Occurred(); ok 1085 modules/python/src2/cv2.cpp bool ok = pyopencv_to(o, d, name); ok 1087 modules/python/src2/cv2.cpp return ok; ok 253 modules/stitching/src/motion_estimators.cpp bool ok = true; ok 258 modules/stitching/src/motion_estimators.cpp ok = false; ok 262 modules/stitching/src/motion_estimators.cpp if (!ok) ok 961 modules/stitching/src/seam_finders.cpp bool ok = false; ok 973 modules/stitching/src/seam_finders.cpp ok = true; ok 978 modules/stitching/src/seam_finders.cpp if (!ok) ok 1019 modules/videoio/src/cap_ffmpeg_impl.hpp bool ok; ok 1097 modules/videoio/src/cap_ffmpeg_impl.hpp ok = false; ok 1470 modules/videoio/src/cap_ffmpeg_impl.hpp if(ok && oc) ok 1828 modules/videoio/src/cap_ffmpeg_impl.hpp ok = true; ok 394 modules/videoio/src/cap_mjpeg_encoder.cpp bool ok = strm.open(filename); ok 395 modules/videoio/src/cap_mjpeg_encoder.cpp if( !ok ) ok 120 modules/videostab/include/opencv2/videostab/global_motion.hpp virtual Mat estimate(InputArray points0, InputArray points1, bool *ok = 0) = 0; ok 142 modules/videostab/include/opencv2/videostab/global_motion.hpp virtual Mat estimate(InputArray points0, InputArray points1, bool *ok = 0); ok 158 modules/videostab/include/opencv2/videostab/global_motion.hpp virtual Mat estimate(InputArray points0, InputArray points1, bool *ok = 0); ok 183 modules/videostab/include/opencv2/videostab/global_motion.hpp virtual Mat estimate(const Mat &frame0, const Mat &frame1, bool *ok = 0) = 0; ok 197 modules/videostab/include/opencv2/videostab/global_motion.hpp virtual Mat estimate(const Mat &frame0, const Mat &frame1, bool *ok = 0); ok 211 modules/videostab/include/opencv2/videostab/global_motion.hpp virtual Mat estimate(const Mat &frame0, const Mat &frame1, bool *ok = 0); ok 238 modules/videostab/include/opencv2/videostab/global_motion.hpp virtual Mat estimate(const Mat &frame0, const Mat &frame1, bool *ok = 0); ok 265 modules/videostab/include/opencv2/videostab/global_motion.hpp virtual Mat estimate(const Mat &frame0, const Mat &frame1, bool *ok = 0); ok 266 modules/videostab/include/opencv2/videostab/global_motion.hpp Mat estimate(const cuda::GpuMat &frame0, const cuda::GpuMat &frame1, bool *ok = 0); ok 414 modules/videostab/src/global_motion.cpp bool ok = false; ok 415 modules/videostab/src/global_motion.cpp while (!ok) ok 417 modules/videostab/src/global_motion.cpp ok = true; ok 421 modules/videostab/src/global_motion.cpp { ok = false; break; } ok 489 modules/videostab/src/global_motion.cpp Mat MotionEstimatorRansacL2::estimate(InputArray points0, InputArray points1, bool *ok) ok 513 modules/videostab/src/global_motion.cpp if (ok) *ok = true; ok 517 modules/videostab/src/global_motion.cpp if (ok) *ok = false; ok 531 modules/videostab/src/global_motion.cpp Mat MotionEstimatorL1::estimate(InputArray points0, InputArray points1, bool *ok) ok 540 modules/videostab/src/global_motion.cpp if (ok) *ok = false; ok 653 modules/videostab/src/global_motion.cpp if (ok) *ok = true; ok 667 modules/videostab/src/global_motion.cpp Mat FromFileMotionReader::estimate(const Mat &/*frame0*/, const Mat &/*frame1*/, bool *ok) ok 674 modules/videostab/src/global_motion.cpp if (ok) *ok = ok_; ok 687 modules/videostab/src/global_motion.cpp Mat ToFileMotionWriter::estimate(const Mat &frame0, const Mat &frame1, bool *ok) ok 694 modules/videostab/src/global_motion.cpp if (ok) *ok = ok_; ok 708 modules/videostab/src/global_motion.cpp Mat KeypointBasedMotionEstimator::estimate(const Mat &frame0, const Mat &frame1, bool *ok) ok 764 modules/videostab/src/global_motion.cpp return motionEstimator_->estimate(pointsPrevGood_, pointsGood_, ok); ok 779 modules/videostab/src/global_motion.cpp Mat KeypointBasedMotionEstimatorGpu::estimate(const Mat &frame0, const Mat &frame1, bool *ok) ok 783 modules/videostab/src/global_motion.cpp return estimate(frame0_, frame1_, ok); ok 787 modules/videostab/src/global_motion.cpp Mat KeypointBasedMotionEstimatorGpu::estimate(const cuda::GpuMat &frame0, const cuda::GpuMat &frame1, bool *ok) ok 839 modules/videostab/src/global_motion.cpp return motionEstimator_->estimate(hostPointsPrev_, hostPoints_, ok); ok 383 modules/videostab/src/stabilizer.cpp bool ok = true, ok2 = true; ok 389 modules/videostab/src/stabilizer.cpp motions_.push_back(motionEstimator_->estimate(prevFrame, frame, &ok)); ok 400 modules/videostab/src/stabilizer.cpp if (ok) ok 281 modules/viz/src/vizcore.cpp bool ok = readPose(cv::format(files_format.c_str(), i), affine, tag); ok 282 modules/viz/src/vizcore.cpp if (!ok) ok 93 samples/cpp/3calibration.cpp bool ok = checkRange(cameraMatrix) && checkRange(distCoeffs); ok 94 samples/cpp/3calibration.cpp if(!ok) ok 161 samples/cpp/calibration.cpp bool ok = checkRange(cameraMatrix) && checkRange(distCoeffs); ok 166 samples/cpp/calibration.cpp return ok; ok 277 samples/cpp/calibration.cpp bool ok = runCalibration(imagePoints, imageSize, boardSize, patternType, squareSize, ok 281 samples/cpp/calibration.cpp ok ? "Calibration succeeded" : "Calibration failed", ok 284 samples/cpp/calibration.cpp if( ok ) ok 293 samples/cpp/calibration.cpp return ok; ok 160 samples/cpp/letter_recog.cpp bool ok = read_num_class_data( data_filename, 16, &data, &responses ); ok 161 samples/cpp/letter_recog.cpp if( !ok ) ok 162 samples/cpp/letter_recog.cpp return ok; ok 229 samples/cpp/letter_recog.cpp bool ok = read_num_class_data( data_filename, 16, &data, &responses ); ok 230 samples/cpp/letter_recog.cpp if( !ok ) ok 231 samples/cpp/letter_recog.cpp return ok; ok 353 samples/cpp/letter_recog.cpp bool ok = read_num_class_data( data_filename, 16, &data, &responses ); ok 354 samples/cpp/letter_recog.cpp if( !ok ) ok 355 samples/cpp/letter_recog.cpp return ok; ok 429 samples/cpp/letter_recog.cpp bool ok = read_num_class_data( data_filename, 16, &data, &responses ); ok 430 samples/cpp/letter_recog.cpp if( !ok ) ok 431 samples/cpp/letter_recog.cpp return ok; ok 455 samples/cpp/letter_recog.cpp bool ok = read_num_class_data( data_filename, 16, &data, &responses ); ok 456 samples/cpp/letter_recog.cpp if( !ok ) ok 457 samples/cpp/letter_recog.cpp return ok; ok 482 samples/cpp/letter_recog.cpp bool ok = read_num_class_data( data_filename, 16, &data, &responses ); ok 483 samples/cpp/letter_recog.cpp if( !ok ) ok 484 samples/cpp/letter_recog.cpp return ok; ok 395 samples/cpp/stereo_calib.cpp bool ok = readStringList(imagelistfn, imagelist); ok 396 samples/cpp/stereo_calib.cpp if(!ok || imagelist.empty()) ok 23 samples/cpp/tree_engine.cpp bool ok = model->train(data); ok 24 samples/cpp/tree_engine.cpp if( !ok ) ok 478 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp bool ok = checkRange(cameraMatrix) && checkRange(distCoeffs); ok 483 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp return ok; ok 572 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp bool ok = runCalibration(s, imageSize, cameraMatrix, distCoeffs, imagePoints, rvecs, tvecs, reprojErrs, ok 574 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp cout << (ok ? "Calibration succeeded" : "Calibration failed") ok 577 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if (ok) ok 580 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp return ok;