src 1384 3rdparty/include/ffmpeg_/libavcodec/avcodec.h const AVFrame *src, int offset[AV_NUM_DATA_POINTERS], src 2960 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int (*update_thread_context)(AVCodecContext *dst, const AVCodecContext *src); src 3303 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src); src 3503 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int av_copy_packet(AVPacket *dst, AVPacket *src); src 3510 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int av_copy_packet_side_data(AVPacket *dst, AVPacket *src); src 4258 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int av_resample(struct AVResampleContext *c, short *dst, short *src, int *consumed, int src_size, int dst_size, int update_ctx); src 4325 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int avpicture_layout(const AVPicture* src, enum AVPixelFormat pix_fmt, src 4345 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int avpicture_deinterlace(AVPicture *dst, const AVPicture *src, src 4351 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void av_picture_copy(AVPicture *dst, const AVPicture *src, src 4357 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int av_picture_crop(AVPicture *dst, const AVPicture *src, src 4363 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int av_picture_pad(AVPicture *dst, const AVPicture *src, int height, int width, enum AVPixelFormat pix_fmt, src 59 3rdparty/include/ffmpeg_/libavutil/aes.h void av_aes_crypt(struct AVAES *a, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt); src 99 3rdparty/include/ffmpeg_/libavutil/avstring.h size_t av_strlcpy(char *dst, const char *src, size_t size); src 117 3rdparty/include/ffmpeg_/libavutil/avstring.h size_t av_strlcat(char *dst, const char *src, size_t size); src 295 3rdparty/include/ffmpeg_/libavutil/avstring.h int av_escape(char **dst, const char *src, const char *special_chars, src 70 3rdparty/include/ffmpeg_/libavutil/blowfish.h void av_blowfish_crypt(struct AVBlowfish *ctx, uint8_t *dst, const uint8_t *src, src 197 3rdparty/include/ffmpeg_/libavutil/bprint.h void av_bprint_escape(AVBPrint *dstbuf, const char *src, const char *special_chars, src 140 3rdparty/include/ffmpeg_/libavutil/dict.h void av_dict_copy(AVDictionary **dst, AVDictionary *src, int flags); src 94 3rdparty/include/ffmpeg_/libavutil/fifo.h int av_fifo_generic_write(AVFifoBuffer *f, void *src, int size, int (*func)(void*, void*, int)); src 500 3rdparty/include/ffmpeg_/libavutil/frame.h int av_frame_ref(AVFrame *dst, AVFrame *src); src 509 3rdparty/include/ffmpeg_/libavutil/frame.h AVFrame *av_frame_clone(AVFrame *src); src 519 3rdparty/include/ffmpeg_/libavutil/frame.h void av_frame_move_ref(AVFrame *dst, AVFrame *src); src 575 3rdparty/include/ffmpeg_/libavutil/frame.h int av_frame_copy_props(AVFrame *dst, const AVFrame *src); src 109 3rdparty/include/ffmpeg_/libavutil/imgutils.h const uint8_t *src, int src_linesize, src 149 3rdparty/include/ffmpeg_/libavutil/imgutils.h const uint8_t *src, src 58 3rdparty/include/ffmpeg_/libavutil/md5.h void av_md5_update(struct AVMD5 *ctx, const uint8_t *src, int len); src 75 3rdparty/include/ffmpeg_/libavutil/md5.h void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len); src 29 3rdparty/include/ffmpeg_/libavutil/murmur3.h void av_murmur3_update(struct AVMurMur3 *c, const uint8_t *src, int len); src 178 3rdparty/include/ffmpeg_/libavutil/pixdesc.h void av_write_image_line(const uint16_t *src, uint8_t *data[4], const int linesize[4], src 240 3rdparty/include/ffmpeg_/libavutil/samplefmt.h int av_samples_copy(uint8_t **dst, uint8_t * const *src, int dst_offset, src 55 3rdparty/include/ffmpeg_/libavutil/xtea.h void av_xtea_crypt(struct AVXTEA *ctx, uint8_t *dst, const uint8_t *src, src 336 3rdparty/include/ffmpeg_/libswscale/swscale.h void sws_convertPalette8ToPacked32(const uint8_t *src, uint8_t *dst, int num_pixels, const uint8_t *palette); src 348 3rdparty/include/ffmpeg_/libswscale/swscale.h void sws_convertPalette8ToPacked24(const uint8_t *src, uint8_t *dst, int num_pixels, const uint8_t *palette); src 5264 3rdparty/include/opencl/1.2/CL/cl.hpp const Buffer& src, src 5275 3rdparty/include/opencl/1.2/CL/cl.hpp object_, src(), dst(), src_offset, dst_offset, size, src 5366 3rdparty/include/opencl/1.2/CL/cl.hpp const Buffer& src, src 5382 3rdparty/include/opencl/1.2/CL/cl.hpp src(), src 5494 3rdparty/include/opencl/1.2/CL/cl.hpp const Image& src, src 5505 3rdparty/include/opencl/1.2/CL/cl.hpp object_, src(), dst(), (const ::size_t *) src_origin, src 5623 3rdparty/include/opencl/1.2/CL/cl.hpp const Image& src, src 5634 3rdparty/include/opencl/1.2/CL/cl.hpp object_, src(), dst(), (const ::size_t *) src_origin, src 5648 3rdparty/include/opencl/1.2/CL/cl.hpp const Buffer& src, src 5659 3rdparty/include/opencl/1.2/CL/cl.hpp object_, src(), dst(), src_offset, src 6204 3rdparty/include/opencl/1.2/CL/cl.hpp const Buffer& src, src 6219 3rdparty/include/opencl/1.2/CL/cl.hpp return queue.enqueueCopyBuffer(src, dst, src_offset, dst_offset, size, events, event); src 6362 3rdparty/include/opencl/1.2/CL/cl.hpp const Buffer& src, src 6382 3rdparty/include/opencl/1.2/CL/cl.hpp src, src 6457 3rdparty/include/opencl/1.2/CL/cl.hpp const Image& src, src 6473 3rdparty/include/opencl/1.2/CL/cl.hpp src, src 6483 3rdparty/include/opencl/1.2/CL/cl.hpp const Image& src, src 6499 3rdparty/include/opencl/1.2/CL/cl.hpp src, src 6509 3rdparty/include/opencl/1.2/CL/cl.hpp const Buffer& src, src 6525 3rdparty/include/opencl/1.2/CL/cl.hpp src, src 785 3rdparty/libjasper/jas_cm.c jas_cmreal_t *src; src 793 3rdparty/libjasper/jas_cm.c src = in; src 797 3rdparty/libjasper/jas_cm.c a0 = *src++; src 798 3rdparty/libjasper/jas_cm.c a1 = *src++; src 799 3rdparty/libjasper/jas_cm.c a2 = *src++; src 834 3rdparty/libjasper/jas_cm.c a0 = *src++; src 846 3rdparty/libjasper/jas_cm.c a0 = *src++; src 847 3rdparty/libjasper/jas_cm.c src++; src 848 3rdparty/libjasper/jas_cm.c src++; src 101 3rdparty/libjasper/jas_icc.c static int jas_icctagtabent_cmp(const void *src, const void *dst); src 601 3rdparty/libjasper/jas_icc.c static int jas_icctagtabent_cmp(const void *src, const void *dst) src 603 3rdparty/libjasper/jas_icc.c jas_icctagtabent_t *srctagtabent = JAS_CAST(jas_icctagtabent_t *, src); src 413 3rdparty/libjasper/jasper/jas_stream.h int jas_stream_copy(jas_stream_t *dst, jas_stream_t *src, int n); src 67 3rdparty/libjpeg/jchuff.c #define ASSIGN_STATE(dest,src) ((dest) = (src)) src 70 3rdparty/libjpeg/jchuff.c #define ASSIGN_STATE(dest,src) \ src 71 3rdparty/libjpeg/jchuff.c ((dest).put_buffer = (src).put_buffer, \ src 72 3rdparty/libjpeg/jchuff.c (dest).put_bits = (src).put_bits, \ src 73 3rdparty/libjpeg/jchuff.c (dest).last_dc_val[0] = (src).last_dc_val[0], \ src 74 3rdparty/libjpeg/jchuff.c (dest).last_dc_val[1] = (src).last_dc_val[1], \ src 75 3rdparty/libjpeg/jchuff.c (dest).last_dc_val[2] = (src).last_dc_val[2], \ src 76 3rdparty/libjpeg/jchuff.c (dest).last_dc_val[3] = (src).last_dc_val[3]) src 63 3rdparty/libjpeg/jdapimin.c cinfo->src = NULL; src 298 3rdparty/libjpeg/jdapimin.c (*cinfo->src->init_source) (cinfo); src 392 3rdparty/libjpeg/jdapimin.c (*cinfo->src->term_source) (cinfo); src 68 3rdparty/libjpeg/jdarith.c struct jpeg_source_mgr * src = cinfo->src; src 70 3rdparty/libjpeg/jdarith.c if (src->bytes_in_buffer == 0) src 71 3rdparty/libjpeg/jdarith.c if (! (*src->fill_input_buffer) (cinfo)) src 73 3rdparty/libjpeg/jdarith.c src->bytes_in_buffer--; src 74 3rdparty/libjpeg/jdarith.c return GETJOCTET(*src->next_input_byte++); src 47 3rdparty/libjpeg/jdatasrc.c my_src_ptr src = (my_src_ptr) cinfo->src; src 53 3rdparty/libjpeg/jdatasrc.c src->start_of_file = TRUE; src 99 3rdparty/libjpeg/jdatasrc.c my_src_ptr src = (my_src_ptr) cinfo->src; src 102 3rdparty/libjpeg/jdatasrc.c nbytes = JFREAD(src->infile, src->buffer, INPUT_BUF_SIZE); src 105 3rdparty/libjpeg/jdatasrc.c if (src->start_of_file) /* Treat empty input file as fatal error */ src 109 3rdparty/libjpeg/jdatasrc.c src->buffer[0] = (JOCTET) 0xFF; src 110 3rdparty/libjpeg/jdatasrc.c src->buffer[1] = (JOCTET) JPEG_EOI; src 114 3rdparty/libjpeg/jdatasrc.c src->pub.next_input_byte = src->buffer; src 115 3rdparty/libjpeg/jdatasrc.c src->pub.bytes_in_buffer = nbytes; src 116 3rdparty/libjpeg/jdatasrc.c src->start_of_file = FALSE; src 136 3rdparty/libjpeg/jdatasrc.c cinfo->src->next_input_byte = mybuffer; src 137 3rdparty/libjpeg/jdatasrc.c cinfo->src->bytes_in_buffer = 2; src 158 3rdparty/libjpeg/jdatasrc.c struct jpeg_source_mgr * src = cinfo->src; src 165 3rdparty/libjpeg/jdatasrc.c while (num_bytes > (long) src->bytes_in_buffer) { src 166 3rdparty/libjpeg/jdatasrc.c num_bytes -= (long) src->bytes_in_buffer; src 167 3rdparty/libjpeg/jdatasrc.c (void) (*src->fill_input_buffer) (cinfo); src 172 3rdparty/libjpeg/jdatasrc.c src->next_input_byte += (size_t) num_bytes; src 173 3rdparty/libjpeg/jdatasrc.c src->bytes_in_buffer -= (size_t) num_bytes; src 212 3rdparty/libjpeg/jdatasrc.c my_src_ptr src; src 221 3rdparty/libjpeg/jdatasrc.c if (cinfo->src == NULL) { /* first time for this JPEG object? */ src 222 3rdparty/libjpeg/jdatasrc.c cinfo->src = (struct jpeg_source_mgr *) src 225 3rdparty/libjpeg/jdatasrc.c src = (my_src_ptr) cinfo->src; src 226 3rdparty/libjpeg/jdatasrc.c src->buffer = (JOCTET *) src 231 3rdparty/libjpeg/jdatasrc.c src = (my_src_ptr) cinfo->src; src 232 3rdparty/libjpeg/jdatasrc.c src->pub.init_source = init_source; src 233 3rdparty/libjpeg/jdatasrc.c src->pub.fill_input_buffer = fill_input_buffer; src 234 3rdparty/libjpeg/jdatasrc.c src->pub.skip_input_data = skip_input_data; src 235 3rdparty/libjpeg/jdatasrc.c src->pub.resync_to_restart = jpeg_resync_to_restart; /* use default method */ src 236 3rdparty/libjpeg/jdatasrc.c src->pub.term_source = term_source; src 237 3rdparty/libjpeg/jdatasrc.c src->infile = infile; src 238 3rdparty/libjpeg/jdatasrc.c src->pub.bytes_in_buffer = 0; /* forces fill_input_buffer on first read */ src 239 3rdparty/libjpeg/jdatasrc.c src->pub.next_input_byte = NULL; /* until buffer loaded */ src 252 3rdparty/libjpeg/jdatasrc.c struct jpeg_source_mgr * src; src 261 3rdparty/libjpeg/jdatasrc.c if (cinfo->src == NULL) { /* first time for this JPEG object? */ src 262 3rdparty/libjpeg/jdatasrc.c cinfo->src = (struct jpeg_source_mgr *) src 267 3rdparty/libjpeg/jdatasrc.c src = cinfo->src; src 268 3rdparty/libjpeg/jdatasrc.c src->init_source = init_mem_source; src 269 3rdparty/libjpeg/jdatasrc.c src->fill_input_buffer = fill_mem_input_buffer; src 270 3rdparty/libjpeg/jdatasrc.c src->skip_input_data = skip_input_data; src 271 3rdparty/libjpeg/jdatasrc.c src->resync_to_restart = jpeg_resync_to_restart; /* use default method */ src 272 3rdparty/libjpeg/jdatasrc.c src->term_source = term_source; src 273 3rdparty/libjpeg/jdatasrc.c src->bytes_in_buffer = (size_t) insize; src 274 3rdparty/libjpeg/jdatasrc.c src->next_input_byte = (JOCTET *) inbuffer; src 106 3rdparty/libjpeg/jdhuff.c br_state.next_input_byte = cinfop->src->next_input_byte; \ src 107 3rdparty/libjpeg/jdhuff.c br_state.bytes_in_buffer = cinfop->src->bytes_in_buffer; \ src 112 3rdparty/libjpeg/jdhuff.c cinfop->src->next_input_byte = br_state.next_input_byte; \ src 113 3rdparty/libjpeg/jdhuff.c cinfop->src->bytes_in_buffer = br_state.bytes_in_buffer; \ src 209 3rdparty/libjpeg/jdhuff.c #define ASSIGN_STATE(dest,src) ((dest) = (src)) src 212 3rdparty/libjpeg/jdhuff.c #define ASSIGN_STATE(dest,src) \ src 213 3rdparty/libjpeg/jdhuff.c ((dest).EOBRUN = (src).EOBRUN, \ src 214 3rdparty/libjpeg/jdhuff.c (dest).last_dc_val[0] = (src).last_dc_val[0], \ src 215 3rdparty/libjpeg/jdhuff.c (dest).last_dc_val[1] = (src).last_dc_val[1], \ src 216 3rdparty/libjpeg/jdhuff.c (dest).last_dc_val[2] = (src).last_dc_val[2], \ src 217 3rdparty/libjpeg/jdhuff.c (dest).last_dc_val[3] = (src).last_dc_val[3]) src 485 3rdparty/libjpeg/jdhuff.c if (! (*cinfo->src->fill_input_buffer) (cinfo)) src 487 3rdparty/libjpeg/jdhuff.c next_input_byte = cinfo->src->next_input_byte; src 488 3rdparty/libjpeg/jdhuff.c bytes_in_buffer = cinfo->src->bytes_in_buffer; src 502 3rdparty/libjpeg/jdhuff.c if (! (*cinfo->src->fill_input_buffer) (cinfo)) src 504 3rdparty/libjpeg/jdhuff.c next_input_byte = cinfo->src->next_input_byte; src 505 3rdparty/libjpeg/jdhuff.c bytes_in_buffer = cinfo->src->bytes_in_buffer; src 122 3rdparty/libjpeg/jdmarker.c struct jpeg_source_mgr * datasrc = (cinfo)->src; \ src 861 3rdparty/libjpeg/jdmarker.c (*cinfo->src->skip_input_data) (cinfo, (long) length); src 967 3rdparty/libjpeg/jdmarker.c (*cinfo->src->skip_input_data) (cinfo, (long) length); src 989 3rdparty/libjpeg/jdmarker.c (*cinfo->src->skip_input_data) (cinfo, (long) length); src 1275 3rdparty/libjpeg/jdmarker.c if (! (*cinfo->src->resync_to_restart) (cinfo, src 62 3rdparty/libjpeg/jinclude.h #define MEMCOPY(dest,src,size) bcopy((const void *)(src), (void *)(dest), (size_t)(size)) src 68 3rdparty/libjpeg/jinclude.h #define MEMCOPY(dest,src,size) memcpy((void *)(dest), (const void *)(src), (size_t)(size)) src 456 3rdparty/libjpeg/jpeglib.h struct jpeg_source_mgr * src; src 152 3rdparty/libjpeg/jutils.c #define FMEMCOPY(dest,src,size) MEMCOPY(dest,src,size) src 155 3rdparty/libjpeg/jutils.c #define FMEMCOPY(dest,src,size) _fmemcpy((void FAR *)(dest), (const void FAR *)(src), (size_t)(size)) src 153 3rdparty/libtiff/tif_jpeg.c jpeg_source_mgr src; /* data source for decompression */ src 522 3rdparty/libtiff/tif_jpeg.c sp->src.next_input_byte = (const JOCTET*) tif->tif_rawdata; src 523 3rdparty/libtiff/tif_jpeg.c sp->src.bytes_in_buffer = (size_t) tif->tif_rawcc; src 542 3rdparty/libtiff/tif_jpeg.c if( sp->src.bytes_in_buffer > 0 ) { src 557 3rdparty/libtiff/tif_jpeg.c sp->src.next_input_byte = dummy_EOI; src 558 3rdparty/libtiff/tif_jpeg.c sp->src.bytes_in_buffer = 2; src 568 3rdparty/libtiff/tif_jpeg.c if ((size_t)num_bytes > sp->src.bytes_in_buffer) { src 572 3rdparty/libtiff/tif_jpeg.c sp->src.next_input_byte += (size_t) num_bytes; src 573 3rdparty/libtiff/tif_jpeg.c sp->src.bytes_in_buffer -= (size_t) num_bytes; src 589 3rdparty/libtiff/tif_jpeg.c sp->cinfo.d.src = &sp->src; src 590 3rdparty/libtiff/tif_jpeg.c sp->src.init_source = std_init_source; src 591 3rdparty/libtiff/tif_jpeg.c sp->src.fill_input_buffer = std_fill_input_buffer; src 592 3rdparty/libtiff/tif_jpeg.c sp->src.skip_input_data = std_skip_input_data; src 593 3rdparty/libtiff/tif_jpeg.c sp->src.resync_to_restart = jpeg_resync_to_restart; src 594 3rdparty/libtiff/tif_jpeg.c sp->src.term_source = std_term_source; src 595 3rdparty/libtiff/tif_jpeg.c sp->src.bytes_in_buffer = 0; /* for safety */ src 596 3rdparty/libtiff/tif_jpeg.c sp->src.next_input_byte = NULL; src 609 3rdparty/libtiff/tif_jpeg.c sp->src.next_input_byte = (const JOCTET*) sp->jpegtables; src 610 3rdparty/libtiff/tif_jpeg.c sp->src.bytes_in_buffer = (size_t) sp->jpegtables_length; src 617 3rdparty/libtiff/tif_jpeg.c sp->src.init_source = tables_init_source; src 1026 3rdparty/libtiff/tif_jpeg.c tif->tif_rawcp = (uint8*) sp->src.next_input_byte; src 1027 3rdparty/libtiff/tif_jpeg.c tif->tif_rawcc = sp->src.bytes_in_buffer; src 1179 3rdparty/libtiff/tif_jpeg.c sp->src.next_input_byte = (const JOCTET*) tif->tif_rawcp; src 1180 3rdparty/libtiff/tif_jpeg.c sp->src.bytes_in_buffer = (size_t) tif->tif_rawcc; src 1274 3rdparty/libtiff/tif_jpeg.c tif->tif_rawcp = (uint8*) sp->src.next_input_byte; src 1275 3rdparty/libtiff/tif_jpeg.c tif->tif_rawcc = sp->src.bytes_in_buffer; src 1168 3rdparty/libtiff/tif_ojpeg.c sp->libjpeg_jpeg_decompress_struct.src=&(sp->libjpeg_jpeg_source_mgr); src 191 3rdparty/libwebp/dec/buffer.c void WebPCopyDecBuffer(const WebPDecBuffer* const src, src 193 3rdparty/libwebp/dec/buffer.c if (src != NULL && dst != NULL) { src 194 3rdparty/libwebp/dec/buffer.c *dst = *src; src 195 3rdparty/libwebp/dec/buffer.c if (src->private_memory != NULL) { src 203 3rdparty/libwebp/dec/buffer.c void WebPGrabDecBuffer(WebPDecBuffer* const src, WebPDecBuffer* const dst) { src 204 3rdparty/libwebp/dec/buffer.c if (src != NULL && dst != NULL) { src 205 3rdparty/libwebp/dec/buffer.c *dst = *src; src 206 3rdparty/libwebp/dec/buffer.c if (src->private_memory != NULL) { src 207 3rdparty/libwebp/dec/buffer.c src->is_external_memory = 1; // src relinquishes ownership src 208 3rdparty/libwebp/dec/buffer.c src->private_memory = NULL; src 550 3rdparty/libwebp/dec/frame.c static WEBP_INLINE void Copy32b(uint8_t* dst, uint8_t* src) { src 551 3rdparty/libwebp/dec/frame.c *(uint32_t*)dst = *(uint32_t*)src; src 768 3rdparty/libwebp/dec/idec.c const WebPDecBuffer* const src = GetOutputBuffer(idec); src 772 3rdparty/libwebp/dec/idec.c if (src) { src 773 3rdparty/libwebp/dec/idec.c if (width != NULL) *width = src->width; src 779 3rdparty/libwebp/dec/idec.c return src; src 784 3rdparty/libwebp/dec/idec.c const WebPDecBuffer* const src = GetOutputBuffer(idec); src 785 3rdparty/libwebp/dec/idec.c if (src == NULL) return NULL; src 786 3rdparty/libwebp/dec/idec.c if (src->colorspace >= MODE_YUV) { src 791 3rdparty/libwebp/dec/idec.c if (width != NULL) *width = src->width; src 792 3rdparty/libwebp/dec/idec.c if (height != NULL) *height = src->height; src 793 3rdparty/libwebp/dec/idec.c if (stride != NULL) *stride = src->u.RGBA.stride; src 795 3rdparty/libwebp/dec/idec.c return src->u.RGBA.rgba; src 802 3rdparty/libwebp/dec/idec.c const WebPDecBuffer* const src = GetOutputBuffer(idec); src 803 3rdparty/libwebp/dec/idec.c if (src == NULL) return NULL; src 804 3rdparty/libwebp/dec/idec.c if (src->colorspace < MODE_YUV) { src 809 3rdparty/libwebp/dec/idec.c if (u != NULL) *u = src->u.YUVA.u; src 810 3rdparty/libwebp/dec/idec.c if (v != NULL) *v = src->u.YUVA.v; src 811 3rdparty/libwebp/dec/idec.c if (a != NULL) *a = src->u.YUVA.a; src 812 3rdparty/libwebp/dec/idec.c if (width != NULL) *width = src->width; src 813 3rdparty/libwebp/dec/idec.c if (height != NULL) *height = src->height; src 814 3rdparty/libwebp/dec/idec.c if (stride != NULL) *stride = src->u.YUVA.y_stride; src 815 3rdparty/libwebp/dec/idec.c if (uv_stride != NULL) *uv_stride = src->u.YUVA.u_stride; src 816 3rdparty/libwebp/dec/idec.c if (a_stride != NULL) *a_stride = src->u.YUVA.a_stride; src 818 3rdparty/libwebp/dec/idec.c return src->u.YUVA.y; src 281 3rdparty/libwebp/dec/io.c static int Rescale(const uint8_t* src, int src_stride, src 285 3rdparty/libwebp/dec/io.c const int lines_in = WebPRescalerImport(wrk, new_lines, src, src_stride); src 286 3rdparty/libwebp/dec/io.c src += lines_in * src_stride; src 407 3rdparty/libwebp/dec/vp8l.c const uint32_t* const src = (const uint32_t*)rescaler->dst; src 413 3rdparty/libwebp/dec/vp8l.c VP8LConvertFromBGRA(src, dst_width, colorspace, dst); src 456 3rdparty/libwebp/dec/vp8l.c static void ConvertToYUVA(const uint32_t* const src, int width, int y_pos, src 464 3rdparty/libwebp/dec/vp8l.c const uint32_t p = src[i]; src 476 3rdparty/libwebp/dec/vp8l.c const uint32_t v0 = src[2 * i + 0]; src 477 3rdparty/libwebp/dec/vp8l.c const uint32_t v1 = src[2 * i + 1]; src 495 3rdparty/libwebp/dec/vp8l.c const uint32_t v0 = src[2 * i + 0]; src 514 3rdparty/libwebp/dec/vp8l.c for (i = 0; i < width; ++i) a[i] = (src[i] >> 24); src 520 3rdparty/libwebp/dec/vp8l.c const uint32_t* const src = (const uint32_t*)rescaler->dst; src 525 3rdparty/libwebp/dec/vp8l.c ConvertToYUVA(src, dst_width, y_pos, dec->output_); src 694 3rdparty/libwebp/dec/vp8l.c TYPE* src = data; \ src 703 3rdparty/libwebp/dec/vp8l.c while (!br->eos_ && src < src_end) { \ src 720 3rdparty/libwebp/dec/vp8l.c *src = STORE_PIXEL(alpha, red, green, blue); \ src 722 3rdparty/libwebp/dec/vp8l.c ++src; \ src 731 3rdparty/libwebp/dec/vp8l.c while (last_cached < src) { \ src 744 3rdparty/libwebp/dec/vp8l.c if (src - data < dist || src_end - src < length) { \ src 750 3rdparty/libwebp/dec/vp8l.c for (i = 0; i < length; ++i) src[i] = src[i - dist]; \ src 751 3rdparty/libwebp/dec/vp8l.c src += length; \ src 761 3rdparty/libwebp/dec/vp8l.c if (src < src_end) { \ src 764 3rdparty/libwebp/dec/vp8l.c while (last_cached < src) { \ src 772 3rdparty/libwebp/dec/vp8l.c while (last_cached < src) { \ src 775 3rdparty/libwebp/dec/vp8l.c *src = VP8LColorCacheLookup(color_cache, key); \ src 787 3rdparty/libwebp/dec/vp8l.c if (br->error_ || !ok || (br->eos_ && src < src_end)) { \ src 791 3rdparty/libwebp/dec/vp8l.c } else if (src == src_end) { \ src 1103 3rdparty/libwebp/dec/vp8l.c const uint32_t* const src = dec->argb_cache_; src 1105 3rdparty/libwebp/dec/vp8l.c for (i = 0; i < cache_pixs; ++i) dst[i] = (src[i] >> 8) & 0xff; src 102 3rdparty/libwebp/dec/webpi.h void WebPCopyDecBuffer(const WebPDecBuffer* const src, src 106 3rdparty/libwebp/dec/webpi.h void WebPGrabDecBuffer(WebPDecBuffer* const src, WebPDecBuffer* const dst); src 59 3rdparty/libwebp/dsp/dsp.h typedef void (*VP8Fdct)(const uint8_t* src, const uint8_t* ref, int16_t* out); src 80 3rdparty/libwebp/dsp/dsp.h typedef void (*VP8BlockCopy)(const uint8_t* src, uint8_t* dst); src 135 3rdparty/libwebp/dsp/enc.c static void FTransform(const uint8_t* src, const uint8_t* ref, int16_t* out) { src 138 3rdparty/libwebp/dsp/enc.c for (i = 0; i < 4; ++i, src += BPS, ref += BPS) { src 139 3rdparty/libwebp/dsp/enc.c const int d0 = src[0] - ref[0]; // 9bit dynamic range ([-255,255]) src 140 3rdparty/libwebp/dsp/enc.c const int d1 = src[1] - ref[1]; src 141 3rdparty/libwebp/dsp/enc.c const int d2 = src[2] - ref[2]; src 142 3rdparty/libwebp/dsp/enc.c const int d3 = src[3] - ref[3]; src 658 3rdparty/libwebp/dsp/enc.c static WEBP_INLINE void Copy(const uint8_t* src, uint8_t* dst, int size) { src 661 3rdparty/libwebp/dsp/enc.c memcpy(dst, src, size); src 662 3rdparty/libwebp/dsp/enc.c src += BPS; src 667 3rdparty/libwebp/dsp/enc.c static void Copy4x4(const uint8_t* src, uint8_t* dst) { Copy(src, dst, 4); } src 233 3rdparty/libwebp/dsp/enc_neon.c static void FTransform(const uint8_t* src, const uint8_t* ref, src 236 3rdparty/libwebp/dsp/enc_neon.c const uint8_t* src_ptr = src; src 325 3rdparty/libwebp/dsp/enc_sse2.c static void FTransformSSE2(const uint8_t* src, const uint8_t* ref, src 349 3rdparty/libwebp/dsp/enc_sse2.c const __m128i src0 = _mm_loadl_epi64((__m128i*)&src[0 * BPS]); src 350 3rdparty/libwebp/dsp/enc_sse2.c const __m128i src1 = _mm_loadl_epi64((__m128i*)&src[1 * BPS]); src 351 3rdparty/libwebp/dsp/enc_sse2.c const __m128i src2 = _mm_loadl_epi64((__m128i*)&src[2 * BPS]); src 352 3rdparty/libwebp/dsp/enc_sse2.c const __m128i src3 = _mm_loadl_epi64((__m128i*)&src[3 * BPS]); src 1101 3rdparty/libwebp/dsp/lossless.c int y_start, int y_end, const TYPE* src, TYPE* dst) { \ src 1118 3rdparty/libwebp/dsp/lossless.c if ((x & count_mask) == 0) packed_pixels = GET_INDEX(*src++); \ src 1127 3rdparty/libwebp/dsp/lossless.c *dst++ = GET_VALUE(color_map[GET_INDEX(*src++)]); \ src 1188 3rdparty/libwebp/dsp/lossless.c uint32_t* const src = out + out_stride - in_stride; src 1189 3rdparty/libwebp/dsp/lossless.c memmove(src, out, in_stride * sizeof(*src)); src 1190 3rdparty/libwebp/dsp/lossless.c ColorIndexInverseTransform(transform, row_start, row_end, src, out); src 1209 3rdparty/libwebp/dsp/lossless.c static void ConvertBGRAToRGB(const uint32_t* src, src 1211 3rdparty/libwebp/dsp/lossless.c const uint32_t* const src_end = src + num_pixels; src 1212 3rdparty/libwebp/dsp/lossless.c while (src < src_end) { src 1213 3rdparty/libwebp/dsp/lossless.c const uint32_t argb = *src++; src 1220 3rdparty/libwebp/dsp/lossless.c static void ConvertBGRAToRGBA(const uint32_t* src, src 1222 3rdparty/libwebp/dsp/lossless.c const uint32_t* const src_end = src + num_pixels; src 1223 3rdparty/libwebp/dsp/lossless.c while (src < src_end) { src 1224 3rdparty/libwebp/dsp/lossless.c const uint32_t argb = *src++; src 1232 3rdparty/libwebp/dsp/lossless.c static void ConvertBGRAToRGBA4444(const uint32_t* src, src 1234 3rdparty/libwebp/dsp/lossless.c const uint32_t* const src_end = src + num_pixels; src 1235 3rdparty/libwebp/dsp/lossless.c while (src < src_end) { src 1236 3rdparty/libwebp/dsp/lossless.c const uint32_t argb = *src++; src 1249 3rdparty/libwebp/dsp/lossless.c static void ConvertBGRAToRGB565(const uint32_t* src, src 1251 3rdparty/libwebp/dsp/lossless.c const uint32_t* const src_end = src + num_pixels; src 1252 3rdparty/libwebp/dsp/lossless.c while (src < src_end) { src 1253 3rdparty/libwebp/dsp/lossless.c const uint32_t argb = *src++; src 1266 3rdparty/libwebp/dsp/lossless.c static void ConvertBGRAToBGR(const uint32_t* src, src 1268 3rdparty/libwebp/dsp/lossless.c const uint32_t* const src_end = src + num_pixels; src 1269 3rdparty/libwebp/dsp/lossless.c while (src < src_end) { src 1270 3rdparty/libwebp/dsp/lossless.c const uint32_t argb = *src++; src 1277 3rdparty/libwebp/dsp/lossless.c static void CopyOrSwap(const uint32_t* src, int num_pixels, uint8_t* dst, src 1280 3rdparty/libwebp/dsp/lossless.c const uint32_t* const src_end = src + num_pixels; src 1281 3rdparty/libwebp/dsp/lossless.c while (src < src_end) { src 1282 3rdparty/libwebp/dsp/lossless.c uint32_t argb = *src++; src 1313 3rdparty/libwebp/dsp/lossless.c memcpy(dst, src, num_pixels * sizeof(*src)); src 43 3rdparty/libwebp/dsp/lossless.h const uint8_t* src, uint8_t* dst); src 71 3rdparty/libwebp/enc/alpha.c const uint8_t* src = data; src 74 3rdparty/libwebp/enc/alpha.c dst[i] = (src[i] << 8) | 0xff000000u; src 76 3rdparty/libwebp/enc/alpha.c src += width; src 152 3rdparty/libwebp/enc/alpha.c static void CopyPlane(const uint8_t* src, int src_stride, src 155 3rdparty/libwebp/enc/alpha.c memcpy(dst, src, width); src 156 3rdparty/libwebp/enc/alpha.c src += src_stride; src 277 3rdparty/libwebp/enc/analysis.c const uint8_t* const src = it->yuv_in_ + Y_OFF + VP8Scan[it->i4_]; src 284 3rdparty/libwebp/enc/analysis.c VP8CollectHistogram(src, it->yuv_p_ + VP8I4ModeOffsets[mode], src 241 3rdparty/libwebp/enc/filter.c void VP8SSIMAddStats(const DistoStats* const src, DistoStats* const dst) { src 242 3rdparty/libwebp/enc/filter.c dst->w += src->w; src 243 3rdparty/libwebp/enc/filter.c dst->xm += src->xm; src 244 3rdparty/libwebp/enc/filter.c dst->ym += src->ym; src 245 3rdparty/libwebp/enc/filter.c dst->xxm += src->xxm; src 246 3rdparty/libwebp/enc/filter.c dst->xym += src->xym; src 247 3rdparty/libwebp/enc/filter.c dst->yym += src->yym; src 89 3rdparty/libwebp/enc/iterator.c static void ImportBlock(const uint8_t* src, int src_stride, src 93 3rdparty/libwebp/enc/iterator.c memcpy(dst, src, w); src 98 3rdparty/libwebp/enc/iterator.c src += src_stride; src 136 3rdparty/libwebp/enc/iterator.c static void ExportBlock(const uint8_t* src, uint8_t* dst, int dst_stride, src 139 3rdparty/libwebp/enc/iterator.c memcpy(dst, src, w); src 141 3rdparty/libwebp/enc/iterator.c src += BPS; src 160 3rdparty/libwebp/enc/picture.c static void WebPPictureGrabSpecs(const WebPPicture* const src, src 162 3rdparty/libwebp/enc/picture.c assert(src != NULL && dst != NULL); src 163 3rdparty/libwebp/enc/picture.c *dst = *src; src 199 3rdparty/libwebp/enc/picture.c static void CopyPlane(const uint8_t* src, int src_stride, src 202 3rdparty/libwebp/enc/picture.c memcpy(dst, src, width); src 203 3rdparty/libwebp/enc/picture.c src += src_stride; src 232 3rdparty/libwebp/enc/picture.c int WebPPictureCopy(const WebPPicture* src, WebPPicture* dst) { src 233 3rdparty/libwebp/enc/picture.c if (src == NULL || dst == NULL) return 0; src 234 3rdparty/libwebp/enc/picture.c if (src == dst) return 1; src 236 3rdparty/libwebp/enc/picture.c WebPPictureGrabSpecs(src, dst); src 239 3rdparty/libwebp/enc/picture.c if (!src->use_argb) { src 240 3rdparty/libwebp/enc/picture.c CopyPlane(src->y, src->y_stride, src 242 3rdparty/libwebp/enc/picture.c CopyPlane(src->u, src->uv_stride, src 244 3rdparty/libwebp/enc/picture.c CopyPlane(src->v, src->uv_stride, src 247 3rdparty/libwebp/enc/picture.c CopyPlane(src->a, src->a_stride, src 252 3rdparty/libwebp/enc/picture.c int uv0_width = src->width; src 256 3rdparty/libwebp/enc/picture.c CopyPlane(src->u0, src->uv0_stride, src 258 3rdparty/libwebp/enc/picture.c CopyPlane(src->v0, src->uv0_stride, src 263 3rdparty/libwebp/enc/picture.c CopyPlane((const uint8_t*)src->argb, 4 * src->argb_stride, src 278 3rdparty/libwebp/enc/picture.c int WebPPictureView(const WebPPicture* src, src 281 3rdparty/libwebp/enc/picture.c if (src == NULL || dst == NULL) return 0; src 284 3rdparty/libwebp/enc/picture.c if (!AdjustAndCheckRectangle(src, &left, &top, width, height)) return 0; src 286 3rdparty/libwebp/enc/picture.c if (src != dst) { // beware of aliasing! We don't want to leak 'memory_'. src 287 3rdparty/libwebp/enc/picture.c WebPPictureGrabSpecs(src, dst); src 291 3rdparty/libwebp/enc/picture.c if (!src->use_argb) { src 292 3rdparty/libwebp/enc/picture.c dst->y = src->y + top * src->y_stride + left; src 293 3rdparty/libwebp/enc/picture.c dst->u = src->u + (top >> 1) * src->uv_stride + (left >> 1); src 294 3rdparty/libwebp/enc/picture.c dst->v = src->v + (top >> 1) * src->uv_stride + (left >> 1); src 295 3rdparty/libwebp/enc/picture.c dst->y_stride = src->y_stride; src 296 3rdparty/libwebp/enc/picture.c dst->uv_stride = src->uv_stride; src 297 3rdparty/libwebp/enc/picture.c if (src->a != NULL) { src 298 3rdparty/libwebp/enc/picture.c dst->a = src->a + top * src->a_stride + left; src 299 3rdparty/libwebp/enc/picture.c dst->a_stride = src->a_stride; src 302 3rdparty/libwebp/enc/picture.c if (src->u0 != NULL) { src 305 3rdparty/libwebp/enc/picture.c dst->u0 = src->u0 + top * src->uv0_stride + left_pos; src 306 3rdparty/libwebp/enc/picture.c dst->v0 = src->v0 + top * src->uv0_stride + left_pos; src 307 3rdparty/libwebp/enc/picture.c dst->uv0_stride = src->uv0_stride; src 311 3rdparty/libwebp/enc/picture.c dst->argb = src->argb + top * src->argb_stride + left; src 312 3rdparty/libwebp/enc/picture.c dst->argb_stride = src->argb_stride; src 362 3rdparty/libwebp/enc/picture.c const uint8_t* const src = src 364 3rdparty/libwebp/enc/picture.c CopyPlane(src, pic->argb_stride * 4, src 376 3rdparty/libwebp/enc/picture.c static void RescalePlane(const uint8_t* src, src 393 3rdparty/libwebp/enc/picture.c src + y * src_stride, src_stride); src 562 3rdparty/libwebp/enc/picture.c const int src = (2 * (step * (x) + (y) * rgb_stride)); \ src 564 3rdparty/libwebp/enc/picture.c const int r = SUM(r_ptr + src); \ src 565 3rdparty/libwebp/enc/picture.c const int g = SUM(g_ptr + src); \ src 566 3rdparty/libwebp/enc/picture.c const int b = SUM(b_ptr + src); \ src 572 3rdparty/libwebp/enc/picture.c const int src = (step * (x_in) + (y) * rgb_stride); \ src 574 3rdparty/libwebp/enc/picture.c const int r = SUM(r_ptr + src); \ src 575 3rdparty/libwebp/enc/picture.c const int g = SUM(g_ptr + src); \ src 576 3rdparty/libwebp/enc/picture.c const int b = SUM(b_ptr + src); \ src 811 3rdparty/libwebp/enc/picture.c const uint8_t* const src = picture->a + y * picture->a_stride; src 814 3rdparty/libwebp/enc/picture.c argb_dst[x] = (argb_dst[x] & 0x00ffffffu) | ((uint32_t)src[x] << 24); src 924 3rdparty/libwebp/enc/picture.c static float AccumulateLSIM(const uint8_t* src, int src_stride, src 939 3rdparty/libwebp/enc/picture.c const uint8_t* s = src + j * src_stride; src 962 3rdparty/libwebp/enc/picture.c int WebPPictureDistortion(const WebPPicture* src, const WebPPicture* ref, src 968 3rdparty/libwebp/enc/picture.c if (src == NULL || ref == NULL || src 969 3rdparty/libwebp/enc/picture.c src->width != ref->width || src->height != ref->height || src 970 3rdparty/libwebp/enc/picture.c src->y == NULL || ref->y == NULL || src 971 3rdparty/libwebp/enc/picture.c src->u == NULL || ref->u == NULL || src 972 3rdparty/libwebp/enc/picture.c src->v == NULL || ref->v == NULL || src 977 3rdparty/libwebp/enc/picture.c if (src->use_argb == 1 || src->use_argb != ref->use_argb) { src 981 3rdparty/libwebp/enc/picture.c has_alpha = !!(src->colorspace & WEBP_CSP_ALPHA_BIT); src 983 3rdparty/libwebp/enc/picture.c (has_alpha && (src->a == NULL || ref->a == NULL))) { src 989 3rdparty/libwebp/enc/picture.c uv_w = HALVE(src->width); src 990 3rdparty/libwebp/enc/picture.c uv_h = HALVE(src->height); src 993 3rdparty/libwebp/enc/picture.c sse[0] = AccumulateLSIM(src->y, src->y_stride, src 994 3rdparty/libwebp/enc/picture.c ref->y, ref->y_stride, src->width, src->height); src 995 3rdparty/libwebp/enc/picture.c sse[1] = AccumulateLSIM(src->u, src->uv_stride, src 997 3rdparty/libwebp/enc/picture.c sse[2] = AccumulateLSIM(src->v, src->uv_stride, src 999 3rdparty/libwebp/enc/picture.c sse[3] = has_alpha ? AccumulateLSIM(src->a, src->a_stride, src 1001 3rdparty/libwebp/enc/picture.c src->width, src->height) src 1003 3rdparty/libwebp/enc/picture.c result[0] = GetPSNR(sse[0] / (src->width * src->height)); src 1006 3rdparty/libwebp/enc/picture.c result[3] = GetPSNR(sse[3] / (src->width * src->height)); src 1009 3rdparty/libwebp/enc/picture.c int total_pixels = src->width * src->height + 2 * uv_w * uv_h; src 1011 3rdparty/libwebp/enc/picture.c total_pixels += src->width * src->height; src 1018 3rdparty/libwebp/enc/picture.c VP8SSIMAccumulatePlane(src->y, src->y_stride, src 1020 3rdparty/libwebp/enc/picture.c src->width, src->height, &stats[0]); src 1021 3rdparty/libwebp/enc/picture.c VP8SSIMAccumulatePlane(src->u, src->uv_stride, src 1024 3rdparty/libwebp/enc/picture.c VP8SSIMAccumulatePlane(src->v, src->uv_stride, src 1028 3rdparty/libwebp/enc/picture.c VP8SSIMAccumulatePlane(src->a, src->a_stride, src 1030 3rdparty/libwebp/enc/picture.c src->width, src->height, &stats[3]); src 439 3rdparty/libwebp/enc/quant.c static void CopyScore(VP8ModeScore* const dst, const VP8ModeScore* const src) { src 440 3rdparty/libwebp/enc/quant.c dst->D = src->D; src 441 3rdparty/libwebp/enc/quant.c dst->SD = src->SD; src 442 3rdparty/libwebp/enc/quant.c dst->R = src->R; src 443 3rdparty/libwebp/enc/quant.c dst->nz = src->nz; // note that nz is not accumulated, but just copied. src 444 3rdparty/libwebp/enc/quant.c dst->score = src->score; src 447 3rdparty/libwebp/enc/quant.c static void AddScore(VP8ModeScore* const dst, const VP8ModeScore* const src) { src 448 3rdparty/libwebp/enc/quant.c dst->D += src->D; src 449 3rdparty/libwebp/enc/quant.c dst->SD += src->SD; src 450 3rdparty/libwebp/enc/quant.c dst->R += src->R; src 451 3rdparty/libwebp/enc/quant.c dst->nz |= src->nz; // here, new nz bits are accumulated. src 452 3rdparty/libwebp/enc/quant.c dst->score += src->score; src 653 3rdparty/libwebp/enc/quant.c const uint8_t* const src = it->yuv_in_ + Y_OFF; src 660 3rdparty/libwebp/enc/quant.c VP8FTransform(src + VP8Scan[n], ref + VP8Scan[n], tmp[n]); src 695 3rdparty/libwebp/enc/quant.c const uint8_t* const src, src 704 3rdparty/libwebp/enc/quant.c VP8FTransform(src, ref, tmp); src 721 3rdparty/libwebp/enc/quant.c const uint8_t* const src = it->yuv_in_ + U_OFF; src 728 3rdparty/libwebp/enc/quant.c VP8FTransform(src + VP8Scan[16 + n], ref + VP8Scan[16 + n], tmp[n]); src 775 3rdparty/libwebp/enc/quant.c const uint8_t* const src = it->yuv_in_ + Y_OFF; src 788 3rdparty/libwebp/enc/quant.c rd16.D = VP8SSE16x16(src, tmp_dst); src 789 3rdparty/libwebp/enc/quant.c rd16.SD = tlambda ? MULT_8B(tlambda, VP8TDisto16x16(src, tmp_dst, kWeightY)) src 842 3rdparty/libwebp/enc/quant.c const uint8_t* const src = src0 + VP8Scan[it->i4_]; src 855 3rdparty/libwebp/enc/quant.c ReconstructIntra4(it, tmp_levels, src, tmp_dst, mode) << it->i4_; src 858 3rdparty/libwebp/enc/quant.c rd_tmp.D = VP8SSE4x4(src, tmp_dst); src 860 3rdparty/libwebp/enc/quant.c tlambda ? MULT_8B(tlambda, VP8TDisto4x4(src, tmp_dst, kWeightY)) src 901 3rdparty/libwebp/enc/quant.c const uint8_t* const src = it->yuv_in_ + U_OFF; src 916 3rdparty/libwebp/enc/quant.c rd_uv.D = VP8SSE16x8(src, tmp_dst); src 948 3rdparty/libwebp/enc/quant.c const uint8_t* const src = it->yuv_in_ + Y_OFF + VP8Scan[it->i4_]; src 952 3rdparty/libwebp/enc/quant.c src, dst, mode) << it->i4_; src 970 3rdparty/libwebp/enc/quant.c const uint8_t* const src = it->yuv_in_ + Y_OFF; src 971 3rdparty/libwebp/enc/quant.c const score_t score = VP8SSE16x16(src, ref); src 990 3rdparty/libwebp/enc/quant.c const uint8_t* const src = it->yuv_in_ + Y_OFF + VP8Scan[it->i4_]; src 997 3rdparty/libwebp/enc/quant.c const score_t score = VP8SSE4x4(src, ref); src 532 3rdparty/libwebp/enc/vp8enci.h void VP8SSIMAddStats(const DistoStats* const src, DistoStats* const dst); src 816 3rdparty/libwebp/enc/vp8l.c static void ApplyPalette(uint32_t* src, uint32_t* dst, src 837 3rdparty/libwebp/enc/vp8l.c const int color = (src[x] >> 8) & 0xff; src 841 3rdparty/libwebp/enc/vp8l.c src += src_stride; src 850 3rdparty/libwebp/enc/vp8l.c const uint32_t pix = src[x]; src 863 3rdparty/libwebp/enc/vp8l.c src += src_stride; src 877 3rdparty/libwebp/enc/vp8l.c uint32_t* src = pic->argb; src 901 3rdparty/libwebp/enc/vp8l.c ApplyPalette(src, dst, pic->argb_stride, enc->current_width_, src 33 3rdparty/libwebp/utils/filters.c static WEBP_INLINE void PredictLine(const uint8_t* src, const uint8_t* pred, src 37 3rdparty/libwebp/utils/filters.c for (i = 0; i < length; ++i) dst[i] = src[i] + pred[i]; src 39 3rdparty/libwebp/utils/filters.c for (i = 0; i < length; ++i) dst[i] = src[i] - pred[i]; src 55 3rdparty/libwebp/utils/rescaler.c const uint8_t* const src, int channel) { src 66 3rdparty/libwebp/utils/rescaler.c sum += src[x_in]; src 70 3rdparty/libwebp/utils/rescaler.c const int32_t base = src[x_in]; src 79 3rdparty/libwebp/utils/rescaler.c int left = src[channel], right = src[channel]; src 84 3rdparty/libwebp/utils/rescaler.c right = src[x_in]; src 127 3rdparty/libwebp/utils/rescaler.c const uint8_t* src, int src_stride) { src 132 3rdparty/libwebp/utils/rescaler.c WebPRescalerImportRow(wrk, src, channel); src 134 3rdparty/libwebp/utils/rescaler.c src += src_stride; src 52 3rdparty/libwebp/utils/rescaler.h const uint8_t* const src, int channel); src 57 3rdparty/libwebp/utils/rescaler.h const uint8_t* src, int src_stride); src 369 3rdparty/libwebp/webp/encode.h WEBP_EXTERN(int) WebPPictureCopy(const WebPPicture* src, WebPPicture* dst); src 376 3rdparty/libwebp/webp/encode.h const WebPPicture* src, const WebPPicture* ref, src 402 3rdparty/libwebp/webp/encode.h WEBP_EXTERN(int) WebPPictureView(const WebPPicture* src, src 73 3rdparty/libwebp/webp/mux_types.h static WEBP_INLINE int WebPDataCopy(const WebPData* src, WebPData* dst) { src 74 3rdparty/libwebp/webp/mux_types.h if (src == NULL || dst == NULL) return 0; src 76 3rdparty/libwebp/webp/mux_types.h if (src->bytes != NULL && src->size != 0) { src 77 3rdparty/libwebp/webp/mux_types.h dst->bytes = (uint8_t*)malloc(src->size); src 79 3rdparty/libwebp/webp/mux_types.h memcpy((void*)dst->bytes, src->bytes, src->size); src 80 3rdparty/libwebp/webp/mux_types.h dst->size = src->size; src 94 3rdparty/openexr/Imath/ImathBox.h bool operator == (const Box<T> &src) const; src 95 3rdparty/openexr/Imath/ImathBox.h bool operator != (const Box<T> &src) const; src 170 3rdparty/openexr/Imath/ImathBox.h Box<T>::operator == (const Box<T> &src) const src 172 3rdparty/openexr/Imath/ImathBox.h return (min == src.min && max == src.max); src 178 3rdparty/openexr/Imath/ImathBox.h Box<T>::operator != (const Box<T> &src) const src 180 3rdparty/openexr/Imath/ImathBox.h return (min != src.min || max != src.max); src 365 3rdparty/openexr/Imath/ImathBox.h bool operator == (const Box<Vec2<T> > &src) const; src 366 3rdparty/openexr/Imath/ImathBox.h bool operator != (const Box<Vec2<T> > &src) const; src 426 3rdparty/openexr/Imath/ImathBox.h Box<Vec2<T> >::operator == (const Box<Vec2<T> > &src) const src 428 3rdparty/openexr/Imath/ImathBox.h return (min == src.min && max == src.max); src 434 3rdparty/openexr/Imath/ImathBox.h Box<Vec2<T> >::operator != (const Box<Vec2<T> > &src) const src 436 3rdparty/openexr/Imath/ImathBox.h return (min != src.min || max != src.max); src 607 3rdparty/openexr/Imath/ImathBox.h bool operator == (const Box<Vec3<T> > &src) const; src 608 3rdparty/openexr/Imath/ImathBox.h bool operator != (const Box<Vec3<T> > &src) const; src 669 3rdparty/openexr/Imath/ImathBox.h Box<Vec3<T> >::operator == (const Box<Vec3<T> > &src) const src 671 3rdparty/openexr/Imath/ImathBox.h return (min == src.min && max == src.max); src 677 3rdparty/openexr/Imath/ImathBox.h Box<Vec3<T> >::operator != (const Box<Vec3<T> > &src) const src 679 3rdparty/openexr/Imath/ImathBox.h return (min != src.min || max != src.max); src 87 3rdparty/openexr/Imath/ImathFrustum.h bool operator == (const Frustum<T> &src) const; src 88 3rdparty/openexr/Imath/ImathFrustum.h bool operator != (const Frustum<T> &src) const; src 235 3rdparty/openexr/Imath/ImathFrustum.h Frustum<T>::operator == (const Frustum<T> &src) const src 238 3rdparty/openexr/Imath/ImathFrustum.h _nearPlane == src._nearPlane && src 239 3rdparty/openexr/Imath/ImathFrustum.h _farPlane == src._farPlane && src 240 3rdparty/openexr/Imath/ImathFrustum.h _left == src._left && src 241 3rdparty/openexr/Imath/ImathFrustum.h _right == src._right && src 242 3rdparty/openexr/Imath/ImathFrustum.h _top == src._top && src 243 3rdparty/openexr/Imath/ImathFrustum.h _bottom == src._bottom && src 244 3rdparty/openexr/Imath/ImathFrustum.h _orthographic == src._orthographic; src 249 3rdparty/openexr/Imath/ImathFrustum.h Frustum<T>::operator != (const Frustum<T> &src) const src 251 3rdparty/openexr/Imath/ImathFrustum.h return !operator== (src); src 81 3rdparty/openexr/Imath/ImathInterval.h bool operator == (const Interval<T> &src) const; src 146 3rdparty/openexr/Imath/ImathInterval.h Interval<T>::operator == (const Interval<T> &src) const src 148 3rdparty/openexr/Imath/ImathInterval.h return (min == src.min && max == src.max); src 228 3rdparty/openexr/Imath/ImathMatrix.h void multVecMatrix(const Vec2<S> &src, Vec2<S> &dst) const; src 231 3rdparty/openexr/Imath/ImathMatrix.h void multDirMatrix(const Vec2<S> &src, Vec2<S> &dst) const; src 602 3rdparty/openexr/Imath/ImathMatrix.h void multVecMatrix(const Vec3<S> &src, Vec3<S> &dst) const; src 605 3rdparty/openexr/Imath/ImathMatrix.h void multDirMatrix(const Vec3<S> &src, Vec3<S> &dst) const; src 1340 3rdparty/openexr/Imath/ImathMatrix.h Matrix33<T>::multVecMatrix(const Vec2<S> &src, Vec2<S> &dst) const src 1344 3rdparty/openexr/Imath/ImathMatrix.h a = src[0] * x[0][0] + src[1] * x[1][0] + x[2][0]; src 1345 3rdparty/openexr/Imath/ImathMatrix.h b = src[0] * x[0][1] + src[1] * x[1][1] + x[2][1]; src 1346 3rdparty/openexr/Imath/ImathMatrix.h w = src[0] * x[0][2] + src[1] * x[1][2] + x[2][2]; src 1355 3rdparty/openexr/Imath/ImathMatrix.h Matrix33<T>::multDirMatrix(const Vec2<S> &src, Vec2<S> &dst) const src 1359 3rdparty/openexr/Imath/ImathMatrix.h a = src[0] * x[0][0] + src[1] * x[1][0]; src 1360 3rdparty/openexr/Imath/ImathMatrix.h b = src[0] * x[0][1] + src[1] * x[1][1]; src 2578 3rdparty/openexr/Imath/ImathMatrix.h Matrix44<T>::multVecMatrix(const Vec3<S> &src, Vec3<S> &dst) const src 2582 3rdparty/openexr/Imath/ImathMatrix.h a = src[0] * x[0][0] + src[1] * x[1][0] + src[2] * x[2][0] + x[3][0]; src 2583 3rdparty/openexr/Imath/ImathMatrix.h b = src[0] * x[0][1] + src[1] * x[1][1] + src[2] * x[2][1] + x[3][1]; src 2584 3rdparty/openexr/Imath/ImathMatrix.h c = src[0] * x[0][2] + src[1] * x[1][2] + src[2] * x[2][2] + x[3][2]; src 2585 3rdparty/openexr/Imath/ImathMatrix.h w = src[0] * x[0][3] + src[1] * x[1][3] + src[2] * x[2][3] + x[3][3]; src 2594 3rdparty/openexr/Imath/ImathMatrix.h Matrix44<T>::multDirMatrix(const Vec3<S> &src, Vec3<S> &dst) const src 2598 3rdparty/openexr/Imath/ImathMatrix.h a = src[0] * x[0][0] + src[1] * x[1][0] + src[2] * x[2][0]; src 2599 3rdparty/openexr/Imath/ImathMatrix.h b = src[0] * x[0][1] + src[1] * x[1][1] + src[2] * x[2][1]; src 2600 3rdparty/openexr/Imath/ImathMatrix.h c = src[0] * x[0][2] + src[1] * x[1][2] + src[2] * x[2][2]; src 468 3rdparty/zlib/gzread.c unsigned char *src = state->out + state->x.have; src 470 3rdparty/zlib/gzread.c while (src > state->out) src 471 3rdparty/zlib/gzread.c *--dest = *--src; src 226 apps/createsamples/utility.cpp static void cvWarpPerspective( CvArr* src, CvArr* dst, double quad[4][2] ) src 236 apps/createsamples/utility.cpp CV_CALL( src_img = cvGetImage( src, &src_stub ) ); src 267 apps/createsamples/utility.cpp if( !src || (!CV_IS_IMAGE( src ) && !CV_IS_MAT( src )) || src 268 apps/createsamples/utility.cpp cvGetElemType( src ) != CV_8UC1 || src 269 apps/createsamples/utility.cpp cvGetDims( src ) != 2 ) src 282 apps/createsamples/utility.cpp CV_CALL( cvGetRawData( src, &src_data, &src_step, &src_size ) ); src 558 apps/createsamples/utility.cpp IplImage* src; src 586 apps/createsamples/utility.cpp CvMat src; src 611 apps/createsamples/utility.cpp data->src = cvLoadImage( imgfilename, 0 ); src 612 apps/createsamples/utility.cpp if( data->src != NULL && data->src->nChannels == 1 src 613 apps/createsamples/utility.cpp && data->src->depth == IPL_DEPTH_8U ) src 622 apps/createsamples/utility.cpp data->dx = data->src->width / 2; src 623 apps/createsamples/utility.cpp data->dy = data->src->height / 2; src 626 apps/createsamples/utility.cpp data->mask = cvCloneImage( data->src ); src 627 apps/createsamples/utility.cpp data->erode = cvCloneImage( data->src ); src 628 apps/createsamples/utility.cpp data->dilate = cvCloneImage( data->src ); src 650 apps/createsamples/utility.cpp cvErode( data->src, data->erode, 0, 1 ); src 651 apps/createsamples/utility.cpp cvDilate( data->src, data->dilate, 0, 1 ); src 660 apps/createsamples/utility.cpp psrc = ( (uchar*) (data->src->imageData + r * data->src->widthStep) src 682 apps/createsamples/utility.cpp data->img = cvCreateImage( cvSize( data->src->width + 2 * data->dx, src 683 apps/createsamples/utility.cpp data->src->height + 2 * data->dy ), src 718 apps/createsamples/utility.cpp icvRandomQuad( data->src->width, data->src->height, quad, src 732 apps/createsamples/utility.cpp cvWarpPerspective( data->src, data->img, quad ); src 741 apps/createsamples/utility.cpp cr.width = data->src->width; src 742 apps/createsamples/utility.cpp cr.height = data->src->height; src 809 apps/createsamples/utility.cpp if( data->src ) src 811 apps/createsamples/utility.cpp cvReleaseImage( &data->src ); src 940 apps/createsamples/utility.cpp reader->src = cvMat( 0, 0, CV_8UC1, NULL ); src 956 apps/createsamples/utility.cpp if( (*reader)->src.data.ptr != NULL ) src 958 apps/createsamples/utility.cpp cvFree( &((*reader)->src.data.ptr) ); src 980 apps/createsamples/utility.cpp if( reader->src.data.ptr != NULL ) src 982 apps/createsamples/utility.cpp cvFree( &(reader->src.data.ptr) ); src 983 apps/createsamples/utility.cpp reader->src.data.ptr = NULL; src 1039 apps/createsamples/utility.cpp reader->src = cvMat( img->height, img->width, CV_8UC1, (void*) cvAlloc( datasize ) ); src 1040 apps/createsamples/utility.cpp cvCopy( img, &reader->src, NULL ); src 1049 apps/createsamples/utility.cpp ((float) data->winsize.width + reader->point.x) / ((float) reader->src.cols), src 1050 apps/createsamples/utility.cpp ((float) data->winsize.height + reader->point.y) / ((float) reader->src.rows) ); src 1052 apps/createsamples/utility.cpp reader->img = cvMat( (int) (reader->scale * reader->src.rows + 0.5F), src 1053 apps/createsamples/utility.cpp (int) (reader->scale * reader->src.cols + 0.5F), src 1055 apps/createsamples/utility.cpp cvResize( &(reader->src), &(reader->img) ); src 1117 apps/createsamples/utility.cpp reader->img = cvMat( (int) (reader->scale * reader->src.rows), src 1118 apps/createsamples/utility.cpp (int) (reader->scale * reader->src.cols), src 1120 apps/createsamples/utility.cpp cvResize( &(reader->src), &(reader->img) ); src 1370 apps/createsamples/utility.cpp maxscale = MIN( 0.7F * cvbgreader->src.cols / winwidth, src 1371 apps/createsamples/utility.cpp 0.7F * cvbgreader->src.rows / winheight ); src 1377 apps/createsamples/utility.cpp x = (int) ((0.1+0.8 * rand()/RAND_MAX) * (cvbgreader->src.cols - width)); src 1378 apps/createsamples/utility.cpp y = (int) ((0.1+0.8 * rand()/RAND_MAX) * (cvbgreader->src.rows - height)); src 1380 apps/createsamples/utility.cpp cvGetSubArr( &cvbgreader->src, &win, cvRect( x, y ,width, height ) ); src 1399 apps/createsamples/utility.cpp cvSaveImage( fullname, &cvbgreader->src ); src 1402 apps/createsamples/utility.cpp cvShowImage( "Image", &cvbgreader->src ); src 1427 apps/createsamples/utility.cpp IplImage* src=0; src 1504 apps/createsamples/utility.cpp src = cvLoadImage( fullname, 0 ); src 1505 apps/createsamples/utility.cpp error = ( src == NULL ); src 1519 apps/createsamples/utility.cpp cvSetImageROI( src, cvRect( x, y, width, height ) ); src 1520 apps/createsamples/utility.cpp cvResize( src, sample, width >= sample->width && src 1534 apps/createsamples/utility.cpp if( src ) src 1536 apps/createsamples/utility.cpp cvReleaseImage( &src ); src 21 apps/traincascade/imagestorage.cpp src.create( 0, 0 , CV_8UC1 ); src 56 apps/traincascade/imagestorage.cpp src = imread( imgFilenames[last++], 0 ); src 57 apps/traincascade/imagestorage.cpp if( src.empty() ){ src 65 apps/traincascade/imagestorage.cpp _offset.x = std::min( (int)round % winSize.width, src.cols - winSize.width ); src 66 apps/traincascade/imagestorage.cpp _offset.y = std::min( (int)round / winSize.width, src.rows - winSize.height ); src 67 apps/traincascade/imagestorage.cpp if( !src.empty() && src.type() == CV_8UC1 src 72 apps/traincascade/imagestorage.cpp if( src.empty() ) src 75 apps/traincascade/imagestorage.cpp scale = max( ((float)winSize.width + point.x) / ((float)src.cols), src 76 apps/traincascade/imagestorage.cpp ((float)winSize.height + point.y) / ((float)src.rows) ); src 78 apps/traincascade/imagestorage.cpp Size sz( (int)(scale*src.cols + 0.5F), (int)(scale*src.rows + 0.5F) ); src 79 apps/traincascade/imagestorage.cpp resize( src, img, sz ); src 110 apps/traincascade/imagestorage.cpp resize( src, img, Size( (int)(scale*src.cols), (int)(scale*src.rows) ) ); src 39 apps/traincascade/imagestorage.h cv::Mat src, img; src 509 apps/traincascade/old_ml_inner_functions.cpp const uchar* src; src 543 apps/traincascade/old_ml_inner_functions.cpp src = var_type->data.ptr; src 550 apps/traincascade/old_ml_inner_functions.cpp dst[i] = (uchar)(src[/*idx*/i*tm_step] != 0); src 611 apps/traincascade/old_ml_inner_functions.cpp const float* src = responses->data.fl; src 616 apps/traincascade/old_ml_inner_functions.cpp dst[i] = src[idx*r_step]; src 621 apps/traincascade/old_ml_inner_functions.cpp const int* src = responses->data.i; src 626 apps/traincascade/old_ml_inner_functions.cpp dst[i] = (float)src[idx*r_step]; src 823 apps/traincascade/old_ml_inner_functions.cpp const float* src = data + (s_idx ? s_idx[i] : i)*s_step; src 827 apps/traincascade/old_ml_inner_functions.cpp dst[j] = src[j*v_step]; src 830 apps/traincascade/old_ml_inner_functions.cpp dst[j] = src[v_idx[j]*v_step]; src 1171 apps/traincascade/old_ml_inner_functions.cpp const float* src = (const float*)row_sample; src 1178 apps/traincascade/old_ml_inner_functions.cpp dst[i].val = src[i]; src 1256 apps/traincascade/old_ml_inner_functions.cpp icvConvertDataToSparse( const uchar* src, int src_step, int src_type, src 1291 apps/traincascade/old_ml_inner_functions.cpp for( i = 0; i < size.height; i++, src += src_step ) src 1292 apps/traincascade/old_ml_inner_functions.cpp *(int*)(dst + dst_step*(idx ? idx[i] : i)) = *(int*)src; src 1294 apps/traincascade/old_ml_inner_functions.cpp for( i = 0; i < size.height; i++, src += src_step ) src 1295 apps/traincascade/old_ml_inner_functions.cpp memcpy( dst + dst_step*(idx ? idx[i] : i), src, full_width ); src 1298 apps/traincascade/old_ml_inner_functions.cpp for( i = 0; i < size.height; i++, src += src_step ) src 1303 apps/traincascade/old_ml_inner_functions.cpp ((float*)_dst)[j] = (float)((int*)src)[j]; src 1306 apps/traincascade/old_ml_inner_functions.cpp ((double*)_dst)[j] = ((int*)src)[j]; src 1309 apps/traincascade/old_ml_inner_functions.cpp for( i = 0; i < size.height; i++, src += src_step ) src 1314 apps/traincascade/old_ml_inner_functions.cpp ((int*)_dst)[j] = cvRound(((float*)src)[j]); src 1317 apps/traincascade/old_ml_inner_functions.cpp ((int*)_dst)[j] = cvRound(((double*)src)[j]); src 1321 apps/traincascade/old_ml_inner_functions.cpp for( i = 0; i < size.height; i++, src += src_step ) src 1326 apps/traincascade/old_ml_inner_functions.cpp ((double*)_dst)[j] = ((float*)src)[j]; src 1329 apps/traincascade/old_ml_inner_functions.cpp ((float*)_dst)[j] = (float)((double*)src)[j]; src 783 apps/traincascade/old_ml_tree.cpp const int* src = CvDTreeTrainData::get_cat_var_data( data_root, vi, (int*)(uchar*)inn_buf ); src 791 apps/traincascade/old_ml_tree.cpp int val = src[sidx[i]]; src 802 apps/traincascade/old_ml_tree.cpp int val = src[sidx[i]]; src 946 apps/traincascade/old_ml_tree.cpp const int* src = get_cat_var_data(data_root, vi, (int*)(uchar*)inn_buf); src 951 apps/traincascade/old_ml_tree.cpp int val = src[idx]; src 1002 apps/traincascade/old_ml_tree.cpp const int* src = get_class_labels(data_root, (int*)(uchar*)inn_buf); src 1006 apps/traincascade/old_ml_tree.cpp int val = get_class_idx ? src[idx] : src 1007 apps/traincascade/old_ml_tree.cpp cat_map->data.i[cat_ofs->data.i[cat_var_count]+src[idx]]; src 257 modules/calib3d/include/opencv2/calib3d.hpp CV_EXPORTS_W void Rodrigues( InputArray src, OutputArray dst, OutputArray jacobian = noArray() ); src 351 modules/calib3d/include/opencv2/calib3d.hpp CV_EXPORTS_W Vec3d RQDecomp3x3( InputArray src, OutputArray mtxR, OutputArray mtxQ, src 1095 modules/calib3d/include/opencv2/calib3d.hpp CV_EXPORTS_W void convertPointsToHomogeneous( InputArray src, OutputArray dst ); src 1106 modules/calib3d/include/opencv2/calib3d.hpp CV_EXPORTS_W void convertPointsFromHomogeneous( InputArray src, OutputArray dst ); src 1118 modules/calib3d/include/opencv2/calib3d.hpp CV_EXPORTS void convertPointsHomogeneous( InputArray src, OutputArray dst ); src 1420 modules/calib3d/include/opencv2/calib3d.hpp CV_EXPORTS_W int estimateAffine3D(InputArray src, InputArray dst, src 80 modules/calib3d/include/opencv2/calib3d/calib3d_c.h CVAPI(void) cvConvertPointsHomogeneous( const CvMat* src, CvMat* dst ); src 139 modules/calib3d/include/opencv2/calib3d/calib3d_c.h CVAPI(int) cvRodrigues2( const CvMat* src, CvMat* dst, src 219 modules/calib3d/include/opencv2/calib3d/calib3d_c.h CVAPI(int) cvCheckChessboard(IplImage* src, CvSize size); src 251 modules/calib3d/src/calibration.cpp CV_IMPL int cvRodrigues2( const CvMat* src, CvMat* dst, CvMat* jacobian ) src 258 modules/calib3d/src/calibration.cpp if( !CV_IS_MAT(src) ) src 259 modules/calib3d/src/calibration.cpp CV_Error( !src ? CV_StsNullPtr : CV_StsBadArg, "Input argument is not a valid matrix" ); src 265 modules/calib3d/src/calibration.cpp depth = CV_MAT_DEPTH(src->type); src 271 modules/calib3d/src/calibration.cpp if( !CV_ARE_DEPTHS_EQ(src, dst) ) src 279 modules/calib3d/src/calibration.cpp if( !CV_ARE_DEPTHS_EQ(src, jacobian) || CV_MAT_CN(jacobian->type) != 1 ) src 287 modules/calib3d/src/calibration.cpp if( src->cols == 1 || src->rows == 1 ) src 290 modules/calib3d/src/calibration.cpp int step = src->rows > 1 ? src->step / elem_size : 1; src 292 modules/calib3d/src/calibration.cpp if( src->rows + src->cols*CV_MAT_CN(src->type) - 1 != 3 ) src 300 modules/calib3d/src/calibration.cpp rx = src->data.fl[0]; src 301 modules/calib3d/src/calibration.cpp ry = src->data.fl[step]; src 302 modules/calib3d/src/calibration.cpp rz = src->data.fl[step*2]; src 306 modules/calib3d/src/calibration.cpp rx = src->data.db[0]; src 307 modules/calib3d/src/calibration.cpp ry = src->data.db[step]; src 308 modules/calib3d/src/calibration.cpp rz = src->data.db[step*2]; src 366 modules/calib3d/src/calibration.cpp else if( src->cols == 3 && src->rows == 3 ) src 380 modules/calib3d/src/calibration.cpp cvConvert( src, &matR ); src 1011 modules/calib3d/src/calibration.cpp const double* src = matM->data.db + i*3; src 1014 modules/calib3d/src/calibration.cpp dst[0] = Rp[0]*src[0] + Rp[1]*src[1] + Rp[2]*src[2] + Tp[0]; src 1015 modules/calib3d/src/calibration.cpp dst[1] = Rp[3]*src[0] + Rp[4]*src[1] + Rp[5]*src[2] + Tp[1]; src 1532 modules/calib3d/src/calibration.cpp CvMat src, dst; src 1535 modules/calib3d/src/calibration.cpp src = cvMat( 3, 1, CV_64F, solver.param->data.db + NINTRINSIC + i*6 ); src 1540 modules/calib3d/src/calibration.cpp cvRodrigues2( &src, &matA ); src 1548 modules/calib3d/src/calibration.cpp cvConvert( &src, &dst ); src 1553 modules/calib3d/src/calibration.cpp src = cvMat( 3, 1, CV_64F, solver.param->data.db + NINTRINSIC + i*6 + 3 ); src 1557 modules/calib3d/src/calibration.cpp cvConvert( &src, &dst ); src 3053 modules/calib3d/src/calibration.cpp Mat src = _src.getMat(); src 3054 modules/calib3d/src/calibration.cpp bool v2m = src.cols == 1 || src.rows == 1; src 3055 modules/calib3d/src/calibration.cpp _dst.create(3, v2m ? 3 : 1, src.depth()); src 3057 modules/calib3d/src/calibration.cpp CvMat _csrc = src, _cdst = dst, _cjacobian; src 3060 modules/calib3d/src/calibration.cpp _jacobian.create(v2m ? Size(9, 3) : Size(3, 9), src.depth()); src 105 modules/calib3d/src/checkchessboard.cpp int cvCheckChessboard(IplImage* src, CvSize size) src 107 modules/calib3d/src/checkchessboard.cpp if(src->nChannels > 1) src 113 modules/calib3d/src/checkchessboard.cpp if(src->depth != 8) src 126 modules/calib3d/src/checkchessboard.cpp cvShowImage("1", src); src 132 modules/calib3d/src/checkchessboard.cpp IplImage* white = cvCloneImage(src); src 133 modules/calib3d/src/checkchessboard.cpp IplImage* black = cvCloneImage(src); src 137 modules/calib3d/src/checkchessboard.cpp IplImage* thresh = cvCreateImage(cvGetSize(src), IPL_DEPTH_8U, 1); src 305 modules/calib3d/src/compat_ptsetreg.cpp cv::Mat src = cv::cvarrToMat(_src), dst = cv::cvarrToMat(_dst); src 307 modules/calib3d/src/compat_ptsetreg.cpp if( src.channels() == 1 && (src.rows == 2 || src.rows == 3) && src.cols > 3 ) src 308 modules/calib3d/src/compat_ptsetreg.cpp cv::transpose(src, src); src 323 modules/calib3d/src/compat_ptsetreg.cpp cv::Mat H0 = cv::findHomography(src, dst, method, ransacReprojThreshold, src 404 modules/calib3d/src/compat_ptsetreg.cpp cv::Mat src = cv::cvarrToMat(_src), dst = cv::cvarrToMat(_dst); src 407 modules/calib3d/src/compat_ptsetreg.cpp int d0 = src.channels() > 1 ? src.channels() : MIN(src.cols, src.rows); src 409 modules/calib3d/src/compat_ptsetreg.cpp if( src.channels() == 1 && src.cols > d0 ) src 410 modules/calib3d/src/compat_ptsetreg.cpp cv::transpose(src, src); src 415 modules/calib3d/src/compat_ptsetreg.cpp src.copyTo(dst); src 417 modules/calib3d/src/compat_ptsetreg.cpp cv::convertPointsToHomogeneous(src, dst); src 419 modules/calib3d/src/compat_ptsetreg.cpp cv::convertPointsFromHomogeneous(src, dst); src 729 modules/calib3d/src/dls.h EigenvalueDecomposition(InputArray src) { src 730 modules/calib3d/src/dls.h compute(src); src 737 modules/calib3d/src/dls.h void compute(InputArray src) src 747 modules/calib3d/src/dls.h src.getMat().convertTo(tmp, CV_64FC1); src 56 modules/calib3d/src/fisheye.cpp void subMatrix(const Mat& src, Mat& dst, const std::vector<int>& cols, const std::vector<int>& rows); src 1055 modules/calib3d/src/fisheye.cpp void subMatrix(const Mat& src, Mat& dst, const std::vector<int>& cols, const std::vector<int>& rows) src 1057 modules/calib3d/src/fisheye.cpp CV_Assert(src.type() == CV_64FC1); src 1060 modules/calib3d/src/fisheye.cpp Mat tmp(src.rows, nonzeros_cols, CV_64FC1); src 1066 modules/calib3d/src/fisheye.cpp src.col(i).copyTo(tmp.col(j++)); src 1541 modules/calib3d/src/fisheye.cpp void cv::internal::JRodriguesMatlab(const Mat& src, Mat& dst) src 1543 modules/calib3d/src/fisheye.cpp Mat tmp(src.cols, src.rows, src.type()); src 1544 modules/calib3d/src/fisheye.cpp if (src.rows == 9) src 1546 modules/calib3d/src/fisheye.cpp Mat(src.row(0).t()).copyTo(tmp.col(0)); src 1547 modules/calib3d/src/fisheye.cpp Mat(src.row(1).t()).copyTo(tmp.col(3)); src 1548 modules/calib3d/src/fisheye.cpp Mat(src.row(2).t()).copyTo(tmp.col(6)); src 1549 modules/calib3d/src/fisheye.cpp Mat(src.row(3).t()).copyTo(tmp.col(1)); src 1550 modules/calib3d/src/fisheye.cpp Mat(src.row(4).t()).copyTo(tmp.col(4)); src 1551 modules/calib3d/src/fisheye.cpp Mat(src.row(5).t()).copyTo(tmp.col(7)); src 1552 modules/calib3d/src/fisheye.cpp Mat(src.row(6).t()).copyTo(tmp.col(2)); src 1553 modules/calib3d/src/fisheye.cpp Mat(src.row(7).t()).copyTo(tmp.col(5)); src 1554 modules/calib3d/src/fisheye.cpp Mat(src.row(8).t()).copyTo(tmp.col(8)); src 1558 modules/calib3d/src/fisheye.cpp Mat(src.col(0).t()).copyTo(tmp.row(0)); src 1559 modules/calib3d/src/fisheye.cpp Mat(src.col(1).t()).copyTo(tmp.row(3)); src 1560 modules/calib3d/src/fisheye.cpp Mat(src.col(2).t()).copyTo(tmp.row(6)); src 1561 modules/calib3d/src/fisheye.cpp Mat(src.col(3).t()).copyTo(tmp.row(1)); src 1562 modules/calib3d/src/fisheye.cpp Mat(src.col(4).t()).copyTo(tmp.row(4)); src 1563 modules/calib3d/src/fisheye.cpp Mat(src.col(5).t()).copyTo(tmp.row(7)); src 1564 modules/calib3d/src/fisheye.cpp Mat(src.col(6).t()).copyTo(tmp.row(2)); src 1565 modules/calib3d/src/fisheye.cpp Mat(src.col(7).t()).copyTo(tmp.row(5)); src 1566 modules/calib3d/src/fisheye.cpp Mat(src.col(8).t()).copyTo(tmp.row(8)); src 49 modules/calib3d/src/fisheye.hpp void JRodriguesMatlab(const Mat& src, Mat& dst); src 94 modules/calib3d/src/fundam.cpp const Point2f* src = ms1.ptr<Point2f>(); src 101 modules/calib3d/src/fundam.cpp Matx33d A(src[t[0]].x, src[t[0]].y, 1., src[t[1]].x, src[t[1]].y, 1., src[t[2]].x, src[t[2]].y, 1.); src 208 modules/calib3d/src/fundam.cpp src = _src.getMat(); src 214 modules/calib3d/src/fundam.cpp int i, count = src.checkVector(2); src 225 modules/calib3d/src/fundam.cpp const Point2f* M = src.ptr<Point2f>(); src 257 modules/calib3d/src/fundam.cpp Mat src, dst; src 273 modules/calib3d/src/fundam.cpp Mat src = _src.getMat(); src 314 modules/calib3d/src/fundam.cpp (const float*)src.data, src 350 modules/calib3d/src/fundam.cpp Mat src, dst, H, tempMask; src 356 modules/calib3d/src/fundam.cpp Mat& m = i == 1 ? src : dst; src 370 modules/calib3d/src/fundam.cpp CV_Assert( src.checkVector(2) == dst.checkVector(2) ); src 380 modules/calib3d/src/fundam.cpp result = cb->runKernel(src, dst, H) > 0; src 383 modules/calib3d/src/fundam.cpp result = createRANSACPointSetRegistrator(cb, 4, ransacReprojThreshold, confidence, maxIters)->run(src, dst, H, tempMask); src 385 modules/calib3d/src/fundam.cpp result = createLMeDSPointSetRegistrator(cb, 4, confidence, maxIters)->run(src, dst, H, tempMask); src 387 modules/calib3d/src/fundam.cpp result = createAndRunRHORegistrator(confidence, maxIters, ransacReprojThreshold, npoints, src, dst, H, tempMask); src 393 modules/calib3d/src/fundam.cpp compressElems( src.ptr<Point2f>(), tempMask.ptr<uchar>(), 1, npoints ); src 397 modules/calib3d/src/fundam.cpp Mat src1 = src.rowRange(0, npoints); src 399 modules/calib3d/src/fundam.cpp src = src1; src 402 modules/calib3d/src/fundam.cpp cb->runKernel( src, dst, H ); src 404 modules/calib3d/src/fundam.cpp createLMSolver(makePtr<HomographyRefineCallback>(src, dst), 10)->run(H8); src 872 modules/calib3d/src/fundam.cpp Mat src = _src.getMat(); src 873 modules/calib3d/src/fundam.cpp if( !src.isContinuous() ) src 874 modules/calib3d/src/fundam.cpp src = src.clone(); src 875 modules/calib3d/src/fundam.cpp int i, npoints = src.checkVector(3), depth = src.depth(), cn = 3; src 878 modules/calib3d/src/fundam.cpp npoints = src.checkVector(4); src 899 modules/calib3d/src/fundam.cpp const Point3i* sptr = src.ptr<Point3i>(); src 909 modules/calib3d/src/fundam.cpp const Vec4i* sptr = src.ptr<Vec4i>(); src 922 modules/calib3d/src/fundam.cpp const Point3f* sptr = src.ptr<Point3f>(); src 932 modules/calib3d/src/fundam.cpp const Vec4f* sptr = src.ptr<Vec4f>(); src 945 modules/calib3d/src/fundam.cpp const Point3d* sptr = src.ptr<Point3d>(); src 955 modules/calib3d/src/fundam.cpp const Vec4d* sptr = src.ptr<Vec4d>(); src 971 modules/calib3d/src/fundam.cpp Mat src = _src.getMat(); src 972 modules/calib3d/src/fundam.cpp if( !src.isContinuous() ) src 973 modules/calib3d/src/fundam.cpp src = src.clone(); src 974 modules/calib3d/src/fundam.cpp int i, npoints = src.checkVector(2), depth = src.depth(), cn = 2; src 977 modules/calib3d/src/fundam.cpp npoints = src.checkVector(3); src 998 modules/calib3d/src/fundam.cpp const Point2i* sptr = src.ptr<Point2i>(); src 1005 modules/calib3d/src/fundam.cpp const Point3i* sptr = src.ptr<Point3i>(); src 1015 modules/calib3d/src/fundam.cpp const Point2f* sptr = src.ptr<Point2f>(); src 1022 modules/calib3d/src/fundam.cpp const Point3f* sptr = src.ptr<Point3f>(); src 1032 modules/calib3d/src/fundam.cpp const Point2d* sptr = src.ptr<Point2d>(); src 1039 modules/calib3d/src/fundam.cpp const Point3d* sptr = src.ptr<Point3d>(); src 214 modules/calib3d/src/rho.cpp virtual unsigned rhoHest(const float* src, /* Source points */ src 251 modules/calib3d/src/rho.cpp const float* src; src 343 modules/calib3d/src/rho.cpp unsigned rhoHest(const float* src, /* Source points */ src 415 modules/calib3d/src/rho.cpp const float* src, src 522 modules/calib3d/src/rho.cpp const float* src, /* Source points */ src 535 modules/calib3d/src/rho.cpp return p->rhoHest(src, dst, inl, N, maxD, maxI, rConvg, cfd, minInl, beta, src 709 modules/calib3d/src/rho.cpp unsigned RHO_HEST_REFC::rhoHest(const float* src, /* Source points */ src 727 modules/calib3d/src/rho.cpp arg.src = src; src 920 modules/calib3d/src/rho.cpp if(!arg.src || !arg.dst){ src 1263 modules/calib3d/src/rho.cpp MyPt2f* pkdPts = (MyPt2f*)curr.pkdPts, *src = (MyPt2f*)arg.src, *dst = (MyPt2f*)arg.dst; src 1272 modules/calib3d/src/rho.cpp pkdPts[0] = src[i0]; src 1273 modules/calib3d/src/rho.cpp pkdPts[1] = src[i1]; src 1274 modules/calib3d/src/rho.cpp pkdPts[2] = src[i2]; src 1275 modules/calib3d/src/rho.cpp pkdPts[3] = src[i3]; src 1404 modules/calib3d/src/rho.cpp const float* src = arg.src; src 1420 modules/calib3d/src/rho.cpp float x=src[i*2],y=src[i*2+1]; src 2098 modules/calib3d/src/rho.cpp sacCalcJacobianErrors(best.H, arg.src, arg.dst, best.inl, arg.N, src 2130 modules/calib3d/src/rho.cpp sacCalcJacobianErrors(newH, arg.src, arg.dst, best.inl, arg.N, src 2158 modules/calib3d/src/rho.cpp sacCalcJacobianErrors(best.H, arg.src, arg.dst, best.inl, arg.N, src 2179 modules/calib3d/src/rho.cpp const float* src, src 2220 modules/calib3d/src/rho.cpp float x = src[2*i+0]; src 2221 modules/calib3d/src/rho.cpp float y = src[2*i+1]; src 245 modules/calib3d/src/rho.h const float* src, /* Source points */ src 110 modules/calib3d/src/stereobm.cpp static void prefilterNorm( const Mat& src, Mat& dst, int winsize, int ftzero, uchar* buf ) src 117 modules/calib3d/src/stereobm.cpp const uchar* sptr = src.ptr(); src 118 modules/calib3d/src/stereobm.cpp int srcstep = (int)src.step; src 119 modules/calib3d/src/stereobm.cpp Size size = src.size(); src 191 modules/calib3d/src/stereobm.cpp prefilterXSobel( const Mat& src, Mat& dst, int ftzero ) src 196 modules/calib3d/src/stereobm.cpp Size size = src.size(); src 208 modules/calib3d/src/stereobm.cpp const uchar* srow1 = src.ptr<uchar>(y); src 209 modules/calib3d/src/stereobm.cpp const uchar* srow0 = y > 0 ? srow1 - src.step : size.height > 1 ? srow1 + src.step : srow1; src 210 modules/calib3d/src/stereobm.cpp const uchar* srow2 = y < size.height-1 ? srow1 + src.step : size.height > 1 ? srow1 - src.step : srow1; src 211 modules/calib3d/src/stereobm.cpp const uchar* srow3 = y < size.height-2 ? srow1 + src.step*2 : srow1; src 341 modules/calib3d/test/test_cameracalibration_badarg.cpp CvMat* src; src 345 modules/calib3d/test/test_cameracalibration_badarg.cpp void operator()() { cvRodrigues2(src, dst, jacobian); } src 358 modules/calib3d/test/test_cameracalibration_badarg.cpp caller.src = &src_c; src 372 modules/calib3d/test/test_cameracalibration_badarg.cpp bad_caller.src = 0; src 386 modules/calib3d/test/test_cameracalibration_badarg.cpp bad_caller.src = &bad_src_c1; src 412 modules/calib3d/test/test_cameracalibration_badarg.cpp bad_caller.src = &bad_src_c2; src 48 modules/calib3d/test/test_fundam.cpp int cvTsRodrigues( const CvMat* src, CvMat* dst, CvMat* jacobian ) src 56 modules/calib3d/test/test_fundam.cpp depth = CV_MAT_DEPTH(src->type); src 64 modules/calib3d/test/test_fundam.cpp if( src->cols == 1 || src->rows == 1 ) src 67 modules/calib3d/test/test_fundam.cpp CvMat _r = cvMat( src->rows, src->cols, CV_MAKETYPE(CV_64F,CV_MAT_CN(src->type)), r); src 71 modules/calib3d/test/test_fundam.cpp cvConvert( src, &_r ); src 208 modules/calib3d/test/test_fundam.cpp else if( src->cols == 3 && src->rows == 3 ) src 220 modules/calib3d/test/test_fundam.cpp cvConvert( src, &matR ); src 351 modules/calib3d/test/test_fundam.cpp void cvtest::Rodrigues(const Mat& src, Mat& dst, Mat* jac) src 353 modules/calib3d/test/test_fundam.cpp CvMat _src = src, _dst = dst, _jac; src 362 modules/calib3d/test/test_fundam.cpp Mat src = _src, dst = _dst; src 366 modules/calib3d/test/test_fundam.cpp if( src.depth() != CV_64F ) src 367 modules/calib3d/test/test_fundam.cpp _src.convertTo(src, CV_64F); src 372 modules/calib3d/test/test_fundam.cpp if( src.rows > src.cols ) src 374 modules/calib3d/test/test_fundam.cpp count = src.rows; src 375 modules/calib3d/test/test_fundam.cpp sdims = src.channels()*src.cols; src 376 modules/calib3d/test/test_fundam.cpp sstep1 = (int)(src.step/sizeof(double)); src 381 modules/calib3d/test/test_fundam.cpp count = src.cols; src 382 modules/calib3d/test/test_fundam.cpp sdims = src.channels()*src.rows; src 383 modules/calib3d/test/test_fundam.cpp if( src.rows == 1 ) src 391 modules/calib3d/test/test_fundam.cpp sstep2 = (int)(src.step/sizeof(double)); src 418 modules/calib3d/test/test_fundam.cpp double* s = src.ptr<double>(); src 92 modules/calib3d/test/test_homography.cpp int check_ransac_mask_1(const Mat& src, const Mat& mask); src 126 modules/calib3d/test/test_homography.cpp int CV_HomographyTest::check_ransac_mask_1(const Mat& src, const Mat& mask) src 128 modules/calib3d/test/test_homography.cpp if (!(mask.cols == 1) && (mask.rows == src.cols)) return 1; src 20 modules/calib3d/test/test_precomp.hpp void Rodrigues(const Mat& src, Mat& dst, Mat* jac=0); src 130 modules/calib3d/test/test_undistort.cpp const Mat& src = test_mat[INPUT][0]; src 137 modules/calib3d/test/test_undistort.cpp cvtest::copy(src, dst); src 145 modules/calib3d/test/test_undistort.cpp a[0] = src.at<double>(0,0); src 146 modules/calib3d/test/test_undistort.cpp a[4] = src.at<double>(1,1); src 150 modules/calib3d/test/test_undistort.cpp a[0] = src.at<float>(0,0); src 151 modules/calib3d/test/test_undistort.cpp a[4] = src.at<float>(1,1); src 434 modules/calib3d/test/test_undistort_badarg.cpp cv::Mat src; src 449 modules/calib3d/test/test_undistort_badarg.cpp cv::undistort(src,dst,camera_mat,distortion_coeffs,new_camera_mat); src 515 modules/calib3d/test/test_undistort_badarg.cpp src = cv::cvarrToMat(&_src_orig); src 308 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void copyMakeBorder(InputArray src, OutputArray dst, src 513 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void convertScaleAbs(InputArray src, OutputArray dst, src 530 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void LUT(InputArray src, InputArray lut, OutputArray dst); src 539 modules/core/include/opencv2/core.hpp CV_EXPORTS_AS(sumElems) Scalar sum(InputArray src); src 548 modules/core/include/opencv2/core.hpp CV_EXPORTS_W int countNonZero( InputArray src ); src 576 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void findNonZero( InputArray src, OutputArray idx ); src 589 modules/core/include/opencv2/core.hpp CV_EXPORTS_W Scalar mean(InputArray src, InputArray mask = noArray()); src 611 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void meanStdDev(InputArray src, OutputArray mean, OutputArray stddev, src 662 modules/core/include/opencv2/core.hpp CV_EXPORTS double norm( const SparseMat& src, int normType ); src 709 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void normalize( InputArray src, InputOutputArray dst, double alpha = 1, double beta = 0, src 719 modules/core/include/opencv2/core.hpp CV_EXPORTS void normalize( const SparseMat& src, SparseMat& dst, double alpha, int normType ); src 739 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void minMaxLoc(InputArray src, CV_OUT double* minVal, src 767 modules/core/include/opencv2/core.hpp CV_EXPORTS void minMaxIdx(InputArray src, double* minVal, double* maxVal = 0, src 799 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void reduce(InputArray src, OutputArray dst, int dim, int rtype, int dtype = -1); src 837 modules/core/include/opencv2/core.hpp CV_EXPORTS void split(const Mat& src, Mat* mvbegin); src 886 modules/core/include/opencv2/core.hpp CV_EXPORTS void mixChannels(const Mat* src, size_t nsrcs, Mat* dst, size_t ndsts, src 903 modules/core/include/opencv2/core.hpp CV_EXPORTS void mixChannels(InputArrayOfArrays src, InputOutputArrayOfArrays dst, src 919 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void mixChannels(InputArrayOfArrays src, InputOutputArrayOfArrays dst, src 925 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void extractChannel(InputArray src, OutputArray dst, int coi); src 930 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void insertChannel(InputArray src, InputOutputArray dst, int coi); src 964 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void flip(InputArray src, OutputArray dst, int flipCode); src 979 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void repeat(InputArray src, int ny, int nx, OutputArray dst); src 988 modules/core/include/opencv2/core.hpp CV_EXPORTS Mat repeat(const Mat& src, int ny, int nx); src 1011 modules/core/include/opencv2/core.hpp CV_EXPORTS void hconcat(const Mat* src, size_t nsrc, OutputArray dst); src 1051 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void hconcat(InputArrayOfArrays src, OutputArray dst); src 1073 modules/core/include/opencv2/core.hpp CV_EXPORTS void vconcat(const Mat* src, size_t nsrc, OutputArray dst); src 1115 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void vconcat(InputArrayOfArrays src, OutputArray dst); src 1214 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void bitwise_not(InputArray src, OutputArray dst, src 1261 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void inRange(InputArray src, InputArray lowerb, src 1343 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void sqrt(InputArray src, OutputArray dst); src 1368 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void pow(InputArray src, double power, OutputArray dst); src 1384 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void exp(InputArray src, OutputArray dst); src 1400 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void log(InputArray src, OutputArray dst); src 1560 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void mulTransposed( InputArray src, OutputArray dst, bool aTa, src 1573 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void transpose(InputArray src, OutputArray dst); src 1599 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void transform(InputArray src, OutputArray dst, InputArray m ); src 1626 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void perspectiveTransform(InputArray src, OutputArray dst, InputArray m ); src 1709 modules/core/include/opencv2/core.hpp CV_EXPORTS_W double invert(InputArray src, OutputArray dst, int flags = DECOMP_LU); src 1749 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void sort(InputArray src, OutputArray dst, int flags); src 1769 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void sortIdx(InputArray src, OutputArray dst, int flags); src 1813 modules/core/include/opencv2/core.hpp CV_EXPORTS_W bool eigen(InputArray src, OutputArray eigenvalues, src 1860 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void SVDecomp( InputArray src, OutputArray w, OutputArray u, OutputArray vt, int flags = 0 ); src 2010 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void dft(InputArray src, OutputArray dst, int flags = 0, int nonzeroRows = 0); src 2024 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void idft(InputArray src, OutputArray dst, int flags = 0, int nonzeroRows = 0); src 2065 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void dct(InputArray src, OutputArray dst, int flags = 0); src 2075 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void idct(InputArray src, OutputArray dst, int flags = 0); src 2394 modules/core/include/opencv2/core.hpp LDA(InputArrayOfArrays src, InputArray labels, int num_components = 0); src 2418 modules/core/include/opencv2/core.hpp void compute(InputArrayOfArrays src, InputArray labels); src 2422 modules/core/include/opencv2/core.hpp Mat project(InputArray src); src 2426 modules/core/include/opencv2/core.hpp Mat reconstruct(InputArray src); src 2436 modules/core/include/opencv2/core.hpp static Mat subspaceProject(InputArray W, InputArray mean, InputArray src); src 2437 modules/core/include/opencv2/core.hpp static Mat subspaceReconstruct(InputArray W, InputArray mean, InputArray src); src 2445 modules/core/include/opencv2/core.hpp void lda(InputArrayOfArrays src, InputArray labels); src 2489 modules/core/include/opencv2/core.hpp SVD( InputArray src, int flags = 0 ); src 2502 modules/core/include/opencv2/core.hpp SVD& operator ()( InputArray src, int flags = 0 ); src 2521 modules/core/include/opencv2/core.hpp static void compute( InputArray src, OutputArray w, src 2530 modules/core/include/opencv2/core.hpp static void compute( InputArray src, OutputArray w, int flags = 0 ); src 2548 modules/core/include/opencv2/core.hpp static void solveZ( InputArray src, OutputArray dst ); src 872 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvRepeat( const CvArr* src, CvArr* dst ); src 956 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvCopy( const CvArr* src, CvArr* dst, src 985 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvSplit( const CvArr* src, CvArr* dst0, CvArr* dst1, src 996 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvMixChannels( const CvArr** src, int src_count, src 1018 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvConvertScale( const CvArr* src, CvArr* dst, src 1023 modules/core/include/opencv2/core/core_c.h #define cvConvert( src, dst ) cvConvertScale( (src), (dst), 1, 0 ) src 1031 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvConvertScaleAbs( const CvArr* src, CvArr* dst, src 1054 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvAddS( const CvArr* src, CvScalar value, CvArr* dst, src 1062 modules/core/include/opencv2/core/core_c.h CV_INLINE void cvSubS( const CvArr* src, CvScalar value, CvArr* dst, src 1065 modules/core/include/opencv2/core/core_c.h cvAddS( src, cvScalar( -value.val[0], -value.val[1], -value.val[2], -value.val[3]), src 1070 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvSubRS( const CvArr* src, CvScalar value, CvArr* dst, src 1113 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvAndS( const CvArr* src, CvScalar value, src 1121 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvOrS( const CvArr* src, CvScalar value, src 1129 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvXorS( const CvArr* src, CvScalar value, src 1133 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvNot( const CvArr* src, CvArr* dst ); src 1136 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvInRange( const CvArr* src, const CvArr* lower, src 1140 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvInRangeS( const CvArr* src, CvScalar lower, src 1157 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvCmpS( const CvArr* src, double value, CvArr* dst, int cmp_op ); src 1166 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvMinS( const CvArr* src, double value, CvArr* dst ); src 1169 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvMaxS( const CvArr* src, double value, CvArr* dst ); src 1175 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvAbsDiffS( const CvArr* src, CvArr* dst, CvScalar value ); src 1176 modules/core/include/opencv2/core/core_c.h #define cvAbs( src, dst ) cvAbsDiffS( (src), (dst), cvScalarAll(0)) src 1196 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvPow( const CvArr* src, CvArr* dst, double power ); src 1201 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvExp( const CvArr* src, CvArr* dst ); src 1207 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvLog( const CvArr* src, CvArr* dst ); src 1255 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvSort( const CvArr* src, CvArr* dst CV_DEFAULT(NULL), src 1298 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvTransform( const CvArr* src, CvArr* dst, src 1304 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvPerspectiveTransform( const CvArr* src, CvArr* dst, src 1308 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvMulTransposed( const CvArr* src, CvArr* dst, int order, src 1313 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvTranspose( const CvArr* src, CvArr* dst ); src 1322 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvFlip( const CvArr* src, CvArr* dst CV_DEFAULT(NULL), src 1349 modules/core/include/opencv2/core/core_c.h CVAPI(double) cvInvert( const CvArr* src, CvArr* dst, src 1480 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvNormalize( const CvArr* src, CvArr* dst, src 1496 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvReduce( const CvArr* src, CvArr* dst, int dim CV_DEFAULT(-1), src 1522 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvDFT( const CvArr* src, CvArr* dst, int flags, src 1538 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvDCT( const CvArr* src, CvArr* dst, int flags ); src 1890 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvLUT( const CvArr* src, CvArr* dst, const CvArr* lut ); src 2187 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvWriteRawData( CvFileStorage* fs, const void* src, src 2438 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvStartReadRawData( const CvFileStorage* fs, const CvFileNode* src, src 2465 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvReadRawData( const CvFileStorage* fs, const CvFileNode* src, src 124 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename Ptr2D> __device__ __forceinline__ D at(typename Ptr2D::index_type y, typename Ptr2D::index_type x, const Ptr2D& src) const src 126 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (x >= 0 && x < width && y >= 0 && y < height) ? saturate_cast<D>(src(y, x)) : val; src 259 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename Ptr2D> __device__ __forceinline__ D at(typename Ptr2D::index_type y, typename Ptr2D::index_type x, const Ptr2D& src) const src 261 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(src(idx_row(y), idx_col(x))); src 393 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename Ptr2D> __device__ __forceinline__ D at(typename Ptr2D::index_type y, typename Ptr2D::index_type x, const Ptr2D& src) const src 395 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(src(idx_row(y), idx_col(x))); src 527 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename Ptr2D> __device__ __forceinline__ D at(typename Ptr2D::index_type y, typename Ptr2D::index_type x, const Ptr2D& src) const src 529 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(src(idx_row(y), idx_col(x))); src 668 modules/core/include/opencv2/core/cuda/border_interpolate.hpp template <typename Ptr2D> __device__ __forceinline__ D at(typename Ptr2D::index_type y, typename Ptr2D::index_type x, const Ptr2D& src) const src 670 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return saturate_cast<D>(src(idx_row(y), idx_col(x))); src 704 modules/core/include/opencv2/core/cuda/border_interpolate.hpp src(src_), height(b.height), width(b.width), val(b.val) src 710 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return (x >= 0 && x < width && y >= 0 && y < height) ? saturate_cast<D>(src(y, x)) : val; src 713 modules/core/include/opencv2/core/cuda/border_interpolate.hpp Ptr2D src; src 113 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const src 117 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.x = (&src.x)[bidx]; src 118 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = src.y; src 119 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.z = (&src.x)[bidx^2]; src 120 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp setAlpha(dst, getAlpha<T>(src)); src 131 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ uint operator()(uint src) const src 135 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= (0xffu & (src >> 16)); src 136 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= (0xffu & (src >> 8)) << 8; src 137 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= (0xffu & (src)) << 16; src 138 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= (0xffu & (src >> 24)) << 24; src 165 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp static __device__ __forceinline__ ushort cvt(const uchar3& src) src 167 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return (ushort)(((&src.x)[bidx] >> 3) | ((src.y & ~3) << 3) | (((&src.x)[bidx^2] & ~7) << 8)); src 170 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp static __device__ __forceinline__ ushort cvt(uint src) src 172 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp uint b = 0xffu & (src >> (bidx * 8)); src 173 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp uint g = 0xffu & (src >> 8); src 174 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp uint r = 0xffu & (src >> ((bidx ^ 2) * 8)); src 181 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp static __device__ __forceinline__ ushort cvt(const uchar3& src) src 183 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return (ushort)(((&src.x)[bidx] >> 3) | ((src.y & ~7) << 2) | (((&src.x)[bidx^2] & ~7) << 7)); src 186 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp static __device__ __forceinline__ ushort cvt(uint src) src 188 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp uint b = 0xffu & (src >> (bidx * 8)); src 189 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp uint g = 0xffu & (src >> 8); src 190 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp uint r = 0xffu & (src >> ((bidx ^ 2) * 8)); src 191 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp uint a = 0xffu & (src >> 24); src 200 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ ushort operator()(const uchar3& src) const src 202 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return RGB2RGB5x5Converter<green_bits, bidx>::cvt(src); src 211 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ ushort operator()(uint src) const src 213 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return RGB2RGB5x5Converter<green_bits, bidx>::cvt(src); src 237 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp static __device__ __forceinline__ void cvt(uint src, uchar3& dst) src 239 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp (&dst.x)[bidx] = src << 3; src 240 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = (src >> 2) & ~7; src 241 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp (&dst.x)[bidx ^ 2] = (src >> 7) & ~7; src 244 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp static __device__ __forceinline__ void cvt(uint src, uint& dst) src 248 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= (0xffu & (src << 3)) << (bidx * 8); src 249 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= (0xffu & ((src >> 2) & ~7)) << 8; src 250 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= (0xffu & ((src >> 7) & ~7)) << ((bidx ^ 2) * 8); src 251 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= ((src & 0x8000) * 0xffu) << 24; src 257 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp static __device__ __forceinline__ void cvt(uint src, uchar3& dst) src 259 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp (&dst.x)[bidx] = src << 3; src 260 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = (src >> 3) & ~3; src 261 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp (&dst.x)[bidx ^ 2] = (src >> 8) & ~7; src 264 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp static __device__ __forceinline__ void cvt(uint src, uint& dst) src 268 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= (0xffu & (src << 3)) << (bidx * 8); src 269 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= (0xffu &((src >> 3) & ~3)) << 8; src 270 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= (0xffu & ((src >> 8) & ~7)) << ((bidx ^ 2) * 8); src 278 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ uchar3 operator()(ushort src) const src 281 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp RGB5x52RGBConverter<green_bits, bidx>::cvt(src, dst); src 291 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ uint operator()(ushort src) const src 294 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp RGB5x52RGBConverter<green_bits, bidx>::cvt(src, dst); src 318 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(T src) const src 322 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.z = dst.y = dst.x = src; src 333 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ uint operator()(uint src) const src 337 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= src; src 338 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= src << 8; src 339 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= src << 16; src 380 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ ushort operator()(uint src) const src 382 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return Gray2RGB5x5Converter<green_bits>::cvt(src); src 423 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ uchar operator()(uint src) const src 425 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return RGB5x52GrayConverter<green_bits>::cvt(src); src 444 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, typename T> static __device__ __forceinline__ T RGB2GrayConvert(const T* src) src 446 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return (T)CV_DESCALE((unsigned)(src[bidx] * B2Y + src[1] * G2Y + src[bidx^2] * R2Y), yuv_shift); src 449 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx> static __device__ __forceinline__ uchar RGB2GrayConvert(uint src) src 451 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp uint b = 0xffu & (src >> (bidx * 8)); src 452 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp uint g = 0xffu & (src >> 8); src 453 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp uint r = 0xffu & (src >> ((bidx ^ 2) * 8)); src 457 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx> static __device__ __forceinline__ float RGB2GrayConvert(const float* src) src 459 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return src[bidx] * 0.114f + src[1] * 0.587f + src[bidx^2] * 0.299f; src 464 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ T operator()(const typename TypeVec<T, scn>::vec_type& src) const src 466 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return RGB2GrayConvert<bidx>(&src.x); src 474 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ uchar operator()(uint src) const src 476 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return RGB2GrayConvert<bidx>(src); src 500 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, typename T, typename D> static __device__ void RGB2YUVConvert(const T* src, D& dst) src 504 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int Y = CV_DESCALE(src[0] * c_RGB2YUVCoeffs_i[bidx^2] + src[1] * c_RGB2YUVCoeffs_i[1] + src[2] * c_RGB2YUVCoeffs_i[bidx], yuv_shift); src 505 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int Cr = CV_DESCALE((src[bidx^2] - Y) * c_RGB2YUVCoeffs_i[3] + delta, yuv_shift); src 506 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int Cb = CV_DESCALE((src[bidx] - Y) * c_RGB2YUVCoeffs_i[4] + delta, yuv_shift); src 513 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, typename D> static __device__ __forceinline__ void RGB2YUVConvert(const float* src, D& dst) src 515 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.x = src[0] * c_RGB2YUVCoeffs_f[bidx^2] + src[1] * c_RGB2YUVCoeffs_f[1] + src[2] * c_RGB2YUVCoeffs_f[bidx]; src 516 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = (src[bidx^2] - dst.x) * c_RGB2YUVCoeffs_f[3] + ColorChannel<float>::half(); src 517 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.z = (src[bidx] - dst.x) * c_RGB2YUVCoeffs_f[4] + ColorChannel<float>::half(); src 523 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator ()(const typename TypeVec<T, scn>::vec_type& src) const src 526 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp RGB2YUVConvert<bidx>(&src.x, dst); src 549 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, typename T, typename D> static __device__ void YUV2RGBConvert(const T& src, D* dst) src 551 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int b = src.x + CV_DESCALE((src.z - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[3], yuv_shift); src 553 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int g = src.x + CV_DESCALE((src.z - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[2] src 554 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp + (src.y - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[1], yuv_shift); src 556 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int r = src.x + CV_DESCALE((src.y - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[0], yuv_shift); src 563 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx> static __device__ uint YUV2RGBConvert(uint src) src 565 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int x = 0xff & (src); src 566 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int y = 0xff & (src >> 8); src 567 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int z = 0xff & (src >> 16); src 585 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, typename T> static __device__ __forceinline__ void YUV2RGBConvert(const T& src, float* dst) src 587 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[bidx] = src.x + (src.z - ColorChannel<float>::half()) * c_YUV2RGBCoeffs_f[3]; src 589 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[1] = src.x + (src.z - ColorChannel<float>::half()) * c_YUV2RGBCoeffs_f[2] src 590 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp + (src.y - ColorChannel<float>::half()) * c_YUV2RGBCoeffs_f[1]; src 592 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[bidx^2] = src.x + (src.y - ColorChannel<float>::half()) * c_YUV2RGBCoeffs_f[0]; src 598 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator ()(const typename TypeVec<T, scn>::vec_type& src) const src 602 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp YUV2RGBConvert<bidx>(src, &dst.x); src 613 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ uint operator ()(uint src) const src 615 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return YUV2RGBConvert<bidx>(src); src 639 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, typename T, typename D> static __device__ void RGB2YCrCbConvert(const T* src, D& dst) src 643 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int Y = CV_DESCALE(src[0] * c_RGB2YCrCbCoeffs_i[bidx^2] + src[1] * c_RGB2YCrCbCoeffs_i[1] + src[2] * c_RGB2YCrCbCoeffs_i[bidx], yuv_shift); src 644 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int Cr = CV_DESCALE((src[bidx^2] - Y) * c_RGB2YCrCbCoeffs_i[3] + delta, yuv_shift); src 645 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int Cb = CV_DESCALE((src[bidx] - Y) * c_RGB2YCrCbCoeffs_i[4] + delta, yuv_shift); src 652 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx> static __device__ uint RGB2YCrCbConvert(uint src) src 656 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int Y = CV_DESCALE((0xffu & src) * c_RGB2YCrCbCoeffs_i[bidx^2] + (0xffu & (src >> 8)) * c_RGB2YCrCbCoeffs_i[1] + (0xffu & (src >> 16)) * c_RGB2YCrCbCoeffs_i[bidx], yuv_shift); src 657 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int Cr = CV_DESCALE(((0xffu & (src >> ((bidx ^ 2) * 8))) - Y) * c_RGB2YCrCbCoeffs_i[3] + delta, yuv_shift); src 658 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int Cb = CV_DESCALE(((0xffu & (src >> (bidx * 8))) - Y) * c_RGB2YCrCbCoeffs_i[4] + delta, yuv_shift); src 669 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, typename D> static __device__ __forceinline__ void RGB2YCrCbConvert(const float* src, D& dst) src 671 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.x = src[0] * c_RGB2YCrCbCoeffs_f[bidx^2] + src[1] * c_RGB2YCrCbCoeffs_f[1] + src[2] * c_RGB2YCrCbCoeffs_f[bidx]; src 672 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = (src[bidx^2] - dst.x) * c_RGB2YCrCbCoeffs_f[3] + ColorChannel<float>::half(); src 673 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.z = (src[bidx] - dst.x) * c_RGB2YCrCbCoeffs_f[4] + ColorChannel<float>::half(); src 679 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator ()(const typename TypeVec<T, scn>::vec_type& src) const src 682 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp RGB2YCrCbConvert<bidx>(&src.x, dst); src 691 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ uint operator ()(uint src) const src 693 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return RGB2YCrCbConvert<bidx>(src); src 716 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, typename T, typename D> static __device__ void YCrCb2RGBConvert(const T& src, D* dst) src 718 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int b = src.x + CV_DESCALE((src.z - ColorChannel<D>::half()) * c_YCrCb2RGBCoeffs_i[3], yuv_shift); src 719 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int g = src.x + CV_DESCALE((src.z - ColorChannel<D>::half()) * c_YCrCb2RGBCoeffs_i[2] + (src.y - ColorChannel<D>::half()) * c_YCrCb2RGBCoeffs_i[1], yuv_shift); src 720 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int r = src.x + CV_DESCALE((src.y - ColorChannel<D>::half()) * c_YCrCb2RGBCoeffs_i[0], yuv_shift); src 727 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx> static __device__ uint YCrCb2RGBConvert(uint src) src 729 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int x = 0xff & (src); src 730 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int y = 0xff & (src >> 8); src 731 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int z = 0xff & (src >> 16); src 746 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, typename T> __device__ __forceinline__ void YCrCb2RGBConvert(const T& src, float* dst) src 748 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[bidx] = src.x + (src.z - ColorChannel<float>::half()) * c_YCrCb2RGBCoeffs_f[3]; src 749 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[1] = src.x + (src.z - ColorChannel<float>::half()) * c_YCrCb2RGBCoeffs_f[2] + (src.y - ColorChannel<float>::half()) * c_YCrCb2RGBCoeffs_f[1]; src 750 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[bidx^2] = src.x + (src.y - ColorChannel<float>::half()) * c_YCrCb2RGBCoeffs_f[0]; src 756 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator ()(const typename TypeVec<T, scn>::vec_type& src) const src 760 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp YCrCb2RGBConvert<bidx>(src, &dst.x); src 771 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ uint operator ()(uint src) const src 773 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return YCrCb2RGBConvert<bidx>(src); src 797 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, typename T, typename D> static __device__ __forceinline__ void RGB2XYZConvert(const T* src, D& dst) src 799 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.z = saturate_cast<T>(CV_DESCALE(src[bidx^2] * c_RGB2XYZ_D65i[6] + src[1] * c_RGB2XYZ_D65i[7] + src[bidx] * c_RGB2XYZ_D65i[8], xyz_shift)); src 800 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.x = saturate_cast<T>(CV_DESCALE(src[bidx^2] * c_RGB2XYZ_D65i[0] + src[1] * c_RGB2XYZ_D65i[1] + src[bidx] * c_RGB2XYZ_D65i[2], xyz_shift)); src 801 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = saturate_cast<T>(CV_DESCALE(src[bidx^2] * c_RGB2XYZ_D65i[3] + src[1] * c_RGB2XYZ_D65i[4] + src[bidx] * c_RGB2XYZ_D65i[5], xyz_shift)); src 804 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx> static __device__ __forceinline__ uint RGB2XYZConvert(uint src) src 806 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const uint b = 0xffu & (src >> (bidx * 8)); src 807 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const uint g = 0xffu & (src >> 8); src 808 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const uint r = 0xffu & (src >> ((bidx ^ 2) * 8)); src 823 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, typename D> static __device__ __forceinline__ void RGB2XYZConvert(const float* src, D& dst) src 825 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.x = src[bidx^2] * c_RGB2XYZ_D65f[0] + src[1] * c_RGB2XYZ_D65f[1] + src[bidx] * c_RGB2XYZ_D65f[2]; src 826 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = src[bidx^2] * c_RGB2XYZ_D65f[3] + src[1] * c_RGB2XYZ_D65f[4] + src[bidx] * c_RGB2XYZ_D65f[5]; src 827 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.z = src[bidx^2] * c_RGB2XYZ_D65f[6] + src[1] * c_RGB2XYZ_D65f[7] + src[bidx] * c_RGB2XYZ_D65f[8]; src 833 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const src 837 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp RGB2XYZConvert<bidx>(&src.x, dst); src 847 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ uint operator()(uint src) const src 849 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return RGB2XYZConvert<bidx>(src); src 871 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, typename T, typename D> static __device__ __forceinline__ void XYZ2RGBConvert(const T& src, D* dst) src 873 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[bidx^2] = saturate_cast<D>(CV_DESCALE(src.x * c_XYZ2sRGB_D65i[0] + src.y * c_XYZ2sRGB_D65i[1] + src.z * c_XYZ2sRGB_D65i[2], xyz_shift)); src 874 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[1] = saturate_cast<D>(CV_DESCALE(src.x * c_XYZ2sRGB_D65i[3] + src.y * c_XYZ2sRGB_D65i[4] + src.z * c_XYZ2sRGB_D65i[5], xyz_shift)); src 875 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[bidx] = saturate_cast<D>(CV_DESCALE(src.x * c_XYZ2sRGB_D65i[6] + src.y * c_XYZ2sRGB_D65i[7] + src.z * c_XYZ2sRGB_D65i[8], xyz_shift)); src 878 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx> static __device__ __forceinline__ uint XYZ2RGBConvert(uint src) src 880 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int x = 0xff & src; src 881 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int y = 0xff & (src >> 8); src 882 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int z = 0xff & (src >> 16); src 897 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, typename T> static __device__ __forceinline__ void XYZ2RGBConvert(const T& src, float* dst) src 899 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[bidx^2] = src.x * c_XYZ2sRGB_D65f[0] + src.y * c_XYZ2sRGB_D65f[1] + src.z * c_XYZ2sRGB_D65f[2]; src 900 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[1] = src.x * c_XYZ2sRGB_D65f[3] + src.y * c_XYZ2sRGB_D65f[4] + src.z * c_XYZ2sRGB_D65f[5]; src 901 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst[bidx] = src.x * c_XYZ2sRGB_D65f[6] + src.y * c_XYZ2sRGB_D65f[7] + src.z * c_XYZ2sRGB_D65f[8]; src 907 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const src 911 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp XYZ2RGBConvert<bidx>(src, &dst.x); src 922 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ uint operator()(uint src) const src 924 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return XYZ2RGBConvert<bidx>(src); src 949 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, int hr, typename D> static __device__ void RGB2HSVConvert(const uchar* src, D& dst) src 954 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp int b = src[bidx], g = src[1], r = src[bidx^2]; src 978 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, int hr> static __device__ uint RGB2HSVConvert(uint src) src 983 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int b = 0xff & (src >> (bidx * 8)); src 984 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int g = 0xff & (src >> 8); src 985 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int r = 0xff & (src >> ((bidx ^ 2) * 8)); src 1014 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, int hr, typename D> static __device__ void RGB2HSVConvert(const float* src, D& dst) src 1018 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float b = src[bidx], g = src[1], r = src[bidx^2]; src 1046 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const src 1050 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp RGB2HSVConvert<bidx, hr>(&src.x, dst); src 1060 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ uint operator()(uint src) const src 1062 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return RGB2HSVConvert<bidx, hr>(src); src 1107 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, int hr, typename T> static __device__ void HSV2RGBConvert(const T& src, float* dst) src 1111 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float h = src.x, s = src.y, v = src.z; src 1148 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, int HR, typename T> static __device__ void HSV2RGBConvert(const T& src, uchar* dst) src 1152 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.x = src.x; src 1153 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.y = src.y * (1.f / 255.f); src 1154 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.z = src.z * (1.f / 255.f); src 1163 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, int hr> static __device__ uint HSV2RGBConvert(uint src) src 1167 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.x = src & 0xff; src 1168 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.y = ((src >> 8) & 0xff) * (1.f/255.f); src 1169 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.z = ((src >> 16) & 0xff) * (1.f/255.f); src 1185 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const src 1189 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp HSV2RGBConvert<bidx, hr>(src, &dst.x); src 1200 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ uint operator()(uint src) const src 1202 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return HSV2RGBConvert<bidx, hr>(src); src 1247 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, int hr, typename D> static __device__ void RGB2HLSConvert(const float* src, D& dst) src 1251 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float b = src[bidx], g = src[1], r = src[bidx^2]; src 1282 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, int hr, typename D> static __device__ void RGB2HLSConvert(const uchar* src, D& dst) src 1286 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.x = src[0] * (1.f / 255.f); src 1287 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.y = src[1] * (1.f / 255.f); src 1288 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.z = src[2] * (1.f / 255.f); src 1297 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, int hr> static __device__ uint RGB2HLSConvert(uint src) src 1301 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.x = (0xff & src) * (1.f / 255.f); src 1302 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.y = (0xff & (src >> 8)) * (1.f / 255.f); src 1303 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.z = (0xff & (src >> 16)) * (1.f / 255.f); src 1319 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const src 1323 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp RGB2HLSConvert<bidx, hr>(&src.x, dst); src 1333 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ uint operator()(uint src) const src 1335 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return RGB2HLSConvert<bidx, hr>(src); src 1380 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, int hr, typename T> static __device__ void HLS2RGBConvert(const T& src, float* dst) src 1384 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float h = src.x, l = src.y, s = src.z; src 1421 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, int hr, typename T> static __device__ void HLS2RGBConvert(const T& src, uchar* dst) src 1425 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.x = src.x; src 1426 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.y = src.y * (1.f / 255.f); src 1427 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.z = src.z * (1.f / 255.f); src 1436 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int bidx, int hr> static __device__ uint HLS2RGBConvert(uint src) src 1440 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.x = 0xff & src; src 1441 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.y = (0xff & (src >> 8)) * (1.f / 255.f); src 1442 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp buf.z = (0xff & (src >> 16)) * (1.f / 255.f); src 1458 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const src 1462 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp HLS2RGBConvert<bidx, hr>(src, &dst.x); src 1473 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ uint operator()(uint src) const src 1475 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return HLS2RGBConvert<bidx, hr>(src); src 1539 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ void RGB2LabConvert_b(const T& src, D& dst) src 1544 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp int B = blueIdx == 0 ? src.x : src.z; src 1545 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp int G = src.y; src 1546 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp int R = blueIdx == 0 ? src.z : src.x; src 1585 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ void RGB2LabConvert_f(const T& src, D& dst) src 1590 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float B = blueIdx == 0 ? src.x : src.z; src 1591 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float G = src.y; src 1592 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float R = blueIdx == 0 ? src.z : src.x; src 1623 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<uchar, dcn>::vec_type operator ()(const typename TypeVec<uchar, scn>::vec_type& src) const src 1627 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp RGB2LabConvert_b<srgb, blueIdx>(src, dst); src 1638 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<float, dcn>::vec_type operator ()(const typename TypeVec<float, scn>::vec_type& src) const src 1642 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp RGB2LabConvert_f<srgb, blueIdx>(src, dst); src 1666 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ void Lab2RGBConvert_f(const T& src, D& dst) src 1673 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp if (src.x <= lThresh) src 1675 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp Y = src.x / 903.3f; src 1680 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp fy = (src.x + 16.0f) / 116.0f; src 1684 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float X = src.y / 500.0f + fy; src 1685 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float Z = fy - src.z / 200.0f; src 1715 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ void Lab2RGBConvert_b(const T& src, D& dst) src 1719 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp srcf.x = src.x * (100.f / 255.f); src 1720 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp srcf.y = src.y - 128; src 1721 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp srcf.z = src.z - 128; src 1736 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<uchar, dcn>::vec_type operator ()(const typename TypeVec<uchar, scn>::vec_type& src) const src 1740 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp Lab2RGBConvert_b<srgb, blueIdx>(src, dst); src 1751 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<float, dcn>::vec_type operator ()(const typename TypeVec<float, scn>::vec_type& src) const src 1755 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp Lab2RGBConvert_f<srgb, blueIdx>(src, dst); src 1781 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ void RGB2LuvConvert_f(const T& src, D& dst) src 1787 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float B = blueIdx == 0 ? src.x : src.z; src 1788 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float G = src.y; src 1789 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float R = blueIdx == 0 ? src.z : src.x; src 1815 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ void RGB2LuvConvert_b(const T& src, D& dst) src 1819 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp srcf.x = src.x * (1.f / 255.f); src 1820 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp srcf.y = src.y * (1.f / 255.f); src 1821 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp srcf.z = src.z * (1.f / 255.f); src 1835 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<uchar, dcn>::vec_type operator ()(const typename TypeVec<uchar, scn>::vec_type& src) const src 1839 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp RGB2LuvConvert_b<srgb, blueIdx>(src, dst); src 1850 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<float, dcn>::vec_type operator ()(const typename TypeVec<float, scn>::vec_type& src) const src 1854 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp RGB2LuvConvert_f<srgb, blueIdx>(src, dst); src 1876 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ void Luv2RGBConvert_f(const T& src, D& dst) src 1882 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float L = src.x; src 1883 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float u = src.y; src 1884 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float v = src.z; src 1915 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ void Luv2RGBConvert_b(const T& src, D& dst) src 1919 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp srcf.x = src.x * (100.f / 255.f); src 1920 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp srcf.y = src.y * 1.388235294117647f - 134.f; src 1921 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp srcf.z = src.z * 1.027450980392157f - 140.f; src 1936 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<uchar, dcn>::vec_type operator ()(const typename TypeVec<uchar, scn>::vec_type& src) const src 1940 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp Luv2RGBConvert_b<srgb, blueIdx>(src, dst); src 1951 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<float, dcn>::vec_type operator ()(const typename TypeVec<float, scn>::vec_type& src) const src 1955 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp Luv2RGBConvert_f<srgb, blueIdx>(src, dst); src 77 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp static __device__ __forceinline__ void unroll(const T& src, D& dst, const Mask& mask, UnOp& op, int x_shifted, int y) src 80 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.x = op(src.x); src 93 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp static __device__ __forceinline__ void unroll(const T& src, D& dst, const Mask& mask, UnOp& op, int x_shifted, int y) src 96 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.x = op(src.x); src 98 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.y = op(src.y); src 113 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp static __device__ __forceinline__ void unroll(const T& src, D& dst, const Mask& mask, const UnOp& op, int x_shifted, int y) src 116 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.x = op(src.x); src 118 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.y = op(src.y); src 120 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.z = op(src.z); src 137 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp static __device__ __forceinline__ void unroll(const T& src, D& dst, const Mask& mask, const UnOp& op, int x_shifted, int y) src 140 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.x = op(src.x); src 142 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.y = op(src.y); src 144 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.z = op(src.z); src 146 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.w = op(src.w); src 165 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp static __device__ __forceinline__ void unroll(const T& src, D& dst, const Mask& mask, const UnOp& op, int x_shifted, int y) src 168 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.a0 = op(src.a0); src 170 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.a1 = op(src.a1); src 172 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.a2 = op(src.a2); src 174 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.a3 = op(src.a3); src 176 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.a4 = op(src.a4); src 178 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.a5 = op(src.a5); src 180 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.a6 = op(src.a6); src 182 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.a7 = op(src.a7); src 220 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const T* src = src_.ptr(y); src 225 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const read_type src_n_el = ((const read_type*)src)[x]; src 237 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst[real_x] = op(src[real_x]); src 244 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp __global__ static void transformSimple(const PtrStepSz<T> src, PtrStep<D> dst, const Mask mask, const UnOp op) src 249 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (x < src.cols && y < src.rows && mask(y, x)) src 251 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp dst.ptr(y)[x] = op(src.ptr(y)[x]); src 314 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp static void call(PtrStepSz<T> src, PtrStepSz<D> dst, UnOp op, Mask mask, cudaStream_t stream) src 319 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const dim3 grid(divUp(src.cols, threads.x), divUp(src.rows, threads.y), 1); src 321 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp transformSimple<T, D><<<grid, threads, 0, stream>>>(src, dst, mask, op); src 346 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp static void call(PtrStepSz<T> src, PtrStepSz<D> dst, UnOp op, Mask mask, cudaStream_t stream) src 352 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp if (!isAligned(src.data, ft::smart_shift * sizeof(T)) || !isAligned(src.step, ft::smart_shift * sizeof(T)) || src 355 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp TransformDispatcher<false>::call(src, dst, op, mask, stream); src 360 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp const dim3 grid(divUp(src.cols, threads.x * ft::smart_shift), divUp(src.rows, threads.y), 1); src 362 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp transformSmart<T, D><<<grid, threads, 0, stream>>>(src, dst, mask, op); src 65 modules/core/include/opencv2/core/cuda/filters.hpp : src(src_) src 73 modules/core/include/opencv2/core/cuda/filters.hpp return src(__float2int_rz(y), __float2int_rz(x)); src 76 modules/core/include/opencv2/core/cuda/filters.hpp Ptr2D src; src 85 modules/core/include/opencv2/core/cuda/filters.hpp : src(src_) src 101 modules/core/include/opencv2/core/cuda/filters.hpp elem_type src_reg = src(y1, x1); src 104 modules/core/include/opencv2/core/cuda/filters.hpp src_reg = src(y1, x2); src 107 modules/core/include/opencv2/core/cuda/filters.hpp src_reg = src(y2, x1); src 110 modules/core/include/opencv2/core/cuda/filters.hpp src_reg = src(y2, x2); src 116 modules/core/include/opencv2/core/cuda/filters.hpp Ptr2D src; src 126 modules/core/include/opencv2/core/cuda/filters.hpp : src(src_) src 165 modules/core/include/opencv2/core/cuda/filters.hpp sum = sum + w * src(__float2int_rd(cy), __float2int_rd(cx)); src 175 modules/core/include/opencv2/core/cuda/filters.hpp Ptr2D src; src 184 modules/core/include/opencv2/core/cuda/filters.hpp : src(src_), scale_x(scale_x_), scale_y(scale_y_), scale(1.f / (scale_x * scale_y)) {} src 206 modules/core/include/opencv2/core/cuda/filters.hpp out = out + src(dy, dx) * scale; src 212 modules/core/include/opencv2/core/cuda/filters.hpp Ptr2D src; src 222 modules/core/include/opencv2/core/cuda/filters.hpp : src(src_), scale_x(scale_x_), scale_y(scale_y_){} src 238 modules/core/include/opencv2/core/cuda/filters.hpp float scale = 1.f / (fminf(scale_x, src.width - fsx1) * fminf(scale_y, src.height - fsy1)); src 246 modules/core/include/opencv2/core/cuda/filters.hpp out = out + src(dy, dx) * scale; src 249 modules/core/include/opencv2/core/cuda/filters.hpp out = out + src(dy, (sx1 -1) ) * ((sx1 - fsx1) * scale); src 252 modules/core/include/opencv2/core/cuda/filters.hpp out = out + src(dy, sx2) * ((fsx2 -sx2) * scale); src 257 modules/core/include/opencv2/core/cuda/filters.hpp out = out + src( (sy1 - 1) , dx) * ((sy1 -fsy1) * scale); src 261 modules/core/include/opencv2/core/cuda/filters.hpp out = out + src(sy2, dx) * ((fsy2 -sy2) * scale); src 264 modules/core/include/opencv2/core/cuda/filters.hpp out = out + src( (sy1 - 1) , (sx1 - 1)) * ((sy1 -fsy1) * (sx1 -fsx1) * scale); src 267 modules/core/include/opencv2/core/cuda/filters.hpp out = out + src( (sy1 - 1) , sx2) * ((sy1 -fsy1) * (fsx2 -sx2) * scale); src 270 modules/core/include/opencv2/core/cuda/filters.hpp out = out + src(sy2, sx2) * ((fsy2 -sy2) * (fsx2 -sx2) * scale); src 273 modules/core/include/opencv2/core/cuda/filters.hpp out = out + src(sy2, (sx1 - 1)) * ((fsy2 -sy2) * (sx1 -fsx1) * scale); src 278 modules/core/include/opencv2/core/cuda/filters.hpp Ptr2D src; src 554 modules/core/include/opencv2/core/cuda/functional.hpp __device__ __forceinline__ T operator()(typename TypeTraits<T>::ParameterType src) const src 556 modules/core/include/opencv2/core/cuda/functional.hpp return (src > thresh) * maxVal; src 571 modules/core/include/opencv2/core/cuda/functional.hpp __device__ __forceinline__ T operator()(typename TypeTraits<T>::ParameterType src) const src 573 modules/core/include/opencv2/core/cuda/functional.hpp return (src <= thresh) * maxVal; src 588 modules/core/include/opencv2/core/cuda/functional.hpp __device__ __forceinline__ T operator()(typename TypeTraits<T>::ParameterType src) const src 590 modules/core/include/opencv2/core/cuda/functional.hpp return minimum<T>()(src, thresh); src 604 modules/core/include/opencv2/core/cuda/functional.hpp __device__ __forceinline__ T operator()(typename TypeTraits<T>::ParameterType src) const src 606 modules/core/include/opencv2/core/cuda/functional.hpp return (src > thresh) * src; src 620 modules/core/include/opencv2/core/cuda/functional.hpp __device__ __forceinline__ T operator()(typename TypeTraits<T>::ParameterType src) const src 622 modules/core/include/opencv2/core/cuda/functional.hpp return (src <= thresh) * src; src 59 modules/core/include/opencv2/core/cuda/transform.hpp static inline void transform(PtrStepSz<T> src, PtrStepSz<D> dst, UnOp op, const Mask& mask, cudaStream_t stream) src 62 modules/core/include/opencv2/core/cuda/transform.hpp transform_detail::TransformDispatcher<VecTraits<T>::cn == 1 && VecTraits<D>::cn == 1 && ft::smart_shift != 1>::call(src, dst, op, mask, stream); src 86 modules/core/include/opencv2/core/directx.hpp CV_EXPORTS void convertToD3D11Texture2D(InputArray src, ID3D11Texture2D* pD3D11Texture2D); src 89 modules/core/include/opencv2/core/directx.hpp CV_EXPORTS void convertToD3D10Texture2D(InputArray src, ID3D10Texture2D* pD3D10Texture2D); src 92 modules/core/include/opencv2/core/directx.hpp CV_EXPORTS void convertToDirect3DSurface9(InputArray src, IDirect3DSurface9* pDirect3DSurface9, void* surfaceSharedHandle = NULL); src 63 modules/core/include/opencv2/core/eigen.hpp void eigen2cv( const Eigen::Matrix<_Tp, _rows, _cols, _options, _maxRows, _maxCols>& src, Mat& dst ) src 65 modules/core/include/opencv2/core/eigen.hpp if( !(src.Flags & Eigen::RowMajorBit) ) src 67 modules/core/include/opencv2/core/eigen.hpp Mat _src(src.cols(), src.rows(), DataType<_Tp>::type, src 68 modules/core/include/opencv2/core/eigen.hpp (void*)src.data(), src.stride()*sizeof(_Tp)); src 73 modules/core/include/opencv2/core/eigen.hpp Mat _src(src.rows(), src.cols(), DataType<_Tp>::type, src 74 modules/core/include/opencv2/core/eigen.hpp (void*)src.data(), src.stride()*sizeof(_Tp)); src 81 modules/core/include/opencv2/core/eigen.hpp void eigen2cv( const Eigen::Matrix<_Tp, _rows, _cols, _options, _maxRows, _maxCols>& src, src 84 modules/core/include/opencv2/core/eigen.hpp if( !(src.Flags & Eigen::RowMajorBit) ) src 86 modules/core/include/opencv2/core/eigen.hpp dst = Matx<_Tp, _cols, _rows>(static_cast<const _Tp*>(src.data())).t(); src 90 modules/core/include/opencv2/core/eigen.hpp dst = Matx<_Tp, _rows, _cols>(static_cast<const _Tp*>(src.data())); src 95 modules/core/include/opencv2/core/eigen.hpp void cv2eigen( const Mat& src, src 98 modules/core/include/opencv2/core/eigen.hpp CV_DbgAssert(src.rows == _rows && src.cols == _cols); src 101 modules/core/include/opencv2/core/eigen.hpp const Mat _dst(src.cols, src.rows, DataType<_Tp>::type, src 103 modules/core/include/opencv2/core/eigen.hpp if( src.type() == _dst.type() ) src 104 modules/core/include/opencv2/core/eigen.hpp transpose(src, _dst); src 105 modules/core/include/opencv2/core/eigen.hpp else if( src.cols == src.rows ) src 107 modules/core/include/opencv2/core/eigen.hpp src.convertTo(_dst, _dst.type()); src 111 modules/core/include/opencv2/core/eigen.hpp Mat(src.t()).convertTo(_dst, _dst.type()); src 115 modules/core/include/opencv2/core/eigen.hpp const Mat _dst(src.rows, src.cols, DataType<_Tp>::type, src 117 modules/core/include/opencv2/core/eigen.hpp src.convertTo(_dst, _dst.type()); src 123 modules/core/include/opencv2/core/eigen.hpp void cv2eigen( const Matx<_Tp, _rows, _cols>& src, src 130 modules/core/include/opencv2/core/eigen.hpp transpose(src, _dst); src 136 modules/core/include/opencv2/core/eigen.hpp Mat(src).copyTo(_dst); src 141 modules/core/include/opencv2/core/eigen.hpp void cv2eigen( const Mat& src, src 144 modules/core/include/opencv2/core/eigen.hpp dst.resize(src.rows, src.cols); src 147 modules/core/include/opencv2/core/eigen.hpp const Mat _dst(src.cols, src.rows, DataType<_Tp>::type, src 149 modules/core/include/opencv2/core/eigen.hpp if( src.type() == _dst.type() ) src 150 modules/core/include/opencv2/core/eigen.hpp transpose(src, _dst); src 151 modules/core/include/opencv2/core/eigen.hpp else if( src.cols == src.rows ) src 153 modules/core/include/opencv2/core/eigen.hpp src.convertTo(_dst, _dst.type()); src 157 modules/core/include/opencv2/core/eigen.hpp Mat(src.t()).convertTo(_dst, _dst.type()); src 161 modules/core/include/opencv2/core/eigen.hpp const Mat _dst(src.rows, src.cols, DataType<_Tp>::type, src 163 modules/core/include/opencv2/core/eigen.hpp src.convertTo(_dst, _dst.type()); src 169 modules/core/include/opencv2/core/eigen.hpp void cv2eigen( const Matx<_Tp, _rows, _cols>& src, src 177 modules/core/include/opencv2/core/eigen.hpp transpose(src, _dst); src 183 modules/core/include/opencv2/core/eigen.hpp Mat(src).copyTo(_dst); src 188 modules/core/include/opencv2/core/eigen.hpp void cv2eigen( const Mat& src, src 191 modules/core/include/opencv2/core/eigen.hpp CV_Assert(src.cols == 1); src 192 modules/core/include/opencv2/core/eigen.hpp dst.resize(src.rows); src 196 modules/core/include/opencv2/core/eigen.hpp const Mat _dst(src.cols, src.rows, DataType<_Tp>::type, src 198 modules/core/include/opencv2/core/eigen.hpp if( src.type() == _dst.type() ) src 199 modules/core/include/opencv2/core/eigen.hpp transpose(src, _dst); src 201 modules/core/include/opencv2/core/eigen.hpp Mat(src.t()).convertTo(_dst, _dst.type()); src 205 modules/core/include/opencv2/core/eigen.hpp const Mat _dst(src.rows, src.cols, DataType<_Tp>::type, src 207 modules/core/include/opencv2/core/eigen.hpp src.convertTo(_dst, _dst.type()); src 213 modules/core/include/opencv2/core/eigen.hpp void cv2eigen( const Matx<_Tp, _rows, 1>& src, src 222 modules/core/include/opencv2/core/eigen.hpp transpose(src, _dst); src 228 modules/core/include/opencv2/core/eigen.hpp src.copyTo(_dst); src 234 modules/core/include/opencv2/core/eigen.hpp void cv2eigen( const Mat& src, src 237 modules/core/include/opencv2/core/eigen.hpp CV_Assert(src.rows == 1); src 238 modules/core/include/opencv2/core/eigen.hpp dst.resize(src.cols); src 241 modules/core/include/opencv2/core/eigen.hpp const Mat _dst(src.cols, src.rows, DataType<_Tp>::type, src 243 modules/core/include/opencv2/core/eigen.hpp if( src.type() == _dst.type() ) src 244 modules/core/include/opencv2/core/eigen.hpp transpose(src, _dst); src 246 modules/core/include/opencv2/core/eigen.hpp Mat(src.t()).convertTo(_dst, _dst.type()); src 250 modules/core/include/opencv2/core/eigen.hpp const Mat _dst(src.rows, src.cols, DataType<_Tp>::type, src 252 modules/core/include/opencv2/core/eigen.hpp src.convertTo(_dst, _dst.type()); src 258 modules/core/include/opencv2/core/eigen.hpp void cv2eigen( const Matx<_Tp, 1, _cols>& src, src 266 modules/core/include/opencv2/core/eigen.hpp transpose(src, _dst); src 272 modules/core/include/opencv2/core/eigen.hpp Mat(src).copyTo(_dst); src 104 modules/core/include/opencv2/core/ippasync.hpp inline void copyHppToMat(hppiMatrix* src, Mat& dst, hppAccel accel, int cn) src 110 modules/core/include/opencv2/core/ippasync.hpp if (src == NULL) src 113 modules/core/include/opencv2/core/ippasync.hpp sts = hppiInquireMatrix(src, &type, &width, &height); src 127 modules/core/include/opencv2/core/ippasync.hpp sts = hppiGetMatrixData(accel,src,(hpp32u)(dst.step),dst.data,&newSize); src 141 modules/core/include/opencv2/core/ippasync.hpp inline Mat getMat(hppiMatrix* src, hppAccel accel, int cn) src 144 modules/core/include/opencv2/core/ippasync.hpp copyHppToMat(src, dst, accel, cn); src 168 modules/core/include/opencv2/core/ippasync.hpp inline hppiMatrix* getHpp(const Mat& src, hppAccel accel) src 170 modules/core/include/opencv2/core/ippasync.hpp int htype = toHppType(src.type()); src 171 modules/core/include/opencv2/core/ippasync.hpp int cn = src.channels(); src 173 modules/core/include/opencv2/core/ippasync.hpp CV_Assert(src.data); src 179 modules/core/include/opencv2/core/ippasync.hpp hppQueryMatrixAllocParams(accel, src.cols*cn, src.rows, htype, &pitch, &size); src 181 modules/core/include/opencv2/core/ippasync.hpp if ((int)(src.data)%4096==0 && pitch==(hpp32u)(src.step)) src 183 modules/core/include/opencv2/core/ippasync.hpp return hppiCreateSharedMatrix(htype, src.cols*cn, src.rows, src.data, pitch, size); src 187 modules/core/include/opencv2/core/ippasync.hpp return hppiCreateMatrix(htype, src.cols*cn, src.rows, src.data, (hpp32s)(src.step));; src 418 modules/core/include/opencv2/core/mat.hpp virtual void upload(UMatData* data, const void* src, int dims, const size_t sz[], src 539 modules/core/include/opencv2/core/ocl.hpp Program(const ProgramSource& src, src 547 modules/core/include/opencv2/core/ocl.hpp bool create(const ProgramSource& src, src 653 modules/core/include/opencv2/core/ocl.hpp explicit Image2D(const UMat &src, bool norm = false, bool alias = false); src 225 modules/core/include/opencv2/core/wimage.hpp void CopyFrom(const WImage<T>& src) { cvCopy(src.Ipl(), image_); } src 270 modules/core/include/opencv2/core/wimage.hpp void CopyFrom(const WImageC<T, C>& src) { src 271 modules/core/include/opencv2/core/wimage.hpp cvCopy(src.Ipl(), WImage<T>::image_); src 322 modules/core/include/opencv2/core/wimage.hpp void CloneFrom(const WImage<T>& src) { src 323 modules/core/include/opencv2/core/wimage.hpp Allocate(src.Width(), src.Height(), src.Channels()); src 324 modules/core/include/opencv2/core/wimage.hpp CopyFrom(src); src 379 modules/core/include/opencv2/core/wimage.hpp void CloneFrom(const WImageC<T, C>& src) { src 380 modules/core/include/opencv2/core/wimage.hpp Allocate(src.Width(), src.Height()); src 381 modules/core/include/opencv2/core/wimage.hpp CopyFrom(src); src 397 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(3, 3, CvType.CV_32FC1, new Scalar(2.0)); src 401 modules/core/misc/java/test/CoreTest.java Core.eigen(src, eigenVals, eigenVecs); src 517 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(2, 2, CvType.CV_32F) { src 528 modules/core/misc/java/test/CoreTest.java Core.flip(src, dst1, 0); src 529 modules/core/misc/java/test/CoreTest.java Core.flip(src, dst2, 1); src 761 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(2, 2, CvType.CV_32F) { src 770 modules/core/misc/java/test/CoreTest.java Core.invert(src, dst); src 784 modules/core/misc/java/test/CoreTest.java Mat src = Mat.eye(3, 3, CvType.CV_32FC1); src 785 modules/core/misc/java/test/CoreTest.java src.put(0, 2, 1); src 787 modules/core/misc/java/test/CoreTest.java double cond = Core.invert(src, dst, Core.DECOMP_SVD); src 1058 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(4, 4, CvType.CV_8U) { src 1069 modules/core/misc/java/test/CoreTest.java MinMaxLocResult res = Core.minMaxLoc(src, mask); src 1079 modules/core/misc/java/test/CoreTest.java List<Mat> src = Arrays.asList(rgba0); src 1091 modules/core/misc/java/test/CoreTest.java Core.mixChannels(src, dst, fromTo); src 1195 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(1, 4, CvType.CV_32F) { src 1201 modules/core/misc/java/test/CoreTest.java Core.normalize(src, dst, 1.0, 2.0, Core.NORM_INF); src 1212 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(1, 5, CvType.CV_32F) { src 1218 modules/core/misc/java/test/CoreTest.java Core.normalize(src, dst, 1, 2, Core.NORM_MINMAX, CvType.CV_64F); src 1229 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(1, 5, CvType.CV_32F) { src 1239 modules/core/misc/java/test/CoreTest.java dst = src.clone(); src 1241 modules/core/misc/java/test/CoreTest.java Core.normalize(src, dst, 1, 2, Core.NORM_MINMAX, CvType.CV_32F, mask); src 1402 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(matSize, matSize, CvType.CV_32FC2); src 1403 modules/core/misc/java/test/CoreTest.java Core.randu(src, 0, 256); src 1406 modules/core/misc/java/test/CoreTest.java Core.perspectiveTransform(src, dst, transformMatrix); src 1407 modules/core/misc/java/test/CoreTest.java assertMatEqual(src, dst, EPS); src 1411 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(matSize, matSize, CvType.CV_32FC3); src 1412 modules/core/misc/java/test/CoreTest.java Core.randu(src, 0, 256); src 1415 modules/core/misc/java/test/CoreTest.java Core.perspectiveTransform(src, dst, transformMatrix); src 1417 modules/core/misc/java/test/CoreTest.java assertMatEqual(src, dst, EPS); src 1642 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(2, 2, CvType.CV_32F) { src 1649 modules/core/misc/java/test/CoreTest.java Core.reduce(src, dst, 0, Core.REDUCE_AVG); src 1660 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(2, 2, CvType.CV_32F) { src 1667 modules/core/misc/java/test/CoreTest.java Core.reduce(src, dst, 1, Core.REDUCE_SUM, CvType.CV_64F); src 1678 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(1, 2, CvType.CV_32F, new Scalar(0)); src 1680 modules/core/misc/java/test/CoreTest.java Core.repeat(src, matSize, matSize / 2, dst); src 1886 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(4, 4, CvType.CV_8U, new Scalar(10)); src 1888 modules/core/misc/java/test/CoreTest.java Scalar res1 = Core.sumElems(src); src 1906 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(1, 4, CvType.CV_32FC1) { src 1915 modules/core/misc/java/test/CoreTest.java Core.SVDecomp(src, w, u, vt); src 1930 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(1, 4, CvType.CV_32FC1) { src 1939 modules/core/misc/java/test/CoreTest.java Core.SVDecomp(src, w, u, vt, Core.SVD_NO_UV); src 1954 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(2, 2, CvType.CV_32F, new Scalar(55)); src 1957 modules/core/misc/java/test/CoreTest.java Core.transform(src, dst, m); src 1983 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(2, 2, CvType.CV_32F, new Scalar(1)); src 1986 modules/core/misc/java/test/CoreTest.java Core.copyMakeBorder(src, dst, border, border, border, border, Core.BORDER_REPLICATE); src 1993 modules/core/misc/java/test/CoreTest.java Mat src = new Mat(2, 2, CvType.CV_32F, new Scalar(1)); src 1998 modules/core/misc/java/test/CoreTest.java Core.copyMakeBorder(src, dst, border, border, border, border, Core.BORDER_REPLICATE, value); src 153 modules/core/misc/java/test/MatTest.java Mat src = new Mat(4, 4, CvType.CV_8U, new Scalar(5)); src 154 modules/core/misc/java/test/MatTest.java Mat mask = makeMask(src.clone()); src 156 modules/core/misc/java/test/MatTest.java src.copyTo(dst, mask); src 465 modules/core/misc/java/test/MatTest.java Mat src = new Mat(2, 2, CvType.CV_32F) { src 474 modules/core/misc/java/test/MatTest.java dst = src.inv(Core.DECOMP_CHOLESKY); src 804 modules/core/misc/java/test/MatTest.java Mat src = new Mat(4, 4, CvType.CV_8U, new Scalar(0)); src 805 modules/core/misc/java/test/MatTest.java dst = src.reshape(4); src 812 modules/core/misc/java/test/MatTest.java Mat src = new Mat(5, 7, CvType.CV_8U, new Scalar(0)); src 813 modules/core/misc/java/test/MatTest.java dst = src.reshape(7, 5); src 950 modules/core/misc/java/test/MatTest.java Mat src = new Mat(3, 3, CvType.CV_16U) { src 958 modules/core/misc/java/test/MatTest.java dst = src.t(); src 100 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat src(size, type); src 102 modules/core/perf/cuda/perf_gpumat.cpp declare.in(src, mask, WARMUP_RNG); src 108 modules/core/perf/cuda/perf_gpumat.cpp cv::cuda::GpuMat dst(src); src 115 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat dst = src; src 137 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat src(size, type); src 139 modules/core/perf/cuda/perf_gpumat.cpp declare.in(src, mask, WARMUP_RNG); src 143 modules/core/perf/cuda/perf_gpumat.cpp const cv::cuda::GpuMat d_src(src); src 151 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat dst(src.size(), src.type(), cv::Scalar::all(0)); src 153 modules/core/perf/cuda/perf_gpumat.cpp TEST_CYCLE() src.copyTo(dst, mask); src 173 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat src(size, depth1); src 174 modules/core/perf/cuda/perf_gpumat.cpp declare.in(src, WARMUP_RNG); src 181 modules/core/perf/cuda/perf_gpumat.cpp const cv::cuda::GpuMat d_src(src); src 190 modules/core/perf/cuda/perf_gpumat.cpp TEST_CYCLE() src.convertTo(dst, depth2, a, b); src 64 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, CV_8UC(cn)), lut(1, 256, type); src 65 modules/core/perf/opencl/perf_arithm.cpp int dstType = CV_MAKETYPE(lut.depth(), src.channels()); src 68 modules/core/perf/opencl/perf_arithm.cpp declare.in(src, lut, WARMUP_RNG).out(dst); src 70 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::LUT(src, lut, dst); src 88 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type), dst(srcSize, type); src 89 modules/core/perf/opencl/perf_arithm.cpp declare.in(src).out(dst); src 90 modules/core/perf/opencl/perf_arithm.cpp randu(src, 5, 16); src 92 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::exp(src, dst); src 110 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type), dst(srcSize, type); src 111 modules/core/perf/opencl/perf_arithm.cpp randu(src, 1, 10000); src 112 modules/core/perf/opencl/perf_arithm.cpp declare.in(src).out(dst); src 114 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::log(src, dst); src 303 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type), dst(srcSize, type); src 304 modules/core/perf/opencl/perf_arithm.cpp declare.in(src, WARMUP_RNG).out(dst); src 306 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::transpose(src, dst); src 320 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type); src 321 modules/core/perf/opencl/perf_arithm.cpp declare.in(src, WARMUP_RNG).out(src, WARMUP_NONE); src 323 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::transpose(src, src); src 351 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type), dst(srcSize, type); src 352 modules/core/perf/opencl/perf_arithm.cpp declare.in(src, WARMUP_RNG).out(dst); src 354 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::flip(src, dst, flipType - 1); src 373 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type);; src 374 modules/core/perf/opencl/perf_arithm.cpp declare.in(src, WARMUP_RNG); src 379 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::minMaxLoc(src, &min_val, &max_val, onecn ? &min_loc : NULL, src 408 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type); src 410 modules/core/perf/opencl/perf_arithm.cpp randu(src, 0, 60); src 411 modules/core/perf/opencl/perf_arithm.cpp declare.in(src); src 413 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() result = cv::sum(src); src 435 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type); src 437 modules/core/perf/opencl/perf_arithm.cpp randu(src, 0, 10); src 438 modules/core/perf/opencl/perf_arithm.cpp declare.in(src); src 440 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() result = cv::countNonZero(src); src 543 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type), dst(srcSize, type); src 544 modules/core/perf/opencl/perf_arithm.cpp declare.in(src, WARMUP_RNG).out(dst); src 546 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::bitwise_not(src, dst); src 610 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type), dst(srcSize, type); src 611 modules/core/perf/opencl/perf_arithm.cpp randu(src, 0, 100); src 612 modules/core/perf/opencl/perf_arithm.cpp declare.in(src).out(dst); src 614 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::pow(src, 2.17, dst); src 657 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type), dst(srcSize, type); src 658 modules/core/perf/opencl/perf_arithm.cpp randu(src, 0, 1000); src 659 modules/core/perf/opencl/perf_arithm.cpp declare.in(src).out(dst); src 661 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::sqrt(src, dst); src 702 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type); src 704 modules/core/perf/opencl/perf_arithm.cpp declare.in(src, WARMUP_RNG); src 706 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::meanStdDev(src, mean, stddev); src 732 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type), mask(srcSize, CV_8UC1); src 734 modules/core/perf/opencl/perf_arithm.cpp declare.in(src, mask, WARMUP_RNG); src 736 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::meanStdDev(src, mean, stddev, mask); src 854 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type), dst(Size(srcSize.width * nx, srcSize.height * ny), type); src 855 modules/core/perf/opencl/perf_arithm.cpp declare.in(src, WARMUP_RNG).out(dst); src 857 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::repeat(src, nx, ny, dst); src 917 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type), lb(srcSize, type), ub(srcSize, type), dst(srcSize, CV_8UC1); src 918 modules/core/perf/opencl/perf_arithm.cpp declare.in(src, lb, ub, WARMUP_RNG).out(dst); src 920 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::inRange(src, lb, ub, dst); src 942 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type), dst(srcSize, type); src 943 modules/core/perf/opencl/perf_arithm.cpp declare.in(src, WARMUP_RNG).out(dst); src 945 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::normalize(src, dst, 10, 110, mode); src 960 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type), mask(srcSize, CV_8UC1), dst(srcSize, type); src 961 modules/core/perf/opencl/perf_arithm.cpp declare.in(src, mask, WARMUP_RNG).out(dst); src 963 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::normalize(src, dst, 10, 110, mode, -1, mask); src 981 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type), dst(srcSize, CV_8UC(cn)); src 982 modules/core/perf/opencl/perf_arithm.cpp declare.in(src, WARMUP_RNG).out(dst); src 984 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::convertScaleAbs(src, dst, 0.5, 2); src 1002 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, type); src 1003 modules/core/perf/opencl/perf_arithm.cpp declare.in(src, WARMUP_RNG).out(src); src 1007 modules/core/perf/opencl/perf_arithm.cpp Mat src_ = src.getMat(ACCESS_RW); src 1017 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::patchNaNs(src, 17.7); src 1019 modules/core/perf/opencl/perf_arithm.cpp SANITY_CHECK(src); src 1091 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, stype), dst(dstSize, dtype); src 1092 modules/core/perf/opencl/perf_arithm.cpp declare.in(src, WARMUP_RNG).out(dst); src 1094 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::reduce(src, dst, dim, op, dtype); src 1122 modules/core/perf/opencl/perf_arithm.cpp UMat src(srcSize, stype), dst(dstSize, dtype); src 1123 modules/core/perf/opencl/perf_arithm.cpp declare.in(src, WARMUP_RNG).out(dst); src 1125 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::reduce(src, dst, dim, op, dtype); src 100 modules/core/perf/opencl/perf_bufferpool.cpp UMat src(sz, CV_8UC1); src 102 modules/core/perf/opencl/perf_bufferpool.cpp Canny(src, dst, thresh_low, thresh_high, aperture, useL2); src 120 modules/core/perf/opencl/perf_bufferpool.cpp UMat src(sz, CV_32FC1); src 122 modules/core/perf/opencl/perf_bufferpool.cpp integral(src, dst); src 70 modules/core/perf/opencl/perf_channels.cpp vector<UMat> src(cn); src 71 modules/core/perf/opencl/perf_channels.cpp for (vector<UMat>::iterator i = src.begin(), end = src.end(); i != end; ++i) src 78 modules/core/perf/opencl/perf_channels.cpp OCL_TEST_CYCLE() cv::merge(src, dst); src 99 modules/core/perf/opencl/perf_channels.cpp UMat src(srcSize, type); src 102 modules/core/perf/opencl/perf_channels.cpp declare.in(src, WARMUP_RNG); src 106 modules/core/perf/opencl/perf_channels.cpp OCL_TEST_CYCLE() cv::split(src, dst); src 140 modules/core/perf/opencl/perf_channels.cpp std::vector<UMat> src(n), dst(n); src 143 modules/core/perf/opencl/perf_channels.cpp src[i] = UMat(srcSize, type); src 145 modules/core/perf/opencl/perf_channels.cpp declare.in(src[i], WARMUP_RNG).out(dst[i]); src 150 modules/core/perf/opencl/perf_channels.cpp OCL_TEST_CYCLE() cv::mixChannels(src, dst, fromTo, 4); src 171 modules/core/perf/opencl/perf_channels.cpp UMat src(srcSize, depth), dst(srcSize, type, Scalar::all(17)); src 172 modules/core/perf/opencl/perf_channels.cpp declare.in(src, WARMUP_RNG).out(dst); src 174 modules/core/perf/opencl/perf_channels.cpp OCL_TEST_CYCLE() cv::insertChannel(src, dst, 1); src 193 modules/core/perf/opencl/perf_channels.cpp UMat src(srcSize, type), dst(srcSize, depth); src 194 modules/core/perf/opencl/perf_channels.cpp declare.in(src, WARMUP_RNG).out(dst); src 196 modules/core/perf/opencl/perf_channels.cpp OCL_TEST_CYCLE() cv::extractChannel(src, dst, 1); src 87 modules/core/perf/opencl/perf_dxt.cpp UMat src(srcSize, CV_MAKE_TYPE(CV_32F, in_cn)), dst(srcSize, CV_MAKE_TYPE(CV_32F, out_cn)); src 88 modules/core/perf/opencl/perf_dxt.cpp declare.in(src, WARMUP_RNG).out(dst); src 90 modules/core/perf/opencl/perf_dxt.cpp OCL_TEST_CYCLE() cv::dft(src, dst, flags); src 30 modules/core/perf/opencl/perf_matop.cpp UMat src(srcSize, type); src 31 modules/core/perf/opencl/perf_matop.cpp declare.in(src, WARMUP_RNG).out(src); src 33 modules/core/perf/opencl/perf_matop.cpp OCL_TEST_CYCLE() src.setTo(s); src 35 modules/core/perf/opencl/perf_matop.cpp SANITY_CHECK(src); src 52 modules/core/perf/opencl/perf_matop.cpp UMat src(srcSize, type), mask(srcSize, CV_8UC1); src 53 modules/core/perf/opencl/perf_matop.cpp declare.in(src, mask, WARMUP_RNG).out(src); src 55 modules/core/perf/opencl/perf_matop.cpp OCL_TEST_CYCLE() src.setTo(s, mask); src 57 modules/core/perf/opencl/perf_matop.cpp SANITY_CHECK(src); src 75 modules/core/perf/opencl/perf_matop.cpp UMat src(srcSize, type), dst(srcSize, dtype); src 76 modules/core/perf/opencl/perf_matop.cpp declare.in(src, WARMUP_RNG).out(dst); src 78 modules/core/perf/opencl/perf_matop.cpp OCL_TEST_CYCLE() src.convertTo(dst, dtype); src 96 modules/core/perf/opencl/perf_matop.cpp UMat src(srcSize, type), dst(srcSize, type); src 97 modules/core/perf/opencl/perf_matop.cpp declare.in(src, WARMUP_RNG).out(dst); src 99 modules/core/perf/opencl/perf_matop.cpp OCL_TEST_CYCLE() src.copyTo(dst); src 117 modules/core/perf/opencl/perf_matop.cpp UMat src(srcSize, type), dst(srcSize, type), mask(srcSize, CV_8UC1); src 118 modules/core/perf/opencl/perf_matop.cpp declare.in(src, mask, WARMUP_RNG).out(dst); src 120 modules/core/perf/opencl/perf_matop.cpp OCL_TEST_CYCLE() src.copyTo(dst, mask); src 134 modules/core/perf/opencl/perf_matop.cpp UMat src(srcSize, type), dst, mask(srcSize, CV_8UC1); src 135 modules/core/perf/opencl/perf_matop.cpp declare.in(src, mask, WARMUP_RNG); src 141 modules/core/perf/opencl/perf_matop.cpp src.copyTo(dst, mask); src 22 modules/core/perf/opencl/perf_usage_flags.cpp UMat src(sz, CV_8UC1, Scalar::all(128)); src 28 modules/core/perf/opencl/perf_usage_flags.cpp cv::add(src, Scalar::all(1), dst); src 29 modules/core/perf/perf_convertTo.cpp Mat src(sz, CV_MAKETYPE(depthSrc, channels)); src 30 modules/core/perf/perf_convertTo.cpp randu(src, 0, 255); src 34 modules/core/perf/perf_convertTo.cpp TEST_CYCLE_MULTIRUN(runs) src.convertTo(dst, depthDst, alpha); src 10 modules/core/perf/perf_cvround.cpp static void CvRoundMat(const cv::Mat & src, cv::Mat & dst) src 14 modules/core/perf/perf_cvround.cpp const T * sptr = src.ptr<T>(y); src 29 modules/core/perf/perf_cvround.cpp cv::Mat src(size, type), dst(size, CV_32SC1); src 31 modules/core/perf/perf_cvround.cpp declare.in(src, WARMUP_RNG).out(dst); src 36 modules/core/perf/perf_cvround.cpp CvRoundMat<float>(src, dst); src 41 modules/core/perf/perf_cvround.cpp CvRoundMat<double>(src, dst); src 28 modules/core/perf/perf_dft.cpp Mat src(sz, type); src 31 modules/core/perf/perf_dft.cpp declare.in(src, WARMUP_RNG).time(60); src 36 modules/core/perf/perf_dft.cpp TEST_CYCLE() dft(src, dst, flags, nonzero_rows); src 58 modules/core/perf/perf_dft.cpp Mat src(sz, type); src 62 modules/core/perf/perf_dft.cpp .in(src, WARMUP_RNG) src 66 modules/core/perf/perf_dft.cpp TEST_CYCLE() dct(src, dst, flags); src 18 modules/core/perf/perf_minmaxloc.cpp Mat src(sz, matType); src 23 modules/core/perf/perf_minmaxloc.cpp randu(src, 1, 254 /*do not include 0 and 255 to avoid early exit on 1 byte data*/); src 25 modules/core/perf/perf_minmaxloc.cpp randu(src, -127, 126); src 27 modules/core/perf/perf_minmaxloc.cpp warmup(src, WARMUP_RNG); src 29 modules/core/perf/perf_minmaxloc.cpp declare.in(src); src 31 modules/core/perf/perf_minmaxloc.cpp TEST_CYCLE() minMaxLoc(src, &minVal, &maxVal, &minLoc, &maxLoc); src 26 modules/core/perf/perf_norm.cpp Mat src(sz, matType); src 29 modules/core/perf/perf_norm.cpp declare.in(src, WARMUP_RNG); src 31 modules/core/perf/perf_norm.cpp TEST_CYCLE() n = norm(src, normType); src 48 modules/core/perf/perf_norm.cpp Mat src(sz, matType); src 52 modules/core/perf/perf_norm.cpp declare.in(src, WARMUP_RNG).in(mask); src 54 modules/core/perf/perf_norm.cpp TEST_CYCLE() n = norm(src, normType, mask); src 118 modules/core/perf/perf_norm.cpp Mat src(sz, matType); src 122 modules/core/perf/perf_norm.cpp if(normType==NORM_L1) alpha = (double)src.total() * src.channels(); src 123 modules/core/perf/perf_norm.cpp if(normType==NORM_L2) alpha = (double)src.total()/10; src 125 modules/core/perf/perf_norm.cpp declare.in(src, WARMUP_RNG).out(dst); src 127 modules/core/perf/perf_norm.cpp TEST_CYCLE() normalize(src, dst, alpha, 0., normType); src 144 modules/core/perf/perf_norm.cpp Mat src(sz, matType); src 149 modules/core/perf/perf_norm.cpp if(normType==NORM_L1) alpha = (double)src.total() * src.channels(); src 150 modules/core/perf/perf_norm.cpp if(normType==NORM_L2) alpha = (double)src.total()/10; src 152 modules/core/perf/perf_norm.cpp declare.in(src, WARMUP_RNG).in(mask).out(dst); src 155 modules/core/perf/perf_norm.cpp TEST_CYCLE() normalize(src, dst, alpha, 0., normType, -1, mask); src 172 modules/core/perf/perf_norm.cpp Mat src(sz, matType); src 176 modules/core/perf/perf_norm.cpp if(normType==NORM_L1) alpha = (double)src.total() * src.channels(); src 177 modules/core/perf/perf_norm.cpp if(normType==NORM_L2) alpha = (double)src.total()/10; src 179 modules/core/perf/perf_norm.cpp declare.in(src, WARMUP_RNG).out(dst); src 181 modules/core/perf/perf_norm.cpp TEST_CYCLE() normalize(src, dst, alpha, 0., normType, CV_32F); src 191 modules/core/perf/perf_norm.cpp Mat src(sz, matType); src 194 modules/core/perf/perf_norm.cpp declare.in(src, WARMUP_RNG).out(dst); src 197 modules/core/perf/perf_norm.cpp TEST_CYCLE() normalize(src, dst, 20., 100., NORM_MINMAX); src 31 modules/core/perf/perf_reduce.cpp Mat src(sz, matType); src 34 modules/core/perf/perf_reduce.cpp declare.in(src, WARMUP_RNG).out(vec); src 38 modules/core/perf/perf_reduce.cpp TEST_CYCLE_MULTIRUN(runs) reduce(src, vec, 0, reduceOp, ddepth); src 59 modules/core/perf/perf_reduce.cpp Mat src(sz, matType); src 62 modules/core/perf/perf_reduce.cpp declare.in(src, WARMUP_RNG).out(vec); src 65 modules/core/perf/perf_reduce.cpp TEST_CYCLE() reduce(src, vec, 1, reduceOp, ddepth); src 29 modules/core/perf/perf_stat.cpp Mat src(sz, type); src 32 modules/core/perf/perf_stat.cpp declare.in(src, WARMUP_RNG).out(s); src 34 modules/core/perf/perf_stat.cpp TEST_CYCLE() s = mean(src); src 44 modules/core/perf/perf_stat.cpp Mat src(sz, type); src 45 modules/core/perf/perf_stat.cpp Mat mask = Mat::ones(src.size(), CV_8U); src 48 modules/core/perf/perf_stat.cpp declare.in(src, WARMUP_RNG).in(mask).out(s); src 50 modules/core/perf/perf_stat.cpp TEST_CYCLE() s = mean(src, mask); src 60 modules/core/perf/perf_stat.cpp Mat src(sz, matType); src 64 modules/core/perf/perf_stat.cpp declare.in(src, WARMUP_RNG).out(mean, dev); src 66 modules/core/perf/perf_stat.cpp TEST_CYCLE() meanStdDev(src, mean, dev); src 77 modules/core/perf/perf_stat.cpp Mat src(sz, matType); src 82 modules/core/perf/perf_stat.cpp declare.in(src, WARMUP_RNG).in(mask).out(mean, dev); src 84 modules/core/perf/perf_stat.cpp TEST_CYCLE() meanStdDev(src, mean, dev, mask); src 95 modules/core/perf/perf_stat.cpp Mat src(sz, matType); src 98 modules/core/perf/perf_stat.cpp declare.in(src, WARMUP_RNG); src 101 modules/core/perf/perf_stat.cpp TEST_CYCLE_MULTIRUN(runs) cnt = countNonZero(src); src 5520 modules/core/src/arithm.cpp static void inRangeReduce(const uchar* src, uchar* dst, size_t len, int cn) src 5526 modules/core/src/arithm.cpp dst[i] = src[j]; src 5529 modules/core/src/arithm.cpp dst[i] = src[j] & src[j+1]; src 5532 modules/core/src/arithm.cpp dst[i] = src[j] & src[j+1] & src[j+2]; src 5535 modules/core/src/arithm.cpp dst[i] = src[j] & src[j+1] & src[j+2] & src[j+3]; src 5540 modules/core/src/arithm.cpp dst[i] &= src[j] & src[j+1] & src[j+2] & src[j+3]; src 5614 modules/core/src/arithm.cpp UMat src = _src.getUMat(), dst = _dst.getUMat(), lscalaru, uscalaru; src 5622 modules/core/src/arithm.cpp size_t esz = src.elemSize(); src 5656 modules/core/src/arithm.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), src 5687 modules/core/src/arithm.cpp Mat src = _src.getMat(), lb = _lowerb.getMat(), ub = _upperb.getMat(); src 5692 modules/core/src/arithm.cpp src.size != lb.size || src.type() != lb.type() ) src 5694 modules/core/src/arithm.cpp if( !checkScalar(lb, src.type(), lkind, skind) ) src 5701 modules/core/src/arithm.cpp src.size != ub.size || src.type() != ub.type() ) src 5703 modules/core/src/arithm.cpp if( !checkScalar(ub, src.type(), ukind, skind) ) src 5711 modules/core/src/arithm.cpp int cn = src.channels(), depth = src.depth(); src 5713 modules/core/src/arithm.cpp size_t esz = src.elemSize(); src 5716 modules/core/src/arithm.cpp _dst.create(src.dims, src.size, CV_8UC1); src 5720 modules/core/src/arithm.cpp const Mat* arrays_sc[] = { &src, &dst, 0 }; src 5721 modules/core/src/arithm.cpp const Mat* arrays_nosc[] = { &src, &dst, &lb, &ub, 0 }; src 5758 modules/core/src/arithm.cpp convertAndUnrollScalar( lb, src.type(), lbuf, blocksize ); src 5759 modules/core/src/arithm.cpp convertAndUnrollScalar( ub, src.type(), ubuf, blocksize ); src 5796 modules/core/src/arithm.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 5797 modules/core/src/arithm.cpp CV_Assert( src.size == dst.size && src.type() == dst.type() ); src 5798 modules/core/src/arithm.cpp cv::bitwise_not( src, dst ); src 5841 modules/core/src/arithm.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), mask; src 5842 modules/core/src/arithm.cpp CV_Assert( src.size == dst.size && src.type() == dst.type() ); src 5845 modules/core/src/arithm.cpp cv::bitwise_and( src, (const cv::Scalar&)s, dst, mask ); src 5852 modules/core/src/arithm.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), mask; src 5853 modules/core/src/arithm.cpp CV_Assert( src.size == dst.size && src.type() == dst.type() ); src 5856 modules/core/src/arithm.cpp cv::bitwise_or( src, (const cv::Scalar&)s, dst, mask ); src 5863 modules/core/src/arithm.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), mask; src 5864 modules/core/src/arithm.cpp CV_Assert( src.size == dst.size && src.type() == dst.type() ); src 5867 modules/core/src/arithm.cpp cv::bitwise_xor( src, (const cv::Scalar&)s, dst, mask ); src 208 modules/core/src/array.cpp cvCloneMat( const CvMat* src ) src 210 modules/core/src/array.cpp if( !CV_IS_MAT_HDR( src )) src 213 modules/core/src/array.cpp CvMat* dst = cvCreateMatHeader( src->rows, src->cols, src->type ); src 215 modules/core/src/array.cpp if( src->data.ptr ) src 218 modules/core/src/array.cpp cvCopy( src, dst ); src 298 modules/core/src/array.cpp cvCloneMatND( const CvMatND* src ) src 300 modules/core/src/array.cpp if( !CV_IS_MATND_HDR( src )) src 303 modules/core/src/array.cpp CV_Assert( src->dims <= CV_MAX_DIM ); src 306 modules/core/src/array.cpp for( int i = 0; i < src->dims; i++ ) src 307 modules/core/src/array.cpp sizes[i] = src->dim[i].size; src 309 modules/core/src/array.cpp CvMatND* dst = cvCreateMatNDHeader( src->dims, sizes, src->type ); src 311 modules/core/src/array.cpp if( src->data.ptr ) src 314 modules/core/src/array.cpp cv::Mat _src = cv::cvarrToMat(src); src 610 modules/core/src/array.cpp cvCloneSparseMat( const CvSparseMat* src ) src 612 modules/core/src/array.cpp if( !CV_IS_SPARSE_MAT_HDR(src) ) src 615 modules/core/src/array.cpp CvSparseMat* dst = cvCreateSparseMat( src->dims, src->size, src->type ); src 616 modules/core/src/array.cpp cvCopy( src, dst ); src 2388 modules/core/src/array.cpp CvMat* src = (CvMat*)array; src 2391 modules/core/src/array.cpp if( !mat || !src ) src 2394 modules/core/src/array.cpp if( CV_IS_MAT_HDR(src)) src 2396 modules/core/src/array.cpp if( !src->data.ptr ) src 2399 modules/core/src/array.cpp result = (CvMat*)src; src 2401 modules/core/src/array.cpp else if( CV_IS_IMAGE_HDR(src) ) src 2403 modules/core/src/array.cpp const IplImage* img = (const IplImage*)src; src 2461 modules/core/src/array.cpp else if( allowND && CV_IS_MATND_HDR(src) ) src 2463 modules/core/src/array.cpp CvMatND* matnd = (CvMatND*)src; src 2466 modules/core/src/array.cpp if( !src->data.ptr ) src 2792 modules/core/src/array.cpp const IplImage* src = (const IplImage*)array; src 2797 modules/core/src/array.cpp if( !CV_IS_IMAGE_HDR(src) ) src 2799 modules/core/src/array.cpp const CvMat* mat = (const CvMat*)src; src 2817 modules/core/src/array.cpp result = (IplImage*)src; src 3114 modules/core/src/array.cpp cvCloneImage( const IplImage* src ) src 3118 modules/core/src/array.cpp if( !CV_IS_IMAGE_HDR( src )) src 3125 modules/core/src/array.cpp memcpy( dst, src, sizeof(*src)); src 3129 modules/core/src/array.cpp if( src->roi ) src 3131 modules/core/src/array.cpp dst->roi = icvCreateROI( src->roi->coi, src->roi->xOffset, src 3132 modules/core/src/array.cpp src->roi->yOffset, src->roi->width, src->roi->height ); src 3135 modules/core/src/array.cpp if( src->imageData ) src 3137 modules/core/src/array.cpp int size = src->imageSize; src 3139 modules/core/src/array.cpp memcpy( dst->imageData, src->imageData, size ); src 3143 modules/core/src/array.cpp dst = CvIPL.cloneImage( src ); src 68 modules/core/src/convert.cpp void operator()(const data_type* src, data_type* dst0, \ src 71 modules/core/src/convert.cpp reg_type r = load_func(src); \ src 81 modules/core/src/convert.cpp void operator()(const data_type* src, data_type* dst0, data_type* dst1, \ src 84 modules/core/src/convert.cpp reg_type r = load_func(src); \ src 95 modules/core/src/convert.cpp void operator()(const data_type* src, data_type* dst0, data_type* dst1, \ src 98 modules/core/src/convert.cpp reg_type r = load_func(src); \ src 164 modules/core/src/convert.cpp void operator()(const data_type * src, \ src 167 modules/core/src/convert.cpp reg_type v_src0 = _mm_loadu_##flavor((cast_type const *)(src)); \ src 168 modules/core/src/convert.cpp reg_type v_src1 = _mm_loadu_##flavor((cast_type const *)(src + ELEMS_IN_VEC)); \ src 169 modules/core/src/convert.cpp reg_type v_src2 = _mm_loadu_##flavor((cast_type const *)(src + ELEMS_IN_VEC * 2)); \ src 170 modules/core/src/convert.cpp reg_type v_src3 = _mm_loadu_##flavor((cast_type const *)(src + ELEMS_IN_VEC * 3)); \ src 197 modules/core/src/convert.cpp void operator()(const data_type * src, \ src 200 modules/core/src/convert.cpp reg_type v_src0 = _mm_loadu_##flavor((cast_type const *)(src)); \ src 201 modules/core/src/convert.cpp reg_type v_src1 = _mm_loadu_##flavor((cast_type const *)(src + ELEMS_IN_VEC)); \ src 202 modules/core/src/convert.cpp reg_type v_src2 = _mm_loadu_##flavor((cast_type const *)(src + ELEMS_IN_VEC * 2)); \ src 203 modules/core/src/convert.cpp reg_type v_src3 = _mm_loadu_##flavor((cast_type const *)(src + ELEMS_IN_VEC * 3)); \ src 204 modules/core/src/convert.cpp reg_type v_src4 = _mm_loadu_##flavor((cast_type const *)(src + ELEMS_IN_VEC * 4)); \ src 205 modules/core/src/convert.cpp reg_type v_src5 = _mm_loadu_##flavor((cast_type const *)(src + ELEMS_IN_VEC * 5)); \ src 235 modules/core/src/convert.cpp void operator()(const data_type * src, data_type * dst0, data_type * dst1, \ src 238 modules/core/src/convert.cpp reg_type v_src0 = _mm_loadu_##flavor((cast_type const *)(src)); \ src 239 modules/core/src/convert.cpp reg_type v_src1 = _mm_loadu_##flavor((cast_type const *)(src + ELEMS_IN_VEC)); \ src 240 modules/core/src/convert.cpp reg_type v_src2 = _mm_loadu_##flavor((cast_type const *)(src + ELEMS_IN_VEC * 2)); \ src 241 modules/core/src/convert.cpp reg_type v_src3 = _mm_loadu_##flavor((cast_type const *)(src + ELEMS_IN_VEC * 3)); \ src 242 modules/core/src/convert.cpp reg_type v_src4 = _mm_loadu_##flavor((cast_type const *)(src + ELEMS_IN_VEC * 4)); \ src 243 modules/core/src/convert.cpp reg_type v_src5 = _mm_loadu_##flavor((cast_type const *)(src + ELEMS_IN_VEC * 5)); \ src 244 modules/core/src/convert.cpp reg_type v_src6 = _mm_loadu_##flavor((cast_type const *)(src + ELEMS_IN_VEC * 6)); \ src 245 modules/core/src/convert.cpp reg_type v_src7 = _mm_loadu_##flavor((cast_type const *)(src + ELEMS_IN_VEC * 7)); \ src 278 modules/core/src/convert.cpp split_( const T* src, T** dst, int len, int cn ) src 288 modules/core/src/convert.cpp memcpy(dst0, src, len * sizeof(T)); src 293 modules/core/src/convert.cpp dst0[i] = src[j]; src 309 modules/core/src/convert.cpp vsplit(src + j, dst0 + i, dst1 + i); src 321 modules/core/src/convert.cpp vsplit(src + j, dst0 + i, dst1 + i); src 327 modules/core/src/convert.cpp dst0[i] = src[j]; src 328 modules/core/src/convert.cpp dst1[i] = src[j+1]; src 344 modules/core/src/convert.cpp vsplit(src + j, dst0 + i, dst1 + i, dst2 + i); src 357 modules/core/src/convert.cpp vsplit(src + j, dst0 + i, dst1 + i, dst2 + i); src 363 modules/core/src/convert.cpp dst0[i] = src[j]; src 364 modules/core/src/convert.cpp dst1[i] = src[j+1]; src 365 modules/core/src/convert.cpp dst2[i] = src[j+2]; src 381 modules/core/src/convert.cpp vsplit(src + j, dst0 + i, dst1 + i, dst2 + i, dst3 + i); src 393 modules/core/src/convert.cpp vsplit(src + j, dst0 + i, dst1 + i, dst2 + i, dst3 + i); src 399 modules/core/src/convert.cpp dst0[i] = src[j]; dst1[i] = src[j+1]; src 400 modules/core/src/convert.cpp dst2[i] = src[j+2]; dst3[i] = src[j+3]; src 409 modules/core/src/convert.cpp dst0[i] = src[j]; dst1[i] = src[j+1]; src 410 modules/core/src/convert.cpp dst2[i] = src[j+2]; dst3[i] = src[j+3]; src 636 modules/core/src/convert.cpp merge_( const T** src, T* dst, int len, int cn ) src 642 modules/core/src/convert.cpp const T* src0 = src[0]; src 648 modules/core/src/convert.cpp const T *src0 = src[0], *src1 = src[1]; src 680 modules/core/src/convert.cpp const T *src0 = src[0], *src1 = src[1], *src2 = src[2]; src 713 modules/core/src/convert.cpp const T *src0 = src[0], *src1 = src[1], *src2 = src[2], *src3 = src[3]; src 746 modules/core/src/convert.cpp const T *src0 = src[k], *src1 = src[k+1], *src2 = src[k+2], *src3 = src[k+3]; src 755 modules/core/src/convert.cpp static void split8u(const uchar* src, uchar** dst, int len, int cn ) src 757 modules/core/src/convert.cpp split_(src, dst, len, cn); src 760 modules/core/src/convert.cpp static void split16u(const ushort* src, ushort** dst, int len, int cn ) src 762 modules/core/src/convert.cpp split_(src, dst, len, cn); src 765 modules/core/src/convert.cpp static void split32s(const int* src, int** dst, int len, int cn ) src 767 modules/core/src/convert.cpp split_(src, dst, len, cn); src 770 modules/core/src/convert.cpp static void split64s(const int64* src, int64** dst, int len, int cn ) src 772 modules/core/src/convert.cpp split_(src, dst, len, cn); src 775 modules/core/src/convert.cpp static void merge8u(const uchar** src, uchar* dst, int len, int cn ) src 777 modules/core/src/convert.cpp merge_(src, dst, len, cn); src 780 modules/core/src/convert.cpp static void merge16u(const ushort** src, ushort* dst, int len, int cn ) src 782 modules/core/src/convert.cpp merge_(src, dst, len, cn); src 785 modules/core/src/convert.cpp static void merge32s(const int** src, int* dst, int len, int cn ) src 787 modules/core/src/convert.cpp merge_(src, dst, len, cn); src 790 modules/core/src/convert.cpp static void merge64s(const int64** src, int64* dst, int len, int cn ) src 792 modules/core/src/convert.cpp merge_(src, dst, len, cn); src 795 modules/core/src/convert.cpp typedef void (*SplitFunc)(const uchar* src, uchar** dst, int len, int cn); src 796 modules/core/src/convert.cpp typedef void (*MergeFunc)(const uchar** src, uchar* dst, int len, int cn); src 822 modules/core/src/convert.cpp void cv::split(const Mat& src, Mat* mv) src 824 modules/core/src/convert.cpp int k, depth = src.depth(), cn = src.channels(); src 827 modules/core/src/convert.cpp src.copyTo(mv[0]); src 834 modules/core/src/convert.cpp int esz = (int)src.elemSize(), esz1 = (int)src.elemSize1(); src 840 modules/core/src/convert.cpp arrays[0] = &src; src 843 modules/core/src/convert.cpp mv[k].create(src.dims, src.size, depth); src 1020 modules/core/src/convert.cpp std::vector<UMat> src, ksrc; src 1021 modules/core/src/convert.cpp _mv.getUMatVector(src); src 1022 modules/core/src/convert.cpp CV_Assert(!src.empty()); src 1024 modules/core/src/convert.cpp int type = src[0].type(), depth = CV_MAT_DEPTH(type), src 1026 modules/core/src/convert.cpp Size size = src[0].size(); src 1028 modules/core/src/convert.cpp for (size_t i = 0, srcsize = src.size(); i < srcsize; ++i) src 1030 modules/core/src/convert.cpp int itype = src[i].type(), icn = CV_MAT_CN(itype), idepth = CV_MAT_DEPTH(itype), src 1032 modules/core/src/convert.cpp if (src[i].dims > 2) src 1035 modules/core/src/convert.cpp CV_Assert(size == src[i].size() && depth == idepth); src 1039 modules/core/src/convert.cpp UMat tsrc = src[i]; src 1098 modules/core/src/convert.cpp mixChannels_( const T** src, const int* sdelta, src 1105 modules/core/src/convert.cpp const T* s = src[k]; src 1129 modules/core/src/convert.cpp static void mixChannels8u( const uchar** src, const int* sdelta, src 1133 modules/core/src/convert.cpp mixChannels_(src, sdelta, dst, ddelta, len, npairs); src 1136 modules/core/src/convert.cpp static void mixChannels16u( const ushort** src, const int* sdelta, src 1140 modules/core/src/convert.cpp mixChannels_(src, sdelta, dst, ddelta, len, npairs); src 1143 modules/core/src/convert.cpp static void mixChannels32s( const int** src, const int* sdelta, src 1147 modules/core/src/convert.cpp mixChannels_(src, sdelta, dst, ddelta, len, npairs); src 1150 modules/core/src/convert.cpp static void mixChannels64s( const int64** src, const int* sdelta, src 1154 modules/core/src/convert.cpp mixChannels_(src, sdelta, dst, ddelta, len, npairs); src 1157 modules/core/src/convert.cpp typedef void (*MixChannelsFunc)( const uchar** src, const int* sdelta, src 1174 modules/core/src/convert.cpp void cv::mixChannels( const Mat* src, size_t nsrcs, Mat* dst, size_t ndsts, const int* fromTo, size_t npairs ) src 1178 modules/core/src/convert.cpp CV_Assert( src && nsrcs > 0 && dst && ndsts > 0 && fromTo && npairs > 0 ); src 1192 modules/core/src/convert.cpp arrays[i] = &src[i]; src 1202 modules/core/src/convert.cpp for( j = 0; j < nsrcs; i0 -= src[j].channels(), j++ ) src 1203 modules/core/src/convert.cpp if( i0 < src[j].channels() ) src 1205 modules/core/src/convert.cpp CV_Assert(j < nsrcs && src[j].depth() == depth); src 1207 modules/core/src/convert.cpp sdelta[i] = src[j].channels(); src 1282 modules/core/src/convert.cpp std::vector<UMat> src, dst; src 1283 modules/core/src/convert.cpp _src.getUMatVector(src); src 1286 modules/core/src/convert.cpp size_t nsrc = src.size(), ndst = dst.size(); src 1289 modules/core/src/convert.cpp Size size = src[0].size(); src 1290 modules/core/src/convert.cpp int depth = src[0].depth(), esz = CV_ELEM_SIZE(depth), src 1293 modules/core/src/convert.cpp for (size_t i = 1, ssize = src.size(); i < ssize; ++i) src 1294 modules/core/src/convert.cpp CV_Assert(src[i].size() == size && src[i].depth() == depth); src 1306 modules/core/src/convert.cpp getUMatIndex(src, scn, src_idx, src_cnidx); src 1311 modules/core/src/convert.cpp srcargs[i] = src[src_idx]; src 1321 modules/core/src/convert.cpp declcn += format(" -D scn%d=%d -D dcn%d=%d", i, src[src_idx].channels(), i, dst[dst_idx].channels()); src 1349 modules/core/src/convert.cpp void cv::mixChannels(InputArrayOfArrays src, InputOutputArrayOfArrays dst, src 1356 modules/core/src/convert.cpp ocl_mixChannels(src, dst, fromTo, npairs)) src 1358 modules/core/src/convert.cpp bool src_is_mat = src.kind() != _InputArray::STD_VECTOR_MAT && src 1359 modules/core/src/convert.cpp src.kind() != _InputArray::STD_VECTOR_VECTOR && src 1360 modules/core/src/convert.cpp src.kind() != _InputArray::STD_VECTOR_UMAT; src 1365 modules/core/src/convert.cpp int nsrc = src_is_mat ? 1 : (int)src.total(); src 1372 modules/core/src/convert.cpp buf[i] = src.getMat(src_is_mat ? -1 : i); src 1378 modules/core/src/convert.cpp void cv::mixChannels(InputArrayOfArrays src, InputOutputArrayOfArrays dst, src 1385 modules/core/src/convert.cpp ocl_mixChannels(src, dst, &fromTo[0], fromTo.size()>>1)) src 1387 modules/core/src/convert.cpp bool src_is_mat = src.kind() != _InputArray::STD_VECTOR_MAT && src 1388 modules/core/src/convert.cpp src.kind() != _InputArray::STD_VECTOR_VECTOR && src 1389 modules/core/src/convert.cpp src.kind() != _InputArray::STD_VECTOR_UMAT; src 1394 modules/core/src/convert.cpp int nsrc = src_is_mat ? 1 : (int)src.total(); src 1401 modules/core/src/convert.cpp buf[i] = src.getMat(src_is_mat ? -1 : i); src 1415 modules/core/src/convert.cpp UMat src = _src.getUMat(); src 1416 modules/core/src/convert.cpp _dst.create(src.dims, &src.size[0], depth); src 1418 modules/core/src/convert.cpp mixChannels(std::vector<UMat>(1, src), std::vector<UMat>(1, dst), ch, 1); src 1422 modules/core/src/convert.cpp Mat src = _src.getMat(); src 1423 modules/core/src/convert.cpp _dst.create(src.dims, &src.size[0], depth); src 1425 modules/core/src/convert.cpp mixChannels(&src, 1, &dst, 1, ch, 1); src 1438 modules/core/src/convert.cpp UMat src = _src.getUMat(), dst = _dst.getUMat(); src 1439 modules/core/src/convert.cpp mixChannels(std::vector<UMat>(1, src), std::vector<UMat>(1, dst), ch, 1); src 1443 modules/core/src/convert.cpp Mat src = _src.getMat(), dst = _dst.getMat(); src 1444 modules/core/src/convert.cpp mixChannels(&src, 1, &dst, 1, ch, 1); src 1468 modules/core/src/convert.cpp int operator () (const uchar * src, uchar * dst, int width, src 1481 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((const __m128i *)(src + x)); src 1505 modules/core/src/convert.cpp int operator () (const schar * src, uchar * dst, int width, src 1518 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((const __m128i *)(src + x)); src 1547 modules/core/src/convert.cpp int operator () (const ushort * src, uchar * dst, int width, src 1560 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((const __m128i *)(src + x)); src 1578 modules/core/src/convert.cpp int operator () (const short * src, uchar * dst, int width, src 1591 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((const __m128i *)(src + x)); src 1609 modules/core/src/convert.cpp int operator () (const int * src, uchar * dst, int width, src 1622 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((const __m128i *)(src + x)); src 1638 modules/core/src/convert.cpp int operator () (const float * src, uchar * dst, int width, src 1651 modules/core/src/convert.cpp __m128 v_dst = _mm_add_ps(_mm_mul_ps(_mm_loadu_ps(src + x), v_scale), v_shift); src 1666 modules/core/src/convert.cpp int operator () (const double * src, uchar * dst, int width, src 1679 modules/core/src/convert.cpp __m128 v_src1 = _mm_movelh_ps(_mm_cvtpd_ps(_mm_loadu_pd(src + x)), src 1680 modules/core/src/convert.cpp _mm_cvtpd_ps(_mm_loadu_pd(src + x + 2))); src 1681 modules/core/src/convert.cpp __m128 v_src2 = _mm_movelh_ps(_mm_cvtpd_ps(_mm_loadu_pd(src + x + 4)), src 1682 modules/core/src/convert.cpp _mm_cvtpd_ps(_mm_loadu_pd(src + x + 6))); src 1706 modules/core/src/convert.cpp int operator () (const uchar * src, uchar * dst, int width, src 1714 modules/core/src/convert.cpp uint8x16_t v_src = vld1q_u8(src + x); src 1750 modules/core/src/convert.cpp int operator () (const schar * src, uchar * dst, int width, src 1758 modules/core/src/convert.cpp int8x16_t v_src = vld1q_s8(src + x); src 1794 modules/core/src/convert.cpp int operator () (const ushort * src, uchar * dst, int width, src 1802 modules/core/src/convert.cpp uint16x8_t v_src = vld1q_u16(src + x); src 1825 modules/core/src/convert.cpp int operator () (const short * src, uchar * dst, int width, src 1833 modules/core/src/convert.cpp int16x8_t v_src = vld1q_s16(src + x); src 1856 modules/core/src/convert.cpp int operator () (const int * src, uchar * dst, int width, src 1864 modules/core/src/convert.cpp float32x4_t v_dst_0 = vmulq_n_f32(vcvtq_f32_s32(vld1q_s32(src + x)), scale); src 1868 modules/core/src/convert.cpp float32x4_t v_dst_1 = vmulq_n_f32(vcvtq_f32_s32(vld1q_s32(src + x + 4)), scale); src 1883 modules/core/src/convert.cpp int operator () (const float * src, uchar * dst, int width, src 1891 modules/core/src/convert.cpp float32x4_t v_dst_0 = vmulq_n_f32(vld1q_f32(src + x), scale); src 1895 modules/core/src/convert.cpp float32x4_t v_dst_1 = vmulq_n_f32(vld1q_f32(src + x + 4), scale); src 1910 modules/core/src/convert.cpp cvtScaleAbs_( const T* src, size_t sstep, src 1914 modules/core/src/convert.cpp sstep /= sizeof(src[0]); src 1918 modules/core/src/convert.cpp for( ; size.height--; src += sstep, dst += dstep ) src 1920 modules/core/src/convert.cpp int x = vop(src, dst, size.width, scale, shift); src 1926 modules/core/src/convert.cpp t0 = saturate_cast<DT>(std::abs(src[x]*scale + shift)); src 1927 modules/core/src/convert.cpp t1 = saturate_cast<DT>(std::abs(src[x+1]*scale + shift)); src 1929 modules/core/src/convert.cpp t0 = saturate_cast<DT>(std::abs(src[x+2]*scale + shift)); src 1930 modules/core/src/convert.cpp t1 = saturate_cast<DT>(std::abs(src[x+3]*scale + shift)); src 1935 modules/core/src/convert.cpp dst[x] = saturate_cast<DT>(std::abs(src[x]*scale + shift)); src 1955 modules/core/src/convert.cpp int operator () (const uchar * src, uchar * dst, int width, float scale, float shift) const src 1967 modules/core/src/convert.cpp __m128i v_src = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i const *)(src + x)), v_zero); src 1986 modules/core/src/convert.cpp int operator () (const uchar * src, schar * dst, int width, float scale, float shift) const src 1998 modules/core/src/convert.cpp __m128i v_src = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i const *)(src + x)), v_zero); src 2024 modules/core/src/convert.cpp int operator () (const uchar * src, ushort * dst, int width, float scale, float shift) const src 2036 modules/core/src/convert.cpp __m128i v_src = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i const *)(src + x)), v_zero); src 2059 modules/core/src/convert.cpp int operator () (const uchar * src, short * dst, int width, float scale, float shift) const src 2071 modules/core/src/convert.cpp __m128i v_src = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i const *)(src + x)), v_zero); src 2090 modules/core/src/convert.cpp int operator () (const uchar * src, int * dst, int width, float scale, float shift) const src 2102 modules/core/src/convert.cpp __m128i v_src = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i const *)(src + x)), v_zero); src 2120 modules/core/src/convert.cpp int operator () (const uchar * src, float * dst, int width, float scale, float shift) const src 2132 modules/core/src/convert.cpp __m128i v_src = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i const *)(src + x)), v_zero); src 2150 modules/core/src/convert.cpp int operator () (const uchar * src, double * dst, int width, double scale, double shift) const src 2162 modules/core/src/convert.cpp __m128i v_src = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i const *)(src + x)), v_zero); src 2186 modules/core/src/convert.cpp int operator () (const schar * src, uchar * dst, int width, float scale, float shift) const src 2198 modules/core/src/convert.cpp __m128i v_src = _mm_srai_epi16(_mm_unpacklo_epi8(v_zero, _mm_loadl_epi64((__m128i const *)(src + x))), 8); src 2217 modules/core/src/convert.cpp int operator () (const schar * src, schar * dst, int width, float scale, float shift) const src 2229 modules/core/src/convert.cpp __m128i v_src = _mm_srai_epi16(_mm_unpacklo_epi8(v_zero, _mm_loadl_epi64((__m128i const *)(src + x))), 8); src 2255 modules/core/src/convert.cpp int operator () (const schar * src, ushort * dst, int width, float scale, float shift) const src 2267 modules/core/src/convert.cpp __m128i v_src = _mm_srai_epi16(_mm_unpacklo_epi8(v_zero, _mm_loadl_epi64((__m128i const *)(src + x))), 8); src 2290 modules/core/src/convert.cpp int operator () (const schar * src, short * dst, int width, float scale, float shift) const src 2302 modules/core/src/convert.cpp __m128i v_src = _mm_srai_epi16(_mm_unpacklo_epi8(v_zero, _mm_loadl_epi64((__m128i const *)(src + x))), 8); src 2321 modules/core/src/convert.cpp int operator () (const schar * src, int * dst, int width, float scale, float shift) const src 2333 modules/core/src/convert.cpp __m128i v_src = _mm_srai_epi16(_mm_unpacklo_epi8(v_zero, _mm_loadl_epi64((__m128i const *)(src + x))), 8); src 2351 modules/core/src/convert.cpp int operator () (const schar * src, float * dst, int width, float scale, float shift) const src 2363 modules/core/src/convert.cpp __m128i v_src = _mm_srai_epi16(_mm_unpacklo_epi8(v_zero, _mm_loadl_epi64((__m128i const *)(src + x))), 8); src 2381 modules/core/src/convert.cpp int operator () (const schar * src, double * dst, int width, double scale, double shift) const src 2393 modules/core/src/convert.cpp __m128i v_src = _mm_unpacklo_epi8(v_zero, _mm_loadl_epi64((__m128i const *)(src + x))); src 2418 modules/core/src/convert.cpp int operator () (const ushort * src, uchar * dst, int width, float scale, float shift) const src 2430 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 2449 modules/core/src/convert.cpp int operator () (const ushort * src, schar * dst, int width, float scale, float shift) const src 2461 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 2487 modules/core/src/convert.cpp int operator () (const ushort * src, ushort * dst, int width, float scale, float shift) const src 2499 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 2522 modules/core/src/convert.cpp int operator () (const ushort * src, short * dst, int width, float scale, float shift) const src 2534 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 2553 modules/core/src/convert.cpp int operator () (const ushort * src, int * dst, int width, float scale, float shift) const src 2565 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 2583 modules/core/src/convert.cpp int operator () (const ushort * src, float * dst, int width, float scale, float shift) const src 2595 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 2613 modules/core/src/convert.cpp int operator () (const ushort * src, double * dst, int width, double scale, double shift) const src 2625 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 2649 modules/core/src/convert.cpp int operator () (const short * src, uchar * dst, int width, float scale, float shift) const src 2661 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 2680 modules/core/src/convert.cpp int operator () (const short * src, schar * dst, int width, float scale, float shift) const src 2692 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 2718 modules/core/src/convert.cpp int operator () (const short * src, ushort * dst, int width, float scale, float shift) const src 2730 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 2753 modules/core/src/convert.cpp int operator () (const short * src, short * dst, int width, float scale, float shift) const src 2765 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 2784 modules/core/src/convert.cpp int operator () (const short * src, int * dst, int width, float scale, float shift) const src 2796 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 2814 modules/core/src/convert.cpp int operator () (const short * src, float * dst, int width, float scale, float shift) const src 2826 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 2844 modules/core/src/convert.cpp int operator () (const short * src, double * dst, int width, double scale, double shift) const src 2856 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 2880 modules/core/src/convert.cpp int operator () (const int * src, uchar * dst, int width, float scale, float shift) const src 2892 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 2895 modules/core/src/convert.cpp v_src = _mm_loadu_si128((__m128i const *)(src + x + 4)); src 2910 modules/core/src/convert.cpp int operator () (const int * src, schar * dst, int width, float scale, float shift) const src 2922 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 2925 modules/core/src/convert.cpp v_src = _mm_loadu_si128((__m128i const *)(src + x + 4)); src 2947 modules/core/src/convert.cpp int operator () (const int * src, ushort * dst, int width, float scale, float shift) const src 2958 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 2961 modules/core/src/convert.cpp v_src = _mm_loadu_si128((__m128i const *)(src + x + 4)); src 2980 modules/core/src/convert.cpp int operator () (const int * src, short * dst, int width, float scale, float shift) const src 2991 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 2994 modules/core/src/convert.cpp v_src = _mm_loadu_si128((__m128i const *)(src + x + 4)); src 3009 modules/core/src/convert.cpp int operator () (const int * src, int * dst, int width, double scale, double shift) const src 3020 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 3039 modules/core/src/convert.cpp int operator () (const int * src, float * dst, int width, double scale, double shift) const src 3050 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 3067 modules/core/src/convert.cpp int operator () (const int * src, double * dst, int width, double scale, double shift) const src 3078 modules/core/src/convert.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + x)); src 3097 modules/core/src/convert.cpp int operator () (const float * src, uchar * dst, int width, float scale, float shift) const src 3109 modules/core/src/convert.cpp __m128 v_src = _mm_loadu_ps(src + x); src 3112 modules/core/src/convert.cpp v_src = _mm_loadu_ps(src + x + 4); src 3127 modules/core/src/convert.cpp int operator () (const float * src, schar * dst, int width, float scale, float shift) const src 3139 modules/core/src/convert.cpp __m128 v_src = _mm_loadu_ps(src + x); src 3142 modules/core/src/convert.cpp v_src = _mm_loadu_ps(src + x + 4); src 3164 modules/core/src/convert.cpp int operator () (const float * src, ushort * dst, int width, float scale, float shift) const src 3175 modules/core/src/convert.cpp __m128 v_src = _mm_loadu_ps(src + x); src 3178 modules/core/src/convert.cpp v_src = _mm_loadu_ps(src + x + 4); src 3197 modules/core/src/convert.cpp int operator () (const float * src, short * dst, int width, float scale, float shift) const src 3208 modules/core/src/convert.cpp __m128 v_src = _mm_loadu_ps(src + x); src 3211 modules/core/src/convert.cpp v_src = _mm_loadu_ps(src + x + 4); src 3226 modules/core/src/convert.cpp int operator () (const float * src, int * dst, int width, float scale, float shift) const src 3237 modules/core/src/convert.cpp __m128 v_src = _mm_loadu_ps(src + x); src 3240 modules/core/src/convert.cpp v_src = _mm_loadu_ps(src + x + 4); src 3254 modules/core/src/convert.cpp int operator () (const float * src, float * dst, int width, float scale, float shift) const src 3265 modules/core/src/convert.cpp __m128 v_src = _mm_loadu_ps(src + x); src 3277 modules/core/src/convert.cpp int operator () (const float * src, double * dst, int width, double scale, double shift) const src 3288 modules/core/src/convert.cpp __m128 v_src = _mm_loadu_ps(src + x); src 3306 modules/core/src/convert.cpp int operator () (const double * src, uchar * dst, int width, float scale, float shift) const src 3318 modules/core/src/convert.cpp __m128 v_src = _mm_movelh_ps(_mm_cvtpd_ps(_mm_loadu_pd(src + x)), src 3319 modules/core/src/convert.cpp _mm_cvtpd_ps(_mm_loadu_pd(src + x + 2))); src 3322 modules/core/src/convert.cpp v_src = _mm_movelh_ps(_mm_cvtpd_ps(_mm_loadu_pd(src + x + 4)), src 3323 modules/core/src/convert.cpp _mm_cvtpd_ps(_mm_loadu_pd(src + x + 6))); src 3338 modules/core/src/convert.cpp int operator () (const double * src, schar * dst, int width, float scale, float shift) const src 3350 modules/core/src/convert.cpp __m128 v_src = _mm_movelh_ps(_mm_cvtpd_ps(_mm_loadu_pd(src + x)), src 3351 modules/core/src/convert.cpp _mm_cvtpd_ps(_mm_loadu_pd(src + x + 2))); src 3354 modules/core/src/convert.cpp v_src = _mm_movelh_ps(_mm_cvtpd_ps(_mm_loadu_pd(src + x + 4)), src 3355 modules/core/src/convert.cpp _mm_cvtpd_ps(_mm_loadu_pd(src + x + 6))); src 3377 modules/core/src/convert.cpp int operator () (const double * src, ushort * dst, int width, float scale, float shift) const src 3388 modules/core/src/convert.cpp __m128 v_src = _mm_movelh_ps(_mm_cvtpd_ps(_mm_loadu_pd(src + x)), src 3389 modules/core/src/convert.cpp _mm_cvtpd_ps(_mm_loadu_pd(src + x + 2))); src 3392 modules/core/src/convert.cpp v_src = _mm_movelh_ps(_mm_cvtpd_ps(_mm_loadu_pd(src + x + 4)), src 3393 modules/core/src/convert.cpp _mm_cvtpd_ps(_mm_loadu_pd(src + x + 6))); src 3412 modules/core/src/convert.cpp int operator () (const double * src, short * dst, int width, float scale, float shift) const src 3423 modules/core/src/convert.cpp __m128 v_src = _mm_movelh_ps(_mm_cvtpd_ps(_mm_loadu_pd(src + x)), src 3424 modules/core/src/convert.cpp _mm_cvtpd_ps(_mm_loadu_pd(src + x + 2))); src 3427 modules/core/src/convert.cpp v_src = _mm_movelh_ps(_mm_cvtpd_ps(_mm_loadu_pd(src + x + 4)), src 3428 modules/core/src/convert.cpp _mm_cvtpd_ps(_mm_loadu_pd(src + x + 6))); src 3443 modules/core/src/convert.cpp int operator () (const double * src, int * dst, int width, double scale, double shift) const src 3454 modules/core/src/convert.cpp __m128d v_src = _mm_loadu_pd(src + x); src 3457 modules/core/src/convert.cpp v_src = _mm_loadu_pd(src + x + 2); src 3473 modules/core/src/convert.cpp int operator () (const double * src, float * dst, int width, double scale, double shift) const src 3484 modules/core/src/convert.cpp __m128d v_src = _mm_loadu_pd(src + x); src 3487 modules/core/src/convert.cpp v_src = _mm_loadu_pd(src + x + 2); src 3503 modules/core/src/convert.cpp int operator () (const double * src, double * dst, int width, double scale, double shift) const src 3514 modules/core/src/convert.cpp __m128d v_src = _mm_loadu_pd(src + x); src 3530 modules/core/src/convert.cpp int operator () (const uchar * src, uchar * dst, int width, float scale, float shift) const src 3537 modules/core/src/convert.cpp uint16x8_t v_src = vmovl_u8(vld1_u8(src + x)); src 3553 modules/core/src/convert.cpp int operator () (const uchar * src, schar * dst, int width, float scale, float shift) const src 3560 modules/core/src/convert.cpp uint16x8_t v_src = vmovl_u8(vld1_u8(src + x)); src 3576 modules/core/src/convert.cpp int operator () (const uchar * src, ushort * dst, int width, float scale, float shift) const src 3583 modules/core/src/convert.cpp uint16x8_t v_src = vmovl_u8(vld1_u8(src + x)); src 3599 modules/core/src/convert.cpp int operator () (const uchar * src, short * dst, int width, float scale, float shift) const src 3606 modules/core/src/convert.cpp uint16x8_t v_src = vmovl_u8(vld1_u8(src + x)); src 3622 modules/core/src/convert.cpp int operator () (const uchar * src, int * dst, int width, float scale, float shift) const src 3629 modules/core/src/convert.cpp uint16x8_t v_src = vmovl_u8(vld1_u8(src + x)); src 3644 modules/core/src/convert.cpp int operator () (const uchar * src, float * dst, int width, float scale, float shift) const src 3651 modules/core/src/convert.cpp uint16x8_t v_src = vmovl_u8(vld1_u8(src + x)); src 3665 modules/core/src/convert.cpp int operator () (const schar * src, uchar * dst, int width, float scale, float shift) const src 3672 modules/core/src/convert.cpp int16x8_t v_src = vmovl_s8(vld1_s8(src + x)); src 3688 modules/core/src/convert.cpp int operator () (const schar * src, schar * dst, int width, float scale, float shift) const src 3695 modules/core/src/convert.cpp int16x8_t v_src = vmovl_s8(vld1_s8(src + x)); src 3711 modules/core/src/convert.cpp int operator () (const schar * src, ushort * dst, int width, float scale, float shift) const src 3718 modules/core/src/convert.cpp int16x8_t v_src = vmovl_s8(vld1_s8(src + x)); src 3734 modules/core/src/convert.cpp int operator () (const schar * src, short * dst, int width, float scale, float shift) const src 3741 modules/core/src/convert.cpp int16x8_t v_src = vmovl_s8(vld1_s8(src + x)); src 3757 modules/core/src/convert.cpp int operator () (const schar * src, int * dst, int width, float scale, float shift) const src 3764 modules/core/src/convert.cpp int16x8_t v_src = vmovl_s8(vld1_s8(src + x)); src 3779 modules/core/src/convert.cpp int operator () (const schar * src, float * dst, int width, float scale, float shift) const src 3786 modules/core/src/convert.cpp int16x8_t v_src = vmovl_s8(vld1_s8(src + x)); src 3800 modules/core/src/convert.cpp int operator () (const ushort * src, uchar * dst, int width, float scale, float shift) const src 3807 modules/core/src/convert.cpp uint16x8_t v_src = vld1q_u16(src + x); src 3823 modules/core/src/convert.cpp int operator () (const ushort * src, schar * dst, int width, float scale, float shift) const src 3830 modules/core/src/convert.cpp uint16x8_t v_src = vld1q_u16(src + x); src 3846 modules/core/src/convert.cpp int operator () (const ushort * src, ushort * dst, int width, float scale, float shift) const src 3853 modules/core/src/convert.cpp uint16x8_t v_src = vld1q_u16(src + x); src 3869 modules/core/src/convert.cpp int operator () (const ushort * src, short * dst, int width, float scale, float shift) const src 3876 modules/core/src/convert.cpp uint16x8_t v_src = vld1q_u16(src + x); src 3892 modules/core/src/convert.cpp int operator () (const ushort * src, int * dst, int width, float scale, float shift) const src 3899 modules/core/src/convert.cpp uint16x8_t v_src = vld1q_u16(src + x); src 3914 modules/core/src/convert.cpp int operator () (const ushort * src, float * dst, int width, float scale, float shift) const src 3921 modules/core/src/convert.cpp uint16x8_t v_src = vld1q_u16(src + x); src 3935 modules/core/src/convert.cpp int operator () (const short * src, uchar * dst, int width, float scale, float shift) const src 3942 modules/core/src/convert.cpp int16x8_t v_src = vld1q_s16(src + x); src 3958 modules/core/src/convert.cpp int operator () (const short * src, schar * dst, int width, float scale, float shift) const src 3965 modules/core/src/convert.cpp int16x8_t v_src = vld1q_s16(src + x); src 3981 modules/core/src/convert.cpp int operator () (const short * src, ushort * dst, int width, float scale, float shift) const src 3988 modules/core/src/convert.cpp int16x8_t v_src = vld1q_s16(src + x); src 4004 modules/core/src/convert.cpp int operator () (const short * src, float * dst, int width, float scale, float shift) const src 4011 modules/core/src/convert.cpp int16x8_t v_src = vld1q_s16(src + x); src 4025 modules/core/src/convert.cpp int operator () (const int * src, uchar * dst, int width, float scale, float shift) const src 4032 modules/core/src/convert.cpp float32x4_t v_dst1 = vaddq_f32(vmulq_f32(vcvtq_f32_s32(vld1q_s32(src + x)), v_scale), v_shift); src 4033 modules/core/src/convert.cpp float32x4_t v_dst2 = vaddq_f32(vmulq_f32(vcvtq_f32_s32(vld1q_s32(src + x + 4)), v_scale), v_shift); src 4047 modules/core/src/convert.cpp int operator () (const int * src, schar * dst, int width, float scale, float shift) const src 4054 modules/core/src/convert.cpp float32x4_t v_dst1 = vaddq_f32(vmulq_f32(vcvtq_f32_s32(vld1q_s32(src + x)), v_scale), v_shift); src 4055 modules/core/src/convert.cpp float32x4_t v_dst2 = vaddq_f32(vmulq_f32(vcvtq_f32_s32(vld1q_s32(src + x + 4)), v_scale), v_shift); src 4069 modules/core/src/convert.cpp int operator () (const int * src, ushort * dst, int width, float scale, float shift) const src 4076 modules/core/src/convert.cpp float32x4_t v_dst1 = vaddq_f32(vmulq_f32(vcvtq_f32_s32(vld1q_s32(src + x)), v_scale), v_shift); src 4077 modules/core/src/convert.cpp float32x4_t v_dst2 = vaddq_f32(vmulq_f32(vcvtq_f32_s32(vld1q_s32(src + x + 4)), v_scale), v_shift); src 4091 modules/core/src/convert.cpp int operator () (const int * src, short * dst, int width, float scale, float shift) const src 4098 modules/core/src/convert.cpp float32x4_t v_dst1 = vaddq_f32(vmulq_f32(vcvtq_f32_s32(vld1q_s32(src + x)), v_scale), v_shift); src 4099 modules/core/src/convert.cpp float32x4_t v_dst2 = vaddq_f32(vmulq_f32(vcvtq_f32_s32(vld1q_s32(src + x + 4)), v_scale), v_shift); src 4115 modules/core/src/convert.cpp int operator () (const float * src, uchar * dst, int width, float scale, float shift) const src 4122 modules/core/src/convert.cpp float32x4_t v_dst1 = vaddq_f32(vmulq_f32(vld1q_f32(src + x), v_scale), v_shift); src 4123 modules/core/src/convert.cpp float32x4_t v_dst2 = vaddq_f32(vmulq_f32(vld1q_f32(src + x + 4), v_scale), v_shift); src 4137 modules/core/src/convert.cpp int operator () (const float * src, schar * dst, int width, float scale, float shift) const src 4144 modules/core/src/convert.cpp float32x4_t v_dst1 = vaddq_f32(vmulq_f32(vld1q_f32(src + x), v_scale), v_shift); src 4145 modules/core/src/convert.cpp float32x4_t v_dst2 = vaddq_f32(vmulq_f32(vld1q_f32(src + x + 4), v_scale), v_shift); src 4159 modules/core/src/convert.cpp int operator () (const float * src, ushort * dst, int width, float scale, float shift) const src 4166 modules/core/src/convert.cpp float32x4_t v_dst1 = vaddq_f32(vmulq_f32(vld1q_f32(src + x), v_scale), v_shift); src 4167 modules/core/src/convert.cpp float32x4_t v_dst2 = vaddq_f32(vmulq_f32(vld1q_f32(src + x + 4), v_scale), v_shift); src 4181 modules/core/src/convert.cpp int operator () (const float * src, short * dst, int width, float scale, float shift) const src 4188 modules/core/src/convert.cpp float32x4_t v_dst1 = vaddq_f32(vmulq_f32(vld1q_f32(src + x), v_scale), v_shift); src 4189 modules/core/src/convert.cpp float32x4_t v_dst2 = vaddq_f32(vmulq_f32(vld1q_f32(src + x + 4), v_scale), v_shift); src 4203 modules/core/src/convert.cpp int operator () (const float * src, int * dst, int width, float scale, float shift) const src 4209 modules/core/src/convert.cpp vst1q_s32(dst + x, cv_vrndq_s32_f32(vaddq_f32(vmulq_f32(vld1q_f32(src + x), v_scale), v_shift))); src 4218 modules/core/src/convert.cpp int operator () (const float * src, float * dst, int width, float scale, float shift) const src 4224 modules/core/src/convert.cpp vst1q_f32(dst + x, vaddq_f32(vmulq_f32(vld1q_f32(src + x), v_scale), v_shift)); src 4233 modules/core/src/convert.cpp cvtScale_( const T* src, size_t sstep, src 4237 modules/core/src/convert.cpp sstep /= sizeof(src[0]); src 4242 modules/core/src/convert.cpp for( ; size.height--; src += sstep, dst += dstep ) src 4244 modules/core/src/convert.cpp int x = vop(src, dst, size.width, scale, shift); src 4250 modules/core/src/convert.cpp t0 = saturate_cast<DT>(src[x]*scale + shift); src 4251 modules/core/src/convert.cpp t1 = saturate_cast<DT>(src[x+1]*scale + shift); src 4253 modules/core/src/convert.cpp t0 = saturate_cast<DT>(src[x+2]*scale + shift); src 4254 modules/core/src/convert.cpp t1 = saturate_cast<DT>(src[x+3]*scale + shift); src 4260 modules/core/src/convert.cpp dst[x] = saturate_cast<DT>(src[x]*scale + shift); src 4266 modules/core/src/convert.cpp cvtScale_<short, short, float>( const short* src, size_t sstep, src 4270 modules/core/src/convert.cpp sstep /= sizeof(src[0]); src 4273 modules/core/src/convert.cpp for( ; size.height--; src += sstep, dst += dstep ) src 4283 modules/core/src/convert.cpp __m128i r0 = _mm_loadl_epi64((const __m128i*)(src + x)); src 4284 modules/core/src/convert.cpp __m128i r1 = _mm_loadl_epi64((const __m128i*)(src + x + 4)); src 4299 modules/core/src/convert.cpp int16x8_t v_src = vld1q_s16(src + x); src 4312 modules/core/src/convert.cpp dst[x] = saturate_cast<short>(src[x]*scale + shift); src 4317 modules/core/src/convert.cpp cvtScale_<short, int, float>( const short* src, size_t sstep, src 4321 modules/core/src/convert.cpp sstep /= sizeof(src[0]); src 4324 modules/core/src/convert.cpp for( ; size.height--; src += sstep, dst += dstep ) src 4337 modules/core/src/convert.cpp __m256i v_src = _mm256_loadu_si256((const __m256i *)(src + x)); src 4355 modules/core/src/convert.cpp __m128i r0 = _mm_loadu_si128((const __m128i*)(src + x)); src 4370 modules/core/src/convert.cpp int16x8_t v_src = vld1q_s16(src + x); src 4383 modules/core/src/convert.cpp dst[x] = saturate_cast<int>(src[x]*scale + shift); src 4403 modules/core/src/convert.cpp int operator() (const double * src, uchar * dst, int width) const src 4412 modules/core/src/convert.cpp __m128 v_src0 = _mm_cvtpd_ps(_mm_loadu_pd(src + x)); src 4413 modules/core/src/convert.cpp __m128 v_src1 = _mm_cvtpd_ps(_mm_loadu_pd(src + x + 2)); src 4414 modules/core/src/convert.cpp __m128 v_src2 = _mm_cvtpd_ps(_mm_loadu_pd(src + x + 4)); src 4415 modules/core/src/convert.cpp __m128 v_src3 = _mm_cvtpd_ps(_mm_loadu_pd(src + x + 6)); src 4432 modules/core/src/convert.cpp int operator() (const double * src, schar * dst, int width) const src 4441 modules/core/src/convert.cpp __m128 v_src0 = _mm_cvtpd_ps(_mm_loadu_pd(src + x)); src 4442 modules/core/src/convert.cpp __m128 v_src1 = _mm_cvtpd_ps(_mm_loadu_pd(src + x + 2)); src 4443 modules/core/src/convert.cpp __m128 v_src2 = _mm_cvtpd_ps(_mm_loadu_pd(src + x + 4)); src 4444 modules/core/src/convert.cpp __m128 v_src3 = _mm_cvtpd_ps(_mm_loadu_pd(src + x + 6)); src 4466 modules/core/src/convert.cpp int operator() (const double * src, ushort * dst, int width) const src 4475 modules/core/src/convert.cpp __m128 v_src0 = _mm_cvtpd_ps(_mm_loadu_pd(src + x)); src 4476 modules/core/src/convert.cpp __m128 v_src1 = _mm_cvtpd_ps(_mm_loadu_pd(src + x + 2)); src 4477 modules/core/src/convert.cpp __m128 v_src2 = _mm_cvtpd_ps(_mm_loadu_pd(src + x + 4)); src 4478 modules/core/src/convert.cpp __m128 v_src3 = _mm_cvtpd_ps(_mm_loadu_pd(src + x + 6)); src 4497 modules/core/src/convert.cpp int operator() (const double * src, short * dst, int width) const src 4506 modules/core/src/convert.cpp __m128 v_src0 = _mm_cvtpd_ps(_mm_loadu_pd(src + x)); src 4507 modules/core/src/convert.cpp __m128 v_src1 = _mm_cvtpd_ps(_mm_loadu_pd(src + x + 2)); src 4508 modules/core/src/convert.cpp __m128 v_src2 = _mm_cvtpd_ps(_mm_loadu_pd(src + x + 4)); src 4509 modules/core/src/convert.cpp __m128 v_src3 = _mm_cvtpd_ps(_mm_loadu_pd(src + x + 6)); src 4526 modules/core/src/convert.cpp int operator() (const double * src, int * dst, int width) const src 4535 modules/core/src/convert.cpp __m128 v_src0 = _mm_cvtpd_ps(_mm_loadu_pd(src + x)); src 4536 modules/core/src/convert.cpp __m128 v_src1 = _mm_cvtpd_ps(_mm_loadu_pd(src + x + 2)); src 4549 modules/core/src/convert.cpp int operator() (const double * src, float * dst, int width) const src 4558 modules/core/src/convert.cpp __m128 v_src0 = _mm_cvtpd_ps(_mm_loadu_pd(src + x)); src 4559 modules/core/src/convert.cpp __m128 v_src1 = _mm_cvtpd_ps(_mm_loadu_pd(src + x + 2)); src 4576 modules/core/src/convert.cpp int operator() (const uchar * src, schar * dst, int width) const src 4581 modules/core/src/convert.cpp vst1_s8(dst + x, vqmovn_s16(vreinterpretq_s16_u16(vmovl_u8(vld1_u8(src + x))))); src 4591 modules/core/src/convert.cpp int operator() (const uchar * src, ushort * dst, int width) const src 4596 modules/core/src/convert.cpp vst1q_u16(dst + x, vmovl_u8(vld1_u8(src + x))); src 4605 modules/core/src/convert.cpp int operator() (const uchar * src, short * dst, int width) const src 4610 modules/core/src/convert.cpp vst1q_s16(dst + x, vreinterpretq_s16_u16(vmovl_u8(vld1_u8(src + x)))); src 4619 modules/core/src/convert.cpp int operator() (const uchar * src, int * dst, int width) const src 4625 modules/core/src/convert.cpp uint16x8_t v_src = vmovl_u8(vld1_u8(src + x)); src 4637 modules/core/src/convert.cpp int operator() (const uchar * src, float * dst, int width) const src 4643 modules/core/src/convert.cpp uint16x8_t v_src = vmovl_u8(vld1_u8(src + x)); src 4657 modules/core/src/convert.cpp int operator() (const schar * src, uchar * dst, int width) const src 4662 modules/core/src/convert.cpp vst1_u8(dst + x, vqmovun_s16(vmovl_s8(vld1_s8(src + x)))); src 4671 modules/core/src/convert.cpp int operator() (const schar * src, short * dst, int width) const src 4676 modules/core/src/convert.cpp vst1q_s16(dst + x, vmovl_s8(vld1_s8(src + x))); src 4685 modules/core/src/convert.cpp int operator() (const schar * src, ushort * dst, int width) const src 4691 modules/core/src/convert.cpp int16x8_t v_src = vmovl_s8(vld1_s8(src + x)); src 4704 modules/core/src/convert.cpp int operator() (const schar * src, int * dst, int width) const src 4710 modules/core/src/convert.cpp int16x8_t v_src = vmovl_s8(vld1_s8(src + x)); src 4722 modules/core/src/convert.cpp int operator() (const schar * src, float * dst, int width) const src 4728 modules/core/src/convert.cpp int16x8_t v_src = vmovl_s8(vld1_s8(src + x)); src 4742 modules/core/src/convert.cpp int operator() (const ushort * src, uchar * dst, int width) const src 4748 modules/core/src/convert.cpp uint16x8_t v_src1 = vld1q_u16(src + x), v_src2 = vld1q_u16(src + x + 8); src 4759 modules/core/src/convert.cpp int operator() (const ushort * src, schar * dst, int width) const src 4765 modules/core/src/convert.cpp uint16x8_t v_src1 = vld1q_u16(src + x), v_src2 = vld1q_u16(src + x + 8); src 4782 modules/core/src/convert.cpp int operator() (const ushort * src, short * dst, int width) const src 4788 modules/core/src/convert.cpp uint16x8_t v_src = vld1q_u16(src + x); src 4802 modules/core/src/convert.cpp int operator() (const ushort * src, int * dst, int width) const src 4808 modules/core/src/convert.cpp uint16x8_t v_src = vld1q_u16(src + x); src 4820 modules/core/src/convert.cpp int operator() (const ushort * src, float * dst, int width) const src 4826 modules/core/src/convert.cpp uint16x8_t v_src = vld1q_u16(src + x); src 4840 modules/core/src/convert.cpp int operator() (const short * src, uchar * dst, int width) const src 4846 modules/core/src/convert.cpp int16x8_t v_src1 = vld1q_s16(src + x), v_src2 = vld1q_s16(src + x + 8); src 4857 modules/core/src/convert.cpp int operator() (const short * src, schar * dst, int width) const src 4863 modules/core/src/convert.cpp int16x8_t v_src1 = vld1q_s16(src + x), v_src2 = vld1q_s16(src + x + 8); src 4874 modules/core/src/convert.cpp int operator() (const short * src, ushort * dst, int width) const src 4880 modules/core/src/convert.cpp int16x8_t v_src = vld1q_s16(src + x); src 4893 modules/core/src/convert.cpp int operator() (const short * src, int * dst, int width) const src 4899 modules/core/src/convert.cpp int16x8_t v_src = vld1q_s16(src + x); src 4911 modules/core/src/convert.cpp int operator() (const short * src, float * dst, int width) const src 4917 modules/core/src/convert.cpp int16x8_t v_src = vld1q_s16(src + x); src 4931 modules/core/src/convert.cpp int operator() (const int * src, uchar * dst, int width) const src 4937 modules/core/src/convert.cpp int32x4_t v_src1 = vld1q_s32(src + x), v_src2 = vld1q_s32(src + x + 4); src 4938 modules/core/src/convert.cpp int32x4_t v_src3 = vld1q_s32(src + x + 8), v_src4 = vld1q_s32(src + x + 12); src 4951 modules/core/src/convert.cpp int operator() (const int * src, schar * dst, int width) const src 4957 modules/core/src/convert.cpp int32x4_t v_src1 = vld1q_s32(src + x), v_src2 = vld1q_s32(src + x + 4); src 4958 modules/core/src/convert.cpp int32x4_t v_src3 = vld1q_s32(src + x + 8), v_src4 = vld1q_s32(src + x + 12); src 4972 modules/core/src/convert.cpp int operator() (const int * src, ushort * dst, int width) const src 4978 modules/core/src/convert.cpp int32x4_t v_src1 = vld1q_s32(src + x), v_src2 = vld1q_s32(src + x + 4); src 4989 modules/core/src/convert.cpp int operator() (const int * src, short * dst, int width) const src 4995 modules/core/src/convert.cpp int32x4_t v_src1 = vld1q_s32(src + x), v_src2 = vld1q_s32(src + x + 4); src 5006 modules/core/src/convert.cpp int operator() (const int * src, float * dst, int width) const src 5011 modules/core/src/convert.cpp vst1q_f32(dst + x, vcvtq_f32_s32(vld1q_s32(src + x))); src 5022 modules/core/src/convert.cpp int operator() (const float * src, uchar * dst, int width) const src 5028 modules/core/src/convert.cpp uint32x4_t v_src1 = cv_vrndq_u32_f32(vld1q_f32(src + x)); src 5029 modules/core/src/convert.cpp uint32x4_t v_src2 = cv_vrndq_u32_f32(vld1q_f32(src + x + 4)); src 5030 modules/core/src/convert.cpp uint32x4_t v_src3 = cv_vrndq_u32_f32(vld1q_f32(src + x + 8)); src 5031 modules/core/src/convert.cpp uint32x4_t v_src4 = cv_vrndq_u32_f32(vld1q_f32(src + x + 12)); src 5044 modules/core/src/convert.cpp int operator() (const float * src, schar * dst, int width) const src 5050 modules/core/src/convert.cpp int32x4_t v_src1 = cv_vrndq_s32_f32(vld1q_f32(src + x)); src 5051 modules/core/src/convert.cpp int32x4_t v_src2 = cv_vrndq_s32_f32(vld1q_f32(src + x + 4)); src 5052 modules/core/src/convert.cpp int32x4_t v_src3 = cv_vrndq_s32_f32(vld1q_f32(src + x + 8)); src 5053 modules/core/src/convert.cpp int32x4_t v_src4 = cv_vrndq_s32_f32(vld1q_f32(src + x + 12)); src 5067 modules/core/src/convert.cpp int operator() (const float * src, ushort * dst, int width) const src 5073 modules/core/src/convert.cpp uint32x4_t v_src1 = cv_vrndq_u32_f32(vld1q_f32(src + x)); src 5074 modules/core/src/convert.cpp uint32x4_t v_src2 = cv_vrndq_u32_f32(vld1q_f32(src + x + 4)); src 5085 modules/core/src/convert.cpp int operator() (const float * src, int * dst, int width) const src 5090 modules/core/src/convert.cpp vst1q_s32(dst + x, cv_vrndq_s32_f32(vld1q_f32(src + x))); src 5099 modules/core/src/convert.cpp cvt_( const T* src, size_t sstep, src 5102 modules/core/src/convert.cpp sstep /= sizeof(src[0]); src 5106 modules/core/src/convert.cpp for( ; size.height--; src += sstep, dst += dstep ) src 5108 modules/core/src/convert.cpp int x = vop(src, dst, size.width); src 5113 modules/core/src/convert.cpp t0 = saturate_cast<DT>(src[x]); src 5114 modules/core/src/convert.cpp t1 = saturate_cast<DT>(src[x+1]); src 5116 modules/core/src/convert.cpp t0 = saturate_cast<DT>(src[x+2]); src 5117 modules/core/src/convert.cpp t1 = saturate_cast<DT>(src[x+3]); src 5122 modules/core/src/convert.cpp dst[x] = saturate_cast<DT>(src[x]); src 5128 modules/core/src/convert.cpp cvt_<float, short>( const float* src, size_t sstep, src 5131 modules/core/src/convert.cpp sstep /= sizeof(src[0]); src 5134 modules/core/src/convert.cpp for( ; size.height--; src += sstep, dst += dstep ) src 5142 modules/core/src/convert.cpp __m128 src128 = _mm_loadu_ps (src + x); src 5145 modules/core/src/convert.cpp src128 = _mm_loadu_ps (src + x + 4); src 5155 modules/core/src/convert.cpp float32x4_t v_src1 = vld1q_f32(src + x), v_src2 = vld1q_f32(src + x + 4); src 5162 modules/core/src/convert.cpp dst[x] = saturate_cast<short>(src[x]); src 5169 modules/core/src/convert.cpp cpy_( const T* src, size_t sstep, T* dst, size_t dstep, Size size ) src 5171 modules/core/src/convert.cpp sstep /= sizeof(src[0]); src 5174 modules/core/src/convert.cpp for( ; size.height--; src += sstep, dst += dstep ) src 5175 modules/core/src/convert.cpp memcpy(dst, src, size.width*sizeof(src[0])); src 5179 modules/core/src/convert.cpp static void cvtScaleAbs##suffix( const stype* src, size_t sstep, const uchar*, size_t, \ src 5182 modules/core/src/convert.cpp tfunc(src, sstep, dst, dstep, size, (wtype)scale[0], (wtype)scale[1]); \ src 5186 modules/core/src/convert.cpp static void cvtScale##suffix( const stype* src, size_t sstep, const uchar*, size_t, \ src 5189 modules/core/src/convert.cpp cvtScale_(src, sstep, dst, dstep, size, (wtype)scale[0], (wtype)scale[1]); \ src 5194 modules/core/src/convert.cpp static void cvt##suffix( const stype* src, size_t sstep, const uchar*, size_t, \ src 5199 modules/core/src/convert.cpp if (src && dst)\ src 5201 modules/core/src/convert.cpp if (ippiConvert_##ippFavor(src, (int)sstep, dst, (int)dstep, ippiSize(size.width, size.height)) >= 0) \ src 5209 modules/core/src/convert.cpp cvt_(src, sstep, dst, dstep, size); \ src 5213 modules/core/src/convert.cpp static void cvt##suffix( const stype* src, size_t sstep, const uchar*, size_t, \ src 5218 modules/core/src/convert.cpp if (src && dst)\ src 5220 modules/core/src/convert.cpp if (ippiConvert_##ippFavor(src, (int)sstep, dst, (int)dstep, ippiSize(size.width, size.height), ippRndFinancial, 0) >= 0) \ src 5228 modules/core/src/convert.cpp cvt_(src, sstep, dst, dstep, size); \ src 5232 modules/core/src/convert.cpp static void cvt##suffix( const stype* src, size_t sstep, const uchar*, size_t, \ src 5235 modules/core/src/convert.cpp cvt_(src, sstep, dst, dstep, size); \ src 5241 modules/core/src/convert.cpp static void cvt##suffix( const stype* src, size_t sstep, const uchar*, size_t, \ src 5244 modules/core/src/convert.cpp cvt_(src, sstep, dst, dstep, size); \ src 5248 modules/core/src/convert.cpp static void cvt##suffix( const stype* src, size_t sstep, const uchar*, size_t, \ src 5251 modules/core/src/convert.cpp cpy_(src, sstep, dst, dstep, size); \ src 5519 modules/core/src/convert.cpp UMat src = _src.getUMat(); src 5522 modules/core/src/convert.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), src 5530 modules/core/src/convert.cpp size_t globalsize[2] = { src.cols * cn / kercn, (src.rows + rowsPerWI - 1) / rowsPerWI }; src 5543 modules/core/src/convert.cpp Mat src = _src.getMat(); src 5544 modules/core/src/convert.cpp int cn = src.channels(); src 5546 modules/core/src/convert.cpp _dst.create( src.dims, src.size, CV_8UC(cn) ); src 5548 modules/core/src/convert.cpp BinaryFunc func = getCvtScaleAbsFunc(src.depth()); src 5551 modules/core/src/convert.cpp if( src.dims <= 2 ) src 5553 modules/core/src/convert.cpp Size sz = getContinuousSize(src, dst, cn); src 5554 modules/core/src/convert.cpp func( src.ptr(), src.step, 0, 0, dst.ptr(), dst.step, sz, scale ); src 5558 modules/core/src/convert.cpp const Mat* arrays[] = {&src, &dst, 0}; src 5584 modules/core/src/convert.cpp Mat src = *this; src 5595 modules/core/src/convert.cpp Size sz = getContinuousSize(src, dst, cn); src 5596 modules/core/src/convert.cpp func( src.data, src.step, 0, 0, dst.data, dst.step, sz, scale ); src 5602 modules/core/src/convert.cpp const Mat* arrays[] = {&src, &dst, 0}; src 5620 modules/core/src/convert.cpp LUT8u_( const uchar* src, const T* lut, T* dst, int len, int cn, int lutcn ) src 5625 modules/core/src/convert.cpp dst[i] = lut[src[i]]; src 5631 modules/core/src/convert.cpp dst[i+k] = lut[src[i+k]*cn+k]; src 5635 modules/core/src/convert.cpp static void LUT8u_8u( const uchar* src, const uchar* lut, uchar* dst, int len, int cn, int lutcn ) src 5637 modules/core/src/convert.cpp LUT8u_( src, lut, dst, len, cn, lutcn ); src 5640 modules/core/src/convert.cpp static void LUT8u_8s( const uchar* src, const schar* lut, schar* dst, int len, int cn, int lutcn ) src 5642 modules/core/src/convert.cpp LUT8u_( src, lut, dst, len, cn, lutcn ); src 5645 modules/core/src/convert.cpp static void LUT8u_16u( const uchar* src, const ushort* lut, ushort* dst, int len, int cn, int lutcn ) src 5647 modules/core/src/convert.cpp LUT8u_( src, lut, dst, len, cn, lutcn ); src 5650 modules/core/src/convert.cpp static void LUT8u_16s( const uchar* src, const short* lut, short* dst, int len, int cn, int lutcn ) src 5652 modules/core/src/convert.cpp LUT8u_( src, lut, dst, len, cn, lutcn ); src 5655 modules/core/src/convert.cpp static void LUT8u_32s( const uchar* src, const int* lut, int* dst, int len, int cn, int lutcn ) src 5657 modules/core/src/convert.cpp LUT8u_( src, lut, dst, len, cn, lutcn ); src 5660 modules/core/src/convert.cpp static void LUT8u_32f( const uchar* src, const float* lut, float* dst, int len, int cn, int lutcn ) src 5662 modules/core/src/convert.cpp LUT8u_( src, lut, dst, len, cn, lutcn ); src 5665 modules/core/src/convert.cpp static void LUT8u_64f( const uchar* src, const double* lut, double* dst, int len, int cn, int lutcn ) src 5667 modules/core/src/convert.cpp LUT8u_( src, lut, dst, len, cn, lutcn ); src 5670 modules/core/src/convert.cpp typedef void (*LUTFunc)( const uchar* src, const uchar* lut, uchar* dst, int len, int cn, int lutcn ); src 5684 modules/core/src/convert.cpp UMat src = _src.getUMat(), lut = _lut.getUMat(); src 5685 modules/core/src/convert.cpp _dst.create(src.size(), CV_MAKETYPE(ddepth, dcn)); src 5691 modules/core/src/convert.cpp ocl::typeToStr(src.depth()), ocl::memopTypeToStr(ddepth))); src 5695 modules/core/src/convert.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::ReadOnlyNoSize(lut), src 5722 modules/core/src/convert.cpp IppLUTParallelBody_LUTC1(const Mat& src, const Mat& lut, Mat& dst, bool* _ok) src 5723 modules/core/src/convert.cpp : ok(_ok), src_(src), lut_(lut), dst_(dst) src 5745 modules/core/src/convert.cpp Mat src = src_.rowRange(row0, row1); src 5751 modules/core/src/convert.cpp if (fn(src.data, (int)src.step[0], dst.data, (int)dst.step[0], sz, lut_.data, 8) < 0) src 5777 modules/core/src/convert.cpp IppLUTParallelBody_LUTCN(const Mat& src, const Mat& lut, Mat& dst, bool* _ok) src 5778 modules/core/src/convert.cpp : ok(_ok), src_(src), lut_(lut), dst_(dst), lutBuffer(NULL) src 5832 modules/core/src/convert.cpp Mat src = src_.rowRange(row0, row1); src 5838 modules/core/src/convert.cpp src.ptr(), (int)src.step[0], dst.ptr(), (int)dst.step[0], src 5848 modules/core/src/convert.cpp src.ptr(), (int)src.step[0], dst.ptr(), (int)dst.step[0], src 5875 modules/core/src/convert.cpp LUTParallelBody(const Mat& src, const Mat& lut, Mat& dst, bool* _ok) src 5876 modules/core/src/convert.cpp : ok(_ok), src_(src), lut_(lut), dst_(dst) src 5889 modules/core/src/convert.cpp Mat src = src_.rowRange(row0, row1); src 5892 modules/core/src/convert.cpp int cn = src.channels(); src 5895 modules/core/src/convert.cpp const Mat* arrays[] = {&src, &dst, 0}; src 5922 modules/core/src/convert.cpp Mat src = _src.getMat(), lut = _lut.getMat(); src 5923 modules/core/src/convert.cpp _dst.create(src.dims, src.size, CV_MAKETYPE(_lut.depth(), cn)); src 5937 modules/core/src/convert.cpp ParallelLoopBody* p = new ipp::IppLUTParallelBody_LUTC1(src, lut, dst, &ok); src 5944 modules/core/src/convert.cpp ParallelLoopBody* p = new ipp::IppLUTParallelBody_LUTCN(src, lut, dst, &ok); src 5952 modules/core/src/convert.cpp ParallelLoopBody* p = new LUTParallelBody(src, lut, dst, &ok); src 5970 modules/core/src/convert.cpp const Mat* arrays[] = {&src, &dst, 0}; src 5986 modules/core/src/convert.cpp UMat src = _src.getUMat(); src 5989 modules/core/src/convert.cpp src.convertTo( _dst, dtype, scale, delta ); src 5990 modules/core/src/convert.cpp else if (src.channels() <= 4) src 6036 modules/core/src/convert.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), src 6055 modules/core/src/convert.cpp size_t globalsize[2] = { src.cols, (src.rows + rowsPerWI - 1) / rowsPerWI }; src 6061 modules/core/src/convert.cpp src.convertTo( temp, dtype, scale, delta ); src 6101 modules/core/src/convert.cpp Mat src = _src.getMat(), dst = _dst.getMat(); src 6103 modules/core/src/convert.cpp src.convertTo( dst, rtype, scale, shift ); src 6107 modules/core/src/convert.cpp src.convertTo( temp, rtype, scale, shift ); src 6116 modules/core/src/convert.cpp cv::Mat src = cv::cvarrToMat(srcarr); src 6129 modules/core/src/convert.cpp CV_Assert( dvec[j].size() == src.size() ); src 6130 modules/core/src/convert.cpp CV_Assert( dvec[j].depth() == src.depth() ); src 6132 modules/core/src/convert.cpp CV_Assert( i < src.channels() ); src 6138 modules/core/src/convert.cpp if( nz == src.channels() ) src 6139 modules/core/src/convert.cpp cv::split( src, dvec ); src 6142 modules/core/src/convert.cpp cv::mixChannels( &src, 1, &dvec[0], nz, &pairs[0], nz ); src 6184 modules/core/src/convert.cpp cvMixChannels( const CvArr** src, int src_count, src 6192 modules/core/src/convert.cpp buf[i] = cv::cvarrToMat(src[i]); src 6202 modules/core/src/convert.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 6203 modules/core/src/convert.cpp CV_Assert( src.size == dst.size && dst.type() == CV_8UC(src.channels())); src 6204 modules/core/src/convert.cpp cv::convertScaleAbs( src, dst, scale, shift ); src 6211 modules/core/src/convert.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 6213 modules/core/src/convert.cpp CV_Assert( src.size == dst.size && src.channels() == dst.channels() ); src 6214 modules/core/src/convert.cpp src.convertTo(dst, dst.type(), scale, shift); src 6219 modules/core/src/convert.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), lut = cv::cvarrToMat(lutarr); src 6221 modules/core/src/convert.cpp CV_Assert( dst.size() == src.size() && dst.type() == CV_MAKETYPE(lut.depth(), src.channels()) ); src 6222 modules/core/src/convert.cpp cv::LUT( src, lut, dst ); src 6228 modules/core/src/convert.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), mask; src 6231 modules/core/src/convert.cpp CV_Assert( dst.size() == src.size() && src.channels() == dst.channels() ); src 6232 modules/core/src/convert.cpp cv::normalize( src, dst, a, b, norm_type, dst.type(), mask ); src 60 modules/core/src/copy.cpp const T* src = (const T*)_src; src 67 modules/core/src/copy.cpp dst[x] = src[x]; src 69 modules/core/src/copy.cpp dst[x+1] = src[x+1]; src 71 modules/core/src/copy.cpp dst[x+2] = src[x+2]; src 73 modules/core/src/copy.cpp dst[x+3] = src[x+3]; src 78 modules/core/src/copy.cpp dst[x] = src[x]; src 99 modules/core/src/copy.cpp const uchar* src = (const uchar*)_src; src 109 modules/core/src/copy.cpp const __m128i rSrc = _mm_lddqu_si128((const __m128i*)(src+x)); src 122 modules/core/src/copy.cpp uint8x16_t v_dst = vld1q_u8(dst + x), v_src = vld1q_u8(src + x); src 128 modules/core/src/copy.cpp dst[x] = src[x]; src 149 modules/core/src/copy.cpp const ushort* src = (const ushort*)_src; src 158 modules/core/src/copy.cpp const __m128i rSrc =_mm_lddqu_si128((const __m128i*)(src+x)); src 175 modules/core/src/copy.cpp uint16x8_t v_src = vld1q_u16(src + x), v_dst = vld1q_u16(dst + x); src 181 modules/core/src/copy.cpp dst[x] = src[x]; src 191 modules/core/src/copy.cpp const uchar* src = _src; src 194 modules/core/src/copy.cpp for( ; x < size.width; x++, src += esz, dst += esz ) src 199 modules/core/src/copy.cpp dst[k] = src[k]; src 206 modules/core/src/copy.cpp static void copyMask##suffix(const uchar* src, size_t sstep, const uchar* mask, size_t mstep, \ src 209 modules/core/src/copy.cpp copyMask_<type>(src, sstep, mask, mstep, dst, dstep, size); \ src 214 modules/core/src/copy.cpp static void copyMask##suffix(const uchar* src, size_t sstep, const uchar* mask, size_t mstep, \ src 219 modules/core/src/copy.cpp if (ippiCopy_##ippfavor((const ipptype *)src, (int)sstep, (ipptype *)dst, (int)dstep, ippiSize(size), (const Ipp8u *)mask, (int)mstep) >= 0) \ src 226 modules/core/src/copy.cpp copyMask_<type>(src, sstep, mask, mstep, dst, dstep, size); \ src 230 modules/core/src/copy.cpp static void copyMask##suffix(const uchar* src, size_t sstep, const uchar* mask, size_t mstep, \ src 233 modules/core/src/copy.cpp copyMask_<type>(src, sstep, mask, mstep, dst, dstep, size); \ src 588 modules/core/src/copy.cpp flipHoriz( const uchar* src, size_t sstep, uchar* dst, size_t dstep, Size size, size_t esz ) src 598 modules/core/src/copy.cpp for( ; size.height--; src += sstep, dst += dstep ) src 603 modules/core/src/copy.cpp uchar t0 = src[i], t1 = src[j]; src 709 modules/core/src/copy.cpp UMat src = _src.getUMat(), dst = _dst.getUMat(); src 715 modules/core/src/copy.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), src 750 modules/core/src/copy.cpp Mat src = _src.getMat(); src 751 modules/core/src/copy.cpp int type = src.type(); src 764 modules/core/src/copy.cpp if (src.data == dst.data) src 810 modules/core/src/copy.cpp if (ippFunc(src.ptr(), (int)src.step, dst.ptr(), (int)dst.step, ippiSize(src.cols, src.rows), axis) >= 0) src 830 modules/core/src/copy.cpp flipVert( src.ptr(), src.step, dst.ptr(), dst.step, src.size(), esz ); src 832 modules/core/src/copy.cpp flipHoriz( src.ptr(), src.step, dst.ptr(), dst.step, src.size(), esz ); src 859 modules/core/src/copy.cpp UMat src = _src.getUMat(), dst = _dst.getUMat(); src 860 modules/core/src/copy.cpp k.args(ocl::KernelArg::ReadOnly(src, cn, kercn), ocl::KernelArg::WriteOnlyNoSize(dst)); src 862 modules/core/src/copy.cpp size_t globalsize[] = { src.cols * cn / kercn, (src.rows + rowsPerWI - 1) / rowsPerWI }; src 881 modules/core/src/copy.cpp Mat src = _src.getMat(), dst = _dst.getMat(); src 883 modules/core/src/copy.cpp int esz = (int)src.elemSize(); src 890 modules/core/src/copy.cpp memcpy( dst.ptr(y) + x, src.ptr(y), ssize.width ); src 897 modules/core/src/copy.cpp Mat repeat(const Mat& src, int ny, int nx) src 900 modules/core/src/copy.cpp return src; src 902 modules/core/src/copy.cpp repeat(src, ny, nx, dst); src 957 modules/core/src/copy.cpp void copyMakeBorder_8u( const uchar* src, size_t srcstep, cv::Size srcroi, src 965 modules/core/src/copy.cpp if( (cn | srcstep | dststep | (size_t)src | (size_t)dst) % isz == 0 ) src 998 modules/core/src/copy.cpp for( i = 0; i < srcroi.height; i++, dstInner += dststep, src += srcstep ) src 1000 modules/core/src/copy.cpp if( dstInner != src ) src 1001 modules/core/src/copy.cpp memcpy(dstInner, src, srcroi.width*elemSize); src 1005 modules/core/src/copy.cpp const int* isrc = (int*)src; src 1015 modules/core/src/copy.cpp dstInner[j - left] = src[tab[j]]; src 1017 modules/core/src/copy.cpp dstInner[j + srcroi.width] = src[tab[j + left]]; src 1038 modules/core/src/copy.cpp void copyMakeConstBorder_8u( const uchar* src, size_t srcstep, cv::Size srcroi, src 1061 modules/core/src/copy.cpp for( i = 0; i < srcroi.height; i++, dstInner += dststep, src += srcstep ) src 1063 modules/core/src/copy.cpp if( dstInner != src ) src 1064 modules/core/src/copy.cpp memcpy( dstInner, src, srcroi.width ); src 1109 modules/core/src/copy.cpp UMat src = _src.getUMat(); src 1110 modules/core/src/copy.cpp if( src.isSubmatrix() && !isolated ) src 1114 modules/core/src/copy.cpp src.locateROI(wholeSize, ofs); src 1116 modules/core/src/copy.cpp int dbottom = std::min(wholeSize.height - src.rows - ofs.y, bottom); src 1118 modules/core/src/copy.cpp int dright = std::min(wholeSize.width - src.cols - ofs.x, right); src 1119 modules/core/src/copy.cpp src.adjustROI(dtop, dbottom, dleft, dright); src 1126 modules/core/src/copy.cpp _dst.create(src.rows + top + bottom, src.cols + left + right, type); src 1131 modules/core/src/copy.cpp if(src.u != dst.u || src.step != dst.step) src 1132 modules/core/src/copy.cpp src.copyTo(dst); src 1136 modules/core/src/copy.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnly(dst), src 1155 modules/core/src/copy.cpp Mat src = _src.getMat(); src 1156 modules/core/src/copy.cpp int type = src.type(); src 1158 modules/core/src/copy.cpp if( src.isSubmatrix() && (borderType & BORDER_ISOLATED) == 0 ) src 1162 modules/core/src/copy.cpp src.locateROI(wholeSize, ofs); src 1164 modules/core/src/copy.cpp int dbottom = std::min(wholeSize.height - src.rows - ofs.y, bottom); src 1166 modules/core/src/copy.cpp int dright = std::min(wholeSize.width - src.cols - ofs.x, right); src 1167 modules/core/src/copy.cpp src.adjustROI(dtop, dbottom, dleft, dright); src 1174 modules/core/src/copy.cpp _dst.create( src.rows + top + bottom, src.cols + left + right, type ); src 1179 modules/core/src/copy.cpp if(src.data != dst.data || src.step != dst.step) src 1180 modules/core/src/copy.cpp src.copyTo(dst); src 1196 modules/core/src/copy.cpp IppiSize srcRoiSize = { src.cols, src.rows }, dstRoiSize = { dst.cols, dst.rows }; src 1200 modules/core/src/copy.cpp bool inplace = dst.datastart == src.datastart; src 1287 modules/core/src/copy.cpp if ( (ippFunc && ippFunc(src.data, (int)src.step, srcRoiSize, dst.data, (int)dst.step, dstRoiSize, top, left) >= 0) || src 1288 modules/core/src/copy.cpp (ippFuncI && ippFuncI(src.data, (int)src.step, srcRoiSize, dstRoiSize, top, left) >= 0) || src 1289 modules/core/src/copy.cpp (ippFuncConst && ippFuncConst(src.data, (int)src.step, srcRoiSize, dst.data, (int)dst.step, src 1302 modules/core/src/copy.cpp copyMakeBorder_8u( src.ptr(), src.step, src.size(), src 1304 modules/core/src/copy.cpp top, left, (int)src.elemSize(), borderType ); src 1307 modules/core/src/copy.cpp int cn = src.channels(), cn1 = cn; src 1314 modules/core/src/copy.cpp scalarToRawData(value, buf, CV_MAKETYPE(src.depth(), cn1), cn); src 1315 modules/core/src/copy.cpp copyMakeConstBorder_8u( src.ptr(), src.step, src.size(), src 1317 modules/core/src/copy.cpp top, left, (int)src.elemSize(), (uchar*)(double*)buf ); src 1360 modules/core/src/copy.cpp cv::Mat src = cv::cvarrToMat(srcarr, false, true, 1), dst = cv::cvarrToMat(dstarr, false, true, 1); src 1361 modules/core/src/copy.cpp CV_Assert( src.depth() == dst.depth() && src.size == dst.size ); src 1371 modules/core/src/copy.cpp CV_Assert( (coi1 != 0 || src.channels() == 1) && src 1375 modules/core/src/copy.cpp cv::mixChannels( &src, 1, &dst, 1, pair, 1 ); src 1379 modules/core/src/copy.cpp CV_Assert( src.channels() == dst.channels() ); src 1382 modules/core/src/copy.cpp src.copyTo(dst); src 1384 modules/core/src/copy.cpp src.copyTo(dst, cv::cvarrToMat(maskarr)); src 1415 modules/core/src/copy.cpp cv::Mat src = cv::cvarrToMat(srcarr); src 1419 modules/core/src/copy.cpp dst = src; src 1423 modules/core/src/copy.cpp CV_Assert( src.type() == dst.type() && src.size() == dst.size() ); src 1424 modules/core/src/copy.cpp cv::flip( src, dst, flip_mode ); src 1430 modules/core/src/copy.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 1431 modules/core/src/copy.cpp CV_Assert( src.type() == dst.type() && src 1432 modules/core/src/copy.cpp dst.rows % src.rows == 0 && dst.cols % src.cols == 0 ); src 1433 modules/core/src/copy.cpp cv::repeat(src, dst.rows/src.rows, dst.cols/src.cols, dst); src 347 modules/core/src/cuda_gpu_mat.cpp GpuMat src; src 356 modules/core/src/cuda_gpu_mat.cpp src = _src.getGpuMat(); src 361 modules/core/src/cuda_gpu_mat.cpp src = pool.getBuffer(_src.size(), _src.type()); src 362 modules/core/src/cuda_gpu_mat.cpp src.upload(_src, stream); src 366 modules/core/src/cuda_gpu_mat.cpp return src; src 704 modules/core/src/directx.cpp void convertToD3D11Texture2D(InputArray src, ID3D11Texture2D* pD3D11Texture2D) src 706 modules/core/src/directx.cpp (void)src; (void)pD3D11Texture2D; src 715 modules/core/src/directx.cpp int srcType = src.type(); src 719 modules/core/src/directx.cpp Size srcSize = src.size(); src 726 modules/core/src/directx.cpp UMat u = src.getUMat(); src 852 modules/core/src/directx.cpp void convertToD3D10Texture2D(InputArray src, ID3D10Texture2D* pD3D10Texture2D) src 854 modules/core/src/directx.cpp (void)src; (void)pD3D10Texture2D; src 863 modules/core/src/directx.cpp int srcType = src.type(); src 867 modules/core/src/directx.cpp Size srcSize = src.size(); src 874 modules/core/src/directx.cpp UMat u = src.getUMat(); src 1000 modules/core/src/directx.cpp void convertToDirect3DSurface9(InputArray src, IDirect3DSurface9* pDirect3DSurface9, void* surfaceSharedHandle) src 1002 modules/core/src/directx.cpp (void)src; (void)pDirect3DSurface9; (void)surfaceSharedHandle; src 1014 modules/core/src/directx.cpp int srcType = src.type(); src 1018 modules/core/src/directx.cpp Size srcSize = src.size(); src 1025 modules/core/src/directx.cpp UMat u = src.getUMat(); src 469 modules/core/src/dxt.cpp static IppStatus ippsDFTFwd_CToC( const Complex<float>* src, Complex<float>* dst, src 472 modules/core/src/dxt.cpp return ippsDFTFwd_CToC_32fc( (const Ipp32fc*)src, (Ipp32fc*)dst, src 476 modules/core/src/dxt.cpp static IppStatus ippsDFTFwd_CToC( const Complex<double>* src, Complex<double>* dst, src 479 modules/core/src/dxt.cpp return ippsDFTFwd_CToC_64fc( (const Ipp64fc*)src, (Ipp64fc*)dst, src 483 modules/core/src/dxt.cpp static IppStatus ippsDFTInv_CToC( const Complex<float>* src, Complex<float>* dst, src 486 modules/core/src/dxt.cpp return ippsDFTInv_CToC_32fc( (const Ipp32fc*)src, (Ipp32fc*)dst, src 490 modules/core/src/dxt.cpp static IppStatus ippsDFTInv_CToC( const Complex<double>* src, Complex<double>* dst, src 493 modules/core/src/dxt.cpp return ippsDFTInv_CToC_64fc( (const Ipp64fc*)src, (Ipp64fc*)dst, src 497 modules/core/src/dxt.cpp static IppStatus ippsDFTFwd_RToPack( const float* src, float* dst, src 500 modules/core/src/dxt.cpp return ippsDFTFwd_RToPack_32f( src, dst, (const IppsDFTSpec_R_32f*)spec, buf); src 503 modules/core/src/dxt.cpp static IppStatus ippsDFTFwd_RToPack( const double* src, double* dst, src 506 modules/core/src/dxt.cpp return ippsDFTFwd_RToPack_64f( src, dst, (const IppsDFTSpec_R_64f*)spec, buf); src 509 modules/core/src/dxt.cpp static IppStatus ippsDFTInv_PackToR( const float* src, float* dst, src 512 modules/core/src/dxt.cpp return ippsDFTInv_PackToR_32f( src, dst, (const IppsDFTSpec_R_32f*)spec, buf); src 515 modules/core/src/dxt.cpp static IppStatus ippsDFTInv_PackToR( const double* src, double* dst, src 518 modules/core/src/dxt.cpp return ippsDFTInv_PackToR_64f( src, dst, (const IppsDFTSpec_R_64f*)spec, buf); src 526 modules/core/src/dxt.cpp DFT( const Complex<T>* src, Complex<T>* dst, int n, src 555 modules/core/src/dxt.cpp if (ippsDFTFwd_CToC( src, dst, spec, (uchar*)buf ) >= 0) src 563 modules/core/src/dxt.cpp if (ippsDFTInv_CToC( src, dst, spec, (uchar*)buf ) >= 0) src 576 modules/core/src/dxt.cpp if( dst != src ) src 585 modules/core/src/dxt.cpp dst[i] = src[k0]; dst[i+1] = src[k1]; src 589 modules/core/src/dxt.cpp dst[n-1] = src[n-1]; src 597 modules/core/src/dxt.cpp t.re = src[k0].re; t.im = -src[k0].im; src 599 modules/core/src/dxt.cpp t.re = src[k1].re; t.im = -src[k1].im; src 605 modules/core/src/dxt.cpp t.re = src[n-1].re; t.im = -src[n-1].im; src 980 modules/core/src/dxt.cpp RealDFT( const T* src, T* dst, int n, int nf, int* factors, const int* itab, src 996 modules/core/src/dxt.cpp if (ippsDFTFwd_RToPack( src, dst, spec, (uchar*)buf ) >=0) src 1015 modules/core/src/dxt.cpp dst[0] = src[0]*scale; src 1019 modules/core/src/dxt.cpp T t = (src[0] + src[1])*scale; src 1020 modules/core/src/dxt.cpp dst[1] = (src[0] - src[1])*scale; src 1027 modules/core/src/dxt.cpp _dst[0].re = src[0]*scale; src 1031 modules/core/src/dxt.cpp T t0 = src[itab[j]]*scale; src 1032 modules/core/src/dxt.cpp T t1 = src[itab[j+1]]*scale; src 1050 modules/core/src/dxt.cpp DFT( (Complex<T>*)src, (Complex<T>*)dst, n2, nf - (factors[0] == 1), src 1106 modules/core/src/dxt.cpp CCSIDFT( const T* src, T* dst, int n, int nf, int* factors, const int* itab, src 1125 modules/core/src/dxt.cpp assert( src != dst ); src 1126 modules/core/src/dxt.cpp save_s1 = src[1]; src 1127 modules/core/src/dxt.cpp ((T*)src)[1] = src[0]; src 1128 modules/core/src/dxt.cpp src++; src 1133 modules/core/src/dxt.cpp if (ippsDFTInv_PackToR( src, dst, spec, (uchar*)buf ) >=0) src 1136 modules/core/src/dxt.cpp ((T*)src)[0] = (T)save_s1; src 1146 modules/core/src/dxt.cpp dst[0] = (T)(src[0]*scale); src 1150 modules/core/src/dxt.cpp t = (src[0] + src[1])*scale; src 1151 modules/core/src/dxt.cpp dst[1] = (src[0] - src[1])*scale; src 1156 modules/core/src/dxt.cpp Complex<T>* _src = (Complex<T>*)(src-1); src 1159 modules/core/src/dxt.cpp _dst[0].re = src[0]; src 1182 modules/core/src/dxt.cpp int inplace = src == dst; src 1185 modules/core/src/dxt.cpp t = src[1]; src 1186 modules/core/src/dxt.cpp t0 = (src[0] + src[n-1]); src 1187 modules/core/src/dxt.cpp t1 = (src[n-1] - src[0]); src 1195 modules/core/src/dxt.cpp h1_re = (t + src[n-j-1]); src 1196 modules/core/src/dxt.cpp h1_im = (src[j] - src[n-j]); src 1198 modules/core/src/dxt.cpp h2_re = (t - src[n-j-1]); src 1199 modules/core/src/dxt.cpp h2_im = (src[j] + src[n-j]); src 1205 modules/core/src/dxt.cpp t = src[j+1]; src 1233 modules/core/src/dxt.cpp t1 = src[n2]*2; src 1265 modules/core/src/dxt.cpp ((T*)src)[0] = (T)save_s1; src 1274 modules/core/src/dxt.cpp const int* src = (const int*)_src; src 1276 modules/core/src/dxt.cpp src_step /= sizeof(src[0]); src 1281 modules/core/src/dxt.cpp for( i = 0; i < len; i++, src += src_step, dst += dst_step ) src 1282 modules/core/src/dxt.cpp dst[0] = src[0]; src 1286 modules/core/src/dxt.cpp for( i = 0; i < len; i++, src += src_step, dst += dst_step ) src 1288 modules/core/src/dxt.cpp t0 = src[0]; t1 = src[1]; src 1294 modules/core/src/dxt.cpp for( i = 0; i < len; i++, src += src_step, dst += dst_step ) src 1296 modules/core/src/dxt.cpp t0 = src[0]; t1 = src[1]; src 1298 modules/core/src/dxt.cpp t0 = src[2]; t1 = src[3]; src 1311 modules/core/src/dxt.cpp const int* src = (const int*)_src; src 1314 modules/core/src/dxt.cpp src_step /= sizeof(src[0]); src 1318 modules/core/src/dxt.cpp for( i = 0; i < len; i++, src += src_step ) src 1320 modules/core/src/dxt.cpp t0 = src[0]; t1 = src[1]; src 1326 modules/core/src/dxt.cpp for( i = 0; i < len*2; i += 2, src += src_step ) src 1328 modules/core/src/dxt.cpp t0 = src[0]; t1 = src[1]; src 1330 modules/core/src/dxt.cpp t0 = src[2]; t1 = src[3]; src 1336 modules/core/src/dxt.cpp for( i = 0; i < len*4; i += 4, src += src_step ) src 1338 modules/core/src/dxt.cpp t0 = src[0]; t1 = src[1]; src 1340 modules/core/src/dxt.cpp t0 = src[2]; t1 = src[3]; src 1342 modules/core/src/dxt.cpp t0 = src[4]; t1 = src[5]; src 1344 modules/core/src/dxt.cpp t0 = src[6]; t1 = src[7]; src 1441 modules/core/src/dxt.cpp const void* src, void* dst, int n, int nf, int* factors, src 1445 modules/core/src/dxt.cpp static void DFT_32f( const Complexf* src, Complexf* dst, int n, src 1451 modules/core/src/dxt.cpp DFT(src, dst, n, nf, factors, itab, wave, tab_size, spec, buf, flags, scale); src 1454 modules/core/src/dxt.cpp static void DFT_64f( const Complexd* src, Complexd* dst, int n, src 1460 modules/core/src/dxt.cpp DFT(src, dst, n, nf, factors, itab, wave, tab_size, spec, buf, flags, scale); src 1464 modules/core/src/dxt.cpp static void RealDFT_32f( const float* src, float* dst, int n, int nf, int* factors, src 1468 modules/core/src/dxt.cpp RealDFT( src, dst, n, nf, factors, itab, wave, tab_size, spec, buf, flags, scale); src 1471 modules/core/src/dxt.cpp static void RealDFT_64f( const double* src, double* dst, int n, int nf, int* factors, src 1475 modules/core/src/dxt.cpp RealDFT( src, dst, n, nf, factors, itab, wave, tab_size, spec, buf, flags, scale); src 1478 modules/core/src/dxt.cpp static void CCSIDFT_32f( const float* src, float* dst, int n, int nf, int* factors, src 1482 modules/core/src/dxt.cpp CCSIDFT( src, dst, n, nf, factors, itab, wave, tab_size, spec, buf, flags, scale); src 1485 modules/core/src/dxt.cpp static void CCSIDFT_64f( const double* src, double* dst, int n, int nf, int* factors, src 1489 modules/core/src/dxt.cpp CCSIDFT( src, dst, n, nf, factors, itab, wave, tab_size, spec, buf, flags, scale); src 1512 modules/core/src/dxt.cpp ParallelLoopBody(), src(_src), dst(_dst), ippidft(_ippidft), norm_flag(_norm_flag), ok(_ok) src 1526 modules/core/src/dxt.cpp IppiSize srcRoiSize = {src.cols, 1}; src 1558 modules/core/src/dxt.cpp if(!ippidft(src.ptr<Ipp32fc>(i), (int)src.step,dst.ptr<Ipp32fc>(i), (int)dst.step, pDFTSpec, (Ipp8u*)pBuffer)) src 1571 modules/core/src/dxt.cpp const Mat& src; src 1586 modules/core/src/dxt.cpp ParallelLoopBody(), src(_src), dst(_dst), ippidft(_ippidft), norm_flag(_norm_flag), ok(_ok) src 1600 modules/core/src/dxt.cpp IppiSize srcRoiSize = {src.cols, 1}; src 1632 modules/core/src/dxt.cpp if(!ippidft(src.ptr<float>(i), (int)src.step,dst.ptr<float>(i), (int)dst.step, pDFTSpec, (Ipp8u*)pBuffer)) src 1645 modules/core/src/dxt.cpp const Mat& src; src 1655 modules/core/src/dxt.cpp bool Dft_C_IPPLoop(const Mat& src, Mat& dst, const Dft& ippidft, int norm_flag) src 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) ); src 1663 modules/core/src/dxt.cpp bool Dft_R_IPPLoop(const Mat& src, Mat& dst, const Dft& ippidft, int norm_flag) src 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) ); src 1674 modules/core/src/dxt.cpp bool operator()(const Ipp32fc* src, int srcStep, Ipp32fc* dst, int dstStep, const IppiDFTSpec_C_32fc* pDFTSpec, Ipp8u* pBuffer) const src 1676 modules/core/src/dxt.cpp return func ? func(src, srcStep, dst, dstStep, pDFTSpec, pBuffer) >= 0 : false; src 1686 modules/core/src/dxt.cpp bool operator()(const Ipp32f* src, int srcStep, Ipp32f* dst, int dstStep, const IppiDFTSpec_R_32f* pDFTSpec, Ipp8u* pBuffer) const src 1688 modules/core/src/dxt.cpp return func ? func(src, srcStep, dst, dstStep, pDFTSpec, pBuffer) >= 0 : false; src 1694 modules/core/src/dxt.cpp static bool ippi_DFT_C_32F(const Mat& src, Mat& dst, bool inv, int norm_flag) src 1703 modules/core/src/dxt.cpp IppiSize srcRoiSize = {src.cols, src.rows}; src 1731 modules/core/src/dxt.cpp status = ippiDFTFwd_CToC_32fc_C1R( src.ptr<Ipp32fc>(), (int)src.step, dst.ptr<Ipp32fc>(), (int)dst.step, pDFTSpec, pBuffer ); src 1733 modules/core/src/dxt.cpp status = ippiDFTInv_CToC_32fc_C1R( src.ptr<Ipp32fc>(), (int)src.step, dst.ptr<Ipp32fc>(), (int)dst.step, pDFTSpec, pBuffer ); src 1748 modules/core/src/dxt.cpp static bool ippi_DFT_R_32F(const Mat& src, Mat& dst, bool inv, int norm_flag) src 1757 modules/core/src/dxt.cpp IppiSize srcRoiSize = {src.cols, src.rows}; src 1785 modules/core/src/dxt.cpp status = ippiDFTFwd_RToPack_32f_C1R( src.ptr<float>(), (int)(src.step), dst.ptr<float>(), (int)dst.step, pDFTSpec, pBuffer ); src 1787 modules/core/src/dxt.cpp status = ippiDFTInv_PackToR_32f_C1R( src.ptr<float>(), (int)src.step, dst.ptr<float>(), (int)dst.step, pDFTSpec, pBuffer ); src 1874 modules/core/src/dxt.cpp UMat src = _src.getUMat(); src 1887 modules/core/src/dxt.cpp globalsize[0] = thread_count; globalsize[1] = src.rows; src 1902 modules/core/src/dxt.cpp options += src.channels() == 1 ? " -D REAL_INPUT" : " -D COMPLEX_INPUT"; src 1908 modules/core/src/dxt.cpp if ((is1d && src.channels() == 1) || (rows && (fftType == R2R))) src 1923 modules/core/src/dxt.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnly(dst), ocl::KernelArg::ReadOnlyNoSize(twiddles), thread_count, num_dfts); src 2089 modules/core/src/dxt.cpp UMat src = _src.getUMat(); src 2123 modules/core/src/dxt.cpp _dst.create(src.size(), CV_MAKETYPE(depth, 2)); src 2131 modules/core/src/dxt.cpp _dst.create(src.size(), CV_MAKETYPE(depth, 1)); src 2136 modules/core/src/dxt.cpp _dst.create(src.size(), CV_MAKETYPE(depth, 1)); src 2137 modules/core/src/dxt.cpp output.create(src.size(), CV_MAKETYPE(depth, 2)); src 2143 modules/core/src/dxt.cpp if (!ocl_dft_rows(src, output, nonzero_rows, flags, fftType)) src 2158 modules/core/src/dxt.cpp if (!ocl_dft_rows(src, output, nonzero_rows, flags, fftType)) src 2171 modules/core/src/dxt.cpp if (!ocl_dft_rows(src, output, nonzero_rows, flags, fftType)) src 2176 modules/core/src/dxt.cpp int nonzero_cols = src.cols/2 + 1; src 2177 modules/core/src/dxt.cpp if (!ocl_dft_cols(src, output, nonzero_cols, flags, fftType)) src 2396 modules/core/src/dxt.cpp UMat src = _src.getUMat(), dst = _dst.getUMat(); src 2397 modules/core/src/dxt.cpp bool inplace = src.u == dst.u; src 2400 modules/core/src/dxt.cpp getPlanHandle(ssize, (int)src.step, (int)dst.step, src 2408 modules/core/src/dxt.cpp cl_mem srcarg = (cl_mem)src.handle(ACCESS_READ); src 2493 modules/core/src/dxt.cpp Mat src0 = _src0.getMat(), src = src0; src 2496 modules/core/src/dxt.cpp int nf = 0, real_transform = src.channels() == 1 || (inv && (flags & DFT_REAL_OUTPUT)!=0); src 2497 modules/core/src/dxt.cpp int type = src.type(), depth = src.depth(); src 2498 modules/core/src/dxt.cpp int elem_size = (int)src.elemSize1(), complex_elem_size = elem_size*2; src 2508 modules/core/src/dxt.cpp if( !inv && src.channels() == 1 && (flags & DFT_COMPLEX_OUTPUT) ) src 2509 modules/core/src/dxt.cpp _dst.create( src.size(), CV_MAKETYPE(depth, 2) ); src 2510 modules/core/src/dxt.cpp else if( inv && src.channels() == 2 && (flags & DFT_REAL_OUTPUT) ) src 2511 modules/core/src/dxt.cpp _dst.create( src.size(), depth ); src 2513 modules/core/src/dxt.cpp _dst.create( src.size(), type ); src 2520 modules/core/src/dxt.cpp if ((src.depth() == CV_32F) && (src.total()>(int)(1<<6)) && nonzero_rows == 0) src 2524 modules/core/src/dxt.cpp if (src.channels() == 2 && !(inv && (flags & DFT_REAL_OUTPUT))) src 2526 modules/core/src/dxt.cpp if (ippi_DFT_C_32F(src, dst, inv, ipp_norm_flag)) src 2533 modules/core/src/dxt.cpp if (src.channels() == 1 && (inv || !(flags & DFT_COMPLEX_OUTPUT))) src 2535 modules/core/src/dxt.cpp if (ippi_DFT_R_32F(src, dst, inv, ipp_norm_flag)) src 2545 modules/core/src/dxt.cpp if (src.channels() == 2 && !(inv && (flags & DFT_REAL_OUTPUT))) src 2548 modules/core/src/dxt.cpp if (Dft_C_IPPLoop(src, dst, IPPDFT_C_Functor(ippiFunc),ipp_norm_flag)) src 2555 modules/core/src/dxt.cpp if (src.channels() == 1 && (inv || !(flags & DFT_COMPLEX_OUTPUT))) src 2558 modules/core/src/dxt.cpp if (Dft_R_IPPLoop(src, dst, IPPDFT_R_Functor(ippiFunc),ipp_norm_flag)) src 2573 modules/core/src/dxt.cpp if( src.cols == 1 && nonzero_rows > 0 ) src 2580 modules/core/src/dxt.cpp if( !(flags & DFT_ROWS) && src.rows > 1 && src 2581 modules/core/src/dxt.cpp ((src.cols == 1 && (!src.isContinuous() || !dst.isContinuous())) || src 2582 modules/core/src/dxt.cpp (src.cols > 1 && inv && real_transform)) ) src 2597 modules/core/src/dxt.cpp len = !inv ? src.cols : dst.cols; src 2598 modules/core/src/dxt.cpp count = src.rows; src 2601 modules/core/src/dxt.cpp len = !inv ? src.rows : dst.rows; src 2671 modules/core/src/dxt.cpp if( (stage == 0 && ((src.data == dst.data && !inplace_transform) || odd_real)) || src 2704 modules/core/src/dxt.cpp int _flags = (int)inv + (src.channels() != dst.channels() ? src 2730 modules/core/src/dxt.cpp const uchar* sptr = src.ptr(i); src 2754 modules/core/src/dxt.cpp src = dst; src 2760 modules/core/src/dxt.cpp const uchar* sptr0 = src.ptr(); src 2777 modules/core/src/dxt.cpp if( real_transform && inv && src.cols > 1 ) src 2791 modules/core/src/dxt.cpp CopyColumn( sptr0, src.step, buf0, complex_elem_size, len, elem_size ); src 2796 modules/core/src/dxt.cpp CopyColumn( sptr0 + (count-2)*elem_size, src.step, src 2800 modules/core/src/dxt.cpp else if( src.channels() == 1 ) src 2802 modules/core/src/dxt.cpp CopyColumn( sptr0, src.step, buf0, elem_size, len, elem_size ); src 2806 modules/core/src/dxt.cpp CopyColumn( sptr0 + (count-1)*elem_size, src.step, src 2814 modules/core/src/dxt.cpp CopyColumn( sptr0, src.step, buf0, complex_elem_size, len, complex_elem_size ); src 2817 modules/core/src/dxt.cpp CopyColumn( sptr0 + b*complex_elem_size, src.step, src 2874 modules/core/src/dxt.cpp CopyFrom2Columns( sptr0, src.step, buf0, buf1, len, complex_elem_size ); src 2879 modules/core/src/dxt.cpp CopyColumn( sptr0, src.step, buf0, complex_elem_size, len, complex_elem_size ); src 2898 modules/core/src/dxt.cpp src = dst; src 2904 modules/core/src/dxt.cpp void cv::idft( InputArray src, OutputArray dst, int flags, int nonzero_rows ) src 2906 modules/core/src/dxt.cpp dft( src, dst, flags | DFT_INVERSE, nonzero_rows ); src 3122 modules/core/src/dxt.cpp DCT( const T* src, int src_step, T* dft_src, T* dft_dst, T* dst, int dst_step, src 3129 modules/core/src/dxt.cpp src_step /= sizeof(src[0]); src 3135 modules/core/src/dxt.cpp dst[0] = src[0]; src 3139 modules/core/src/dxt.cpp for( j = 0; j < n2; j++, src += src_step*2 ) src 3141 modules/core/src/dxt.cpp dft_src[j] = src[0]; src 3142 modules/core/src/dxt.cpp dft_src[n-j-1] = src[src_step]; src 3147 modules/core/src/dxt.cpp src = dft_dst; src 3149 modules/core/src/dxt.cpp dst[0] = (T)(src[0]*dct_wave->re*sin_45); src 3154 modules/core/src/dxt.cpp T t0 = dct_wave->re*src[j*2-1] - dct_wave->im*src[j*2]; src 3155 modules/core/src/dxt.cpp T t1 = -dct_wave->im*src[j*2-1] - dct_wave->re*src[j*2]; src 3160 modules/core/src/dxt.cpp dst[0] = src[n-1]*dct_wave->re; src 3165 modules/core/src/dxt.cpp IDCT( const T* src, int src_step, T* dft_src, T* dft_dst, T* dst, int dst_step, src 3172 modules/core/src/dxt.cpp src_step /= sizeof(src[0]); src 3174 modules/core/src/dxt.cpp const T* src1 = src + (n-1)*src_step; src 3178 modules/core/src/dxt.cpp dst[0] = src[0]; src 3182 modules/core/src/dxt.cpp dft_src[0] = (T)(src[0]*2*dct_wave->re*sin_45); src 3183 modules/core/src/dxt.cpp src += src_step; src 3185 modules/core/src/dxt.cpp src += src_step, src1 -= src_step ) src 3187 modules/core/src/dxt.cpp T t0 = dct_wave->re*src[0] - dct_wave->im*src1[0]; src 3188 modules/core/src/dxt.cpp T t1 = -dct_wave->im*src[0] - dct_wave->re*src1[0]; src 3193 modules/core/src/dxt.cpp dft_src[n-1] = (T)(src[0]*2*dct_wave->re); src 3284 modules/core/src/dxt.cpp typedef void (*DCTFunc)(const void* src, int src_step, void* dft_src, src 3289 modules/core/src/dxt.cpp static void DCT_32f(const float* src, int src_step, float* dft_src, float* dft_dst, src 3293 modules/core/src/dxt.cpp DCT(src, src_step, dft_src, dft_dst, dst, dst_step, src 3297 modules/core/src/dxt.cpp static void IDCT_32f(const float* src, int src_step, float* dft_src, float* dft_dst, src 3301 modules/core/src/dxt.cpp IDCT(src, src_step, dft_src, dft_dst, dst, dst_step, src 3305 modules/core/src/dxt.cpp static void DCT_64f(const double* src, int src_step, double* dft_src, double* dft_dst, src 3309 modules/core/src/dxt.cpp DCT(src, src_step, dft_src, dft_dst, dst, dst_step, src 3313 modules/core/src/dxt.cpp static void IDCT_64f(const double* src, int src_step, double* dft_src, double* dft_dst, src 3317 modules/core/src/dxt.cpp IDCT(src, src_step, dft_src, dft_dst, dst, dst_step, src 3338 modules/core/src/dxt.cpp ParallelLoopBody(), src(&_src), dst(&_dst), ippidct(_ippidct), inv(_inv), ok(_ok) src 3350 modules/core/src/dxt.cpp IppiSize srcRoiSize = {src->cols, 1}; src 3364 modules/core/src/dxt.cpp if(!(*ippidct)(src->ptr<float>(i), (int)src->step,dst->ptr<float>(i), (int)dst->step, pDCTSpec, (Ipp8u*)pBuffer)) src 3377 modules/core/src/dxt.cpp const Mat* src; src 3385 modules/core/src/dxt.cpp bool DctIPPLoop(const Mat& src, Mat& dst, const Dct& ippidct, bool inv) src 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) ); src 3396 modules/core/src/dxt.cpp bool operator()(const Ipp32f* src, int srcStep, Ipp32f* dst, int dstStep, const void* pDCTSpec, Ipp8u* pBuffer) const src 3398 modules/core/src/dxt.cpp return func ? func(src, srcStep, dst, dstStep, pDCTSpec, pBuffer) >= 0 : false; src 3404 modules/core/src/dxt.cpp static bool ippi_DCT_32f(const Mat& src, Mat& dst, bool inv, bool row) src 3409 modules/core/src/dxt.cpp return(DctIPPLoop(src,dst,IPPDCTFunctor(ippFunc),inv)); src 3418 modules/core/src/dxt.cpp IppiSize srcRoiSize = {src.cols, src.rows}; src 3433 modules/core/src/dxt.cpp status = ippFunc(src.ptr<float>(), (int)src.step, dst.ptr<float>(), (int)dst.step, pDCTSpec, (Ipp8u*)pBuffer); src 3459 modules/core/src/dxt.cpp Mat src0 = _src0.getMat(), src = src0; src 3460 modules/core/src/dxt.cpp int type = src.type(), depth = src.depth(); src 3469 modules/core/src/dxt.cpp int elem_size = (int)src.elemSize(), complex_elem_size = elem_size*2; src 3475 modules/core/src/dxt.cpp _dst.create( src.rows, src.cols, type ); src 3482 modules/core/src/dxt.cpp if (src.type() == CV_32F) src 3484 modules/core/src/dxt.cpp if(ippi_DCT_32f(src,dst,inv, row)) src 3496 modules/core/src/dxt.cpp if( (flags & DCT_ROWS) || src.rows == 1 || src 3497 modules/core/src/dxt.cpp (src.cols == 1 && (src.isContinuous() && dst.isContinuous()))) src 3503 modules/core/src/dxt.cpp stage = src.cols == 1; src 3509 modules/core/src/dxt.cpp const uchar* sptr = src.ptr(); src 3515 modules/core/src/dxt.cpp len = src.cols; src 3516 modules/core/src/dxt.cpp count = src.rows; src 3519 modules/core/src/dxt.cpp len = src.rows; src 3522 modules/core/src/dxt.cpp sstep0 = src.step; src 3530 modules/core/src/dxt.cpp sstep1 = src.step; src 3594 modules/core/src/dxt.cpp src = dst; src 3599 modules/core/src/dxt.cpp void cv::idct( InputArray src, OutputArray dst, int flags ) src 3601 modules/core/src/dxt.cpp dct( src, dst, flags | DCT_INVERSE ); src 3811 modules/core/src/dxt.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst0 = cv::cvarrToMat(dstarr), dst = dst0; src 3816 modules/core/src/dxt.cpp CV_Assert( src.size == dst.size ); src 3818 modules/core/src/dxt.cpp if( src.type() != dst.type() ) src 3826 modules/core/src/dxt.cpp cv::dft( src, dst, _flags, nonzero_rows ); src 3849 modules/core/src/dxt.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 3850 modules/core/src/dxt.cpp CV_Assert( src.size == dst.size && src.type() == dst.type() ); src 3853 modules/core/src/dxt.cpp cv::dct( src, dst, _flags ); src 155 modules/core/src/kmeans.cpp const float* src = data + step*centers[k]; src 158 modules/core/src/kmeans.cpp dst[j] = src[j]; src 795 modules/core/src/lapack.cpp Mat src = _src.getMat(); src 796 modules/core/src/lapack.cpp int type = src.type(); src 801 modules/core/src/lapack.cpp int m = src.rows, n = src.cols; src 813 modules/core/src/lapack.cpp SVD::compute(src, w, u, vt); src 832 modules/core/src/lapack.cpp eigen(src, w, vt); src 849 modules/core/src/lapack.cpp const uchar* srcdata = src.ptr(); src 851 modules/core/src/lapack.cpp size_t srcstep = src.step; src 1026 modules/core/src/lapack.cpp src.copyTo(src1); src 1053 modules/core/src/lapack.cpp Mat src = _src.getMat(), _src2 = _src2arg.getMat(); src 1054 modules/core/src/lapack.cpp int type = src.type(); src 1061 modules/core/src/lapack.cpp is_normal || src.rows == src.cols ); src 1065 modules/core/src/lapack.cpp src.rows <= 3 && src.rows == src.cols && _src2.cols == 1 ) src 1067 modules/core/src/lapack.cpp _dst.create( src.cols, _src2.cols, src.type() ); src 1073 modules/core/src/lapack.cpp const uchar* srcdata = src.ptr(); src 1076 modules/core/src/lapack.cpp size_t srcstep = src.step; src 1080 modules/core/src/lapack.cpp if( src.rows == 2 ) src 1111 modules/core/src/lapack.cpp else if( src.rows == 3 ) src 1174 modules/core/src/lapack.cpp assert( src.rows == 1 ); src 1199 modules/core/src/lapack.cpp int m = src.rows, m_ = m, n = src.cols, nb = _src2.cols; src 1206 modules/core/src/lapack.cpp _dst.create( src.cols, src2.cols, src.type() ); src 1236 modules/core/src/lapack.cpp mulTransposed(src, a, true); src 1238 modules/core/src/lapack.cpp src.copyTo(a); src 1242 modules/core/src/lapack.cpp transpose(src, a); src 1255 modules/core/src/lapack.cpp gemm( src, src2, 1, Mat(), 0, dst, GEMM_1_T ); src 1260 modules/core/src/lapack.cpp gemm( src, src2, 1, Mat(), 0, tmp, GEMM_1_T ); src 1328 modules/core/src/lapack.cpp Mat src = _src.getMat(); src 1329 modules/core/src/lapack.cpp int type = src.type(); src 1330 modules/core/src/lapack.cpp int n = src.rows; src 1332 modules/core/src/lapack.cpp CV_Assert( src.rows == src.cols ); src 1342 modules/core/src/lapack.cpp size_t elemSize = src.elemSize(), astep = alignSize(n*elemSize, 16); src 1347 modules/core/src/lapack.cpp src.copyTo(a); src 1362 modules/core/src/lapack.cpp Mat src = _aarr.getMat(); src 1363 modules/core/src/lapack.cpp int m = src.rows, n = src.cols; src 1364 modules/core/src/lapack.cpp int type = src.type(); src 1385 modules/core/src/lapack.cpp size_t esz = src.elemSize(), astep = alignSize(m*esz, 16), vstep = alignSize(n*esz, 16); src 1399 modules/core/src/lapack.cpp transpose(src, temp_a); src 1401 modules/core/src/lapack.cpp src.copyTo(temp_a); src 1487 modules/core/src/lapack.cpp void cv::SVDecomp(InputArray src, OutputArray w, OutputArray u, OutputArray vt, int flags) src 1489 modules/core/src/lapack.cpp SVD::compute(src, w, u, vt, flags); src 1535 modules/core/src/lapack.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 1537 modules/core/src/lapack.cpp CV_Assert( src.type() == dst.type() && src.rows == dst.cols && src.cols == dst.rows ); src 1538 modules/core/src/lapack.cpp return cv::invert( src, dst, method == CV_CHOLESKY ? cv::DECOMP_CHOLESKY : src 1563 modules/core/src/lapack.cpp cv::Mat src = cv::cvarrToMat(srcarr), evals0 = cv::cvarrToMat(evalsarr), evals = evals0; src 1567 modules/core/src/lapack.cpp eigen(src, evals, evects); src 1576 modules/core/src/lapack.cpp eigen(src, evals); src 29 modules/core/src/lda.cpp inline std::vector<_Tp> remove_dups(const std::vector<_Tp>& src) { src 33 modules/core/src/lda.cpp for (constVecIterator it = src.begin(); it != src.end(); ++it) src 43 modules/core/src/lda.cpp Mat src = _src.getMat(); src 44 modules/core/src/lda.cpp if (src.rows != 1 && src.cols != 1) { src 50 modules/core/src/lda.cpp sortIdx(src.reshape(1,1),sorted_indices,flags); src 54 modules/core/src/lda.cpp static Mat asRowMatrix(InputArrayOfArrays src, int rtype, double alpha=1, double beta=0) { src 56 modules/core/src/lda.cpp if(src.kind() != _InputArray::STD_VECTOR_MAT && src.kind() != _InputArray::STD_VECTOR_VECTOR) { src 61 modules/core/src/lda.cpp size_t n = src.total(); src 66 modules/core/src/lda.cpp size_t d = src.getMat(0).total(); src 72 modules/core/src/lda.cpp if(src.getMat(i).total() != d) { src 73 modules/core/src/lda.cpp String error_message = format("Wrong number of elements in matrix #%d! Expected %d was %d.", i, (int)d, (int)src.getMat(i).total()); src 79 modules/core/src/lda.cpp if(src.getMat(i).isContinuous()) { src 80 modules/core/src/lda.cpp src.getMat(i).reshape(1, 1).convertTo(xi, rtype, alpha, beta); src 82 modules/core/src/lda.cpp src.getMat(i).clone().reshape(1, 1).convertTo(xi, rtype, alpha, beta); src 92 modules/core/src/lda.cpp Mat src = _src.getMat(); src 94 modules/core/src/lda.cpp _dst.create(src.rows, src.cols, src.type()); src 97 modules/core/src/lda.cpp Mat originalCol = src.col(indices[idx]); src 103 modules/core/src/lda.cpp static Mat sortMatrixColumnsByIndices(InputArray src, InputArray indices) { src 105 modules/core/src/lda.cpp sortMatrixColumnsByIndices(src, indices, dst); src 111 modules/core/src/lda.cpp isSymmetric_(InputArray src) { src 112 modules/core/src/lda.cpp Mat _src = src.getMat(); src 128 modules/core/src/lda.cpp isSymmetric_(InputArray src, double eps) { src 129 modules/core/src/lda.cpp Mat _src = src.getMat(); src 144 modules/core/src/lda.cpp static bool isSymmetric(InputArray src, double eps=1e-16) src 146 modules/core/src/lda.cpp Mat m = src.getMat(); src 175 modules/core/src/lda.cpp Mat src = _src.getMat(); src 177 modules/core/src/lda.cpp int n = src.rows; src 178 modules/core/src/lda.cpp int d = src.cols; src 181 modules/core/src/lda.cpp String error_message = format("Wrong shapes for given matrices. Was size(src) = (%d,%d), size(W) = (%d,%d).", src.rows, src.cols, W.rows, W.cols); src 192 modules/core/src/lda.cpp src.convertTo(X, W.type()); src 213 modules/core/src/lda.cpp Mat src = _src.getMat(); src 215 modules/core/src/lda.cpp int n = src.rows; src 216 modules/core/src/lda.cpp int d = src.cols; src 219 modules/core/src/lda.cpp String error_message = format("Wrong shapes for given matrices. Was size(src) = (%d,%d), size(W) = (%d,%d).", src.rows, src.cols, W.rows, W.cols); src 230 modules/core/src/lda.cpp src.convertTo(Y, W.type()); src 891 modules/core/src/lda.cpp EigenvalueDecomposition(InputArray src) { src 892 modules/core/src/lda.cpp compute(src); src 899 modules/core/src/lda.cpp void compute(InputArray src) src 901 modules/core/src/lda.cpp if(isSymmetric(src)) { src 903 modules/core/src/lda.cpp cv::eigen(src, _eigenvalues, _eigenvectors); src 909 modules/core/src/lda.cpp src.getMat().convertTo(tmp, CV_64FC1); src 942 modules/core/src/lda.cpp LDA::LDA(InputArrayOfArrays src, InputArray labels, int num_components) : _num_components(num_components) src 944 modules/core/src/lda.cpp this->compute(src, labels); //! compute eigenvectors and eigenvalues src 986 modules/core/src/lda.cpp Mat src = _src.getMat(); src 998 modules/core/src/lda.cpp src.convertTo(data, CV_64FC1); src 1110 modules/core/src/lda.cpp Mat LDA::project(InputArray src) { src 1111 modules/core/src/lda.cpp return subspaceProject(_eigenvectors, Mat(), _dataAsRow ? src : src.getMat().t()); src 1115 modules/core/src/lda.cpp Mat LDA::reconstruct(InputArray src) { src 1116 modules/core/src/lda.cpp return subspaceReconstruct(_eigenvectors, Mat(), _dataAsRow ? src : src.getMat().t()); src 51 modules/core/src/mathfuncs.cpp typedef void (*MathFunc)(const void* src, void* dst, int len); src 795 modules/core/src/mathfuncs.cpp Mat src = _src.getMat(); src 796 modules/core/src/mathfuncs.cpp _dst.create( src.dims, src.size, type ); src 799 modules/core/src/mathfuncs.cpp const Mat* arrays[] = {&src, &dst, 0}; src 862 modules/core/src/mathfuncs.cpp Mat src = _src.getMat(); src 863 modules/core/src/mathfuncs.cpp _dst.create( src.dims, src.size, type ); src 866 modules/core/src/mathfuncs.cpp const Mat* arrays[] = {&src, &dst, 0}; src 898 modules/core/src/mathfuncs.cpp int operator() ( const uchar * src, uchar * dst, int len, int power ) src 906 modules/core/src/mathfuncs.cpp v_uint16x8 v = v_load_expand(src + i); src 937 modules/core/src/mathfuncs.cpp int operator() ( const schar * src, schar * dst, int len, int power) src 945 modules/core/src/mathfuncs.cpp v_int16x8 v = v_load_expand(src + i); src 976 modules/core/src/mathfuncs.cpp int operator() ( const ushort * src, ushort * dst, int len, int power) src 984 modules/core/src/mathfuncs.cpp v_uint16x8 v = v_load(src + i); src 1015 modules/core/src/mathfuncs.cpp int operator() ( const short * src, short * dst, int len, int power) src 1023 modules/core/src/mathfuncs.cpp v_int16x8 v = v_load(src + i); src 1054 modules/core/src/mathfuncs.cpp int operator() ( const int * src, int * dst, int len, int power) src 1062 modules/core/src/mathfuncs.cpp v_int32x4 v_b1 = v_load(src + i), v_b2 = v_load(src + i + 4); src 1091 modules/core/src/mathfuncs.cpp int operator() ( const float * src, float * dst, int len, int power) src 1099 modules/core/src/mathfuncs.cpp v_float32x4 v_b1 = v_load(src + i), v_b2 = v_load(src + i + 4); src 1134 modules/core/src/mathfuncs.cpp int operator() ( const double * src, double * dst, int len, int power) src 1142 modules/core/src/mathfuncs.cpp v_float64x2 v_b1 = v_load(src + i), v_b2 = v_load(src + i + 2); src 1178 modules/core/src/mathfuncs.cpp iPow_i( const T* src, T* dst, int len, int power ) src 1189 modules/core/src/mathfuncs.cpp T val = src[i]; src 1196 modules/core/src/mathfuncs.cpp int i = vop(src, dst, len, power); src 1200 modules/core/src/mathfuncs.cpp WT a = 1, b = src[i]; src 1218 modules/core/src/mathfuncs.cpp iPow_f( const T* src, T* dst, int len, int power0 ) src 1221 modules/core/src/mathfuncs.cpp int i = vop(src, dst, len, power0); src 1226 modules/core/src/mathfuncs.cpp T a = 1, b = src[i]; src 1244 modules/core/src/mathfuncs.cpp static void iPow8u(const uchar* src, uchar* dst, int len, int power) src 1246 modules/core/src/mathfuncs.cpp iPow_i<uchar, unsigned>(src, dst, len, power); src 1249 modules/core/src/mathfuncs.cpp static void iPow8s(const schar* src, schar* dst, int len, int power) src 1251 modules/core/src/mathfuncs.cpp iPow_i<schar, int>(src, dst, len, power); src 1254 modules/core/src/mathfuncs.cpp static void iPow16u(const ushort* src, ushort* dst, int len, int power) src 1256 modules/core/src/mathfuncs.cpp iPow_i<ushort, unsigned>(src, dst, len, power); src 1259 modules/core/src/mathfuncs.cpp static void iPow16s(const short* src, short* dst, int len, int power) src 1261 modules/core/src/mathfuncs.cpp iPow_i<short, int>(src, dst, len, power); src 1264 modules/core/src/mathfuncs.cpp static void iPow32s(const int* src, int* dst, int len, int power) src 1266 modules/core/src/mathfuncs.cpp iPow_i<int, int>(src, dst, len, power); src 1269 modules/core/src/mathfuncs.cpp static void iPow32f(const float* src, float* dst, int len, int power) src 1271 modules/core/src/mathfuncs.cpp iPow_f<float>(src, dst, len, power); src 1274 modules/core/src/mathfuncs.cpp static void iPow64f(const double* src, double* dst, int len, int power) src 1276 modules/core/src/mathfuncs.cpp iPow_f<double>(src, dst, len, power); src 1280 modules/core/src/mathfuncs.cpp typedef void (*IPowFunc)( const uchar* src, uchar* dst, int len, int power ); src 1333 modules/core/src/mathfuncs.cpp UMat src = _src.getUMat(); src 1334 modules/core/src/mathfuncs.cpp _dst.create(src.size(), type); src 1337 modules/core/src/mathfuncs.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), src 1358 modules/core/src/mathfuncs.cpp static void InvSqrt_32f(const float* src, float* dst, int n) { hal::invSqrt(src, dst, n); } src 1359 modules/core/src/mathfuncs.cpp static void InvSqrt_64f(const double* src, double* dst, int n) { hal::invSqrt(src, dst, n); } src 1360 modules/core/src/mathfuncs.cpp static void Sqrt_32f(const float* src, float* dst, int n) { hal::sqrt(src, dst, n); } src 1361 modules/core/src/mathfuncs.cpp static void Sqrt_64f(const double* src, double* dst, int n) { hal::sqrt(src, dst, n); } src 1391 modules/core/src/mathfuncs.cpp Mat src = _src.getMat(); src 1392 modules/core/src/mathfuncs.cpp _dst.create( src.dims, src.size, type ); src 1395 modules/core/src/mathfuncs.cpp const Mat* arrays[] = {&src, &dst, 0}; src 1420 modules/core/src/mathfuncs.cpp size_t esz1 = src.elemSize1(); src 1431 modules/core/src/mathfuncs.cpp if( src.ptr() == dst.ptr() ) src 1569 modules/core/src/mathfuncs.cpp bool checkIntegerRange(cv::Mat src, Point& bad_pt, int minVal, int maxVal, double& bad_value) src 1582 modules/core/src/mathfuncs.cpp cv::Mat as_one_channel = src.reshape(1,0); src 1590 modules/core/src/mathfuncs.cpp bad_pt.x = i % src.channels(); src 1600 modules/core/src/mathfuncs.cpp typedef bool (*check_range_function)(cv::Mat src, Point& bad_pt, int minVal, int maxVal, double& bad_value); src 1613 modules/core/src/mathfuncs.cpp Mat src = _src.getMat(); src 1615 modules/core/src/mathfuncs.cpp if ( src.dims > 2 ) src 1617 modules/core/src/mathfuncs.cpp const Mat* arrays[] = {&src, 0}; src 1632 modules/core/src/mathfuncs.cpp int depth = src.depth(); src 1642 modules/core/src/mathfuncs.cpp (check_range_functions[depth])(src, badPt, minVali, maxVali, badValue); src 1647 modules/core/src/mathfuncs.cpp Size size = getContinuousSize( src, src.channels() ); src 1653 modules/core/src/mathfuncs.cpp const int* isrc = src.ptr<int>(); src 1654 modules/core/src/mathfuncs.cpp size_t step = src.step/sizeof(isrc[0]); src 1671 modules/core/src/mathfuncs.cpp badPt = Point((loc + i) % src.cols, (loc + i) / src.cols); src 1682 modules/core/src/mathfuncs.cpp const int64* isrc = src.ptr<int64>(); src 1683 modules/core/src/mathfuncs.cpp size_t step = src.step/sizeof(isrc[0]); src 1700 modules/core/src/mathfuncs.cpp badPt = Point((loc + i) % src.cols, (loc + i) / src.cols); src 1856 modules/core/src/mathfuncs.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 1857 modules/core/src/mathfuncs.cpp CV_Assert( src.type() == dst.type() && src.size == dst.size ); src 1858 modules/core/src/mathfuncs.cpp cv::exp( src, dst ); src 1863 modules/core/src/mathfuncs.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 1864 modules/core/src/mathfuncs.cpp CV_Assert( src.type() == dst.type() && src.size == dst.size ); src 1865 modules/core/src/mathfuncs.cpp cv::log( src, dst ); src 1870 modules/core/src/mathfuncs.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 1871 modules/core/src/mathfuncs.cpp CV_Assert( src.type() == dst.type() && src.size == dst.size ); src 1872 modules/core/src/mathfuncs.cpp cv::pow( src, power, dst ); src 56 modules/core/src/matmul.cpp GEMM_CopyBlock( const uchar* src, size_t src_step, src 63 modules/core/src/matmul.cpp for( ; size.height--; src += src_step, dst += dst_step ) src 69 modules/core/src/matmul.cpp int t0 = ((const int*)src)[j]; src 70 modules/core/src/matmul.cpp int t1 = ((const int*)src)[j+1]; src 73 modules/core/src/matmul.cpp t0 = ((const int*)src)[j+2]; src 74 modules/core/src/matmul.cpp t1 = ((const int*)src)[j+3]; src 80 modules/core/src/matmul.cpp ((int*)dst)[j] = ((const int*)src)[j]; src 86 modules/core/src/matmul.cpp GEMM_TransposeBlock( const uchar* src, size_t src_step, src 91 modules/core/src/matmul.cpp for( i = 0; i < size.width; i++, dst += dst_step, src += pix_size ) src 93 modules/core/src/matmul.cpp const uchar* _src = src; src 1472 modules/core/src/matmul.cpp transform_( const T* src, T* dst, const WT* m, int len, int scn, int dcn ) src 1480 modules/core/src/matmul.cpp WT v0 = src[x], v1 = src[x+1]; src 1490 modules/core/src/matmul.cpp WT v0 = src[x], v1 = src[x+1], v2 = src[x+2]; src 1499 modules/core/src/matmul.cpp for( x = 0; x < len; x++, src += 3 ) src 1500 modules/core/src/matmul.cpp dst[x] = saturate_cast<T>(m[0]*src[0] + m[1]*src[1] + m[2]*src[2] + m[3]); src 1506 modules/core/src/matmul.cpp WT v0 = src[x], v1 = src[x+1], v2 = src[x+2], v3 = src[x+3]; src 1517 modules/core/src/matmul.cpp for( x = 0; x < len; x++, src += scn, dst += dcn ) src 1525 modules/core/src/matmul.cpp s += _m[k]*src[k]; src 1556 modules/core/src/matmul.cpp transform_8u( const uchar* src, uchar* dst, const float* m, int len, int scn, int dcn ) src 1585 modules/core/src/matmul.cpp __m128i v0 = _mm_loadl_epi64((const __m128i*)(src + x)); src 1586 modules/core/src/matmul.cpp __m128i v1 = _mm_loadl_epi64((const __m128i*)(src + x + 8)); src 1587 modules/core/src/matmul.cpp __m128i v2 = _mm_loadl_epi64((const __m128i*)(src + x + 16)), v3; src 1663 modules/core/src/matmul.cpp int v0 = src[x], v1 = src[x+1], v2 = src[x+2]; src 1673 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); src 1677 modules/core/src/matmul.cpp transform_16u( const ushort* src, ushort* dst, const float* m, int len, int scn, int dcn ) src 1691 modules/core/src/matmul.cpp __m128i v0 = _mm_loadu_si128((const __m128i*)(src + x)), v1; src 1692 modules/core/src/matmul.cpp __m128i v2 = _mm_loadl_epi64((const __m128i*)(src + x + 8)), v3; src 1729 modules/core/src/matmul.cpp float v0 = src[x], v1 = src[x+1], v2 = src[x+2]; src 1739 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); src 1744 modules/core/src/matmul.cpp transform_32f( const float* src, float* dst, const float* m, int len, int scn, int dcn ) src 1757 modules/core/src/matmul.cpp __m128 x0 = _mm_loadu_ps(src + x); src 1768 modules/core/src/matmul.cpp float v0 = src[x], v1 = src[x+1], v2 = src[x+2]; src 1784 modules/core/src/matmul.cpp __m128 x0 = _mm_loadu_ps(src + x); src 1797 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); src 1802 modules/core/src/matmul.cpp transform_8s(const schar* src, schar* dst, const float* m, int len, int scn, int dcn) src 1804 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); src 1808 modules/core/src/matmul.cpp transform_16s(const short* src, short* dst, const float* m, int len, int scn, int dcn) src 1810 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); src 1814 modules/core/src/matmul.cpp transform_32s(const int* src, int* dst, const double* m, int len, int scn, int dcn) src 1816 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); src 1820 modules/core/src/matmul.cpp transform_64f(const double* src, double* dst, const double* m, int len, int scn, int dcn) src 1822 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); src 1826 modules/core/src/matmul.cpp diagtransform_( const T* src, T* dst, const WT* m, int len, int cn, int ) src 1834 modules/core/src/matmul.cpp T t0 = saturate_cast<T>(m[0]*src[x] + m[2]); src 1835 modules/core/src/matmul.cpp T t1 = saturate_cast<T>(m[4]*src[x+1] + m[5]); src 1843 modules/core/src/matmul.cpp T t0 = saturate_cast<T>(m[0]*src[x] + m[3]); src 1844 modules/core/src/matmul.cpp T t1 = saturate_cast<T>(m[5]*src[x+1] + m[7]); src 1845 modules/core/src/matmul.cpp T t2 = saturate_cast<T>(m[10]*src[x+2] + m[11]); src 1853 modules/core/src/matmul.cpp T t0 = saturate_cast<T>(m[0]*src[x] + m[4]); src 1854 modules/core/src/matmul.cpp T t1 = saturate_cast<T>(m[6]*src[x+1] + m[9]); src 1856 modules/core/src/matmul.cpp t0 = saturate_cast<T>(m[12]*src[x+2] + m[14]); src 1857 modules/core/src/matmul.cpp t1 = saturate_cast<T>(m[18]*src[x+3] + m[19]); src 1863 modules/core/src/matmul.cpp for( x = 0; x < len; x++, src += cn, dst += cn ) src 1867 modules/core/src/matmul.cpp dst[j] = saturate_cast<T>(src[j]*_m[j] + _m[cn]); src 1873 modules/core/src/matmul.cpp diagtransform_8u(const uchar* src, uchar* dst, const float* m, int len, int scn, int dcn) src 1875 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); src 1879 modules/core/src/matmul.cpp diagtransform_8s(const schar* src, schar* dst, const float* m, int len, int scn, int dcn) src 1881 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); src 1885 modules/core/src/matmul.cpp diagtransform_16u(const ushort* src, ushort* dst, const float* m, int len, int scn, int dcn) src 1887 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); src 1891 modules/core/src/matmul.cpp diagtransform_16s(const short* src, short* dst, const float* m, int len, int scn, int dcn) src 1893 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); src 1897 modules/core/src/matmul.cpp diagtransform_32s(const int* src, int* dst, const double* m, int len, int scn, int dcn) src 1899 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); src 1903 modules/core/src/matmul.cpp diagtransform_32f(const float* src, float* dst, const float* m, int len, int scn, int dcn) src 1905 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); src 1909 modules/core/src/matmul.cpp diagtransform_64f(const double* src, double* dst, const double* m, int len, int scn, int dcn) src 1911 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); src 1915 modules/core/src/matmul.cpp typedef void (*TransformFunc)( const uchar* src, uchar* dst, const uchar* m, int, int, int ); src 1945 modules/core/src/matmul.cpp Mat src = _src.getMat(), m = _mtx.getMat(); src 1946 modules/core/src/matmul.cpp int depth = src.depth(), scn = src.channels(), dcn = m.rows; src 1950 modules/core/src/matmul.cpp _dst.create( src.size(), CV_MAKETYPE(depth, dcn) ); src 1987 modules/core/src/matmul.cpp src.convertTo(dst, dst.type(), alpha, beta); src 2005 modules/core/src/matmul.cpp const Mat* arrays[] = {&src, &dst, 0}; src 2022 modules/core/src/matmul.cpp perspectiveTransform_( const T* src, T* dst, const double* m, int len, int scn, int dcn ) src 2031 modules/core/src/matmul.cpp T x = src[i], y = src[i + 1]; src 2048 modules/core/src/matmul.cpp T x = src[i], y = src[i + 1], z = src[i + 2]; src 2064 modules/core/src/matmul.cpp for( i = 0; i < len; i++, src += 3, dst += 2 ) src 2066 modules/core/src/matmul.cpp T x = src[0], y = src[1], z = src[2]; src 2081 modules/core/src/matmul.cpp for( i = 0; i < len; i++, src += scn, dst += dcn ) src 2087 modules/core/src/matmul.cpp w += _m[k]*src[k]; src 2095 modules/core/src/matmul.cpp s += _m[k]*src[k]; src 2108 modules/core/src/matmul.cpp perspectiveTransform_32f(const float* src, float* dst, const double* m, int len, int scn, int dcn) src 2110 modules/core/src/matmul.cpp perspectiveTransform_(src, dst, m, len, scn, dcn); src 2114 modules/core/src/matmul.cpp perspectiveTransform_64f(const double* src, double* dst, const double* m, int len, int scn, int dcn) src 2116 modules/core/src/matmul.cpp perspectiveTransform_(src, dst, m, len, scn, dcn); src 2123 modules/core/src/matmul.cpp Mat src = _src.getMat(), m = _mtx.getMat(); src 2124 modules/core/src/matmul.cpp int depth = src.depth(), scn = src.channels(), dcn = m.rows-1; src 2128 modules/core/src/matmul.cpp _dst.create( src.size(), CV_MAKETYPE(depth, dcn) ); src 2150 modules/core/src/matmul.cpp const Mat* arrays[] = {&src, &dst, 0}; src 2404 modules/core/src/matmul.cpp std::vector<cv::Mat> src; src 2405 modules/core/src/matmul.cpp _src.getMatVector(src); src 2407 modules/core/src/matmul.cpp CV_Assert( src.size() > 0 ); src 2409 modules/core/src/matmul.cpp Size size = src[0].size(); src 2410 modules/core/src/matmul.cpp int type = src[0].type(); src 2414 modules/core/src/matmul.cpp Mat _data(static_cast<int>(src.size()), size.area(), type); src 2417 modules/core/src/matmul.cpp for(std::vector<cv::Mat>::iterator each = src.begin(); each != src.end(); each++, i++ ) src 2585 modules/core/src/matmul.cpp const sT* src = srcmat.ptr<sT>(); src 2588 modules/core/src/matmul.cpp size_t srcstep = srcmat.step/sizeof(src[0]); src 2621 modules/core/src/matmul.cpp col_buf[k] = src[k*srcstep+i]; src 2626 modules/core/src/matmul.cpp const sT *tsrc = src + j; src 2646 modules/core/src/matmul.cpp const sT *tsrc = src + j; src 2659 modules/core/src/matmul.cpp col_buf[k] = src[k*srcstep+i] - delta[k*deltastep+i]; src 2662 modules/core/src/matmul.cpp col_buf[k] = src[k*srcstep+i] - delta_buf[k*deltastep]; src 2667 modules/core/src/matmul.cpp const sT *tsrc = src + j; src 2688 modules/core/src/matmul.cpp const sT *tsrc = src + j; src 2704 modules/core/src/matmul.cpp const sT* src = srcmat.ptr<sT>(); src 2707 modules/core/src/matmul.cpp size_t srcstep = srcmat.step/sizeof(src[0]); src 2719 modules/core/src/matmul.cpp const sT *tsrc1 = src + i*srcstep; src 2720 modules/core/src/matmul.cpp const sT *tsrc2 = src + j*srcstep; src 2738 modules/core/src/matmul.cpp const sT *tsrc1 = src + i*srcstep; src 2751 modules/core/src/matmul.cpp const sT *tsrc2 = src + j*srcstep; src 2772 modules/core/src/matmul.cpp typedef void (*MulTransposedFunc)(const Mat& src, Mat& dst, const Mat& delta, double scale); src 2779 modules/core/src/matmul.cpp Mat src = _src.getMat(), delta = _delta.getMat(); src 2781 modules/core/src/matmul.cpp int stype = src.type(); src 2783 modules/core/src/matmul.cpp CV_Assert( src.channels() == 1 ); src 2788 modules/core/src/matmul.cpp (delta.rows == src.rows || delta.rows == 1) && src 2789 modules/core/src/matmul.cpp (delta.cols == src.cols || delta.cols == 1)); src 2794 modules/core/src/matmul.cpp int dsize = ata ? src.cols : src.rows; src 2798 modules/core/src/matmul.cpp if( src.data == dst.data || (stype == dtype && src 2800 modules/core/src/matmul.cpp src.cols >= gemm_level && src.rows >= gemm_level))) src 2803 modules/core/src/matmul.cpp const Mat* tsrc = &src; src 2806 modules/core/src/matmul.cpp if( delta.size() == src.size() ) src 2807 modules/core/src/matmul.cpp subtract( src, delta, src2 ); src 2810 modules/core/src/matmul.cpp repeat(delta, src.rows/delta.rows, src.cols/delta.cols, src2); src 2811 modules/core/src/matmul.cpp subtract( src, src2, src2 ); src 2886 modules/core/src/matmul.cpp func( src, dst, delta, scale ); src 3292 modules/core/src/matmul.cpp cv::Mat m = cv::cvarrToMat(transmat), src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 3303 modules/core/src/matmul.cpp CV_Assert( dst.depth() == src.depth() && dst.channels() == m.rows ); src 3304 modules/core/src/matmul.cpp cv::transform( src, dst, m ); src 3311 modules/core/src/matmul.cpp cv::Mat m = cv::cvarrToMat(mat), src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 3313 modules/core/src/matmul.cpp CV_Assert( dst.type() == src.type() && dst.channels() == m.rows-1 ); src 3314 modules/core/src/matmul.cpp cv::perspectiveTransform( src, dst, m ); src 3371 modules/core/src/matmul.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst0 = cv::cvarrToMat(dstarr), dst = dst0, delta; src 3374 modules/core/src/matmul.cpp cv::mulTransposed( src, dst, order != 0, delta, scale, dst.type()); src 86 modules/core/src/matrix.cpp Mat src(dims, isz, CV_8U, srcptr, srcstep); src 89 modules/core/src/matrix.cpp const Mat* arrays[] = { &src, &dst }; src 117 modules/core/src/matrix.cpp Mat src(dims, isz, CV_8U, (void*)srcptr, srcstep); src 120 modules/core/src/matrix.cpp const Mat* arrays[] = { &src, &dst }; src 150 modules/core/src/matrix.cpp Mat src(dims, isz, CV_8U, srcptr, srcstep); src 153 modules/core/src/matrix.cpp const Mat* arrays[] = { &src, &dst }; src 2724 modules/core/src/matrix.cpp void cv::hconcat(const Mat* src, size_t nsrc, OutputArray _dst) src 2726 modules/core/src/matrix.cpp if( nsrc == 0 || !src ) src 2736 modules/core/src/matrix.cpp CV_Assert( src[i].dims <= 2 && src 2737 modules/core/src/matrix.cpp src[i].rows == src[0].rows && src 2738 modules/core/src/matrix.cpp src[i].type() == src[0].type()); src 2739 modules/core/src/matrix.cpp totalCols += src[i].cols; src 2741 modules/core/src/matrix.cpp _dst.create( src[0].rows, totalCols, src[0].type()); src 2745 modules/core/src/matrix.cpp Mat dpart = dst(Rect(cols, 0, src[i].cols, src[i].rows)); src 2746 modules/core/src/matrix.cpp src[i].copyTo(dpart); src 2747 modules/core/src/matrix.cpp cols += src[i].cols; src 2753 modules/core/src/matrix.cpp Mat src[] = {src1.getMat(), src2.getMat()}; src 2754 modules/core/src/matrix.cpp hconcat(src, 2, dst); src 2759 modules/core/src/matrix.cpp std::vector<Mat> src; src 2760 modules/core/src/matrix.cpp _src.getMatVector(src); src 2761 modules/core/src/matrix.cpp hconcat(!src.empty() ? &src[0] : 0, src.size(), dst); src 2764 modules/core/src/matrix.cpp void cv::vconcat(const Mat* src, size_t nsrc, OutputArray _dst) src 2766 modules/core/src/matrix.cpp if( nsrc == 0 || !src ) src 2776 modules/core/src/matrix.cpp CV_Assert(src[i].dims <= 2 && src 2777 modules/core/src/matrix.cpp src[i].cols == src[0].cols && src 2778 modules/core/src/matrix.cpp src[i].type() == src[0].type()); src 2779 modules/core/src/matrix.cpp totalRows += src[i].rows; src 2781 modules/core/src/matrix.cpp _dst.create( totalRows, src[0].cols, src[0].type()); src 2785 modules/core/src/matrix.cpp Mat dpart(dst, Rect(0, rows, src[i].cols, src[i].rows)); src 2786 modules/core/src/matrix.cpp src[i].copyTo(dpart); src 2787 modules/core/src/matrix.cpp rows += src[i].rows; src 2793 modules/core/src/matrix.cpp Mat src[] = {src1.getMat(), src2.getMat()}; src 2794 modules/core/src/matrix.cpp vconcat(src, 2, dst); src 2799 modules/core/src/matrix.cpp std::vector<Mat> src; src 2800 modules/core/src/matrix.cpp _src.getMatVector(src); src 2801 modules/core/src/matrix.cpp vconcat(!src.empty() ? &src[0] : 0, src.size(), dst); src 2927 modules/core/src/matrix.cpp transpose_( const uchar* src, size_t sstep, uchar* dst, size_t dstep, Size sz ) src 2941 modules/core/src/matrix.cpp const T* s0 = (const T*)(src + i*sizeof(T) + sstep*j); src 2942 modules/core/src/matrix.cpp const T* s1 = (const T*)(src + i*sizeof(T) + sstep*(j+1)); src 2943 modules/core/src/matrix.cpp const T* s2 = (const T*)(src + i*sizeof(T) + sstep*(j+2)); src 2944 modules/core/src/matrix.cpp const T* s3 = (const T*)(src + i*sizeof(T) + sstep*(j+3)); src 2954 modules/core/src/matrix.cpp const T* s0 = (const T*)(src + i*sizeof(T) + j*sstep); src 2966 modules/core/src/matrix.cpp const T* s0 = (const T*)(src + i*sizeof(T) + sstep*j); src 2967 modules/core/src/matrix.cpp const T* s1 = (const T*)(src + i*sizeof(T) + sstep*(j+1)); src 2968 modules/core/src/matrix.cpp const T* s2 = (const T*)(src + i*sizeof(T) + sstep*(j+2)); src 2969 modules/core/src/matrix.cpp const T* s3 = (const T*)(src + i*sizeof(T) + sstep*(j+3)); src 2976 modules/core/src/matrix.cpp const T* s0 = (const T*)(src + i*sizeof(T) + j*sstep); src 2995 modules/core/src/matrix.cpp typedef void (*TransposeFunc)( const uchar* src, size_t sstep, uchar* dst, size_t dstep, Size sz ); src 2999 modules/core/src/matrix.cpp static void transpose_##suffix( const uchar* src, size_t sstep, uchar* dst, size_t dstep, Size sz ) \ src 3000 modules/core/src/matrix.cpp { transpose_<type>(src, sstep, dst, dstep, sz); } \ src 3044 modules/core/src/matrix.cpp UMat src = _src.getUMat(); src 3045 modules/core/src/matrix.cpp _dst.create(src.cols, src.rows, type); src 3049 modules/core/src/matrix.cpp bool inplace = dst.u == src.u; src 3074 modules/core/src/matrix.cpp k.args(ocl::KernelArg::ReadOnly(src), src 3078 modules/core/src/matrix.cpp size_t globalsize[2] = { src.cols, inplace ? (src.rows + rowsPerWI - 1) / rowsPerWI : (divUp(src.rows, TILE_DIM) * BLOCK_ROWS) }; src 3101 modules/core/src/matrix.cpp Mat src = _src.getMat(); src 3102 modules/core/src/matrix.cpp if( src.empty() ) src 3108 modules/core/src/matrix.cpp _dst.create(src.cols, src.rows, src.type()); src 3112 modules/core/src/matrix.cpp if( src.rows != dst.cols || src.cols != dst.rows ) src 3114 modules/core/src/matrix.cpp CV_Assert( src.size() == dst.size() && (src.cols == 1 || src.rows == 1) ); src 3115 modules/core/src/matrix.cpp src.copyTo(dst); src 3127 modules/core/src/matrix.cpp if (dst.data == src.data && dst.cols == dst.rows) src 3168 modules/core/src/matrix.cpp IppiSize roiSize = { src.cols, src.rows }; src 3171 modules/core/src/matrix.cpp if (ippFunc(src.ptr(), (int)src.step, dst.ptr(), (int)dst.step, roiSize) >= 0) src 3190 modules/core/src/matrix.cpp if( dst.data == src.data ) src 3201 modules/core/src/matrix.cpp func( src.ptr(), src.step, dst.ptr(), dst.step, src.size() ); src 3276 modules/core/src/matrix.cpp const T* src = srcmat.ptr<T>(); src 3277 modules/core/src/matrix.cpp size_t srcstep = srcmat.step/sizeof(src[0]); src 3282 modules/core/src/matrix.cpp buf[i] = src[i]; src 3286 modules/core/src/matrix.cpp src += srcstep; src 3292 modules/core/src/matrix.cpp s0 = op(buf[i], (WT)src[i]); src 3293 modules/core/src/matrix.cpp s1 = op(buf[i+1], (WT)src[i+1]); src 3296 modules/core/src/matrix.cpp s0 = op(buf[i+2], (WT)src[i+2]); src 3297 modules/core/src/matrix.cpp s1 = op(buf[i+3], (WT)src[i+3]); src 3302 modules/core/src/matrix.cpp buf[i] = op(buf[i], (WT)src[i]); src 3321 modules/core/src/matrix.cpp const T* src = srcmat.ptr<T>(y); src 3325 modules/core/src/matrix.cpp dst[k] = src[k]; src 3330 modules/core/src/matrix.cpp WT a0 = src[k], a1 = src[k+cn]; src 3333 modules/core/src/matrix.cpp a0 = op(a0, (WT)src[i+k]); src 3334 modules/core/src/matrix.cpp a1 = op(a1, (WT)src[i+k+cn]); src 3335 modules/core/src/matrix.cpp a0 = op(a0, (WT)src[i+k+cn*2]); src 3336 modules/core/src/matrix.cpp a1 = op(a1, (WT)src[i+k+cn*3]); src 3341 modules/core/src/matrix.cpp a0 = op(a0, (WT)src[i+k]); src 3350 modules/core/src/matrix.cpp typedef void (*ReduceFunc)( const Mat& src, Mat& dst ); src 3574 modules/core/src/matrix.cpp UMat src = _src.getUMat(); src 3575 modules/core/src/matrix.cpp Size dsize(1, src.rows); src 3580 modules/core/src/matrix.cpp k.args(ocl::KernelArg::ReadOnly(src), src 3581 modules/core/src/matrix.cpp ocl::KernelArg::WriteOnlyNoSize(dst), 1.0f / src.cols); src 3583 modules/core/src/matrix.cpp k.args(ocl::KernelArg::ReadOnly(src), src 3587 modules/core/src/matrix.cpp size_t globalSize[2] = { buf_cols, src.rows }; src 3607 modules/core/src/matrix.cpp UMat src = _src.getUMat(); src 3608 modules/core/src/matrix.cpp Size dsize(dim == 0 ? src.cols : 1, dim == 0 ? 1 : src.rows); src 3612 modules/core/src/matrix.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnly(src), src 3616 modules/core/src/matrix.cpp k.args(srcarg, temparg, 1.0f / (dim == 0 ? src.rows : src.cols)); src 3646 modules/core/src/matrix.cpp Mat src = _src.getMat(); src 3647 modules/core/src/matrix.cpp _dst.create(dim == 0 ? 1 : src.rows, dim == 0 ? src.cols : 1, dtype); src 3770 modules/core/src/matrix.cpp func( src, temp ); src 3773 modules/core/src/matrix.cpp temp.convertTo(dst, dst.type(), 1./(dim == 0 ? src.rows : src.cols)); src 3820 modules/core/src/matrix.cpp template<typename T> static void sort_( const Mat& src, Mat& dst, int flags ) src 3826 modules/core/src/matrix.cpp bool inplace = src.data == dst.data; src 3830 modules/core/src/matrix.cpp n = src.rows, len = src.cols; src 3833 modules/core/src/matrix.cpp n = src.cols, len = src.rows; src 3839 modules/core/src/matrix.cpp int depth = src.depth(); src 3857 modules/core/src/matrix.cpp const T* sptr = src.ptr<T>(i); src 3865 modules/core/src/matrix.cpp ptr[j] = src.ptr<T>(j)[i]; src 3942 modules/core/src/matrix.cpp template<typename T> static void sortIdx_( const Mat& src, Mat& dst, int flags ) src 3952 modules/core/src/matrix.cpp CV_Assert( src.data != dst.data ); src 3955 modules/core/src/matrix.cpp n = src.rows, len = src.cols; src 3958 modules/core/src/matrix.cpp n = src.cols, len = src.rows; src 3966 modules/core/src/matrix.cpp int depth = src.depth(); src 3983 modules/core/src/matrix.cpp ptr = (T*)(src.data + src.step*i); src 3989 modules/core/src/matrix.cpp ptr[j] = src.ptr<T>(j)[i]; src 4035 modules/core/src/matrix.cpp typedef void (*SortFunc)(const Mat& src, Mat& dst, int flags); src 4046 modules/core/src/matrix.cpp Mat src = _src.getMat(); src 4047 modules/core/src/matrix.cpp SortFunc func = tab[src.depth()]; src 4048 modules/core/src/matrix.cpp CV_Assert( src.dims <= 2 && src.channels() == 1 && func != 0 ); src 4049 modules/core/src/matrix.cpp _dst.create( src.size(), src.type() ); src 4051 modules/core/src/matrix.cpp func( src, dst, flags ); src 4061 modules/core/src/matrix.cpp Mat src = _src.getMat(); src 4062 modules/core/src/matrix.cpp SortFunc func = tab[src.depth()]; src 4063 modules/core/src/matrix.cpp CV_Assert( src.dims <= 2 && src.channels() == 1 && func != 0 ); src 4066 modules/core/src/matrix.cpp if( dst.data == src.data ) src 4068 modules/core/src/matrix.cpp _dst.create( src.size(), CV_32S ); src 4070 modules/core/src/matrix.cpp func( src, dst, flags ); src 4089 modules/core/src/matrix.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 4091 modules/core/src/matrix.cpp CV_Assert( src.rows == dst.cols && src.cols == dst.rows && src.type() == dst.type() ); src 4092 modules/core/src/matrix.cpp transpose( src, dst ); src 4115 modules/core/src/matrix.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 4118 modules/core/src/matrix.cpp dim = src.rows > dst.rows ? 0 : src.cols > dst.cols ? 1 : dst.cols == 1; src 4123 modules/core/src/matrix.cpp if( (dim == 0 && (dst.cols != src.cols || dst.rows != 1)) || src 4124 modules/core/src/matrix.cpp (dim == 1 && (dst.rows != src.rows || dst.cols != 1)) ) src 4127 modules/core/src/matrix.cpp if( src.channels() != dst.channels() ) src 4130 modules/core/src/matrix.cpp cv::reduce(src, dst, dim, op, dst.type()); src 4200 modules/core/src/matrix.cpp cv::Mat src = cv::cvarrToMat(_src); src 4205 modules/core/src/matrix.cpp CV_Assert( src.size() == idx.size() && idx.type() == CV_32S && src.data != idx.data ); src 4206 modules/core/src/matrix.cpp cv::sortIdx( src, idx, flags ); src 4213 modules/core/src/matrix.cpp CV_Assert( src.size() == dst.size() && src.type() == dst.type() ); src 4214 modules/core/src/matrix.cpp cv::sort( src, dst, flags ); src 5215 modules/core/src/matrix.cpp double norm( const SparseMat& src, int normType ) src 5217 modules/core/src/matrix.cpp SparseMatConstIterator it = src.begin(); src 5219 modules/core/src/matrix.cpp size_t i, N = src.nzcount(); src 5221 modules/core/src/matrix.cpp int type = src.type(); src 5264 modules/core/src/matrix.cpp void minMaxLoc( const SparseMat& src, double* _minval, double* _maxval, int* _minidx, int* _maxidx ) src 5266 modules/core/src/matrix.cpp SparseMatConstIterator it = src.begin(); src 5267 modules/core/src/matrix.cpp size_t i, N = src.nzcount(), d = src.hdr ? src.hdr->dims : 0; src 5268 modules/core/src/matrix.cpp int type = src.type(); src 5327 modules/core/src/matrix.cpp void normalize( const SparseMat& src, SparseMat& dst, double a, int norm_type ) src 5332 modules/core/src/matrix.cpp scale = norm( src, norm_type ); src 5338 modules/core/src/matrix.cpp src.convertTo( dst, -1, scale ); src 2580 modules/core/src/ocl.cpp Program getProg(const ProgramSource& src, src 2584 modules/core/src/ocl.cpp HashKey k(src.hash(), crc64((const uchar*)prefix.c_str(), prefix.size())); src 2589 modules/core/src/ocl.cpp Program prog(src, buildflags, errmsg); src 3177 modules/core/src/ocl.cpp Kernel::Kernel(const char* kname, const ProgramSource& src, src 3181 modules/core/src/ocl.cpp create(kname, src, buildopts, errmsg); src 3224 modules/core/src/ocl.cpp bool Kernel::create(const char* kname, const ProgramSource& src, src 3234 modules/core/src/ocl.cpp const Program& prog = Context::getDefault().getProg(src, buildopts, *errmsg); src 3477 modules/core/src/ocl.cpp src = _src; src 3479 modules/core/src/ocl.cpp const String& srcstr = src.source(); src 3600 modules/core/src/ocl.cpp ProgramSource src; src 3608 modules/core/src/ocl.cpp Program::Program(const ProgramSource& src, src 3612 modules/core/src/ocl.cpp create(src, buildflags, errmsg); src 3639 modules/core/src/ocl.cpp bool Program::create(const ProgramSource& src, src 3644 modules/core/src/ocl.cpp p = new Impl(src, buildflags, errmsg); src 3656 modules/core/src/ocl.cpp return p ? p->src : dummy; src 3710 modules/core/src/ocl.cpp src = _src; src 3711 modules/core/src/ocl.cpp h = crc64((uchar*)src.c_str(), src.size()); src 3715 modules/core/src/ocl.cpp String src; src 3762 modules/core/src/ocl.cpp return p ? p->src : dummy; src 4821 modules/core/src/ocl.cpp Mat src(dims, isz, CV_8U, srcptr, srcstep); src 4824 modules/core/src/ocl.cpp const Mat* arrays[] = { &src, &dst }; src 4933 modules/core/src/ocl.cpp Mat src(dims, isz, CV_8U, (void*)srcptr, srcstep); src 4936 modules/core/src/ocl.cpp const Mat* arrays[] = { &src, &dst }; src 4984 modules/core/src/ocl.cpp void copy(UMatData* src, UMatData* dst, int dims, const size_t sz[], src 4988 modules/core/src/ocl.cpp if(!src || !dst) src 5000 modules/core/src/ocl.cpp UMatDataAutoLock src_autolock(src); src 5003 modules/core/src/ocl.cpp if( !src->handle || (src->data && src->hostCopyObsolete() < src->deviceCopyObsolete()) ) src 5005 modules/core/src/ocl.cpp upload(dst, src->data + srcrawofs, dims, sz, dstofs, dststep, srcstep); src 5010 modules/core/src/ocl.cpp download(src, dst->data + dstrawofs, dims, sz, srcofs, srcstep, dststep); src 5032 modules/core/src/ocl.cpp if ((src->allocatorFlags_ & svm::OPENCL_SVM_BUFFER_MASK) != 0 || src 5035 modules/core/src/ocl.cpp if ((src->allocatorFlags_ & svm::OPENCL_SVM_BUFFER_MASK) != 0 && src 5045 modules/core/src/ocl.cpp (uchar*)dst->handle + dstrawofs, (uchar*)src->handle + srcrawofs, (int)total); src 5047 modules/core/src/ocl.cpp (uchar*)dst->handle + dstrawofs, (uchar*)src->handle + srcrawofs, src 5056 modules/core/src/ocl.cpp uchar* srcptr = (uchar*)src->handle; src 5087 modules/core/src/ocl.cpp if ((src->allocatorFlags_ & svm::OPENCL_SVM_BUFFER_MASK) != 0) src 5089 modules/core/src/ocl.cpp map(src, ACCESS_READ); src 5090 modules/core/src/ocl.cpp upload(dst, src->data + srcrawofs, dims, sz, dstofs, dststep, srcstep); src 5091 modules/core/src/ocl.cpp unmap(src); src 5096 modules/core/src/ocl.cpp download(src, dst->data + dstrawofs, dims, sz, srcofs, srcstep, dststep); src 5106 modules/core/src/ocl.cpp CV_Assert( (retval = clEnqueueCopyBuffer(q, (cl_mem)src->handle, (cl_mem)dst->handle, src 5111 modules/core/src/ocl.cpp CV_Assert( (retval = clEnqueueCopyBufferRect(q, (cl_mem)src->handle, (cl_mem)dst->handle, src 5420 modules/core/src/ocl.cpp #define PROCESS_SRC(src) \ src 5423 modules/core/src/ocl.cpp if (!src.empty()) \ src 5425 modules/core/src/ocl.cpp CV_Assert(src.isMat() || src.isUMat()); \ src 5426 modules/core/src/ocl.cpp Size csize = src.size(); \ src 5427 modules/core/src/ocl.cpp int ctype = src.type(), ccn = CV_MAT_CN(ctype), cdepth = CV_MAT_DEPTH(ctype), \ src 5434 modules/core/src/ocl.cpp offsets.push_back(src.offset()); \ src 5435 modules/core/src/ocl.cpp steps.push_back(src.step()); \ src 5530 modules/core/src/ocl.cpp Impl(const UMat &src, bool norm, bool alias) src 5534 modules/core/src/ocl.cpp init(src, norm, alias); src 5585 modules/core/src/ocl.cpp void init(const UMat &src, bool norm, bool alias) src 5590 modules/core/src/ocl.cpp CV_Assert(!src.empty()); src 5593 modules/core/src/ocl.cpp int err, depth = src.depth(), cn = src.channels(); src 5600 modules/core/src/ocl.cpp if (alias && !src.handle(ACCESS_RW)) src 5611 modules/core/src/ocl.cpp CV_Assert(!alias || canCreateAlias(src)); src 5616 modules/core/src/ocl.cpp desc.image_width = src.cols; src 5617 modules/core/src/ocl.cpp desc.image_height = src.rows; src 5620 modules/core/src/ocl.cpp desc.image_row_pitch = alias ? src.step[0] : 0; src 5622 modules/core/src/ocl.cpp desc.buffer = alias ? (cl_mem)src.handle(ACCESS_RW) : 0; src 5632 modules/core/src/ocl.cpp handle = clCreateImage2D(context, CL_MEM_READ_WRITE, &format, src.cols, src.rows, 0, NULL, &err); src 5638 modules/core/src/ocl.cpp size_t region[] = { static_cast<size_t>(src.cols), static_cast<size_t>(src.rows), 1 }; src 5641 modules/core/src/ocl.cpp if (!alias && !src.isContinuous()) src 5643 modules/core/src/ocl.cpp devData = clCreateBuffer(context, CL_MEM_READ_ONLY, src.cols * src.rows * src.elemSize(), NULL, &err); src 5646 modules/core/src/ocl.cpp const size_t roi[3] = {static_cast<size_t>(src.cols) * src.elemSize(), static_cast<size_t>(src.rows), 1}; src 5647 modules/core/src/ocl.cpp CV_Assert(clEnqueueCopyBufferRect(queue, (cl_mem)src.handle(ACCESS_READ), devData, origin, origin, src 5648 modules/core/src/ocl.cpp roi, src.step, 0, src.cols * src.elemSize(), 0, 0, NULL, NULL) == CL_SUCCESS); src 5653 modules/core/src/ocl.cpp devData = (cl_mem)src.handle(ACCESS_READ); src 5660 modules/core/src/ocl.cpp if (!src.isContinuous()) src 5678 modules/core/src/ocl.cpp Image2D::Image2D(const UMat &src, bool norm, bool alias) src 5680 modules/core/src/ocl.cpp p = new Impl(src, norm, alias); src 145 modules/core/src/opengl.cpp void copyFrom(const void* src, size_t spitch, size_t width, size_t height, cudaStream_t stream = 0); src 222 modules/core/src/opengl.cpp void CudaResource::copyFrom(const void* src, size_t spitch, size_t width, size_t height, cudaStream_t stream) src 236 modules/core/src/opengl.cpp cudaSafeCall( cudaMemcpy2D(dst, width, src, spitch, width, height, cudaMemcpyDeviceToDevice) ); src 238 modules/core/src/opengl.cpp cudaSafeCall( cudaMemcpy2DAsync(dst, width, src, spitch, width, height, cudaMemcpyDeviceToDevice, stream) ); src 248 modules/core/src/opengl.cpp void* src; src 250 modules/core/src/opengl.cpp cudaSafeCall( cudaGraphicsResourceGetMappedPointer(&src, &size, resource_) ); src 255 modules/core/src/opengl.cpp cudaSafeCall( cudaMemcpy2D(dst, dpitch, src, width, width, height, cudaMemcpyDeviceToDevice) ); src 257 modules/core/src/opengl.cpp cudaSafeCall( cudaMemcpy2DAsync(dst, dpitch, src, width, width, height, cudaMemcpyDeviceToDevice, stream) ); src 316 modules/core/src/opengl.cpp void copyFrom(const void* src, size_t spitch, size_t width, size_t height, cudaStream_t stream = 0); src 430 modules/core/src/opengl.cpp void cv::ogl::Buffer::Impl::copyFrom(const void* src, size_t spitch, size_t width, size_t height, cudaStream_t stream) src 433 modules/core/src/opengl.cpp cudaResource_.copyFrom(src, spitch, width, height, stream); src 3189 modules/core/src/persistence.cpp cvStartReadRawData( const CvFileStorage* fs, const CvFileNode* src, CvSeqReader* reader ) src 3194 modules/core/src/persistence.cpp if( !src || !reader ) src 3197 modules/core/src/persistence.cpp node_type = CV_NODE_TYPE(src->tag); src 3201 modules/core/src/persistence.cpp reader->ptr = (schar*)src; src 3202 modules/core/src/persistence.cpp reader->block_max = reader->ptr + sizeof(*src)*2; src 3208 modules/core/src/persistence.cpp cvStartReadSeq( src->data.seq, reader, 0 ); src 3369 modules/core/src/persistence.cpp cvReadRawData( const CvFileStorage* fs, const CvFileNode* src, src 3374 modules/core/src/persistence.cpp if( !src || !data ) src 3377 modules/core/src/persistence.cpp cvStartReadRawData( fs, src, &reader ); src 3378 modules/core/src/persistence.cpp cvReadRawDataSlice( fs, &reader, CV_NODE_IS_SEQ(src->tag) ? src 3379 modules/core/src/persistence.cpp src->data.seq->total : 1, data, dt ); src 410 modules/core/src/rand.cpp randnScale_( const float* src, T* dst, int len, int cn, const PT* mean, const PT* stddev, bool stdmtx ) src 419 modules/core/src/rand.cpp dst[i] = saturate_cast<T>(src[i]*a + b); src 423 modules/core/src/rand.cpp for( i = 0; i < len; i++, src += cn, dst += cn ) src 425 modules/core/src/rand.cpp dst[k] = saturate_cast<T>(src[k]*stddev[k] + mean[k]); src 430 modules/core/src/rand.cpp for( i = 0; i < len; i++, src += cn, dst += cn ) src 436 modules/core/src/rand.cpp s += src[k]*stddev[j*cn + k]; src 443 modules/core/src/rand.cpp static void randnScale_8u( const float* src, uchar* dst, int len, int cn, src 445 modules/core/src/rand.cpp { randnScale_(src, dst, len, cn, mean, stddev, stdmtx); } src 447 modules/core/src/rand.cpp static void randnScale_8s( const float* src, schar* dst, int len, int cn, src 449 modules/core/src/rand.cpp { randnScale_(src, dst, len, cn, mean, stddev, stdmtx); } src 451 modules/core/src/rand.cpp static void randnScale_16u( const float* src, ushort* dst, int len, int cn, src 453 modules/core/src/rand.cpp { randnScale_(src, dst, len, cn, mean, stddev, stdmtx); } src 455 modules/core/src/rand.cpp static void randnScale_16s( const float* src, short* dst, int len, int cn, src 457 modules/core/src/rand.cpp { randnScale_(src, dst, len, cn, mean, stddev, stdmtx); } src 459 modules/core/src/rand.cpp static void randnScale_32s( const float* src, int* dst, int len, int cn, src 461 modules/core/src/rand.cpp { randnScale_(src, dst, len, cn, mean, stddev, stdmtx); } src 463 modules/core/src/rand.cpp static void randnScale_32f( const float* src, float* dst, int len, int cn, src 465 modules/core/src/rand.cpp { randnScale_(src, dst, len, cn, mean, stddev, stdmtx); } src 467 modules/core/src/rand.cpp static void randnScale_64f( const float* src, double* dst, int len, int cn, src 469 modules/core/src/rand.cpp { randnScale_(src, dst, len, cn, mean, stddev, stdmtx); } src 471 modules/core/src/rand.cpp typedef void (*RandnScaleFunc)(const float* src, uchar* dst, int len, int cn, src 342 modules/core/src/stat.cpp const T* src = src0; src 347 modules/core/src/stat.cpp src += i * cn; src 354 modules/core/src/stat.cpp for(; i <= len - 4; i += 4, src += cn*4 ) src 355 modules/core/src/stat.cpp s0 += src[0] + src[cn] + src[cn*2] + src[cn*3]; src 357 modules/core/src/stat.cpp for( ; i < len; i++, src += cn ) src 358 modules/core/src/stat.cpp s0 += src[0]; src 364 modules/core/src/stat.cpp for( ; i < len; i++, src += cn ) src 366 modules/core/src/stat.cpp s0 += src[0]; src 367 modules/core/src/stat.cpp s1 += src[1]; src 375 modules/core/src/stat.cpp for( ; i < len; i++, src += cn ) src 377 modules/core/src/stat.cpp s0 += src[0]; src 378 modules/core/src/stat.cpp s1 += src[1]; src 379 modules/core/src/stat.cpp s2 += src[2]; src 388 modules/core/src/stat.cpp src = src0 + i*cn + k; src 390 modules/core/src/stat.cpp for( ; i < len; i++, src += cn ) src 392 modules/core/src/stat.cpp s0 += src[0]; s1 += src[1]; src 393 modules/core/src/stat.cpp s2 += src[2]; s3 += src[3]; src 410 modules/core/src/stat.cpp s += src[i]; src 418 modules/core/src/stat.cpp for( i = 0; i < len; i++, src += 3 ) src 421 modules/core/src/stat.cpp s0 += src[0]; src 422 modules/core/src/stat.cpp s1 += src[1]; src 423 modules/core/src/stat.cpp s2 += src[2]; src 432 modules/core/src/stat.cpp for( i = 0; i < len; i++, src += cn ) src 440 modules/core/src/stat.cpp s0 = dst[k] + src[k]; src 441 modules/core/src/stat.cpp s1 = dst[k+1] + src[k+1]; src 443 modules/core/src/stat.cpp s0 = dst[k+2] + src[k+2]; src 444 modules/core/src/stat.cpp s1 = dst[k+3] + src[k+3]; src 449 modules/core/src/stat.cpp dst[k] += src[k]; src 457 modules/core/src/stat.cpp static int sum8u( const uchar* src, const uchar* mask, int* dst, int len, int cn ) src 458 modules/core/src/stat.cpp { return sum_(src, mask, dst, len, cn); } src 460 modules/core/src/stat.cpp static int sum8s( const schar* src, const uchar* mask, int* dst, int len, int cn ) src 461 modules/core/src/stat.cpp { return sum_(src, mask, dst, len, cn); } src 463 modules/core/src/stat.cpp static int sum16u( const ushort* src, const uchar* mask, int* dst, int len, int cn ) src 464 modules/core/src/stat.cpp { return sum_(src, mask, dst, len, cn); } src 466 modules/core/src/stat.cpp static int sum16s( const short* src, const uchar* mask, int* dst, int len, int cn ) src 467 modules/core/src/stat.cpp { return sum_(src, mask, dst, len, cn); } src 469 modules/core/src/stat.cpp static int sum32s( const int* src, const uchar* mask, double* dst, int len, int cn ) src 470 modules/core/src/stat.cpp { return sum_(src, mask, dst, len, cn); } src 472 modules/core/src/stat.cpp static int sum32f( const float* src, const uchar* mask, double* dst, int len, int cn ) src 473 modules/core/src/stat.cpp { return sum_(src, mask, dst, len, cn); } src 475 modules/core/src/stat.cpp static int sum64f( const double* src, const uchar* mask, double* dst, int len, int cn ) src 476 modules/core/src/stat.cpp { return sum_(src, mask, dst, len, cn); } src 495 modules/core/src/stat.cpp static int countNonZero_(const T* src, int len ) src 500 modules/core/src/stat.cpp nz += (src[i] != 0) + (src[i+1] != 0) + (src[i+2] != 0) + (src[i+3] != 0); src 503 modules/core/src/stat.cpp nz += src[i] != 0; src 507 modules/core/src/stat.cpp static int countNonZero8u( const uchar* src, int len ) src 518 modules/core/src/stat.cpp __m128i r0 = _mm_loadu_si128((const __m128i*)(src+i)); src 527 modules/core/src/stat.cpp const uchar * src0 = src; src 557 modules/core/src/stat.cpp nz += src[i] != 0; src 561 modules/core/src/stat.cpp static int countNonZero16u( const ushort* src, int len ) src 572 modules/core/src/stat.cpp __m128i r0 = _mm_loadu_si128((const __m128i*)(src + i)); src 577 modules/core/src/stat.cpp src += i; src 594 modules/core/src/stat.cpp v_pz = vaddq_u16(v_pz, vandq_u16(vceqq_u16(vld1q_u16(src + k), v_zero), v_1)); src 598 modules/core/src/stat.cpp src += blockSizej; src 609 modules/core/src/stat.cpp return nz + countNonZero_(src, len - i); src 612 modules/core/src/stat.cpp static int countNonZero32s( const int* src, int len ) src 623 modules/core/src/stat.cpp __m128i r0 = _mm_loadu_si128((const __m128i*)(src + i)); src 628 modules/core/src/stat.cpp src += i; src 646 modules/core/src/stat.cpp v_pz = vaddq_u16(v_pz, vandq_u16(vcombine_u16(vmovn_u32(vceqq_s32(vld1q_s32(src + k), v_zero)), src 647 modules/core/src/stat.cpp vmovn_u32(vceqq_s32(vld1q_s32(src + k + 4), v_zero))), v_1)); src 651 modules/core/src/stat.cpp src += blockSizej; src 662 modules/core/src/stat.cpp return nz + countNonZero_(src, len - i); src 665 modules/core/src/stat.cpp static int countNonZero32f( const float* src, int len ) src 677 modules/core/src/stat.cpp __m128 r0 = _mm_loadu_ps(src + i); src 682 modules/core/src/stat.cpp src += i; src 700 modules/core/src/stat.cpp v_pz = vaddq_u16(v_pz, vandq_u16(vcombine_u16(vmovn_u32(vceqq_f32(vld1q_f32(src + k), v_zero)), src 701 modules/core/src/stat.cpp vmovn_u32(vceqq_f32(vld1q_f32(src + k + 4), v_zero))), v_1)); src 705 modules/core/src/stat.cpp src += blockSizej; src 716 modules/core/src/stat.cpp return nz + countNonZero_(src, len - i); src 719 modules/core/src/stat.cpp static int countNonZero64f( const double* src, int len ) src 721 modules/core/src/stat.cpp return countNonZero_(src, len); src 873 modules/core/src/stat.cpp const T* src = src0; src 879 modules/core/src/stat.cpp src += i * cn; src 885 modules/core/src/stat.cpp for( ; i < len; i++, src += cn ) src 887 modules/core/src/stat.cpp T v = src[0]; src 897 modules/core/src/stat.cpp for( ; i < len; i++, src += cn ) src 899 modules/core/src/stat.cpp T v0 = src[0], v1 = src[1]; src 910 modules/core/src/stat.cpp for( ; i < len; i++, src += cn ) src 912 modules/core/src/stat.cpp T v0 = src[0], v1 = src[1], v2 = src[2]; src 923 modules/core/src/stat.cpp src = src0 + k; src 926 modules/core/src/stat.cpp for( ; i < len; i++, src += cn ) src 929 modules/core/src/stat.cpp v0 = src[0], v1 = src[1]; src 932 modules/core/src/stat.cpp v0 = src[2], v1 = src[3]; src 953 modules/core/src/stat.cpp T v = src[i]; src 964 modules/core/src/stat.cpp for( i = 0; i < len; i++, src += 3 ) src 967 modules/core/src/stat.cpp T v0 = src[0], v1 = src[1], v2 = src[2]; src 978 modules/core/src/stat.cpp for( i = 0; i < len; i++, src += cn ) src 983 modules/core/src/stat.cpp T v = src[k]; src 995 modules/core/src/stat.cpp static int sqsum8u( const uchar* src, const uchar* mask, int* sum, int* sqsum, int len, int cn ) src 996 modules/core/src/stat.cpp { return sumsqr_(src, mask, sum, sqsum, len, cn); } src 998 modules/core/src/stat.cpp static int sqsum8s( const schar* src, const uchar* mask, int* sum, int* sqsum, int len, int cn ) src 999 modules/core/src/stat.cpp { return sumsqr_(src, mask, sum, sqsum, len, cn); } src 1001 modules/core/src/stat.cpp static int sqsum16u( const ushort* src, const uchar* mask, int* sum, double* sqsum, int len, int cn ) src 1002 modules/core/src/stat.cpp { return sumsqr_(src, mask, sum, sqsum, len, cn); } src 1004 modules/core/src/stat.cpp static int sqsum16s( const short* src, const uchar* mask, int* sum, double* sqsum, int len, int cn ) src 1005 modules/core/src/stat.cpp { return sumsqr_(src, mask, sum, sqsum, len, cn); } src 1007 modules/core/src/stat.cpp static int sqsum32s( const int* src, const uchar* mask, double* sum, double* sqsum, int len, int cn ) src 1008 modules/core/src/stat.cpp { return sumsqr_(src, mask, sum, sqsum, len, cn); } src 1010 modules/core/src/stat.cpp static int sqsum32f( const float* src, const uchar* mask, double* sum, double* sqsum, int len, int cn ) src 1011 modules/core/src/stat.cpp { return sumsqr_(src, mask, sum, sqsum, len, cn); } src 1013 modules/core/src/stat.cpp static int sqsum64f( const double* src, const uchar* mask, double* sum, double* sqsum, int len, int cn ) src 1014 modules/core/src/stat.cpp { return sumsqr_(src, mask, sum, sqsum, len, cn); } src 1099 modules/core/src/stat.cpp UMat src = _src.getUMat(), src2 = _src2.getUMat(), src 1102 modules/core/src/stat.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), src 1110 modules/core/src/stat.cpp k.args(srcarg, src.cols, (int)src.total(), ngroups, dbarg, maskarg, src2arg); src 1112 modules/core/src/stat.cpp k.args(srcarg, src.cols, (int)src.total(), ngroups, dbarg, maskarg); src 1117 modules/core/src/stat.cpp k.args(srcarg, src.cols, (int)src.total(), ngroups, dbarg, src2arg); src 1119 modules/core/src/stat.cpp k.args(srcarg, src.cols, (int)src.total(), ngroups, dbarg); src 1152 modules/core/src/stat.cpp Mat src = _src.getMat(); src 1153 modules/core/src/stat.cpp int k, cn = src.channels(), depth = src.depth(); src 1158 modules/core/src/stat.cpp size_t total_size = src.total(); src 1159 modules/core/src/stat.cpp int rows = src.size[0], cols = rows ? (int)(total_size/rows) : 0; src 1160 modules/core/src/stat.cpp if( src.dims == 2 || (src.isContinuous() && cols > 0 && (size_t)rows*cols == total_size) ) src 1163 modules/core/src/stat.cpp int type = src.type(); src 1186 modules/core/src/stat.cpp IppStatus ret = ippFuncHint ? ippFuncHint(src.ptr(), (int)src.step[0], sz, res, ippAlgHintAccurate) : src 1187 modules/core/src/stat.cpp ippFuncNoHint(src.ptr(), (int)src.step[0], sz, res); src 1205 modules/core/src/stat.cpp const Mat* arrays[] = {&src, 0}; src 1225 modules/core/src/stat.cpp esz = src.elemSize(); src 1280 modules/core/src/stat.cpp UMat src = _src.getUMat(), db(1, dbsize, CV_32SC1); src 1281 modules/core/src/stat.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), src.cols, (int)src.total(), src 1306 modules/core/src/stat.cpp Mat src = _src.getMat(); src 1311 modules/core/src/stat.cpp if (src.dims <= 2 || src.isContinuous()) src 1313 modules/core/src/stat.cpp IppiSize roiSize = { src.cols, src.rows }; src 1314 modules/core/src/stat.cpp Ipp32s count = 0, srcstep = (Ipp32s)src.step; src 1317 modules/core/src/stat.cpp if (src.isContinuous()) src 1319 modules/core/src/stat.cpp roiSize.width = (Ipp32s)src.total(); src 1321 modules/core/src/stat.cpp srcstep = (Ipp32s)src.total() * CV_ELEM_SIZE(type); src 1326 modules/core/src/stat.cpp status = ippiCountInRange_8u_C1R((const Ipp8u *)src.data, srcstep, roiSize, &count, 0, 0); src 1328 modules/core/src/stat.cpp status = ippiCountInRange_32f_C1R((const Ipp32f *)src.data, srcstep, roiSize, &count, 0, 0); src 1333 modules/core/src/stat.cpp return (Ipp32s)src.total() - count; src 1340 modules/core/src/stat.cpp CountNonZeroFunc func = getCountNonZeroTab(src.depth()); src 1343 modules/core/src/stat.cpp const Mat* arrays[] = {&src, 0}; src 1356 modules/core/src/stat.cpp Mat src = _src.getMat(), mask = _mask.getMat(); src 1359 modules/core/src/stat.cpp int k, cn = src.channels(), depth = src.depth(); src 1364 modules/core/src/stat.cpp size_t total_size = src.total(); src 1365 modules/core/src/stat.cpp int rows = src.size[0], cols = rows ? (int)(total_size/rows) : 0; src 1366 modules/core/src/stat.cpp if( src.dims == 2 || (src.isContinuous() && mask.isContinuous() && cols > 0 && (size_t)rows*cols == total_size) ) src 1369 modules/core/src/stat.cpp int type = src.type(); src 1381 modules/core/src/stat.cpp if( ippFuncC1(src.ptr(), (int)src.step[0], mask.ptr(), (int)mask.step[0], sz, &res) >= 0 ) src 1397 modules/core/src/stat.cpp if( ippFuncC3(src.ptr(), (int)src.step[0], mask.ptr(), (int)mask.step[0], sz, 1, &res1) >= 0 && src 1398 modules/core/src/stat.cpp ippFuncC3(src.ptr(), (int)src.step[0], mask.ptr(), (int)mask.step[0], sz, 2, &res2) >= 0 && src 1399 modules/core/src/stat.cpp ippFuncC3(src.ptr(), (int)src.step[0], mask.ptr(), (int)mask.step[0], sz, 3, &res3) >= 0 ) src 1432 modules/core/src/stat.cpp IppStatus ret = ippFuncHint ? ippFuncHint(src.ptr(), (int)src.step[0], sz, res, ippAlgHintAccurate) : src 1433 modules/core/src/stat.cpp ippFuncNoHint(src.ptr(), (int)src.step[0], sz, res); src 1453 modules/core/src/stat.cpp const Mat* arrays[] = {&src, &mask, 0}; src 1473 modules/core/src/stat.cpp esz = src.elemSize(); src 1558 modules/core/src/stat.cpp UMat src = _src.getUMat(), db(1, dbsize, CV_8UC1), mask = _mask.getUMat(); src 1560 modules/core/src/stat.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), src 1565 modules/core/src/stat.cpp k.args(srcarg, src.cols, (int)src.total(), groups, dbarg, maskarg); src 1567 modules/core/src/stat.cpp k.args(srcarg, src.cols, (int)src.total(), groups, dbarg); src 1626 modules/core/src/stat.cpp Mat src = _src.getMat(), mask = _mask.getMat(); src 1629 modules/core/src/stat.cpp int k, cn = src.channels(), depth = src.depth(); src 1634 modules/core/src/stat.cpp size_t total_size = src.total(); src 1635 modules/core/src/stat.cpp int rows = src.size[0], cols = rows ? (int)(total_size/rows) : 0; src 1636 modules/core/src/stat.cpp if( src.dims == 2 || (src.isContinuous() && mask.isContinuous() && cols > 0 && (size_t)rows*cols == total_size) ) src 1666 modules/core/src/stat.cpp int type = src.type(); src 1677 modules/core/src/stat.cpp if( ippFuncC1(src.ptr(), (int)src.step[0], mask.ptr(), (int)mask.step[0], sz, pmean, pstddev) >= 0 ) src 1692 modules/core/src/stat.cpp if( ippFuncC3(src.ptr(), (int)src.step[0], mask.ptr(), (int)mask.step[0], sz, 1, &pmean[0], &pstddev[0]) >= 0 && src 1693 modules/core/src/stat.cpp ippFuncC3(src.ptr(), (int)src.step[0], mask.ptr(), (int)mask.step[0], sz, 2, &pmean[1], &pstddev[1]) >= 0 && src 1694 modules/core/src/stat.cpp ippFuncC3(src.ptr(), (int)src.step[0], mask.ptr(), (int)mask.step[0], sz, 3, &pmean[2], &pstddev[2]) >= 0 ) src 1714 modules/core/src/stat.cpp if( ippFuncC1(src.ptr(), (int)src.step[0], sz, pmean, pstddev) >= 0 ) src 1729 modules/core/src/stat.cpp if( ippFuncC3(src.ptr(), (int)src.step[0], sz, 1, &pmean[0], &pstddev[0]) >= 0 && src 1730 modules/core/src/stat.cpp ippFuncC3(src.ptr(), (int)src.step[0], sz, 2, &pmean[1], &pstddev[1]) >= 0 && src 1731 modules/core/src/stat.cpp ippFuncC3(src.ptr(), (int)src.step[0], sz, 3, &pmean[2], &pstddev[2]) >= 0 ) src 1748 modules/core/src/stat.cpp const Mat* arrays[] = {&src, &mask, 0}; src 1771 modules/core/src/stat.cpp esz = src.elemSize(); src 1841 modules/core/src/stat.cpp minMaxIdx_( const T* src, const uchar* mask, WT* _minVal, WT* _maxVal, src 1851 modules/core/src/stat.cpp T val = src[i]; src 1868 modules/core/src/stat.cpp T val = src[i]; src 1888 modules/core/src/stat.cpp static void minMaxIdx_8u(const uchar* src, const uchar* mask, int* minval, int* maxval, src 1890 modules/core/src/stat.cpp { minMaxIdx_(src, mask, minval, maxval, minidx, maxidx, len, startidx ); } src 1892 modules/core/src/stat.cpp static void minMaxIdx_8s(const schar* src, const uchar* mask, int* minval, int* maxval, src 1894 modules/core/src/stat.cpp { minMaxIdx_(src, mask, minval, maxval, minidx, maxidx, len, startidx ); } src 1896 modules/core/src/stat.cpp static void minMaxIdx_16u(const ushort* src, const uchar* mask, int* minval, int* maxval, src 1898 modules/core/src/stat.cpp { minMaxIdx_(src, mask, minval, maxval, minidx, maxidx, len, startidx ); } src 1900 modules/core/src/stat.cpp static void minMaxIdx_16s(const short* src, const uchar* mask, int* minval, int* maxval, src 1902 modules/core/src/stat.cpp { minMaxIdx_(src, mask, minval, maxval, minidx, maxidx, len, startidx ); } src 1904 modules/core/src/stat.cpp static void minMaxIdx_32s(const int* src, const uchar* mask, int* minval, int* maxval, src 1906 modules/core/src/stat.cpp { minMaxIdx_(src, mask, minval, maxval, minidx, maxidx, len, startidx ); } src 1908 modules/core/src/stat.cpp static void minMaxIdx_32f(const float* src, const uchar* mask, float* minval, float* maxval, src 1910 modules/core/src/stat.cpp { minMaxIdx_(src, mask, minval, maxval, minidx, maxidx, len, startidx ); } src 1912 modules/core/src/stat.cpp static void minMaxIdx_64f(const double* src, const uchar* mask, double* minval, double* maxval, src 1914 modules/core/src/stat.cpp { minMaxIdx_(src, mask, minval, maxval, minidx, maxidx, len, startidx ); } src 2128 modules/core/src/stat.cpp UMat src = _src.getUMat(), src2 = _src2.getUMat(), db(1, dbsize, CV_8UC1), mask = _mask.getUMat(); src 2132 modules/core/src/stat.cpp src = src.reshape(1); src 2139 modules/core/src/stat.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), src.cols, (int)src.total(), src 2142 modules/core/src/stat.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), src.cols, (int)src.total(), src 2149 modules/core/src/stat.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), src.cols, (int)src.total(), src 2152 modules/core/src/stat.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), src.cols, (int)src.total(), src 2177 modules/core/src/stat.cpp groupnum, src.cols, maxVal2); src 2197 modules/core/src/stat.cpp Mat src = _src.getMat(), mask = _mask.getMat(); src 2202 modules/core/src/stat.cpp size_t total_size = src.total(); src 2203 modules/core/src/stat.cpp int rows = src.size[0], cols = rows ? (int)(total_size/rows) : 0; src 2204 modules/core/src/stat.cpp if( src.dims == 2 || (src.isContinuous() && mask.isContinuous() && cols > 0 && (size_t)rows*cols == total_size) ) src 2225 modules/core/src/stat.cpp if( ippFuncC1(src.ptr(), (int)src.step[0], mask.ptr(), (int)mask.step[0], sz, &min, &max, &minp, &maxp) >= 0 ) src 2236 modules/core/src/stat.cpp ofs2idx(src, minidx, minIdx); src 2241 modules/core/src/stat.cpp ofs2idx(src, maxidx, maxIdx); src 2268 modules/core/src/stat.cpp if( ippFuncC1(src.ptr(), (int)src.step[0], sz, &min, &max, &minp, &maxp) >= 0 ) src 2277 modules/core/src/stat.cpp ofs2idx(src, minidx, minIdx); src 2282 modules/core/src/stat.cpp ofs2idx(src, maxidx, maxIdx); src 2297 modules/core/src/stat.cpp const Mat* arrays[] = {&src, &mask, 0}; src 2330 modules/core/src/stat.cpp ofs2idx(src, minidx, minIdx); src 2332 modules/core/src/stat.cpp ofs2idx(src, maxidx, maxIdx); src 2355 modules/core/src/stat.cpp normInf_(const T* src, const uchar* mask, ST* _result, int len, int cn) src 2360 modules/core/src/stat.cpp result = std::max(result, normInf<T, ST>(src, len*cn)); src 2364 modules/core/src/stat.cpp for( int i = 0; i < len; i++, src += cn ) src 2368 modules/core/src/stat.cpp result = std::max(result, ST(cv_abs(src[k]))); src 2376 modules/core/src/stat.cpp normL1_(const T* src, const uchar* mask, ST* _result, int len, int cn) src 2381 modules/core/src/stat.cpp result += normL1<T, ST>(src, len*cn); src 2385 modules/core/src/stat.cpp for( int i = 0; i < len; i++, src += cn ) src 2389 modules/core/src/stat.cpp result += cv_abs(src[k]); src 2397 modules/core/src/stat.cpp normL2_(const T* src, const uchar* mask, ST* _result, int len, int cn) src 2402 modules/core/src/stat.cpp result += normL2Sqr<T, ST>(src, len*cn); src 2406 modules/core/src/stat.cpp for( int i = 0; i < len; i++, src += cn ) src 2411 modules/core/src/stat.cpp T v = src[k]; src 2492 modules/core/src/stat.cpp static int norm##L##_##suffix(const type* src, const uchar* mask, ntype* r, int len, int cn) \ src 2493 modules/core/src/stat.cpp { return norm##L##_(src, mask, r, len, cn); } \ src 2582 modules/core/src/stat.cpp UMat src = _src.getUMat(); src 2595 modules/core/src/stat.cpp if ( !ocl_sum(haveMask ? src : src.reshape(1), sc, normType == NORM_L2 || normType == NORM_L2SQR ? src 2630 modules/core/src/stat.cpp Mat src = _src.getMat(), mask = _mask.getMat(); src 2631 modules/core/src/stat.cpp int depth = src.depth(), cn = src.channels(); src 2636 modules/core/src/stat.cpp size_t total_size = src.total(); src 2637 modules/core/src/stat.cpp int rows = src.size[0], cols = rows ? (int)(total_size/rows) : 0; src 2639 modules/core/src/stat.cpp if( (src.dims == 2 || (src.isContinuous() && mask.isContinuous())) src 2645 modules/core/src/stat.cpp int type = src.type(); src 2671 modules/core/src/stat.cpp if( ippFuncC1(src.ptr(), (int)src.step[0], mask.ptr(), (int)mask.step[0], sz, &norm) >= 0 ) src 2776 modules/core/src/stat.cpp IppStatus ret = ippFuncHint ? ippFuncHint(src.ptr(), (int)src.step[0], sz, norm_array, ippAlgHintAccurate) : src 2777 modules/core/src/stat.cpp ippFuncNoHint(src.ptr(), (int)src.step[0], sz, norm_array); src 2799 modules/core/src/stat.cpp if( src.isContinuous() && mask.empty() ) src 2801 modules/core/src/stat.cpp size_t len = src.total()*cn; src 2806 modules/core/src/stat.cpp const float* data = src.ptr<float>(); src 2835 modules/core/src/stat.cpp const uchar* data = src.ptr<uchar>(); src 2857 modules/core/src/stat.cpp bitwise_and(src, mask, temp); src 2862 modules/core/src/stat.cpp const Mat* arrays[] = {&src, 0}; src 2879 modules/core/src/stat.cpp const Mat* arrays[] = {&src, &mask, 0}; src 2902 modules/core/src/stat.cpp esz = src.elemSize(); src 3761 modules/core/src/stat.cpp Mat src = _src.getMat(); src 3762 modules/core/src/stat.cpp CV_Assert( src.type() == CV_8UC1 ); src 3763 modules/core/src/stat.cpp int n = countNonZero(src); src 3776 modules/core/src/stat.cpp for( int i = 0; i < src.rows; i++ ) src 3778 modules/core/src/stat.cpp const uchar* bin_ptr = src.ptr(i); src 3779 modules/core/src/stat.cpp for( int j = 0; j < src.cols; j++ ) src 706 modules/core/src/umatrix.cpp Mat src = getMat(ACCESS_READ); src 707 modules/core/src/umatrix.cpp src.copyTo(_dst, _mask); src 743 modules/core/src/umatrix.cpp UMat src = *this; src 748 modules/core/src/umatrix.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), src 60 modules/core/test/ocl/test_arithm.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 81 modules/core/test/ocl/test_arithm.cpp randomSubMat(src, src_roi, roiSize, srcBorder, src_type, 0, 256); src 90 modules/core/test/ocl/test_arithm.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 1567 modules/core/test/ocl/test_arithm.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 1584 modules/core/test/ocl/test_arithm.cpp randomSubMat(src, src_roi, roiSize, srcBorder, stype, -11, 11); // FIXIT: Test with minV, maxV src 1592 modules/core/test/ocl/test_arithm.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 1642 modules/core/test/ocl/test_arithm.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 1656 modules/core/test/ocl/test_arithm.cpp randomSubMat(src, src_roi, roiSize, srcBorder, type, -40, 40); src 1669 modules/core/test/ocl/test_arithm.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 1674 modules/core/test/ocl/test_arithm.cpp OCL_EXPECT_MATS_NEAR(src, 0); src 1717 modules/core/test/ocl/test_arithm.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 1737 modules/core/test/ocl/test_arithm.cpp randomSubMat(src, src_roi, roiSize, srcBorder, stype, -40, 40); src 1743 modules/core/test/ocl/test_arithm.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 153 modules/core/test/ocl/test_channels.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 175 modules/core/test/ocl/test_channels.cpp randomSubMat(src, src_roi, roiSize, srcBorder, CV_MAKE_TYPE(depth, cn), 5, 16); src 191 modules/core/test/ocl/test_channels.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 374 modules/core/test/ocl/test_channels.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 390 modules/core/test/ocl/test_channels.cpp randomSubMat(src, src_roi, roiSize, srcBorder, depth, 2, 11); src 395 modules/core/test/ocl/test_channels.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 420 modules/core/test/ocl/test_channels.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 436 modules/core/test/ocl/test_channels.cpp randomSubMat(src, src_roi, roiSize, srcBorder, CV_MAKE_TYPE(depth, cn), 2, 11); src 441 modules/core/test/ocl/test_channels.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 72 modules/core/test/ocl/test_dft.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 102 modules/core/test/ocl/test_dft.cpp src = randomMat(dft_size, CV_MAKE_TYPE(depth, cn), 0.0, 100.0); src 103 modules/core/test/ocl/test_dft.cpp usrc = src.getUMat(ACCESS_READ); src 111 modules/core/test/ocl/test_dft.cpp int nonzero_rows = hint ? src.rows - randomInt(1, src.rows-1) : 0; src 112 modules/core/test/ocl/test_dft.cpp OCL_OFF(cv::dft(src, dst, dft_flags, nonzero_rows)); src 123 modules/core/test/ocl/test_dft.cpp double eps = src.size().area() * 1e-4; src 62 modules/core/test/ocl/test_matrix_operation.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 78 modules/core/test/ocl/test_matrix_operation.cpp randomSubMat(src, src_roi, roiSize, srcBorder, CV_MAKE_TYPE(src_depth, cn), -MAX_VALUE, MAX_VALUE); src 83 modules/core/test/ocl/test_matrix_operation.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 112 modules/core/test/ocl/test_matrix_operation.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 130 modules/core/test/ocl/test_matrix_operation.cpp randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); src 145 modules/core/test/ocl/test_matrix_operation.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 101 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat& mask) src 106 modules/core/test/test_arithm.cpp cvtest::add(src[0], alpha, src.size() > 1 ? src[1] : Mat(), beta, gamma, temp, src[0].type()); src 110 modules/core/test/test_arithm.cpp cvtest::add(src[0], alpha, src.size() > 1 ? src[1] : Mat(), beta, gamma, dst, src[0].type()); src 118 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat& mask) src 121 modules/core/test/test_arithm.cpp add(src[0], src[1], dst); src 123 modules/core/test/test_arithm.cpp add(src[0], src[1], dst, mask); src 131 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat& mask) src 134 modules/core/test/test_arithm.cpp subtract(src[0], src[1], dst); src 136 modules/core/test/test_arithm.cpp subtract(src[0], src[1], dst, mask); src 144 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat& mask) src 147 modules/core/test/test_arithm.cpp add(src[0], gamma, dst); src 149 modules/core/test/test_arithm.cpp add(src[0], gamma, dst, mask); src 157 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat& mask) src 160 modules/core/test/test_arithm.cpp subtract(gamma, src[0], dst); src 162 modules/core/test/test_arithm.cpp subtract(gamma, src[0], dst, mask); src 170 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 172 modules/core/test/test_arithm.cpp scaleAdd(src[0], alpha, src[1], dst); src 184 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 186 modules/core/test/test_arithm.cpp addWeighted(src[0], alpha, src[1], beta, gamma[0], dst); src 204 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 206 modules/core/test/test_arithm.cpp cv::multiply(src[0], src[1], dst, alpha); src 208 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 210 modules/core/test/test_arithm.cpp cvtest::multiply(src[0], src[1], dst, alpha); src 221 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 223 modules/core/test/test_arithm.cpp cv::divide(src[0], src[1], dst, alpha); src 225 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 227 modules/core/test/test_arithm.cpp cvtest::divide(src[0], src[1], dst, alpha); src 238 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 240 modules/core/test/test_arithm.cpp cv::divide(alpha, src[0], dst); src 242 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 244 modules/core/test/test_arithm.cpp cvtest::divide(Mat(), src[0], dst, alpha); src 255 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 257 modules/core/test/test_arithm.cpp absdiff(src[0], src[1], dst); src 259 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 261 modules/core/test/test_arithm.cpp cvtest::add(src[0], 1, src[1], -1, Scalar::all(0), dst, src[0].type(), true); src 268 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 270 modules/core/test/test_arithm.cpp absdiff(src[0], gamma, dst); src 272 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 274 modules/core/test/test_arithm.cpp cvtest::add(src[0], 1, Mat(), 0, -gamma, dst, src[0].type(), true); src 281 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat& mask) src 284 modules/core/test/test_arithm.cpp bitwise_and(src[0], src[1], dst, mask); src 286 modules/core/test/test_arithm.cpp bitwise_or(src[0], src[1], dst, mask); src 288 modules/core/test/test_arithm.cpp bitwise_xor(src[0], src[1], dst, mask); src 290 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat& mask) src 295 modules/core/test/test_arithm.cpp cvtest::logicOp(src[0], src[1], temp, opcode); src 299 modules/core/test/test_arithm.cpp cvtest::logicOp(src[0], src[1], dst, opcode); src 312 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat& mask) src 315 modules/core/test/test_arithm.cpp bitwise_and(src[0], gamma, dst, mask); src 317 modules/core/test/test_arithm.cpp bitwise_or(src[0], gamma, dst, mask); src 319 modules/core/test/test_arithm.cpp bitwise_xor(src[0], gamma, dst, mask); src 321 modules/core/test/test_arithm.cpp bitwise_not(src[0], dst); src 323 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat& mask) src 328 modules/core/test/test_arithm.cpp cvtest::logicOp(src[0], gamma, temp, opcode); src 332 modules/core/test/test_arithm.cpp cvtest::logicOp(src[0], gamma, dst, opcode); src 344 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 346 modules/core/test/test_arithm.cpp cv::min(src[0], src[1], dst); src 348 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 350 modules/core/test/test_arithm.cpp cvtest::min(src[0], src[1], dst); src 361 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 363 modules/core/test/test_arithm.cpp cv::max(src[0], src[1], dst); src 365 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 367 modules/core/test/test_arithm.cpp cvtest::max(src[0], src[1], dst); src 378 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 380 modules/core/test/test_arithm.cpp cv::min(src[0], gamma[0], dst); src 382 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 384 modules/core/test/test_arithm.cpp cvtest::min(src[0], gamma[0], dst); src 395 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 397 modules/core/test/test_arithm.cpp cv::max(src[0], gamma[0], dst); src 399 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 401 modules/core/test/test_arithm.cpp cvtest::max(src[0], gamma[0], dst); src 417 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 419 modules/core/test/test_arithm.cpp cv::compare(src[0], src[1], dst, cmpop); src 421 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 423 modules/core/test/test_arithm.cpp cvtest::compare(src[0], src[1], dst, cmpop); src 447 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 449 modules/core/test/test_arithm.cpp cv::compare(src[0], gamma[0], dst, cmpop); src 451 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 453 modules/core/test/test_arithm.cpp cvtest::compare(src[0], gamma[0], dst, cmpop); src 470 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat& mask) src 472 modules/core/test/test_arithm.cpp src[0].copyTo(dst, mask); src 474 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat& mask) src 476 modules/core/test/test_arithm.cpp cvtest::copy(src[0], dst, mask); src 511 modules/core/test/test_arithm.cpp inRangeS_(const _Tp* src, const _WTp* a, const _WTp* b, uchar* dst, size_t total, int cn) src 517 modules/core/test/test_arithm.cpp _Tp val = src[i*cn]; src 524 modules/core/test/test_arithm.cpp _Tp val = src[i*cn + c]; src 530 modules/core/test/test_arithm.cpp template<typename _Tp> static void inRange_(const _Tp* src, const _Tp* a, const _Tp* b, uchar* dst, size_t total, int cn) src 536 modules/core/test/test_arithm.cpp _Tp val = src[i*cn]; src 543 modules/core/test/test_arithm.cpp _Tp val = src[i*cn + c]; src 550 modules/core/test/test_arithm.cpp static void inRange(const Mat& src, const Mat& lb, const Mat& rb, Mat& dst) src 552 modules/core/test/test_arithm.cpp CV_Assert( src.type() == lb.type() && src.type() == rb.type() && src 553 modules/core/test/test_arithm.cpp src.size == lb.size && src.size == rb.size ); src 554 modules/core/test/test_arithm.cpp dst.create( src.dims, &src.size[0], CV_8U ); src 555 modules/core/test/test_arithm.cpp const Mat *arrays[]={&src, &lb, &rb, &dst, 0}; src 561 modules/core/test/test_arithm.cpp int depth = src.depth(), cn = src.channels(); src 600 modules/core/test/test_arithm.cpp static void inRangeS(const Mat& src, const Scalar& lb, const Scalar& rb, Mat& dst) src 602 modules/core/test/test_arithm.cpp dst.create( src.dims, &src.size[0], CV_8U ); src 603 modules/core/test/test_arithm.cpp const Mat *arrays[]={&src, &dst, 0}; src 609 modules/core/test/test_arithm.cpp int depth = src.depth(), cn = src.channels(); src 653 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 655 modules/core/test/test_arithm.cpp cv::inRange(src[0], gamma, gamma1, dst); src 657 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 659 modules/core/test/test_arithm.cpp cvtest::inRangeS(src[0], gamma, gamma1, dst); src 683 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 686 modules/core/test/test_arithm.cpp cvtest::min(src[1], src[2], lb); src 687 modules/core/test/test_arithm.cpp cvtest::max(src[1], src[2], rb); src 689 modules/core/test/test_arithm.cpp cv::inRange(src[0], lb, rb, dst); src 691 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 694 modules/core/test/test_arithm.cpp cvtest::min(src[1], src[2], lb); src 695 modules/core/test/test_arithm.cpp cvtest::max(src[1], src[2], rb); src 697 modules/core/test/test_arithm.cpp cvtest::inRange(src[0], lb, rb, dst); src 709 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 711 modules/core/test/test_arithm.cpp src[0].convertTo(dst, ddepth, alpha, gamma[0]); src 713 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 715 modules/core/test/test_arithm.cpp cvtest::convert(src[0], dst, CV_MAKETYPE(ddepth, src[0].channels()), alpha, gamma[0]); src 744 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 746 modules/core/test/test_arithm.cpp cv::convertScaleAbs(src[0], dst, alpha, gamma[0]); src 748 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 750 modules/core/test/test_arithm.cpp cvtest::add(src[0], alpha, Mat(), 0, Scalar::all(gamma[0]), dst, CV_8UC(src[0].channels()), true); src 769 modules/core/test/test_arithm.cpp static void flip(const Mat& src, Mat& dst, int flipcode) src 771 modules/core/test/test_arithm.cpp CV_Assert(src.dims == 2); src 772 modules/core/test/test_arithm.cpp dst.create(src.size(), src.type()); src 773 modules/core/test/test_arithm.cpp int i, j, k, esz = (int)src.elemSize(), width = src.cols*esz; src 777 modules/core/test/test_arithm.cpp const uchar* sptr = src.ptr(flipcode == 1 ? i : dst.rows - i - 1); src 816 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 818 modules/core/test/test_arithm.cpp cv::flip(src[0], dst, flipcode); src 820 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 822 modules/core/test/test_arithm.cpp cvtest::flip(src[0], dst, flipcode); src 842 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 844 modules/core/test/test_arithm.cpp cv::transpose(src[0], dst); src 846 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 848 modules/core/test/test_arithm.cpp cvtest::transpose(src[0], dst); src 895 modules/core/test/test_arithm.cpp static void exp(const Mat& src, Mat& dst) src 897 modules/core/test/test_arithm.cpp dst.create( src.dims, &src.size[0], src.type() ); src 898 modules/core/test/test_arithm.cpp const Mat *arrays[]={&src, &dst, 0}; src 902 modules/core/test/test_arithm.cpp size_t j, total = planes[0].total()*src.channels(); src 904 modules/core/test/test_arithm.cpp int depth = src.depth(); src 924 modules/core/test/test_arithm.cpp static void log(const Mat& src, Mat& dst) src 926 modules/core/test/test_arithm.cpp dst.create( src.dims, &src.size[0], src.type() ); src 927 modules/core/test/test_arithm.cpp const Mat *arrays[]={&src, &dst, 0}; src 931 modules/core/test/test_arithm.cpp size_t j, total = planes[0].total()*src.channels(); src 933 modules/core/test/test_arithm.cpp int depth = src.depth(); src 965 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 967 modules/core/test/test_arithm.cpp cv::exp(src[0], dst); src 969 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 971 modules/core/test/test_arithm.cpp cvtest::exp(src[0], dst); src 992 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 995 modules/core/test/test_arithm.cpp cvtest::exp(src[0], temp); src 998 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 1001 modules/core/test/test_arithm.cpp cvtest::exp(src[0], temp); src 1073 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 1077 modules/core/test/test_arithm.cpp cv::cartToPolar(src[0], src[1], mag, angle, angleInDegrees); src 1082 modules/core/test/test_arithm.cpp dst.create(src[0].dims, src[0].size, CV_MAKETYPE(src[0].depth(), 4)); src 1085 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 1088 modules/core/test/test_arithm.cpp cvtest::cartToPolar(src[0], src[1], mag, angle, angleInDegrees); src 1089 modules/core/test/test_arithm.cpp Mat msrc[] = {mag, angle, src[0], src[1]}; src 1091 modules/core/test/test_arithm.cpp dst.create(src[0].dims, src[0].size, CV_MAKETYPE(src[0].depth(), 4)); src 1112 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat& mask) src 1115 modules/core/test/test_arithm.cpp dst.at<Scalar>(0,0) = cv::mean(src[0], mask); src 1117 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat& mask) src 1120 modules/core/test/test_arithm.cpp dst.at<Scalar>(0,0) = cvtest::mean(src[0], mask); src 1135 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat&) src 1138 modules/core/test/test_arithm.cpp dst.at<Scalar>(0,0) = cv::sum(src[0]); src 1140 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat&) src 1143 modules/core/test/test_arithm.cpp dst.at<Scalar>(0,0) = cvtest::mean(src[0])*(double)src[0].total(); src 1160 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat& mask) src 1163 modules/core/test/test_arithm.cpp src[0].copyTo(temp); src 1169 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat& mask) src 1172 modules/core/test/test_arithm.cpp cvtest::compare(src[0], 0, temp, CMP_NE); src 1195 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat& mask) src 1198 modules/core/test/test_arithm.cpp cv::meanStdDev(src[0], dst.at<Scalar>(0,0), dst.at<Scalar>(0,1), mask); src 1200 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat& mask) src 1203 modules/core/test/test_arithm.cpp cvtest::convert(src[0], temp, CV_64F); src 1205 modules/core/test/test_arithm.cpp Scalar mean = cvtest::mean(src[0], mask); src 1253 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat& mask) src 1256 modules/core/test/test_arithm.cpp dst.at<double>(0,0) = cv::norm(src[0], normType, mask); src 1257 modules/core/test/test_arithm.cpp dst.at<double>(0,1) = cv::norm(src[0], src[1], normType, mask); src 1259 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat& mask) src 1262 modules/core/test/test_arithm.cpp dst.at<double>(0,0) = cvtest::norm(src[0], normType, mask); src 1263 modules/core/test/test_arithm.cpp dst.at<double>(0,1) = cvtest::norm(src[0], src[1], normType, mask); src 1300 modules/core/test/test_arithm.cpp void op(const vector<Mat>& src, Mat& dst, const Mat& mask) src 1302 modules/core/test/test_arithm.cpp int ndims = src[0].dims; src 1305 modules/core/test/test_arithm.cpp cv::minMaxIdx(src[0], &minval, &maxval, &minidx[0], &maxidx[0], mask); src 1308 modules/core/test/test_arithm.cpp void refop(const vector<Mat>& src, Mat& dst, const Mat& mask) src 1310 modules/core/test/test_arithm.cpp int ndims=src[0].dims; src 1313 modules/core/test/test_arithm.cpp cvtest::minMaxLoc(src[0], &minval, &maxval, &minidx, &maxidx, mask); src 1345 modules/core/test/test_arithm.cpp vector<Mat> src(ninputs); src 1347 modules/core/test/test_arithm.cpp src[i] = cvtest::randomMat(rng, size, type, minval, maxval, true); src 1360 modules/core/test/test_arithm.cpp op->refop(src, dst0, mask); src 1361 modules/core/test/test_arithm.cpp op->op(src, dst, mask); src 1365 modules/core/test/test_arithm.cpp cvtest::MatInfo(!src.empty() ? src[0] : Mat()) << "\ntestCase #" << testIdx << "\n"; src 1525 modules/core/test/test_arithm.cpp cv::Mat src(1, 1, CV_8UC1, cv::Scalar::all(110)), dst; src 1528 modules/core/test/test_arithm.cpp cv::multiply(src, s, dst, 1, CV_16U); src 1572 modules/core/test/test_arithm.cpp cv::Mat src(size, CV_32FC1, cv::Scalar::all(2)), dst, src 1575 modules/core/test/test_arithm.cpp cv::multiply(3, src, dst); src 1665 modules/core/test/test_arithm.cpp cv::Mat src(size, src_type, cv::Scalar::all(16)); src 1671 modules/core/test/test_arithm.cpp cv::subtract(src, cv::Scalar::all(16), dst, cv::noArray(), dst_depth); src 1675 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(size, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src.channels())); src 1676 modules/core/test/test_arithm.cpp cv::subtract(src, cv::Scalar::all(16), fixed_dst, cv::noArray(), dst_depth); src 1682 modules/core/test/test_arithm.cpp ASSERT_EQ(src.size(), dst.size()); src 1683 modules/core/test/test_arithm.cpp ASSERT_EQ(dst_depth > 0 ? dst_depth : src.depth(), dst.depth()); src 1689 modules/core/test/test_arithm.cpp cv::Mat src(size, src_type, cv::Scalar::all(16)); src 1696 modules/core/test/test_arithm.cpp cv::subtract(src, cv::Scalar::all(16), dst, mask, dst_depth); src 1700 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(size, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src.channels())); src 1701 modules/core/test/test_arithm.cpp cv::subtract(src, cv::Scalar::all(16), fixed_dst, mask, dst_depth); src 1707 modules/core/test/test_arithm.cpp ASSERT_EQ(src.size(), dst.size()); src 1708 modules/core/test/test_arithm.cpp ASSERT_EQ(dst_depth > 0 ? dst_depth : src.depth(), dst.depth()); src 1714 modules/core/test/test_arithm.cpp cv::Mat src(size, src_type, cv::Scalar::all(16)); src 1720 modules/core/test/test_arithm.cpp cv::subtract(cv::Scalar::all(16), src, dst, cv::noArray(), dst_depth); src 1724 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(size, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src.channels())); src 1725 modules/core/test/test_arithm.cpp cv::subtract(cv::Scalar::all(16), src, fixed_dst, cv::noArray(), dst_depth); src 1731 modules/core/test/test_arithm.cpp ASSERT_EQ(src.size(), dst.size()); src 1732 modules/core/test/test_arithm.cpp ASSERT_EQ(dst_depth > 0 ? dst_depth : src.depth(), dst.depth()); src 1738 modules/core/test/test_arithm.cpp cv::Mat src(size, src_type, cv::Scalar::all(16)); src 1745 modules/core/test/test_arithm.cpp cv::subtract(cv::Scalar::all(16), src, dst, mask, dst_depth); src 1749 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(size, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src.channels())); src 1750 modules/core/test/test_arithm.cpp cv::subtract(cv::Scalar::all(16), src, fixed_dst, mask, dst_depth); src 1756 modules/core/test/test_arithm.cpp ASSERT_EQ(src.size(), dst.size()); src 1757 modules/core/test/test_arithm.cpp ASSERT_EQ(dst_depth > 0 ? dst_depth : src.depth(), dst.depth()); src 70 modules/core/test/test_countnonzero.cpp Mat src; src 82 modules/core/test/test_countnonzero.cpp CV_CountNonZeroTest::CV_CountNonZeroTest(): eps_32(std::numeric_limits<float>::min()), eps_64(std::numeric_limits<double>::min()), src(Mat()), current_type(-1) {} src 87 modules/core/test/test_countnonzero.cpp src.create(size, CV_MAKETYPE(type, 1)); src 93 modules/core/test/test_countnonzero.cpp case CV_8U: { src.at<uchar>(i, j) = cv::randu<uchar>(); break; } src 94 modules/core/test/test_countnonzero.cpp case CV_8S: { src.at<char>(i, j) = cv::randu<uchar>() - 128; break; } src 95 modules/core/test/test_countnonzero.cpp case CV_16U: { src.at<ushort>(i, j) = cv::randu<ushort>(); break; } src 96 modules/core/test/test_countnonzero.cpp case CV_16S: { src.at<short>(i, j) = cv::randu<short>(); break; } src 97 modules/core/test/test_countnonzero.cpp case CV_32S: { src.at<int>(i, j) = cv::randu<int>(); break; } src 98 modules/core/test/test_countnonzero.cpp case CV_32F: { src.at<float>(i, j) = cv::randu<float>(); break; } src 99 modules/core/test/test_countnonzero.cpp case CV_64F: { src.at<double>(i, j) = cv::randu<double>(); break; } src 106 modules/core/test/test_countnonzero.cpp src = Mat::zeros(size, CV_MAKETYPE(type, 1)); src 116 modules/core/test/test_countnonzero.cpp case CV_8U: { if (!src.at<uchar>(i, j)) {src.at<uchar>(i, j) = cv::randu<uchar>(); n += (src.at<uchar>(i, j) > 0);} break; } src 117 modules/core/test/test_countnonzero.cpp case CV_8S: { if (!src.at<char>(i, j)) {src.at<char>(i, j) = cv::randu<uchar>() - 128; n += abs(sign(src.at<char>(i, j)));} break; } src 118 modules/core/test/test_countnonzero.cpp case CV_16U: { if (!src.at<ushort>(i, j)) {src.at<ushort>(i, j) = cv::randu<ushort>(); n += (src.at<ushort>(i, j) > 0);} break; } src 119 modules/core/test/test_countnonzero.cpp case CV_16S: { if (!src.at<short>(i, j)) {src.at<short>(i, j) = cv::randu<short>(); n += abs(sign(src.at<short>(i, j)));} break; } src 120 modules/core/test/test_countnonzero.cpp case CV_32S: { if (!src.at<int>(i, j)) {src.at<int>(i, j) = cv::randu<int>(); n += abs(sign(src.at<int>(i, j)));} break; } src 121 modules/core/test/test_countnonzero.cpp case CV_32F: { if (fabs(src.at<float>(i, j)) <= eps_32) {src.at<float>(i, j) = cv::randu<float>(); n += (fabs(src.at<float>(i, j)) > eps_32);} break; } src 122 modules/core/test/test_countnonzero.cpp case CV_64F: { if (fabs(src.at<double>(i, j)) <= eps_64) {src.at<double>(i, j) = cv::randu<double>(); n += (fabs(src.at<double>(i, j)) > eps_64);} break; } src 132 modules/core/test/test_countnonzero.cpp src.create(size, CV_MAKETYPE(type, 1)); src 140 modules/core/test/test_countnonzero.cpp rng.fill(src, RNG::NORMAL, Scalar::all(mean), Scalar::all(sigma)); src 142 modules/core/test/test_countnonzero.cpp rng.fill(src, RNG::UNIFORM, Scalar::all(left), Scalar::all(right)); src 149 modules/core/test/test_countnonzero.cpp for (int i = 0; i < src.rows; ++i) src 150 modules/core/test/test_countnonzero.cpp for (int j = 0; j < src.cols; ++j) src 152 modules/core/test/test_countnonzero.cpp if (current_type == CV_8U) result += (src.at<uchar>(i, j) > 0); src 153 modules/core/test/test_countnonzero.cpp else if (current_type == CV_8S) result += abs(sign(src.at<char>(i, j))); src 154 modules/core/test/test_countnonzero.cpp else if (current_type == CV_16U) result += (src.at<ushort>(i, j) > 0); src 155 modules/core/test/test_countnonzero.cpp else if (current_type == CV_16S) result += abs(sign(src.at<short>(i, j))); src 156 modules/core/test/test_countnonzero.cpp else if (current_type == CV_32S) result += abs(sign(src.at<int>(i, j))); src 157 modules/core/test/test_countnonzero.cpp else if (current_type == CV_32F) result += (fabs(src.at<float>(i, j)) > eps_32); src 158 modules/core/test/test_countnonzero.cpp else result += (fabs(src.at<double>(i, j)) > eps_64); src 180 modules/core/test/test_countnonzero.cpp cout << "Number of rows: " << src.rows << " Number of cols: " << src.cols << endl; src 202 modules/core/test/test_countnonzero.cpp int right = get_count_non_zero(), result = countNonZero(src); src 218 modules/core/test/test_countnonzero.cpp int result = countNonZero(src); src 234 modules/core/test/test_countnonzero.cpp int right = get_count_non_zero(), result = countNonZero(src); src 67 modules/core/test/test_dxt.cpp const Complexf* src = (const Complexf*)(src0 + j*srcstep); src 68 modules/core/test/test_dxt.cpp sum.re += src->re*w[k].re - src->im*w[k].im; src 69 modules/core/test/test_dxt.cpp sum.im += src->re*w[k].im + src->im*w[k].re; src 89 modules/core/test/test_dxt.cpp const Complexd* src = (const Complexd*)(src0 + j*srcstep); src 90 modules/core/test/test_dxt.cpp sum.re += src->re*w[k].re - src->im*w[k].im; src 91 modules/core/test/test_dxt.cpp sum.im += src->re*w[k].im + src->im*w[k].re; src 105 modules/core/test/test_dxt.cpp static void DFT_2D( const Mat& src, Mat& dst, int flags ) src 109 modules/core/test/test_dxt.cpp dst.create(src.size(), src.type()); src 110 modules/core/test/test_dxt.cpp Mat tmp( src.cols, src.rows, src.type()); src 116 modules/core/test/test_dxt.cpp Mat srci = src.row(i).reshape(cn, src.cols), dsti = tmp.col(i); src 183 modules/core/test/test_dxt.cpp const float* src = _src.ptr<float>(); src 186 modules/core/test/test_dxt.cpp for( j = 0; j < n; j++, src += srcstep ) src 187 modules/core/test/test_dxt.cpp sum += src[0]*w[j]; src 198 modules/core/test/test_dxt.cpp const double* src = _src.ptr<double>(); src 201 modules/core/test/test_dxt.cpp for( j = 0; j < n; j++, src += srcstep ) src 202 modules/core/test/test_dxt.cpp sum += src[0]*w[j]; src 212 modules/core/test/test_dxt.cpp static void DCT_2D( const Mat& src, Mat& dst, int flags ) src 216 modules/core/test/test_dxt.cpp dst.create( src.size(), src.type() ); src 223 modules/core/test/test_dxt.cpp Mat srci = src.row(i).reshape(cn, src.cols); src 687 modules/core/test/test_dxt.cpp const Mat& src = inplace ? dst : test_mat[INPUT][0]; src 690 modules/core/test/test_dxt.cpp cv::dft( src, dst, flags ); src 692 modules/core/test/test_dxt.cpp cv::idft(src, dst, flags & ~CV_DXT_INVERSE); src 698 modules/core/test/test_dxt.cpp Mat& src = test_mat[INPUT][0]; src 700 modules/core/test/test_dxt.cpp Mat* tmp_src = &src; src 702 modules/core/test/test_dxt.cpp int src_cn = src.channels(); src 715 modules/core/test/test_dxt.cpp cvtest::insert( src, *tmp_src, 0 ); src 719 modules/core/test/test_dxt.cpp cvtest::convertFromCCS( src, src, *tmp_src, flags ); src 724 modules/core/test/test_dxt.cpp if( src.rows == 1 || (src.cols == 1 && !(flags & CV_DXT_ROWS)) ) src 752 modules/core/test/test_dxt.cpp const Mat& src = inplace ? dst : test_mat[INPUT][0]; src 755 modules/core/test/test_dxt.cpp cv::dct( src, dst, flags ); src 757 modules/core/test/test_dxt.cpp cv::idct( src, dst, flags & ~CV_DXT_INVERSE); src 763 modules/core/test/test_dxt.cpp const Mat& src = test_mat[INPUT][0]; src 766 modules/core/test/test_dxt.cpp if( src.rows == 1 || (src.cols == 1 && !(flags & CV_DXT_ROWS)) ) src 767 modules/core/test/test_dxt.cpp cvtest::DCT_1D( src, dst, flags ); src 769 modules/core/test/test_dxt.cpp cvtest::DCT_2D( src, dst, flags ); src 849 modules/core/test/test_dxt.cpp Mat src8u(m, n, depth), src(m, n, depth), dst(m, n, CV_MAKETYPE(depth, 2)); src 852 modules/core/test/test_dxt.cpp src8u.convertTo(src, src.type()); src 854 modules/core/test/test_dxt.cpp Mat mv[] = {src, z}, srcz; src 857 modules/core/test/test_dxt.cpp dft(src, dst, DFT_COMPLEX_OUTPUT); src 78 modules/core/test/test_eigen.cpp bool test_values(const cv::Mat& src); // complex test for eigen without vectors src 88 modules/core/test/test_eigen.cpp bool check_pair_count(const cv::Mat& src, const cv::Mat& evalues, int low_index = -1, int high_index = -1); src 89 modules/core/test/test_eigen.cpp bool check_pair_count(const cv::Mat& src, const cv::Mat& evalues, const cv::Mat& evectors, int low_index = -1, int high_index = -1); src 92 modules/core/test/test_eigen.cpp bool test_pairs(const cv::Mat& src); // complex test for eigen with vectors src 94 modules/core/test/test_eigen.cpp void print_information(const size_t norm_idx, const cv::Mat& src, double diff, double max_diff); src 148 modules/core/test/test_eigen.cpp cv::Mat src(1, 1, CV_32FC1, Scalar::all((float)value)); src 149 modules/core/test/test_eigen.cpp test_values(src); src 158 modules/core/test/test_eigen.cpp cv::Mat src(1, 1, CV_64FC1, Scalar::all((double)value)); src 159 modules/core/test/test_eigen.cpp test_values(src); src 171 modules/core/test/test_eigen.cpp bool Core_EigenTest::check_pair_count(const cv::Mat& src, const cv::Mat& evalues, int low_index, int high_index) src 173 modules/core/test/test_eigen.cpp int n = src.rows, s = sign(high_index); src 178 modules/core/test/test_eigen.cpp std::cout << "Size of src symmetric matrix: " << src.rows << " * " << src.cols << endl; std::cout << endl; src 185 modules/core/test/test_eigen.cpp bool Core_EigenTest::check_pair_count(const cv::Mat& src, const cv::Mat& evalues, const cv::Mat& evectors, int low_index, int high_index) src 187 modules/core/test/test_eigen.cpp int n = src.rows, s = sign(high_index); src 194 modules/core/test/test_eigen.cpp std:: cout << "Size of src symmetric matrix: " << src.rows << " * " << src.cols << endl; std::cout << endl; src 203 modules/core/test/test_eigen.cpp std:: cout << "Size of src symmetric matrix: " << src.rows << " * " << src.cols << endl; std::cout << endl; src 211 modules/core/test/test_eigen.cpp void Core_EigenTest::print_information(const size_t norm_idx, const cv::Mat& src, double diff, double max_diff) src 222 modules/core/test/test_eigen.cpp cout << "Source size: " << src.rows << " * " << src.cols << endl; src 290 modules/core/test/test_eigen.cpp bool Core_EigenTest::test_pairs(const cv::Mat& src) src 292 modules/core/test/test_eigen.cpp int type = src.type(); src 297 modules/core/test/test_eigen.cpp cv::eigen(src, eigen_values, eigen_vectors); src 299 modules/core/test/test_eigen.cpp if (!check_pair_count(src, eigen_values, eigen_vectors)) src 310 modules/core/test/test_eigen.cpp cv::Mat src_evec(src.rows, src.cols, type); src 311 modules/core/test/test_eigen.cpp src_evec = src*eigen_vectors_t; src 313 modules/core/test/test_eigen.cpp cv::Mat eval_evec(src.rows, src.cols, type); src 319 modules/core/test/test_eigen.cpp for (int i = 0; i < src.cols; ++i) src 322 modules/core/test/test_eigen.cpp for (int j = 0; j < src.rows; ++j) eval_evec.at<float>(j, i) = tmp.at<float>(j, 0); src 330 modules/core/test/test_eigen.cpp for (int i = 0; i < src.cols; ++i) src 333 modules/core/test/test_eigen.cpp for (int j = 0; j < src.rows; ++j) eval_evec.at<double>(j, i) = tmp.at<double>(j, 0); src 349 modules/core/test/test_eigen.cpp std::cout << endl; std::cout << "Checking accuracy of eigen vectors computing for matrix " << src << ": "; src 350 modules/core/test/test_eigen.cpp print_information(i, src, diff, eps_vec); src 359 modules/core/test/test_eigen.cpp bool Core_EigenTest::test_values(const cv::Mat& src) src 361 modules/core/test/test_eigen.cpp int type = src.type(); src 366 modules/core/test/test_eigen.cpp if (!test_pairs(src)) return false; src 368 modules/core/test/test_eigen.cpp cv::eigen(src, eigen_values_1, eigen_vectors); src 369 modules/core/test/test_eigen.cpp cv::eigen(src, eigen_values_2); src 371 modules/core/test/test_eigen.cpp if (!check_pair_count(src, eigen_values_2)) return false; src 378 modules/core/test/test_eigen.cpp std::cout << endl; std::cout << "Checking accuracy of eigen values computing for matrix " << src << ": "; src 379 modules/core/test/test_eigen.cpp print_information(i, src, diff, eps_val); src 398 modules/core/test/test_eigen.cpp cv::Mat src(src_size, src_size, type); src 400 modules/core/test/test_eigen.cpp for (int j = 0; j < src.rows; ++j) src 401 modules/core/test/test_eigen.cpp for (int k = j; k < src.cols; ++k) src 402 modules/core/test/test_eigen.cpp if (type == CV_32FC1) src.at<float>(k, j) = src.at<float>(j, k) = cv::randu<float>(); src 403 modules/core/test/test_eigen.cpp else src.at<double>(k, j) = src.at<double>(j, k) = cv::randu<double>(); src 405 modules/core/test/test_eigen.cpp if (!test_values(src)) return false; src 63 modules/core/test/test_hal_core.cpp Mat src(1, n, depth), dst(1, n, depth), dst0(1, n, depth); src 64 modules/core/test/test_hal_core.cpp randu(src, 1, 10); src 75 modules/core/test/test_hal_core.cpp hal::exp(src.ptr<float>(), dst.ptr<float>(), n); src 77 modules/core/test/test_hal_core.cpp hal::exp(src.ptr<double>(), dst.ptr<double>(), n); src 81 modules/core/test/test_hal_core.cpp hal::log(src.ptr<float>(), dst.ptr<float>(), n); src 83 modules/core/test/test_hal_core.cpp hal::log(src.ptr<double>(), dst.ptr<double>(), n); src 87 modules/core/test/test_hal_core.cpp hal::sqrt(src.ptr<float>(), dst.ptr<float>(), n); src 89 modules/core/test/test_hal_core.cpp hal::sqrt(src.ptr<double>(), dst.ptr<double>(), n); src 101 modules/core/test/test_hal_core.cpp exp(src, dst0); src 104 modules/core/test/test_hal_core.cpp log(src, dst0); src 107 modules/core/test/test_hal_core.cpp pow(src, 0.5, dst0); src 15 modules/core/test/test_mat.cpp int checkOp( const Mat& src, int dstType, int opType, const Mat& opRes, int dim ); src 22 modules/core/test/test_mat.cpp void testReduce( const Mat& src, Mat& sum, Mat& avg, Mat& max, Mat& min, int dim ) src 24 modules/core/test/test_mat.cpp assert( src.channels() == 1 ); src 27 modules/core/test/test_mat.cpp sum.create( 1, src.cols, CV_64FC1 ); src 28 modules/core/test/test_mat.cpp max.create( 1, src.cols, CV_64FC1 ); src 29 modules/core/test/test_mat.cpp min.create( 1, src.cols, CV_64FC1 ); src 33 modules/core/test/test_mat.cpp sum.create( src.rows, 1, CV_64FC1 ); src 34 modules/core/test/test_mat.cpp max.create( src.rows, 1, CV_64FC1 ); src 35 modules/core/test/test_mat.cpp min.create( src.rows, 1, CV_64FC1 ); src 41 modules/core/test/test_mat.cpp const Mat_<Type>& src_ = src; src 48 modules/core/test/test_mat.cpp for( int ri = 0; ri < src.rows; ri++ ) src 50 modules/core/test/test_mat.cpp for( int ci = 0; ci < src.cols; ci++ ) src 60 modules/core/test/test_mat.cpp for( int ci = 0; ci < src.cols; ci++ ) src 62 modules/core/test/test_mat.cpp for( int ri = 0; ri < src.rows; ri++ ) src 71 modules/core/test/test_mat.cpp avg = avg * (1.0 / (dim==0 ? (double)src.rows : (double)src.cols)); src 85 modules/core/test/test_mat.cpp int Core_ReduceTest::checkOp( const Mat& src, int dstType, int opType, const Mat& opRes, int dim ) src 87 modules/core/test/test_mat.cpp int srcType = src.type(); src 136 modules/core/test/test_mat.cpp reduce( src, _dst, dim, opType, dstType ); src 153 modules/core/test/test_mat.cpp getMatTypeStr( src.type(), srcTypeStr ); src 168 modules/core/test/test_mat.cpp Mat src, sum, avg, max, min; src 170 modules/core/test/test_mat.cpp src.create( sz, srcType ); src 171 modules/core/test/test_mat.cpp randu( src, Scalar(0), Scalar(100) ); src 174 modules/core/test/test_mat.cpp testReduce<uchar>( src, sum, avg, max, min, dim ); src 176 modules/core/test/test_mat.cpp testReduce<char>( src, sum, avg, max, min, dim ); src 178 modules/core/test/test_mat.cpp testReduce<unsigned short int>( src, sum, avg, max, min, dim ); src 180 modules/core/test/test_mat.cpp testReduce<short int>( src, sum, avg, max, min, dim ); src 182 modules/core/test/test_mat.cpp testReduce<int>( src, sum, avg, max, min, dim ); src 184 modules/core/test/test_mat.cpp testReduce<float>( src, sum, avg, max, min, dim ); src 186 modules/core/test/test_mat.cpp testReduce<double>( src, sum, avg, max, min, dim ); src 191 modules/core/test/test_mat.cpp tempCode = checkOp( src, dstType, CV_REDUCE_SUM, sum, dim ); src 195 modules/core/test/test_mat.cpp tempCode = checkOp( src, dstType, CV_REDUCE_AVG, avg, dim ); src 199 modules/core/test/test_mat.cpp tempCode = checkOp( src, dstType, CV_REDUCE_MAX, max, dim ); src 203 modules/core/test/test_mat.cpp tempCode = checkOp( src, dstType, CV_REDUCE_MIN, min, dim ); src 1044 modules/core/test/test_mat.cpp vector<Mat> src(matCount); src 1046 modules/core/test/test_mat.cpp for(size_t i = 0; i < src.size(); i++) src 1051 modules/core/test/test_mat.cpp src[i] = m; src 1055 modules/core/test/test_mat.cpp merge(src, dst); src 1079 modules/core/test/test_mat.cpp int diffElemCount = calcDiffElemCount(src, dst); src 1100 modules/core/test/test_mat.cpp Mat src(size, CV_MAKETYPE(depth, (int)channels)); src 1101 modules/core/test/test_mat.cpp rng.fill(src, RNG::UNIFORM, 0, 100, true); src 1104 modules/core/test/test_mat.cpp split(src, dst); src 1137 modules/core/test/test_mat.cpp int diffElemCount = calcDiffElemCount(dst, src); src 1194 modules/core/test/test_mat.cpp cv::Mat_<uchar> src(5, 1); src 1200 modules/core/test/test_mat.cpp src << 1, 2, 3, 4, 5; src 1202 modules/core/test/test_mat.cpp src.copyTo(ref_dst8); src 1203 modules/core/test/test_mat.cpp src.copyTo(dst8); src 1207 modules/core/test/test_mat.cpp src.convertTo(ref_dst16, CV_16U); src 1208 modules/core/test/test_mat.cpp src.convertTo(dst16, CV_16U); src 783 modules/core/test/test_math.cpp const Mat& src = test_mat[INPUT][0]; src 788 modules/core/test/test_math.cpp if( delta.rows < src.rows || delta.cols < src.cols ) src 790 modules/core/test/test_math.cpp cv::repeat( delta, src.rows/delta.rows, src.cols/delta.cols, temp); src 793 modules/core/test/test_math.cpp cvtest::add( src, 1, delta, -1, Scalar::all(0), temp, temp.type()); src 796 modules/core/test/test_math.cpp src.convertTo(temp, temp.type()); src 994 modules/core/test/test_math.cpp uchar* src = a->data.ptr + i*a->step; src 1001 modules/core/test/test_math.cpp buf[j] = ((float*)src)[j]; src 1005 modules/core/test/test_math.cpp buf[j] = ((double*)src)[j]; src 1926 modules/core/test/test_math.cpp CvArr* src = test_array[!(flags & CV_SVD_MODIFY_A) ? INPUT : OUTPUT][0]; src 1927 modules/core/test/test_math.cpp if( !src ) src 1928 modules/core/test/test_math.cpp src = test_array[INPUT][0]; src 1929 modules/core/test/test_math.cpp cvSVD( src, test_array[TEMP][0], test_array[TEMP][1], test_array[TEMP][2], flags ); src 1938 modules/core/test/test_math.cpp Mat *src, *dst, *w; src 1943 modules/core/test/test_math.cpp src = &test_mat[TEMP][1]; src 1945 modules/core/test/test_math.cpp cvtest::gemm( *src, *src, 1., Mat(), 0., *dst, src->rows == dst->rows ? CV_GEMM_B_T : CV_GEMM_A_T ); src 1951 modules/core/test/test_math.cpp src = &test_mat[TEMP][2]; src 1953 modules/core/test/test_math.cpp cvtest::gemm( *src, *src, 1., Mat(), 0., *dst, src->rows == dst->rows ? CV_GEMM_B_T : CV_GEMM_A_T ); src 2490 modules/core/test/test_math.cpp cv::Mat src = cv::Mat(3,3, cv::DataDepth<TypeParam>::value, data); src 2494 modules/core/test/test_math.cpp ASSERT_FALSE(checkRange(src, true, &bad_pt, min_bound, max_bound)); src 2505 modules/core/test/test_math.cpp cv::Mat src = cv::Mat(3,3, cv::DataDepth<TypeParam>::value, data); src 2509 modules/core/test/test_math.cpp ASSERT_TRUE(checkRange(src, true, &bad_pt, min_bound, max_bound)); src 2520 modules/core/test/test_math.cpp cv::Mat src = cv::Mat(3,3, cv::DataDepth<TypeParam>::value, data); src 2524 modules/core/test/test_math.cpp ASSERT_FALSE(checkRange(src, true, &bad_pt, min_bound, max_bound)); src 2760 modules/core/test/test_math.cpp cv::Mat src(vector_size, col_problem_size * row_problem_size, CV_32F); src 2765 modules/core/test/test_math.cpp cv::randu(src,cv::Scalar(-128), cv::Scalar(128)); src 2766 modules/core/test/test_math.cpp cv::calcCovarMatrix(src,gold,goldMean,singleMatFlags,CV_32F); src 2770 modules/core/test/test_math.cpp srcVec.push_back(src.row(static_cast<int>(i)).reshape(0,col_problem_size)); src 2791 modules/core/test/test_math.cpp cv::Mat src(vector_size, col_problem_size * row_problem_size, CV_32F); src 2795 modules/core/test/test_math.cpp cv::randu(src,cv::Scalar(-128), cv::Scalar(128)); src 2798 modules/core/test/test_math.cpp cv::reduce(src,goldMean,0 ,CV_REDUCE_AVG, CV_32F); src 2800 modules/core/test/test_math.cpp cv::calcCovarMatrix(src,gold,goldMean,singleMatFlags,CV_32F); src 2805 modules/core/test/test_math.cpp srcVec.push_back(src.row(static_cast<int>(i)).reshape(0,col_problem_size)); src 152 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void abs(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 160 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void sqr(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 170 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void sqrt(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 180 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void exp(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 190 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void log(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 205 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void pow(InputArray src, double power, OutputArray dst, Stream& stream = Stream::Null()); src 232 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void bitwise_not(InputArray src, OutputArray dst, InputArray mask = noArray(), Stream& stream = Stream::Null()); src 271 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void rshift(InputArray src, Scalar_<int> val, OutputArray dst, Stream& stream = Stream::Null()); src 281 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void lshift(InputArray src, Scalar_<int> val, OutputArray dst, Stream& stream = Stream::Null()); src 347 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS double threshold(InputArray src, OutputArray dst, double thresh, double maxval, int type, Stream& stream = Stream::Null()); src 437 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void merge(const GpuMat* src, size_t n, OutputArray dst, Stream& stream = Stream::Null()); src 439 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void merge(const std::vector<GpuMat>& src, OutputArray dst, Stream& stream = Stream::Null()); src 449 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void split(InputArray src, GpuMat* dst, Stream& stream = Stream::Null()); src 451 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void split(InputArray src, std::vector<GpuMat>& dst, Stream& stream = Stream::Null()); src 476 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void flip(InputArray src, OutputArray dst, int flipCode, Stream& stream = Stream::Null()); src 490 modules/cudaarithm/include/opencv2/cudaarithm.hpp virtual void transform(InputArray src, OutputArray dst, Stream& stream = Stream::Null()) = 0; src 514 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void copyMakeBorder(InputArray src, OutputArray dst, int top, int bottom, int left, int right, int borderType, src 532 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void calcNorm(InputArray src, OutputArray dst, int normType, InputArray mask = noArray(), Stream& stream = Stream::Null()); src 553 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS Scalar sum(InputArray src, InputArray mask = noArray()); src 555 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void calcSum(InputArray src, OutputArray dst, InputArray mask = noArray(), Stream& stream = Stream::Null()); src 562 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS Scalar absSum(InputArray src, InputArray mask = noArray()); src 564 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void calcAbsSum(InputArray src, OutputArray dst, InputArray mask = noArray(), Stream& stream = Stream::Null()); src 571 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS Scalar sqrSum(InputArray src, InputArray mask = noArray()); src 573 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void calcSqrSum(InputArray src, OutputArray dst, InputArray mask = noArray(), Stream& stream = Stream::Null()); src 586 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void minMax(InputArray src, double* minVal, double* maxVal, InputArray mask = noArray()); src 588 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void findMinMax(InputArray src, OutputArray dst, InputArray mask = noArray(), Stream& stream = Stream::Null()); src 603 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void minMaxLoc(InputArray src, double* minVal, double* maxVal, Point* minLoc, Point* maxLoc, src 606 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void findMinMaxLoc(InputArray src, OutputArray minMaxVals, OutputArray loc, src 617 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS int countNonZero(InputArray src); src 619 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void countNonZero(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 669 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void rectStdDev(InputArray src, InputArray sqr, OutputArray dst, Rect rect, Stream& stream = Stream::Null()); src 687 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void normalize(InputArray src, OutputArray dst, double alpha, double beta, src 699 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void integral(InputArray src, OutputArray sum, Stream& stream = Stream::Null()); src 708 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void sqrIntegral(InputArray src, OutputArray sqsum, Stream& stream = Stream::Null()); src 810 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void dft(InputArray src, OutputArray dst, Size dft_size, int flags=0, Stream& stream = Stream::Null()); src 185 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat src(size, CV_32FC2); src 186 modules/cudaarithm/perf/perf_arithm.cpp declare.in(src, WARMUP_RNG); src 190 modules/cudaarithm/perf/perf_arithm.cpp const cv::cuda::GpuMat d_src(src); src 201 modules/cudaarithm/perf/perf_arithm.cpp TEST_CYCLE() cv::dft(src, dst, flag); src 63 modules/cudaarithm/perf/perf_core.cpp std::vector<cv::Mat> src(channels); src 66 modules/cudaarithm/perf/perf_core.cpp src[i].create(size, depth); src 67 modules/cudaarithm/perf/perf_core.cpp declare.in(src[i], WARMUP_RNG); src 74 modules/cudaarithm/perf/perf_core.cpp d_src[i].upload(src[i]); src 86 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::merge(src, dst); src 104 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, CV_MAKE_TYPE(depth, channels)); src 105 modules/cudaarithm/perf/perf_core.cpp declare.in(src, WARMUP_RNG); src 109 modules/cudaarithm/perf/perf_core.cpp const cv::cuda::GpuMat d_src(src); src 124 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::split(src, dst); src 144 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, type); src 145 modules/cudaarithm/perf/perf_core.cpp declare.in(src, WARMUP_RNG); src 149 modules/cudaarithm/perf/perf_core.cpp const cv::cuda::GpuMat d_src(src); src 160 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::transpose(src, dst); src 187 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, type); src 188 modules/cudaarithm/perf/perf_core.cpp declare.in(src, WARMUP_RNG); src 192 modules/cudaarithm/perf/perf_core.cpp const cv::cuda::GpuMat d_src(src); src 203 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::flip(src, dst, flipCode); src 219 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, type); src 220 modules/cudaarithm/perf/perf_core.cpp declare.in(src, WARMUP_RNG); src 229 modules/cudaarithm/perf/perf_core.cpp const cv::cuda::GpuMat d_src(src); src 240 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::LUT(src, lut, dst); src 256 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, type); src 257 modules/cudaarithm/perf/perf_core.cpp declare.in(src, WARMUP_RNG); src 259 modules/cudaarithm/perf/perf_core.cpp cv::Mat lut(1, 256, CV_MAKE_TYPE(CV_8U, src.channels())); src 266 modules/cudaarithm/perf/perf_core.cpp const cv::cuda::GpuMat d_src(src); src 277 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::LUT(src, lut, dst); src 301 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, type); src 302 modules/cudaarithm/perf/perf_core.cpp declare.in(src, WARMUP_RNG); src 306 modules/cudaarithm/perf/perf_core.cpp const cv::cuda::GpuMat d_src(src); src 317 modules/cudaarithm/perf/perf_core.cpp TEST_CYCLE() cv::copyMakeBorder(src, dst, 5, 5, 5, 5, borderMode); src 97 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); src 98 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 105 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 116 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::add(src, s, dst); src 168 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); src 169 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 176 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 187 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::subtract(src, s, dst); src 239 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); src 240 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 247 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 258 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::multiply(src, s, dst); src 310 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); src 311 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 318 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 329 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::divide(src, s, dst); src 345 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); src 346 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 353 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 364 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::divide(s, src, dst); src 416 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); src 417 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 424 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 435 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::absdiff(src, s, dst); src 451 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); src 452 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 456 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 479 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); src 480 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 484 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 507 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); src 508 modules/cudaarithm/perf/perf_element_operations.cpp cv::randu(src, 0, 100000); src 512 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 523 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::sqrt(src, dst); src 539 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); src 540 modules/cudaarithm/perf/perf_element_operations.cpp cv::randu(src, 0, 100000); src 544 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 555 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::log(src, dst); src 571 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); src 572 modules/cudaarithm/perf/perf_element_operations.cpp cv::randu(src, 0, 10); src 576 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 587 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::exp(src, dst); src 607 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); src 608 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 612 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 623 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::pow(src, power, dst); src 683 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); src 684 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 691 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 702 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::compare(src, s, dst, cmp_code); src 718 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); src 719 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 723 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 734 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::bitwise_not(src, dst); src 790 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, type); src 791 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 799 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 810 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::bitwise_and(src, is, dst); src 866 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, type); src 867 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 875 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 886 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::bitwise_or(src, is, dst); src 942 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, type); src 943 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 951 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 962 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::bitwise_xor(src, is, dst); src 982 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, type); src 983 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 989 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 1016 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, type); src 1017 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 1023 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 1082 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); src 1083 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 1090 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 1101 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::min(src, val[0], dst); src 1153 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); src 1154 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 1161 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 1172 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::max(src, val[0], dst); src 1228 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, CV_32FC2); src 1229 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 1233 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 1243 modules/cudaarithm/perf/perf_element_operations.cpp cv::split(src, xy); src 1261 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, CV_32FC2); src 1262 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 1266 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 1477 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); src 1478 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(src, WARMUP_RNG); src 1482 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_src(src); src 1493 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::threshold(src, dst, 100.0, 255.0, threshOp); src 63 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, depth); src 65 modules/cudaarithm/perf/perf_reductions.cpp cv::randu(src, 0, 254); src 67 modules/cudaarithm/perf/perf_reductions.cpp declare.in(src, WARMUP_RNG); src 71 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); src 83 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cpu_dst = cv::norm(src, normType); src 142 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, type); src 143 modules/cudaarithm/perf/perf_reductions.cpp declare.in(src, WARMUP_RNG); src 147 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); src 158 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cpu_dst = cv::sum(src); src 178 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, type); src 179 modules/cudaarithm/perf/perf_reductions.cpp declare.in(src, WARMUP_RNG); src 183 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); src 210 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, type); src 211 modules/cudaarithm/perf/perf_reductions.cpp declare.in(src, WARMUP_RNG); src 215 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); src 238 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, depth); src 240 modules/cudaarithm/perf/perf_reductions.cpp cv::randu(src, 0, 254); src 242 modules/cudaarithm/perf/perf_reductions.cpp declare.in(src, WARMUP_RNG); src 246 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); src 258 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::minMaxLoc(src, &cpu_minVal, &cpu_maxVal); src 275 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, depth); src 277 modules/cudaarithm/perf/perf_reductions.cpp cv::randu(src, 0, 254); src 279 modules/cudaarithm/perf/perf_reductions.cpp declare.in(src, WARMUP_RNG); src 283 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); src 297 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::minMaxLoc(src, &cpu_minVal, &cpu_maxVal, &cpu_minLoc, &cpu_maxLoc); src 314 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, depth); src 315 modules/cudaarithm/perf/perf_reductions.cpp declare.in(src, WARMUP_RNG); src 319 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); src 330 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cpu_dst = cv::countNonZero(src); src 361 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, type); src 362 modules/cudaarithm/perf/perf_reductions.cpp declare.in(src, WARMUP_RNG); src 366 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); src 377 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::reduce(src, dst, dim, reduceOp, CV_32F); src 403 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, type); src 404 modules/cudaarithm/perf/perf_reductions.cpp declare.in(src, WARMUP_RNG); src 408 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); src 419 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::normalize(src, dst, alpha, beta, norm_type, type); src 433 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, CV_8UC1); src 434 modules/cudaarithm/perf/perf_reductions.cpp declare.in(src, WARMUP_RNG); src 439 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); src 453 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::meanStdDev(src, cpu_mean, cpu_stddev); src 468 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, CV_8UC1); src 469 modules/cudaarithm/perf/perf_reductions.cpp declare.in(src, WARMUP_RNG); src 473 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); src 484 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cv::integral(src, dst); src 498 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, CV_8UC1); src 499 modules/cudaarithm/perf/perf_reductions.cpp declare.in(src, WARMUP_RNG); src 503 modules/cudaarithm/perf/perf_reductions.cpp const cv::cuda::GpuMat d_src(src); src 301 modules/cudaarithm/src/arithm.cpp GpuMat src = getInputMat(_src, stream); src 303 modules/cudaarithm/src/arithm.cpp CV_Assert( src.type() == CV_32FC1 || src.type() == CV_32FC2 ); src 312 modules/cudaarithm/src/arithm.cpp const bool is_complex_input = src.channels() == 2; src 321 modules/cudaarithm/src/arithm.cpp if (src.isContinuous()) src 323 modules/cudaarithm/src/arithm.cpp src_cont = src; src 329 modules/cudaarithm/src/arithm.cpp createContinuous(src.rows, src.cols, src.type(), src_cont); src 330 modules/cudaarithm/src/arithm.cpp src.copyTo(src_cont, stream); src 91 modules/cudaarithm/src/core.cpp static void call(const GpuMat& src, GpuMat& dst, int flipCode, cudaStream_t stream) src 96 modules/cudaarithm/src/core.cpp sz.width = src.cols; src 97 modules/cudaarithm/src/core.cpp sz.height = src.rows; src 99 modules/cudaarithm/src/core.cpp nppSafeCall( func(src.ptr<npp_t>(), static_cast<int>(src.step), src 111 modules/cudaarithm/src/core.cpp typedef void (*func_t)(const GpuMat& src, GpuMat& dst, int flipCode, cudaStream_t stream); src 122 modules/cudaarithm/src/core.cpp GpuMat src = getInputMat(_src, stream); src 124 modules/cudaarithm/src/core.cpp CV_Assert(src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32S || src.depth() == CV_32F); src 125 modules/cudaarithm/src/core.cpp CV_Assert(src.channels() == 1 || src.channels() == 3 || src.channels() == 4); src 127 modules/cudaarithm/src/core.cpp _dst.create(src.size(), src.type()); src 128 modules/cudaarithm/src/core.cpp GpuMat dst = getOutputMat(_dst, src.size(), src.type(), stream); src 130 modules/cudaarithm/src/core.cpp funcs[src.depth()][src.channels() - 1](src, dst, flipCode, StreamAccessor::getStream(stream)); src 96 modules/cudaarithm/src/element_operations.cpp typedef void (*mat_scalar_func_t)(const GpuMat& src, Scalar val, bool inv, GpuMat& dst, const GpuMat& mask, double scale, Stream& stream, int op); src 168 modules/cudaarithm/src/element_operations.cpp void addScalar(const GpuMat& src, Scalar val, bool, GpuMat& dst, const GpuMat& mask, double, Stream& stream, int); src 180 modules/cudaarithm/src/element_operations.cpp void subScalar(const GpuMat& src, Scalar val, bool inv, GpuMat& dst, const GpuMat& mask, double, Stream& stream, int); src 194 modules/cudaarithm/src/element_operations.cpp void mulScalar(const GpuMat& src, cv::Scalar val, bool, GpuMat& dst, const GpuMat& mask, double scale, Stream& stream, int); src 237 modules/cudaarithm/src/element_operations.cpp void divScalar(const GpuMat& src, cv::Scalar val, bool inv, GpuMat& dst, const GpuMat& mask, double scale, Stream& stream, int); src 278 modules/cudaarithm/src/element_operations.cpp void absDiffScalar(const GpuMat& src, cv::Scalar val, bool, GpuMat& dst, const GpuMat&, double, Stream& stream, int); src 290 modules/cudaarithm/src/element_operations.cpp void cmpScalar(const GpuMat& src, Scalar val, bool inv, GpuMat& dst, const GpuMat&, double, Stream& stream, int cmpop); src 312 modules/cudaarithm/src/element_operations.cpp void bitScalar(const GpuMat& src, cv::Scalar value, bool, GpuMat& dst, const GpuMat& mask, double, Stream& stream, int op); src 351 modules/cudaarithm/src/element_operations.cpp static void call(const GpuMat& src, Scalar_<Npp32u> sc, GpuMat& dst, cudaStream_t stream) src 356 modules/cudaarithm/src/element_operations.cpp oSizeROI.width = src.cols; src 357 modules/cudaarithm/src/element_operations.cpp oSizeROI.height = src.rows; src 359 modules/cudaarithm/src/element_operations.cpp nppSafeCall( func(src.ptr<npp_type>(), static_cast<int>(src.step), sc.val, dst.ptr<npp_type>(), static_cast<int>(dst.step), oSizeROI) ); src 369 modules/cudaarithm/src/element_operations.cpp static void call(const GpuMat& src, Scalar_<Npp32u> sc, GpuMat& dst, cudaStream_t stream) src 374 modules/cudaarithm/src/element_operations.cpp oSizeROI.width = src.cols; src 375 modules/cudaarithm/src/element_operations.cpp oSizeROI.height = src.rows; src 377 modules/cudaarithm/src/element_operations.cpp nppSafeCall( func(src.ptr<npp_type>(), static_cast<int>(src.step), sc.val[0], dst.ptr<npp_type>(), static_cast<int>(dst.step), oSizeROI) ); src 387 modules/cudaarithm/src/element_operations.cpp typedef void (*func_t)(const GpuMat& src, Scalar_<Npp32u> sc, GpuMat& dst, cudaStream_t stream); src 397 modules/cudaarithm/src/element_operations.cpp GpuMat src = getInputMat(_src, stream); src 399 modules/cudaarithm/src/element_operations.cpp CV_Assert( src.depth() < CV_32F ); src 400 modules/cudaarithm/src/element_operations.cpp CV_Assert( src.channels() == 1 || src.channels() == 3 || src.channels() == 4 ); src 402 modules/cudaarithm/src/element_operations.cpp GpuMat dst = getOutputMat(_dst, src.size(), src.type(), stream); src 404 modules/cudaarithm/src/element_operations.cpp funcs[src.depth()][src.channels() - 1](src, val, dst, StreamAccessor::getStream(stream)); src 411 modules/cudaarithm/src/element_operations.cpp typedef void (*func_t)(const GpuMat& src, Scalar_<Npp32u> sc, GpuMat& dst, cudaStream_t stream); src 421 modules/cudaarithm/src/element_operations.cpp GpuMat src = getInputMat(_src, stream); src 423 modules/cudaarithm/src/element_operations.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32S ); src 424 modules/cudaarithm/src/element_operations.cpp CV_Assert( src.channels() == 1 || src.channels() == 3 || src.channels() == 4 ); src 426 modules/cudaarithm/src/element_operations.cpp GpuMat dst = getOutputMat(_dst, src.size(), src.type(), stream); src 428 modules/cudaarithm/src/element_operations.cpp funcs[src.depth()][src.channels() - 1](src, val, dst, StreamAccessor::getStream(stream)); src 447 modules/cudaarithm/src/element_operations.cpp void minMaxScalar(const GpuMat& src, cv::Scalar value, bool, GpuMat& dst, const GpuMat&, double, Stream& stream, int op); src 466 modules/cudaarithm/src/element_operations.cpp void npp_magnitude(const GpuMat& src, GpuMat& dst, nppMagnitude_t func, cudaStream_t stream) src 468 modules/cudaarithm/src/element_operations.cpp CV_Assert(src.type() == CV_32FC2); src 471 modules/cudaarithm/src/element_operations.cpp sz.width = src.cols; src 472 modules/cudaarithm/src/element_operations.cpp sz.height = src.rows; src 476 modules/cudaarithm/src/element_operations.cpp nppSafeCall( func(src.ptr<Npp32fc>(), static_cast<int>(src.step), dst.ptr<Npp32f>(), static_cast<int>(dst.step), sz) ); src 485 modules/cudaarithm/src/element_operations.cpp GpuMat src = getInputMat(_src, stream); src 487 modules/cudaarithm/src/element_operations.cpp GpuMat dst = getOutputMat(_dst, src.size(), CV_32FC1, stream); src 489 modules/cudaarithm/src/element_operations.cpp npp_magnitude(src, dst, nppiMagnitude_32fc32f_C1R, StreamAccessor::getStream(stream)); src 496 modules/cudaarithm/src/element_operations.cpp GpuMat src = getInputMat(_src, stream); src 498 modules/cudaarithm/src/element_operations.cpp GpuMat dst = getOutputMat(_dst, src.size(), CV_32FC1, stream); src 500 modules/cudaarithm/src/element_operations.cpp npp_magnitude(src, dst, nppiMagnitudeSqr_32fc32f_C1R, StreamAccessor::getStream(stream)); src 99 modules/cudaarithm/src/reductions.cpp GpuMat src = getInputMat(_src, stream); src 101 modules/cudaarithm/src/reductions.cpp GpuMat src_single_channel = src.reshape(1); src 140 modules/cudaarithm/src/reductions.cpp const GpuMat src = getInputMat(_src, stream); src 142 modules/cudaarithm/src/reductions.cpp CV_Assert( src.type() == CV_8UC1 ); src 147 modules/cudaarithm/src/reductions.cpp sz.width = src.cols; src 148 modules/cudaarithm/src/reductions.cpp sz.height = src.rows; src 162 modules/cudaarithm/src/reductions.cpp nppSafeCall( nppiMean_StdDev_8u_C1R(src.ptr<Npp8u>(), static_cast<int>(src.step), sz, buf.ptr<Npp8u>(), dst.ptr<Npp64f>(), dst.ptr<Npp64f>() + 1) ); src 188 modules/cudaarithm/src/reductions.cpp GpuMat src = getInputMat(_src, _stream); src 191 modules/cudaarithm/src/reductions.cpp CV_Assert( src.type() == CV_32SC1 && sqr.type() == CV_64FC1 ); src 193 modules/cudaarithm/src/reductions.cpp GpuMat dst = getOutputMat(_dst, src.size(), CV_32FC1, _stream); src 196 modules/cudaarithm/src/reductions.cpp sz.width = src.cols; src 197 modules/cudaarithm/src/reductions.cpp sz.height = src.rows; src 209 modules/cudaarithm/src/reductions.cpp nppSafeCall( nppiRectStdDev_32s32f_C1R(src.ptr<Npp32s>(), static_cast<int>(src.step), sqr.ptr<Npp64f>(), static_cast<int>(sqr.step), src 382 modules/cudaarithm/test/test_arithm.cpp cv::Mat src = randomMat(size, CV_32FC1, 0.0, 100.0); src 388 modules/cudaarithm/test/test_arithm.cpp conv->convolve(loadMat(src), loadMat(kernel), dst, ccorr); src 391 modules/cudaarithm/test/test_arithm.cpp convolveDFT(src, kernel, dst_gold, ccorr); src 74 modules/cudaarithm/test/test_core.cpp std::vector<cv::Mat> src; src 75 modules/cudaarithm/test/test_core.cpp src.reserve(channels); src 77 modules/cudaarithm/test/test_core.cpp src.push_back(cv::Mat(size, depth, cv::Scalar::all(i))); src 81 modules/cudaarithm/test/test_core.cpp d_src.push_back(loadMat(src[i], useRoi)); src 101 modules/cudaarithm/test/test_core.cpp cv::merge(src, dst_gold); src 143 modules/cudaarithm/test/test_core.cpp cv::Mat src = randomMat(size, type); src 150 modules/cudaarithm/test/test_core.cpp cv::cuda::split(loadMat(src), dst); src 160 modules/cudaarithm/test/test_core.cpp cv::cuda::split(loadMat(src, useRoi), dst); src 163 modules/cudaarithm/test/test_core.cpp cv::split(src, dst_gold); src 204 modules/cudaarithm/test/test_core.cpp cv::Mat src = randomMat(size, type); src 211 modules/cudaarithm/test/test_core.cpp cv::cuda::transpose(loadMat(src), dst); src 221 modules/cudaarithm/test/test_core.cpp cv::cuda::transpose(loadMat(src, useRoi), dst); src 224 modules/cudaarithm/test/test_core.cpp cv::transpose(src, dst_gold); src 271 modules/cudaarithm/test/test_core.cpp cv::Mat src = randomMat(size, type); src 274 modules/cudaarithm/test/test_core.cpp cv::cuda::flip(loadMat(src, useRoi), dst, flip_code); src 277 modules/cudaarithm/test/test_core.cpp cv::flip(src, dst_gold, flip_code); src 323 modules/cudaarithm/test/test_core.cpp cv::Mat src = randomMat(size, type); src 328 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst = createMat(size, CV_MAKE_TYPE(lut.depth(), src.channels())); src 329 modules/cudaarithm/test/test_core.cpp lutAlg->transform(loadMat(src, useRoi), dst); src 332 modules/cudaarithm/test/test_core.cpp cv::LUT(src, lut, dst_gold); src 339 modules/cudaarithm/test/test_core.cpp cv::Mat src = randomMat(size, type); src 340 modules/cudaarithm/test/test_core.cpp cv::Mat lut = randomMat(cv::Size(256, 1), CV_MAKE_TYPE(CV_8U, src.channels())); src 344 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst = createMat(size, CV_MAKE_TYPE(lut.depth(), src.channels()), useRoi); src 345 modules/cudaarithm/test/test_core.cpp lutAlg->transform(loadMat(src, useRoi), dst); src 348 modules/cudaarithm/test/test_core.cpp cv::LUT(src, lut, dst_gold); src 391 modules/cudaarithm/test/test_core.cpp cv::Mat src = randomMat(size, type); src 395 modules/cudaarithm/test/test_core.cpp cv::cuda::copyMakeBorder(loadMat(src, useRoi), dst, border, border, border, border, borderType, val); src 398 modules/cudaarithm/test/test_core.cpp cv::copyMakeBorder(src, dst_gold, border, border, border, border, borderType, val); src 1409 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); src 1417 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::absdiff(loadMat(src), val, dst); src 1427 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::absdiff(loadMat(src, useRoi), val, dst); src 1430 modules/cudaarithm/test/test_element_operations.cpp cv::absdiff(src, val, dst_gold); src 1438 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); src 1446 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::absdiff(val, loadMat(src), dst); src 1456 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::absdiff(val, loadMat(src, useRoi), dst); src 1459 modules/cudaarithm/test/test_element_operations.cpp cv::absdiff(val, src, dst_gold); src 1494 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); src 1497 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::abs(loadMat(src, useRoi), dst); src 1499 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold = cv::abs(src); src 1533 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth, 0, depth == CV_8U ? 16 : 255); src 1536 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::sqr(loadMat(src, useRoi), dst); src 1539 modules/cudaarithm/test/test_element_operations.cpp cv::multiply(src, src, dst_gold); src 1558 modules/cudaarithm/test/test_element_operations.cpp template <typename T> void sqrtImpl(const cv::Mat& src, cv::Mat& dst) src 1560 modules/cudaarithm/test/test_element_operations.cpp dst.create(src.size(), src.type()); src 1562 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) src 1564 modules/cudaarithm/test/test_element_operations.cpp for (int x = 0; x < src.cols; ++x) src 1565 modules/cudaarithm/test/test_element_operations.cpp dst.at<T>(y, x) = static_cast<T>(std::sqrt(static_cast<float>(src.at<T>(y, x)))); src 1569 modules/cudaarithm/test/test_element_operations.cpp void sqrtGold(const cv::Mat& src, cv::Mat& dst) src 1571 modules/cudaarithm/test/test_element_operations.cpp typedef void (*func_t)(const cv::Mat& src, cv::Mat& dst); src 1579 modules/cudaarithm/test/test_element_operations.cpp funcs[src.depth()](src, dst); src 1603 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); src 1606 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::sqrt(loadMat(src, useRoi), dst); src 1609 modules/cudaarithm/test/test_element_operations.cpp sqrtGold(src, dst_gold); src 1628 modules/cudaarithm/test/test_element_operations.cpp template <typename T> void logImpl(const cv::Mat& src, cv::Mat& dst) src 1630 modules/cudaarithm/test/test_element_operations.cpp dst.create(src.size(), src.type()); src 1632 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) src 1634 modules/cudaarithm/test/test_element_operations.cpp for (int x = 0; x < src.cols; ++x) src 1635 modules/cudaarithm/test/test_element_operations.cpp dst.at<T>(y, x) = static_cast<T>(std::log(static_cast<float>(src.at<T>(y, x)))); src 1639 modules/cudaarithm/test/test_element_operations.cpp void logGold(const cv::Mat& src, cv::Mat& dst) src 1641 modules/cudaarithm/test/test_element_operations.cpp typedef void (*func_t)(const cv::Mat& src, cv::Mat& dst); src 1649 modules/cudaarithm/test/test_element_operations.cpp funcs[src.depth()](src, dst); src 1673 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth, 1.0, 255.0); src 1676 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::log(loadMat(src, useRoi), dst); src 1679 modules/cudaarithm/test/test_element_operations.cpp logGold(src, dst_gold); src 1698 modules/cudaarithm/test/test_element_operations.cpp template <typename T> void expImpl(const cv::Mat& src, cv::Mat& dst) src 1700 modules/cudaarithm/test/test_element_operations.cpp dst.create(src.size(), src.type()); src 1702 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) src 1704 modules/cudaarithm/test/test_element_operations.cpp for (int x = 0; x < src.cols; ++x) src 1705 modules/cudaarithm/test/test_element_operations.cpp dst.at<T>(y, x) = cv::saturate_cast<T>(static_cast<int>(std::exp(static_cast<float>(src.at<T>(y, x))))); src 1708 modules/cudaarithm/test/test_element_operations.cpp void expImpl_float(const cv::Mat& src, cv::Mat& dst) src 1710 modules/cudaarithm/test/test_element_operations.cpp dst.create(src.size(), src.type()); src 1712 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) src 1714 modules/cudaarithm/test/test_element_operations.cpp for (int x = 0; x < src.cols; ++x) src 1715 modules/cudaarithm/test/test_element_operations.cpp dst.at<float>(y, x) = std::exp(static_cast<float>(src.at<float>(y, x))); src 1719 modules/cudaarithm/test/test_element_operations.cpp void expGold(const cv::Mat& src, cv::Mat& dst) src 1721 modules/cudaarithm/test/test_element_operations.cpp typedef void (*func_t)(const cv::Mat& src, cv::Mat& dst); src 1729 modules/cudaarithm/test/test_element_operations.cpp funcs[src.depth()](src, dst); src 1753 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth, 0.0, 10.0); src 1756 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::exp(loadMat(src, useRoi), dst); src 1759 modules/cudaarithm/test/test_element_operations.cpp expGold(src, dst_gold); src 1796 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth, 0.0, 10.0); src 1799 modules/cudaarithm/test/test_element_operations.cpp if (src.depth() < CV_32F) src 1807 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::pow(loadMat(src), power, dst); src 1817 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::pow(loadMat(src, useRoi), power, dst); src 1820 modules/cudaarithm/test/test_element_operations.cpp cv::pow(src, power, dst_gold); src 1900 modules/cudaarithm/test/test_element_operations.cpp void compareScalarImpl(const cv::Mat& src, cv::Scalar sc, cv::Mat& dst) src 1904 modules/cudaarithm/test/test_element_operations.cpp const int cn = src.channels(); src 1906 modules/cudaarithm/test/test_element_operations.cpp dst.create(src.size(), CV_MAKE_TYPE(CV_8U, cn)); src 1908 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) src 1910 modules/cudaarithm/test/test_element_operations.cpp for (int x = 0; x < src.cols; ++x) src 1914 modules/cudaarithm/test/test_element_operations.cpp T src_val = src.at<T>(y, x * cn + c); src 1922 modules/cudaarithm/test/test_element_operations.cpp void compareScalarGold(const cv::Mat& src, cv::Scalar sc, cv::Mat& dst, int cmpop) src 1924 modules/cudaarithm/test/test_element_operations.cpp typedef void (*func_t)(const cv::Mat& src, cv::Scalar sc, cv::Mat& dst); src 1936 modules/cudaarithm/test/test_element_operations.cpp funcs[src.depth()][cmpop](src, sc, dst); src 1962 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, type); src 1965 modules/cudaarithm/test/test_element_operations.cpp if (src.depth() < CV_32F) src 1973 modules/cudaarithm/test/test_element_operations.cpp if (src.depth() == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) src 1978 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::compare(loadMat(src), sc, dst, cmp_code); src 1987 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_MAKE_TYPE(CV_8U, src.channels()), useRoi); src 1989 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::compare(loadMat(src, useRoi), sc, dst, cmp_code); src 1992 modules/cudaarithm/test/test_element_operations.cpp compareScalarGold(src, sc, dst_gold, cmp_code); src 2085 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src; src 2097 modules/cudaarithm/test/test_element_operations.cpp src = randomMat(size, CV_MAKE_TYPE(depth, channels)); src 2106 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::bitwise_or(loadMat(src), val, dst); src 2109 modules/cudaarithm/test/test_element_operations.cpp cv::bitwise_or(src, val, dst_gold); src 2117 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::bitwise_and(loadMat(src), val, dst); src 2120 modules/cudaarithm/test/test_element_operations.cpp cv::bitwise_and(src, val, dst_gold); src 2128 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::bitwise_xor(loadMat(src), val, dst); src 2131 modules/cudaarithm/test/test_element_operations.cpp cv::bitwise_xor(src, val, dst_gold); src 2147 modules/cudaarithm/test/test_element_operations.cpp template <typename T> void rhiftImpl(const cv::Mat& src, cv::Scalar_<int> val, cv::Mat& dst) src 2149 modules/cudaarithm/test/test_element_operations.cpp const int cn = src.channels(); src 2151 modules/cudaarithm/test/test_element_operations.cpp dst.create(src.size(), src.type()); src 2153 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) src 2155 modules/cudaarithm/test/test_element_operations.cpp for (int x = 0; x < src.cols; ++x) src 2158 modules/cudaarithm/test/test_element_operations.cpp dst.at<T>(y, x * cn + c) = src.at<T>(y, x * cn + c) >> val.val[c]; src 2163 modules/cudaarithm/test/test_element_operations.cpp void rhiftGold(const cv::Mat& src, cv::Scalar_<int> val, cv::Mat& dst) src 2165 modules/cudaarithm/test/test_element_operations.cpp typedef void (*func_t)(const cv::Mat& src, cv::Scalar_<int> val, cv::Mat& dst); src 2172 modules/cudaarithm/test/test_element_operations.cpp funcs[src.depth()](src, val, dst); src 2199 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, type); src 2203 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::rshift(loadMat(src, useRoi), val, dst); src 2206 modules/cudaarithm/test/test_element_operations.cpp rhiftGold(src, val, dst_gold); src 2227 modules/cudaarithm/test/test_element_operations.cpp template <typename T> void lhiftImpl(const cv::Mat& src, cv::Scalar_<int> val, cv::Mat& dst) src 2229 modules/cudaarithm/test/test_element_operations.cpp const int cn = src.channels(); src 2231 modules/cudaarithm/test/test_element_operations.cpp dst.create(src.size(), src.type()); src 2233 modules/cudaarithm/test/test_element_operations.cpp for (int y = 0; y < src.rows; ++y) src 2235 modules/cudaarithm/test/test_element_operations.cpp for (int x = 0; x < src.cols; ++x) src 2238 modules/cudaarithm/test/test_element_operations.cpp dst.at<T>(y, x * cn + c) = src.at<T>(y, x * cn + c) << val.val[c]; src 2243 modules/cudaarithm/test/test_element_operations.cpp void lhiftGold(const cv::Mat& src, cv::Scalar_<int> val, cv::Mat& dst) src 2245 modules/cudaarithm/test/test_element_operations.cpp typedef void (*func_t)(const cv::Mat& src, cv::Scalar_<int> val, cv::Mat& dst); src 2252 modules/cudaarithm/test/test_element_operations.cpp funcs[src.depth()](src, val, dst); src 2279 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, type); src 2283 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::lshift(loadMat(src, useRoi), val, dst); src 2286 modules/cudaarithm/test/test_element_operations.cpp lhiftGold(src, val, dst_gold); src 2349 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); src 2357 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::min(loadMat(src), val, dst); src 2367 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::min(loadMat(src, useRoi), val, dst); src 2369 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold = cv::min(src, val); src 2432 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); src 2440 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::max(loadMat(src), val, dst); src 2450 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::max(loadMat(src, useRoi), val, dst); src 2452 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold = cv::max(src, val); src 2557 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, type); src 2561 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(src.size(), src.type(), useRoi); src 2562 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::threshold(loadMat(src, useRoi), dst, thresh, maxVal, threshOp); src 2565 modules/cudaarithm/test/test_element_operations.cpp cv::threshold(src, dst_gold, thresh, maxVal, threshOp); src 2598 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, CV_32FC2); src 2601 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::magnitude(loadMat(src, useRoi), dst); src 2604 modules/cudaarithm/test/test_element_operations.cpp cv::split(src, arr); src 2613 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, CV_32FC2); src 2616 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::magnitudeSqr(loadMat(src, useRoi), dst); src 2619 modules/cudaarithm/test/test_element_operations.cpp cv::split(src, arr); src 192 modules/cudaarithm/test/test_gpumat.cpp cv::Mat src = randomMat(size, type); src 194 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat d_src = loadMat(src, useRoi); src 198 modules/cudaarithm/test/test_gpumat.cpp EXPECT_MAT_NEAR(src, dst, 0.0); src 203 modules/cudaarithm/test/test_gpumat.cpp cv::Mat src = randomMat(size, type); src 210 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat d_src = loadMat(src); src 221 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat d_src = loadMat(src, useRoi); src 226 modules/cudaarithm/test/test_gpumat.cpp src.copyTo(dst_gold, mask); src 263 modules/cudaarithm/test/test_gpumat.cpp cv::Mat src = randomMat(size, depth1); src 269 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat d_src = loadMat(src); src 280 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat d_src = loadMat(src, useRoi); src 285 modules/cudaarithm/test/test_gpumat.cpp src.convertTo(dst_gold, depth2); src 293 modules/cudaarithm/test/test_gpumat.cpp cv::Mat src = randomMat(size, depth1); src 301 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat d_src = loadMat(src); src 312 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat d_src = loadMat(src, useRoi); src 317 modules/cudaarithm/test/test_gpumat.cpp src.convertTo(dst_gold, depth2, a, b); src 74 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); src 77 modules/cudaarithm/test/test_reductions.cpp double val = cv::cuda::norm(loadMat(src, useRoi), normCode, loadMat(mask, useRoi)); src 79 modules/cudaarithm/test/test_reductions.cpp double val_gold = cv::norm(src, normCode, mask); src 86 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); src 92 modules/cudaarithm/test/test_reductions.cpp cv::cuda::calcNorm(loadMat(src, useRoi), dst, normCode, loadMat(mask, useRoi), stream); src 99 modules/cudaarithm/test/test_reductions.cpp double val_gold = cv::norm(src, normCode, mask); src 182 modules/cudaarithm/test/test_reductions.cpp cv::Scalar absSumImpl(const cv::Mat& src) src 184 modules/cudaarithm/test/test_reductions.cpp const int cn = src.channels(); src 188 modules/cudaarithm/test/test_reductions.cpp for (int y = 0; y < src.rows; ++y) src 190 modules/cudaarithm/test/test_reductions.cpp for (int x = 0; x < src.cols; ++x) src 193 modules/cudaarithm/test/test_reductions.cpp sum[c] += std::abs(src.at<T>(y, x * cn + c)); src 200 modules/cudaarithm/test/test_reductions.cpp cv::Scalar absSumGold(const cv::Mat& src) src 202 modules/cudaarithm/test/test_reductions.cpp typedef cv::Scalar (*func_t)(const cv::Mat& src); src 215 modules/cudaarithm/test/test_reductions.cpp return funcs[src.depth()](src); src 219 modules/cudaarithm/test/test_reductions.cpp cv::Scalar sqrSumImpl(const cv::Mat& src) src 221 modules/cudaarithm/test/test_reductions.cpp const int cn = src.channels(); src 225 modules/cudaarithm/test/test_reductions.cpp for (int y = 0; y < src.rows; ++y) src 227 modules/cudaarithm/test/test_reductions.cpp for (int x = 0; x < src.cols; ++x) src 231 modules/cudaarithm/test/test_reductions.cpp const T val = src.at<T>(y, x * cn + c); src 240 modules/cudaarithm/test/test_reductions.cpp cv::Scalar sqrSumGold(const cv::Mat& src) src 242 modules/cudaarithm/test/test_reductions.cpp typedef cv::Scalar (*func_t)(const cv::Mat& src); src 255 modules/cudaarithm/test/test_reductions.cpp return funcs[src.depth()](src); src 266 modules/cudaarithm/test/test_reductions.cpp cv::Mat src; src 277 modules/cudaarithm/test/test_reductions.cpp src = randomMat(size, type, -128.0, 128.0); src 283 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val = cv::cuda::sum(loadMat(src, useRoi)); src 285 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val_gold = cv::sum(src); src 295 modules/cudaarithm/test/test_reductions.cpp cv::cuda::calcSum(loadMat(src, useRoi), dst, cv::noArray(), stream); src 303 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val_gold = cv::sum(src); src 310 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val = cv::cuda::absSum(loadMat(src, useRoi)); src 312 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val_gold = absSumGold(src); src 322 modules/cudaarithm/test/test_reductions.cpp cv::cuda::calcAbsSum(loadMat(src, useRoi), dst, cv::noArray(), stream); src 330 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val_gold = absSumGold(src); src 337 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val = cv::cuda::sqrSum(loadMat(src, useRoi)); src 339 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val_gold = sqrSumGold(src); src 349 modules/cudaarithm/test/test_reductions.cpp cv::cuda::calcSqrSum(loadMat(src, useRoi), dst, cv::noArray(), stream); src 357 modules/cudaarithm/test/test_reductions.cpp cv::Scalar val_gold = sqrSumGold(src); src 391 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); src 398 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMax(loadMat(src), &minVal, &maxVal); src 408 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMax(loadMat(src, useRoi), &minVal, &maxVal); src 411 modules/cudaarithm/test/test_reductions.cpp minMaxLocGold(src, &minVal_gold, &maxVal_gold); src 420 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); src 425 modules/cudaarithm/test/test_reductions.cpp cv::cuda::findMinMax(loadMat(src, useRoi), dst, cv::noArray(), stream); src 434 modules/cudaarithm/test/test_reductions.cpp minMaxLocGold(src, &minVal_gold, &maxVal_gold); src 442 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); src 450 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMax(loadMat(src), &minVal, &maxVal, loadMat(mask)); src 460 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMax(loadMat(src, useRoi), &minVal, &maxVal, loadMat(mask, useRoi)); src 463 modules/cudaarithm/test/test_reductions.cpp minMaxLocGold(src, &minVal_gold, &maxVal_gold, 0, 0, mask); src 472 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); src 479 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMax(loadMat(src), &minVal, 0); src 480 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMax(loadMat(src), 0, &maxVal); src 490 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMax(loadMat(src, useRoi), &minVal, 0); src 491 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMax(loadMat(src, useRoi), 0, &maxVal); src 494 modules/cudaarithm/test/test_reductions.cpp minMaxLocGold(src, &minVal_gold, &maxVal_gold, 0, 0); src 513 modules/cudaarithm/test/test_reductions.cpp void expectEqualImpl(const cv::Mat& src, cv::Point loc_gold, cv::Point loc) src 515 modules/cudaarithm/test/test_reductions.cpp EXPECT_EQ(src.at<T>(loc_gold.y, loc_gold.x), src.at<T>(loc.y, loc.x)); src 518 modules/cudaarithm/test/test_reductions.cpp void expectEqual(const cv::Mat& src, cv::Point loc_gold, cv::Point loc) src 520 modules/cudaarithm/test/test_reductions.cpp typedef void (*func_t)(const cv::Mat& src, cv::Point loc_gold, cv::Point loc); src 533 modules/cudaarithm/test/test_reductions.cpp funcs[src.depth()](src, loc_gold, loc); src 557 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); src 565 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src), &minVal, &maxVal, &minLoc, &maxLoc); src 576 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), &minVal, &maxVal, &minLoc, &maxLoc); src 580 modules/cudaarithm/test/test_reductions.cpp minMaxLocGold(src, &minVal_gold, &maxVal_gold, &minLoc_gold, &maxLoc_gold); src 585 modules/cudaarithm/test/test_reductions.cpp expectEqual(src, minLoc_gold, minLoc); src 586 modules/cudaarithm/test/test_reductions.cpp expectEqual(src, maxLoc_gold, maxLoc); src 592 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(cv::Size(size.width, 1), depth); src 596 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), &minVal, &maxVal, &minLoc, &maxLoc); src 600 modules/cudaarithm/test/test_reductions.cpp minMaxLocGold(src, &minVal_gold, &maxVal_gold, &minLoc_gold, &maxLoc_gold); src 605 modules/cudaarithm/test/test_reductions.cpp expectEqual(src, minLoc_gold, minLoc); src 606 modules/cudaarithm/test/test_reductions.cpp expectEqual(src, maxLoc_gold, maxLoc); src 611 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(cv::Size(1, size.height), depth); src 615 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), &minVal, &maxVal, &minLoc, &maxLoc); src 619 modules/cudaarithm/test/test_reductions.cpp minMaxLocGold(src, &minVal_gold, &maxVal_gold, &minLoc_gold, &maxLoc_gold); src 624 modules/cudaarithm/test/test_reductions.cpp expectEqual(src, minLoc_gold, minLoc); src 625 modules/cudaarithm/test/test_reductions.cpp expectEqual(src, maxLoc_gold, maxLoc); src 630 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); src 635 modules/cudaarithm/test/test_reductions.cpp cv::cuda::findMinMaxLoc(loadMat(src, useRoi), minMaxVals, locVals, cv::noArray(), stream); src 648 modules/cudaarithm/test/test_reductions.cpp cv::Point(locs[0] % src.cols, locs[0] / src.cols), src 649 modules/cudaarithm/test/test_reductions.cpp cv::Point(locs[1] % src.cols, locs[1] / src.cols), src 654 modules/cudaarithm/test/test_reductions.cpp minMaxLocGold(src, &minVal_gold, &maxVal_gold, &minLoc_gold, &maxLoc_gold); src 659 modules/cudaarithm/test/test_reductions.cpp expectEqual(src, minLoc_gold, locs2D[0]); src 660 modules/cudaarithm/test/test_reductions.cpp expectEqual(src, maxLoc_gold, locs2D[1]); src 665 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); src 674 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src), &minVal, &maxVal, &minLoc, &maxLoc, loadMat(mask)); src 685 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), &minVal, &maxVal, &minLoc, &maxLoc, loadMat(mask, useRoi)); src 689 modules/cudaarithm/test/test_reductions.cpp minMaxLocGold(src, &minVal_gold, &maxVal_gold, &minLoc_gold, &maxLoc_gold, mask); src 694 modules/cudaarithm/test/test_reductions.cpp expectEqual(src, minLoc_gold, minLoc); src 695 modules/cudaarithm/test/test_reductions.cpp expectEqual(src, maxLoc_gold, maxLoc); src 701 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); src 709 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), &minVal, 0, 0, 0); src 710 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), 0, &maxVal, 0, 0); src 711 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), 0, 0, &minLoc, 0); src 712 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), 0, 0, 0, &maxLoc); src 723 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), &minVal, 0, 0, 0); src 724 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), 0, &maxVal, 0, 0); src 725 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), 0, 0, &minLoc, 0); src 726 modules/cudaarithm/test/test_reductions.cpp cv::cuda::minMaxLoc(loadMat(src, useRoi), 0, 0, 0, &maxLoc); src 730 modules/cudaarithm/test/test_reductions.cpp minMaxLocGold(src, &minVal_gold, &maxVal_gold, &minLoc_gold, &maxLoc_gold); src 735 modules/cudaarithm/test/test_reductions.cpp expectEqual(src, minLoc_gold, minLoc); src 736 modules/cudaarithm/test/test_reductions.cpp expectEqual(src, maxLoc_gold, maxLoc); src 756 modules/cudaarithm/test/test_reductions.cpp cv::Mat src; src 768 modules/cudaarithm/test/test_reductions.cpp srcBase.convertTo(src, depth); src 778 modules/cudaarithm/test/test_reductions.cpp cv::cuda::countNonZero(loadMat(src)); src 787 modules/cudaarithm/test/test_reductions.cpp int val = cv::cuda::countNonZero(loadMat(src, useRoi)); src 789 modules/cudaarithm/test/test_reductions.cpp int val_gold = cv::countNonZero(src); src 800 modules/cudaarithm/test/test_reductions.cpp cv::cuda::countNonZero(loadMat(src, useRoi), dst, stream); src 808 modules/cudaarithm/test/test_reductions.cpp int val_gold = cv::countNonZero(src); src 865 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, type); src 867 modules/cudaarithm/test/test_reductions.cpp cv::cuda::GpuMat dst = createMat(cv::Size(src.cols, 1), dst_type, useRoi); src 868 modules/cudaarithm/test/test_reductions.cpp cv::cuda::reduce(loadMat(src, useRoi), dst, 0, reduceOp, dst_depth); src 871 modules/cudaarithm/test/test_reductions.cpp cv::reduce(src, dst_gold, 0, reduceOp, dst_depth); src 878 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, type); src 880 modules/cudaarithm/test/test_reductions.cpp cv::cuda::GpuMat dst = createMat(cv::Size(src.rows, 1), dst_type, useRoi); src 881 modules/cudaarithm/test/test_reductions.cpp cv::cuda::reduce(loadMat(src, useRoi), dst, 1, reduceOp, dst_depth); src 884 modules/cudaarithm/test/test_reductions.cpp cv::reduce(src, dst_gold, 1, reduceOp, dst_depth); src 936 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, type); src 939 modules/cudaarithm/test/test_reductions.cpp cv::cuda::normalize(loadMat(src, useRoi), dst, alpha, beta, norm_type, type); src 942 modules/cudaarithm/test/test_reductions.cpp cv::normalize(src, dst_gold, alpha, beta, norm_type, type); src 949 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, type); src 954 modules/cudaarithm/test/test_reductions.cpp cv::cuda::normalize(loadMat(src, useRoi), dst, alpha, beta, norm_type, type, loadMat(mask, useRoi)); src 958 modules/cudaarithm/test/test_reductions.cpp cv::normalize(src, dst_gold, alpha, beta, norm_type, type, mask); src 991 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, CV_8UC1); src 999 modules/cudaarithm/test/test_reductions.cpp cv::cuda::meanStdDev(loadMat(src, useRoi), mean, stddev); src 1010 modules/cudaarithm/test/test_reductions.cpp cv::cuda::meanStdDev(loadMat(src, useRoi), mean, stddev); src 1014 modules/cudaarithm/test/test_reductions.cpp cv::meanStdDev(src, mean_gold, stddev_gold); src 1023 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, CV_8UC1); src 1028 modules/cudaarithm/test/test_reductions.cpp cv::cuda::meanStdDev(loadMat(src, useRoi), dst, stream); src 1037 modules/cudaarithm/test/test_reductions.cpp cv::meanStdDev(src, mean_gold, stddev_gold); src 1069 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, CV_8UC1); src 1071 modules/cudaarithm/test/test_reductions.cpp cv::cuda::GpuMat dst = createMat(cv::Size(src.cols + 1, src.rows + 1), CV_32SC1, useRoi); src 1072 modules/cudaarithm/test/test_reductions.cpp cv::cuda::integral(loadMat(src, useRoi), dst); src 1075 modules/cudaarithm/test/test_reductions.cpp cv::integral(src, dst_gold, CV_32S); src 1106 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, CV_8UC1); src 1108 modules/cudaarithm/test/test_reductions.cpp cv::cuda::GpuMat dst = createMat(cv::Size(src.cols + 1, src.rows + 1), CV_64FC1, useRoi); src 1109 modules/cudaarithm/test/test_reductions.cpp cv::cuda::sqrIntegral(loadMat(src, useRoi), dst); src 1112 modules/cudaarithm/test/test_reductions.cpp cv::integral(src, temp, dst_gold); src 56 modules/cudaarithm/test/test_stream.cpp cv::cuda::HostMem src; src 67 modules/cudaarithm/test/test_stream.cpp src = cv::cuda::HostMem(cv::cuda::HostMem::PAGE_LOCKED); src 70 modules/cudaarithm/test/test_stream.cpp m.copyTo(src); src 80 modules/cudaarithm/test/test_stream.cpp cv::cuda::HostMem src = test->src; src 83 modules/cudaarithm/test/test_stream.cpp cv::Mat dst_gold = cv::Mat::zeros(src.size(), src.type()); src 92 modules/cudaarithm/test/test_stream.cpp d_dst.upload(src); src 109 modules/cudaarithm/test/test_stream.cpp cv::cuda::HostMem src = test->src; src 113 modules/cudaarithm/test/test_stream.cpp src.createMatHeader().convertTo(dst_gold, CV_32S); src 122 modules/cudaarithm/test/test_stream.cpp d_src.upload(src, stream); src 139 modules/cudaarithm/test/test_stream.cpp d_src.upload(src, stream); src 146 modules/cudaarithm/test/test_stream.cpp src.createMatHeader().convertTo(dst_gold, CV_32S); src 65 modules/cudacodec/src/video_writer.cpp void RGB_to_YV12(const GpuMat& src, GpuMat& dst); src 486 modules/cudacodec/src/video_writer.cpp void copyUYVYorYUY2Frame(Size frameSize, const GpuMat& src, GpuMat& dst) src 498 modules/cudacodec/src/video_writer.cpp stCopyYUV422.srcDevice = (CUdeviceptr) src.data; src 500 modules/cudacodec/src/video_writer.cpp stCopyYUV422.srcPitch = src.step; src 519 modules/cudacodec/src/video_writer.cpp void copyYV12orIYUVFrame(Size frameSize, const GpuMat& src, GpuMat& dst) src 531 modules/cudacodec/src/video_writer.cpp stCopyLuma.srcDevice = (CUdeviceptr) src.data; src 533 modules/cudacodec/src/video_writer.cpp stCopyLuma.srcPitch = src.step; src 554 modules/cudacodec/src/video_writer.cpp stCopyChroma.srcDevice = (CUdeviceptr) src.data; src 556 modules/cudacodec/src/video_writer.cpp stCopyChroma.srcPitch = src.step >> 1; // chroma is subsampled by 2 (but it has U/V are next to each other) src 578 modules/cudacodec/src/video_writer.cpp void copyNV12Frame(Size frameSize, const GpuMat& src, GpuMat& dst) src 591 modules/cudacodec/src/video_writer.cpp stCopyNV12.srcDevice = (CUdeviceptr) src.data; src 593 modules/cudacodec/src/video_writer.cpp stCopyNV12.srcPitch = src.step; src 198 modules/cudafeatures2d/perf/perf_features2d.cpp static void toOneRowMatches(const std::vector< std::vector<cv::DMatch> >& src, std::vector<cv::DMatch>& dst) src 201 modules/cudafeatures2d/perf/perf_features2d.cpp for (size_t i = 0; i < src.size(); ++i) src 202 modules/cudafeatures2d/perf/perf_features2d.cpp for (size_t j = 0; j < src[i].size(); ++j) src 203 modules/cudafeatures2d/perf/perf_features2d.cpp dst.push_back(src[i][j]); src 84 modules/cudafilters/include/opencv2/cudafilters.hpp virtual void apply(InputArray src, OutputArray dst, Stream& stream = Stream::Null()) = 0; src 65 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); src 66 modules/cudafilters/perf/perf_filters.cpp declare.in(src, WARMUP_RNG); src 70 modules/cudafilters/perf/perf_filters.cpp const cv::cuda::GpuMat d_src(src); src 83 modules/cudafilters/perf/perf_filters.cpp TEST_CYCLE() cv::blur(src, dst, cv::Size(ksize, ksize)); src 100 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); src 101 modules/cudafilters/perf/perf_filters.cpp declare.in(src, WARMUP_RNG); src 108 modules/cudafilters/perf/perf_filters.cpp const cv::cuda::GpuMat d_src(src); src 121 modules/cudafilters/perf/perf_filters.cpp TEST_CYCLE() cv::filter2D(src, dst, -1, kernel); src 138 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); src 139 modules/cudafilters/perf/perf_filters.cpp declare.in(src, WARMUP_RNG); src 143 modules/cudafilters/perf/perf_filters.cpp const cv::cuda::GpuMat d_src(src); src 156 modules/cudafilters/perf/perf_filters.cpp TEST_CYCLE() cv::Laplacian(src, dst, -1, ksize); src 173 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); src 174 modules/cudafilters/perf/perf_filters.cpp declare.in(src, WARMUP_RNG); src 178 modules/cudafilters/perf/perf_filters.cpp const cv::cuda::GpuMat d_src(src); src 191 modules/cudafilters/perf/perf_filters.cpp TEST_CYCLE() cv::Sobel(src, dst, -1, 1, 1, ksize); src 207 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); src 208 modules/cudafilters/perf/perf_filters.cpp declare.in(src, WARMUP_RNG); src 212 modules/cudafilters/perf/perf_filters.cpp const cv::cuda::GpuMat d_src(src); src 225 modules/cudafilters/perf/perf_filters.cpp TEST_CYCLE() cv::Scharr(src, dst, -1, 1, 0); src 242 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); src 243 modules/cudafilters/perf/perf_filters.cpp declare.in(src, WARMUP_RNG); src 247 modules/cudafilters/perf/perf_filters.cpp const cv::cuda::GpuMat d_src(src); src 260 modules/cudafilters/perf/perf_filters.cpp TEST_CYCLE() cv::GaussianBlur(src, dst, cv::Size(ksize, ksize), 0.5); src 276 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); src 277 modules/cudafilters/perf/perf_filters.cpp declare.in(src, WARMUP_RNG); src 283 modules/cudafilters/perf/perf_filters.cpp const cv::cuda::GpuMat d_src(src); src 286 modules/cudafilters/perf/perf_filters.cpp cv::Ptr<cv::cuda::Filter> erode = cv::cuda::createMorphologyFilter(cv::MORPH_ERODE, src.type(), ker); src 296 modules/cudafilters/perf/perf_filters.cpp TEST_CYCLE() cv::erode(src, dst, ker); src 312 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); src 313 modules/cudafilters/perf/perf_filters.cpp declare.in(src, WARMUP_RNG); src 319 modules/cudafilters/perf/perf_filters.cpp const cv::cuda::GpuMat d_src(src); src 322 modules/cudafilters/perf/perf_filters.cpp cv::Ptr<cv::cuda::Filter> dilate = cv::cuda::createMorphologyFilter(cv::MORPH_DILATE, src.type(), ker); src 332 modules/cudafilters/perf/perf_filters.cpp TEST_CYCLE() cv::dilate(src, dst, ker); src 353 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); src 354 modules/cudafilters/perf/perf_filters.cpp declare.in(src, WARMUP_RNG); src 360 modules/cudafilters/perf/perf_filters.cpp const cv::cuda::GpuMat d_src(src); src 363 modules/cudafilters/perf/perf_filters.cpp cv::Ptr<cv::cuda::Filter> morph = cv::cuda::createMorphologyFilter(morphOp, src.type(), ker); src 373 modules/cudafilters/perf/perf_filters.cpp TEST_CYCLE() cv::morphologyEx(src, dst, morphOp, ker); src 58 modules/cudafilters/src/cuda/column_filter.hpp __global__ void linearColumnFilter(const PtrStepSz<T> src, PtrStep<D> dst, const int anchor, const B brd) src 78 modules/cudafilters/src/cuda/column_filter.hpp if (x >= src.cols) src 81 modules/cudafilters/src/cuda/column_filter.hpp const T* src_col = src.ptr() + x; src 90 modules/cudafilters/src/cuda/column_filter.hpp smem[threadIdx.y + j * BLOCK_DIM_Y][threadIdx.x] = saturate_cast<sum_t>(src(yStart - (HALO_SIZE - j) * BLOCK_DIM_Y, x)); src 97 modules/cudafilters/src/cuda/column_filter.hpp smem[threadIdx.y + j * BLOCK_DIM_Y][threadIdx.x] = saturate_cast<sum_t>(brd.at_low(yStart - (HALO_SIZE - j) * BLOCK_DIM_Y, src_col, src.step)); src 105 modules/cudafilters/src/cuda/column_filter.hpp smem[threadIdx.y + HALO_SIZE * BLOCK_DIM_Y + j * BLOCK_DIM_Y][threadIdx.x] = saturate_cast<sum_t>(src(yStart + j * BLOCK_DIM_Y, x)); src 110 modules/cudafilters/src/cuda/column_filter.hpp smem[threadIdx.y + (PATCH_PER_BLOCK + HALO_SIZE) * BLOCK_DIM_Y + j * BLOCK_DIM_Y][threadIdx.x] = saturate_cast<sum_t>(src(yStart + (PATCH_PER_BLOCK + j) * BLOCK_DIM_Y, x)); src 117 modules/cudafilters/src/cuda/column_filter.hpp smem[threadIdx.y + HALO_SIZE * BLOCK_DIM_Y + j * BLOCK_DIM_Y][threadIdx.x] = saturate_cast<sum_t>(brd.at_high(yStart + j * BLOCK_DIM_Y, src_col, src.step)); src 122 modules/cudafilters/src/cuda/column_filter.hpp smem[threadIdx.y + (PATCH_PER_BLOCK + HALO_SIZE) * BLOCK_DIM_Y + j * BLOCK_DIM_Y][threadIdx.x] = saturate_cast<sum_t>(brd.at_high(yStart + (PATCH_PER_BLOCK + j) * BLOCK_DIM_Y, src_col, src.step)); src 132 modules/cudafilters/src/cuda/column_filter.hpp if (y < src.rows) src 146 modules/cudafilters/src/cuda/column_filter.hpp void caller(PtrStepSz<T> src, PtrStepSz<D> dst, int anchor, int cc, cudaStream_t stream) src 166 modules/cudafilters/src/cuda/column_filter.hpp const dim3 grid(divUp(src.cols, BLOCK_DIM_X), divUp(src.rows, BLOCK_DIM_Y * PATCH_PER_BLOCK)); src 168 modules/cudafilters/src/cuda/column_filter.hpp B<T> brd(src.rows); src 170 modules/cudafilters/src/cuda/column_filter.hpp linearColumnFilter<KSIZE, T, D><<<grid, block, 0, stream>>>(src, dst, anchor, brd); src 182 modules/cudafilters/src/cuda/column_filter.hpp void linearColumn(PtrStepSzb src, PtrStepSzb dst, const float* kernel, int ksize, int anchor, int brd_type, int cc, cudaStream_t stream) src 184 modules/cudafilters/src/cuda/column_filter.hpp typedef void (*caller_t)(PtrStepSz<T> src, PtrStepSz<D> dst, int anchor, int cc, cudaStream_t stream); src 370 modules/cudafilters/src/cuda/column_filter.hpp callers[brd_type][ksize]((PtrStepSz<T>)src, (PtrStepSz<D>)dst, anchor, cc, stream); src 58 modules/cudafilters/src/cuda/row_filter.hpp __global__ void linearRowFilter(const PtrStepSz<T> src, PtrStep<D> dst, const int anchor, const B brd) src 78 modules/cudafilters/src/cuda/row_filter.hpp if (y >= src.rows) src 81 modules/cudafilters/src/cuda/row_filter.hpp const T* src_row = src.ptr(y); src 132 modules/cudafilters/src/cuda/row_filter.hpp if (x < src.cols) src 146 modules/cudafilters/src/cuda/row_filter.hpp void caller(PtrStepSz<T> src, PtrStepSz<D> dst, int anchor, int cc, cudaStream_t stream) src 166 modules/cudafilters/src/cuda/row_filter.hpp const dim3 grid(divUp(src.cols, BLOCK_DIM_X * PATCH_PER_BLOCK), divUp(src.rows, BLOCK_DIM_Y)); src 168 modules/cudafilters/src/cuda/row_filter.hpp B<T> brd(src.cols); src 170 modules/cudafilters/src/cuda/row_filter.hpp linearRowFilter<KSIZE, T, D><<<grid, block, 0, stream>>>(src, dst, anchor, brd); src 181 modules/cudafilters/src/cuda/row_filter.hpp void linearRow(PtrStepSzb src, PtrStepSzb dst, const float* kernel, int ksize, int anchor, int brd_type, int cc, cudaStream_t stream) src 183 modules/cudafilters/src/cuda/row_filter.hpp typedef void (*caller_t)(PtrStepSz<T> src, PtrStepSz<D> dst, int anchor, int cc, cudaStream_t stream); src 369 modules/cudafilters/src/cuda/row_filter.hpp callers[brd_type][ksize]((PtrStepSz<T>)src, (PtrStepSz<D>)dst, anchor, cc, stream); src 101 modules/cudafilters/src/filtering.cpp void apply(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 131 modules/cudafilters/src/filtering.cpp GpuMat src = _src.getGpuMat(); src 132 modules/cudafilters/src/filtering.cpp CV_Assert( src.type() == type_ ); src 134 modules/cudafilters/src/filtering.cpp cuda::copyMakeBorder(src, srcBorder_, ksize_.height, ksize_.height, ksize_.width, ksize_.width, borderMode_, borderVal_, _stream); src 136 modules/cudafilters/src/filtering.cpp _dst.create(src.size(), src.type()); src 139 modules/cudafilters/src/filtering.cpp GpuMat srcRoi = srcBorder_(Rect(ksize_.width, ksize_.height, src.cols, src.rows)); src 145 modules/cudafilters/src/filtering.cpp oSizeROI.width = src.cols; src 146 modules/cudafilters/src/filtering.cpp oSizeROI.height = src.rows; src 193 modules/cudafilters/src/filtering.cpp void apply(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 255 modules/cudafilters/src/filtering.cpp GpuMat src = _src.getGpuMat(); src 256 modules/cudafilters/src/filtering.cpp CV_Assert( src.type() == type_ ); src 258 modules/cudafilters/src/filtering.cpp _dst.create(src.size(), src.type()); src 263 modules/cudafilters/src/filtering.cpp src.locateROI(wholeSize, ofs); src 265 modules/cudafilters/src/filtering.cpp GpuMat srcWhole(wholeSize, src.type(), src.datastart); src 309 modules/cudafilters/src/filtering.cpp void linearRow(PtrStepSzb src, PtrStepSzb dst, const float* kernel, int ksize, int anchor, int brd_type, int cc, cudaStream_t stream); src 312 modules/cudafilters/src/filtering.cpp void linearColumn(PtrStepSzb src, PtrStepSzb dst, const float* kernel, int ksize, int anchor, int brd_type, int cc, cudaStream_t stream); src 324 modules/cudafilters/src/filtering.cpp void apply(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 327 modules/cudafilters/src/filtering.cpp typedef void (*func_t)(PtrStepSzb src, PtrStepSzb dst, const float* kernel, int ksize, int anchor, int brd_type, int cc, cudaStream_t stream); src 403 modules/cudafilters/src/filtering.cpp GpuMat src = _src.getGpuMat(); src 404 modules/cudafilters/src/filtering.cpp CV_Assert( src.type() == srcType_ ); src 406 modules/cudafilters/src/filtering.cpp _dst.create(src.size(), dstType_); src 409 modules/cudafilters/src/filtering.cpp ensureSizeIsEnough(src.size(), bufType_, buf_); src 416 modules/cudafilters/src/filtering.cpp rowFilter_(src, buf_, rowKernel_.ptr<float>(), rowKernel_.cols, anchor_.x, rowBorderMode_, cc, stream); src 506 modules/cudafilters/src/filtering.cpp void apply(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 568 modules/cudafilters/src/filtering.cpp GpuMat src = _src.getGpuMat(); src 569 modules/cudafilters/src/filtering.cpp CV_Assert( src.type() == type_ ); src 572 modules/cudafilters/src/filtering.cpp cuda::copyMakeBorder(src, srcBorder_, ksize.height, ksize.height, ksize.width, ksize.width, BORDER_DEFAULT, Scalar(), _stream); src 574 modules/cudafilters/src/filtering.cpp GpuMat srcRoi = srcBorder_(Rect(ksize.width, ksize.height, src.cols, src.rows)); src 581 modules/cudafilters/src/filtering.cpp bufRoi = buf_(Rect(ksize.width, ksize.height, src.cols, src.rows)); src 584 modules/cudafilters/src/filtering.cpp _dst.create(src.size(), src.type()); src 591 modules/cudafilters/src/filtering.cpp oSizeROI.width = src.cols; src 592 modules/cudafilters/src/filtering.cpp oSizeROI.height = src.rows; src 643 modules/cudafilters/src/filtering.cpp void apply(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 651 modules/cudafilters/src/filtering.cpp void MorphologyOpenFilter::apply(InputArray src, OutputArray dst, Stream& stream) src 653 modules/cudafilters/src/filtering.cpp erodeFilter_->apply(src, buf_, stream); src 664 modules/cudafilters/src/filtering.cpp void apply(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 672 modules/cudafilters/src/filtering.cpp void MorphologyCloseFilter::apply(InputArray src, OutputArray dst, Stream& stream) src 674 modules/cudafilters/src/filtering.cpp dilateFilter_->apply(src, buf_, stream); src 685 modules/cudafilters/src/filtering.cpp void apply(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 693 modules/cudafilters/src/filtering.cpp void MorphologyGradientFilter::apply(InputArray src, OutputArray dst, Stream& stream) src 695 modules/cudafilters/src/filtering.cpp erodeFilter_->apply(src, buf_, stream); src 696 modules/cudafilters/src/filtering.cpp dilateFilter_->apply(src, dst, stream); src 707 modules/cudafilters/src/filtering.cpp void apply(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 715 modules/cudafilters/src/filtering.cpp void MorphologyTophatFilter::apply(InputArray src, OutputArray dst, Stream& stream) src 717 modules/cudafilters/src/filtering.cpp erodeFilter_->apply(src, dst, stream); src 719 modules/cudafilters/src/filtering.cpp cuda::subtract(src, buf_, dst, noArray(), -1, stream); src 729 modules/cudafilters/src/filtering.cpp void apply(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 737 modules/cudafilters/src/filtering.cpp void MorphologyBlackhatFilter::apply(InputArray src, OutputArray dst, Stream& stream) src 739 modules/cudafilters/src/filtering.cpp dilateFilter_->apply(src, dst, stream); src 741 modules/cudafilters/src/filtering.cpp cuda::subtract(buf_, src, dst, noArray(), -1, stream); src 796 modules/cudafilters/src/filtering.cpp void apply(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 830 modules/cudafilters/src/filtering.cpp GpuMat src = _src.getGpuMat(); src 831 modules/cudafilters/src/filtering.cpp CV_Assert( src.type() == type_ ); src 833 modules/cudafilters/src/filtering.cpp cuda::copyMakeBorder(src, srcBorder_, ksize_.height, ksize_.height, ksize_.width, ksize_.width, borderMode_, borderVal_, _stream); src 835 modules/cudafilters/src/filtering.cpp _dst.create(src.size(), src.type()); src 838 modules/cudafilters/src/filtering.cpp GpuMat srcRoi = srcBorder_(Rect(ksize_.width, ksize_.height, src.cols, src.rows)); src 844 modules/cudafilters/src/filtering.cpp oSizeROI.width = src.cols; src 845 modules/cudafilters/src/filtering.cpp oSizeROI.height = src.rows; src 883 modules/cudafilters/src/filtering.cpp void apply(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 906 modules/cudafilters/src/filtering.cpp GpuMat src = _src.getGpuMat(); src 907 modules/cudafilters/src/filtering.cpp CV_Assert( src.type() == srcType_ ); src 909 modules/cudafilters/src/filtering.cpp cuda::copyMakeBorder(src, srcBorder_, 0, 0, ksize_, ksize_, borderMode_, borderVal_, _stream); src 911 modules/cudafilters/src/filtering.cpp _dst.create(src.size(), dstType_); src 914 modules/cudafilters/src/filtering.cpp GpuMat srcRoi = srcBorder_(Rect(ksize_, 0, src.cols, src.rows)); src 920 modules/cudafilters/src/filtering.cpp oSizeROI.width = src.cols; src 921 modules/cudafilters/src/filtering.cpp oSizeROI.height = src.rows; src 944 modules/cudafilters/src/filtering.cpp void apply(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 967 modules/cudafilters/src/filtering.cpp GpuMat src = _src.getGpuMat(); src 968 modules/cudafilters/src/filtering.cpp CV_Assert( src.type() == srcType_ ); src 970 modules/cudafilters/src/filtering.cpp cuda::copyMakeBorder(src, srcBorder_, ksize_, ksize_, 0, 0, borderMode_, borderVal_, _stream); src 972 modules/cudafilters/src/filtering.cpp _dst.create(src.size(), dstType_); src 975 modules/cudafilters/src/filtering.cpp GpuMat srcRoi = srcBorder_(Rect(0, ksize_, src.cols, src.rows)); src 981 modules/cudafilters/src/filtering.cpp oSizeROI.width = src.cols; src 982 modules/cudafilters/src/filtering.cpp oSizeROI.height = src.rows; src 99 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); src 101 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> blurFilter = cv::cuda::createBoxFilter(src.type(), -1, ksize, anchor, borderType); src 104 modules/cudafilters/test/test_filters.cpp blurFilter->apply(loadMat(src, useRoi), dst); src 107 modules/cudafilters/test/test_filters.cpp cv::blur(src, dst_gold, ksize, anchor, borderType); src 150 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); src 153 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> filter2D = cv::cuda::createLinearFilter(src.type(), -1, kernel, anchor, borderType); src 156 modules/cudafilters/test/test_filters.cpp filter2D->apply(loadMat(src, useRoi), dst); src 159 modules/cudafilters/test/test_filters.cpp cv::filter2D(src, dst_gold, -1, kernel, anchor, 0, borderType); src 198 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); src 200 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> laplacian = cv::cuda::createLaplacianFilter(src.type(), -1, ksize.width); src 203 modules/cudafilters/test/test_filters.cpp laplacian->apply(loadMat(src, useRoi), dst); src 206 modules/cudafilters/test/test_filters.cpp cv::Laplacian(src, dst_gold, -1, ksize.width); src 208 modules/cudafilters/test/test_filters.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() < CV_32F ? 0.0 : 1e-3); src 253 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); src 257 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> filter = cv::cuda::createSeparableLinearFilter(src.type(), -1, rowKernel, columnKernel, anchor, borderType); src 260 modules/cudafilters/test/test_filters.cpp filter->apply(loadMat(src, useRoi), dst); src 263 modules/cudafilters/test/test_filters.cpp cv::sepFilter2D(src, dst_gold, -1, rowKernel, columnKernel, anchor, 0, borderType); src 265 modules/cudafilters/test/test_filters.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() < CV_32F ? 1.0 : 1e-2); src 327 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); src 329 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> sobel = cv::cuda::createSobelFilter(src.type(), -1, dx, dy, ksize.width, 1.0, borderType); src 332 modules/cudafilters/test/test_filters.cpp sobel->apply(loadMat(src, useRoi), dst); src 335 modules/cudafilters/test/test_filters.cpp cv::Sobel(src, dst_gold, -1, dx, dy, ksize.width, 1.0, 0.0, borderType); src 337 modules/cudafilters/test/test_filters.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() < CV_32F ? 0.0 : 0.1); src 392 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); src 394 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> scharr = cv::cuda::createScharrFilter(src.type(), -1, dx, dy, 1.0, borderType); src 397 modules/cudafilters/test/test_filters.cpp scharr->apply(loadMat(src, useRoi), dst); src 400 modules/cudafilters/test/test_filters.cpp cv::Scharr(src, dst_gold, -1, dx, dy, 1.0, 0.0, borderType); src 402 modules/cudafilters/test/test_filters.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() < CV_32F ? 0.0 : 0.1); src 451 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); src 455 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> gauss = cv::cuda::createGaussianFilter(src.type(), -1, ksize, sigma1, sigma2, borderType); src 458 modules/cudafilters/test/test_filters.cpp gauss->apply(loadMat(src, useRoi), dst); src 461 modules/cudafilters/test/test_filters.cpp cv::GaussianBlur(src, dst_gold, ksize, sigma1, sigma2, borderType); src 463 modules/cudafilters/test/test_filters.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() < CV_32F ? 4.0 : 1e-4); src 519 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); src 522 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> erode = cv::cuda::createMorphologyFilter(cv::MORPH_ERODE, src.type(), kernel, anchor, iterations); src 525 modules/cudafilters/test/test_filters.cpp erode->apply(loadMat(src, useRoi), dst); src 528 modules/cudafilters/test/test_filters.cpp cv::erode(src, dst_gold, kernel, anchor, iterations); src 570 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); src 573 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> dilate = cv::cuda::createMorphologyFilter(cv::MORPH_DILATE, src.type(), kernel, anchor, iterations); src 576 modules/cudafilters/test/test_filters.cpp dilate->apply(loadMat(src, useRoi), dst); src 579 modules/cudafilters/test/test_filters.cpp cv::dilate(src, dst_gold, kernel, anchor, iterations); src 625 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); src 628 modules/cudafilters/test/test_filters.cpp cv::Ptr<cv::cuda::Filter> morph = cv::cuda::createMorphologyFilter(morphOp, src.type(), kernel, anchor, iterations); src 631 modules/cudafilters/test/test_filters.cpp morph->apply(loadMat(src, useRoi), dst); src 634 modules/cudafilters/test/test_filters.cpp cv::morphologyEx(src, dst_gold, morphOp, kernel, anchor, iterations); src 90 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void cvtColor(InputArray src, OutputArray dst, int code, int dcn = 0, Stream& stream = Stream::Null()); src 136 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void demosaicing(InputArray src, OutputArray dst, int code, int dcn = -1, Stream& stream = Stream::Null()); src 157 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void gammaCorrection(InputArray src, OutputArray dst, bool forward = true, Stream& stream = Stream::Null()); src 202 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void calcHist(InputArray src, OutputArray hist, Stream& stream = Stream::Null()); src 212 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void equalizeHist(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 226 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp virtual void apply(InputArray src, OutputArray dst, Stream& stream) = 0; src 257 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void histEven(InputArray src, OutputArray hist, int histSize, int lowerLevel, int upperLevel, Stream& stream = Stream::Null()); src 259 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void histEven(InputArray src, GpuMat hist[4], int histSize[4], int lowerLevel[4], int upperLevel[4], Stream& stream = Stream::Null()); src 269 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void histRange(InputArray src, OutputArray hist, InputArray levels, Stream& stream = Stream::Null()); src 271 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void histRange(InputArray src, GpuMat hist[4], const GpuMat levels[4], Stream& stream = Stream::Null()); src 346 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp virtual void detect(InputArray src, OutputArray lines, Stream& stream = Stream::Null()) = 0; src 403 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp virtual void detect(InputArray src, OutputArray lines, Stream& stream = Stream::Null()) = 0; src 448 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp virtual void detect(InputArray src, OutputArray circles, Stream& stream = Stream::Null()) = 0; src 520 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp virtual void compute(InputArray src, OutputArray dst, Stream& stream = Stream::Null()) = 0; src 606 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void meanShiftFiltering(InputArray src, OutputArray dst, int sp, int sr, src 625 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void meanShiftProc(InputArray src, OutputArray dstr, OutputArray dstsp, int sp, int sr, src 639 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void meanShiftSegmentation(InputArray src, OutputArray dst, int sp, int sr, int minsize, src 705 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void bilateralFilter(InputArray src, OutputArray dst, int kernel_size, float sigma_color, float sigma_spatial, src 73 modules/cudaimgproc/perf/perf_bilateral_filter.cpp cv::Mat src(size, type); src 74 modules/cudaimgproc/perf/perf_bilateral_filter.cpp declare.in(src, WARMUP_RNG); src 78 modules/cudaimgproc/perf/perf_bilateral_filter.cpp const cv::cuda::GpuMat d_src(src); src 89 modules/cudaimgproc/perf/perf_bilateral_filter.cpp TEST_CYCLE() cv::bilateralFilter(src, dst, kernel_size, sigma_color, sigma_spatial, borderMode); src 83 modules/cudaimgproc/perf/perf_color.cpp cv::Mat src(size, CV_MAKETYPE(depth, info.scn)); src 84 modules/cudaimgproc/perf/perf_color.cpp cv::randu(src, 0, depth == CV_8U ? 255.0 : 1.0); src 88 modules/cudaimgproc/perf/perf_color.cpp const cv::cuda::GpuMat d_src(src); src 99 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cvtColor(src, dst, info.code, info.dcn); src 122 modules/cudaimgproc/perf/perf_color.cpp cv::Mat src(size, CV_MAKETYPE(depth, info.scn)); src 123 modules/cudaimgproc/perf/perf_color.cpp declare.in(src, WARMUP_RNG); src 127 modules/cudaimgproc/perf/perf_color.cpp const cv::cuda::GpuMat d_src(src); src 138 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cvtColor(src, dst, info.code, info.dcn); src 162 modules/cudaimgproc/perf/perf_color.cpp cv::Mat src(size, CV_8UC1); src 163 modules/cudaimgproc/perf/perf_color.cpp declare.in(src, WARMUP_RNG); src 167 modules/cudaimgproc/perf/perf_color.cpp const cv::cuda::GpuMat d_src(src); src 184 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cvtColor(src, dst, code); src 199 modules/cudaimgproc/perf/perf_color.cpp cv::Mat src(size, CV_8UC4); src 200 modules/cudaimgproc/perf/perf_color.cpp declare.in(src, WARMUP_RNG); src 206 modules/cudaimgproc/perf/perf_color.cpp cv::cuda::GpuMat dst(src); src 59 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat src(size, depth); src 60 modules/cudaimgproc/perf/perf_histogram.cpp declare.in(src, WARMUP_RNG); src 64 modules/cudaimgproc/perf/perf_histogram.cpp const cv::cuda::GpuMat d_src(src); src 81 modules/cudaimgproc/perf/perf_histogram.cpp TEST_CYCLE() cv::calcHist(&src, 1, channels, cv::Mat(), dst, 1, histSize, ranges); src 97 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat src(size, CV_MAKE_TYPE(depth, 4)); src 98 modules/cudaimgproc/perf/perf_histogram.cpp declare.in(src, WARMUP_RNG); src 106 modules/cudaimgproc/perf/perf_histogram.cpp const cv::cuda::GpuMat d_src(src); src 135 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat src(size, CV_8UC1); src 136 modules/cudaimgproc/perf/perf_histogram.cpp declare.in(src, WARMUP_RNG); src 140 modules/cudaimgproc/perf/perf_histogram.cpp const cv::cuda::GpuMat d_src(src); src 161 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat src(size, CV_8UC1); src 162 modules/cudaimgproc/perf/perf_histogram.cpp declare.in(src, WARMUP_RNG); src 166 modules/cudaimgproc/perf/perf_histogram.cpp const cv::cuda::GpuMat d_src(src); src 177 modules/cudaimgproc/perf/perf_histogram.cpp TEST_CYCLE() cv::equalizeHist(src, dst); src 195 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat src(size, CV_8UC1); src 196 modules/cudaimgproc/perf/perf_histogram.cpp declare.in(src, WARMUP_RNG); src 201 modules/cudaimgproc/perf/perf_histogram.cpp cv::cuda::GpuMat d_src(src); src 213 modules/cudaimgproc/perf/perf_histogram.cpp TEST_CYCLE() clahe->apply(src, dst); src 94 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat src(size, CV_8UC1, cv::Scalar::all(0)); src 95 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(0, 100), cv::Point(src.cols, 100), cv::Scalar::all(255), 1); src 96 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(0, 200), cv::Point(src.cols, 200), cv::Scalar::all(255), 1); src 97 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(0, 400), cv::Point(src.cols, 400), cv::Scalar::all(255), 1); src 98 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(100, 0), cv::Point(100, src.rows), cv::Scalar::all(255), 1); src 99 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(200, 0), cv::Point(200, src.rows), cv::Scalar::all(255), 1); src 100 modules/cudaimgproc/perf/perf_hough.cpp cv::line(src, cv::Point(400, 0), cv::Point(400, src.rows), cv::Scalar::all(255), 1); src 104 modules/cudaimgproc/perf/perf_hough.cpp const cv::cuda::GpuMat d_src(src); src 121 modules/cudaimgproc/perf/perf_hough.cpp TEST_CYCLE() cv::HoughLines(src, cpu_lines, rho, theta, threshold); src 197 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat src(size, CV_8UC1, cv::Scalar::all(0)); src 198 modules/cudaimgproc/perf/perf_hough.cpp cv::circle(src, cv::Point(100, 100), 20, cv::Scalar::all(255), -1); src 199 modules/cudaimgproc/perf/perf_hough.cpp cv::circle(src, cv::Point(200, 200), 25, cv::Scalar::all(255), -1); src 200 modules/cudaimgproc/perf/perf_hough.cpp cv::circle(src, cv::Point(200, 100), 25, cv::Scalar::all(255), -1); src 204 modules/cudaimgproc/perf/perf_hough.cpp const cv::cuda::GpuMat d_src(src); src 221 modules/cudaimgproc/perf/perf_hough.cpp TEST_CYCLE() cv::HoughCircles(src, cpu_circles, cv::HOUGH_GRADIENT, dp, minDist, cannyThreshold, votesThreshold, minRadius, maxRadius); src 59 modules/cudaimgproc/src/bilateral_filter.cpp void bilateral_filter_gpu(const PtrStepSzb& src, PtrStepSzb dst, int kernel_size, float sigma_spatial, float sigma_color, int borderMode, cudaStream_t stream); src 67 modules/cudaimgproc/src/bilateral_filter.cpp typedef void (*func_t)(const PtrStepSzb& src, PtrStepSzb dst, int kernel_size, float sigma_spatial, float sigma_color, int borderMode, cudaStream_t s); src 85 modules/cudaimgproc/src/bilateral_filter.cpp GpuMat src = _src.getGpuMat(); src 87 modules/cudaimgproc/src/bilateral_filter.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); src 90 modules/cudaimgproc/src/bilateral_filter.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; src 93 modules/cudaimgproc/src/bilateral_filter.cpp _dst.create(src.size(), src.type()); src 96 modules/cudaimgproc/src/bilateral_filter.cpp func(src, dst, kernel_size, sigma_spatial, sigma_color, borderMode, StreamAccessor::getStream(stream)); src 69 modules/cudaimgproc/src/color.cpp void Bayer2BGR_8u_gpu(PtrStepSzb src, PtrStepSzb dst, bool blue_last, bool start_with_green, cudaStream_t stream); src 71 modules/cudaimgproc/src/color.cpp void Bayer2BGR_16u_gpu(PtrStepSzb src, PtrStepSzb dst, bool blue_last, bool start_with_green, cudaStream_t stream); src 74 modules/cudaimgproc/src/color.cpp void MHCdemosaic(PtrStepSzb src, int2 sourceOffset, PtrStepSzb dst, int2 firstRed, cudaStream_t stream); src 89 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 91 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 92 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); src 94 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 3)); src 97 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); src 105 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 107 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 108 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); src 110 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 4)); src 113 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); src 121 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 123 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 124 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); src 126 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 4)); src 129 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); src 137 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 139 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 140 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); src 142 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 3)); src 145 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); src 153 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 155 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 156 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); src 158 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 3)); src 161 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); src 169 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 171 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 172 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); src 174 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 4)); src 177 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); src 182 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 184 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 185 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); src 187 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); src 190 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR_to_BGR555(src, dst, stream); src 195 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 197 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 198 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); src 200 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); src 203 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR_to_BGR565(src, dst, stream); src 208 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 210 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 211 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); src 213 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); src 216 modules/cudaimgproc/src/color.cpp cv::cuda::device::RGB_to_BGR555(src, dst, stream); src 221 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 223 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 224 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); src 226 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); src 229 modules/cudaimgproc/src/color.cpp cv::cuda::device::RGB_to_BGR565(src, dst, stream); src 234 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 236 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 237 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); src 239 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); src 242 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGRA_to_BGR555(src, dst, stream); src 247 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 249 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 250 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); src 252 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); src 255 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGRA_to_BGR565(src, dst, stream); src 260 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 262 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 263 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); src 265 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); src 268 modules/cudaimgproc/src/color.cpp cv::cuda::device::RGBA_to_BGR555(src, dst, stream); src 273 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 275 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 276 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); src 278 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); src 281 modules/cudaimgproc/src/color.cpp cv::cuda::device::RGBA_to_BGR565(src, dst, stream); src 286 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 288 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 289 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); src 291 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC3); src 294 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR555_to_RGB(src, dst, stream); src 299 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 301 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 302 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); src 304 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC3); src 307 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR565_to_RGB(src, dst, stream); src 312 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 314 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 315 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); src 317 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC3); src 320 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR555_to_BGR(src, dst, stream); src 325 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 327 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 328 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); src 330 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC3); src 333 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR565_to_BGR(src, dst, stream); src 338 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 340 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 341 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); src 343 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC4); src 346 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR555_to_RGBA(src, dst, stream); src 351 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 353 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 354 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); src 356 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC4); src 359 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR565_to_RGBA(src, dst, stream); src 364 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 366 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 367 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); src 369 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC4); src 372 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR555_to_BGRA(src, dst, stream); src 377 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 379 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 380 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); src 382 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC4); src 385 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR565_to_BGRA(src, dst, stream); src 393 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 395 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 396 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 1 ); src 398 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 3)); src 401 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); src 409 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 411 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 412 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 1 ); src 414 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKETYPE(src.depth(), 4)); src 417 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); src 422 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 424 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 425 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 1 ); src 427 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); src 430 modules/cudaimgproc/src/color.cpp cv::cuda::device::GRAY_to_BGR555(src, dst, stream); src 435 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 437 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 438 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 1 ); src 440 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); src 443 modules/cudaimgproc/src/color.cpp cv::cuda::device::GRAY_to_BGR565(src, dst, stream); src 448 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 450 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 451 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); src 453 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC1); src 456 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR555_to_GRAY(src, dst, stream); src 461 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 463 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U ); src 464 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); src 466 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC1); src 469 modules/cudaimgproc/src/color.cpp cv::cuda::device::BGR565_to_GRAY(src, dst, stream); src 477 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 479 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 480 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); src 482 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 1)); src 485 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); src 493 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 495 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 496 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); src 498 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 1)); src 501 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); src 509 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 511 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 512 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); src 514 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 1)); src 517 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); src 525 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 527 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 528 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); src 530 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 1)); src 533 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, stream); src 553 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 555 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 556 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 559 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 562 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 582 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 584 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 585 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 588 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 591 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 611 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 613 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 614 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 617 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 620 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 640 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 642 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 643 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 646 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 649 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 669 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 671 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 672 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 675 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 678 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 698 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 700 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 701 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 704 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 707 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 727 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 729 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 730 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 733 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 736 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 756 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 758 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 759 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 762 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 765 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 785 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 787 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 788 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 791 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 794 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 814 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 816 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 817 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 820 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 823 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 843 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 845 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 846 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 849 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 852 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 872 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 874 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 875 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 878 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 881 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 901 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 903 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 904 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 907 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 910 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 930 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 932 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 933 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 936 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 939 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 959 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 961 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 962 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 965 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 968 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 988 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 990 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 991 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 994 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 997 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 1017 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1019 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1020 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1023 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1026 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 1046 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1048 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1049 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1052 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1055 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 1075 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1077 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1078 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1081 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1084 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 1104 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1106 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1107 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1110 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1113 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 1133 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1135 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1136 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1139 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1142 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 1162 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1164 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1165 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1168 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1171 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 1191 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1193 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1194 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1197 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1200 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 1220 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1222 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1223 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1226 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1229 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 1249 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1251 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1252 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1255 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1258 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 1278 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1280 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1281 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1284 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1287 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 1307 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1309 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1310 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1313 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1316 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 1336 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1338 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1339 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1342 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1345 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); src 1365 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1367 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1368 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1371 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1374 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); src 1394 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1396 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1397 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1400 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1403 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); src 1423 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1425 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1426 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1429 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1432 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); src 1452 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1454 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1455 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1458 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1461 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); src 1481 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1483 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1484 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1487 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1490 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); src 1510 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1512 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1513 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1516 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1519 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); src 1539 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1541 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1542 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1545 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1548 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); src 1568 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1570 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1571 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1574 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1577 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); src 1597 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1599 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1600 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1603 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1606 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); src 1626 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1628 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1629 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1632 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1635 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); src 1655 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1657 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1658 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1661 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1664 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); src 1684 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1686 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1687 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1690 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1693 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); src 1713 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1715 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1716 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1719 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1722 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); src 1742 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1744 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1745 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1748 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1751 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); src 1771 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1773 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1774 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1777 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1780 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); src 1800 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1802 modules/cudaimgproc/src/color.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_32F ); src 1803 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); src 1806 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1809 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); src 1820 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1822 modules/cudaimgproc/src/color.cpp CV_Assert( src.type() == CV_8UC4 || src.type() == CV_16UC4 ); src 1824 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), src.type()); src 1831 modules/cudaimgproc/src/color.cpp oSizeROI.width = src.cols; src 1832 modules/cudaimgproc/src/color.cpp oSizeROI.height = src.rows; src 1834 modules/cudaimgproc/src/color.cpp if (src.depth() == CV_8U) src 1835 modules/cudaimgproc/src/color.cpp nppSafeCall( nppiAlphaPremul_8u_AC4R(src.ptr<Npp8u>(), static_cast<int>(src.step), dst.ptr<Npp8u>(), static_cast<int>(dst.step), oSizeROI) ); src 1837 modules/cudaimgproc/src/color.cpp nppSafeCall( nppiAlphaPremul_16u_AC4R(src.ptr<Npp16u>(), static_cast<int>(src.step), dst.ptr<Npp16u>(), static_cast<int>(dst.step), oSizeROI) ); src 1846 modules/cudaimgproc/src/color.cpp typedef void (*func_t)(PtrStepSzb src, PtrStepSzb dst, bool blue_last, bool start_with_green, cudaStream_t stream); src 1856 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1858 modules/cudaimgproc/src/color.cpp CV_Assert( src.type() == CV_8UC1 || src.type() == CV_16UC1 ); src 1859 modules/cudaimgproc/src/color.cpp CV_Assert( src.rows > 2 && src.cols > 2 ); src 1862 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); src 1865 modules/cudaimgproc/src/color.cpp funcs[src.depth()][dcn - 1](src, dst, blue_last, start_with_green, StreamAccessor::getStream(stream)); src 1867 modules/cudaimgproc/src/color.cpp void bayerBG_to_BGR(InputArray src, OutputArray dst, int dcn, Stream& stream) src 1869 modules/cudaimgproc/src/color.cpp bayer_to_BGR(src, dst, dcn, false, false, stream); src 1871 modules/cudaimgproc/src/color.cpp void bayeRGB_to_BGR(InputArray src, OutputArray dst, int dcn, Stream& stream) src 1873 modules/cudaimgproc/src/color.cpp bayer_to_BGR(src, dst, dcn, false, true, stream); src 1875 modules/cudaimgproc/src/color.cpp void bayerRG_to_BGR(InputArray src, OutputArray dst, int dcn, Stream& stream) src 1877 modules/cudaimgproc/src/color.cpp bayer_to_BGR(src, dst, dcn, true, false, stream); src 1879 modules/cudaimgproc/src/color.cpp void bayerGR_to_BGR(InputArray src, OutputArray dst, int dcn, Stream& stream) src 1881 modules/cudaimgproc/src/color.cpp bayer_to_BGR(src, dst, dcn, true, true, stream); src 1886 modules/cudaimgproc/src/color.cpp typedef void (*func_t)(PtrStepSzb src, PtrStepSzb dst, bool blue_last, bool start_with_green, cudaStream_t stream); src 1894 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 1896 modules/cudaimgproc/src/color.cpp CV_Assert( src.type() == CV_8UC1 || src.type() == CV_16UC1 ); src 1897 modules/cudaimgproc/src/color.cpp CV_Assert( src.rows > 2 && src.cols > 2 ); src 1899 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 1)); src 1902 modules/cudaimgproc/src/color.cpp funcs[src.depth()](src, dst, blue_last, start_with_green, StreamAccessor::getStream(stream)); src 1904 modules/cudaimgproc/src/color.cpp void bayerBG_to_gray(InputArray src, OutputArray dst, int /*dcn*/, Stream& stream) src 1906 modules/cudaimgproc/src/color.cpp bayer_to_gray(src, dst, false, false, stream); src 1908 modules/cudaimgproc/src/color.cpp void bayeRGB_to_GRAY(InputArray src, OutputArray dst, int /*dcn*/, Stream& stream) src 1910 modules/cudaimgproc/src/color.cpp bayer_to_gray(src, dst, false, true, stream); src 1912 modules/cudaimgproc/src/color.cpp void bayerRG_to_gray(InputArray src, OutputArray dst, int /*dcn*/, Stream& stream) src 1914 modules/cudaimgproc/src/color.cpp bayer_to_gray(src, dst, true, false, stream); src 1916 modules/cudaimgproc/src/color.cpp void bayerGR_to_gray(InputArray src, OutputArray dst, int /*dcn*/, Stream& stream) src 1918 modules/cudaimgproc/src/color.cpp bayer_to_gray(src, dst, true, true, stream); src 1925 modules/cudaimgproc/src/color.cpp void cv::cuda::cvtColor(InputArray src, OutputArray dst, int code, int dcn, Stream& stream) src 1927 modules/cudaimgproc/src/color.cpp typedef void (*func_t)(InputArray src, OutputArray dst, int dcn, Stream& stream); src 2105 modules/cudaimgproc/src/color.cpp func(src, dst, dcn, stream); src 2129 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 2133 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 1 ); src 2143 modules/cudaimgproc/src/color.cpp src.locateROI(wholeSize, ofs); src 2144 modules/cudaimgproc/src/color.cpp PtrStepSzb srcWhole(wholeSize.height, wholeSize.width, src.datastart, src.step); src 2159 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 2171 modules/cudaimgproc/src/color.cpp src.locateROI(wholeSize, ofs); src 2172 modules/cudaimgproc/src/color.cpp PtrStepSzb srcWhole(wholeSize.height, wholeSize.width, src.datastart, src.step); src 2235 modules/cudaimgproc/src/color.cpp GpuMat src = _src.getGpuMat(); src 2237 modules/cudaimgproc/src/color.cpp CV_Assert( src.type() == CV_8UC3 || src.type() == CV_8UC4 ); src 2239 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), src.type()); src 2245 modules/cudaimgproc/src/color.cpp oSizeROI.width = src.cols; src 2246 modules/cudaimgproc/src/color.cpp oSizeROI.height = src.rows; src 2248 modules/cudaimgproc/src/color.cpp if (dst.data == src.data) src 2249 modules/cudaimgproc/src/color.cpp funcs_inplace[forward][src.channels()](dst.ptr<Npp8u>(), static_cast<int>(src.step), oSizeROI); src 2251 modules/cudaimgproc/src/color.cpp funcs[forward][src.channels()](src.ptr<Npp8u>(), static_cast<int>(src.step), dst.ptr<Npp8u>(), static_cast<int>(dst.step), oSizeROI); src 71 modules/cudaimgproc/src/corners.cpp void extractCovData(const GpuMat& src, Stream& stream); src 115 modules/cudaimgproc/src/corners.cpp void CornerBase::extractCovData(const GpuMat& src, Stream& stream) src 117 modules/cudaimgproc/src/corners.cpp CV_Assert( src.type() == srcType_ ); src 118 modules/cudaimgproc/src/corners.cpp filterDx_->apply(src, Dx_, stream); src 119 modules/cudaimgproc/src/corners.cpp filterDy_->apply(src, Dy_, stream); src 130 modules/cudaimgproc/src/corners.cpp void compute(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 140 modules/cudaimgproc/src/corners.cpp GpuMat src = _src.getGpuMat(); src 142 modules/cudaimgproc/src/corners.cpp extractCovData(src, stream); src 144 modules/cudaimgproc/src/corners.cpp _dst.create(src.size(), CV_32FC1); src 158 modules/cudaimgproc/src/corners.cpp void compute(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 168 modules/cudaimgproc/src/corners.cpp GpuMat src = _src.getGpuMat(); src 170 modules/cudaimgproc/src/corners.cpp extractCovData(src, stream); src 172 modules/cudaimgproc/src/corners.cpp _dst.create(src.size(), CV_32FC1); src 144 modules/cudaimgproc/src/generalized_hough.cpp void calcEdges(InputArray src, GpuMat& edges, GpuMat& dx, GpuMat& dy); src 182 modules/cudaimgproc/src/generalized_hough.cpp GpuMat src = _src.getGpuMat(); src 184 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( src.type() == CV_8UC1 ); src 187 modules/cudaimgproc/src/generalized_hough.cpp ensureSizeIsEnough(src.size(), CV_32SC1, dx); src 188 modules/cudaimgproc/src/generalized_hough.cpp ensureSizeIsEnough(src.size(), CV_32SC1, dy); src 190 modules/cudaimgproc/src/generalized_hough.cpp filterDx_->apply(src, dx); src 191 modules/cudaimgproc/src/generalized_hough.cpp filterDy_->apply(src, dy); src 193 modules/cudaimgproc/src/generalized_hough.cpp ensureSizeIsEnough(src.size(), CV_8UC1, edges); src 71 modules/cudaimgproc/src/histogram.cpp void histogram256(PtrStepSzb src, int* hist, cudaStream_t stream); src 76 modules/cudaimgproc/src/histogram.cpp GpuMat src = _src.getGpuMat(); src 78 modules/cudaimgproc/src/histogram.cpp CV_Assert( src.type() == CV_8UC1 ); src 85 modules/cudaimgproc/src/histogram.cpp hist::histogram256(src, hist.ptr<int>(), StreamAccessor::getStream(stream)); src 93 modules/cudaimgproc/src/histogram.cpp void equalizeHist(PtrStepSzb src, PtrStepSzb dst, const int* lut, cudaStream_t stream); src 98 modules/cudaimgproc/src/histogram.cpp GpuMat src = _src.getGpuMat(); src 100 modules/cudaimgproc/src/histogram.cpp CV_Assert( src.type() == CV_8UC1 ); src 102 modules/cudaimgproc/src/histogram.cpp _dst.create(src.size(), src.type()); src 117 modules/cudaimgproc/src/histogram.cpp cuda::calcHist(src, hist, _stream); src 124 modules/cudaimgproc/src/histogram.cpp hist::equalizeHist(src, dst, lut.ptr<int>(), stream); src 132 modules/cudaimgproc/src/histogram.cpp void calcLut(PtrStepSzb src, PtrStepb lut, int tilesX, int tilesY, int2 tileSize, int clipLimit, float lutScale, cudaStream_t stream); src 133 modules/cudaimgproc/src/histogram.cpp void transform(PtrStepSzb src, PtrStepSzb dst, PtrStepb lut, int tilesX, int tilesY, int2 tileSize, cudaStream_t stream); src 143 modules/cudaimgproc/src/histogram.cpp void apply(cv::InputArray src, cv::OutputArray dst); src 144 modules/cudaimgproc/src/histogram.cpp void apply(InputArray src, OutputArray dst, Stream& stream); src 175 modules/cudaimgproc/src/histogram.cpp GpuMat src = _src.getGpuMat(); src 177 modules/cudaimgproc/src/histogram.cpp CV_Assert( src.type() == CV_8UC1 ); src 179 modules/cudaimgproc/src/histogram.cpp _dst.create( src.size(), src.type() ); src 191 modules/cudaimgproc/src/histogram.cpp if (src.cols % tilesX_ == 0 && src.rows % tilesY_ == 0) src 193 modules/cudaimgproc/src/histogram.cpp tileSize = cv::Size(src.cols / tilesX_, src.rows / tilesY_); src 194 modules/cudaimgproc/src/histogram.cpp srcForLut = src; src 201 modules/cudaimgproc/src/histogram.cpp cv::cuda::copyMakeBorder(src, srcExt_, 0, tilesY_ - (src.rows % tilesY_), 0, tilesX_ - (src.cols % tilesX_), cv::BORDER_REFLECT_101, cv::Scalar(), s); src 220 modules/cudaimgproc/src/histogram.cpp clahe::transform(src, dst, lut_, tilesX_, tilesY_, make_int2(tileSize.width, tileSize.height), stream); src 284 modules/cudaimgproc/src/histogram.cpp static void hist(const GpuMat& src, OutputArray _hist, int histSize, int lowerLevel, int upperLevel, Stream& stream) src 292 modules/cudaimgproc/src/histogram.cpp sz.width = src.cols; src 293 modules/cudaimgproc/src/histogram.cpp sz.height = src.rows; src 303 modules/cudaimgproc/src/histogram.cpp nppSafeCall( func(src.ptr<src_t>(), static_cast<int>(src.step), sz, hist.ptr<Npp32s>(), levels, src 315 modules/cudaimgproc/src/histogram.cpp static void hist(const GpuMat& src, GpuMat hist[4], int histSize[4], int lowerLevel[4], int upperLevel[4], Stream& stream) src 324 modules/cudaimgproc/src/histogram.cpp sz.width = src.cols; src 325 modules/cudaimgproc/src/histogram.cpp sz.height = src.rows; src 337 modules/cudaimgproc/src/histogram.cpp nppSafeCall( func(src.ptr<src_t>(), static_cast<int>(src.step), sz, pHist, levels, lowerLevel, upperLevel, buf.ptr<Npp8u>()) ); src 388 modules/cudaimgproc/src/histogram.cpp static void hist(const GpuMat& src, OutputArray _hist, const GpuMat& levels, Stream& stream) src 396 modules/cudaimgproc/src/histogram.cpp sz.width = src.cols; src 397 modules/cudaimgproc/src/histogram.cpp sz.height = src.rows; src 407 modules/cudaimgproc/src/histogram.cpp nppSafeCall( func(src.ptr<src_t>(), static_cast<int>(src.step), sz, hist.ptr<Npp32s>(), levels.ptr<level_t>(), levels.cols, buf.ptr<Npp8u>()) ); src 420 modules/cudaimgproc/src/histogram.cpp static void hist(const GpuMat& src, GpuMat hist[4], const GpuMat levels[4], Stream& stream) src 437 modules/cudaimgproc/src/histogram.cpp sz.width = src.cols; src 438 modules/cudaimgproc/src/histogram.cpp sz.height = src.rows; src 448 modules/cudaimgproc/src/histogram.cpp nppSafeCall( func(src.ptr<src_t>(), static_cast<int>(src.step), sz, pHist, pLevels, nLevels, buf.ptr<Npp8u>()) ); src 476 modules/cudaimgproc/src/histogram.cpp void histEven8u(PtrStepSzb src, int* hist, int binCount, int lowerLevel, int upperLevel, cudaStream_t stream); src 481 modules/cudaimgproc/src/histogram.cpp void histEven8u(const GpuMat& src, GpuMat& hist, int histSize, int lowerLevel, int upperLevel, cudaStream_t stream) src 485 modules/cudaimgproc/src/histogram.cpp hist::histEven8u(src, hist.ptr<int>(), histSize, lowerLevel, upperLevel, stream); src 491 modules/cudaimgproc/src/histogram.cpp typedef void (*hist_t)(const GpuMat& src, OutputArray hist, int levels, int lowerLevel, int upperLevel, Stream& stream); src 500 modules/cudaimgproc/src/histogram.cpp GpuMat src = _src.getGpuMat(); src 502 modules/cudaimgproc/src/histogram.cpp if (src.depth() == CV_8U && deviceSupports(FEATURE_SET_COMPUTE_30)) src 504 modules/cudaimgproc/src/histogram.cpp histEven8u(src, hist.getGpuMatRef(), histSize, lowerLevel, upperLevel, StreamAccessor::getStream(stream)); src 508 modules/cudaimgproc/src/histogram.cpp CV_Assert( src.type() == CV_8UC1 || src.type() == CV_16UC1 || src.type() == CV_16SC1 ); src 510 modules/cudaimgproc/src/histogram.cpp hist_callers[src.depth()](src, hist, histSize, lowerLevel, upperLevel, stream); src 515 modules/cudaimgproc/src/histogram.cpp typedef void (*hist_t)(const GpuMat& src, GpuMat hist[4], int levels[4], int lowerLevel[4], int upperLevel[4], Stream& stream); src 524 modules/cudaimgproc/src/histogram.cpp GpuMat src = _src.getGpuMat(); src 526 modules/cudaimgproc/src/histogram.cpp CV_Assert( src.type() == CV_8UC4 || src.type() == CV_16UC4 || src.type() == CV_16SC4 ); src 528 modules/cudaimgproc/src/histogram.cpp hist_callers[src.depth()](src, hist, histSize, lowerLevel, upperLevel, stream); src 533 modules/cudaimgproc/src/histogram.cpp typedef void (*hist_t)(const GpuMat& src, OutputArray hist, const GpuMat& levels, Stream& stream); src 544 modules/cudaimgproc/src/histogram.cpp GpuMat src = _src.getGpuMat(); src 547 modules/cudaimgproc/src/histogram.cpp CV_Assert( src.type() == CV_8UC1 || src.type() == CV_16UC1 || src.type() == CV_16SC1 || src.type() == CV_32FC1 ); src 549 modules/cudaimgproc/src/histogram.cpp hist_callers[src.depth()](src, hist, levels, stream); src 554 modules/cudaimgproc/src/histogram.cpp typedef void (*hist_t)(const GpuMat& src, GpuMat hist[4], const GpuMat levels[4], Stream& stream); src 565 modules/cudaimgproc/src/histogram.cpp GpuMat src = _src.getGpuMat(); src 567 modules/cudaimgproc/src/histogram.cpp CV_Assert( src.type() == CV_8UC4 || src.type() == CV_16UC4 || src.type() == CV_16SC4 || src.type() == CV_32FC4 ); src 569 modules/cudaimgproc/src/histogram.cpp hist_callers[src.depth()](src, hist, levels, stream); src 58 modules/cudaimgproc/src/hough_circles.cpp int buildPointList_gpu(PtrStepSzb src, unsigned int* list); src 77 modules/cudaimgproc/src/hough_circles.cpp void detect(InputArray src, OutputArray circles, Stream& stream); src 165 modules/cudaimgproc/src/hough_circles.cpp GpuMat src = _src.getGpuMat(); src 167 modules/cudaimgproc/src/hough_circles.cpp CV_Assert( src.type() == CV_8UC1 ); src 168 modules/cudaimgproc/src/hough_circles.cpp CV_Assert( src.cols < std::numeric_limits<unsigned short>::max() ); src 169 modules/cudaimgproc/src/hough_circles.cpp CV_Assert( src.rows < std::numeric_limits<unsigned short>::max() ); src 178 modules/cudaimgproc/src/hough_circles.cpp filterDx_->apply(src, dx_); src 179 modules/cudaimgproc/src/hough_circles.cpp filterDy_->apply(src, dy_); src 186 modules/cudaimgproc/src/hough_circles.cpp ensureSizeIsEnough(2, src.size().area(), CV_32SC1, list_); src 197 modules/cudaimgproc/src/hough_circles.cpp ensureSizeIsEnough(cvCeil(src.rows * idp) + 2, cvCeil(src.cols * idp) + 2, CV_32SC1, accum_); src 223 modules/cudaimgproc/src/hough_circles.cpp const int gridWidth = (src.cols + cellSize - 1) / cellSize; src 224 modules/cudaimgproc/src/hough_circles.cpp const int gridHeight = (src.rows + cellSize - 1) / cellSize; src 58 modules/cudaimgproc/src/hough_lines.cpp int buildPointList_gpu(PtrStepSzb src, unsigned int* list); src 78 modules/cudaimgproc/src/hough_lines.cpp void detect(InputArray src, OutputArray lines, Stream& stream); src 136 modules/cudaimgproc/src/hough_lines.cpp GpuMat src = _src.getGpuMat(); src 138 modules/cudaimgproc/src/hough_lines.cpp CV_Assert( src.type() == CV_8UC1 ); src 139 modules/cudaimgproc/src/hough_lines.cpp CV_Assert( src.cols < std::numeric_limits<unsigned short>::max() ); src 140 modules/cudaimgproc/src/hough_lines.cpp CV_Assert( src.rows < std::numeric_limits<unsigned short>::max() ); src 142 modules/cudaimgproc/src/hough_lines.cpp ensureSizeIsEnough(1, src.size().area(), CV_32SC1, list_); src 145 modules/cudaimgproc/src/hough_lines.cpp const int pointsCount = buildPointList_gpu(src, srcPoints); src 153 modules/cudaimgproc/src/hough_lines.cpp const int numrho = cvRound(((src.cols + src.rows) * 2 + 1) / rho_); src 58 modules/cudaimgproc/src/hough_segments.cpp int buildPointList_gpu(PtrStepSzb src, unsigned int* list); src 82 modules/cudaimgproc/src/hough_segments.cpp void detect(InputArray src, OutputArray lines, Stream& stream); src 140 modules/cudaimgproc/src/hough_segments.cpp GpuMat src = _src.getGpuMat(); src 142 modules/cudaimgproc/src/hough_segments.cpp CV_Assert( src.type() == CV_8UC1 ); src 143 modules/cudaimgproc/src/hough_segments.cpp CV_Assert( src.cols < std::numeric_limits<unsigned short>::max() ); src 144 modules/cudaimgproc/src/hough_segments.cpp CV_Assert( src.rows < std::numeric_limits<unsigned short>::max() ); src 146 modules/cudaimgproc/src/hough_segments.cpp ensureSizeIsEnough(1, src.size().area(), CV_32SC1, list_); src 149 modules/cudaimgproc/src/hough_segments.cpp const int pointsCount = buildPointList_gpu(src, srcPoints); src 157 modules/cudaimgproc/src/hough_segments.cpp const int numrho = cvRound(((src.cols + src.rows) * 2 + 1) / rho_); src 168 modules/cudaimgproc/src/hough_segments.cpp int linesCount = houghLinesProbabilistic_gpu(src, accum_, result_.ptr<int4>(), maxLines_, rho_, theta_, maxLineGap_, minLineLength_); src 62 modules/cudaimgproc/src/mean_shift.cpp void meanShiftFiltering_gpu(const PtrStepSzb& src, PtrStepSzb dst, int sp, int sr, int maxIter, float eps, cudaStream_t stream); src 70 modules/cudaimgproc/src/mean_shift.cpp GpuMat src = _src.getGpuMat(); src 72 modules/cudaimgproc/src/mean_shift.cpp CV_Assert( src.type() == CV_8UC4 ); src 74 modules/cudaimgproc/src/mean_shift.cpp _dst.create(src.size(), CV_8UC4); src 87 modules/cudaimgproc/src/mean_shift.cpp meanShiftFiltering_gpu(src, dst, sp, sr, maxIter, eps, StreamAccessor::getStream(stream)); src 97 modules/cudaimgproc/src/mean_shift.cpp void meanShiftProc_gpu(const PtrStepSzb& src, PtrStepSzb dstr, PtrStepSzb dstsp, int sp, int sr, int maxIter, float eps, cudaStream_t stream); src 105 modules/cudaimgproc/src/mean_shift.cpp GpuMat src = _src.getGpuMat(); src 107 modules/cudaimgproc/src/mean_shift.cpp CV_Assert( src.type() == CV_8UC4 ); src 109 modules/cudaimgproc/src/mean_shift.cpp _dstr.create(src.size(), CV_8UC4); src 110 modules/cudaimgproc/src/mean_shift.cpp _dstsp.create(src.size(), CV_16SC2); src 125 modules/cudaimgproc/src/mean_shift.cpp meanShiftProc_gpu(src, dstr, dstsp, sp, sr, maxIter, eps, StreamAccessor::getStream(stream)); src 227 modules/cudaimgproc/src/mssegmentation.cpp GpuMat src = _src.getGpuMat(); src 229 modules/cudaimgproc/src/mssegmentation.cpp CV_Assert( src.type() == CV_8UC4 ); src 231 modules/cudaimgproc/src/mssegmentation.cpp const int nrows = src.rows; src 232 modules/cudaimgproc/src/mssegmentation.cpp const int ncols = src.cols; src 238 modules/cudaimgproc/src/mssegmentation.cpp cuda::meanShiftProc(src, d_rmap, d_spmap, sp, sr, criteria, stream); src 358 modules/cudaimgproc/src/mssegmentation.cpp Mat h_src(src); src 375 modules/cudaimgproc/src/mssegmentation.cpp _dst.create(src.size(), src.type()); src 77 modules/cudaimgproc/test/test_bilateral_filter.cpp cv::Mat src = randomMat(size, type); src 79 modules/cudaimgproc/test/test_bilateral_filter.cpp src.convertTo(src, type); src 82 modules/cudaimgproc/test/test_bilateral_filter.cpp cv::cuda::bilateralFilter(loadMat(src), dst, kernel_size, sigma_color, sigma_spatial); src 85 modules/cudaimgproc/test/test_bilateral_filter.cpp cv::bilateralFilter(src, dst_gold, kernel_size, sigma_color, sigma_spatial); src 87 modules/cudaimgproc/test/test_bilateral_filter.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() == CV_32F ? 1e-3 : 1.0); src 76 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 79 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2RGB); src 82 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2RGB); src 89 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 92 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2RGBA); src 95 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2RGBA); src 102 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 105 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2BGRA); src 108 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2BGRA); src 115 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 116 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGRA); src 119 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGRA2RGB); src 122 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGRA2RGB); src 129 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 130 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGRA); src 133 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGRA2BGR); src 136 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGRA2BGR); src 143 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 144 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGRA); src 147 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGRA2RGBA); src 150 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGRA2RGBA); src 157 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 160 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2GRAY); src 163 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2GRAY); src 170 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 173 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2GRAY); src 176 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2GRAY); src 183 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 184 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2GRAY); src 187 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_GRAY2BGR); src 190 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_GRAY2BGR); src 197 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 198 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2GRAY); src 201 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_GRAY2BGRA, 4); src 204 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_GRAY2BGRA, 4); src 211 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 212 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGRA); src 215 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGRA2GRAY); src 218 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGRA2GRAY); src 225 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 226 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); src 229 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGBA2GRAY); src 232 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGBA2GRAY); src 242 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 245 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2BGR565); src 248 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2BGR565); src 258 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 261 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2BGR565); src 264 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2BGR565); src 274 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 275 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR565); src 278 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5652BGR); src 281 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5652BGR); src 291 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 292 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR565); src 295 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5652RGB); src 298 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5652RGB); src 308 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 309 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGRA); src 312 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGRA2BGR565); src 315 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGRA2BGR565); src 325 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 326 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); src 329 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGBA2BGR565); src 332 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGBA2BGR565); src 342 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 343 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR565); src 346 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5652BGRA, 4); src 349 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5652BGRA, 4); src 359 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 360 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR565); src 363 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5652RGBA, 4); src 366 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5652RGBA, 4); src 376 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 377 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2GRAY); src 380 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_GRAY2BGR565); src 383 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_GRAY2BGR565); src 393 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 394 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR565); src 397 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5652GRAY); src 400 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5652GRAY); src 410 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 413 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2BGR555); src 416 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2BGR555); src 426 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 429 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2BGR555); src 432 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2BGR555); src 442 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 443 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR555); src 446 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5552BGR); src 449 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5552BGR); src 459 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 460 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR555); src 463 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5552RGB); src 466 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5552RGB); src 476 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 477 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGRA); src 480 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGRA2BGR555); src 483 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGRA2BGR555); src 493 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 494 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); src 497 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGBA2BGR555); src 500 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGBA2BGR555); src 510 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 511 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR555); src 514 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5552BGRA, 4); src 517 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5552BGRA, 4); src 527 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 528 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR555); src 531 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5552RGBA, 4); src 534 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5552RGBA, 4); src 544 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 545 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2GRAY); src 548 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_GRAY2BGR555); src 551 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_GRAY2BGR555); src 561 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 562 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGR555); src 565 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR5552GRAY); src 568 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR5552GRAY); src 575 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 578 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2XYZ); src 581 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2XYZ); src 588 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 591 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2XYZ); src 594 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2XYZ); src 601 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 604 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2XYZ, 4); src 609 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2XYZ); src 622 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 623 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2BGRA); src 626 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2XYZ, 4); src 631 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2XYZ); src 644 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 645 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2XYZ); src 648 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_XYZ2BGR); src 651 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_XYZ2BGR); src 658 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 659 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2XYZ); src 662 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_XYZ2RGB); src 665 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_XYZ2RGB); src 672 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 673 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2XYZ); src 676 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_XYZ2BGR); src 679 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); src 680 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); src 681 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); src 684 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_XYZ2BGR); src 691 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 692 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2XYZ); src 695 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_XYZ2BGR, 4); src 698 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); src 699 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); src 700 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); src 703 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_XYZ2BGR, 4); src 710 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 713 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2YCrCb); src 716 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2YCrCb); src 723 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 726 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2YCrCb); src 729 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2YCrCb); src 736 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 739 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2YCrCb, 4); src 744 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2YCrCb); src 757 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 758 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); src 761 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2YCrCb, 4); src 766 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2YCrCb); src 779 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 780 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2YCrCb); src 783 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_YCrCb2BGR); src 786 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_YCrCb2BGR); src 793 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 794 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2YCrCb); src 797 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_YCrCb2RGB); src 800 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_YCrCb2RGB); src 807 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 808 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2YCrCb); src 811 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_YCrCb2RGB); src 814 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); src 815 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); src 816 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); src 819 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_YCrCb2RGB); src 826 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 827 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2YCrCb); src 830 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_YCrCb2RGB, 4); src 833 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); src 834 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); src 835 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); src 838 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_YCrCb2RGB, 4); src 848 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 851 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2HSV); src 854 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2HSV); src 864 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 867 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HSV); src 870 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HSV); src 880 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 883 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HSV, 4); src 888 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HSV); src 904 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 905 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); src 908 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HSV, 4); src 913 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HSV); src 929 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 932 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2HLS); src 935 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2HLS); src 945 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 948 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HLS); src 951 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HLS); src 961 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 964 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HLS, 4); src 969 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HLS); src 985 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 986 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); src 989 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HLS, 4); src 994 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HLS); src 1010 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1011 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HSV); src 1014 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HSV2BGR); src 1017 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HSV2BGR); src 1027 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1028 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HSV); src 1031 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HSV2RGB); src 1034 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HSV2RGB); src 1044 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1045 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HSV); src 1048 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HSV2BGR); src 1051 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); src 1052 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); src 1053 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); src 1056 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HSV2BGR); src 1066 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1067 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HSV); src 1070 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HSV2BGR, 4); src 1073 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); src 1074 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); src 1075 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); src 1078 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HSV2BGR, 4); src 1088 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1089 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HLS); src 1092 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HLS2BGR); src 1095 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HLS2BGR); src 1105 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1106 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HLS); src 1109 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HLS2RGB); src 1112 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HLS2RGB); src 1122 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1123 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HLS); src 1126 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HLS2RGB); src 1129 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); src 1130 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); src 1131 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); src 1134 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HLS2RGB); src 1144 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1145 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HLS); src 1148 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HLS2RGB, 4); src 1151 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); src 1152 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); src 1153 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); src 1157 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HLS2RGB, 4); src 1167 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 1170 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2HSV_FULL); src 1173 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2HSV_FULL); src 1183 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 1186 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HSV_FULL); src 1189 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HSV_FULL); src 1199 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 1202 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HSV_FULL, 4); src 1207 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HSV_FULL); src 1223 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1224 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); src 1227 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HSV_FULL, 4); src 1232 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HSV_FULL); src 1248 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 1251 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2HLS_FULL); src 1254 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2HLS_FULL); src 1264 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 1267 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HLS_FULL); src 1270 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HLS_FULL); src 1280 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 1283 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HLS_FULL, 4); src 1288 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HLS_FULL); src 1304 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1305 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); src 1308 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2HLS_FULL, 4); src 1313 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2HLS_FULL); src 1329 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1330 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HSV_FULL); src 1333 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HSV2BGR_FULL); src 1336 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HSV2BGR_FULL); src 1346 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1347 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HSV_FULL); src 1350 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HSV2RGB_FULL); src 1353 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HSV2RGB_FULL); src 1363 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1364 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HSV_FULL); src 1367 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HSV2RGB_FULL); src 1370 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); src 1371 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); src 1372 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); src 1375 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HSV2RGB_FULL); src 1385 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1386 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HSV_FULL); src 1389 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HSV2RGB_FULL, 4); src 1392 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); src 1393 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); src 1394 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); src 1397 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HSV2RGB_FULL, 4); src 1407 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1408 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HLS_FULL); src 1411 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HLS2BGR_FULL); src 1414 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HLS2BGR_FULL); src 1424 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1425 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HLS_FULL); src 1428 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HLS2RGB_FULL); src 1431 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HLS2RGB_FULL); src 1441 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1442 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HLS_FULL); src 1445 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HLS2RGB_FULL); src 1448 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); src 1449 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); src 1450 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); src 1453 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HLS2RGB_FULL); src 1463 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1464 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2HLS_FULL); src 1467 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_HLS2RGB_FULL, 4); src 1470 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); src 1471 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); src 1472 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); src 1475 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_HLS2RGB_FULL, 4); src 1482 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 1485 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2YUV); src 1488 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2YUV); src 1495 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 1498 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2YUV); src 1501 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2YUV); src 1508 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1509 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2YUV); src 1512 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_YUV2BGR); src 1515 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_YUV2BGR); src 1522 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1523 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2YUV); src 1526 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_YUV2BGR); src 1529 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); src 1530 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); src 1531 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); src 1534 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_YUV2BGR); src 1541 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1542 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2YUV); src 1545 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_YUV2BGR, 4); src 1548 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); src 1549 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); src 1550 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); src 1553 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_YUV2BGR, 4); src 1560 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1561 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_RGB2YUV); src 1564 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_YUV2RGB); src 1567 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_YUV2RGB); src 1574 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 1577 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2YUV, 4); src 1582 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2YUV); src 1595 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1596 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); src 1599 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2YUV, 4); src 1604 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2YUV); src 1620 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 1623 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2Lab); src 1626 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2Lab); src 1636 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 1639 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2Lab); src 1642 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2Lab); src 1652 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1653 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); src 1656 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2Lab, 4); src 1661 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2Lab); src 1677 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 1680 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_LBGR2Lab); src 1683 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_LBGR2Lab); src 1693 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 1696 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_LRGB2Lab); src 1699 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_LRGB2Lab); src 1709 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1710 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); src 1713 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_LBGR2Lab, 4); src 1718 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_LBGR2Lab); src 1734 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1735 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Lab); src 1738 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Lab2BGR); src 1741 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Lab2BGR); src 1751 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1752 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Lab); src 1755 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Lab2RGB); src 1758 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Lab2RGB); src 1768 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1769 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Lab); src 1772 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Lab2BGR, 4); src 1777 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Lab2BGR, 4); src 1787 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1788 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Lab); src 1791 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Lab2LBGR); src 1794 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Lab2LBGR); src 1804 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1805 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Lab); src 1808 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Lab2LRGB); src 1811 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Lab2LRGB); src 1821 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1822 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Lab); src 1825 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Lab2LRGB, 4); src 1828 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Lab2LRGB, 4); src 1838 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 1841 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2Luv); src 1844 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2Luv); src 1854 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 1857 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGB2Luv); src 1860 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGB2Luv); src 1870 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1871 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); src 1874 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BGR2Luv, 4); src 1879 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGR2Luv); src 1895 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 1898 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_LBGR2Luv); src 1901 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_LBGR2Luv); src 1911 modules/cudaimgproc/test/test_color.cpp cv::Mat src = img; src 1914 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_LRGB2Luv); src 1917 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_LRGB2Luv); src 1927 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1928 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2RGBA); src 1931 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_LBGR2Luv, 4); src 1936 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_LBGR2Luv); src 1952 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1953 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Luv); src 1956 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Luv2BGR); src 1959 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Luv2BGR); src 1969 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1970 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Luv); src 1973 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Luv2RGB); src 1976 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Luv2RGB); src 1986 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 1987 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Luv); src 1990 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Luv2BGR, 4); src 1995 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Luv2BGR, 4); src 2005 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 2006 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Luv); src 2009 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Luv2LBGR); src 2012 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Luv2LBGR); src 2022 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 2023 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Luv); src 2026 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Luv2LRGB); src 2029 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Luv2LRGB); src 2039 modules/cudaimgproc/test/test_color.cpp cv::Mat src; src 2040 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(img, src, cv::COLOR_BGR2Luv); src 2043 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_Luv2LRGB, 4); src 2046 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_Luv2LRGB, 4); src 2058 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, CV_MAKE_TYPE(depth, 4)); src 2060 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst = createMat(src.size(), src.type(), useRoi); src 2061 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_RGBA2mRGBA); src 2064 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_RGBA2mRGBA); src 2076 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); src 2079 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerBG2BGR); src 2082 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerBG2BGR); src 2092 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); src 2095 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerBG2BGR, 4); src 2100 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerBG2BGR); src 2115 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); src 2118 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerGB2BGR); src 2121 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerGB2BGR); src 2131 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); src 2134 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerGB2BGR, 4); src 2139 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerGB2BGR); src 2153 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); src 2156 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerRG2BGR); src 2159 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerRG2BGR); src 2169 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); src 2172 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerRG2BGR, 4); src 2177 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerRG2BGR); src 2191 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); src 2194 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerGR2BGR); src 2197 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerGR2BGR); src 2207 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); src 2210 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerGR2BGR, 4); src 2215 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerGR2BGR); src 2229 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); src 2232 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerBG2GRAY); src 2235 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerBG2GRAY); src 2245 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); src 2248 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerGB2GRAY); src 2251 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerGB2GRAY); src 2261 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); src 2264 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerRG2GRAY); src 2267 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerRG2GRAY); src 2277 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); src 2280 modules/cudaimgproc/test/test_color.cpp cv::cuda::cvtColor(loadMat(src, useRoi), dst, cv::COLOR_BayerGR2GRAY); src 2283 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BayerGR2GRAY); src 2308 modules/cudaimgproc/test/test_color.cpp static void mosaic(const cv::Mat_<cv::Vec3b>& src, cv::Mat_<uchar>& dst, cv::Point firstRed) src 2310 modules/cudaimgproc/test/test_color.cpp dst.create(src.size()); src 2312 modules/cudaimgproc/test/test_color.cpp for (int y = 0; y < src.rows; ++y) src 2314 modules/cudaimgproc/test/test_color.cpp for (int x = 0; x < src.cols; ++x) src 2316 modules/cudaimgproc/test/test_color.cpp cv::Vec3b pix = src(y, x); src 2362 modules/cudaimgproc/test/test_color.cpp cv::Mat_<uchar> src; src 2363 modules/cudaimgproc/test/test_color.cpp mosaic(img, src, cv::Point(1, 1)); src 2366 modules/cudaimgproc/test/test_color.cpp cv::cuda::demosaicing(loadMat(src), dst, cv::COLOR_BayerBG2BGR); src 2376 modules/cudaimgproc/test/test_color.cpp cv::Mat_<uchar> src; src 2377 modules/cudaimgproc/test/test_color.cpp mosaic(img, src, cv::Point(0, 1)); src 2380 modules/cudaimgproc/test/test_color.cpp cv::cuda::demosaicing(loadMat(src), dst, cv::COLOR_BayerGB2BGR); src 2390 modules/cudaimgproc/test/test_color.cpp cv::Mat_<uchar> src; src 2391 modules/cudaimgproc/test/test_color.cpp mosaic(img, src, cv::Point(0, 0)); src 2394 modules/cudaimgproc/test/test_color.cpp cv::cuda::demosaicing(loadMat(src), dst, cv::COLOR_BayerRG2BGR); src 2404 modules/cudaimgproc/test/test_color.cpp cv::Mat_<uchar> src; src 2405 modules/cudaimgproc/test/test_color.cpp mosaic(img, src, cv::Point(1, 0)); src 2408 modules/cudaimgproc/test/test_color.cpp cv::cuda::demosaicing(loadMat(src), dst, cv::COLOR_BayerGR2BGR); src 2418 modules/cudaimgproc/test/test_color.cpp cv::Mat_<uchar> src; src 2419 modules/cudaimgproc/test/test_color.cpp mosaic(img, src, cv::Point(1, 1)); src 2422 modules/cudaimgproc/test/test_color.cpp cv::cuda::demosaicing(loadMat(src), dst, cv::cuda::COLOR_BayerBG2BGR_MHT); src 2432 modules/cudaimgproc/test/test_color.cpp cv::Mat_<uchar> src; src 2433 modules/cudaimgproc/test/test_color.cpp mosaic(img, src, cv::Point(0, 1)); src 2436 modules/cudaimgproc/test/test_color.cpp cv::cuda::demosaicing(loadMat(src), dst, cv::cuda::COLOR_BayerGB2BGR_MHT); src 2446 modules/cudaimgproc/test/test_color.cpp cv::Mat_<uchar> src; src 2447 modules/cudaimgproc/test/test_color.cpp mosaic(img, src, cv::Point(0, 0)); src 2450 modules/cudaimgproc/test/test_color.cpp cv::cuda::demosaicing(loadMat(src), dst, cv::cuda::COLOR_BayerRG2BGR_MHT); src 2460 modules/cudaimgproc/test/test_color.cpp cv::Mat_<uchar> src; src 2461 modules/cudaimgproc/test/test_color.cpp mosaic(img, src, cv::Point(1, 0)); src 2464 modules/cudaimgproc/test/test_color.cpp cv::cuda::demosaicing(loadMat(src), dst, cv::cuda::COLOR_BayerGR2BGR_MHT); src 2492 modules/cudaimgproc/test/test_color.cpp cv::Mat src = readImageType("stereobm/aloe-L.png", CV_8UC4); src 2493 modules/cudaimgproc/test/test_color.cpp ASSERT_FALSE(src.empty()); src 2495 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat d_src = loadMat(src, useRoi); src 2501 modules/cudaimgproc/test/test_color.cpp cv::cvtColor(src, dst_gold, cv::COLOR_BGRA2RGBA); src 80 modules/cudaimgproc/test/test_corners.cpp cv::Mat src = readImageType("stereobm/aloe-L.png", type); src 81 modules/cudaimgproc/test/test_corners.cpp ASSERT_FALSE(src.empty()); src 85 modules/cudaimgproc/test/test_corners.cpp cv::Ptr<cv::cuda::CornernessCriteria> harris = cv::cuda::createHarrisCorner(src.type(), blockSize, apertureSize, k, borderType); src 88 modules/cudaimgproc/test/test_corners.cpp harris->compute(loadMat(src), dst); src 91 modules/cudaimgproc/test/test_corners.cpp cv::cornerHarris(src, dst_gold, blockSize, apertureSize, k, borderType); src 128 modules/cudaimgproc/test/test_corners.cpp cv::Mat src = readImageType("stereobm/aloe-L.png", type); src 129 modules/cudaimgproc/test/test_corners.cpp ASSERT_FALSE(src.empty()); src 131 modules/cudaimgproc/test/test_corners.cpp cv::Ptr<cv::cuda::CornernessCriteria> minEigenVal = cv::cuda::createMinEigenValCorner(src.type(), blockSize, apertureSize, borderType); src 134 modules/cudaimgproc/test/test_corners.cpp minEigenVal->compute(loadMat(src), dst); src 137 modules/cudaimgproc/test/test_corners.cpp cv::cornerMinEigenVal(src, dst_gold, blockSize, apertureSize, borderType); src 117 modules/cudaimgproc/test/test_gftt.cpp cv::cuda::GpuMat src(100, 100, CV_8UC1, cv::Scalar::all(0)); src 120 modules/cudaimgproc/test/test_gftt.cpp cv::Ptr<cv::cuda::CornersDetector> detector = cv::cuda::createGoodFeaturesToTrackDetector(src.type(), maxCorners, qualityLevel, minDistance); src 122 modules/cudaimgproc/test/test_gftt.cpp detector->detect(src, corners); src 68 modules/cudaimgproc/test/test_histogram.cpp cv::Mat src = randomMat(size, CV_8UC1); src 74 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::histEven(loadMat(src), hist, hbins, (int) hranges[0], (int) hranges[1]); src 81 modules/cudaimgproc/test/test_histogram.cpp cv::calcHist(&src, 1, channels, cv::Mat(), hist_gold, 1, histSize, ranges); src 113 modules/cudaimgproc/test/test_histogram.cpp cv::Mat src = randomMat(size, CV_8UC1); src 116 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::calcHist(loadMat(src), hist); src 126 modules/cudaimgproc/test/test_histogram.cpp cv::calcHist(&src, 1, channels, cv::Mat(), hist_gold, 1, histSize, ranges); src 156 modules/cudaimgproc/test/test_histogram.cpp cv::Mat src = randomMat(size, CV_8UC1); src 159 modules/cudaimgproc/test/test_histogram.cpp cv::cuda::equalizeHist(loadMat(src), dst); src 162 modules/cudaimgproc/test/test_histogram.cpp cv::equalizeHist(src, dst_gold); src 197 modules/cudaimgproc/test/test_histogram.cpp cv::Mat src = randomMat(size, CV_8UC1); src 201 modules/cudaimgproc/test/test_histogram.cpp clahe->apply(loadMat(src), dst); src 205 modules/cudaimgproc/test/test_histogram.cpp clahe_gold->apply(src, dst_gold); src 94 modules/cudaimgproc/test/test_hough.cpp cv::Mat src(size, CV_8UC1); src 95 modules/cudaimgproc/test/test_hough.cpp generateLines(src); src 100 modules/cudaimgproc/test/test_hough.cpp hough->detect(loadMat(src, useRoi), d_lines); src 108 modules/cudaimgproc/test/test_hough.cpp ASSERT_MAT_NEAR(src, dst, 0.0); src 150 modules/cudaimgproc/test/test_hough.cpp cv::Mat src(size, CV_8UC1); src 151 modules/cudaimgproc/test/test_hough.cpp drawCircles(src, circles_gold, true); src 156 modules/cudaimgproc/test/test_hough.cpp houghCircles->detect(loadMat(src, useRoi), d_circles); src 258 modules/cudalegacy/include/opencv2/cudalegacy.hpp CV_EXPORTS void transformPoints(const GpuMat& src, const Mat& rvec, const Mat& tvec, src 261 modules/cudalegacy/include/opencv2/cudalegacy.hpp CV_EXPORTS void projectPoints(const GpuMat& src, const Mat& rvec, const Mat& tvec, src 553 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp const void *src, NCVMemoryType srcType, src 558 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp const void *src, Ncv32u srcPitch, NCVMemoryType srcType, src 57 modules/cudalegacy/include/opencv2/cudalegacy/NCVPyramid.hpp CV_EXPORTS void downsampleX2(PtrStepSzb src, PtrStepSzb dst, int depth, int cn, cudaStream_t stream); src 58 modules/cudalegacy/include/opencv2/cudalegacy/NCVPyramid.hpp CV_EXPORTS void interpolateFrom1(PtrStepSzb src, PtrStepSzb dst, int depth, int cn, cudaStream_t stream); src 63 modules/cudalegacy/perf/perf_calib3d.cpp cv::Mat src(1, count, CV_32FC3); src 64 modules/cudalegacy/perf/perf_calib3d.cpp declare.in(src, WARMUP_RNG); src 72 modules/cudalegacy/perf/perf_calib3d.cpp const cv::cuda::GpuMat d_src(src); src 83 modules/cudalegacy/perf/perf_calib3d.cpp TEST_CYCLE() cv::projectPoints(src, rvec, tvec, camera_mat, cv::noArray(), dst); src 183 modules/cudalegacy/src/NCV.cpp NCVStatus memSegCopyHelper(void *dst, NCVMemoryType dstType, const void *src, NCVMemoryType srcType, size_t sz, cudaStream_t cuStream) src 194 modules/cudalegacy/src/NCV.cpp memcpy(dst, src, sz); src 200 modules/cudalegacy/src/NCV.cpp ncvAssertCUDAReturn(cudaMemcpyAsync(dst, src, sz, cudaMemcpyDeviceToHost, cuStream), NCV_CUDA_ERROR); src 204 modules/cudalegacy/src/NCV.cpp ncvAssertCUDAReturn(cudaMemcpy(dst, src, sz, cudaMemcpyDeviceToHost), NCV_CUDA_ERROR); src 219 modules/cudalegacy/src/NCV.cpp ncvAssertCUDAReturn(cudaMemcpyAsync(dst, src, sz, cudaMemcpyHostToDevice, cuStream), NCV_CUDA_ERROR); src 223 modules/cudalegacy/src/NCV.cpp ncvAssertCUDAReturn(cudaMemcpy(dst, src, sz, cudaMemcpyHostToDevice), NCV_CUDA_ERROR); src 230 modules/cudalegacy/src/NCV.cpp ncvAssertCUDAReturn(cudaMemcpyAsync(dst, src, sz, cudaMemcpyDeviceToDevice, cuStream), NCV_CUDA_ERROR); src 234 modules/cudalegacy/src/NCV.cpp ncvAssertCUDAReturn(cudaMemcpy(dst, src, sz, cudaMemcpyDeviceToDevice), NCV_CUDA_ERROR); src 251 modules/cudalegacy/src/NCV.cpp const void *src, Ncv32u srcPitch, NCVMemoryType srcType, src 265 modules/cudalegacy/src/NCV.cpp memcpy((char*)dst + i * dstPitch, (char*)src + i * srcPitch, widthbytes); src 272 modules/cudalegacy/src/NCV.cpp ncvAssertCUDAReturn(cudaMemcpy2DAsync(dst, dstPitch, src, srcPitch, widthbytes, height, cudaMemcpyDeviceToHost, cuStream), NCV_CUDA_ERROR); src 276 modules/cudalegacy/src/NCV.cpp ncvAssertCUDAReturn(cudaMemcpy2D(dst, dstPitch, src, srcPitch, widthbytes, height, cudaMemcpyDeviceToHost), NCV_CUDA_ERROR); src 291 modules/cudalegacy/src/NCV.cpp ncvAssertCUDAReturn(cudaMemcpy2DAsync(dst, dstPitch, src, srcPitch, widthbytes, height, cudaMemcpyHostToDevice, cuStream), NCV_CUDA_ERROR); src 295 modules/cudalegacy/src/NCV.cpp ncvAssertCUDAReturn(cudaMemcpy2D(dst, dstPitch, src, srcPitch, widthbytes, height, cudaMemcpyHostToDevice), NCV_CUDA_ERROR); src 302 modules/cudalegacy/src/NCV.cpp ncvAssertCUDAReturn(cudaMemcpy2DAsync(dst, dstPitch, src, srcPitch, widthbytes, height, cudaMemcpyDeviceToDevice, cuStream), NCV_CUDA_ERROR); src 306 modules/cudalegacy/src/NCV.cpp ncvAssertCUDAReturn(cudaMemcpy2D(dst, dstPitch, src, srcPitch, widthbytes, height, cudaMemcpyDeviceToDevice), NCV_CUDA_ERROR); src 62 modules/cudalegacy/src/calib3d.cpp void call(const PtrStepSz<float3> src, const float* rot, const float* transl, PtrStepSz<float3> dst, cudaStream_t stream); src 67 modules/cudalegacy/src/calib3d.cpp void call(const PtrStepSz<float3> src, const float* rot, const float* transl, const float* proj, PtrStepSz<float2> dst, cudaStream_t stream); src 85 modules/cudalegacy/src/calib3d.cpp void transformPointsCaller(const GpuMat& src, const Mat& rvec, const Mat& tvec, GpuMat& dst, cudaStream_t stream) src 87 modules/cudalegacy/src/calib3d.cpp CV_Assert(src.rows == 1 && src.cols > 0 && src.type() == CV_32FC3); src 95 modules/cudalegacy/src/calib3d.cpp dst.create(src.size(), src.type()); src 96 modules/cudalegacy/src/calib3d.cpp transform_points::call(src, rot.ptr<float>(), tvec.ptr<float>(), dst, stream); src 100 modules/cudalegacy/src/calib3d.cpp void cv::cuda::transformPoints(const GpuMat& src, const Mat& rvec, const Mat& tvec, GpuMat& dst, Stream& stream) src 102 modules/cudalegacy/src/calib3d.cpp transformPointsCaller(src, rvec, tvec, dst, StreamAccessor::getStream(stream)); src 107 modules/cudalegacy/src/calib3d.cpp void projectPointsCaller(const GpuMat& src, const Mat& rvec, const Mat& tvec, const Mat& camera_mat, const Mat& dist_coef, GpuMat& dst, cudaStream_t stream) src 109 modules/cudalegacy/src/calib3d.cpp CV_Assert(src.rows == 1 && src.cols > 0 && src.type() == CV_32FC3); src 119 modules/cudalegacy/src/calib3d.cpp dst.create(src.size(), CV_32FC2); src 120 modules/cudalegacy/src/calib3d.cpp project_points::call(src, rot.ptr<float>(), tvec.ptr<float>(), camera_mat.ptr<float>(), dst,stream); src 124 modules/cudalegacy/src/calib3d.cpp void cv::cuda::projectPoints(const GpuMat& src, const Mat& rvec, const Mat& tvec, const Mat& camera_mat, const Mat& dist_coef, GpuMat& dst, Stream& stream) src 126 modules/cudalegacy/src/calib3d.cpp projectPointsCaller(src, rvec, tvec, camera_mat, dist_coef, dst, StreamAccessor::getStream(stream)); src 68 modules/cudalegacy/src/cuda/NCVAlg.hpp static __device__ __inline__ void assign(volatile T *dst, volatile T *src) src 71 modules/cudalegacy/src/cuda/NCVAlg.hpp *dst = *src; src 83 modules/cudalegacy/src/cuda/NCVAlg.hpp static __device__ __inline__ void assign(volatile T *dst, volatile T *src) src 86 modules/cudalegacy/src/cuda/NCVAlg.hpp *dst = *src; src 98 modules/cudalegacy/src/cuda/NCVAlg.hpp static __device__ __inline__ void assign(volatile T *dst, volatile T *src) src 101 modules/cudalegacy/src/cuda/NCVAlg.hpp *dst = *src; src 118 modules/cudalegacy/src/fgd.cpp void copyChannels(const GpuMat& src, GpuMat& dst, int dst_cn = -1) src 120 modules/cudalegacy/src/fgd.cpp const int src_cn = src.channels(); src 125 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(src.size(), CV_MAKE_TYPE(src.depth(), dst_cn), dst); src 129 modules/cudalegacy/src/fgd.cpp src.copyTo(dst); src 144 modules/cudalegacy/src/fgd.cpp cuda::cvtColor(src, dst, cvt_code, dst_cn); src 316 modules/cudalegacy/src/fgd.cpp void morphology(const GpuMat& src, GpuMat& dst, GpuMat& filterBrd, int brd, Ptr<cuda::Filter>& filter, Scalar brdVal) src 318 modules/cudalegacy/src/fgd.cpp cuda::copyMakeBorder(src, filterBrd, brd, brd, brd, brd, BORDER_CONSTANT, brdVal); src 319 modules/cudalegacy/src/fgd.cpp filter->apply(filterBrd(Rect(brd, brd, src.cols, src.rows)), dst); src 49 modules/cudalegacy/test/TestCompact.cpp src(src_), src 91 modules/cudalegacy/test/TestCompact.cpp ncvAssertReturn(this->src.fill(h_vecSrc), false); src 54 modules/cudalegacy/test/TestCompact.h TestCompact(std::string testName, NCVTestSourceProvider<Ncv32u> &src, src 67 modules/cudalegacy/test/TestCompact.h NCVTestSourceProvider<Ncv32u> &src; src 52 modules/cudalegacy/test/TestDrawRects.cpp src(src_), src 101 modules/cudalegacy/test/TestDrawRects.cpp ncvAssertReturn(this->src.fill(h_img), false); src 55 modules/cudalegacy/test/TestDrawRects.h TestDrawRects(std::string testName, NCVTestSourceProvider<T> &src, NCVTestSourceProvider<Ncv32u> &src32u, src 68 modules/cudalegacy/test/TestDrawRects.h NCVTestSourceProvider<T> &src; src 89 modules/cudalegacy/test/TestHaarCascadeApplication.cpp src(src_), src 214 modules/cudalegacy/test/TestHaarCascadeApplication.cpp ncvAssertReturn(this->src.fill(h_img), false); src 54 modules/cudalegacy/test/TestHaarCascadeApplication.h TestHaarCascadeApplication(std::string testName, NCVTestSourceProvider<Ncv8u> &src, src 67 modules/cudalegacy/test/TestHaarCascadeApplication.h NCVTestSourceProvider<Ncv8u> &src; src 50 modules/cudalegacy/test/TestHypothesesFilter.cpp src(src_), src 109 modules/cudalegacy/test/TestHypothesesFilter.cpp ncvAssertReturn(this->src.fill(h_random32u), false); src 54 modules/cudalegacy/test/TestHypothesesFilter.h TestHypothesesFilter(std::string testName, NCVTestSourceProvider<Ncv32u> &src, src 67 modules/cudalegacy/test/TestHypothesesFilter.h NCVTestSourceProvider<Ncv32u> &src; src 51 modules/cudalegacy/test/TestHypothesesGrow.cpp src(src_), src 102 modules/cudalegacy/test/TestHypothesesGrow.cpp ncvAssertReturn(this->src.fill(h_vecSrc), false); src 106 modules/cudalegacy/test/TestHypothesesGrow.cpp ncvAssertReturn(this->src.fill(h_vecDst_as32u), false); src 54 modules/cudalegacy/test/TestHypothesesGrow.h TestHypothesesGrow(std::string testName, NCVTestSourceProvider<Ncv32u> &src, src 68 modules/cudalegacy/test/TestHypothesesGrow.h NCVTestSourceProvider<Ncv32u> &src; src 51 modules/cudalegacy/test/TestIntegralImage.cpp src(src_), src 118 modules/cudalegacy/test/TestIntegralImage.cpp ncvAssertReturn(this->src.fill(h_img), false); src 55 modules/cudalegacy/test/TestIntegralImage.h TestIntegralImage(std::string testName, NCVTestSourceProvider<T_in> &src, src 67 modules/cudalegacy/test/TestIntegralImage.h NCVTestSourceProvider<T_in> &src; src 50 modules/cudalegacy/test/TestIntegralImageSquared.cpp src(src_), src 99 modules/cudalegacy/test/TestIntegralImageSquared.cpp ncvAssertReturn(this->src.fill(h_img), false); src 54 modules/cudalegacy/test/TestIntegralImageSquared.h TestIntegralImageSquared(std::string testName, NCVTestSourceProvider<Ncv8u> &src, src 66 modules/cudalegacy/test/TestIntegralImageSquared.h NCVTestSourceProvider<Ncv8u> &src; src 51 modules/cudalegacy/test/TestRectStdDev.cpp src(src_), src 131 modules/cudalegacy/test/TestRectStdDev.cpp ncvAssertReturn(this->src.fill(h_img), false); src 54 modules/cudalegacy/test/TestRectStdDev.h TestRectStdDev(std::string testName, NCVTestSourceProvider<Ncv8u> &src, src 67 modules/cudalegacy/test/TestRectStdDev.h NCVTestSourceProvider<Ncv8u> &src; src 51 modules/cudalegacy/test/TestResize.cpp src(src_), src 107 modules/cudalegacy/test/TestResize.cpp ncvAssertReturn(this->src.fill(h_img), false); src 54 modules/cudalegacy/test/TestResize.h TestResize(std::string testName, NCVTestSourceProvider<T> &src, src 66 modules/cudalegacy/test/TestResize.h NCVTestSourceProvider<T> &src; src 51 modules/cudalegacy/test/TestTranspose.cpp src(src_), src 96 modules/cudalegacy/test/TestTranspose.cpp ncvAssertReturn(this->src.fill(h_img), false); src 55 modules/cudalegacy/test/TestTranspose.h TestTranspose(std::string testName, NCVTestSourceProvider<T> &src, src 68 modules/cudalegacy/test/TestTranspose.h NCVTestSourceProvider<T> &src; src 55 modules/cudalegacy/test/main_nvidia.cpp NCVTestSourceProvider<T_in> &src, src 63 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestIntegralImage<T_in, T_out>(testName, src, i, 2)); src 70 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestIntegralImage<T_in, T_out>(testName, src, 2, i)); src 73 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestIntegralImage<T_in, T_out>("LinIntImg_VGA", src, 640, 480)); src 76 modules/cudalegacy/test/main_nvidia.cpp void generateSquaredIntegralTests(NCVAutoTestLister &testLister, NCVTestSourceProvider<Ncv8u> &src, src 84 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestIntegralImageSquared(testName, src, i, 32)); src 91 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestIntegralImageSquared(testName, src, 32, i)); src 94 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestIntegralImageSquared("SqLinIntImg_VGA", src, 640, 480)); src 97 modules/cudalegacy/test/main_nvidia.cpp void generateRectStdDevTests(NCVAutoTestLister &testLister, NCVTestSourceProvider<Ncv8u> &src, src 107 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestRectStdDev(testName, src, i*2, i, rect, 1, true)); src 108 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestRectStdDev(testName, src, i*2, i, rect, 1.5, false)); src 109 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestRectStdDev(testName, src, i-1, i*2-1, rect, 1, false)); src 110 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestRectStdDev(testName, src, i-1, i*2-1, rect, 2.5, true)); src 113 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestRectStdDev("RectStdDev_VGA", src, 640, 480, rect, 1, true)); src 117 modules/cudalegacy/test/main_nvidia.cpp void generateResizeTests(NCVAutoTestLister &testLister, NCVTestSourceProvider<T> &src) src 123 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestResize<T>(testName, src, 640, 480, i, true)); src 124 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestResize<T>(testName, src, 640, 480, i, false)); src 131 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestResize<T>(testName, src, 1920, 1080, i, true)); src 132 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestResize<T>(testName, src, 1920, 1080, i, false)); src 136 modules/cudalegacy/test/main_nvidia.cpp void generateNPPSTVectorTests(NCVAutoTestLister &testLister, NCVTestSourceProvider<Ncv32u> &src, Ncv32u maxLength) src 144 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestCompact(testName, src, i, 0xFFFFFFFF, 30)); src 150 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestCompact(testName, src, i, 0xC001C0DE, 70)); src 151 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestCompact(testName, src, i, 0xC001C0DE, 0)); src 152 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestCompact(testName, src, i, 0xC001C0DE, 100)); src 158 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestCompact(testName, src, i, 0xFFFFFFFF, 40)); src 164 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestCompact(testName, src, i, 0x00000000, 2)); src 170 modules/cudalegacy/test/main_nvidia.cpp void generateTransposeTests(NCVAutoTestLister &testLister, NCVTestSourceProvider<T> &src) src 178 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestTranspose<T>(testName, src, i, j)); src 188 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestTranspose<T>(testName, src, i, j)); src 192 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestTranspose<T>("TestTranspose_VGA", src, 640, 480)); src 193 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestTranspose<T>("TestTranspose_HD1080", src, 1920, 1080)); src 196 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestTranspose<T>("TestTranspose_reg_0", src, 1072, 375)); src 201 modules/cudalegacy/test/main_nvidia.cpp NCVTestSourceProvider<T> &src, src 215 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestDrawRects<T>(testName, src, src32u, i, j, i*j/1000+1, (T)0xFFFFFFFF)); src 219 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestDrawRects<T>(testName, src, src32u, i, j, i*j/1000+1, (T)0xFF)); src 228 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestDrawRects<T>("DrawRects_VGA", src, src32u, 640, 480, 640*480/1000, (T)0xFF)); src 231 modules/cudalegacy/test/main_nvidia.cpp void generateVectorTests(NCVAutoTestLister &testLister, NCVTestSourceProvider<Ncv32u> &src, Ncv32u maxLength) src 239 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestHypothesesGrow(testName, src, 20, 20, 2.2f, i, i/2, i, i/4)); src 240 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestHypothesesGrow(testName, src, 10, 42, 1.2f, i, i, i, 0)); src 242 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestHypothesesGrow("VectorGrow01b", src, 10, 42, 1.2f, 10, 0, 10, 1)); src 243 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestHypothesesGrow("VectorGrow11b", src, 10, 42, 1.2f, 10, 1, 10, 1)); src 244 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestHypothesesGrow("VectorGrow10b", src, 10, 42, 1.2f, 10, 1, 10, 0)); src 245 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestHypothesesGrow("VectorGrow00b", src, 10, 42, 1.2f, 10, 0, 10, 0)); src 248 modules/cudalegacy/test/main_nvidia.cpp void generateHypothesesFiltrationTests(NCVAutoTestLister &testLister, NCVTestSourceProvider<Ncv32u> &src, Ncv32u maxLength) src 255 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestHypothesesFilter(testName, src, i, 3, 0.2f)); src 256 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestHypothesesFilter(testName, src, i, 0, 0.2f)); src 257 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestHypothesesFilter(testName, src, i, 1, 0.1f)); src 271 modules/cudalegacy/test/main_nvidia.cpp void generateHaarApplicationTests(NCVAutoTestLister &testLister, NCVTestSourceProvider<Ncv8u> &src, src 281 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestHaarCascadeApplication(testName, src, path + "haarcascade_frontalface_alt.xml", j, i)); src 289 modules/cudalegacy/test/main_nvidia.cpp testLister.add(new TestHaarCascadeApplication(testName, src, path + "haarcascade_frontalface_alt.xml", i, i)); src 68 modules/cudalegacy/test/test_calib3d.cpp cv::Mat src = randomMat(cv::Size(1000, 1), CV_32FC3, 0, 10); src 73 modules/cudalegacy/test/test_calib3d.cpp cv::cuda::transformPoints(loadMat(src), rvec, tvec, dst); src 75 modules/cudalegacy/test/test_calib3d.cpp ASSERT_EQ(src.size(), dst.size()); src 76 modules/cudalegacy/test/test_calib3d.cpp ASSERT_EQ(src.type(), dst.type()); src 87 modules/cudalegacy/test/test_calib3d.cpp cv::Point3f p = src.at<cv::Point3f>(0, i); src 116 modules/cudalegacy/test/test_calib3d.cpp cv::Mat src = randomMat(cv::Size(1000, 1), CV_32FC3, 0, 10); src 126 modules/cudalegacy/test/test_calib3d.cpp cv::cuda::projectPoints(loadMat(src), rvec, tvec, camera_mat, cv::Mat(), dst); src 132 modules/cudalegacy/test/test_calib3d.cpp cv::projectPoints(src, rvec, tvec, camera_mat, cv::Mat(1, 8, CV_32F, cv::Scalar::all(0)), dst_gold); src 130 modules/cudaobjdetect/src/cascadeclassifier.cpp NCVStatus process(const GpuMat& src, GpuMat& objects, cv::Size ncvMinSize, /*out*/ unsigned int& numDetections); src 317 modules/cudaobjdetect/src/cascadeclassifier.cpp NCVStatus HaarCascade_Impl::process(const GpuMat& src, GpuMat& objects, cv::Size ncvMinSize, /*out*/ unsigned int& numDetections) src 319 modules/cudaobjdetect/src/cascadeclassifier.cpp calculateMemReqsAndAllocate(src.size()); src 322 modules/cudaobjdetect/src/cascadeclassifier.cpp src_beg.ptr = (void*)src.ptr<Ncv8u>(); src 327 modules/cudaobjdetect/src/cascadeclassifier.cpp src_seg.size = src.step * src.rows; src 329 modules/cudaobjdetect/src/cascadeclassifier.cpp NCVMatrixReuse<Ncv8u> d_src(src_seg, static_cast<int>(devProp.textureAlignment), src.cols, src.rows, static_cast<int>(src.step), true); src 566 modules/cudaobjdetect/src/cascadeclassifier.cpp GpuMat src = resuzeBuffer(cv::Rect(0, 0, level.sFrame.width, level.sFrame.height)); src 570 modules/cudaobjdetect/src/cascadeclassifier.cpp cuda::resize(image, src, level.sFrame, 0, 0, cv::INTER_LINEAR); src 571 modules/cudaobjdetect/src/cascadeclassifier.cpp cuda::integral(src, sint); src 89 modules/cudaobjdetect/src/hog.cpp void resize_8UC1(const cv::cuda::PtrStepSzb& src, cv::cuda::PtrStepSzb dst); src 90 modules/cudaobjdetect/src/hog.cpp void resize_8UC4(const cv::cuda::PtrStepSzb& src, cv::cuda::PtrStepSzb dst); src 262 modules/cudaobjdetect/src/hog.cpp const float* src = detector.ptr<float>() + (j * blocks_per_win.height + i) * block_hist_size; src 265 modules/cudaobjdetect/src/hog.cpp dst[k] = src[k]; src 66 modules/cudaoptflow/src/farneback.cpp void polynomialExpansionGpu(const PtrStepSzf &src, int polyN, PtrStepSzf dst, cudaStream_t stream); src 77 modules/cudaoptflow/src/farneback.cpp void boxFilter5Gpu(const PtrStepSzf src, int ksizeHalf, PtrStepSzf dst, cudaStream_t stream); src 79 modules/cudaoptflow/src/farneback.cpp void boxFilter5Gpu_CC11(const PtrStepSzf src, int ksizeHalf, PtrStepSzf dst, cudaStream_t stream); src 84 modules/cudaoptflow/src/farneback.cpp const PtrStepSzf src, int ksizeHalf, PtrStepSzf dst, int borderType, cudaStream_t stream); src 87 modules/cudaoptflow/src/farneback.cpp const PtrStepSzf src, int ksizeHalf, PtrStepSzf dst, int borderType, cudaStream_t stream); src 90 modules/cudaoptflow/src/farneback.cpp const PtrStepSzf src, int ksizeHalf, PtrStepSzf dst, int borderType, cudaStream_t stream); src 56 modules/cudaoptflow/src/tvl1flow.cpp void centeredGradient(PtrStepSzf src, PtrStepSzf dx, PtrStepSzf dy, cudaStream_t stream); src 202 modules/cudastereo/perf/perf_stereo.cpp cv::Mat src(size, depth); src 203 modules/cudastereo/perf/perf_stereo.cpp declare.in(src, WARMUP_RNG); src 210 modules/cudastereo/perf/perf_stereo.cpp const cv::cuda::GpuMat d_src(src); src 221 modules/cudastereo/perf/perf_stereo.cpp TEST_CYCLE() cv::reprojectImageTo3D(src, dst, Q); src 237 modules/cudastereo/perf/perf_stereo.cpp cv::Mat src(size, type); src 238 modules/cudastereo/perf/perf_stereo.cpp declare.in(src, WARMUP_RNG); src 242 modules/cudastereo/perf/perf_stereo.cpp const cv::cuda::GpuMat d_src(src); src 64 modules/cudastereo/src/stereobp.cpp void data_step_down_gpu(int dst_cols, int dst_rows, int src_rows, const PtrStepSzb& src, const PtrStepSzb& dst, cudaStream_t stream); src 286 modules/cudastereo/src/stereobp.cpp typedef void (*data_step_down_t)(int dst_cols, int dst_rows, int src_rows, const PtrStepSzb& src, const PtrStepSzb& dst, cudaStream_t stream); src 93 modules/cudastereo/src/util.cpp void drawColorDisp_gpu(const PtrStepSzb& src, const PtrStepSzb& dst, int ndisp, const cudaStream_t& stream); src 94 modules/cudastereo/src/util.cpp void drawColorDisp_gpu(const PtrStepSz<short>& src, const PtrStepSzb& dst, int ndisp, const cudaStream_t& stream); src 100 modules/cudastereo/src/util.cpp void drawColorDisp_caller(const GpuMat& src, OutputArray _dst, int ndisp, const cudaStream_t& stream) src 104 modules/cudastereo/src/util.cpp _dst.create(src.size(), CV_8UC4); src 107 modules/cudastereo/src/util.cpp drawColorDisp_gpu((PtrStepSz<T>)src, dst, ndisp, stream); src 113 modules/cudastereo/src/util.cpp typedef void (*drawColorDisp_caller_t)(const GpuMat& src, OutputArray dst, int ndisp, const cudaStream_t& stream); src 116 modules/cudastereo/src/util.cpp GpuMat src = _src.getGpuMat(); src 118 modules/cudastereo/src/util.cpp CV_Assert( src.type() == CV_8U || src.type() == CV_16S ); src 120 modules/cudastereo/src/util.cpp drawColorDisp_callers[src.type()](src, dst, ndisp, StreamAccessor::getStream(stream)); src 86 modules/cudawarping/include/opencv2/cudawarping.hpp CV_EXPORTS void remap(InputArray src, OutputArray dst, InputArray xmap, InputArray ymap, src 108 modules/cudawarping/include/opencv2/cudawarping.hpp CV_EXPORTS void resize(InputArray src, OutputArray dst, Size dsize, double fx=0, double fy=0, int interpolation = INTER_LINEAR, Stream& stream = Stream::Null()); src 126 modules/cudawarping/include/opencv2/cudawarping.hpp CV_EXPORTS void warpAffine(InputArray src, OutputArray dst, InputArray M, Size dsize, int flags = INTER_LINEAR, src 158 modules/cudawarping/include/opencv2/cudawarping.hpp CV_EXPORTS void warpPerspective(InputArray src, OutputArray dst, InputArray M, Size dsize, int flags = INTER_LINEAR, src 189 modules/cudawarping/include/opencv2/cudawarping.hpp CV_EXPORTS void rotate(InputArray src, OutputArray dst, Size dsize, double angle, double xShift = 0, double yShift = 0, src 201 modules/cudawarping/include/opencv2/cudawarping.hpp CV_EXPORTS void pyrDown(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 210 modules/cudawarping/include/opencv2/cudawarping.hpp CV_EXPORTS void pyrUp(InputArray src, OutputArray dst, Stream& stream = Stream::Null()); src 113 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); src 114 modules/cudawarping/perf/perf_warping.cpp declare.in(src, WARMUP_RNG); src 122 modules/cudawarping/perf/perf_warping.cpp const cv::cuda::GpuMat d_src(src); src 135 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::remap(src, dst, xmap, ymap, interpolation, borderMode); src 163 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); src 164 modules/cudawarping/perf/perf_warping.cpp declare.in(src, WARMUP_RNG); src 168 modules/cudawarping/perf/perf_warping.cpp const cv::cuda::GpuMat d_src(src); src 179 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::resize(src, dst, cv::Size(), f, f, interpolation); src 206 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); src 207 modules/cudawarping/perf/perf_warping.cpp declare.in(src, WARMUP_RNG); src 211 modules/cudawarping/perf/perf_warping.cpp const cv::cuda::GpuMat d_src(src); src 222 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::resize(src, dst, cv::Size(), f, f, interpolation); src 250 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); src 251 modules/cudawarping/perf/perf_warping.cpp declare.in(src, WARMUP_RNG); src 256 modules/cudawarping/perf/perf_warping.cpp std::cos(aplha), -std::sin(aplha), static_cast<double>(src.cols) / 2.0, src 263 modules/cudawarping/perf/perf_warping.cpp const cv::cuda::GpuMat d_src(src); src 274 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::warpAffine(src, dst, M, size, interpolation, borderMode); src 300 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); src 301 modules/cudawarping/perf/perf_warping.cpp declare.in(src, WARMUP_RNG); src 304 modules/cudawarping/perf/perf_warping.cpp double mat[3][3] = { {std::cos(aplha), -std::sin(aplha), static_cast<double>(src.cols) / 2.0}, src 311 modules/cudawarping/perf/perf_warping.cpp const cv::cuda::GpuMat d_src(src); src 322 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::warpPerspective(src, dst, M, size, interpolation, borderMode); src 346 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); src 347 modules/cudawarping/perf/perf_warping.cpp declare.in(src, WARMUP_RNG); src 351 modules/cudawarping/perf/perf_warping.cpp const cv::cuda::GpuMat d_src(src); src 378 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); src 379 modules/cudawarping/perf/perf_warping.cpp declare.in(src, WARMUP_RNG); src 383 modules/cudawarping/perf/perf_warping.cpp const cv::cuda::GpuMat d_src(src); src 394 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::pyrDown(src, dst); src 414 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); src 415 modules/cudawarping/perf/perf_warping.cpp declare.in(src, WARMUP_RNG); src 419 modules/cudawarping/perf/perf_warping.cpp const cv::cuda::GpuMat d_src(src); src 430 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::pyrUp(src, dst); src 62 modules/cudawarping/src/pyramids.cpp template <typename T> void pyrDown_gpu(PtrStepSzb src, PtrStepSzb dst, cudaStream_t stream); src 70 modules/cudawarping/src/pyramids.cpp typedef void (*func_t)(PtrStepSzb src, PtrStepSzb dst, cudaStream_t stream); src 81 modules/cudawarping/src/pyramids.cpp GpuMat src = _src.getGpuMat(); src 83 modules/cudawarping/src/pyramids.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); src 85 modules/cudawarping/src/pyramids.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; src 88 modules/cudawarping/src/pyramids.cpp _dst.create((src.rows + 1) / 2, (src.cols + 1) / 2, src.type()); src 91 modules/cudawarping/src/pyramids.cpp func(src, dst, StreamAccessor::getStream(stream)); src 102 modules/cudawarping/src/pyramids.cpp template <typename T> void pyrUp_gpu(PtrStepSzb src, PtrStepSzb dst, cudaStream_t stream); src 110 modules/cudawarping/src/pyramids.cpp typedef void (*func_t)(PtrStepSzb src, PtrStepSzb dst, cudaStream_t stream); src 121 modules/cudawarping/src/pyramids.cpp GpuMat src = _src.getGpuMat(); src 123 modules/cudawarping/src/pyramids.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); src 125 modules/cudawarping/src/pyramids.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; src 128 modules/cudawarping/src/pyramids.cpp _dst.create(src.rows * 2, src.cols * 2, src.type()); src 131 modules/cudawarping/src/pyramids.cpp func(src, dst, StreamAccessor::getStream(stream)); src 56 modules/cudawarping/src/remap.cpp void remap_gpu(PtrStepSzb src, PtrStepSzb srcWhole, int xoff, int yoff, PtrStepSzf xmap, PtrStepSzf ymap, PtrStepSzb dst, src 65 modules/cudawarping/src/remap.cpp typedef void (*func_t)(PtrStepSzb src, PtrStepSzb srcWhole, int xoff, int yoff, PtrStepSzf xmap, PtrStepSzf ymap, PtrStepSzb dst, int interpolation, src 77 modules/cudawarping/src/remap.cpp GpuMat src = _src.getGpuMat(); src 81 modules/cudawarping/src/remap.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); src 86 modules/cudawarping/src/remap.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; src 90 modules/cudawarping/src/remap.cpp _dst.create(xmap.size(), src.type()); src 98 modules/cudawarping/src/remap.cpp src.locateROI(wholeSize, ofs); src 100 modules/cudawarping/src/remap.cpp func(src, PtrStepSzb(wholeSize.height, wholeSize.width, src.datastart, src.step), ofs.x, ofs.y, xmap, ymap, src 54 modules/cudawarping/src/resize.cpp void resize(const PtrStepSzb& src, const PtrStepSzb& srcWhole, int yoff, int xoff, const PtrStepSzb& dst, float fy, float fx, int interpolation, cudaStream_t stream); src 59 modules/cudawarping/src/resize.cpp GpuMat src = _src.getGpuMat(); src 61 modules/cudawarping/src/resize.cpp typedef void (*func_t)(const PtrStepSzb& src, const PtrStepSzb& srcWhole, int yoff, int xoff, const PtrStepSzb& dst, float fy, float fx, int interpolation, cudaStream_t stream); src 72 modules/cudawarping/src/resize.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); src 78 modules/cudawarping/src/resize.cpp dsize = Size(saturate_cast<int>(src.cols * fx), saturate_cast<int>(src.rows * fy)); src 82 modules/cudawarping/src/resize.cpp fx = static_cast<double>(dsize.width) / src.cols; src 83 modules/cudawarping/src/resize.cpp fy = static_cast<double>(dsize.height) / src.rows; src 86 modules/cudawarping/src/resize.cpp _dst.create(dsize, src.type()); src 89 modules/cudawarping/src/resize.cpp if (dsize == src.size()) src 91 modules/cudawarping/src/resize.cpp src.copyTo(dst, stream); src 95 modules/cudawarping/src/resize.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; src 102 modules/cudawarping/src/resize.cpp src.locateROI(wholeSize, ofs); src 103 modules/cudawarping/src/resize.cpp PtrStepSzb wholeSrc(wholeSize.height, wholeSize.width, src.datastart, src.step); src 105 modules/cudawarping/src/resize.cpp func(src, wholeSrc, ofs.y, ofs.x, dst, static_cast<float>(1.0 / fy), static_cast<float>(1.0 / fx), interpolation, StreamAccessor::getStream(stream)); src 67 modules/cudawarping/src/warp.cpp void warpAffine_gpu(PtrStepSzb src, PtrStepSzb srcWhole, int xoff, int yoff, float coeffs[2 * 3], PtrStepSzb dst, int interpolation, src 73 modules/cudawarping/src/warp.cpp void warpPerspective_gpu(PtrStepSzb src, PtrStepSzb srcWhole, int xoff, int yoff, float coeffs[3 * 3], PtrStepSzb dst, int interpolation, src 151 modules/cudawarping/src/warp.cpp static void call(const cv::cuda::GpuMat& src, cv::cuda::GpuMat& dst, double coeffs[][3], int interpolation, cudaStream_t stream) src 156 modules/cudawarping/src/warp.cpp srcsz.height = src.rows; src 157 modules/cudawarping/src/warp.cpp srcsz.width = src.cols; src 162 modules/cudawarping/src/warp.cpp srcroi.height = src.rows; src 163 modules/cudawarping/src/warp.cpp srcroi.width = src.cols; src 173 modules/cudawarping/src/warp.cpp nppSafeCall( func(src.ptr<npp_type>(), srcsz, static_cast<int>(src.step), srcroi, src 185 modules/cudawarping/src/warp.cpp GpuMat src = _src.getGpuMat(); src 192 modules/cudawarping/src/warp.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); src 196 modules/cudawarping/src/warp.cpp _dst.create(dsize, src.type()); src 201 modules/cudawarping/src/warp.cpp src.locateROI(wholeSize, ofs); src 243 modules/cudawarping/src/warp.cpp bool useNpp = borderMode == BORDER_CONSTANT && ofs.x == 0 && ofs.y == 0 && useNppTab[src.depth()][src.channels() - 1][interpolation]; src 245 modules/cudawarping/src/warp.cpp useNpp = useNpp && src.depth() != CV_32F; src 249 modules/cudawarping/src/warp.cpp typedef void (*func_t)(const cv::cuda::GpuMat& src, cv::cuda::GpuMat& dst, double coeffs[][3], int flags, cudaStream_t stream); src 277 modules/cudawarping/src/warp.cpp const func_t func = funcs[(flags & WARP_INVERSE_MAP) != 0][src.depth()][src.channels() - 1]; src 280 modules/cudawarping/src/warp.cpp func(src, dst, coeffs, interpolation, StreamAccessor::getStream(stream)); src 286 modules/cudawarping/src/warp.cpp typedef void (*func_t)(PtrStepSzb src, PtrStepSzb srcWhole, int xoff, int yoff, float coeffs[2 * 3], PtrStepSzb dst, int interpolation, src 299 modules/cudawarping/src/warp.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; src 317 modules/cudawarping/src/warp.cpp func(src, PtrStepSzb(wholeSize.height, wholeSize.width, src.datastart, src.step), ofs.x, ofs.y, coeffs, src 324 modules/cudawarping/src/warp.cpp GpuMat src = _src.getGpuMat(); src 331 modules/cudawarping/src/warp.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); src 335 modules/cudawarping/src/warp.cpp _dst.create(dsize, src.type()); src 340 modules/cudawarping/src/warp.cpp src.locateROI(wholeSize, ofs); src 382 modules/cudawarping/src/warp.cpp bool useNpp = borderMode == BORDER_CONSTANT && ofs.x == 0 && ofs.y == 0 && useNppTab[src.depth()][src.channels() - 1][interpolation]; src 384 modules/cudawarping/src/warp.cpp useNpp = useNpp && src.depth() != CV_32F; src 388 modules/cudawarping/src/warp.cpp typedef void (*func_t)(const cv::cuda::GpuMat& src, cv::cuda::GpuMat& dst, double coeffs[][3], int flags, cudaStream_t stream); src 416 modules/cudawarping/src/warp.cpp const func_t func = funcs[(flags & WARP_INVERSE_MAP) != 0][src.depth()][src.channels() - 1]; src 419 modules/cudawarping/src/warp.cpp func(src, dst, coeffs, interpolation, StreamAccessor::getStream(stream)); src 425 modules/cudawarping/src/warp.cpp typedef void (*func_t)(PtrStepSzb src, PtrStepSzb srcWhole, int xoff, int yoff, float coeffs[2 * 3], PtrStepSzb dst, int interpolation, src 438 modules/cudawarping/src/warp.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; src 456 modules/cudawarping/src/warp.cpp func(src, PtrStepSzb(wholeSize.height, wholeSize.width, src.datastart, src.step), ofs.x, ofs.y, coeffs, src 479 modules/cudawarping/src/warp.cpp static void call(const GpuMat& src, GpuMat& dst, Size dsize, double angle, double xShift, double yShift, int interpolation, cudaStream_t stream) src 487 modules/cudawarping/src/warp.cpp srcsz.height = src.rows; src 488 modules/cudawarping/src/warp.cpp srcsz.width = src.cols; src 491 modules/cudawarping/src/warp.cpp srcroi.height = src.rows; src 492 modules/cudawarping/src/warp.cpp srcroi.width = src.cols; src 498 modules/cudawarping/src/warp.cpp nppSafeCall( func(src.ptr<npp_type>(), srcsz, static_cast<int>(src.step), srcroi, src 509 modules/cudawarping/src/warp.cpp typedef void (*func_t)(const GpuMat& src, GpuMat& dst, Size dsize, double angle, double xShift, double yShift, int interpolation, cudaStream_t stream); src 520 modules/cudawarping/src/warp.cpp GpuMat src = _src.getGpuMat(); src 522 modules/cudawarping/src/warp.cpp CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); src 523 modules/cudawarping/src/warp.cpp CV_Assert( src.channels() == 1 || src.channels() == 3 || src.channels() == 4 ); src 526 modules/cudawarping/src/warp.cpp _dst.create(dsize, src.type()); src 531 modules/cudawarping/src/warp.cpp funcs[src.depth()][src.channels() - 1](src, dst, dsize, angle, xShift, yShift, interpolation, StreamAccessor::getStream(stream)); src 49 modules/cudawarping/test/interpolation.hpp template <typename T> T readVal(const cv::Mat& src, int y, int x, int c, int border_type, cv::Scalar borderVal = cv::Scalar()) src 52 modules/cudawarping/test/interpolation.hpp return (y >= 0 && y < src.rows && x >= 0 && x < src.cols) ? src.at<T>(y, x * src.channels() + c) : cv::saturate_cast<T>(borderVal.val[c]); src 54 modules/cudawarping/test/interpolation.hpp return src.at<T>(cv::borderInterpolate(y, src.rows, border_type), cv::borderInterpolate(x, src.cols, border_type) * src.channels() + c); src 59 modules/cudawarping/test/interpolation.hpp static T getValue(const cv::Mat& src, float y, float x, int c, int border_type, cv::Scalar borderVal = cv::Scalar()) src 61 modules/cudawarping/test/interpolation.hpp return readVal<T>(src, int(y), int(x), c, border_type, borderVal); src 67 modules/cudawarping/test/interpolation.hpp static T getValue(const cv::Mat& src, float y, float x, int c, int border_type, cv::Scalar borderVal = cv::Scalar()) src 76 modules/cudawarping/test/interpolation.hpp res += readVal<T>(src, y1, x1, c, border_type, borderVal) * ((x2 - x) * (y2 - y)); src 77 modules/cudawarping/test/interpolation.hpp res += readVal<T>(src, y1, x2, c, border_type, borderVal) * ((x - x1) * (y2 - y)); src 78 modules/cudawarping/test/interpolation.hpp res += readVal<T>(src, y2, x1, c, border_type, borderVal) * ((x2 - x) * (y - y1)); src 79 modules/cudawarping/test/interpolation.hpp res += readVal<T>(src, y2, x2, c, border_type, borderVal) * ((x - x1) * (y - y1)); src 104 modules/cudawarping/test/interpolation.hpp static T getValue(const cv::Mat& src, float y, float x, int c, int border_type, cv::Scalar borderVal = cv::Scalar()) src 120 modules/cudawarping/test/interpolation.hpp sum += w * readVal<T>(src, (int) floorf(cy), (int) floorf(cx), c, border_type, borderVal); src 72 modules/cudawarping/test/test_pyramids.cpp cv::Mat src = randomMat(size, type); src 75 modules/cudawarping/test/test_pyramids.cpp cv::cuda::pyrDown(loadMat(src, useRoi), dst); src 78 modules/cudawarping/test/test_pyramids.cpp cv::pyrDown(src, dst_gold); src 80 modules/cudawarping/test/test_pyramids.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() == CV_32F ? 1e-4 : 1.0); src 112 modules/cudawarping/test/test_pyramids.cpp cv::Mat src = randomMat(size, type); src 115 modules/cudawarping/test/test_pyramids.cpp cv::cuda::pyrUp(loadMat(src, useRoi), dst); src 118 modules/cudawarping/test/test_pyramids.cpp cv::pyrUp(src, dst_gold); src 120 modules/cudawarping/test/test_pyramids.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() == CV_32F ? 1e-4 : 1.0); src 54 modules/cudawarping/test/test_remap.cpp template <typename T, template <typename> class Interpolator> void remapImpl(const cv::Mat& src, const cv::Mat& xmap, const cv::Mat& ymap, cv::Mat& dst, int borderType, cv::Scalar borderVal) src 56 modules/cudawarping/test/test_remap.cpp const int cn = src.channels(); src 60 modules/cudawarping/test/test_remap.cpp dst.create(dsize, src.type()); src 67 modules/cudawarping/test/test_remap.cpp dst.at<T>(y, x * cn + c) = Interpolator<T>::getValue(src, ymap.at<float>(y, x), xmap.at<float>(y, x), c, borderType, borderVal); src 72 modules/cudawarping/test/test_remap.cpp void remapGold(const cv::Mat& src, const cv::Mat& xmap, const cv::Mat& ymap, cv::Mat& dst, int interpolation, int borderType, cv::Scalar borderVal) src 74 modules/cudawarping/test/test_remap.cpp typedef void (*func_t)(const cv::Mat& src, const cv::Mat& xmap, const cv::Mat& ymap, cv::Mat& dst, int borderType, cv::Scalar borderVal); src 108 modules/cudawarping/test/test_remap.cpp funcs[interpolation][src.depth()](src, xmap, ymap, dst, borderType, borderVal); src 160 modules/cudawarping/test/test_remap.cpp cv::Mat src = randomMat(size, type); src 164 modules/cudawarping/test/test_remap.cpp cv::cuda::remap(loadMat(src, useRoi), dst, loadMat(xmap, useRoi), loadMat(ymap, useRoi), interpolation, borderType, val); src 167 modules/cudawarping/test/test_remap.cpp remapGold(src, xmap, ymap, dst_gold, interpolation, borderType, val); src 169 modules/cudawarping/test/test_remap.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() == CV_32F ? 1e-3 : 1.0); src 55 modules/cudawarping/test/test_resize.cpp void resizeImpl(const cv::Mat& src, cv::Mat& dst, double fx, double fy) src 57 modules/cudawarping/test/test_resize.cpp const int cn = src.channels(); src 59 modules/cudawarping/test/test_resize.cpp cv::Size dsize(cv::saturate_cast<int>(src.cols * fx), cv::saturate_cast<int>(src.rows * fy)); src 61 modules/cudawarping/test/test_resize.cpp dst.create(dsize, src.type()); src 71 modules/cudawarping/test/test_resize.cpp dst.at<T>(y, x * cn + c) = Interpolator<T>::getValue(src, y * ify, x * ifx, c, cv::BORDER_REPLICATE); src 76 modules/cudawarping/test/test_resize.cpp void resizeGold(const cv::Mat& src, cv::Mat& dst, double fx, double fy, int interpolation) src 78 modules/cudawarping/test/test_resize.cpp typedef void (*func_t)(const cv::Mat& src, cv::Mat& dst, double fx, double fy); src 113 modules/cudawarping/test/test_resize.cpp funcs[interpolation][src.depth()](src, dst, fx, fy); src 144 modules/cudawarping/test/test_resize.cpp cv::Mat src = randomMat(size, type); src 146 modules/cudawarping/test/test_resize.cpp cv::cuda::GpuMat dst = createMat(cv::Size(cv::saturate_cast<int>(src.cols * coeff), cv::saturate_cast<int>(src.rows * coeff)), type, useRoi); src 147 modules/cudawarping/test/test_resize.cpp cv::cuda::resize(loadMat(src, useRoi), dst, cv::Size(), coeff, coeff, interpolation); src 150 modules/cudawarping/test/test_resize.cpp resizeGold(src, dst_gold, coeff, coeff, interpolation); src 152 modules/cudawarping/test/test_resize.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() == CV_32F ? 1e-2 : 1.0); src 190 modules/cudawarping/test/test_resize.cpp cv::Mat src = randomMat(size, type); src 192 modules/cudawarping/test/test_resize.cpp cv::cuda::GpuMat dst = createMat(cv::Size(cv::saturate_cast<int>(src.cols * coeff), cv::saturate_cast<int>(src.rows * coeff)), type, useRoi); src 193 modules/cudawarping/test/test_resize.cpp cv::cuda::resize(loadMat(src, useRoi), dst, cv::Size(), coeff, coeff, interpolation); src 196 modules/cudawarping/test/test_resize.cpp cv::resize(src, dst_gold, cv::Size(), coeff, coeff, interpolation); src 198 modules/cudawarping/test/test_resize.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() == CV_32F ? 1e-2 : 1.0); src 84 modules/cudawarping/test/test_warp_affine.cpp cv::Mat src = randomMat(randomSize(200, 400), CV_8UC1); src 96 modules/cudawarping/test/test_warp_affine.cpp cv::remap(src, dst, cv::Mat(xmap), cv::Mat(ymap), interpolation, borderMode); src 99 modules/cudawarping/test/test_warp_affine.cpp cv::warpAffine(src, dst_gold, M, size, flags, borderMode); src 114 modules/cudawarping/test/test_warp_affine.cpp template <typename T, template <typename> class Interpolator> void warpAffineImpl(const cv::Mat& src, const cv::Mat& M, cv::Size dsize, cv::Mat& dst, int borderType, cv::Scalar borderVal) src 116 modules/cudawarping/test/test_warp_affine.cpp const int cn = src.channels(); src 118 modules/cudawarping/test/test_warp_affine.cpp dst.create(dsize, src.type()); src 128 modules/cudawarping/test/test_warp_affine.cpp dst.at<T>(y, x * cn + c) = Interpolator<T>::getValue(src, ycoo, xcoo, c, borderType, borderVal); src 133 modules/cudawarping/test/test_warp_affine.cpp void warpAffineGold(const cv::Mat& src, const cv::Mat& M, bool inverse, cv::Size dsize, cv::Mat& dst, int interpolation, int borderType, cv::Scalar borderVal) src 135 modules/cudawarping/test/test_warp_affine.cpp typedef void (*func_t)(const cv::Mat& src, const cv::Mat& M, cv::Size dsize, cv::Mat& dst, int borderType, cv::Scalar borderVal); src 170 modules/cudawarping/test/test_warp_affine.cpp funcs[interpolation][src.depth()](src, M, dsize, dst, borderType, borderVal); src 175 modules/cudawarping/test/test_warp_affine.cpp funcs[interpolation][src.depth()](src, iM, dsize, dst, borderType, borderVal); src 209 modules/cudawarping/test/test_warp_affine.cpp cv::Mat src = randomMat(size, type); src 217 modules/cudawarping/test/test_warp_affine.cpp cv::cuda::warpAffine(loadMat(src, useRoi), dst, M, size, flags, borderType, val); src 220 modules/cudawarping/test/test_warp_affine.cpp warpAffineGold(src, M, inverse, size, dst_gold, interpolation, borderType, val); src 222 modules/cudawarping/test/test_warp_affine.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() == CV_32F ? 1e-1 : 1.0); src 257 modules/cudawarping/test/test_warp_affine.cpp cv::Mat src = readImageType("stereobp/aloe-L.png", type); src 258 modules/cudawarping/test/test_warp_affine.cpp ASSERT_FALSE(src.empty()); src 260 modules/cudawarping/test/test_warp_affine.cpp cv::Mat M = createTransfomMatrix(src.size(), CV_PI / 4); src 266 modules/cudawarping/test/test_warp_affine.cpp cv::cuda::warpAffine(loadMat(src), dst, M, src.size(), flags); src 269 modules/cudawarping/test/test_warp_affine.cpp warpAffineGold(src, M, inverse, src.size(), dst_gold, interpolation, cv::BORDER_CONSTANT, cv::Scalar::all(0)); src 89 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat src = randomMat(randomSize(200, 400), CV_8UC1); src 97 modules/cudawarping/test/test_warp_perspective.cpp cv::remap(src, dst, cv::Mat(xmap), cv::Mat(ymap), interpolation, borderMode); src 100 modules/cudawarping/test/test_warp_perspective.cpp cv::warpPerspective(src, dst_gold, M, size, flags, borderMode); src 115 modules/cudawarping/test/test_warp_perspective.cpp template <typename T, template <typename> class Interpolator> void warpPerspectiveImpl(const cv::Mat& src, const cv::Mat& M, cv::Size dsize, cv::Mat& dst, int borderType, cv::Scalar borderVal) src 117 modules/cudawarping/test/test_warp_perspective.cpp const int cn = src.channels(); src 119 modules/cudawarping/test/test_warp_perspective.cpp dst.create(dsize, src.type()); src 131 modules/cudawarping/test/test_warp_perspective.cpp dst.at<T>(y, x * cn + c) = Interpolator<T>::getValue(src, ycoo, xcoo, c, borderType, borderVal); src 136 modules/cudawarping/test/test_warp_perspective.cpp void warpPerspectiveGold(const cv::Mat& src, const cv::Mat& M, bool inverse, cv::Size dsize, cv::Mat& dst, int interpolation, int borderType, cv::Scalar borderVal) src 138 modules/cudawarping/test/test_warp_perspective.cpp typedef void (*func_t)(const cv::Mat& src, const cv::Mat& M, cv::Size dsize, cv::Mat& dst, int borderType, cv::Scalar borderVal); src 173 modules/cudawarping/test/test_warp_perspective.cpp funcs[interpolation][src.depth()](src, M, dsize, dst, borderType, borderVal); src 178 modules/cudawarping/test/test_warp_perspective.cpp funcs[interpolation][src.depth()](src, iM, dsize, dst, borderType, borderVal); src 212 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat src = randomMat(size, type); src 220 modules/cudawarping/test/test_warp_perspective.cpp cv::cuda::warpPerspective(loadMat(src, useRoi), dst, M, size, flags, borderType, val); src 223 modules/cudawarping/test/test_warp_perspective.cpp warpPerspectiveGold(src, M, inverse, size, dst_gold, interpolation, borderType, val); src 225 modules/cudawarping/test/test_warp_perspective.cpp EXPECT_MAT_NEAR(dst_gold, dst, src.depth() == CV_32F ? 1e-1 : 1.0); src 260 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat src = readImageType("stereobp/aloe-L.png", type); src 261 modules/cudawarping/test/test_warp_perspective.cpp ASSERT_FALSE(src.empty()); src 263 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat M = createTransfomMatrix(src.size(), CV_PI / 4); src 269 modules/cudawarping/test/test_warp_perspective.cpp cv::cuda::warpPerspective(loadMat(src), dst, M, src.size(), flags); src 272 modules/cudawarping/test/test_warp_perspective.cpp warpPerspectiveGold(src, M, inverse, src.size(), dst_gold, interpolation, cv::BORDER_CONSTANT, cv::Scalar::all(0)); src 111 modules/cudev/include/opencv2/cudev/expr/binary_op.hpp operator op(const GpuMat_<T>& src, T val) \ src 113 modules/cudev/include/opencv2/cudev/expr/binary_op.hpp return makeExpr(transformPtr(src, bind2nd(functor<T>(), val))); \ src 117 modules/cudev/include/opencv2/cudev/expr/binary_op.hpp operator op(T val, const GpuMat_<T>& src) \ src 119 modules/cudev/include/opencv2/cudev/expr/binary_op.hpp return makeExpr(transformPtr(src, bind1st(functor<T>(), val))); \ src 153 modules/cudev/include/opencv2/cudev/expr/binary_op.hpp operator op(const GlobPtrSz<T>& src, T val) \ src 155 modules/cudev/include/opencv2/cudev/expr/binary_op.hpp return makeExpr(transformPtr(src, bind2nd(functor<T>(), val))); \ src 159 modules/cudev/include/opencv2/cudev/expr/binary_op.hpp operator op(T val, const GlobPtrSz<T>& src) \ src 161 modules/cudev/include/opencv2/cudev/expr/binary_op.hpp return makeExpr(transformPtr(src, bind1st(functor<T>(), val))); \ src 183 modules/cudev/include/opencv2/cudev/expr/binary_op.hpp operator op(const Texture<T>& src, T val) \ src 185 modules/cudev/include/opencv2/cudev/expr/binary_op.hpp return makeExpr(transformPtr(src, bind2nd(functor<T>(), val))); \ src 189 modules/cudev/include/opencv2/cudev/expr/binary_op.hpp operator op(T val, const Texture<T>& src) \ src 191 modules/cudev/include/opencv2/cudev/expr/binary_op.hpp return makeExpr(transformPtr(src, bind1st(functor<T>(), val))); \ src 63 modules/cudev/include/opencv2/cudev/expr/color.hpp name ## _(const SrcPtr& src) \ src 65 modules/cudev/include/opencv2/cudev/expr/color.hpp return makeExpr(transformPtr(src, name ## _func<typename VecTraits<typename PtrTraits<SrcPtr>::value_type>::elem_type>())); \ src 63 modules/cudev/include/opencv2/cudev/expr/deriv.hpp derivX_(const SrcPtr& src) src 65 modules/cudev/include/opencv2/cudev/expr/deriv.hpp return makeExpr(derivXPtr(src)); src 72 modules/cudev/include/opencv2/cudev/expr/deriv.hpp derivY_(const SrcPtr& src) src 74 modules/cudev/include/opencv2/cudev/expr/deriv.hpp return makeExpr(derivYPtr(src)); src 81 modules/cudev/include/opencv2/cudev/expr/deriv.hpp sobelX_(const SrcPtr& src) src 83 modules/cudev/include/opencv2/cudev/expr/deriv.hpp return makeExpr(sobelXPtr(src)); src 90 modules/cudev/include/opencv2/cudev/expr/deriv.hpp sobelY_(const SrcPtr& src) src 92 modules/cudev/include/opencv2/cudev/expr/deriv.hpp return makeExpr(sobelYPtr(src)); src 99 modules/cudev/include/opencv2/cudev/expr/deriv.hpp scharrX_(const SrcPtr& src) src 101 modules/cudev/include/opencv2/cudev/expr/deriv.hpp return makeExpr(scharrXPtr(src)); src 108 modules/cudev/include/opencv2/cudev/expr/deriv.hpp scharrY_(const SrcPtr& src) src 110 modules/cudev/include/opencv2/cudev/expr/deriv.hpp return makeExpr(scharrYPtr(src)); src 117 modules/cudev/include/opencv2/cudev/expr/deriv.hpp laplacian_(const SrcPtr& src) src 119 modules/cudev/include/opencv2/cudev/expr/deriv.hpp return makeExpr(laplacianPtr<ksize>(src)); src 82 modules/cudev/include/opencv2/cudev/expr/per_element_func.hpp threshBinary_(const SrcPtr& src, typename PtrTraits<SrcPtr>::value_type thresh, typename PtrTraits<SrcPtr>::value_type maxVal) src 84 modules/cudev/include/opencv2/cudev/expr/per_element_func.hpp return makeExpr(transformPtr(src, thresh_binary_func(thresh, maxVal))); src 89 modules/cudev/include/opencv2/cudev/expr/per_element_func.hpp threshBinaryInv_(const SrcPtr& src, typename PtrTraits<SrcPtr>::value_type thresh, typename PtrTraits<SrcPtr>::value_type maxVal) src 91 modules/cudev/include/opencv2/cudev/expr/per_element_func.hpp return makeExpr(transformPtr(src, thresh_binary_inv_func(thresh, maxVal))); src 96 modules/cudev/include/opencv2/cudev/expr/per_element_func.hpp threshTrunc_(const SrcPtr& src, typename PtrTraits<SrcPtr>::value_type thresh) src 98 modules/cudev/include/opencv2/cudev/expr/per_element_func.hpp return makeExpr(transformPtr(src, thresh_trunc_func(thresh))); src 103 modules/cudev/include/opencv2/cudev/expr/per_element_func.hpp threshToZero_(const SrcPtr& src, typename PtrTraits<SrcPtr>::value_type thresh) src 105 modules/cudev/include/opencv2/cudev/expr/per_element_func.hpp return makeExpr(transformPtr(src, thresh_to_zero_func(thresh))); src 110 modules/cudev/include/opencv2/cudev/expr/per_element_func.hpp threshToZeroInv_(const SrcPtr& src, typename PtrTraits<SrcPtr>::value_type thresh) src 112 modules/cudev/include/opencv2/cudev/expr/per_element_func.hpp return makeExpr(transformPtr(src, thresh_to_zero_inv_func(thresh))); src 119 modules/cudev/include/opencv2/cudev/expr/per_element_func.hpp cvt_(const SrcPtr& src) src 121 modules/cudev/include/opencv2/cudev/expr/per_element_func.hpp return makeExpr(transformPtr(src, saturate_cast_func<typename PtrTraits<SrcPtr>::value_type, D>())); src 128 modules/cudev/include/opencv2/cudev/expr/per_element_func.hpp lut_(const SrcPtr& src, const TablePtr& tbl) src 130 modules/cudev/include/opencv2/cudev/expr/per_element_func.hpp return makeExpr(lutPtr(src, tbl)); src 66 modules/cudev/include/opencv2/cudev/expr/reduction.hpp SrcPtr src; src 71 modules/cudev/include/opencv2/cudev/expr/reduction.hpp gridCalcSum(src, dst, stream); src 77 modules/cudev/include/opencv2/cudev/expr/reduction.hpp sum_(const SrcPtr& src) src 80 modules/cudev/include/opencv2/cudev/expr/reduction.hpp body.src = src; src 88 modules/cudev/include/opencv2/cudev/expr/reduction.hpp SrcPtr src; src 93 modules/cudev/include/opencv2/cudev/expr/reduction.hpp gridFindMinVal(src, dst, stream); src 99 modules/cudev/include/opencv2/cudev/expr/reduction.hpp minVal_(const SrcPtr& src) src 102 modules/cudev/include/opencv2/cudev/expr/reduction.hpp body.src = src; src 110 modules/cudev/include/opencv2/cudev/expr/reduction.hpp SrcPtr src; src 115 modules/cudev/include/opencv2/cudev/expr/reduction.hpp gridFindMaxVal(src, dst, stream); src 121 modules/cudev/include/opencv2/cudev/expr/reduction.hpp maxVal_(const SrcPtr& src) src 124 modules/cudev/include/opencv2/cudev/expr/reduction.hpp body.src = src; src 132 modules/cudev/include/opencv2/cudev/expr/reduction.hpp SrcPtr src; src 137 modules/cudev/include/opencv2/cudev/expr/reduction.hpp gridFindMinMaxVal(src, dst, stream); src 143 modules/cudev/include/opencv2/cudev/expr/reduction.hpp minMaxVal_(const SrcPtr& src) src 146 modules/cudev/include/opencv2/cudev/expr/reduction.hpp body.src = src; src 154 modules/cudev/include/opencv2/cudev/expr/reduction.hpp SrcPtr src; src 159 modules/cudev/include/opencv2/cudev/expr/reduction.hpp gridCountNonZero(src, dst, stream); src 165 modules/cudev/include/opencv2/cudev/expr/reduction.hpp countNonZero_(const SrcPtr& src) src 168 modules/cudev/include/opencv2/cudev/expr/reduction.hpp body.src = src; src 176 modules/cudev/include/opencv2/cudev/expr/reduction.hpp SrcPtr src; src 181 modules/cudev/include/opencv2/cudev/expr/reduction.hpp gridReduceToRow<Reductor>(src, dst, stream); src 187 modules/cudev/include/opencv2/cudev/expr/reduction.hpp reduceToRow_(const SrcPtr& src) src 190 modules/cudev/include/opencv2/cudev/expr/reduction.hpp body.src = src; src 198 modules/cudev/include/opencv2/cudev/expr/reduction.hpp SrcPtr src; src 203 modules/cudev/include/opencv2/cudev/expr/reduction.hpp gridReduceToColumn<Reductor>(src, dst, stream); src 209 modules/cudev/include/opencv2/cudev/expr/reduction.hpp reduceToColumn_(const SrcPtr& src) src 212 modules/cudev/include/opencv2/cudev/expr/reduction.hpp body.src = src; src 220 modules/cudev/include/opencv2/cudev/expr/reduction.hpp SrcPtr src; src 225 modules/cudev/include/opencv2/cudev/expr/reduction.hpp gridHistogram<BIN_COUNT>(src, dst, stream); src 231 modules/cudev/include/opencv2/cudev/expr/reduction.hpp histogram_(const SrcPtr& src) src 234 modules/cudev/include/opencv2/cudev/expr/reduction.hpp body.src = src; src 242 modules/cudev/include/opencv2/cudev/expr/reduction.hpp SrcPtr src; src 247 modules/cudev/include/opencv2/cudev/expr/reduction.hpp gridIntegral(src, dst, stream); src 253 modules/cudev/include/opencv2/cudev/expr/reduction.hpp integral_(const SrcPtr& src) src 256 modules/cudev/include/opencv2/cudev/expr/reduction.hpp body.src = src; src 63 modules/cudev/include/opencv2/cudev/expr/unary_func.hpp name ## _(const SrcPtr& src) \ src 65 modules/cudev/include/opencv2/cudev/expr/unary_func.hpp return makeExpr(transformPtr(src, name ## _func<typename PtrTraits<SrcPtr>::value_type>())); \ src 94 modules/cudev/include/opencv2/cudev/expr/unary_func.hpp pow_(const SrcPtr& src, float power) src 96 modules/cudev/include/opencv2/cudev/expr/unary_func.hpp return makeExpr(transformPtr(src, bind2nd(pow_func<typename PtrTraits<SrcPtr>::value_type>(), power))); src 66 modules/cudev/include/opencv2/cudev/expr/unary_op.hpp operator op(const GpuMat_<T>& src) \ src 68 modules/cudev/include/opencv2/cudev/expr/unary_op.hpp return makeExpr(transformPtr(src, functor<T>())); \ src 72 modules/cudev/include/opencv2/cudev/expr/unary_op.hpp operator op(const GlobPtrSz<T>& src) \ src 74 modules/cudev/include/opencv2/cudev/expr/unary_op.hpp return makeExpr(transformPtr(src, functor<T>())); \ src 78 modules/cudev/include/opencv2/cudev/expr/unary_op.hpp operator op(const Texture<T>& src) \ src 80 modules/cudev/include/opencv2/cudev/expr/unary_op.hpp return makeExpr(transformPtr(src, functor<T>())); \ src 84 modules/cudev/include/opencv2/cudev/expr/unary_op.hpp operator op(const Expr<Body>& src) \ src 86 modules/cudev/include/opencv2/cudev/expr/unary_op.hpp return makeExpr(transformPtr(src.body, functor<typename Body::value_type>())); \ src 67 modules/cudev/include/opencv2/cudev/expr/warping.hpp resize_(const SrcPtr& src, float fx, float fy) src 69 modules/cudev/include/opencv2/cudev/expr/warping.hpp return makeExpr(resizePtr(src, fx, fy)); src 76 modules/cudev/include/opencv2/cudev/expr/warping.hpp remap_(const SrcPtr& src, const MapPtr& map) src 78 modules/cudev/include/opencv2/cudev/expr/warping.hpp return makeExpr(remapPtr(src, map)); src 83 modules/cudev/include/opencv2/cudev/expr/warping.hpp remap_(const SrcPtr& src, const MapXPtr& mapx, const MapYPtr& mapy) src 85 modules/cudev/include/opencv2/cudev/expr/warping.hpp return makeExpr(remapPtr(src, mapx, mapy)); src 92 modules/cudev/include/opencv2/cudev/expr/warping.hpp warpAffine_(const SrcPtr& src, Size dstSize, const GpuMat_<float>& warpMat) src 94 modules/cudev/include/opencv2/cudev/expr/warping.hpp return makeExpr(warpAffinePtr(src, dstSize, warpMat)); src 101 modules/cudev/include/opencv2/cudev/expr/warping.hpp warpPerspective_(const SrcPtr& src, Size dstSize, const GpuMat_<float>& warpMat) src 103 modules/cudev/include/opencv2/cudev/expr/warping.hpp return makeExpr(warpPerspectivePtr(src, dstSize, warpMat)); src 110 modules/cudev/include/opencv2/cudev/expr/warping.hpp SrcPtr src; src 115 modules/cudev/include/opencv2/cudev/expr/warping.hpp gridPyrDown(src, dst, stream); src 121 modules/cudev/include/opencv2/cudev/expr/warping.hpp pyrDown_(const SrcPtr& src) src 124 modules/cudev/include/opencv2/cudev/expr/warping.hpp body.src = src; src 132 modules/cudev/include/opencv2/cudev/expr/warping.hpp SrcPtr src; src 137 modules/cudev/include/opencv2/cudev/expr/warping.hpp gridPyrUp(src, dst, stream); src 143 modules/cudev/include/opencv2/cudev/expr/warping.hpp pyrUp_(const SrcPtr& src) src 146 modules/cudev/include/opencv2/cudev/expr/warping.hpp body.src = src; src 154 modules/cudev/include/opencv2/cudev/expr/warping.hpp SrcPtr src; src 159 modules/cudev/include/opencv2/cudev/expr/warping.hpp gridTranspose(src, dst, stream); src 165 modules/cudev/include/opencv2/cudev/expr/warping.hpp transpose_(const SrcPtr& src) src 168 modules/cudev/include/opencv2/cudev/expr/warping.hpp body.src = src; src 109 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const src 113 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.x = bidx == 0 ? src.x : src.z; src 114 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = src.y; src 115 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.z = bidx == 0 ? src.z : src.x; src 116 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp setAlpha(dst, getAlpha<T>(src)); src 129 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ ushort operator ()(const typename MakeVec<uchar, scn>::type& src) const src 131 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int b = bidx == 0 ? src.x : src.z; src 132 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.y; src 133 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int r = bidx == 0 ? src.z : src.x; src 141 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ ushort operator ()(const uchar3& src) const src 143 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int b = bidx == 0 ? src.x : src.z; src 144 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.y; src 145 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int r = bidx == 0 ? src.z : src.x; src 153 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ ushort operator ()(const uchar4& src) const src 155 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int b = bidx == 0 ? src.x : src.z; src 156 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.y; src 157 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int r = bidx == 0 ? src.z : src.x; src 158 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int a = src.w; src 170 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ uchar3 operator ()(ushort src) const src 172 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int b = src << 3; src 173 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int r = (src >> 7) & ~7; src 178 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = (src >> 2) & ~7; src 188 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ uchar4 operator ()(ushort src) const src 190 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int b = src << 3; src 191 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int r = (src >> 7) & ~7; src 196 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = (src >> 2) & ~7; src 198 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.w = (src & 0x8000) * 0xffu; src 207 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ uchar3 operator ()(ushort src) const src 209 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int b = src << 3; src 210 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int r = (src >> 8) & ~7; src 215 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = (src >> 3) & ~3; src 225 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ uchar4 operator ()(ushort src) const src 227 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int b = src << 3; src 228 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int r = (src >> 8) & ~7; src 233 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = (src >> 3) & ~3; src 246 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(T src) const src 250 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.z = dst.y = dst.x = src; src 264 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ ushort operator ()(uchar src) const src 266 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int t = src >> 3; src 274 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ ushort operator ()(uchar src) const src 276 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int t = src; src 288 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ uchar operator ()(ushort src) const src 290 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp return (uchar) CV_CUDEV_DESCALE(((src << 3) & 0xf8) * B2Y + ((src >> 2) & 0xf8) * G2Y + ((src >> 7) & 0xf8) * R2Y, yuv_shift); src 297 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ uchar operator ()(ushort src) const src 299 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp return (uchar) CV_CUDEV_DESCALE(((src << 3) & 0xf8) * B2Y + ((src >> 3) & 0xfc) * G2Y + ((src >> 8) & 0xf8) * R2Y, yuv_shift); src 308 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ T operator ()(const typename MakeVec<T, scn>::type& src) const src 310 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int b = bidx == 0 ? src.x : src.z; src 311 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.y; src 312 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int r = bidx == 0 ? src.z : src.x; src 320 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ float operator ()(const typename MakeVec<float, scn>::type& src) const src 322 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float b = bidx == 0 ? src.x : src.z; src 323 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float g = src.y; src 324 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float r = bidx == 0 ? src.z : src.x; src 337 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const src 339 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int b = bidx == 0 ? src.x : src.z; src 340 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.y; src 341 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int r = bidx == 0 ? src.z : src.x; src 362 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const src 364 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float b = bidx == 0 ? src.x : src.z; src 365 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float g = src.y; src 366 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float r = bidx == 0 ? src.z : src.x; src 386 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const src 388 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int b = src.x + CV_CUDEV_DESCALE((src.z - ColorChannel<T>::half()) * c_YUV2RGBCoeffs_i[3], yuv_shift); src 389 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.x + CV_CUDEV_DESCALE((src.z - ColorChannel<T>::half()) * c_YUV2RGBCoeffs_i[2] + (src.y - ColorChannel<T>::half()) * c_YUV2RGBCoeffs_i[1], yuv_shift); src 390 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int r = src.x + CV_CUDEV_DESCALE((src.y - ColorChannel<T>::half()) * c_YUV2RGBCoeffs_i[0], yuv_shift); src 406 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const src 408 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float b = src.x + (src.z - ColorChannel<float>::half()) * c_YUV2RGBCoeffs_f[3]; src 409 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float g = src.x + (src.z - ColorChannel<float>::half()) * c_YUV2RGBCoeffs_f[2] + (src.y - ColorChannel<float>::half()) * c_YUV2RGBCoeffs_f[1]; src 410 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float r = src.x + (src.y - ColorChannel<float>::half()) * c_YUV2RGBCoeffs_f[0]; src 431 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const src 433 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int b = bidx == 0 ? src.x : src.z; src 434 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.y; src 435 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int r = bidx == 0 ? src.z : src.x; src 456 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const src 458 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float b = bidx == 0 ? src.x : src.z; src 459 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float g = src.y; src 460 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float r = bidx == 0 ? src.z : src.x; src 480 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const src 482 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int b = src.x + CV_CUDEV_DESCALE((src.z - ColorChannel<T>::half()) * c_YCrCb2RGBCoeffs_i[3], yuv_shift); src 483 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.x + CV_CUDEV_DESCALE((src.z - ColorChannel<T>::half()) * c_YCrCb2RGBCoeffs_i[2] + (src.y - ColorChannel<T>::half()) * c_YCrCb2RGBCoeffs_i[1], yuv_shift); src 484 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int r = src.x + CV_CUDEV_DESCALE((src.y - ColorChannel<T>::half()) * c_YCrCb2RGBCoeffs_i[0], yuv_shift); src 500 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const src 502 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float b = src.x + (src.z - ColorChannel<float>::half()) * c_YCrCb2RGBCoeffs_f[3]; src 503 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float g = src.x + (src.z - ColorChannel<float>::half()) * c_YCrCb2RGBCoeffs_f[2] + (src.y - ColorChannel<float>::half()) * c_YCrCb2RGBCoeffs_f[1]; src 504 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float r = src.x + (src.y - ColorChannel<float>::half()) * c_YCrCb2RGBCoeffs_f[0]; src 525 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const src 527 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int b = bidx == 0 ? src.x : src.z; src 528 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.y; src 529 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int r = bidx == 0 ? src.z : src.x; src 544 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const src 546 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float b = bidx == 0 ? src.x : src.z; src 547 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float g = src.y; src 548 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float r = bidx == 0 ? src.z : src.x; src 568 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const src 570 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int b = CV_CUDEV_DESCALE(src.x * c_XYZ2sRGB_D65i[6] + src.y * c_XYZ2sRGB_D65i[7] + src.z * c_XYZ2sRGB_D65i[8], xyz_shift); src 571 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = CV_CUDEV_DESCALE(src.x * c_XYZ2sRGB_D65i[3] + src.y * c_XYZ2sRGB_D65i[4] + src.z * c_XYZ2sRGB_D65i[5], xyz_shift); src 572 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int r = CV_CUDEV_DESCALE(src.x * c_XYZ2sRGB_D65i[0] + src.y * c_XYZ2sRGB_D65i[1] + src.z * c_XYZ2sRGB_D65i[2], xyz_shift); src 588 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const src 590 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float b = src.x * c_XYZ2sRGB_D65f[6] + src.y * c_XYZ2sRGB_D65f[7] + src.z * c_XYZ2sRGB_D65f[8]; src 591 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float g = src.x * c_XYZ2sRGB_D65f[3] + src.y * c_XYZ2sRGB_D65f[4] + src.z * c_XYZ2sRGB_D65f[5]; src 592 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float r = src.x * c_XYZ2sRGB_D65f[0] + src.y * c_XYZ2sRGB_D65f[1] + src.z * c_XYZ2sRGB_D65f[2]; src 616 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const src 621 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int b = bidx == 0 ? src.x : src.z; src 622 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int g = src.y; src 623 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const int r = bidx == 0 ? src.z : src.x; src 656 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const src 660 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float b = bidx == 0 ? src.x : src.z; src 661 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float g = src.y; src 662 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float r = bidx == 0 ? src.z : src.x; src 701 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const src 705 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float h = src.x, s = src.y, v = src.z; src 751 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const src 755 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.x = src.x; src 756 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.y = src.y * (1.f / 255.f); src 757 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.z = src.z * (1.f / 255.f); src 780 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const src 784 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float b = bidx == 0 ? src.x : src.z; src 785 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float g = src.y; src 786 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp const float r = bidx == 0 ? src.z : src.x; src 825 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const src 829 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.x = src.x * (1.f / 255.f); src 830 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.y = src.y * (1.f / 255.f); src 831 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.z = src.z * (1.f / 255.f); src 855 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const src 859 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float h = src.x, l = src.y, s = src.z; src 905 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const src 909 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.x = src.x; src 910 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.y = src.y * (1.f / 255.f); src 911 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.z = src.z * (1.f / 255.f); src 961 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const src 966 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp int B = blueIdx == 0 ? src.x : src.z; src 967 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp int G = src.y; src 968 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp int R = blueIdx == 0 ? src.z : src.x; src 1004 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const src 1009 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float B = blueIdx == 0 ? src.x : src.z; src 1010 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float G = src.y; src 1011 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float R = blueIdx == 0 ? src.z : src.x; src 1051 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const src 1058 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp if (src.x <= lThresh) src 1060 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp Y = src.x / 903.3f; src 1065 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp fy = (src.x + 16.0f) / 116.0f; src 1069 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float X = src.y / 500.0f + fy; src 1070 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float Z = fy - src.z / 200.0f; src 1107 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const src 1111 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.x = src.x * (100.f / 255.f); src 1112 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.y = src.y - 128; src 1113 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.z = src.z - 128; src 1138 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const src 1144 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float B = blueIdx == 0 ? src.x : src.z; src 1145 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float G = src.y; src 1146 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float R = blueIdx == 0 ? src.z : src.x; src 1179 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const src 1183 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.x = src.x * (1.f / 255.f); src 1184 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.y = src.y * (1.f / 255.f); src 1185 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.z = src.z * (1.f / 255.f); src 1207 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const src 1213 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float L = src.x; src 1214 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float u = src.y; src 1215 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float v = src.z; src 1257 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const src 1261 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.x = src.x * (100.f / 255.f); src 1262 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.y = src.y * 1.388235294117647f - 134.f; src 1263 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp buf.z = src.z * 1.027450980392157f - 140.f; src 678 modules/cudev/include/opencv2/cudev/functional/functional.hpp __device__ __forceinline__ T operator ()(typename TypeTraits<T>::parameter_type src) const src 680 modules/cudev/include/opencv2/cudev/functional/functional.hpp return saturate_cast<T>(src > thresh) * maxVal; src 698 modules/cudev/include/opencv2/cudev/functional/functional.hpp __device__ __forceinline__ T operator ()(typename TypeTraits<T>::parameter_type src) const src 700 modules/cudev/include/opencv2/cudev/functional/functional.hpp return saturate_cast<T>(src <= thresh) * maxVal; src 717 modules/cudev/include/opencv2/cudev/functional/functional.hpp __device__ __forceinline__ T operator ()(typename TypeTraits<T>::parameter_type src) const src 720 modules/cudev/include/opencv2/cudev/functional/functional.hpp return minOp(src, thresh); src 736 modules/cudev/include/opencv2/cudev/functional/functional.hpp __device__ __forceinline__ T operator ()(typename TypeTraits<T>::parameter_type src) const src 738 modules/cudev/include/opencv2/cudev/functional/functional.hpp return saturate_cast<T>(src > thresh) * src; src 754 modules/cudev/include/opencv2/cudev/functional/functional.hpp __device__ __forceinline__ T operator ()(typename TypeTraits<T>::parameter_type src) const src 756 modules/cudev/include/opencv2/cudev/functional/functional.hpp return saturate_cast<T>(src <= thresh) * src; src 64 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy_(const SrcPtr& src, GpuMat_<DstType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 66 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); src 67 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int cols = getCols(src); src 73 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy<Policy>(shrinkPtr(src), shrinkPtr(dst), shrinkPtr(mask), rows, cols, StreamAccessor::getStream(stream)); src 77 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy_(const SrcPtr& src, const GlobPtrSz<DstType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 79 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); src 80 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int cols = getCols(src); src 85 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy<Policy>(shrinkPtr(src), shrinkPtr(dst), shrinkPtr(mask), rows, cols, StreamAccessor::getStream(stream)); src 89 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy_(const SrcPtr& src, GpuMat_<DstType>& dst, Stream& stream = Stream::Null()) src 91 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); src 92 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int cols = getCols(src); src 96 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy<Policy>(shrinkPtr(src), shrinkPtr(dst), WithOutMask(), rows, cols, StreamAccessor::getStream(stream)); src 100 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy_(const SrcPtr& src, const GlobPtrSz<DstType>& dst, Stream& stream = Stream::Null()) src 102 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); src 103 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int cols = getCols(src); src 107 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy<Policy>(shrinkPtr(src), shrinkPtr(dst), WithOutMask(), rows, cols, StreamAccessor::getStream(stream)); src 111 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy_(const SrcPtrTuple& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>& >& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 115 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); src 116 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int cols = getCols(src); src 123 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy_tuple<Policy>(shrinkPtr(src), src 131 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy_(const SrcPtrTuple& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1> >& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 135 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); src 136 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int cols = getCols(src); src 142 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy_tuple<Policy>(shrinkPtr(src), src 150 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy_(const SrcPtrTuple& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>& >& dst, Stream& stream = Stream::Null()) src 154 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); src 155 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int cols = getCols(src); src 160 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy_tuple<Policy>(shrinkPtr(src), src 168 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy_(const SrcPtrTuple& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1> >& dst, Stream& stream = Stream::Null()) src 172 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); src 173 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int cols = getCols(src); src 178 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy_tuple<Policy>(shrinkPtr(src), src 186 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy_(const SrcPtrTuple& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>&, GpuMat_<D2>& >& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 190 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); src 191 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int cols = getCols(src); src 199 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy_tuple<Policy>(shrinkPtr(src), src 207 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy_(const SrcPtrTuple& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1>, GlobPtrSz<D2> >& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 211 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); src 212 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int cols = getCols(src); src 219 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy_tuple<Policy>(shrinkPtr(src), src 227 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy_(const SrcPtrTuple& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>&, GpuMat_<D2>& >& dst, Stream& stream = Stream::Null()) src 231 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); src 232 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int cols = getCols(src); src 238 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy_tuple<Policy>(shrinkPtr(src), src 246 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy_(const SrcPtrTuple& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1>, GlobPtrSz<D2> >& dst, Stream& stream = Stream::Null()) src 250 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); src 251 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int cols = getCols(src); src 257 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy_tuple<Policy>(shrinkPtr(src), src 265 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy_(const SrcPtrTuple& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>&, GpuMat_<D2>&, GpuMat_<D3>& >& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 269 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); src 270 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int cols = getCols(src); src 279 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy_tuple<Policy>(shrinkPtr(src), src 287 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy_(const SrcPtrTuple& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1>, GlobPtrSz<D2>, GlobPtrSz<D3> >& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 291 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); src 292 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int cols = getCols(src); src 300 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy_tuple<Policy>(shrinkPtr(src), src 308 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy_(const SrcPtrTuple& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>&, GpuMat_<D2>&, GpuMat_<D3>& >& dst, Stream& stream = Stream::Null()) src 312 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); src 313 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int cols = getCols(src); src 320 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy_tuple<Policy>(shrinkPtr(src), src 328 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy_(const SrcPtrTuple& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1>, GlobPtrSz<D2>, GlobPtrSz<D3> >& dst, Stream& stream = Stream::Null()) src 332 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int rows = getRows(src); src 333 modules/cudev/include/opencv2/cudev/grid/copy.hpp const int cols = getCols(src); src 340 modules/cudev/include/opencv2/cudev/grid/copy.hpp grid_copy_detail::copy_tuple<Policy>(shrinkPtr(src), src 358 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy(const SrcPtr& src, GpuMat_<DstType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 360 modules/cudev/include/opencv2/cudev/grid/copy.hpp gridCopy_<DefaultCopyPolicy>(src, dst, mask, stream); src 364 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy(const SrcPtr& src, const GlobPtrSz<DstType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 366 modules/cudev/include/opencv2/cudev/grid/copy.hpp gridCopy_<DefaultCopyPolicy>(src, dst, mask, stream); src 370 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy(const SrcPtr& src, GpuMat_<DstType>& dst, Stream& stream = Stream::Null()) src 372 modules/cudev/include/opencv2/cudev/grid/copy.hpp gridCopy_<DefaultCopyPolicy>(src, dst, stream); src 376 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy(const SrcPtr& src, const GlobPtrSz<DstType>& dst, Stream& stream = Stream::Null()) src 378 modules/cudev/include/opencv2/cudev/grid/copy.hpp gridCopy_<DefaultCopyPolicy>(src, dst, stream); src 382 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy(const SrcPtrTuple& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>& >& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 384 modules/cudev/include/opencv2/cudev/grid/copy.hpp gridCopy_<DefaultCopyPolicy>(src, dst, mask, stream); src 388 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy(const SrcPtrTuple& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1> >& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 390 modules/cudev/include/opencv2/cudev/grid/copy.hpp gridCopy_<DefaultCopyPolicy>(src, dst, mask, stream); src 394 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy(const SrcPtrTuple& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>& >& dst, Stream& stream = Stream::Null()) src 396 modules/cudev/include/opencv2/cudev/grid/copy.hpp gridCopy_<DefaultCopyPolicy>(src, dst, stream); src 400 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy(const SrcPtrTuple& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1> >& dst, Stream& stream = Stream::Null()) src 402 modules/cudev/include/opencv2/cudev/grid/copy.hpp gridCopy_<DefaultCopyPolicy>(src, dst, stream); src 406 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy(const SrcPtrTuple& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>&, GpuMat_<D2>& >& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 408 modules/cudev/include/opencv2/cudev/grid/copy.hpp gridCopy_<DefaultCopyPolicy>(src, dst, mask, stream); src 412 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy(const SrcPtrTuple& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1>, GlobPtrSz<D2> >& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 414 modules/cudev/include/opencv2/cudev/grid/copy.hpp gridCopy_<DefaultCopyPolicy>(src, dst, mask, stream); src 418 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy(const SrcPtrTuple& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>&, GpuMat_<D2>& >& dst, Stream& stream = Stream::Null()) src 420 modules/cudev/include/opencv2/cudev/grid/copy.hpp gridCopy_<DefaultCopyPolicy>(src, dst, stream); src 424 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy(const SrcPtrTuple& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1>, GlobPtrSz<D2> >& dst, Stream& stream = Stream::Null()) src 426 modules/cudev/include/opencv2/cudev/grid/copy.hpp gridCopy_<DefaultCopyPolicy>(src, dst, stream); src 430 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy(const SrcPtrTuple& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>&, GpuMat_<D2>&, GpuMat_<D3>& >& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 432 modules/cudev/include/opencv2/cudev/grid/copy.hpp gridCopy_<DefaultCopyPolicy>(src, dst, mask, stream); src 436 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy(const SrcPtrTuple& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1>, GlobPtrSz<D2>, GlobPtrSz<D3> >& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 438 modules/cudev/include/opencv2/cudev/grid/copy.hpp gridCopy_<DefaultCopyPolicy>(src, dst, mask, stream); src 442 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy_(const SrcPtrTuple& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>&, GpuMat_<D2>&, GpuMat_<D3>& >& dst, Stream& stream = Stream::Null()) src 444 modules/cudev/include/opencv2/cudev/grid/copy.hpp gridCopy_<DefaultCopyPolicy>(src, dst, stream); src 448 modules/cudev/include/opencv2/cudev/grid/copy.hpp __host__ void gridCopy_(const SrcPtrTuple& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1>, GlobPtrSz<D2>, GlobPtrSz<D3> >& dst, Stream& stream = Stream::Null()) src 450 modules/cudev/include/opencv2/cudev/grid/copy.hpp gridCopy_<DefaultCopyPolicy>(src, dst, stream); src 60 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp __global__ void copy(const SrcPtr src, GlobPtr<DstType> dst, const MaskPtr mask, const int rows, const int cols) src 68 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp dst(y, x) = saturate_cast<DstType>(src(y, x)); src 72 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp __host__ void copy(const SrcPtr& src, const GlobPtr<DstType>& dst, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 77 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp copy<<<grid, block, 0, stream>>>(src, dst, mask, rows, cols); src 87 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp __device__ static void copy(const SrcPtrTuple& src, DstPtrTuple& dst, const int y, const int x) src 92 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp get<count - 1>(dst)(y, x) = saturate_cast<dst_type>(get<count - 1>(src)(y, x)); src 93 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp Unroll<count - 1>::copy(src, dst, y, x); src 105 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp __global__ void copy_tuple(const SrcPtrTuple src, DstPtrTuple dst, const MaskPtr mask, const int rows, const int cols) src 113 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp Unroll<tuple_size<SrcPtrTuple>::value>::copy(src, dst, y, x); src 117 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp __host__ void copy_tuple(const SrcPtrTuple& src, const DstPtrTuple& dst, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 122 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp copy_tuple<<<grid, block, 0, stream>>>(src, dst, mask, rows, cols); src 57 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp __global__ void histogram(const SrcPtr src, ResType* hist, const MaskPtr mask, const int rows, const int cols) src 76 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp const uint data = src(y, x); src 94 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp __host__ void histogram(const SrcPtr& src, ResType* hist, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 101 modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp histogram<BIN_COUNT, BLOCK_SIZE><<<grid, block, 0, stream>>>(src, hist, mask, rows, cols); src 61 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp __global__ void horizontal_pass(const SrcPtr src, GlobPtr<D> dst, const int cols) src 82 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp curElem = src(blockIdx.x, curElemOffs); src 103 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp __global__ void horizontal_pass(const GlobPtr<T> src, GlobPtr<D> dst, const int cols) src 112 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp const T* src_row = src.row(blockIdx.x); src 146 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp __host__ void horizontal_pass(const SrcPtr& src, const GlobPtr<D>& dst, int rows, int cols, cudaStream_t stream) src 153 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp horizontal_pass<NUM_SCAN_THREADS><<<grid, block, 0, stream>>>(src, dst, cols); src 399 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp __host__ static void horisontal_pass_8u_shfl(const GlobPtr<uchar> src, GlobPtr<uint> integral, int rows, int cols, cudaStream_t stream) src 410 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp GlobPtr<uint4> src4 = globPtr((uint4*) src.data, src.step); src 589 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp __host__ void integral(const SrcPtr& src, const GlobPtr<D>& dst, int rows, int cols, cudaStream_t stream) src 591 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp horizontal_pass(src, dst, rows, cols, stream); src 598 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp __host__ static void integral(const GlobPtr<uchar>& src, const GlobPtr<uint>& dst, int rows, int cols, cudaStream_t stream) src 602 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp && reinterpret_cast<intptr_t>(src.data) % 32 == 0 src 605 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp horisontal_pass_8u_shfl(src, dst, rows, cols, stream); src 609 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp horizontal_pass(src, dst, rows, cols, stream); src 618 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp __host__ __forceinline__ void integral(const GlobPtr<uchar>& src, const GlobPtr<int>& dst, int rows, int cols, cudaStream_t stream) src 621 modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp integral(src, dstui, rows, cols, stream); src 60 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp __global__ void minMaxLoc_pass_1(const SrcPtr src, ResType* minVal, ResType* maxVal, int* minLoc, int* maxLoc, const MaskPtr mask, const int rows, const int cols, const int patch_y, const int patch_x) src 81 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp const ResType srcVal = src(y, x); src 156 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp __host__ void minMaxLoc(const SrcPtr& src, ResType* minVal, ResType* maxVal, int* minLoc, int* maxLoc, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 164 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp minMaxLoc_pass_1<Policy::block_size_x * Policy::block_size_y><<<grid, block, 0, stream>>>(src, minVal, maxVal, minLoc, maxLoc, mask, rows, cols, patch_y, patch_x); src 61 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp __global__ void pyrDown(const SrcPtr src, GlobPtr<DstType> dst, const int src_rows, const int src_cols, const int dst_cols) src 80 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = 0.0625f * src(src_y - 2, x); src 81 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.25f * src(src_y - 1, x); src 82 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.375f * src(src_y , x); src 83 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.25f * src(src_y + 1, x); src 84 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.0625f * src(src_y + 2, x); src 95 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = 0.0625f * src(src_y - 2, left_x); src 96 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.25f * src(src_y - 1, left_x); src 97 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.375f * src(src_y , left_x); src 98 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.25f * src(src_y + 1, left_x); src 99 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.0625f * src(src_y + 2, left_x); src 110 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = 0.0625f * src(src_y - 2, right_x); src 111 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.25f * src(src_y - 1, right_x); src 112 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.375f * src(src_y , right_x); src 113 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.25f * src(src_y + 1, right_x); src 114 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.0625f * src(src_y + 2, right_x); src 124 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = 0.0625f * src(Brd::idx_low(src_y - 2, src_rows) , Brd::idx_high(x, src_cols)); src 125 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.25f * src(Brd::idx_low(src_y - 1, src_rows) , Brd::idx_high(x, src_cols)); src 126 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.375f * src(src_y , Brd::idx_high(x, src_cols)); src 127 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.25f * src(Brd::idx_high(src_y + 1, src_rows), Brd::idx_high(x, src_cols)); src 128 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.0625f * src(Brd::idx_high(src_y + 2, src_rows), Brd::idx_high(x, src_cols)); src 139 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = 0.0625f * src(Brd::idx_low(src_y - 2, src_rows) , Brd::idx_low(Brd::idx_high(left_x, src_cols), src_cols)); src 140 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.25f * src(Brd::idx_low(src_y - 1, src_rows) , Brd::idx_low(Brd::idx_high(left_x, src_cols), src_cols)); src 141 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.375f * src(src_y , Brd::idx_low(Brd::idx_high(left_x, src_cols), src_cols)); src 142 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.25f * src(Brd::idx_high(src_y + 1, src_rows), Brd::idx_low(Brd::idx_high(left_x, src_cols), src_cols)); src 143 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.0625f * src(Brd::idx_high(src_y + 2, src_rows), Brd::idx_low(Brd::idx_high(left_x, src_cols), src_cols)); src 154 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = 0.0625f * src(Brd::idx_low(src_y - 2, src_rows) , Brd::idx_high(right_x, src_cols)); src 155 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.25f * src(Brd::idx_low(src_y - 1, src_rows) , Brd::idx_high(right_x, src_cols)); src 156 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.375f * src(src_y , Brd::idx_high(right_x, src_cols)); src 157 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.25f * src(Brd::idx_high(src_y + 1, src_rows), Brd::idx_high(right_x, src_cols)); src 158 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp sum = sum + 0.0625f * src(Brd::idx_high(src_y + 2, src_rows), Brd::idx_high(right_x, src_cols)); src 186 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp __host__ void pyrDown(const SrcPtr& src, const GlobPtr<DstType>& dst, int src_rows, int src_cols, int dst_rows, int dst_cols, cudaStream_t stream) src 191 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp pyrDown<Brd><<<grid, block, 0, stream>>>(src, dst, src_rows, src_cols, dst_cols); src 61 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp __global__ void pyrUp(const SrcPtr src, GlobPtr<DstType> dst, const int src_rows, const int src_cols, const int dst_rows, const int dst_cols) src 85 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp s_srcPatch[threadIdx.y][threadIdx.x] = saturate_cast<work_type>(src(srcy, srcx)); src 157 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp __host__ void pyrUp(const SrcPtr& src, const GlobPtr<DstType>& dst, int src_rows, int src_cols, int dst_rows, int dst_cols, cudaStream_t stream) src 162 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp pyrUp<<<grid, block, 0, stream>>>(src, dst, src_rows, src_cols, dst_rows, dst_cols); src 392 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp __global__ void reduce(const SrcPtr src, ResType* result, const MaskPtr mask, const int rows, const int cols) src 405 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp reductor.reduceVal(src(y, x)); src 416 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp __host__ void reduce(const SrcPtr& src, ResType* result, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 421 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp reduce<Reductor, Policy::block_size_x * Policy::block_size_y, Policy::patch_size_x, Policy::patch_size_y><<<grid, block, 0, stream>>>(src, result, mask, rows, cols); src 431 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp __host__ void sum(const SrcPtr& src, ResType* result, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 436 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp reduce<SumReductor<src_type, ResType>, Policy>(src, (res_elem_type*) result, mask, rows, cols, stream); src 440 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp __host__ void minVal(const SrcPtr& src, ResType* result, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 444 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp reduce<MinMaxReductor<minop<ResType>, src_type, ResType>, Policy>(src, result, mask, rows, cols, stream); src 448 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp __host__ void maxVal(const SrcPtr& src, ResType* result, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 452 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp reduce<MinMaxReductor<maxop<ResType>, src_type, ResType>, Policy>(src, result, mask, rows, cols, stream); src 456 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp __host__ void minMaxVal(const SrcPtr& src, ResType* result, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 460 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp reduce<MinMaxReductor<both, src_type, ResType>, Policy>(src, result, mask, rows, cols, stream); src 96 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp __global__ void reduceToColumn(const SrcPtr src, ResType* dst, const MaskPtr mask, const int cols) src 114 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp myVal = op(myVal, saturate_cast<work_type>(src(y, x))); src 125 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp __host__ void reduceToColumn(const SrcPtr& src, ResType* dst, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 135 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp reduceToColumn<Reductor, BLOCK_SIZE><<<grid, block, 0, stream>>>(src, dst, mask, cols); src 58 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_row.hpp __global__ void reduceToRow(const SrcPtr src, ResType* dst, const MaskPtr mask, const int rows, const int cols) src 76 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_row.hpp myVal = op(myVal, saturate_cast<work_type>(src(y, x))); src 100 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_row.hpp __host__ void reduceToRow(const SrcPtr& src, ResType* dst, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 108 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_row.hpp reduceToRow<Reductor, BLOCK_SIZE_X, BLOCK_SIZE_Y><<<grid, block, 0, stream>>>(src, dst, mask, rows, cols); src 160 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __host__ static void merge(const SrcPtrTuple& src, const GlobPtr<DstType>& dst, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 162 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp mergeC2<Policy>(get<0>(src), get<1>(src), dst, mask, rows, cols, stream); src 169 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __host__ static void merge(const SrcPtrTuple& src, const GlobPtr<DstType>& dst, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 171 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp mergeC3<Policy>(get<0>(src), get<1>(src), get<2>(src), dst, mask, rows, cols, stream); src 178 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __host__ static void merge(const SrcPtrTuple& src, const GlobPtr<DstType>& dst, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 180 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp mergeC4<Policy>(get<0>(src), get<1>(src), get<2>(src), get<3>(src), dst, mask, rows, cols, stream); src 187 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __global__ void split(const SrcPtr src, GlobPtr<DstType> dst1, GlobPtr<DstType> dst2, const MaskPtr mask, const int rows, const int cols) src 197 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const src_type src_value = src(y, x); src 204 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __host__ void split(const SrcPtr& src, const GlobPtr<DstType>& dst1, const GlobPtr<DstType>& dst2, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 209 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp split<<<grid, block, 0, stream>>>(src, dst1, dst2, mask, rows, cols); src 217 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __global__ void split(const SrcPtr src, GlobPtr<DstType> dst1, GlobPtr<DstType> dst2, GlobPtr<DstType> dst3, const MaskPtr mask, const int rows, const int cols) src 227 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const src_type src_value = src(y, x); src 235 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __host__ void split(const SrcPtr& src, const GlobPtr<DstType>& dst1, const GlobPtr<DstType>& dst2, const GlobPtr<DstType>& dst3, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 240 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp split<<<grid, block, 0, stream>>>(src, dst1, dst2, dst3, mask, rows, cols); src 248 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __global__ void split(const SrcPtr src, GlobPtr<DstType> dst1, GlobPtr<DstType> dst2, GlobPtr<DstType> dst3, GlobPtr<DstType> dst4, const MaskPtr mask, const int rows, const int cols) src 258 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp const src_type src_value = src(y, x); src 267 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp __host__ void split(const SrcPtr& src, const GlobPtr<DstType>& dst1, const GlobPtr<DstType>& dst2, const GlobPtr<DstType>& dst3, const GlobPtr<DstType>& dst4, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 272 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp split<<<grid, block, 0, stream>>>(src, dst1, dst2, dst3, dst4, mask, rows, cols); src 67 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __device__ __forceinline__ static void unroll(const T& src, D& dst, const UnOp& op, const MaskPtr& mask, int x_shifted, int y) src 70 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst.x = op(src.x); src 84 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __device__ __forceinline__ static void unroll(const T& src, D& dst, const UnOp& op, const MaskPtr& mask, int x_shifted, int y) src 87 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst.x = op(src.x); src 89 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst.y = op(src.y); src 105 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __device__ __forceinline__ static void unroll(const T& src, D& dst, const UnOp& op, const MaskPtr& mask, int x_shifted, int y) src 108 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst.x = op(src.x); src 110 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst.y = op(src.y); src 112 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst.z = op(src.z); src 130 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __device__ __forceinline__ static void unroll(const T& src, D& dst, const UnOp& op, const MaskPtr& mask, int x_shifted, int y) src 133 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst.x = op(src.x); src 135 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst.y = op(src.y); src 137 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst.z = op(src.z); src 139 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst.w = op(src.w); src 159 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __global__ void transformSimple(const SrcPtr src, GlobPtr<DstType> dst, const UnOp op, const MaskPtr mask, const int rows, const int cols) src 167 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst(y, x) = saturate_cast<DstType>(op(src(y, x))); src 196 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const SrcType* src = src_.row(y); src 201 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp const read_type src_n_el = ((const read_type*)src)[x]; src 213 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp dst[real_x] = op(src[real_x]); src 264 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __host__ static void call(const SrcPtr& src, const GlobPtr<DstType>& dst, const UnOp& op, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 269 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp transformSimple<<<grid, block, 0, stream>>>(src, dst, op, mask, rows, cols); src 304 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __host__ static void call(const GlobPtr<SrcType>& src, const GlobPtr<DstType>& dst, const UnOp& op, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 307 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp !isAligned(src.data, Policy::shift * sizeof(SrcType)) || !isAligned(src.step, Policy::shift * sizeof(SrcType)) || src 310 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp TransformDispatcher<false, Policy>::call(src, dst, op, mask, rows, cols, stream); src 317 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp transformSmart<Policy::shift><<<grid, block, 0, stream>>>(src, dst, op, mask, rows, cols); src 348 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __host__ void transform_unary(const SrcPtr& src, const GlobPtr<DstType>& dst, const UnOp& op, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 350 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp TransformDispatcher<false, Policy>::call(src, dst, op, mask, rows, cols, stream); src 360 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __host__ void transform_unary(const GlobPtr<SrcType>& src, const GlobPtr<DstType>& dst, const UnOp& op, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 362 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp TransformDispatcher<VecTraits<SrcType>::cn == 1 && VecTraits<DstType>::cn == 1 && Policy::shift != 1, Policy>::call(src, dst, op, mask, rows, cols, stream); src 394 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __global__ void transform_tuple(const SrcPtr src, DstPtrTuple dst, const OpTuple op, const MaskPtr mask, const int rows, const int cols) src 402 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp typename PtrTraits<SrcPtr>::value_type srcVal = src(y, x); src 408 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __host__ void transform_tuple(const SrcPtrTuple& src, const DstPtrTuple& dst, const OpTuple& op, const MaskPtr& mask, int rows, int cols, cudaStream_t stream) src 413 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp transform_tuple<<<grid, block, 0, stream>>>(src, dst, op, mask, rows, cols); src 59 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp __global__ void transpose(const SrcPtr src, GlobPtr<DstType> dst, const int rows, const int cols) src 89 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp tile[threadIdx.y + i][threadIdx.x] = src(yIndex + i, xIndex); src 112 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp __host__ void transpose(const SrcPtr& src, const GlobPtr<DstType>& dst, int rows, int cols, cudaStream_t stream) src 117 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp transpose<Policy::tile_dim, Policy::block_dim_y><<<grid, block, 0, stream>>>(src, dst, rows, cols); src 61 modules/cudev/include/opencv2/cudev/grid/histogram.hpp __host__ void gridHistogram_(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 65 modules/cudev/include/opencv2/cudev/grid/histogram.hpp const int rows = getRows(src); src 66 modules/cudev/include/opencv2/cudev/grid/histogram.hpp const int cols = getCols(src); src 73 modules/cudev/include/opencv2/cudev/grid/histogram.hpp grid_histogram_detail::histogram<BIN_COUNT, Policy>(shrinkPtr(src), src 81 modules/cudev/include/opencv2/cudev/grid/histogram.hpp __host__ void gridHistogram_(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null()) src 85 modules/cudev/include/opencv2/cudev/grid/histogram.hpp const int rows = getRows(src); src 86 modules/cudev/include/opencv2/cudev/grid/histogram.hpp const int cols = getCols(src); src 91 modules/cudev/include/opencv2/cudev/grid/histogram.hpp grid_histogram_detail::histogram<BIN_COUNT, Policy>(shrinkPtr(src), src 109 modules/cudev/include/opencv2/cudev/grid/histogram.hpp __host__ void gridHistogram(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 111 modules/cudev/include/opencv2/cudev/grid/histogram.hpp gridHistogram_<BIN_COUNT, DefaultHistogramPolicy>(src, dst, mask, stream); src 115 modules/cudev/include/opencv2/cudev/grid/histogram.hpp __host__ void gridHistogram(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null()) src 117 modules/cudev/include/opencv2/cudev/grid/histogram.hpp gridHistogram_<BIN_COUNT, DefaultHistogramPolicy>(src, dst, stream); src 60 modules/cudev/include/opencv2/cudev/grid/integral.hpp __host__ void gridIntegral(const SrcPtr& src, GpuMat_<DstType>& dst, Stream& stream = Stream::Null()) src 62 modules/cudev/include/opencv2/cudev/grid/integral.hpp const int rows = getRows(src); src 63 modules/cudev/include/opencv2/cudev/grid/integral.hpp const int cols = getCols(src); src 67 modules/cudev/include/opencv2/cudev/grid/integral.hpp integral_detail::integral(shrinkPtr(src), shrinkPtr(dst), rows, cols, StreamAccessor::getStream(stream)); src 62 modules/cudev/include/opencv2/cudev/grid/pyramids.hpp __host__ void gridPyrDown_(const SrcPtr& src, GpuMat_<DstType>& dst, Stream& stream = Stream::Null()) src 64 modules/cudev/include/opencv2/cudev/grid/pyramids.hpp const int rows = getRows(src); src 65 modules/cudev/include/opencv2/cudev/grid/pyramids.hpp const int cols = getCols(src); src 69 modules/cudev/include/opencv2/cudev/grid/pyramids.hpp pyramids_detail::pyrDown<Brd>(shrinkPtr(src), shrinkPtr(dst), rows, cols, dst.rows, dst.cols, StreamAccessor::getStream(stream)); src 73 modules/cudev/include/opencv2/cudev/grid/pyramids.hpp __host__ void gridPyrDown(const SrcPtr& src, GpuMat_<DstType>& dst, Stream& stream = Stream::Null()) src 75 modules/cudev/include/opencv2/cudev/grid/pyramids.hpp gridPyrDown_<BrdReflect101>(src, dst, stream); src 79 modules/cudev/include/opencv2/cudev/grid/pyramids.hpp __host__ void gridPyrUp(const SrcPtr& src, GpuMat_<DstType>& dst, Stream& stream = Stream::Null()) src 81 modules/cudev/include/opencv2/cudev/grid/pyramids.hpp const int rows = getRows(src); src 82 modules/cudev/include/opencv2/cudev/grid/pyramids.hpp const int cols = getCols(src); src 86 modules/cudev/include/opencv2/cudev/grid/pyramids.hpp pyramids_detail::pyrUp(shrinkPtr(src), shrinkPtr(dst), rows, cols, dst.rows, dst.cols, StreamAccessor::getStream(stream)); src 64 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridCalcSum_(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 73 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); src 74 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int cols = getCols(src); src 78 modules/cudev/include/opencv2/cudev/grid/reduce.hpp grid_reduce_detail::sum<Policy>(shrinkPtr(src), src 86 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridCalcSum_(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null()) src 95 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); src 96 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int cols = getCols(src); src 98 modules/cudev/include/opencv2/cudev/grid/reduce.hpp grid_reduce_detail::sum<Policy>(shrinkPtr(src), src 106 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridFindMinVal_(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 111 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); src 112 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int cols = getCols(src); src 116 modules/cudev/include/opencv2/cudev/grid/reduce.hpp grid_reduce_detail::minVal<Policy>(shrinkPtr(src), src 124 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridFindMinVal_(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null()) src 129 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); src 130 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int cols = getCols(src); src 132 modules/cudev/include/opencv2/cudev/grid/reduce.hpp grid_reduce_detail::minVal<Policy>(shrinkPtr(src), src 140 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridFindMaxVal_(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 145 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); src 146 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int cols = getCols(src); src 150 modules/cudev/include/opencv2/cudev/grid/reduce.hpp grid_reduce_detail::maxVal<Policy>(shrinkPtr(src), src 158 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridFindMaxVal_(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null()) src 163 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); src 164 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int cols = getCols(src); src 166 modules/cudev/include/opencv2/cudev/grid/reduce.hpp grid_reduce_detail::maxVal<Policy>(shrinkPtr(src), src 174 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridFindMinMaxVal_(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 180 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); src 181 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int cols = getCols(src); src 185 modules/cudev/include/opencv2/cudev/grid/reduce.hpp grid_reduce_detail::minMaxVal<Policy>(shrinkPtr(src), src 193 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridFindMinMaxVal_(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null()) src 199 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); src 200 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int cols = getCols(src); src 202 modules/cudev/include/opencv2/cudev/grid/reduce.hpp grid_reduce_detail::minMaxVal<Policy>(shrinkPtr(src), src 210 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridMinMaxLoc_(const SrcPtr& src, GpuMat_<ResType>& valBuf, GpuMat_<int>& locBuf, const MaskPtr& mask, Stream& stream = Stream::Null()) src 212 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); src 213 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int cols = getCols(src); src 223 modules/cudev/include/opencv2/cudev/grid/reduce.hpp grid_minmaxloc_detail::minMaxLoc<Policy>(shrinkPtr(src), src 231 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridMinMaxLoc_(const SrcPtr& src, GpuMat_<ResType>& valBuf, GpuMat_<int>& locBuf, Stream& stream = Stream::Null()) src 233 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); src 234 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int cols = getCols(src); src 242 modules/cudev/include/opencv2/cudev/grid/reduce.hpp grid_minmaxloc_detail::minMaxLoc<Policy>(shrinkPtr(src), src 250 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridCountNonZero_(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 255 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); src 256 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int cols = getCols(src); src 264 modules/cudev/include/opencv2/cudev/grid/reduce.hpp grid_reduce_detail::sum<Policy>(shrinkPtr(transformPtr(src, bind2nd(ne_op, zero))), src 272 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridCountNonZero_(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null()) src 277 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int rows = getRows(src); src 278 modules/cudev/include/opencv2/cudev/grid/reduce.hpp const int cols = getCols(src); src 284 modules/cudev/include/opencv2/cudev/grid/reduce.hpp grid_reduce_detail::sum<Policy>(shrinkPtr(transformPtr(src, bind2nd(ne_op, zero))), src 305 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridCalcSum(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 307 modules/cudev/include/opencv2/cudev/grid/reduce.hpp gridCalcSum_<DefaultGlobReducePolicy>(src, dst, mask, stream); src 311 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridCalcSum(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null()) src 313 modules/cudev/include/opencv2/cudev/grid/reduce.hpp gridCalcSum_<DefaultGlobReducePolicy>(src, dst, stream); src 317 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridFindMinVal(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 319 modules/cudev/include/opencv2/cudev/grid/reduce.hpp gridFindMinVal_<DefaultGlobReducePolicy>(src, dst, mask, stream); src 323 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridFindMinVal(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null()) src 325 modules/cudev/include/opencv2/cudev/grid/reduce.hpp gridFindMinVal_<DefaultGlobReducePolicy>(src, dst, stream); src 329 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridFindMaxVal(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 331 modules/cudev/include/opencv2/cudev/grid/reduce.hpp gridFindMaxVal_<DefaultGlobReducePolicy>(src, dst, mask, stream); src 335 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridFindMaxVal(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null()) src 337 modules/cudev/include/opencv2/cudev/grid/reduce.hpp gridFindMaxVal_<DefaultGlobReducePolicy>(src, dst, stream); src 341 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridFindMinMaxVal(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 343 modules/cudev/include/opencv2/cudev/grid/reduce.hpp gridFindMinMaxVal_<DefaultGlobReducePolicy>(src, dst, mask, stream); src 347 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridFindMinMaxVal(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null()) src 349 modules/cudev/include/opencv2/cudev/grid/reduce.hpp gridFindMinMaxVal_<DefaultGlobReducePolicy>(src, dst, stream); src 353 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridMinMaxLoc(const SrcPtr& src, GpuMat_<ResType>& valBuf, GpuMat_<int>& locBuf, const MaskPtr& mask, Stream& stream = Stream::Null()) src 355 modules/cudev/include/opencv2/cudev/grid/reduce.hpp gridMinMaxLoc_<DefaultGlobReducePolicy>(src, valBuf, locBuf, mask, stream); src 359 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridMinMaxLoc(const SrcPtr& src, GpuMat_<ResType>& valBuf, GpuMat_<int>& locBuf, Stream& stream = Stream::Null()) src 361 modules/cudev/include/opencv2/cudev/grid/reduce.hpp gridMinMaxLoc_<DefaultGlobReducePolicy>(src, valBuf, locBuf, stream); src 365 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridCountNonZero(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 367 modules/cudev/include/opencv2/cudev/grid/reduce.hpp gridCountNonZero_<DefaultGlobReducePolicy>(src, dst, mask, stream); src 371 modules/cudev/include/opencv2/cudev/grid/reduce.hpp __host__ void gridCountNonZero(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null()) src 373 modules/cudev/include/opencv2/cudev/grid/reduce.hpp gridCountNonZero_<DefaultGlobReducePolicy>(src, dst, stream); src 146 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp __host__ void gridReduceToRow(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 148 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp const int rows = getRows(src); src 149 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp const int cols = getCols(src); src 155 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp grid_reduce_to_vec_detail::reduceToRow<Reductor>(shrinkPtr(src), src 163 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp __host__ void gridReduceToRow(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null()) src 165 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp const int rows = getRows(src); src 166 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp const int cols = getCols(src); src 170 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp grid_reduce_to_vec_detail::reduceToRow<Reductor>(shrinkPtr(src), src 178 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp __host__ void gridReduceToColumn_(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 180 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp const int rows = getRows(src); src 181 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp const int cols = getCols(src); src 187 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp grid_reduce_to_vec_detail::reduceToColumn<Reductor, Policy>(shrinkPtr(src), src 195 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp __host__ void gridReduceToColumn_(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null()) src 197 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp const int rows = getRows(src); src 198 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp const int cols = getCols(src); src 202 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp grid_reduce_to_vec_detail::reduceToColumn<Reductor, Policy>(shrinkPtr(src), src 220 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp __host__ void gridReduceToColumn(const SrcPtr& src, GpuMat_<ResType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 222 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp gridReduceToColumn_<Reductor, DefaultReduceToVecPolicy>(src, dst, mask, stream); src 226 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp __host__ void gridReduceToColumn(const SrcPtr& src, GpuMat_<ResType>& dst, Stream& stream = Stream::Null()) src 228 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp gridReduceToColumn_<Reductor, DefaultReduceToVecPolicy>(src, dst, stream); src 64 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridMerge_(const SrcPtrTuple& src, GpuMat_<DstType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 68 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 69 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 75 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::MergeImpl<VecTraits<DstType>::cn, Policy>::merge(shrinkPtr(src), src 83 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridMerge_(const SrcPtrTuple& src, const GlobPtrSz<DstType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 87 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 88 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 93 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::MergeImpl<VecTraits<DstType>::cn, Policy>::merge(shrinkPtr(src), src 101 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridMerge_(const SrcPtrTuple& src, GpuMat_<DstType>& dst, Stream& stream = Stream::Null()) src 105 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 106 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 110 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::MergeImpl<VecTraits<DstType>::cn, Policy>::merge(shrinkPtr(src), src 118 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridMerge_(const SrcPtrTuple& src, const GlobPtrSz<DstType>& dst, Stream& stream = Stream::Null()) src 122 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 123 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 127 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::MergeImpl<VecTraits<DstType>::cn, Policy>::merge(shrinkPtr(src), src 135 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit_(const SrcPtr& src, const tuple< GpuMat_<DstType>&, GpuMat_<DstType>& >& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 139 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 140 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 147 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::split<Policy>(shrinkPtr(src), src 155 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit_(const SrcPtr& src, GpuMat_<DstType> (&dst)[2], const MaskPtr& mask, Stream& stream = Stream::Null()) src 159 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 160 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 167 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::split<Policy>(shrinkPtr(src), src 175 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit_(const SrcPtr& src, GlobPtrSz<DstType> (&dst)[2], const MaskPtr& mask, Stream& stream = Stream::Null()) src 179 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 180 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 186 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::split<Policy>(shrinkPtr(src), src 194 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit_(const SrcPtr& src, const tuple< GpuMat_<DstType>&, GpuMat_<DstType>& >& dst, Stream& stream = Stream::Null()) src 198 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 199 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 204 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::split<Policy>(shrinkPtr(src), src 212 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit_(const SrcPtr& src, GpuMat_<DstType> (&dst)[2], Stream& stream = Stream::Null()) src 216 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 217 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 222 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::split<Policy>(shrinkPtr(src), src 230 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit_(const SrcPtr& src, GlobPtrSz<DstType> (&dst)[2], Stream& stream = Stream::Null()) src 234 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 235 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 240 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::split<Policy>(shrinkPtr(src), src 248 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit_(const SrcPtr& src, const tuple< GpuMat_<DstType>&, GpuMat_<DstType>&, GpuMat_<DstType>& >& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 252 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 253 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 261 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::split<Policy>(shrinkPtr(src), src 269 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit_(const SrcPtr& src, GpuMat_<DstType> (&dst)[3], const MaskPtr& mask, Stream& stream = Stream::Null()) src 273 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 274 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 282 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::split<Policy>(shrinkPtr(src), src 290 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit_(const SrcPtr& src, GlobPtrSz<DstType> (&dst)[3], const MaskPtr& mask, Stream& stream = Stream::Null()) src 294 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 295 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 302 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::split<Policy>(shrinkPtr(src), src 310 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit_(const SrcPtr& src, const tuple< GpuMat_<DstType>&, GpuMat_<DstType>&, GpuMat_<DstType>& >& dst, Stream& stream = Stream::Null()) src 314 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 315 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 321 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::split<Policy>(shrinkPtr(src), src 329 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit_(const SrcPtr& src, GpuMat_<DstType> (&dst)[3], Stream& stream = Stream::Null()) src 333 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 334 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 340 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::split<Policy>(shrinkPtr(src), src 348 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit_(const SrcPtr& src, GlobPtrSz<DstType> (&dst)[3], Stream& stream = Stream::Null()) src 352 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 353 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 359 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::split<Policy>(shrinkPtr(src), src 367 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit_(const SrcPtr& src, const tuple< GpuMat_<DstType>&, GpuMat_<DstType>&, GpuMat_<DstType>&, GpuMat_<DstType>& >& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 371 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 372 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 381 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::split<Policy>(shrinkPtr(src), src 389 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit_(const SrcPtr& src, GpuMat_<DstType> (&dst)[4], const MaskPtr& mask, Stream& stream = Stream::Null()) src 393 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 394 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 403 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::split<Policy>(shrinkPtr(src), src 411 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit_(const SrcPtr& src, GlobPtrSz<DstType> (&dst)[4], const MaskPtr& mask, Stream& stream = Stream::Null()) src 415 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 416 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 424 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::split<Policy>(shrinkPtr(src), src 432 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit_(const SrcPtr& src, const tuple< GpuMat_<DstType>&, GpuMat_<DstType>&, GpuMat_<DstType>&, GpuMat_<DstType>& >& dst, Stream& stream = Stream::Null()) src 436 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 437 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 444 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::split<Policy>(shrinkPtr(src), src 452 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit_(const SrcPtr& src, GpuMat_<DstType> (&dst)[4], Stream& stream = Stream::Null()) src 456 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 457 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 464 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::split<Policy>(shrinkPtr(src), src 472 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit_(const SrcPtr& src, GlobPtrSz<DstType> (&dst)[4], Stream& stream = Stream::Null()) src 476 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int rows = getRows(src); src 477 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp const int cols = getCols(src); src 484 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp grid_split_merge_detail::split<Policy>(shrinkPtr(src), src 502 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridMerge(const SrcPtrTuple& src, GpuMat_<DstType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 504 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp gridMerge_<DefaultSplitMergePolicy>(src, dst, mask, stream); src 508 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridMerge(const SrcPtrTuple& src, const GlobPtrSz<DstType>& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 510 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp gridMerge_<DefaultSplitMergePolicy>(src, dst, mask, stream); src 514 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridMerge(const SrcPtrTuple& src, GpuMat_<DstType>& dst, Stream& stream = Stream::Null()) src 516 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp gridMerge_<DefaultSplitMergePolicy>(src, dst, stream); src 520 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridMerge(const SrcPtrTuple& src, const GlobPtrSz<DstType>& dst, Stream& stream = Stream::Null()) src 522 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp gridMerge_<DefaultSplitMergePolicy>(src, dst, stream); src 526 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit(const SrcPtr& src, const tuple< GpuMat_<DstType>&, GpuMat_<DstType>& >& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 528 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp gridSplit_<DefaultSplitMergePolicy>(src, dst, mask, stream); src 532 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit(const SrcPtr& src, const tuple< GpuMat_<DstType>&, GpuMat_<DstType>& >& dst, Stream& stream = Stream::Null()) src 534 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp gridSplit_<DefaultSplitMergePolicy>(src, dst, stream); src 538 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit(const SrcPtr& src, const tuple< GpuMat_<DstType>&, GpuMat_<DstType>&, GpuMat_<DstType>& >& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 540 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp gridSplit_<DefaultSplitMergePolicy>(src, dst, mask, stream); src 544 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit(const SrcPtr& src, const tuple< GpuMat_<DstType>&, GpuMat_<DstType>&, GpuMat_<DstType>& >& dst, Stream& stream = Stream::Null()) src 546 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp gridSplit_<DefaultSplitMergePolicy>(src, dst, stream); src 550 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit(const SrcPtr& src, const tuple< GpuMat_<DstType>&, GpuMat_<DstType>&, GpuMat_<DstType>&, GpuMat_<DstType>& >& dst, const MaskPtr& mask, Stream& stream = Stream::Null()) src 552 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp gridSplit_<DefaultSplitMergePolicy>(src, dst, mask, stream); src 556 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit(const SrcPtr& src, const tuple< GpuMat_<DstType>&, GpuMat_<DstType>&, GpuMat_<DstType>&, GpuMat_<DstType>& >& dst, Stream& stream = Stream::Null()) src 558 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp gridSplit_<DefaultSplitMergePolicy>(src, dst, stream); src 562 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit(const SrcPtr& src, GpuMat_<DstType> (&dst)[COUNT], const MaskPtr& mask, Stream& stream = Stream::Null()) src 564 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp gridSplit_<DefaultSplitMergePolicy>(src, dst, mask, stream); src 568 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit(const SrcPtr& src, GlobPtrSz<DstType> (&dst)[COUNT], const MaskPtr& mask, Stream& stream = Stream::Null()) src 570 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp gridSplit_<DefaultSplitMergePolicy>(src, dst, mask, stream); src 574 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit(const SrcPtr& src, GpuMat_<DstType> (&dst)[COUNT], Stream& stream = Stream::Null()) src 576 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp gridSplit_<DefaultSplitMergePolicy>(src, dst, stream); src 580 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp __host__ void gridSplit(const SrcPtr& src, GlobPtrSz<DstType> (&dst)[COUNT], Stream& stream = Stream::Null()) src 582 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp gridSplit_<DefaultSplitMergePolicy>(src, dst, stream); src 64 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformUnary_(const SrcPtr& src, GpuMat_<DstType>& dst, const UnOp& op, const MaskPtr& mask, Stream& stream = Stream::Null()) src 66 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); src 67 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int cols = getCols(src); src 73 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_unary<Policy>(shrinkPtr(src), shrinkPtr(dst), op, shrinkPtr(mask), rows, cols, StreamAccessor::getStream(stream)); src 77 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformUnary_(const SrcPtr& src, const GlobPtrSz<DstType>& dst, const UnOp& op, const MaskPtr& mask, Stream& stream = Stream::Null()) src 79 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); src 80 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int cols = getCols(src); src 85 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_unary<Policy>(shrinkPtr(src), shrinkPtr(dst), op, shrinkPtr(mask), rows, cols, StreamAccessor::getStream(stream)); src 89 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformUnary_(const SrcPtr& src, GpuMat_<DstType>& dst, const UnOp& op, Stream& stream = Stream::Null()) src 91 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); src 92 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int cols = getCols(src); src 96 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_unary<Policy>(shrinkPtr(src), shrinkPtr(dst), op, WithOutMask(), rows, cols, StreamAccessor::getStream(stream)); src 100 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformUnary_(const SrcPtr& src, const GlobPtrSz<DstType>& dst, const UnOp& op, Stream& stream = Stream::Null()) src 102 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); src 103 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int cols = getCols(src); src 107 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_unary<Policy>(shrinkPtr(src), shrinkPtr(dst), op, WithOutMask(), rows, cols, StreamAccessor::getStream(stream)); src 163 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple_(const SrcPtr& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>& >& dst, const OpTuple& op, const MaskPtr& mask, Stream& stream = Stream::Null()) src 167 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); src 168 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int cols = getCols(src); src 175 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_tuple<Policy>(shrinkPtr(src), src 184 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple_(const SrcPtr& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1> >& dst, const OpTuple& op, const MaskPtr& mask, Stream& stream = Stream::Null()) src 188 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); src 189 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int cols = getCols(src); src 195 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_tuple<Policy>(shrinkPtr(src), src 204 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple_(const SrcPtr& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>& >& dst, const OpTuple& op, Stream& stream = Stream::Null()) src 208 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); src 209 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int cols = getCols(src); src 214 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_tuple<Policy>(shrinkPtr(src), src 223 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple_(const SrcPtr& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1> >& dst, const OpTuple& op, Stream& stream = Stream::Null()) src 227 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); src 228 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int cols = getCols(src); src 233 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_tuple<Policy>(shrinkPtr(src), src 242 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple_(const SrcPtr& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>&, GpuMat_<D2>& >& dst, const OpTuple& op, const MaskPtr& mask, Stream& stream = Stream::Null()) src 246 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); src 247 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int cols = getCols(src); src 255 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_tuple<Policy>(shrinkPtr(src), src 264 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple_(const SrcPtr& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1>, GlobPtrSz<D2> >& dst, const OpTuple& op, const MaskPtr& mask, Stream& stream = Stream::Null()) src 268 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); src 269 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int cols = getCols(src); src 276 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_tuple<Policy>(shrinkPtr(src), src 285 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple_(const SrcPtr& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>&, GpuMat_<D2>& >& dst, const OpTuple& op, Stream& stream = Stream::Null()) src 289 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); src 290 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int cols = getCols(src); src 296 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_tuple<Policy>(shrinkPtr(src), src 305 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple_(const SrcPtr& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1>, GlobPtrSz<D2> >& dst, const OpTuple& op, Stream& stream = Stream::Null()) src 309 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); src 310 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int cols = getCols(src); src 316 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_tuple<Policy>(shrinkPtr(src), src 325 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple_(const SrcPtr& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>&, GpuMat_<D2>&, GpuMat_<D3>& >& dst, const OpTuple& op, const MaskPtr& mask, Stream& stream = Stream::Null()) src 329 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); src 330 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int cols = getCols(src); src 339 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_tuple<Policy>(shrinkPtr(src), src 348 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple_(const SrcPtr& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1>, GlobPtrSz<D2>, GlobPtrSz<D3> >& dst, const OpTuple& op, const MaskPtr& mask, Stream& stream = Stream::Null()) src 352 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); src 353 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int cols = getCols(src); src 361 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_tuple<Policy>(shrinkPtr(src), src 370 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple_(const SrcPtr& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>&, GpuMat_<D2>&, GpuMat_<D3>& >& dst, const OpTuple& op, Stream& stream = Stream::Null()) src 374 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); src 375 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int cols = getCols(src); src 382 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_tuple<Policy>(shrinkPtr(src), src 391 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple_(const SrcPtr& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1>, GlobPtrSz<D2>, GlobPtrSz<D3> >& dst, const OpTuple& op, Stream& stream = Stream::Null()) src 395 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int rows = getRows(src); src 396 modules/cudev/include/opencv2/cudev/grid/transform.hpp const int cols = getCols(src); src 403 modules/cudev/include/opencv2/cudev/grid/transform.hpp grid_transform_detail::transform_tuple<Policy>(shrinkPtr(src), src 423 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformUnary(const SrcPtr& src, GpuMat_<DstType>& dst, const Op& op, const MaskPtr& mask, Stream& stream = Stream::Null()) src 425 modules/cudev/include/opencv2/cudev/grid/transform.hpp gridTransformUnary_<DefaultTransformPolicy>(src, dst, op, mask, stream); src 429 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformUnary(const SrcPtr& src, const GlobPtrSz<DstType>& dst, const Op& op, const MaskPtr& mask, Stream& stream = Stream::Null()) src 431 modules/cudev/include/opencv2/cudev/grid/transform.hpp gridTransformUnary_<DefaultTransformPolicy>(src, dst, op, mask, stream); src 435 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformUnary(const SrcPtr& src, GpuMat_<DstType>& dst, const Op& op, Stream& stream = Stream::Null()) src 437 modules/cudev/include/opencv2/cudev/grid/transform.hpp gridTransformUnary_<DefaultTransformPolicy>(src, dst, op, stream); src 441 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformUnary(const SrcPtr& src, const GlobPtrSz<DstType>& dst, const Op& op, Stream& stream = Stream::Null()) src 443 modules/cudev/include/opencv2/cudev/grid/transform.hpp gridTransformUnary_<DefaultTransformPolicy>(src, dst, op, stream); src 471 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple(const SrcPtr& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>& >& dst, const OpTuple& op, const MaskPtr& mask, Stream& stream = Stream::Null()) src 473 modules/cudev/include/opencv2/cudev/grid/transform.hpp gridTransformTuple_<DefaultTransformPolicy>(src, dst, op, mask, stream); src 477 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple(const SrcPtr& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1> >& dst, const OpTuple& op, const MaskPtr& mask, Stream& stream = Stream::Null()) src 479 modules/cudev/include/opencv2/cudev/grid/transform.hpp gridTransformTuple_<DefaultTransformPolicy>(src, dst, op, mask, stream); src 483 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple(const SrcPtr& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>& >& dst, const OpTuple& op, Stream& stream = Stream::Null()) src 485 modules/cudev/include/opencv2/cudev/grid/transform.hpp gridTransformTuple_<DefaultTransformPolicy>(src, dst, op, stream); src 489 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple(const SrcPtr& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1> >& dst, const OpTuple& op, Stream& stream = Stream::Null()) src 491 modules/cudev/include/opencv2/cudev/grid/transform.hpp gridTransformTuple_<DefaultTransformPolicy>(src, dst, op, stream); src 495 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple(const SrcPtr& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>&, GpuMat_<D2>& >& dst, const OpTuple& op, const MaskPtr& mask, Stream& stream = Stream::Null()) src 497 modules/cudev/include/opencv2/cudev/grid/transform.hpp gridTransformTuple_<DefaultTransformPolicy>(src, dst, op, mask, stream); src 501 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple(const SrcPtr& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1>, GlobPtrSz<D2> >& dst, const OpTuple& op, const MaskPtr& mask, Stream& stream = Stream::Null()) src 503 modules/cudev/include/opencv2/cudev/grid/transform.hpp gridTransformTuple_<DefaultTransformPolicy>(src, dst, op, mask, stream); src 507 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple(const SrcPtr& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>&, GpuMat_<D2>& >& dst, const OpTuple& op, Stream& stream = Stream::Null()) src 509 modules/cudev/include/opencv2/cudev/grid/transform.hpp gridTransformTuple_<DefaultTransformPolicy>(src, dst, op, stream); src 513 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple(const SrcPtr& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1>, GlobPtrSz<D2> >& dst, const OpTuple& op, Stream& stream = Stream::Null()) src 515 modules/cudev/include/opencv2/cudev/grid/transform.hpp gridTransformTuple_<DefaultTransformPolicy>(src, dst, op, stream); src 519 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple(const SrcPtr& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>&, GpuMat_<D2>&, GpuMat_<D3>& >& dst, const OpTuple& op, const MaskPtr& mask, Stream& stream = Stream::Null()) src 521 modules/cudev/include/opencv2/cudev/grid/transform.hpp gridTransformTuple_<DefaultTransformPolicy>(src, dst, op, mask, stream); src 525 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple(const SrcPtr& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1>, GlobPtrSz<D2>, GlobPtrSz<D3> >& dst, const OpTuple& op, const MaskPtr& mask, Stream& stream = Stream::Null()) src 527 modules/cudev/include/opencv2/cudev/grid/transform.hpp gridTransformTuple_<DefaultTransformPolicy>(src, dst, op, mask, stream); src 531 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple(const SrcPtr& src, const tuple< GpuMat_<D0>&, GpuMat_<D1>&, GpuMat_<D2>&, GpuMat_<D3>& >& dst, const OpTuple& op, Stream& stream = Stream::Null()) src 533 modules/cudev/include/opencv2/cudev/grid/transform.hpp gridTransformTuple_<DefaultTransformPolicy>(src, dst, op, stream); src 537 modules/cudev/include/opencv2/cudev/grid/transform.hpp __host__ void gridTransformTuple(const SrcPtr& src, const tuple< GlobPtrSz<D0>, GlobPtrSz<D1>, GlobPtrSz<D2>, GlobPtrSz<D3> >& dst, const OpTuple& op, Stream& stream = Stream::Null()) src 539 modules/cudev/include/opencv2/cudev/grid/transform.hpp gridTransformTuple_<DefaultTransformPolicy>(src, dst, op, stream); src 61 modules/cudev/include/opencv2/cudev/grid/transpose.hpp __host__ void gridTranspose_(const SrcPtr& src, GpuMat_<DstType>& dst, Stream& stream = Stream::Null()) src 63 modules/cudev/include/opencv2/cudev/grid/transpose.hpp const int rows = getRows(src); src 64 modules/cudev/include/opencv2/cudev/grid/transpose.hpp const int cols = getCols(src); src 68 modules/cudev/include/opencv2/cudev/grid/transpose.hpp transpose_detail::transpose<Policy>(shrinkPtr(src), shrinkPtr(dst), rows, cols, StreamAccessor::getStream(stream)); src 72 modules/cudev/include/opencv2/cudev/grid/transpose.hpp __host__ void gridTranspose_(const SrcPtr& src, const GlobPtrSz<DstType>& dst, Stream& stream = Stream::Null()) src 74 modules/cudev/include/opencv2/cudev/grid/transpose.hpp const int rows = getRows(src); src 75 modules/cudev/include/opencv2/cudev/grid/transpose.hpp const int cols = getCols(src); src 79 modules/cudev/include/opencv2/cudev/grid/transpose.hpp transpose_detail::transpose<Policy>(shrinkPtr(src), shrinkPtr(dst), rows, cols, StreamAccessor::getStream(stream)); src 93 modules/cudev/include/opencv2/cudev/grid/transpose.hpp __host__ void gridTranspose(const SrcPtr& src, GpuMat_<DstType>& dst, Stream& stream = Stream::Null()) src 95 modules/cudev/include/opencv2/cudev/grid/transpose.hpp gridTranspose_<DefaultTransposePolicy>(src, dst, stream); src 99 modules/cudev/include/opencv2/cudev/grid/transpose.hpp __host__ void gridTranspose(const SrcPtr& src, const GlobPtrSz<DstType>& dst, Stream& stream = Stream::Null()) src 101 modules/cudev/include/opencv2/cudev/grid/transpose.hpp gridTranspose_<DefaultTransposePolicy>(src, dst, stream); src 66 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp SrcPtr src; src 70 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp return src(y, x + 1) - src(y, x - 1); src 86 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp __host__ DerivXPtrSz<typename PtrTraits<SrcPtr>::ptr_type> derivXPtr(const SrcPtr& src) src 89 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.src = shrinkPtr(src); src 90 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.rows = getRows(src); src 91 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.cols = getCols(src); src 106 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp SrcPtr src; src 110 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp return src(y + 1, x) - src(y - 1, x); src 126 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp __host__ DerivYPtrSz<typename PtrTraits<SrcPtr>::ptr_type> derivYPtr(const SrcPtr& src) src 129 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.src = shrinkPtr(src); src 130 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.rows = getRows(src); src 131 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.cols = getCols(src); src 146 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp SrcPtr src; src 152 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y - 1, x - 1), src(y - 1, x + 1), src 153 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y , x - 1), src(y , x + 1), src 154 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y + 1, x - 1), src(y + 1, x + 1), src 173 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp __host__ SobelXPtrSz<typename PtrTraits<SrcPtr>::ptr_type> sobelXPtr(const SrcPtr& src) src 176 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.src = shrinkPtr(src); src 177 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.rows = getRows(src); src 178 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.cols = getCols(src); src 193 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp SrcPtr src; src 199 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y - 1, x - 1), src(y - 1, x), src(y - 1, x + 1), src 200 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y + 1, x - 1), src(y + 1, x), src(y + 1, x + 1) src 219 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp __host__ SobelYPtrSz<typename PtrTraits<SrcPtr>::ptr_type> sobelYPtr(const SrcPtr& src) src 222 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.src = shrinkPtr(src); src 223 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.rows = getRows(src); src 224 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.cols = getCols(src); src 239 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp SrcPtr src; src 245 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y - 1, x - 1), src(y - 1, x + 1), src 246 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y , x - 1), src(y , x + 1), src 247 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y + 1, x - 1), src(y + 1, x + 1), src 266 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp __host__ ScharrXPtrSz<typename PtrTraits<SrcPtr>::ptr_type> scharrXPtr(const SrcPtr& src) src 269 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.src = shrinkPtr(src); src 270 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.rows = getRows(src); src 271 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.cols = getCols(src); src 286 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp SrcPtr src; src 292 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y - 1, x - 1), src(y - 1, x), src(y - 1, x + 1), src 293 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y + 1, x - 1), src(y + 1, x), src(y + 1, x + 1) src 312 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp __host__ ScharrYPtrSz<typename PtrTraits<SrcPtr>::ptr_type> scharrYPtr(const SrcPtr& src) src 315 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.src = shrinkPtr(src); src 316 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.rows = getRows(src); src 317 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.cols = getCols(src); src 334 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp SrcPtr src; src 340 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y - 1, x), src 341 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y, x - 1), src(y , x), src(y, x + 1), src 342 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y + 1, x) src 354 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp SrcPtr src; src 360 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y - 1, x - 1), src(y - 1, x + 1), src 361 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y, x), src 362 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp src(y + 1, x - 1), src(y + 1, x + 1) src 381 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp __host__ LaplacianPtrSz<ksize, typename PtrTraits<SrcPtr>::ptr_type> laplacianPtr(const SrcPtr& src) src 384 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp ptr.src = shrinkPtr(src); src 385 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp ptr.rows = getRows(src); src 386 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp ptr.cols = getCols(src); src 65 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp SrcPtr src; src 71 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp return (x >= 0 && x < cols && y >= 0 && y < rows) ? src(y, x) : val; src 76 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp __host__ BrdConstant<typename PtrTraits<SrcPtr>::ptr_type> brdConstant(const SrcPtr& src, typename PtrTraits<SrcPtr>::value_type val) src 79 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.src = shrinkPtr(src); src 80 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.rows = getRows(src); src 81 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.cols = getCols(src); src 87 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp __host__ BrdConstant<typename PtrTraits<SrcPtr>::ptr_type> brdConstant(const SrcPtr& src) src 89 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp return brdConstant(src, VecTraits<typename PtrTraits<SrcPtr>::value_type>::all(0)); src 99 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp SrcPtr src; src 114 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp return src(idx_row(y), idx_col(x)); src 134 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp __host__ BrdBase<BrdReplicate, typename PtrTraits<SrcPtr>::ptr_type> brdReplicate(const SrcPtr& src) src 137 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.src = shrinkPtr(src); src 138 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.rows = getRows(src); src 139 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.cols = getCols(src); src 160 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp __host__ BrdBase<BrdReflect101, typename PtrTraits<SrcPtr>::ptr_type> brdReflect101(const SrcPtr& src) src 163 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.src = shrinkPtr(src); src 164 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.rows = getRows(src); src 165 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.cols = getCols(src); src 186 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp __host__ BrdBase<BrdReflect, typename PtrTraits<SrcPtr>::ptr_type> brdReflect(const SrcPtr& src) src 189 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.src = shrinkPtr(src); src 190 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.rows = getRows(src); src 191 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.cols = getCols(src); src 211 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp __host__ BrdBase<BrdWrap, typename PtrTraits<SrcPtr>::ptr_type> brdWrap(const SrcPtr& src) src 214 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.src = shrinkPtr(src); src 215 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.rows = getRows(src); src 216 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp b.cols = getCols(src); src 68 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp SrcPtr src; src 72 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp return src(__float2int_rn(y), __float2int_rn(x)); src 82 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp __host__ NearestInterPtrSz<typename PtrTraits<SrcPtr>::ptr_type> interNearest(const SrcPtr& src) src 85 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.src = shrinkPtr(src); src 86 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.rows = getRows(src); src 87 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.cols = getCols(src); src 102 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp SrcPtr src; src 118 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp typename PtrTraits<SrcPtr>::value_type src_reg = src(y1, x1); src 121 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp src_reg = src(y1, x2); src 124 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp src_reg = src(y2, x1); src 127 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp src_reg = src(y2, x2); src 140 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp __host__ LinearInterPtrSz<typename PtrTraits<SrcPtr>::ptr_type> interLinear(const SrcPtr& src) src 143 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.src = shrinkPtr(src); src 144 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.rows = getRows(src); src 145 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.cols = getCols(src); src 160 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp SrcPtr src; src 199 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp typename PtrTraits<SrcPtr>::value_type src_reg = src(__float2int_rd(cy), __float2int_rd(cx)); src 219 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp __host__ CubicInterPtrSz<typename PtrTraits<SrcPtr>::ptr_type> interCubic(const SrcPtr& src) src 222 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.src = shrinkPtr(src); src 223 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.rows = getRows(src); src 224 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.cols = getCols(src); src 239 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp SrcPtr src; src 261 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp out = out + saturate_cast<work_type>(src(dy, dx)); src 277 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp __host__ IntegerAreaInterPtrSz<typename PtrTraits<SrcPtr>::ptr_type> interArea(const SrcPtr& src, Size areaSize) src 280 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.src = shrinkPtr(src); src 283 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.rows = getRows(src); src 284 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.cols = getCols(src); src 299 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp SrcPtr src; src 326 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp out = out + saturate_cast<work_type>(src(dy, dx)); src 329 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp out = out + saturate_cast<work_type>(src(dy, sx1 - 1)) * static_cast<work_elem_type>(sx1 - fsx1); src 332 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp out = out + saturate_cast<work_type>(src(dy, sx2)) * static_cast<work_elem_type>(fsx2 - sx2); src 338 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp out = out + saturate_cast<work_type>(src(sy1 - 1, dx)) * static_cast<work_elem_type>(sy1 - fsy1); src 344 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp out = out + saturate_cast<work_type>(src(sy2, dx)) * static_cast<work_elem_type>(fsy2 - sy2); src 348 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp out = out + saturate_cast<work_type>(src(sy1 - 1, sx1 - 1)) * static_cast<work_elem_type>((sy1 - fsy1) * (sx1 - fsx1)); src 351 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp out = out + saturate_cast<work_type>(src(sy1 - 1, sx2)) * static_cast<work_elem_type>((sy1 - fsy1) * (fsx2 - sx2)); src 354 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp out = out + saturate_cast<work_type>(src(sy2, sx2)) * static_cast<work_elem_type>((fsy2 - sy2) * (fsx2 - sx2)); src 357 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp out = out + saturate_cast<work_type>(src(sy2, sx1 - 1)) * static_cast<work_elem_type>((fsy2 - sy2) * (sx1 - fsx1)); src 371 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp __host__ CommonAreaInterPtrSz<typename PtrTraits<SrcPtr>::ptr_type> interArea(const SrcPtr& src, Size2f areaSize) src 374 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.src = shrinkPtr(src); src 377 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.rows = getRows(src); src 378 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp i.cols = getCols(src); src 65 modules/cudev/include/opencv2/cudev/ptr2d/lut.hpp SrcPtr src; src 71 modules/cudev/include/opencv2/cudev/ptr2d/lut.hpp return tbl(VecTraits<tbl_index_type>::all(0), src(y, x)); src 87 modules/cudev/include/opencv2/cudev/ptr2d/lut.hpp __host__ LutPtrSz<typename PtrTraits<SrcPtr>::ptr_type, typename PtrTraits<TablePtr>::ptr_type> lutPtr(const SrcPtr& src, const TablePtr& tbl) src 90 modules/cudev/include/opencv2/cudev/ptr2d/lut.hpp ptr.src = shrinkPtr(src); src 92 modules/cudev/include/opencv2/cudev/ptr2d/lut.hpp ptr.rows = getRows(src); src 93 modules/cudev/include/opencv2/cudev/ptr2d/lut.hpp ptr.cols = getCols(src); src 65 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp SrcPtr src; src 71 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp return src(coord.y, coord.x); src 80 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp SrcPtr src; src 88 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp return src(ny, nx); src 116 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp remapPtr(const SrcPtr& src, const MapPtr& map) src 122 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp r.src = shrinkPtr(src); src 131 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp remapPtr(const SrcPtr& src, const MapXPtr& mapx, const MapYPtr& mapy) src 139 modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp r.src = shrinkPtr(src); src 65 modules/cudev/include/opencv2/cudev/ptr2d/resize.hpp SrcPtr src; src 73 modules/cudev/include/opencv2/cudev/ptr2d/resize.hpp return src(yn, xn); src 89 modules/cudev/include/opencv2/cudev/ptr2d/resize.hpp __host__ ResizePtrSz<typename PtrTraits<SrcPtr>::ptr_type> resizePtr(const SrcPtr& src, float fx, float fy) src 92 modules/cudev/include/opencv2/cudev/ptr2d/resize.hpp r.src = shrinkPtr(src); src 95 modules/cudev/include/opencv2/cudev/ptr2d/resize.hpp r.rows = cv::saturate_cast<int>(getRows(src) * fy); src 96 modules/cudev/include/opencv2/cudev/ptr2d/resize.hpp r.cols = cv::saturate_cast<int>(getCols(src) * fx); src 66 modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp SrcPtr src; src 71 modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp return op(src(y, x)); src 88 modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp transformPtr(const SrcPtr& src, const Op& op) src 91 modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp ptr.src = shrinkPtr(src); src 93 modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp ptr.rows = getRows(src); src 94 modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp ptr.cols = getCols(src); src 100 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp warpAffinePtr(const SrcPtr& src, Size dstSize, const GpuMat_<float>& warpMat) src 102 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp return remapPtr(src, affineMap(dstSize, warpMat)); src 148 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp warpPerspectivePtr(const SrcPtr& src, Size dstSize, const GpuMat_<float>& warpMat) src 150 modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp return remapPtr(src, perspectiveMap(dstSize, warpMat)); src 119 modules/features2d/src/evaluation.cpp static void convert( const std::vector<KeyPoint>& src, std::vector<EllipticKeyPoint>& dst ); src 120 modules/features2d/src/evaluation.cpp static void convert( const std::vector<EllipticKeyPoint>& src, std::vector<KeyPoint>& dst ); src 126 modules/features2d/src/evaluation.cpp static void calcProjection( const std::vector<EllipticKeyPoint>& src, const Mat_<double>& H, std::vector<EllipticKeyPoint>& dst ); src 180 modules/features2d/src/evaluation.cpp void EllipticKeyPoint::convert( const std::vector<KeyPoint>& src, std::vector<EllipticKeyPoint>& dst ) src 182 modules/features2d/src/evaluation.cpp if( !src.empty() ) src 184 modules/features2d/src/evaluation.cpp dst.resize(src.size()); src 185 modules/features2d/src/evaluation.cpp for( size_t i = 0; i < src.size(); i++ ) src 187 modules/features2d/src/evaluation.cpp float rad = src[i].size/2; src 190 modules/features2d/src/evaluation.cpp dst[i] = EllipticKeyPoint( src[i].pt, Scalar(fac, 0, fac) ); src 195 modules/features2d/src/evaluation.cpp void EllipticKeyPoint::convert( const std::vector<EllipticKeyPoint>& src, std::vector<KeyPoint>& dst ) src 197 modules/features2d/src/evaluation.cpp if( !src.empty() ) src 199 modules/features2d/src/evaluation.cpp dst.resize(src.size()); src 200 modules/features2d/src/evaluation.cpp for( size_t i = 0; i < src.size(); i++ ) src 202 modules/features2d/src/evaluation.cpp Size_<float> axes = src[i].axes; src 204 modules/features2d/src/evaluation.cpp dst[i] = KeyPoint(src[i].center, 2*rad ); src 209 modules/features2d/src/evaluation.cpp void EllipticKeyPoint::calcProjection( const std::vector<EllipticKeyPoint>& src, const Mat_<double>& H, std::vector<EllipticKeyPoint>& dst ) src 211 modules/features2d/src/evaluation.cpp if( !src.empty() ) src 214 modules/features2d/src/evaluation.cpp dst.resize(src.size()); src 215 modules/features2d/src/evaluation.cpp std::vector<EllipticKeyPoint>::const_iterator srcIt = src.begin(); src 217 modules/features2d/src/evaluation.cpp for( ; srcIt != src.end(); ++srcIt, ++dstIt ) src 46 modules/features2d/src/kaze/nldiffusion_functions.cpp void gaussian_2D_convolution(const cv::Mat& src, cv::Mat& dst, int ksize_x, int ksize_y, float sigma) { src 66 modules/features2d/src/kaze/nldiffusion_functions.cpp GaussianBlur(src, dst, Size(ksize_x_, ksize_y_), sigma, sigma, BORDER_REPLICATE); src 81 modules/features2d/src/kaze/nldiffusion_functions.cpp void image_derivatives_scharr(const cv::Mat& src, cv::Mat& dst, int xorder, int yorder) { src 82 modules/features2d/src/kaze/nldiffusion_functions.cpp Scharr(src, dst, CV_32F, xorder, yorder, 1.0, 0, BORDER_DEFAULT); src 294 modules/features2d/src/kaze/nldiffusion_functions.cpp void compute_scharr_derivatives(const cv::Mat& src, cv::Mat& dst, int xorder, int yorder, int scale) { src 297 modules/features2d/src/kaze/nldiffusion_functions.cpp sepFilter2D(src, dst, CV_32F, kx, ky); src 474 modules/features2d/src/kaze/nldiffusion_functions.cpp void halfsample_image(const cv::Mat& src, cv::Mat& dst) { src 477 modules/features2d/src/kaze/nldiffusion_functions.cpp CV_Assert(src.cols / 2 == dst.cols); src 478 modules/features2d/src/kaze/nldiffusion_functions.cpp CV_Assert(src.rows / 2 == dst.rows); src 479 modules/features2d/src/kaze/nldiffusion_functions.cpp resize(src, dst, dst.size(), 0, 0, cv::INTER_AREA); src 21 modules/features2d/src/kaze/nldiffusion_functions.h void gaussian_2D_convolution(const cv::Mat& src, cv::Mat& dst, int ksize_x, int ksize_y, float sigma); src 32 modules/features2d/src/kaze/nldiffusion_functions.h void compute_scharr_derivatives(const cv::Mat& src, cv::Mat& dst, int xorder, int yorder, int scale); src 34 modules/features2d/src/kaze/nldiffusion_functions.h void image_derivatives_scharr(const cv::Mat& src, cv::Mat& dst, int xorder, int yorder); src 43 modules/features2d/src/kaze/nldiffusion_functions.h void halfsample_image(const cv::Mat& src, cv::Mat& dst); src 703 modules/features2d/src/mser.cpp const Mat& src, src 709 modules/features2d/src/mser.cpp int srccpt = (int)(src.step-src.cols*3); src 710 modules/features2d/src/mser.cpp const uchar* srcptr = src.ptr(); src 713 modules/features2d/src/mser.cpp for ( int i = 0; i < src.rows; i++ ) src 715 modules/features2d/src/mser.cpp for ( int j = 0; j < src.cols-1; j++ ) src 725 modules/features2d/src/mser.cpp srcptr = src.ptr(); src 726 modules/features2d/src/mser.cpp lastptr = srcptr+src.step; src 728 modules/features2d/src/mser.cpp for ( int i = 0; i < src.rows-1; i++ ) src 730 modules/features2d/src/mser.cpp for ( int j = 0; j < src.cols; j++ ) src 759 modules/features2d/src/mser.cpp for ( int i = 1; i < src.cols-1; i++ ) src 771 modules/features2d/src/mser.cpp nodeptr->index = src.cols-1; src 773 modules/features2d/src/mser.cpp for ( int i = 1; i < src.rows-1; i++ ) src 779 modules/features2d/src/mser.cpp edge->left = nodeptr-src.cols; src 788 modules/features2d/src/mser.cpp for ( int j = 1; j < src.cols-1; j++ ) src 794 modules/features2d/src/mser.cpp edge->left = nodeptr-src.cols; src 805 modules/features2d/src/mser.cpp nodeptr->index = (i<<16)|(src.cols-1); src 808 modules/features2d/src/mser.cpp edge->left = nodeptr-src.cols; src 814 modules/features2d/src/mser.cpp nodeptr->index = (src.rows-1)<<16; src 822 modules/features2d/src/mser.cpp edge->left = nodeptr-src.cols; src 826 modules/features2d/src/mser.cpp for ( int i = 1; i < src.cols-1; i++ ) src 829 modules/features2d/src/mser.cpp nodeptr->index = ((src.rows-1)<<16)|i; src 837 modules/features2d/src/mser.cpp edge->left = nodeptr-src.cols; src 843 modules/features2d/src/mser.cpp nodeptr->index = ((src.rows-1)<<16)|(src.cols-1); src 845 modules/features2d/src/mser.cpp edge->left = nodeptr-src.cols; src 895 modules/features2d/src/mser.cpp extractMSER_8uC3( const Mat& src, src 901 modules/features2d/src/mser.cpp MSCRNode* map = (MSCRNode*)cvAlloc( src.cols*src.rows*sizeof(map[0]) ); src 902 modules/features2d/src/mser.cpp int Ne = src.cols*src.rows*2-src.cols-src.rows; src 904 modules/features2d/src/mser.cpp TempMSCR* mscr = (TempMSCR*)cvAlloc( src.cols*src.rows*sizeof(mscr[0]) ); src 906 modules/features2d/src/mser.cpp Mat dx( src.rows, src.cols-1, CV_64FC1 ); src 907 modules/features2d/src/mser.cpp Mat dy( src.rows-1, src.cols, CV_64FC1 ); src 908 modules/features2d/src/mser.cpp Ne = preprocessMSER_8uC3( map, edge, &emean, src, dx, dy, Ne, params.edgeBlurSize ); src 1022 modules/features2d/src/mser.cpp Mat src = _src.getMat(); src 1023 modules/features2d/src/mser.cpp size_t npix = src.total(); src 1031 modules/features2d/src/mser.cpp Size size = src.size(); src 1033 modules/features2d/src/mser.cpp if( src.type() == CV_8U ) src 1036 modules/features2d/src/mser.cpp if( !src.isContinuous() ) src 1038 modules/features2d/src/mser.cpp src.copyTo(tempsrc); src 1039 modules/features2d/src/mser.cpp src = tempsrc; src 1043 modules/features2d/src/mser.cpp preprocess1( src, level_size ); src 1045 modules/features2d/src/mser.cpp pass( src, msers, bboxes, size, level_size, 0 ); src 1047 modules/features2d/src/mser.cpp preprocess2( src, level_size ); src 1048 modules/features2d/src/mser.cpp pass( src, msers, bboxes, size, level_size, 255 ); src 1052 modules/features2d/src/mser.cpp CV_Assert( src.type() == CV_8UC3 || src.type() == CV_8UC4 ); src 1053 modules/features2d/src/mser.cpp extractMSER_8uC3( src, msers, bboxes, params ); src 729 modules/features2d/src/orb.cpp static void uploadORBKeypoints(const std::vector<KeyPoint>& src, std::vector<Vec3i>& buf, OutputArray dst) src 731 modules/features2d/src/orb.cpp size_t i, n = src.size(); src 734 modules/features2d/src/orb.cpp buf[i] = Vec3i(cvRound(src[i].pt.x), cvRound(src[i].pt.y), src[i].octave); src 745 modules/features2d/src/orb.cpp static void uploadORBKeypoints(const std::vector<KeyPoint>& src, src 749 modules/features2d/src/orb.cpp size_t i, n = src.size(); src 753 modules/features2d/src/orb.cpp int z = src[i].octave; src 756 modules/features2d/src/orb.cpp angle.f = src[i].angle; src 757 modules/features2d/src/orb.cpp buf[i] = Vec4i(cvRound(src[i].pt.x*scale), cvRound(src[i].pt.y*scale), z, angle.i); src 119 modules/features2d/test/test_mser.cpp Mat src = src0.clone(); src 122 modules/features2d/test/test_mser.cpp int kMaxArea = (int)src.total()/4; src 128 modules/features2d/test/test_mser.cpp bitwise_not(src, src); src 130 modules/features2d/test/test_mser.cpp threshold(src, src, thresh, 255, THRESH_BINARY); src 132 modules/features2d/test/test_mser.cpp GaussianBlur(src, src, Size(5, 5), 1.5, 1.5); src 139 modules/features2d/test/test_mser.cpp mserExtractor->detectRegions( src, msers, boxes ); src 151 modules/features2d/test/test_mser.cpp imshow("source", src); src 152 modules/features2d/test/test_mser.cpp renderMSERs(src, image, msers); src 88 modules/features2d/test/test_rotation_and_scale_invariance.cpp void rotateKeyPoints(const vector<KeyPoint>& src, const Mat& H, float angle, vector<KeyPoint>& dst) src 92 modules/features2d/test/test_rotation_and_scale_invariance.cpp KeyPoint::convert(src, srcCenters); src 96 modules/features2d/test/test_rotation_and_scale_invariance.cpp dst = src; src 100 modules/features2d/test/test_rotation_and_scale_invariance.cpp float dstAngle = src[i].angle + angle; src 107 modules/features2d/test/test_rotation_and_scale_invariance.cpp void scaleKeyPoints(const vector<KeyPoint>& src, vector<KeyPoint>& dst, float scale) src 109 modules/features2d/test/test_rotation_and_scale_invariance.cpp dst.resize(src.size()); src 110 modules/features2d/test/test_rotation_and_scale_invariance.cpp for(size_t i = 0; i < src.size(); i++) src 111 modules/features2d/test/test_rotation_and_scale_invariance.cpp dst[i] = KeyPoint(src[i].pt.x * scale, src[i].pt.y * scale, src[i].size * scale, src[i].angle); src 43 modules/flann/include/opencv2/flann/any.h virtual void copy_from_value(void const* src, void** dest) = 0; src 44 modules/flann/include/opencv2/flann/any.h virtual void clone(void* const* src, void** dest) = 0; src 45 modules/flann/include/opencv2/flann/any.h virtual void move(void* const* src, void** dest) = 0; src 46 modules/flann/include/opencv2/flann/any.h virtual void* get_value(void** src) = 0; src 47 modules/flann/include/opencv2/flann/any.h virtual const void* get_value(void* const * src) = 0; src 50 modules/flann/include/opencv2/flann/any.h virtual void print(std::ostream& out, void* const* src) = 0; src 66 modules/flann/include/opencv2/flann/any.h virtual void copy_from_value(void const* src, void** dest) src 68 modules/flann/include/opencv2/flann/any.h new (dest) T(* reinterpret_cast<T const*>(src)); src 70 modules/flann/include/opencv2/flann/any.h virtual void clone(void* const* src, void** dest) { *dest = *src; } src 71 modules/flann/include/opencv2/flann/any.h virtual void move(void* const* src, void** dest) { *dest = *src; } src 72 modules/flann/include/opencv2/flann/any.h virtual void* get_value(void** src) { return reinterpret_cast<void*>(src); } src 73 modules/flann/include/opencv2/flann/any.h virtual const void* get_value(void* const * src) { return reinterpret_cast<const void*>(src); } src 74 modules/flann/include/opencv2/flann/any.h virtual void print(std::ostream& out, void* const* src) { out << *reinterpret_cast<T const*>(src); } src 84 modules/flann/include/opencv2/flann/any.h virtual void copy_from_value(void const* src, void** dest) src 86 modules/flann/include/opencv2/flann/any.h *dest = new T(*reinterpret_cast<T const*>(src)); src 88 modules/flann/include/opencv2/flann/any.h virtual void clone(void* const* src, void** dest) src 90 modules/flann/include/opencv2/flann/any.h *dest = new T(**reinterpret_cast<T* const*>(src)); src 92 modules/flann/include/opencv2/flann/any.h virtual void move(void* const* src, void** dest) src 95 modules/flann/include/opencv2/flann/any.h **reinterpret_cast<T**>(dest) = **reinterpret_cast<T* const*>(src); src 97 modules/flann/include/opencv2/flann/any.h virtual void* get_value(void** src) { return *src; } src 98 modules/flann/include/opencv2/flann/any.h virtual const void* get_value(void* const * src) { return *src; } src 99 modules/flann/include/opencv2/flann/any.h virtual void print(std::ostream& out, void* const* src) { out << *reinterpret_cast<T const*>(*src); } src 102 modules/flann/include/opencv2/flann/any.h template<> inline void big_any_policy<flann_centers_init_t>::print(std::ostream& out, void* const* src) src 104 modules/flann/include/opencv2/flann/any.h out << int(*reinterpret_cast<flann_centers_init_t const*>(*src)); src 107 modules/flann/include/opencv2/flann/any.h template<> inline void big_any_policy<flann_algorithm_t>::print(std::ostream& out, void* const* src) src 109 modules/flann/include/opencv2/flann/any.h out << int(*reinterpret_cast<flann_algorithm_t const*>(*src)); src 112 modules/flann/include/opencv2/flann/any.h template<> inline void big_any_policy<cv::String>::print(std::ostream& out, void* const* src) src 114 modules/flann/include/opencv2/flann/any.h out << (*reinterpret_cast<cv::String const*>(*src)).c_str(); src 44 modules/flann/include/opencv2/flann/sampling.h T* src,* dest; src 48 modules/flann/include/opencv2/flann/sampling.h src = srcMatrix[r]; src 49 modules/flann/include/opencv2/flann/sampling.h std::copy(src, src+srcMatrix.cols, dest); src 51 modules/flann/include/opencv2/flann/sampling.h src = srcMatrix[srcMatrix.rows-i-1]; src 53 modules/flann/include/opencv2/flann/sampling.h std::copy(src, src+srcMatrix.cols, dest); src 68 modules/flann/include/opencv2/flann/sampling.h T* src,* dest; src 72 modules/flann/include/opencv2/flann/sampling.h src = srcMatrix[r]; src 73 modules/flann/include/opencv2/flann/sampling.h std::copy(src, src+srcMatrix.cols, dest); src 83 modules/hal/include/opencv2/hal.hpp void exp(const float* src, float* dst, int n); src 84 modules/hal/include/opencv2/hal.hpp void exp(const double* src, double* dst, int n); src 85 modules/hal/include/opencv2/hal.hpp void log(const float* src, float* dst, int n); src 86 modules/hal/include/opencv2/hal.hpp void log(const double* src, double* dst, int n); src 91 modules/hal/include/opencv2/hal.hpp void sqrt(const float* src, float* dst, int len); src 92 modules/hal/include/opencv2/hal.hpp void sqrt(const double* src, double* dst, int len); src 93 modules/hal/include/opencv2/hal.hpp void invSqrt(const float* src, float* dst, int len); src 94 modules/hal/include/opencv2/hal.hpp void invSqrt(const double* src, double* dst, int len); src 236 modules/hal/src/mathfuncs.cpp void invSqrt(const float* src, float* dst, int len) src 241 modules/hal/src/mathfuncs.cpp if (ippsInvSqrt_32f_A21(src, dst, len) >= 0) src 255 modules/hal/src/mathfuncs.cpp v_float32x4 t0 = v_load(src + i), t1 = v_load(src + i + 4); src 263 modules/hal/src/mathfuncs.cpp dst[i] = 1/std::sqrt(src[i]); src 267 modules/hal/src/mathfuncs.cpp void invSqrt(const double* src, double* dst, int len) src 274 modules/hal/src/mathfuncs.cpp _mm_storeu_pd(dst + i, _mm_div_pd(v_1, _mm_sqrt_pd(_mm_loadu_pd(src + i)))); src 278 modules/hal/src/mathfuncs.cpp dst[i] = 1/std::sqrt(src[i]); src 282 modules/hal/src/mathfuncs.cpp void sqrt(const float* src, float* dst, int len) src 287 modules/hal/src/mathfuncs.cpp if (ippsSqrt_32f_A21(src, dst, len) >= 0) src 301 modules/hal/src/mathfuncs.cpp v_float32x4 t0 = v_load(src + i), t1 = v_load(src + i + 4); src 309 modules/hal/src/mathfuncs.cpp dst[i] = std::sqrt(src[i]); src 313 modules/hal/src/mathfuncs.cpp void sqrt(const double* src, double* dst, int len) src 318 modules/hal/src/mathfuncs.cpp if (ippsSqrt_64f_A50(src, dst, len) >= 0) src 332 modules/hal/src/mathfuncs.cpp v_float64x2 t0 = v_load(src + i), t1 = v_load(src + i + 2); src 340 modules/hal/src/mathfuncs.cpp dst[i] = std::sqrt(src[i]); src 117 modules/imgcodecs/include/opencv2/imgcodecs/imgcodecs_c.h CVAPI(void) cvConvertImage( const CvArr* src, CvArr* dst, int flags CV_DEFAULT(0)); src 215 modules/imgcodecs/src/grfmt_bmp.cpp uchar *src = _src, *bgr = _bgr; src 227 modules/imgcodecs/src/grfmt_bmp.cpp m_strm.getBytes( src, src_pitch ); src 228 modules/imgcodecs/src/grfmt_bmp.cpp FillColorRow1( color ? data : bgr, src, m_width, m_palette ); src 241 modules/imgcodecs/src/grfmt_bmp.cpp m_strm.getBytes( src, src_pitch ); src 243 modules/imgcodecs/src/grfmt_bmp.cpp FillColorRow4( data, src, m_width, m_palette ); src 245 modules/imgcodecs/src/grfmt_bmp.cpp FillGrayRow4( data, src, m_width, gray_palette ); src 285 modules/imgcodecs/src/grfmt_bmp.cpp m_strm.getBytes( src, (((code + 1)>>1) + 1) & -2 ); src 287 modules/imgcodecs/src/grfmt_bmp.cpp data = FillColorRow4( data, src, code, m_palette ); src 289 modules/imgcodecs/src/grfmt_bmp.cpp data = FillGrayRow4( data, src, code, gray_palette ); src 329 modules/imgcodecs/src/grfmt_bmp.cpp m_strm.getBytes( src, src_pitch ); src 331 modules/imgcodecs/src/grfmt_bmp.cpp FillColorRow8( data, src, m_width, m_palette ); src 333 modules/imgcodecs/src/grfmt_bmp.cpp FillGrayRow8( data, src, m_width, gray_palette ); src 374 modules/imgcodecs/src/grfmt_bmp.cpp m_strm.getBytes( src, (code + 1) & -2 ); src 376 modules/imgcodecs/src/grfmt_bmp.cpp data = FillColorRow8( data, src, code, m_palette ); src 378 modules/imgcodecs/src/grfmt_bmp.cpp data = FillGrayRow8( data, src, code, gray_palette ); src 427 modules/imgcodecs/src/grfmt_bmp.cpp m_strm.getBytes( src, src_pitch ); src 429 modules/imgcodecs/src/grfmt_bmp.cpp icvCvt_BGR5552Gray_8u_C2C1R( src, 0, data, 0, cvSize(m_width,1) ); src 431 modules/imgcodecs/src/grfmt_bmp.cpp icvCvt_BGR5552BGR_8u_C2C3R( src, 0, data, 0, cvSize(m_width,1) ); src 439 modules/imgcodecs/src/grfmt_bmp.cpp m_strm.getBytes( src, src_pitch ); src 441 modules/imgcodecs/src/grfmt_bmp.cpp icvCvt_BGR5652Gray_8u_C2C1R( src, 0, data, 0, cvSize(m_width,1) ); src 443 modules/imgcodecs/src/grfmt_bmp.cpp icvCvt_BGR5652BGR_8u_C2C3R( src, 0, data, 0, cvSize(m_width,1) ); src 451 modules/imgcodecs/src/grfmt_bmp.cpp m_strm.getBytes( src, src_pitch ); src 453 modules/imgcodecs/src/grfmt_bmp.cpp icvCvt_BGR2Gray_8u_C3C1R( src, 0, data, 0, cvSize(m_width,1) ); src 455 modules/imgcodecs/src/grfmt_bmp.cpp memcpy( data, src, m_width*3 ); src 463 modules/imgcodecs/src/grfmt_bmp.cpp m_strm.getBytes( src, src_pitch ); src 466 modules/imgcodecs/src/grfmt_bmp.cpp icvCvt_BGRA2Gray_8u_C4C1R( src, 0, data, 0, cvSize(m_width,1) ); src 468 modules/imgcodecs/src/grfmt_bmp.cpp icvCvt_BGRA2BGR_8u_C4C3R( src, 0, data, 0, cvSize(m_width,1) ); src 125 modules/imgcodecs/src/grfmt_jpeg.cpp JpegSource* source = (JpegSource*) cinfo->src; src 147 modules/imgcodecs/src/grfmt_jpeg.cpp cinfo->src = &source->pub; src 241 modules/imgcodecs/src/grfmt_jpeg.cpp if (state->cinfo.src != 0) src 324 modules/imgcodecs/src/grfmt_png.cpp void PngEncoder::writeDataToBuf(void* _png_ptr, uchar* src, size_t size) src 333 modules/imgcodecs/src/grfmt_png.cpp memcpy( &(*encoder->m_buf)[cursz], src, size ); src 93 modules/imgcodecs/src/grfmt_png.hpp static void writeDataToBuf(void* png_ptr, uchar* src, size_t size); src 206 modules/imgcodecs/src/grfmt_pxm.cpp uchar* src = _src; src 235 modules/imgcodecs/src/grfmt_pxm.cpp src[x] = ReadNumber( m_strm, 1 ) != 0; src 238 modules/imgcodecs/src/grfmt_pxm.cpp FillColorRow8( data, src, m_width, palette ); src 240 modules/imgcodecs/src/grfmt_pxm.cpp FillGrayRow8( data, src, m_width, gray_palette ); src 247 modules/imgcodecs/src/grfmt_pxm.cpp m_strm.getBytes( src, src_pitch ); src 250 modules/imgcodecs/src/grfmt_pxm.cpp FillColorRow1( data, src, m_width, palette ); src 252 modules/imgcodecs/src/grfmt_pxm.cpp FillGrayRow1( data, src, m_width, gray_palette ); src 270 modules/imgcodecs/src/grfmt_pxm.cpp src[x] = gray_palette[code]; src 272 modules/imgcodecs/src/grfmt_pxm.cpp ((ushort *)src)[x] = (ushort)code; src 277 modules/imgcodecs/src/grfmt_pxm.cpp m_strm.getBytes( src, src_pitch ); src 282 modules/imgcodecs/src/grfmt_pxm.cpp uchar v = src[x * 2]; src 283 modules/imgcodecs/src/grfmt_pxm.cpp src[x * 2] = src[x * 2 + 1]; src 284 modules/imgcodecs/src/grfmt_pxm.cpp src[x * 2 + 1] = v; src 293 modules/imgcodecs/src/grfmt_pxm.cpp int v = ((ushort *)src)[x]; src 294 modules/imgcodecs/src/grfmt_pxm.cpp src[x] = (uchar)(v >> 8); src 303 modules/imgcodecs/src/grfmt_pxm.cpp uchar *d = data, *s = src, *end = src + m_width; src 307 modules/imgcodecs/src/grfmt_pxm.cpp ushort *d = (ushort *)data, *s = (ushort *)src, *end = ((ushort *)src) + m_width; src 313 modules/imgcodecs/src/grfmt_pxm.cpp memcpy( data, src, m_width*(bit_depth/8) ); src 320 modules/imgcodecs/src/grfmt_pxm.cpp icvCvt_RGB2BGR_8u_C3R( src, 0, data, 0, cvSize(m_width,1) ); src 322 modules/imgcodecs/src/grfmt_pxm.cpp icvCvt_RGB2BGR_16u_C3R( (ushort *)src, 0, (ushort *)data, 0, cvSize(m_width,1) ); src 325 modules/imgcodecs/src/grfmt_pxm.cpp icvCvt_BGR2Gray_8u_C3C1R( src, 0, data, 0, cvSize(m_width,1), 2 ); src 327 modules/imgcodecs/src/grfmt_pxm.cpp icvCvt_BGRA2Gray_16u_CnC1R( (ushort *)src, 0, (ushort *)data, 0, cvSize(m_width,1), 3, 2 ); src 171 modules/imgcodecs/src/grfmt_sunras.cpp uchar* src = _src; src 190 modules/imgcodecs/src/grfmt_sunras.cpp m_strm.getBytes( src, src_pitch ); src 192 modules/imgcodecs/src/grfmt_sunras.cpp FillColorRow1( data, src, m_width, m_palette ); src 194 modules/imgcodecs/src/grfmt_sunras.cpp FillGrayRow1( data, src, m_width, gray_palette ); src 200 modules/imgcodecs/src/grfmt_sunras.cpp uchar* line_end = src + (m_width*m_bpp + 7)/8; src 201 modules/imgcodecs/src/grfmt_sunras.cpp uchar* tsrc = src; src 239 modules/imgcodecs/src/grfmt_sunras.cpp tsrc = src; src 241 modules/imgcodecs/src/grfmt_sunras.cpp FillColorRow1( data, src, m_width, m_palette ); src 243 modules/imgcodecs/src/grfmt_sunras.cpp FillGrayRow1( data, src, m_width, gray_palette ); src 259 modules/imgcodecs/src/grfmt_sunras.cpp m_strm.getBytes( src, src_pitch ); src 261 modules/imgcodecs/src/grfmt_sunras.cpp FillColorRow8( data, src, m_width, m_palette ); src 263 modules/imgcodecs/src/grfmt_sunras.cpp FillGrayRow8( data, src, m_width, gray_palette ); src 276 modules/imgcodecs/src/grfmt_sunras.cpp uchar* tsrc = src; src 290 modules/imgcodecs/src/grfmt_sunras.cpp len1 = (int)(tsrc - src); src 295 modules/imgcodecs/src/grfmt_sunras.cpp FillColorRow8( data, src, len1, m_palette ); src 297 modules/imgcodecs/src/grfmt_sunras.cpp FillGrayRow8( data, src, len1, gray_palette ); src 358 modules/imgcodecs/src/grfmt_sunras.cpp m_strm.getBytes( src + 3, src_pitch ); src 361 modules/imgcodecs/src/grfmt_sunras.cpp icvCvt_BGRA2BGR_8u_C4C3R( src + 4, 0, data, 0, cvSize(m_width,1), src 364 modules/imgcodecs/src/grfmt_sunras.cpp icvCvt_BGRA2Gray_8u_C4C1R( src + 4, 0, data, 0, cvSize(m_width,1), src 600 modules/imgcodecs/src/utils.cpp CvMat srcstub, *src; src 604 modules/imgcodecs/src/utils.cpp CV_CALL( src = cvGetMat( srcarr, &srcstub )); src 607 modules/imgcodecs/src/utils.cpp src_cn = CV_MAT_CN( src->type ); src 619 modules/imgcodecs/src/utils.cpp if( !CV_ARE_DEPTHS_EQ( src, dst )) src 621 modules/imgcodecs/src/utils.cpp int src_depth = CV_MAT_DEPTH(src->type); src 625 modules/imgcodecs/src/utils.cpp if( !CV_ARE_CNS_EQ( src, dst )) src 627 modules/imgcodecs/src/utils.cpp temp = cvCreateMat( src->height, src->width, src 628 modules/imgcodecs/src/utils.cpp (src->type & CV_MAT_CN_MASK)|(dst->type & CV_MAT_DEPTH_MASK)); src 629 modules/imgcodecs/src/utils.cpp cvConvertScale( src, temp, scale, shift ); src 630 modules/imgcodecs/src/utils.cpp src = temp; src 634 modules/imgcodecs/src/utils.cpp cvConvertScale( src, dst, scale, shift ); src 635 modules/imgcodecs/src/utils.cpp src = dst; src 641 modules/imgcodecs/src/utils.cpp uchar *s = src->data.ptr, *d = dst->data.ptr; src 642 modules/imgcodecs/src/utils.cpp int s_step = src->step, d_step = dst->step; src 644 modules/imgcodecs/src/utils.cpp CvSize size(src->cols, src->rows); src 646 modules/imgcodecs/src/utils.cpp if( CV_IS_MAT_CONT(src->type & dst->type) ) src 674 modules/imgcodecs/src/utils.cpp src = dst; src 679 modules/imgcodecs/src/utils.cpp CV_CALL( cvFlip( src, dst, 0 )); src 681 modules/imgcodecs/src/utils.cpp else if( src != dst ) src 683 modules/imgcodecs/src/utils.cpp CV_CALL( cvCopy( src, dst )); src 863 modules/imgproc/include/opencv2/imgproc.hpp CV_WRAP virtual void apply(InputArray src, OutputArray dst) = 0; src 1137 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void medianBlur( InputArray src, OutputArray dst, int ksize ); src 1159 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void GaussianBlur( InputArray src, OutputArray dst, Size ksize, src 1191 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void bilateralFilter( InputArray src, OutputArray dst, int d, src 1219 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void boxFilter( InputArray src, OutputArray dst, int ddepth, src 1265 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void blur( InputArray src, OutputArray dst, src 1299 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void filter2D( InputArray src, OutputArray dst, int ddepth, src 1320 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void sepFilter2D( InputArray src, OutputArray dst, int ddepth, src 1367 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void Sobel( InputArray src, OutputArray dst, int ddepth, src 1394 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void Scharr( InputArray src, OutputArray dst, int ddepth, src 1425 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void Laplacian( InputArray src, OutputArray dst, int ddepth, src 1472 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void cornerMinEigenVal( InputArray src, OutputArray dst, src 1495 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void cornerHarris( InputArray src, OutputArray dst, int blockSize, src 1525 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void cornerEigenValsAndVecs( InputArray src, OutputArray dst, src 1552 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void preCornerDetect( InputArray src, OutputArray dst, int ksize, src 1866 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void erode( InputArray src, OutputArray dst, InputArray kernel, src 1892 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void dilate( InputArray src, OutputArray dst, InputArray kernel, src 1918 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void morphologyEx( InputArray src, OutputArray dst, src 1963 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void resize( InputArray src, OutputArray dst, src 1991 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void warpAffine( InputArray src, OutputArray dst, src 2019 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void warpPerspective( InputArray src, OutputArray dst, src 2055 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void remap( InputArray src, OutputArray dst, src 2116 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS Mat getPerspectiveTransform( const Point2f src[], const Point2f dst[] ); src 2133 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS Mat getAffineTransform( const Point2f src[], const Point2f dst[] ); src 2163 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W Mat getPerspectiveTransform( InputArray src, InputArray dst ); src 2165 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W Mat getAffineTransform( InputArray src, InputArray dst ); src 2212 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void logPolar( InputArray src, OutputArray dst, src 2230 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void linearPolar( InputArray src, OutputArray dst, src 2239 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void integral( InputArray src, OutputArray sum, int sdepth = -1 ); src 2242 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_AS(integral2) void integral( InputArray src, OutputArray sum, src 2279 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_AS(integral3) void integral( InputArray src, OutputArray sum, src 2306 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void accumulate( InputArray src, InputOutputArray dst, src 2325 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void accumulateSquare( InputArray src, InputOutputArray dst, src 2365 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void accumulateWeighted( InputArray src, InputOutputArray dst, src 2451 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W double threshold( InputArray src, OutputArray dst, src 2479 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void adaptiveThreshold( InputArray src, OutputArray dst, src 2507 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void pyrDown( InputArray src, OutputArray dst, src 2527 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void pyrUp( InputArray src, OutputArray dst, src 2541 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS void buildPyramid( InputArray src, OutputArrayOfArrays dst, src 2578 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void undistort( InputArray src, OutputArray dst, src 2697 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void undistortPoints( InputArray src, OutputArray dst, src 2913 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void equalizeHist( InputArray src, OutputArray dst ); src 3024 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void pyrMeanShiftFiltering( InputArray src, OutputArray dst, src 3117 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_AS(distanceTransformWithLabels) void distanceTransform( InputArray src, OutputArray dst, src 3132 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void distanceTransform( InputArray src, OutputArray dst, src 3264 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void cvtColor( InputArray src, OutputArray dst, int code, int dstCn = 0 ); src 3754 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void applyColorMap(InputArray src, OutputArray dst, int colormap); src 88 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvCopyMakeBorder( const CvArr* src, CvArr* dst, CvPoint offset, src 111 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvSmooth( const CvArr* src, CvArr* dst, src 131 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvFilter2D( const CvArr* src, CvArr* dst, const CvMat* kernel, src 147 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvPyrDown( const CvArr* src, CvArr* dst, src 156 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvPyrUp( const CvArr* src, CvArr* dst, src 175 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvPyrMeanShiftFiltering( const CvArr* src, CvArr* dst, src 190 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvSobel( const CvArr* src, CvArr* dst, src 197 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvLaplace( const CvArr* src, CvArr* dst, src 203 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvCvtColor( const CvArr* src, CvArr* dst, int code ); src 209 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvResize( const CvArr* src, CvArr* dst, src 217 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvWarpAffine( const CvArr* src, CvArr* dst, const CvMat* map_matrix, src 224 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(CvMat*) cvGetAffineTransform( const CvPoint2D32f * src, src 237 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvWarpPerspective( const CvArr* src, CvArr* dst, const CvMat* map_matrix, src 244 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(CvMat*) cvGetPerspectiveTransform( const CvPoint2D32f* src, src 251 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvRemap( const CvArr* src, CvArr* dst, src 265 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvLogPolar( const CvArr* src, CvArr* dst, src 272 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvLinearPolar( const CvArr* src, CvArr* dst, src 279 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvUndistort2( const CvArr* src, CvArr* dst, src 303 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvUndistortPoints( const CvMat* src, CvMat* dst, src 337 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvErode( const CvArr* src, CvArr* dst, src 346 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvDilate( const CvArr* src, CvArr* dst, src 353 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvMorphologyEx( const CvArr* src, CvArr* dst, src 391 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvGetRectSubPix( const CvArr* src, CvArr* dst, CvPoint2D32f center ); src 401 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvGetQuadrangleSubPix( const CvArr* src, CvArr* dst, src 755 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvCopyHist( const CvHistogram* src, CvHistogram** dst ); src 760 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvCalcBayesianProb( CvHistogram** src, int number, src 831 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvEqualizeHist( const CvArr* src, CvArr* dst ); src 837 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvDistTransform( const CvArr* src, CvArr* dst, src 850 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(double) cvThreshold( const CvArr* src, CvArr* dst, src 862 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(void) cvAdaptiveThreshold( const CvArr* src, CvArr* dst, double max_value, src 40 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = getMat(CvType.CV_64F, 2); src 42 modules/imgproc/misc/java/test/ImgprocTest.java Mat dst2 = src.clone(); src 44 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.accumulate(src, dst); src 45 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.accumulate(src, dst2); src 47 modules/imgproc/misc/java/test/ImgprocTest.java assertMatEqual(src, dst, EPS); src 52 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = getMat(CvType.CV_64F, 2); src 55 modules/imgproc/misc/java/test/ImgprocTest.java Mat dst2 = src.clone(); src 57 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.accumulate(src, dst, mask); src 58 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.accumulate(src, dst2, mask); src 65 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = getMat(CvType.CV_64F, 2); src 67 modules/imgproc/misc/java/test/ImgprocTest.java Mat dst2 = src.clone(); src 69 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.accumulateProduct(src, src, dst); src 70 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.accumulateProduct(src, dst, dst2); src 77 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = getMat(CvType.CV_64F, 2); src 80 modules/imgproc/misc/java/test/ImgprocTest.java Mat dst2 = src.clone(); src 82 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.accumulateProduct(src, src, dst, mask); src 83 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.accumulateProduct(src, dst, dst2, mask); src 90 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = getMat(CvType.CV_64F, 2); src 92 modules/imgproc/misc/java/test/ImgprocTest.java Mat dst2 = src.clone(); src 94 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.accumulateSquare(src, dst); src 95 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.accumulateSquare(src, dst2); src 102 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = getMat(CvType.CV_64F, 2); src 105 modules/imgproc/misc/java/test/ImgprocTest.java Mat dst2 = src.clone(); src 107 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.accumulateSquare(src, dst, mask); src 108 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.accumulateSquare(src, dst2, mask); src 115 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = getMat(CvType.CV_64F, 2); src 117 modules/imgproc/misc/java/test/ImgprocTest.java Mat dst2 = src.clone(); src 119 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.accumulateWeighted(src, dst, 0.5); src 120 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.accumulateWeighted(src, dst2, 2); src 127 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = getMat(CvType.CV_64F, 2); src 130 modules/imgproc/misc/java/test/ImgprocTest.java Mat dst2 = src.clone(); src 132 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.accumulateWeighted(src, dst, 0.5, mask); src 133 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.accumulateWeighted(src, dst2, 2, mask); src 140 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = makeMask(getMat(CvType.CV_8U, 50), 20); src 143 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.adaptiveThreshold(src, dst, 1, Imgproc.ADAPTIVE_THRESH_MEAN_C, Imgproc.THRESH_BINARY, 3, 0); src 145 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(src.rows(), Core.countNonZero(dst)); src 477 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_32FC1); src 478 modules/imgproc/misc/java/test/ImgprocTest.java src.put(0, 0, 1, 2); src 479 modules/imgproc/misc/java/test/ImgprocTest.java src.put(1, 0, 4, 2); src 485 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.cornerEigenValsAndVecs(src, dst, blockSize, ksize); src 493 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(4, 4, CvType.CV_32FC1, new Scalar(128)); src 500 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.cornerEigenValsAndVecs(src, dst, blockSize, ksize, Core.BORDER_REFLECT); src 532 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_32FC1); src 533 modules/imgproc/misc/java/test/ImgprocTest.java src.put(0, 0, 1, 2); src 534 modules/imgproc/misc/java/test/ImgprocTest.java src.put(1, 0, 2, 1); src 537 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.cornerMinEigenVal(src, dst, blockSize); src 549 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = Mat.eye(3, 3, CvType.CV_32FC1); src 553 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.cornerMinEigenVal(src, dst, blockSize, ksize); src 566 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = Mat.eye(3, 3, CvType.CV_32FC1); src 570 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.cornerMinEigenVal(src, dst, blockSize, ksize, Core.BORDER_REFLECT); src 688 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(3, 3, CvType.CV_8U) { src 697 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.erode(src, dst, kernel, anchorPoint, 10); src 704 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(3, 3, CvType.CV_8U) { src 714 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.erode(src, dst, kernel, anchorPoint, 10, Core.BORDER_REFLECT, sc); src 721 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = Mat.eye(4, 4, CvType.CV_32F); src 724 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.filter2D(src, dst, -1, kernel); src 880 modules/imgproc/misc/java/test/ImgprocTest.java MatOfPoint2f src = new MatOfPoint2f(new Point(2, 3), new Point(3, 1), new Point(1, 4)); src 883 modules/imgproc/misc/java/test/ImgprocTest.java Mat transform = Imgproc.getAffineTransform(src, dst); src 976 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(10, 10, CvType.CV_32F, new Scalar(2)); src 978 modules/imgproc/misc/java/test/ImgprocTest.java Point center = new Point(src.cols() / 2, src.rows() / 2); src 980 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.getRectSubPix(src, patchSize, center, dst); src 1022 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = gray0; src 1023 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.rectangle(src, new Point(2, 2), new Point(8, 8), new Scalar(100), -1); src 1026 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.goodFeaturesToTrack(src, lp, 100, 0.01, 3); src 1032 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = gray0; src 1033 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.rectangle(src, new Point(2, 2), new Point(8, 8), new Scalar(100), -1); src 1036 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.goodFeaturesToTrack(src, lp, 100, 0.01, 3, gray1, 4, true, 0); src 1189 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(3, 3, CvType.CV_32F, new Scalar(3)); src 1205 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.integral2(src, sum, sqsum); src 1212 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(3, 3, CvType.CV_32F, new Scalar(3)); src 1228 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.integral2(src, sum, sqsum, CvType.CV_64F, CvType.CV_64F); src 1235 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(1, 1, CvType.CV_32F, new Scalar(1)); src 1252 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.integral3(src, sum, sqsum, tilted); src 1260 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(1, 1, CvType.CV_32F, new Scalar(1)); src 1277 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.integral3(src, sum, sqsum, tilted, CvType.CV_64F, CvType.CV_64F); src 1285 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_32F, new Scalar(2)); src 1287 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.integral(src, dst); src 1300 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_32F, new Scalar(2)); src 1302 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.integral(src, dst, CvType.CV_64F); src 1315 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(2, 3, CvType.CV_64F, new Scalar(1)); src 1317 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.invertAffineTransform(src, dst); src 1340 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = Mat.eye(imgprocSz, imgprocSz, CvType.CV_32F); src 1342 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.Laplacian(src, dst, CvType.CV_32F, 1, 2, EPS); src 1354 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(3, 3, CvType.CV_32F, new Scalar(2)); src 1356 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.Laplacian(src, dst, CvType.CV_32F, 1, 2, EPS, Core.BORDER_REFLECT); src 1436 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = Mat.eye(imgprocSz, imgprocSz, CvType.CV_8U); src 1441 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.morphologyEx(src, dst, Imgproc.MORPH_CLOSE, kernel, point, 10); src 1450 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_8U); src 1451 modules/imgproc/misc/java/test/ImgprocTest.java src.put(0, 0, 2, 1); src 1452 modules/imgproc/misc/java/test/ImgprocTest.java src.put(1, 0, 2, 1); src 1458 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.morphologyEx(src, dst, Imgproc.MORPH_TOPHAT, kernel, point, 10, Core.BORDER_REFLECT, sc); src 1479 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(4, 4, CvType.CV_32F, new Scalar(1)); src 1482 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.preCornerDetect(src, dst, ksize); src 1489 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(4, 4, CvType.CV_32F, new Scalar(1)); src 1492 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.preCornerDetect(src, dst, ksize, Core.BORDER_REFLECT); src 1500 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(4, 4, CvType.CV_32F) { src 1509 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.pyrDown(src, dst); src 1521 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(4, 4, CvType.CV_32F) { src 1531 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.pyrDown(src, dst, dstSize); src 1544 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(matSize, matSize, CvType.CV_8UC3, new Scalar(0)); src 1546 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.pyrMeanShiftFiltering(src, dst, 10, 50); src 1548 modules/imgproc/misc/java/test/ImgprocTest.java assertMatEqual(src, dst); src 1561 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_32F); src 1562 modules/imgproc/misc/java/test/ImgprocTest.java src.put(0, 0, 2, 1); src 1563 modules/imgproc/misc/java/test/ImgprocTest.java src.put(1, 0, 3, 2); src 1565 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.pyrUp(src, dst); src 1585 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_32F, new Scalar(2)); src 1592 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.remap(src, dst, map1, map2, Imgproc.INTER_LINEAR); src 1601 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_32F, new Scalar(2)); src 1612 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.remap(src, dst, map1, map2, Imgproc.INTER_LINEAR, Core.BORDER_REFLECT, sc); src 1617 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_8UC1, new Scalar(1)); src 1620 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.resize(src, dst, dsize); src 1635 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = Mat.eye(imgprocSz, imgprocSz, CvType.CV_32F); src 1637 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.Scharr(src, dst, CvType.CV_32F, 1, 0); src 1644 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = Mat.eye(imgprocSz, imgprocSz, CvType.CV_32F); src 1646 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.Scharr(src, dst, CvType.CV_32F, 1, 0, 1.5, 0.001); src 1653 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = Mat.eye(3, 3, CvType.CV_32F); src 1655 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.Scharr(src, dst, CvType.CV_32F, 1, 0, 1.5, 0, Core.BORDER_REFLECT); src 1668 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_32F, new Scalar(2)); src 1674 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.sepFilter2D(src, dst, CvType.CV_32F, kernelX, kernelY); src 1681 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(imgprocSz, imgprocSz, CvType.CV_32FC1, new Scalar(2)); src 1687 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.sepFilter2D(src, dst, CvType.CV_32F, kernelX, kernelY, anchorPoint, weakEPS); src 1720 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(3, 3, CvType.CV_32F) { src 1728 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.Sobel(src, dst, CvType.CV_32F, 1, 0, 3, 2, 0, Core.BORDER_REPLICATE); src 1752 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(3, 3, CvType.CV_32F, new Scalar(3)); src 1766 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.undistort(src, dst, cameraMatrix, distCoeffs); src 1779 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(3, 3, CvType.CV_32F, new Scalar(3)); src 1794 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.undistort(src, dst, cameraMatrix, distCoeffs, newCameraMatrix); src 1802 modules/imgproc/misc/java/test/ImgprocTest.java MatOfPoint2f src = new MatOfPoint2f(new Point(1, 2), new Point(3, 4), new Point(-1, -1)); src 1807 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.undistortPoints(src, dst, cameraMatrix, distCoeffs); src 1809 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(src.size(), dst.size()); src 1810 modules/imgproc/misc/java/test/ImgprocTest.java for(int i=0; i<src.toList().size(); i++) { src 1812 modules/imgproc/misc/java/test/ImgprocTest.java assertTrue(src.toList().get(i).equals(dst.toList().get(i))); src 1818 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(3, 3, CvType.CV_32F) { src 1832 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.warpAffine(src, dst, M, new Size(3, 3)); src 1845 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(3, 3, CvType.CV_32F) { src 1859 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.warpAffine(src, dst, M, new Size(2, 2), Imgproc.WARP_INVERSE_MAP); src 1879 modules/imgproc/misc/java/test/ImgprocTest.java Mat src = new Mat(3, 3, CvType.CV_32F) { src 1894 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.warpPerspective(src, dst, M, new Size(3, 3)); src 38 modules/imgproc/perf/opencl/perf_3vs4.cpp UMat src(srcSize, type), dst(srcSize, type); src 39 modules/imgproc/perf/opencl/perf_3vs4.cpp declare.in(src, WARMUP_RNG).out(dst); src 43 modules/imgproc/perf/opencl/perf_3vs4.cpp OCL_TEST_CYCLE() resize(src, dst, Size(), 0.5, 0.5, INTER_LINEAR); src 57 modules/imgproc/perf/opencl/perf_3vs4.cpp split(src, srcs); src 72 modules/imgproc/perf/opencl/perf_3vs4.cpp cvtColor(src, src4, COLOR_RGB2RGBA); src 92 modules/imgproc/perf/opencl/perf_3vs4.cpp UMat src(srcSize, type), dst(srcSize, type); src 93 modules/imgproc/perf/opencl/perf_3vs4.cpp declare.in(src, WARMUP_RNG).out(dst); src 97 modules/imgproc/perf/opencl/perf_3vs4.cpp OCL_TEST_CYCLE() subtract(src, s, dst); src 111 modules/imgproc/perf/opencl/perf_3vs4.cpp split(src, srcs); src 126 modules/imgproc/perf/opencl/perf_3vs4.cpp cvtColor(src, src4, COLOR_RGB2RGBA); src 67 modules/imgproc/perf/opencl/perf_accumulate.cpp UMat src(srcSize, srcType), dst(srcSize, dstType); src 68 modules/imgproc/perf/opencl/perf_accumulate.cpp declare.in(src, dst, WARMUP_RNG).out(dst); src 70 modules/imgproc/perf/opencl/perf_accumulate.cpp OCL_TEST_CYCLE() cv::accumulate(src, dst); src 88 modules/imgproc/perf/opencl/perf_accumulate.cpp UMat src(srcSize, srcType), dst(srcSize, dstType); src 89 modules/imgproc/perf/opencl/perf_accumulate.cpp declare.in(src, dst, WARMUP_RNG); src 91 modules/imgproc/perf/opencl/perf_accumulate.cpp OCL_TEST_CYCLE() cv::accumulateSquare(src, dst); src 130 modules/imgproc/perf/opencl/perf_accumulate.cpp UMat src(srcSize, srcType), dst(srcSize, dstType); src 131 modules/imgproc/perf/opencl/perf_accumulate.cpp declare.in(src, dst, WARMUP_RNG); src 133 modules/imgproc/perf/opencl/perf_accumulate.cpp OCL_TEST_CYCLE() cv::accumulateWeighted(src, dst, 2.0); src 105 modules/imgproc/perf/opencl/perf_color.cpp UMat src(srcSize, CV_8UC(scn)), dst(srcSize, CV_8UC(scn)); src 106 modules/imgproc/perf/opencl/perf_color.cpp declare.in(src, WARMUP_RNG).out(dst); src 108 modules/imgproc/perf/opencl/perf_color.cpp OCL_TEST_CYCLE() cv::cvtColor(src, dst, code, dcn); src 72 modules/imgproc/perf/opencl/perf_filters.cpp UMat src(srcSize, type), dst(srcSize, type); src 73 modules/imgproc/perf/opencl/perf_filters.cpp declare.in(src, WARMUP_RNG).out(dst); src 75 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::blur(src, dst, Size(ksize, ksize), Point(-1, -1), bordertype); src 97 modules/imgproc/perf/opencl/perf_filters.cpp UMat src(srcSize, type), dst(srcSize, type); src 98 modules/imgproc/perf/opencl/perf_filters.cpp declare.in(src, WARMUP_RNG).out(dst); src 100 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::sqrBoxFilter(src, dst, ddepth, ksize, Point(-1, -1), false); src 119 modules/imgproc/perf/opencl/perf_filters.cpp UMat src(srcSize, type), dst(srcSize, type); src 120 modules/imgproc/perf/opencl/perf_filters.cpp declare.in(src, WARMUP_RNG).out(dst); src 122 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::Laplacian(src, dst, -1, ksize, 1); src 141 modules/imgproc/perf/opencl/perf_filters.cpp UMat src(srcSize, type), dst(srcSize, type); src 142 modules/imgproc/perf/opencl/perf_filters.cpp declare.in(src, WARMUP_RNG).out(dst).in(ker); src 144 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::erode(src, dst, ker); src 163 modules/imgproc/perf/opencl/perf_filters.cpp UMat src(srcSize, type), dst(srcSize, type); src 164 modules/imgproc/perf/opencl/perf_filters.cpp declare.in(src, WARMUP_RNG).out(dst).in(ker); src 166 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::dilate(src, dst, ker); src 188 modules/imgproc/perf/opencl/perf_filters.cpp UMat src(srcSize, type), dst(srcSize, type); src 189 modules/imgproc/perf/opencl/perf_filters.cpp declare.in(src, WARMUP_RNG).out(dst).in(ker); src 191 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::morphologyEx(src, dst, op, ker); src 209 modules/imgproc/perf/opencl/perf_filters.cpp UMat src(srcSize, type), dst(srcSize, type); src 210 modules/imgproc/perf/opencl/perf_filters.cpp declare.in(src, WARMUP_RNG).out(dst); src 212 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::Sobel(src, dst, -1, dx, dy); src 231 modules/imgproc/perf/opencl/perf_filters.cpp UMat src(srcSize, type), dst(srcSize, type); src 232 modules/imgproc/perf/opencl/perf_filters.cpp declare.in(src, WARMUP_RNG).out(dst); src 234 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::Scharr(src, dst, -1, dx, dy); src 253 modules/imgproc/perf/opencl/perf_filters.cpp UMat src(srcSize, type), dst(srcSize, type); src 254 modules/imgproc/perf/opencl/perf_filters.cpp declare.in(src, WARMUP_RNG).out(dst); src 256 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::GaussianBlur(src, dst, Size(ksize, ksize), 1, 1, cv::BORDER_CONSTANT); src 275 modules/imgproc/perf/opencl/perf_filters.cpp UMat src(srcSize, type), dst(srcSize, type); src 277 modules/imgproc/perf/opencl/perf_filters.cpp declare.in(src, WARMUP_RNG).in(kernel).out(dst); src 280 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::filter2D(src, dst, -1, kernel); src 297 modules/imgproc/perf/opencl/perf_filters.cpp UMat src(srcSize, CV_8UC1), dst(srcSize, CV_8UC1); src 298 modules/imgproc/perf/opencl/perf_filters.cpp declare.in(src, WARMUP_RNG).out(dst); src 300 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::bilateralFilter(src, dst, d, sigmacolor, sigmaspace); src 318 modules/imgproc/perf/opencl/perf_filters.cpp UMat src(srcSize, CV_8UC1), dst(srcSize, CV_8UC1); src 319 modules/imgproc/perf/opencl/perf_filters.cpp declare.in(src, WARMUP_RNG).out(dst); src 321 modules/imgproc/perf/opencl/perf_filters.cpp OCL_TEST_CYCLE() cv::medianBlur(src, dst, ksize); src 74 modules/imgproc/perf/opencl/perf_gftt.cpp UMat src(img.size(), img.type()), dst(1, maxCorners, CV_32FC2); src 75 modules/imgproc/perf/opencl/perf_gftt.cpp img.copyTo(src); src 77 modules/imgproc/perf/opencl/perf_gftt.cpp declare.in(src, WARMUP_READ).out(dst); src 79 modules/imgproc/perf/opencl/perf_gftt.cpp OCL_TEST_CYCLE() cv::goodFeaturesToTrack(src, dst, maxCorners, qualityLevel, src 40 modules/imgproc/perf/opencl/perf_houghLines.cpp Mat src(srcSize, CV_8UC1); src 41 modules/imgproc/perf/opencl/perf_houghLines.cpp src.setTo(Scalar::all(0)); src 42 modules/imgproc/perf/opencl/perf_houghLines.cpp line(src, Point(0, 100), Point(src.cols, 100), Scalar::all(255), 1); src 43 modules/imgproc/perf/opencl/perf_houghLines.cpp line(src, Point(0, 200), Point(src.cols, 200), Scalar::all(255), 1); src 44 modules/imgproc/perf/opencl/perf_houghLines.cpp line(src, Point(0, 400), Point(src.cols, 400), Scalar::all(255), 1); src 45 modules/imgproc/perf/opencl/perf_houghLines.cpp line(src, Point(100, 0), Point(100, src.rows), Scalar::all(255), 1); src 46 modules/imgproc/perf/opencl/perf_houghLines.cpp line(src, Point(200, 0), Point(200, src.rows), Scalar::all(255), 1); src 47 modules/imgproc/perf/opencl/perf_houghLines.cpp line(src, Point(400, 0), Point(400, src.rows), Scalar::all(255), 1); src 48 modules/imgproc/perf/opencl/perf_houghLines.cpp src.copyTo(usrc); src 66 modules/imgproc/perf/opencl/perf_imgproc.cpp UMat src(srcSize, CV_8UC1), dst(srcSize, CV_8UC1); src 67 modules/imgproc/perf/opencl/perf_imgproc.cpp declare.in(src, WARMUP_RNG).out(dst); src 69 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::equalizeHist(src, dst); src 90 modules/imgproc/perf/opencl/perf_imgproc.cpp UMat src(srcSize, CV_8UC1), hist(256, 1, CV_32FC1); src 91 modules/imgproc/perf/opencl/perf_imgproc.cpp declare.in(src, WARMUP_RNG).out(hist); src 93 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::calcHist(std::vector<UMat>(1, src), channels, noArray(), hist, histSize, ranges, false); src 114 modules/imgproc/perf/opencl/perf_imgproc.cpp UMat src(srcSize, CV_8UC1), hist(256, 1, CV_32FC1), dst(srcSize, CV_8UC1); src 115 modules/imgproc/perf/opencl/perf_imgproc.cpp declare.in(src, WARMUP_RNG).out(hist); src 117 modules/imgproc/perf/opencl/perf_imgproc.cpp cv::calcHist(std::vector<UMat>(1, src), channels, noArray(), hist, histSize, ranges, false); src 119 modules/imgproc/perf/opencl/perf_imgproc.cpp declare.in(src, WARMUP_RNG).out(dst); src 120 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::calcBackProject(std::vector<UMat>(1,src), channels, hist, dst, ranges, 1); src 142 modules/imgproc/perf/opencl/perf_imgproc.cpp UMat src(srcSize, type), dst; src 145 modules/imgproc/perf/opencl/perf_imgproc.cpp declare.in(src, WARMUP_RNG).out(dst); src 147 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::copyMakeBorder(src, dst, 7, 5, 5, 7, borderType, cv::Scalar(1.0)); src 166 modules/imgproc/perf/opencl/perf_imgproc.cpp UMat src(srcSize, type), dst(srcSize, CV_32FC1); src 167 modules/imgproc/perf/opencl/perf_imgproc.cpp declare.in(src, WARMUP_RNG).out(dst); src 169 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::cornerMinEigenVal(src, dst, blockSize, apertureSize, borderType); src 187 modules/imgproc/perf/opencl/perf_imgproc.cpp UMat src(srcSize, type), dst(srcSize, CV_32FC1); src 188 modules/imgproc/perf/opencl/perf_imgproc.cpp declare.in(src, WARMUP_RNG).out(dst); src 190 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::cornerHarris(src, dst, 5, 7, 0.1, borderType); src 208 modules/imgproc/perf/opencl/perf_imgproc.cpp UMat src(srcSize, type), dst(srcSize, CV_32FC1); src 209 modules/imgproc/perf/opencl/perf_imgproc.cpp declare.in(src, WARMUP_RNG).out(dst); src 211 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::preCornerDetect(src, dst, 3, borderType); src 229 modules/imgproc/perf/opencl/perf_imgproc.cpp UMat src(srcSize, CV_8UC1), dst(srcSize + Size(1, 1), ddepth); src 230 modules/imgproc/perf/opencl/perf_imgproc.cpp declare.in(src, WARMUP_RNG).out(dst); src 232 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::integral(src, dst, ddepth); src 245 modules/imgproc/perf/opencl/perf_imgproc.cpp UMat src(srcSize, CV_8UC1), sum(srcSize + Size(1, 1), ddepth), sqsum(srcSize + Size(1, 1), CV_32F); src 246 modules/imgproc/perf/opencl/perf_imgproc.cpp declare.in(src, WARMUP_RNG).out(sum, sqsum); src 248 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::integral(src, sum, sqsum, ddepth, CV_32F); src 272 modules/imgproc/perf/opencl/perf_imgproc.cpp UMat src(srcSize, srcType), dst(srcSize, srcType); src 273 modules/imgproc/perf/opencl/perf_imgproc.cpp declare.in(src, WARMUP_RNG).out(dst); src 275 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::threshold(src, dst, threshold, maxValue, threshType); src 290 modules/imgproc/perf/opencl/perf_imgproc.cpp UMat src(srcSize, CV_8UC1), dst(srcSize, CV_8UC1); src 292 modules/imgproc/perf/opencl/perf_imgproc.cpp declare.in(src, WARMUP_RNG).out(dst); src 295 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() clahe->apply(src, dst); src 79 modules/imgproc/perf/opencl/perf_imgwarp.cpp UMat src(srcSize, type), dst(srcSize, type); src 80 modules/imgproc/perf/opencl/perf_imgwarp.cpp declare.in(src, WARMUP_RNG).out(dst); src 82 modules/imgproc/perf/opencl/perf_imgwarp.cpp OCL_TEST_CYCLE() cv::warpAffine(src, dst, M, srcSize, interpolation); src 111 modules/imgproc/perf/opencl/perf_imgwarp.cpp UMat src(srcSize, type), dst(srcSize, type); src 112 modules/imgproc/perf/opencl/perf_imgwarp.cpp declare.in(src, WARMUP_RNG).out(dst); src 114 modules/imgproc/perf/opencl/perf_imgwarp.cpp OCL_TEST_CYCLE() cv::warpPerspective(src, dst, M, srcSize, interpolation); src 139 modules/imgproc/perf/opencl/perf_imgwarp.cpp UMat src(srcSize, type), dst(dstSize, type); src 140 modules/imgproc/perf/opencl/perf_imgwarp.cpp declare.in(src, WARMUP_RNG).out(dst); src 142 modules/imgproc/perf/opencl/perf_imgwarp.cpp OCL_TEST_CYCLE() cv::resize(src, dst, Size(), scale, scale, interType); src 163 modules/imgproc/perf/opencl/perf_imgwarp.cpp UMat src(srcSize, type), dst(dstSize, type); src 164 modules/imgproc/perf/opencl/perf_imgwarp.cpp declare.in(src, WARMUP_RNG).out(dst); src 166 modules/imgproc/perf/opencl/perf_imgwarp.cpp OCL_TEST_CYCLE() cv::resize(src, dst, Size(), scale, scale, cv::INTER_AREA); src 187 modules/imgproc/perf/opencl/perf_imgwarp.cpp UMat src(srcSize, type), dst(srcSize, type); src 204 modules/imgproc/perf/opencl/perf_imgwarp.cpp declare.in(src, WARMUP_RNG).in(xmap, ymap, WARMUP_READ).out(dst); src 206 modules/imgproc/perf/opencl/perf_imgwarp.cpp OCL_TEST_CYCLE() cv::remap(src, dst, xmap, ymap, interpolation, borderMode); src 58 modules/imgproc/perf/opencl/perf_matchTemplate.cpp UMat src(srcSize, type), templ(templSize, type); src 59 modules/imgproc/perf/opencl/perf_matchTemplate.cpp const Size dstSize(src.cols - templ.cols + 1, src.rows - templ.rows + 1); src 62 modules/imgproc/perf/opencl/perf_matchTemplate.cpp declare.in(src, templ, WARMUP_RNG).out(dst); src 64 modules/imgproc/perf/opencl/perf_matchTemplate.cpp OCL_TEST_CYCLE() cv::matchTemplate(src, templ, dst, CV_TM_CCORR); src 76 modules/imgproc/perf/opencl/perf_matchTemplate.cpp UMat src(srcSize, CV_8UC1), templ(templSize, CV_8UC1); src 77 modules/imgproc/perf/opencl/perf_matchTemplate.cpp const Size dstSize(src.cols - templ.cols + 1, src.rows - templ.rows + 1); src 80 modules/imgproc/perf/opencl/perf_matchTemplate.cpp declare.in(src, templ, WARMUP_RNG).out(dst); src 82 modules/imgproc/perf/opencl/perf_matchTemplate.cpp OCL_TEST_CYCLE() cv::matchTemplate(src, templ, dst, CV_TM_CCORR_NORMED); src 68 modules/imgproc/perf/opencl/perf_moments.cpp UMat src(srcSize, CV_8UC1); src 69 modules/imgproc/perf/opencl/perf_moments.cpp declare.in(src, WARMUP_RNG); src 71 modules/imgproc/perf/opencl/perf_moments.cpp OCL_TEST_CYCLE() m = cv::moments(src, binaryImage); src 71 modules/imgproc/perf/opencl/perf_pyramid.cpp UMat src(srcSize, type), dst(dstSize, type); src 72 modules/imgproc/perf/opencl/perf_pyramid.cpp declare.in(src, WARMUP_RNG).out(dst); src 74 modules/imgproc/perf/opencl/perf_pyramid.cpp OCL_TEST_CYCLE() cv::pyrDown(src, dst); src 95 modules/imgproc/perf/opencl/perf_pyramid.cpp UMat src(srcSize, type), dst(dstSize, type); src 96 modules/imgproc/perf/opencl/perf_pyramid.cpp declare.in(src, WARMUP_RNG).out(dst); src 98 modules/imgproc/perf/opencl/perf_pyramid.cpp OCL_TEST_CYCLE() cv::pyrUp(src, dst); src 118 modules/imgproc/perf/opencl/perf_pyramid.cpp UMat src(srcSize, type); src 119 modules/imgproc/perf/opencl/perf_pyramid.cpp declare.in(src, WARMUP_RNG); src 121 modules/imgproc/perf/opencl/perf_pyramid.cpp OCL_TEST_CYCLE() cv::buildPyramid(src, dst, maxLevel); src 30 modules/imgproc/perf/perf_bilateral.cpp Mat src(sz, type); src 33 modules/imgproc/perf/perf_bilateral.cpp declare.in(src, WARMUP_RNG).out(dst).time(20); src 35 modules/imgproc/perf/perf_bilateral.cpp TEST_CYCLE() bilateralFilter(src, dst, d, sigmaColor, sigmaSpace, BORDER_DEFAULT); src 24 modules/imgproc/perf/perf_blur.cpp Mat src(size, type); src 27 modules/imgproc/perf/perf_blur.cpp declare.in(src, WARMUP_RNG).out(dst); src 32 modules/imgproc/perf/perf_blur.cpp TEST_CYCLE() medianBlur(src, dst, ksize); src 58 modules/imgproc/perf/perf_blur.cpp Mat src(size, type); src 61 modules/imgproc/perf/perf_blur.cpp declare.in(src, WARMUP_RNG).out(dst); src 63 modules/imgproc/perf/perf_blur.cpp TEST_CYCLE() GaussianBlur(src, dst, Size(3,3), 0, 0, btype); src 80 modules/imgproc/perf/perf_blur.cpp Mat src(size, type); src 83 modules/imgproc/perf/perf_blur.cpp declare.in(src, WARMUP_RNG).out(dst); src 85 modules/imgproc/perf/perf_blur.cpp TEST_CYCLE() blur(src, dst, Size(3,3), Point(-1,-1), btype); src 107 modules/imgproc/perf/perf_blur.cpp Mat src(size, type); src 110 modules/imgproc/perf/perf_blur.cpp declare.in(src, WARMUP_RNG).out(dst); src 112 modules/imgproc/perf/perf_blur.cpp TEST_CYCLE() blur(src, dst, Size(16,16), Point(-1,-1), btype); src 129 modules/imgproc/perf/perf_blur.cpp Mat src(size, type); src 132 modules/imgproc/perf/perf_blur.cpp declare.in(src, WARMUP_RNG).out(dst); src 134 modules/imgproc/perf/perf_blur.cpp TEST_CYCLE() boxFilter(src, dst, -1, Size(3,3), Point(-1,-1), false, btype); src 151 modules/imgproc/perf/perf_blur.cpp Mat src(size, type); src 154 modules/imgproc/perf/perf_blur.cpp declare.in(src, WARMUP_RNG).out(dst); src 158 modules/imgproc/perf/perf_blur.cpp src.copyTo(dst); src 179 modules/imgproc/perf/perf_blur.cpp Mat src(size, type); src 182 modules/imgproc/perf/perf_blur.cpp declare.in(src, WARMUP_RNG).out(dst); src 184 modules/imgproc/perf/perf_blur.cpp TEST_CYCLE() GaussianBlur(src, dst, Size(5,5), 0, 0, btype); src 201 modules/imgproc/perf/perf_blur.cpp Mat src(size, type); src 204 modules/imgproc/perf/perf_blur.cpp declare.in(src, WARMUP_RNG).out(dst); src 206 modules/imgproc/perf/perf_blur.cpp TEST_CYCLE() blur(src, dst, Size(5,5), Point(-1,-1), btype); src 30 modules/imgproc/perf/perf_corners.cpp Mat src = imread(filename, IMREAD_GRAYSCALE); src 31 modules/imgproc/perf/perf_corners.cpp ASSERT_FALSE(src.empty()) << "Unable to load source image: " << filename; src 35 modules/imgproc/perf/perf_corners.cpp TEST_CYCLE() cornerHarris(src, dst, blockSize, apertureSize, k, borderType); src 57 modules/imgproc/perf/perf_corners.cpp Mat src = imread(filename, IMREAD_GRAYSCALE); src 58 modules/imgproc/perf/perf_corners.cpp ASSERT_FALSE(src.empty()) << "Unable to load source image: " << filename; src 62 modules/imgproc/perf/perf_corners.cpp TEST_CYCLE() cornerEigenValsAndVecs(src, dst, blockSize, apertureSize, borderType); src 84 modules/imgproc/perf/perf_corners.cpp Mat src = imread(filename, IMREAD_GRAYSCALE); src 85 modules/imgproc/perf/perf_corners.cpp ASSERT_FALSE(src.empty()) << "Unable to load source image: " << filename; src 89 modules/imgproc/perf/perf_corners.cpp TEST_CYCLE() cornerMinEigenVal(src, dst, blockSize, apertureSize, borderType); src 255 modules/imgproc/perf/perf_cvt_color.cpp Mat src(sz, CV_8UC(ch.scn)); src 259 modules/imgproc/perf/perf_cvt_color.cpp declare.in(src, WARMUP_RNG).out(dst); src 262 modules/imgproc/perf/perf_cvt_color.cpp TEST_CYCLE_MULTIRUN(runs) cvtColor(src, dst, mode, ch.dcn); src 286 modules/imgproc/perf/perf_cvt_color.cpp Mat src(sz, CV_8UC(ch.scn)); src 290 modules/imgproc/perf/perf_cvt_color.cpp declare.in(src, WARMUP_RNG).out(dst); src 292 modules/imgproc/perf/perf_cvt_color.cpp TEST_CYCLE() cvtColor(src, dst, mode, ch.dcn); src 311 modules/imgproc/perf/perf_cvt_color.cpp Mat src(sz.height + sz.height / 2, sz.width, CV_8UC(ch.scn)); src 314 modules/imgproc/perf/perf_cvt_color.cpp declare.in(src, WARMUP_RNG).out(dst); src 317 modules/imgproc/perf/perf_cvt_color.cpp TEST_CYCLE_MULTIRUN(runs) cvtColor(src, dst, mode, ch.dcn); src 336 modules/imgproc/perf/perf_cvt_color.cpp Mat src(sz, CV_8UC(ch.scn)); src 340 modules/imgproc/perf/perf_cvt_color.cpp declare.in(src, WARMUP_RNG).out(dst); src 343 modules/imgproc/perf/perf_cvt_color.cpp TEST_CYCLE_MULTIRUN(runs) cvtColor(src, dst, mode, ch.dcn); src 363 modules/imgproc/perf/perf_cvt_color.cpp Mat src(sz, CV_8UC1); src 366 modules/imgproc/perf/perf_cvt_color.cpp declare.in(src, WARMUP_RNG).out(dst); src 368 modules/imgproc/perf/perf_cvt_color.cpp TEST_CYCLE() cvtColor(src, dst, mode, 3); src 57 modules/imgproc/perf/perf_distanceTransform.cpp Mat src(srcSize, CV_8U); src 61 modules/imgproc/perf/perf_distanceTransform.cpp .in(src, WARMUP_RNG) src 65 modules/imgproc/perf/perf_distanceTransform.cpp TEST_CYCLE() distanceTransform( src, dst, distanceType, maskSize, dstType); src 86 modules/imgproc/perf/perf_distanceTransform.cpp Mat src(srcSize, CV_8U); src 91 modules/imgproc/perf/perf_distanceTransform.cpp .in(src, WARMUP_RNG) src 96 modules/imgproc/perf/perf_distanceTransform.cpp TEST_CYCLE() distanceTransform( src, dst, label, distanceType, maskSize, labelType); src 30 modules/imgproc/perf/perf_filter2d.cpp Mat src(sz, CV_8UC4); src 38 modules/imgproc/perf/perf_filter2d.cpp declare.in(src, WARMUP_RNG).out(dst).time(20); src 40 modules/imgproc/perf/perf_filter2d.cpp TEST_CYCLE() filter2D(src, dst, CV_8UC4, kernel, Point(1, 1), 0., borderMode); src 132 modules/imgproc/perf/perf_histogram.cpp Mat src(size, CV_8UC1); src 133 modules/imgproc/perf/perf_histogram.cpp declare.in(src, WARMUP_RNG); src 138 modules/imgproc/perf/perf_histogram.cpp TEST_CYCLE() clahe->apply(src, dst); src 24 modules/imgproc/perf/perf_integral.cpp Mat src(sz, matType); src 27 modules/imgproc/perf/perf_integral.cpp declare.in(src, WARMUP_RNG).out(sum); src 29 modules/imgproc/perf/perf_integral.cpp TEST_CYCLE() integral(src, sum, sdepth); src 46 modules/imgproc/perf/perf_integral.cpp Mat src(sz, matType); src 50 modules/imgproc/perf/perf_integral.cpp declare.in(src, WARMUP_RNG).out(sum, sqsum); src 53 modules/imgproc/perf/perf_integral.cpp TEST_CYCLE() integral(src, sum, sqsum, sdepth); src 71 modules/imgproc/perf/perf_integral.cpp Mat src(sz, matType); src 76 modules/imgproc/perf/perf_integral.cpp declare.in(src, WARMUP_RNG).out(sum, sqsum, tilted); src 79 modules/imgproc/perf/perf_integral.cpp TEST_CYCLE() integral(src, sum, sqsum, tilted, sdepth); src 32 modules/imgproc/perf/perf_moments.cpp Mat src(srcSize, srcDepth); src 33 modules/imgproc/perf/perf_moments.cpp declare.in(src, WARMUP_RNG); src 35 modules/imgproc/perf/perf_moments.cpp TEST_CYCLE() m = cv::moments(src, binaryImage); src 17 modules/imgproc/perf/perf_morph.cpp Mat src(sz, type); src 20 modules/imgproc/perf/perf_morph.cpp declare.in(src, WARMUP_RNG).out(dst); src 23 modules/imgproc/perf/perf_morph.cpp TEST_CYCLE_MULTIRUN(runs) erode(src, dst, noArray()); src 33 modules/imgproc/perf/perf_morph.cpp Mat src(sz, type); src 36 modules/imgproc/perf/perf_morph.cpp declare.in(src, WARMUP_RNG).out(dst); src 38 modules/imgproc/perf/perf_morph.cpp TEST_CYCLE() dilate(src, dst, noArray()); src 20 modules/imgproc/perf/perf_pyramids.cpp Mat src(sz, matType); src 23 modules/imgproc/perf/perf_pyramids.cpp declare.in(src, WARMUP_RNG).out(dst); src 25 modules/imgproc/perf/perf_pyramids.cpp TEST_CYCLE() pyrDown(src, dst); src 41 modules/imgproc/perf/perf_pyramids.cpp Mat src(sz, matType); src 44 modules/imgproc/perf/perf_pyramids.cpp declare.in(src, WARMUP_RNG).out(dst); src 46 modules/imgproc/perf/perf_pyramids.cpp TEST_CYCLE() pyrUp(src, dst); src 62 modules/imgproc/perf/perf_pyramids.cpp Mat src(sz, matType); src 65 modules/imgproc/perf/perf_pyramids.cpp declare.in(src, WARMUP_RNG); src 67 modules/imgproc/perf/perf_pyramids.cpp TEST_CYCLE() buildPyramid(src, dst, maxLevel); src 31 modules/imgproc/perf/perf_remap.cpp Mat src(sz, src_type), dst(sz, src_type), map1(sz, map1_type), map2; src 41 modules/imgproc/perf/perf_remap.cpp rng.fill(src, RNG::UNIFORM, 0, 256); src 48 modules/imgproc/perf/perf_remap.cpp map1.at<float>(j, i) = static_cast<float>(src.cols - i - 1); src 52 modules/imgproc/perf/perf_remap.cpp map1.at<Vec2f>(j, i)[0] = static_cast<float>(src.cols - i - 1); src 56 modules/imgproc/perf/perf_remap.cpp map1.at<Vec2s>(j, i)[0] = static_cast<short>(src.cols - i - 1); src 64 modules/imgproc/perf/perf_remap.cpp declare.in(src, WARMUP_RNG).out(dst).time(20); src 67 modules/imgproc/perf/perf_remap.cpp TEST_CYCLE_MULTIRUN(runs) remap(src, dst, map1, map2, inter_type); src 24 modules/imgproc/perf/perf_resize.cpp cv::Mat src(from, matType), dst(to, matType); src 25 modules/imgproc/perf/perf_resize.cpp cvtest::fillGradient(src); src 26 modules/imgproc/perf/perf_resize.cpp declare.in(src).out(dst); src 28 modules/imgproc/perf/perf_resize.cpp TEST_CYCLE_MULTIRUN(10) resize(src, dst, to); src 51 modules/imgproc/perf/perf_resize.cpp cv::Mat src(from, matType), dst(to, matType); src 52 modules/imgproc/perf/perf_resize.cpp cvtest::fillGradient(src); src 53 modules/imgproc/perf/perf_resize.cpp declare.in(src).out(dst); src 55 modules/imgproc/perf/perf_resize.cpp TEST_CYCLE_MULTIRUN(10) resize(src, dst, to); src 83 modules/imgproc/perf/perf_resize.cpp cv::Mat src(from, matType); src 86 modules/imgproc/perf/perf_resize.cpp declare.in(src, WARMUP_RNG).out(dst); src 89 modules/imgproc/perf/perf_resize.cpp TEST_CYCLE_MULTIRUN(runs) resize(src, dst, dst.size(), 0, 0, INTER_AREA); src 110 modules/imgproc/perf/perf_resize.cpp cv::Mat src(from, matType); src 115 modules/imgproc/perf/perf_resize.cpp declare.in(src, WARMUP_RNG).out(dst); src 118 modules/imgproc/perf/perf_resize.cpp TEST_CYCLE() resize(src, dst, dst.size(), 0, 0, INTER_AREA); src 47 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size, CV_8U); src 50 modules/imgproc/perf/perf_sepfilters.cpp declare.in(src, WARMUP_RNG).out(dst); src 52 modules/imgproc/perf/perf_sepfilters.cpp TEST_CYCLE() Sobel(src, dst, ddepth, dx, dy, 3, 1, 0, border); src 72 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size.height + 10, size.width + 10, CV_8U); src 75 modules/imgproc/perf/perf_sepfilters.cpp warmup(src, WARMUP_RNG); src 76 modules/imgproc/perf/perf_sepfilters.cpp src = src(Range(5, 5 + size.height), Range(5, 5 + size.width)); src 78 modules/imgproc/perf/perf_sepfilters.cpp declare.in(src).out(dst); src 80 modules/imgproc/perf/perf_sepfilters.cpp TEST_CYCLE() Sobel(src, dst, ddepth, dx, dy, 3, 1, 0, border); src 100 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size, CV_8U); src 103 modules/imgproc/perf/perf_sepfilters.cpp declare.in(src, WARMUP_RNG).out(dst); src 105 modules/imgproc/perf/perf_sepfilters.cpp TEST_CYCLE() Sobel(src, dst, ddepth, dx, dy, 5, 1, 0, border); src 125 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size.height + 10, size.width + 10, CV_8U); src 128 modules/imgproc/perf/perf_sepfilters.cpp warmup(src, WARMUP_RNG); src 129 modules/imgproc/perf/perf_sepfilters.cpp src = src(Range(5, 5 + size.height), Range(5, 5 + size.width)); src 131 modules/imgproc/perf/perf_sepfilters.cpp declare.in(src).out(dst); src 133 modules/imgproc/perf/perf_sepfilters.cpp TEST_CYCLE() Sobel(src, dst, ddepth, dx, dy, 5, 1, 0, border); src 155 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size, CV_8U); src 158 modules/imgproc/perf/perf_sepfilters.cpp declare.in(src, WARMUP_RNG).out(dst); src 160 modules/imgproc/perf/perf_sepfilters.cpp TEST_CYCLE() Scharr(src, dst, ddepth, dx, dy, 1, 0, border); src 180 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size.height + 10, size.width + 10, CV_8U); src 183 modules/imgproc/perf/perf_sepfilters.cpp warmup(src, WARMUP_RNG); src 184 modules/imgproc/perf/perf_sepfilters.cpp src = src(Range(5, 5 + size.height), Range(5, 5 + size.width)); src 186 modules/imgproc/perf/perf_sepfilters.cpp declare.in(src).out(dst); src 188 modules/imgproc/perf/perf_sepfilters.cpp TEST_CYCLE() Scharr(src, dst, ddepth, dx, dy, 1, 0, border); src 208 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size, CV_8U); src 211 modules/imgproc/perf/perf_sepfilters.cpp declare.in(src, WARMUP_RNG).out(dst); src 213 modules/imgproc/perf/perf_sepfilters.cpp TEST_CYCLE() Sobel(src, dst, ddepth, dx, dy, -1, 1, 0, border); src 233 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size.height + 10, size.width + 10, CV_8U); src 236 modules/imgproc/perf/perf_sepfilters.cpp warmup(src, WARMUP_RNG); src 237 modules/imgproc/perf/perf_sepfilters.cpp src = src(Range(5, 5 + size.height), Range(5, 5 + size.width)); src 239 modules/imgproc/perf/perf_sepfilters.cpp declare.in(src).out(dst); src 241 modules/imgproc/perf/perf_sepfilters.cpp TEST_CYCLE() Sobel(src, dst, ddepth, dx, dy, -1, 1, 0, border); src 27 modules/imgproc/perf/perf_threshold.cpp Mat src(sz, type); src 33 modules/imgproc/perf/perf_threshold.cpp declare.in(src, WARMUP_RNG).out(dst); src 36 modules/imgproc/perf/perf_threshold.cpp TEST_CYCLE_MULTIRUN(runs) threshold(src, dst, thresh, maxval, threshType); src 47 modules/imgproc/perf/perf_threshold.cpp Mat src(sz, CV_8UC1); src 52 modules/imgproc/perf/perf_threshold.cpp declare.in(src, WARMUP_RNG).out(dst); src 55 modules/imgproc/perf/perf_threshold.cpp TEST_CYCLE_MULTIRUN(runs) threshold(src, dst, 0, maxval, THRESH_BINARY|THRESH_OTSU); src 84 modules/imgproc/perf/perf_threshold.cpp Mat src(sz, type); src 87 modules/imgproc/perf/perf_threshold.cpp declare.in(src, WARMUP_RNG).out(dst); src 89 modules/imgproc/perf/perf_threshold.cpp TEST_CYCLE() adaptiveThreshold(src, dst, maxValue, adaptThreshMethod, adaptThreshType, blockSize, C); src 21 modules/imgproc/perf/perf_warp.cpp void update_map(const Mat& src, Mat& map_x, Mat& map_y, const int remapMode ); src 38 modules/imgproc/perf/perf_warp.cpp Mat src(szSrc,CV_8UC4), dst(sz, CV_8UC4); src 39 modules/imgproc/perf/perf_warp.cpp cvtest::fillGradient(src); src 40 modules/imgproc/perf/perf_warp.cpp if(borderMode == BORDER_CONSTANT) cvtest::smoothBorder(src, borderColor, 1); src 41 modules/imgproc/perf/perf_warp.cpp Mat warpMat = getRotationMatrix2D(Point2f(src.cols/2.f, src.rows/2.f), 30., 2.2); src 42 modules/imgproc/perf/perf_warp.cpp declare.in(src).out(dst); src 44 modules/imgproc/perf/perf_warp.cpp TEST_CYCLE() warpAffine( src, dst, warpMat, sz, interType, borderMode, borderColor ); src 68 modules/imgproc/perf/perf_warp.cpp Mat src(szSrc,CV_8UC4), dst(sz, CV_8UC4); src 69 modules/imgproc/perf/perf_warp.cpp cvtest::fillGradient(src); src 70 modules/imgproc/perf/perf_warp.cpp if(borderMode == BORDER_CONSTANT) cvtest::smoothBorder(src, borderColor, 1); src 71 modules/imgproc/perf/perf_warp.cpp Mat rotMat = getRotationMatrix2D(Point2f(src.cols/2.f, src.rows/2.f), 30., 2.2); src 80 modules/imgproc/perf/perf_warp.cpp declare.in(src).out(dst); src 82 modules/imgproc/perf/perf_warp.cpp TEST_CYCLE() warpPerspective( src, dst, warpMat, sz, interType, borderMode, borderColor ); src 108 modules/imgproc/perf/perf_warp.cpp Mat src(size, type), dst(size, type); src 109 modules/imgproc/perf/perf_warp.cpp cvtest::fillGradient(src); src 110 modules/imgproc/perf/perf_warp.cpp if(borderMode == BORDER_CONSTANT) cvtest::smoothBorder(src, borderColor, 1); src 111 modules/imgproc/perf/perf_warp.cpp int shift = static_cast<int>(src.cols*0.04); src 122 modules/imgproc/perf/perf_warp.cpp declare.in(src).out(dst); src 127 modules/imgproc/perf/perf_warp.cpp warpPerspective( src, dst, warpMat, size, interType, borderMode, borderColor ); src 171 modules/imgproc/perf/perf_warp.cpp void update_map(const Mat& src, Mat& map_x, Mat& map_y, const int remapMode ) src 173 modules/imgproc/perf/perf_warp.cpp for( int j = 0; j < src.rows; j++ ) src 175 modules/imgproc/perf/perf_warp.cpp for( int i = 0; i < src.cols; i++ ) src 180 modules/imgproc/perf/perf_warp.cpp if( i > src.cols*0.25 && i < src.cols*0.75 && j > src.rows*0.25 && j < src.rows*0.75 ) src 182 modules/imgproc/perf/perf_warp.cpp map_x.at<float>(j,i) = 2*( i - src.cols*0.25f ) + 0.5f ; src 183 modules/imgproc/perf/perf_warp.cpp map_y.at<float>(j,i) = 2*( j - src.rows*0.25f ) + 0.5f ; src 193 modules/imgproc/perf/perf_warp.cpp map_y.at<float>(j,i) = static_cast<float>(src.rows - j) ; src 196 modules/imgproc/perf/perf_warp.cpp map_x.at<float>(j,i) = static_cast<float>(src.cols - i) ; src 200 modules/imgproc/perf/perf_warp.cpp map_x.at<float>(j,i) = static_cast<float>(src.cols - i) ; src 201 modules/imgproc/perf/perf_warp.cpp map_y.at<float>(j,i) = static_cast<float>(src.rows - j) ; src 91 modules/imgproc/src/accum.cpp int operator() (const uchar * src, float * dst, const uchar * mask, int len, int cn) const src 100 modules/imgproc/src/accum.cpp uint8x16_t v_src = vld1q_u8(src + x); src 115 modules/imgproc/src/accum.cpp uint8x16_t v_src = vandq_u8(vld1q_u8(src + x), veorq_u8(v_255, vceqq_u8(vld1q_u8(mask + x), v_0))); src 132 modules/imgproc/src/accum.cpp int operator() (const ushort * src, float * dst, const uchar * mask, int len, int cn) const src 141 modules/imgproc/src/accum.cpp uint16x8_t v_src = vld1q_u16(src + x); src 156 modules/imgproc/src/accum.cpp int operator() (const float * src, float * dst, const uchar * mask, int len, int cn) const src 165 modules/imgproc/src/accum.cpp vst1q_f32(dst + x, vaddq_f32(vld1q_f32(dst + x), vld1q_f32(src + x))); src 166 modules/imgproc/src/accum.cpp vst1q_f32(dst + x + 4, vaddq_f32(vld1q_f32(dst + x + 4), vld1q_f32(src + x + 4))); src 177 modules/imgproc/src/accum.cpp int operator() (const uchar * src, float * dst, const uchar * mask, int len, int cn) const src 186 modules/imgproc/src/accum.cpp uint8x16_t v_src = vld1q_u8(src + x); src 202 modules/imgproc/src/accum.cpp uint8x16_t v_src = vandq_u8(vld1q_u8(src + x), veorq_u8(v_255, vceqq_u8(vld1q_u8(mask + x), v_0))); src 220 modules/imgproc/src/accum.cpp int operator() (const ushort * src, float * dst, const uchar * mask, int len, int cn) const src 229 modules/imgproc/src/accum.cpp uint16x8_t v_src = vld1q_u16(src + x); src 246 modules/imgproc/src/accum.cpp v_src = vandq_u16(vld1q_u16(src + x), v_mask); src 263 modules/imgproc/src/accum.cpp int operator() (const float * src, float * dst, const uchar * mask, int len, int cn) const src 272 modules/imgproc/src/accum.cpp float32x4_t v_src = vld1q_f32(src + x); src 275 modules/imgproc/src/accum.cpp v_src = vld1q_f32(src + x + 4); src 396 modules/imgproc/src/accum.cpp int operator() (const uchar * src, float * dst, const uchar * mask, int len, int cn, float alpha) const src 406 modules/imgproc/src/accum.cpp uint8x16_t v_src = vld1q_u8(src + x); src 427 modules/imgproc/src/accum.cpp int operator() (const ushort * src, float * dst, const uchar * mask, int len, int cn, float alpha) const src 437 modules/imgproc/src/accum.cpp uint16x8_t v_src = vld1q_u16(src + x); src 452 modules/imgproc/src/accum.cpp int operator() (const float * src, float * dst, const uchar * mask, int len, int cn, float alpha) const src 462 modules/imgproc/src/accum.cpp vst1q_f32(dst + x, vmlaq_f32(vmulq_f32(vld1q_f32(dst + x), v_beta), vld1q_f32(src + x), v_alpha)); src 463 modules/imgproc/src/accum.cpp vst1q_f32(dst + x + 4, vmlaq_f32(vmulq_f32(vld1q_f32(dst + x + 4), v_beta), vld1q_f32(src + x + 4), v_alpha)); src 474 modules/imgproc/src/accum.cpp acc_( const T* src, AT* dst, const uchar* mask, int len, int cn ) src 476 modules/imgproc/src/accum.cpp int i = Acc_SIMD<T, AT>()(src, dst, mask, len, cn); src 485 modules/imgproc/src/accum.cpp t0 = src[i] + dst[i]; src 486 modules/imgproc/src/accum.cpp t1 = src[i+1] + dst[i+1]; src 489 modules/imgproc/src/accum.cpp t0 = src[i+2] + dst[i+2]; src 490 modules/imgproc/src/accum.cpp t1 = src[i+3] + dst[i+3]; src 495 modules/imgproc/src/accum.cpp dst[i] += src[i]; src 502 modules/imgproc/src/accum.cpp dst[i] += src[i]; src 507 modules/imgproc/src/accum.cpp for( ; i < len; i++, src += 3, dst += 3 ) src 511 modules/imgproc/src/accum.cpp AT t0 = src[0] + dst[0]; src 512 modules/imgproc/src/accum.cpp AT t1 = src[1] + dst[1]; src 513 modules/imgproc/src/accum.cpp AT t2 = src[2] + dst[2]; src 521 modules/imgproc/src/accum.cpp for( ; i < len; i++, src += cn, dst += cn ) src 525 modules/imgproc/src/accum.cpp dst[k] += src[k]; src 532 modules/imgproc/src/accum.cpp accSqr_( const T* src, AT* dst, const uchar* mask, int len, int cn ) src 534 modules/imgproc/src/accum.cpp int i = AccSqr_SIMD<T, AT>()(src, dst, mask, len, cn); src 543 modules/imgproc/src/accum.cpp t0 = (AT)src[i]*src[i] + dst[i]; src 544 modules/imgproc/src/accum.cpp t1 = (AT)src[i+1]*src[i+1] + dst[i+1]; src 547 modules/imgproc/src/accum.cpp t0 = (AT)src[i+2]*src[i+2] + dst[i+2]; src 548 modules/imgproc/src/accum.cpp t1 = (AT)src[i+3]*src[i+3] + dst[i+3]; src 553 modules/imgproc/src/accum.cpp dst[i] += (AT)src[i]*src[i]; src 560 modules/imgproc/src/accum.cpp dst[i] += (AT)src[i]*src[i]; src 565 modules/imgproc/src/accum.cpp for( ; i < len; i++, src += 3, dst += 3 ) src 569 modules/imgproc/src/accum.cpp AT t0 = (AT)src[0]*src[0] + dst[0]; src 570 modules/imgproc/src/accum.cpp AT t1 = (AT)src[1]*src[1] + dst[1]; src 571 modules/imgproc/src/accum.cpp AT t2 = (AT)src[2]*src[2] + dst[2]; src 579 modules/imgproc/src/accum.cpp for( ; i < len; i++, src += cn, dst += cn ) src 583 modules/imgproc/src/accum.cpp dst[k] += (AT)src[k]*src[k]; src 648 modules/imgproc/src/accum.cpp accW_( const T* src, AT* dst, const uchar* mask, int len, int cn, double alpha ) src 651 modules/imgproc/src/accum.cpp int i = AccW_SIMD<T, AT>()(src, dst, mask, len, cn, a); src 660 modules/imgproc/src/accum.cpp t0 = src[i]*a + dst[i]*b; src 661 modules/imgproc/src/accum.cpp t1 = src[i+1]*a + dst[i+1]*b; src 664 modules/imgproc/src/accum.cpp t0 = src[i+2]*a + dst[i+2]*b; src 665 modules/imgproc/src/accum.cpp t1 = src[i+3]*a + dst[i+3]*b; src 670 modules/imgproc/src/accum.cpp dst[i] = src[i]*a + dst[i]*b; src 677 modules/imgproc/src/accum.cpp dst[i] = src[i]*a + dst[i]*b; src 682 modules/imgproc/src/accum.cpp for( ; i < len; i++, src += 3, dst += 3 ) src 686 modules/imgproc/src/accum.cpp AT t0 = src[0]*a + dst[0]*b; src 687 modules/imgproc/src/accum.cpp AT t1 = src[1]*a + dst[1]*b; src 688 modules/imgproc/src/accum.cpp AT t2 = src[2]*a + dst[2]*b; src 696 modules/imgproc/src/accum.cpp for( ; i < len; i++, src += cn, dst += cn ) src 700 modules/imgproc/src/accum.cpp dst[k] = src[k]*a + dst[k]*b; src 707 modules/imgproc/src/accum.cpp static void acc_##suffix(const type* src, acctype* dst, \ src 709 modules/imgproc/src/accum.cpp { acc_(src, dst, mask, len, cn); } \ src 711 modules/imgproc/src/accum.cpp static void accSqr_##suffix(const type* src, acctype* dst, \ src 713 modules/imgproc/src/accum.cpp { accSqr_(src, dst, mask, len, cn); } \ src 719 modules/imgproc/src/accum.cpp static void accW_##suffix(const type* src, acctype* dst, \ src 721 modules/imgproc/src/accum.cpp { accW_(src, dst, mask, len, cn, alpha); } src 817 modules/imgproc/src/accum.cpp UMat src = _src.getUMat(), src2 = _src2.getUMat(), dst = _dst.getUMat(), mask = _mask.getUMat(); src 819 modules/imgproc/src/accum.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), src 838 modules/imgproc/src/accum.cpp size_t globalsize[2] = { src.cols * cn / kercn, (src.rows + rowsPerWI - 1) / rowsPerWI }; src 857 modules/imgproc/src/accum.cpp Mat src = _src.getMat(), dst = _dst.getMat(), mask = _mask.getMat(); src 862 modules/imgproc/src/accum.cpp if (src.dims <= 2 || (src.isContinuous() && dst.isContinuous() && (mask.empty() || mask.isContinuous()))) src 889 modules/imgproc/src/accum.cpp Size size = src.size(); src 890 modules/imgproc/src/accum.cpp int srcstep = (int)src.step, dststep = (int)dst.step, maskstep = (int)mask.step; src 891 modules/imgproc/src/accum.cpp if (src.isContinuous() && dst.isContinuous() && mask.isContinuous()) src 893 modules/imgproc/src/accum.cpp srcstep = static_cast<int>(src.total() * src.elemSize()); src 896 modules/imgproc/src/accum.cpp size.width = static_cast<int>(src.total()); src 902 modules/imgproc/src/accum.cpp status = ippFunc(src.ptr(), srcstep, dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height)); src 904 modules/imgproc/src/accum.cpp status = ippFuncMask(src.ptr(), srcstep, mask.ptr<Ipp8u>(), maskstep, src 922 modules/imgproc/src/accum.cpp const Mat* arrays[] = {&src, &dst, &mask, 0}; src 942 modules/imgproc/src/accum.cpp Mat src = _src.getMat(), dst = _dst.getMat(), mask = _mask.getMat(); src 947 modules/imgproc/src/accum.cpp if (src.dims <= 2 || (src.isContinuous() && dst.isContinuous() && (mask.empty() || mask.isContinuous()))) src 972 modules/imgproc/src/accum.cpp Size size = src.size(); src 973 modules/imgproc/src/accum.cpp int srcstep = (int)src.step, dststep = (int)dst.step, maskstep = (int)mask.step; src 974 modules/imgproc/src/accum.cpp if (src.isContinuous() && dst.isContinuous() && mask.isContinuous()) src 976 modules/imgproc/src/accum.cpp srcstep = static_cast<int>(src.total() * src.elemSize()); src 979 modules/imgproc/src/accum.cpp size.width = static_cast<int>(src.total()); src 985 modules/imgproc/src/accum.cpp status = ippFunc(src.ptr(), srcstep, dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height)); src 987 modules/imgproc/src/accum.cpp status = ippFuncMask(src.ptr(), srcstep, mask.ptr<Ipp8u>(), maskstep, src 1005 modules/imgproc/src/accum.cpp const Mat* arrays[] = {&src, &dst, &mask, 0}; src 1114 modules/imgproc/src/accum.cpp Mat src = _src.getMat(), dst = _dst.getMat(), mask = _mask.getMat(); src 1119 modules/imgproc/src/accum.cpp if (src.dims <= 2 || (src.isContinuous() && dst.isContinuous() && mask.isContinuous())) src 1146 modules/imgproc/src/accum.cpp Size size = src.size(); src 1147 modules/imgproc/src/accum.cpp int srcstep = (int)src.step, dststep = (int)dst.step, maskstep = (int)mask.step; src 1148 modules/imgproc/src/accum.cpp if (src.isContinuous() && dst.isContinuous() && mask.isContinuous()) src 1150 modules/imgproc/src/accum.cpp srcstep = static_cast<int>(src.total() * src.elemSize()); src 1153 modules/imgproc/src/accum.cpp size.width = static_cast<int>((int)src.total()); src 1159 modules/imgproc/src/accum.cpp status = ippFunc(src.ptr(), srcstep, dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height), (Ipp32f)alpha); src 1161 modules/imgproc/src/accum.cpp status = ippFuncMask(src.ptr(), srcstep, mask.ptr<Ipp8u>(), maskstep, src 1179 modules/imgproc/src/accum.cpp const Mat* arrays[] = {&src, &dst, &mask, 0}; src 1192 modules/imgproc/src/accum.cpp cv::Mat src = cv::cvarrToMat(arr), dst = cv::cvarrToMat(sumarr), mask; src 1195 modules/imgproc/src/accum.cpp cv::accumulate( src, dst, mask ); src 1201 modules/imgproc/src/accum.cpp cv::Mat src = cv::cvarrToMat(arr), dst = cv::cvarrToMat(sumarr), mask; src 1204 modules/imgproc/src/accum.cpp cv::accumulateSquare( src, dst, mask ); src 1221 modules/imgproc/src/accum.cpp cv::Mat src = cv::cvarrToMat(arr), dst = cv::cvarrToMat(sumarr), mask; src 1224 modules/imgproc/src/accum.cpp cv::accumulateWeighted( src, dst, alpha, mask ); src 783 modules/imgproc/src/approx.cpp cv::Point *src = _buf, *dst = src + npoints; src 787 modules/imgproc/src/approx.cpp src = (cv::Point*)src_seq->first->data; src 789 modules/imgproc/src/approx.cpp cvCvtSeqToArray(src_seq, src); src 792 modules/imgproc/src/approx.cpp nout = cv::approxPolyDP_(src, npoints, dst, closed, parameter, &stack); src 794 modules/imgproc/src/approx.cpp nout = cv::approxPolyDP_((cv::Point2f*)src, npoints, src 151 modules/imgproc/src/canny.cpp UMat src = _src.getUMat(); src 153 modules/imgproc/src/canny.cpp with_sobel.args(ocl::KernelArg::ReadOnly(src), src 243 modules/imgproc/src/canny.cpp : boundaries(_boundaries), src(_src), map(_map), low(_low), high(_high), src 257 modules/imgproc/src/canny.cpp const int type = src.type(), cn = CV_MAT_CN(type); src 261 modules/imgproc/src/canny.cpp ptrdiff_t mapstep = src.cols + 2; src 268 modules/imgproc/src/canny.cpp if (boundaries.start == 0 && boundaries.end == src.rows) src 270 modules/imgproc/src/canny.cpp Mat tempdx(boundaries.end - boundaries.start + 2, src.cols, CV_16SC(cn)); src 271 modules/imgproc/src/canny.cpp Mat tempdy(boundaries.end - boundaries.start + 2, src.cols, CV_16SC(cn)); src 273 modules/imgproc/src/canny.cpp memset(tempdx.ptr<short>(0), 0, cn * src.cols*sizeof(short)); src 274 modules/imgproc/src/canny.cpp memset(tempdy.ptr<short>(0), 0, cn * src.cols*sizeof(short)); src 275 modules/imgproc/src/canny.cpp memset(tempdx.ptr<short>(tempdx.rows - 1), 0, cn * src.cols*sizeof(short)); src 276 modules/imgproc/src/canny.cpp memset(tempdy.ptr<short>(tempdy.rows - 1), 0, cn * src.cols*sizeof(short)); src 278 modules/imgproc/src/canny.cpp Sobel(src, tempdx.rowRange(1, tempdx.rows - 1), CV_16S, 1, 0, aperture_size, 1, 0, BORDER_REPLICATE); src 279 modules/imgproc/src/canny.cpp Sobel(src, tempdy.rowRange(1, tempdy.rows - 1), CV_16S, 0, 1, aperture_size, 1, 0, BORDER_REPLICATE); src 286 modules/imgproc/src/canny.cpp Mat tempdx(boundaries.end - boundaries.start + 2 + ksize2, src.cols, CV_16SC(cn)); src 287 modules/imgproc/src/canny.cpp Mat tempdy(boundaries.end - boundaries.start + 2 + ksize2, src.cols, CV_16SC(cn)); src 289 modules/imgproc/src/canny.cpp memset(tempdx.ptr<short>(0), 0, cn * src.cols*sizeof(short)); src 290 modules/imgproc/src/canny.cpp memset(tempdy.ptr<short>(0), 0, cn * src.cols*sizeof(short)); src 292 modules/imgproc/src/canny.cpp Sobel(src.rowRange(boundaries.start, boundaries.end + 1 + ksize2), tempdx.rowRange(1, tempdx.rows), src 294 modules/imgproc/src/canny.cpp Sobel(src.rowRange(boundaries.start, boundaries.end + 1 + ksize2), tempdy.rowRange(1, tempdy.rows), src 300 modules/imgproc/src/canny.cpp else if (boundaries.end == src.rows) src 302 modules/imgproc/src/canny.cpp Mat tempdx(boundaries.end - boundaries.start + 2 + ksize2, src.cols, CV_16SC(cn)); src 303 modules/imgproc/src/canny.cpp Mat tempdy(boundaries.end - boundaries.start + 2 + ksize2, src.cols, CV_16SC(cn)); src 305 modules/imgproc/src/canny.cpp memset(tempdx.ptr<short>(tempdx.rows - 1), 0, cn * src.cols*sizeof(short)); src 306 modules/imgproc/src/canny.cpp memset(tempdy.ptr<short>(tempdy.rows - 1), 0, cn * src.cols*sizeof(short)); src 308 modules/imgproc/src/canny.cpp Sobel(src.rowRange(boundaries.start - 1 - ksize2, boundaries.end), tempdx.rowRange(0, tempdx.rows - 1), src 310 modules/imgproc/src/canny.cpp Sobel(src.rowRange(boundaries.start - 1 - ksize2, boundaries.end), tempdy.rowRange(0, tempdy.rows - 1), src 318 modules/imgproc/src/canny.cpp Mat tempdx(boundaries.end - boundaries.start + 2 + 2*ksize2, src.cols, CV_16SC(cn)); src 319 modules/imgproc/src/canny.cpp Mat tempdy(boundaries.end - boundaries.start + 2 + 2*ksize2, src.cols, CV_16SC(cn)); src 321 modules/imgproc/src/canny.cpp Sobel(src.rowRange(boundaries.start - 1 - ksize2, boundaries.end + 1 + ksize2), tempdx, src 323 modules/imgproc/src/canny.cpp Sobel(src.rowRange(boundaries.start - 1 - ksize2, boundaries.end + 1 + ksize2), tempdy, src 330 modules/imgproc/src/canny.cpp int maxsize = std::max(1 << 10, src.cols * (boundaries.end - boundaries.start) / 10); src 356 modules/imgproc/src/canny.cpp int j = 0, width = src.cols * cn; src 390 modules/imgproc/src/canny.cpp int j = 0, width = src.cols * cn; src 428 modules/imgproc/src/canny.cpp for(int j = 0, jn = 0; j < src.cols; ++j, jn += cn) src 438 modules/imgproc/src/canny.cpp _norm[-1] = _norm[src.cols] = 0; src 446 modules/imgproc/src/canny.cpp _map[-1] = _map[src.cols] = 1; src 455 modules/imgproc/src/canny.cpp if ((stack_top - stack_bottom) + src.cols > maxsize) src 458 modules/imgproc/src/canny.cpp maxsize = std::max(maxsize * 3/2, sz + src.cols); src 469 modules/imgproc/src/canny.cpp for (int j = 0; j < src.cols; j++) src 568 modules/imgproc/src/canny.cpp const Mat& src; src 606 modules/imgproc/src/canny.cpp Mat src = _src.getMat(), dst = _dst.getMat(); src 609 modules/imgproc/src/canny.cpp if (tegra::useTegra() && tegra::canny(src, dst, low_thresh, high_thresh, aperture_size, L2gradient)) src 618 modules/imgproc/src/canny.cpp if (ippCanny(src, dst, (float)low_thresh, (float)high_thresh)) src 641 modules/imgproc/src/canny.cpp ptrdiff_t mapstep = src.cols + 2; src 642 modules/imgproc/src/canny.cpp AutoBuffer<uchar> buffer((src.cols+2)*(src.rows+2)); src 646 modules/imgproc/src/canny.cpp memset(map + mapstep*(src.rows + 1), 1, mapstep); src 649 modules/imgproc/src/canny.cpp int grainSize = src.rows / threadsNumber; src 654 modules/imgproc/src/canny.cpp int maxGrainSize = src.rows - 2 - 2*ksize2; src 658 modules/imgproc/src/canny.cpp grainSize = src.rows; src 666 modules/imgproc/src/canny.cpp g.run(tbbCanny(Range(i * grainSize, (i + 1) * grainSize), src, map, low, high, aperture_size, L2gradient)); src 668 modules/imgproc/src/canny.cpp g.run(tbbCanny(Range(i * grainSize, src.rows), src, map, low, high, aperture_size, L2gradient)); src 691 modules/imgproc/src/canny.cpp Mat dx(src.rows, src.cols, CV_16SC(cn)); src 692 modules/imgproc/src/canny.cpp Mat dy(src.rows, src.cols, CV_16SC(cn)); src 694 modules/imgproc/src/canny.cpp Sobel(src, dx, CV_16S, 1, 0, aperture_size, 1, 0, BORDER_REPLICATE); src 695 modules/imgproc/src/canny.cpp Sobel(src, dy, CV_16S, 0, 1, aperture_size, 1, 0, BORDER_REPLICATE); src 708 modules/imgproc/src/canny.cpp ptrdiff_t mapstep = src.cols + 2; src 709 modules/imgproc/src/canny.cpp AutoBuffer<uchar> buffer((src.cols+2)*(src.rows+2) + cn * mapstep * 3 * sizeof(int)); src 719 modules/imgproc/src/canny.cpp memset(map + mapstep*(src.rows + 1), 1, mapstep); src 721 modules/imgproc/src/canny.cpp int maxsize = std::max(1 << 10, src.cols * src.rows / 10); src 750 modules/imgproc/src/canny.cpp for (int i = 0; i <= src.rows; i++) src 753 modules/imgproc/src/canny.cpp if (i < src.rows) src 760 modules/imgproc/src/canny.cpp int j = 0, width = src.cols * cn; src 794 modules/imgproc/src/canny.cpp int j = 0, width = src.cols * cn; src 832 modules/imgproc/src/canny.cpp for(int j = 0, jn = 0; j < src.cols; ++j, jn += cn) src 842 modules/imgproc/src/canny.cpp _norm[-1] = _norm[src.cols] = 0; src 853 modules/imgproc/src/canny.cpp _map[-1] = _map[src.cols] = 1; src 862 modules/imgproc/src/canny.cpp if ((stack_top - stack_bottom) + src.cols > maxsize) src 865 modules/imgproc/src/canny.cpp maxsize = std::max(maxsize * 3/2, sz + src.cols); src 872 modules/imgproc/src/canny.cpp for (int j = 0; j < src.cols; j++) src 956 modules/imgproc/src/canny.cpp for (int i = 0; i < src.rows; i++, pmap += mapstep, pdst += dst.step) src 958 modules/imgproc/src/canny.cpp for (int j = 0; j < src.cols; j++) src 966 modules/imgproc/src/canny.cpp cv::Mat src = cv::cvarrToMat(image), dst = cv::cvarrToMat(edges); src 967 modules/imgproc/src/canny.cpp CV_Assert( src.size == dst.size && src.depth() == CV_8U && dst.type() == CV_8U ); src 969 modules/imgproc/src/canny.cpp cv::Canny(src, dst, threshold1, threshold2, aperture_size & 255, src 70 modules/imgproc/src/clahe.cpp cv::UMat src = _src.getUMat(); src 82 modules/imgproc/src/clahe.cpp idx = k.set(idx, cv::ocl::KernelArg::ReadOnlyNoSize(src)); src 104 modules/imgproc/src/clahe.cpp cv::UMat src = _src.getUMat(); src 105 modules/imgproc/src/clahe.cpp _dst.create(src.size(), src.type()); src 110 modules/imgproc/src/clahe.cpp size_t globalThreads[3] = { src.cols, src.rows, 1 }; src 113 modules/imgproc/src/clahe.cpp idx = k.set(idx, cv::ocl::KernelArg::ReadOnlyNoSize(src)); src 116 modules/imgproc/src/clahe.cpp idx = k.set(idx, src.cols); src 117 modules/imgproc/src/clahe.cpp idx = k.set(idx, src.rows); src 134 modules/imgproc/src/clahe.cpp CLAHE_CalcLut_Body(const cv::Mat& src, const cv::Mat& lut, const cv::Size& tileSize, const int& tilesX, const int& clipLimit, const float& lutScale) : src 135 modules/imgproc/src/clahe.cpp src_(src), lut_(lut), tileSize_(tileSize), tilesX_(tilesX), clipLimit_(clipLimit), lutScale_(lutScale) src 234 modules/imgproc/src/clahe.cpp CLAHE_Interpolation_Body(const cv::Mat& src, const cv::Mat& dst, const cv::Mat& lut, const cv::Size& tileSize, const int& tilesX, const int& tilesY) : src 235 modules/imgproc/src/clahe.cpp src_(src), dst_(dst), lut_(lut), tileSize_(tileSize), tilesX_(tilesX), tilesY_(tilesY) src 237 modules/imgproc/src/clahe.cpp buf.allocate(src.cols << 2); src 239 modules/imgproc/src/clahe.cpp ind2_p = ind1_p + src.cols; src 240 modules/imgproc/src/clahe.cpp xa_p = (float *)(ind2_p + src.cols); src 241 modules/imgproc/src/clahe.cpp xa1_p = xa_p + src.cols; src 246 modules/imgproc/src/clahe.cpp for (int x = 0; x < src.cols; ++x) src 323 modules/imgproc/src/clahe.cpp void apply(cv::InputArray src, cv::OutputArray dst); src 407 modules/imgproc/src/clahe.cpp cv::Mat src = _src.getMat(); src 408 modules/imgproc/src/clahe.cpp _dst.create( src.size(), src.type() ); src 425 modules/imgproc/src/clahe.cpp interpolationBody = cv::makePtr<CLAHE_Interpolation_Body<uchar> >(src, dst, lut_, tileSize, tilesX_, tilesY_); src 427 modules/imgproc/src/clahe.cpp interpolationBody = cv::makePtr<CLAHE_Interpolation_Body<ushort> >(src, dst, lut_, tileSize, tilesX_, tilesY_); src 429 modules/imgproc/src/clahe.cpp cv::parallel_for_(cv::Range(0, src.rows), *interpolationBody); src 176 modules/imgproc/src/color.cpp ParallelLoopBody(), src(_src), dst(_dst), cvt(_cvt) src 182 modules/imgproc/src/color.cpp const uchar* yS = src.ptr<uchar>(range.start); src 185 modules/imgproc/src/color.cpp for( int i = range.start; i < range.end; ++i, yS += src.step, yD += dst.step ) src 186 modules/imgproc/src/color.cpp cvt((const _Tp*)yS, (_Tp*)yD, src.cols); src 190 modules/imgproc/src/color.cpp const Mat& src; src 198 modules/imgproc/src/color.cpp void CvtColorLoop(const Mat& src, Mat& dst, const Cvt& cvt) src 200 modules/imgproc/src/color.cpp parallel_for_(Range(0, src.rows), CvtColorLoop_Invoker<Cvt>(src, dst, cvt), src.total()/(double)(1<<16) ); src 216 modules/imgproc/src/color.cpp ParallelLoopBody(), src(_src), dst(_dst), cvt(_cvt), ok(_ok) src 223 modules/imgproc/src/color.cpp const void *yS = src.ptr<uchar>(range.start); src 225 modules/imgproc/src/color.cpp if( !cvt(yS, (int)src.step[0], yD, (int)dst.step[0], src.cols, range.end - range.start) ) src 234 modules/imgproc/src/color.cpp const Mat& src; src 243 modules/imgproc/src/color.cpp bool CvtColorIPPLoop(const Mat& src, Mat& dst, const Cvt& cvt) src 246 modules/imgproc/src/color.cpp parallel_for_(Range(0, src.rows), CvtColorIPPLoop_Invoker<Cvt>(src, dst, cvt, &ok), src.total()/(double)(1<<16) ); src 251 modules/imgproc/src/color.cpp bool CvtColorIPPLoopCopy(Mat& src, Mat& dst, const Cvt& cvt) src 254 modules/imgproc/src/color.cpp Mat &source = src; src 255 modules/imgproc/src/color.cpp if( src.data == dst.data ) src 257 modules/imgproc/src/color.cpp src.copyTo(temp); src 399 modules/imgproc/src/color.cpp bool operator()(const void *src, int srcStep, void *dst, int dstStep, int cols, int rows) const src 401 modules/imgproc/src/color.cpp return func ? func(src, srcStep, dst, dstStep, ippiSize(cols, rows)) >= 0 : false; src 416 modules/imgproc/src/color.cpp bool operator()(const void *src, int srcStep, void *dst, int dstStep, int cols, int rows) const src 418 modules/imgproc/src/color.cpp return func ? func(src, srcStep, dst, dstStep, ippiSize(cols, rows), order) >= 0 : false; src 434 modules/imgproc/src/color.cpp bool operator()(const void *src, int srcStep, void *dst, int dstStep, int cols, int rows) const src 436 modules/imgproc/src/color.cpp return func ? func(src, srcStep, dst, dstStep, ippiSize(cols, rows), coeffs) >= 0 : false; src 450 modules/imgproc/src/color.cpp bool operator()(const void *src, int srcStep, void *dst, int dstStep, int cols, int rows) const src 455 modules/imgproc/src/color.cpp const void* srcarray[3] = { src, src, src }; src 469 modules/imgproc/src/color.cpp bool operator()(const void *src, int srcStep, void *dst, int dstStep, int cols, int rows) const src 474 modules/imgproc/src/color.cpp const void* srcarray[3] = { src, src, src }; src 497 modules/imgproc/src/color.cpp bool operator()(const void *src, int srcStep, void *dst, int dstStep, int cols, int rows) const src 504 modules/imgproc/src/color.cpp if(func1(src, srcStep, temp.ptr(), (int)temp.step[0], ippiSize(cols, rows), order) < 0) src 525 modules/imgproc/src/color.cpp bool operator()(const void *src, int srcStep, void *dst, int dstStep, int cols, int rows) const src 532 modules/imgproc/src/color.cpp if(func1(src, srcStep, temp.ptr(), (int)temp.step[0], ippiSize(cols, rows)) < 0) src 552 modules/imgproc/src/color.cpp void operator()(const _Tp* src, _Tp* dst, int n) const src 558 modules/imgproc/src/color.cpp for( int i = 0; i < n; i += 3, src += scn ) src 560 modules/imgproc/src/color.cpp _Tp t0 = src[bidx], t1 = src[1], t2 = src[bidx ^ 2]; src 570 modules/imgproc/src/color.cpp _Tp t0 = src[i], t1 = src[i+1], t2 = src[i+2]; src 579 modules/imgproc/src/color.cpp _Tp t0 = src[i], t1 = src[i+1], t2 = src[i+2], t3 = src[i+3]; src 601 modules/imgproc/src/color.cpp void operator()(const uchar * src, uchar * dst, int n) const src 609 modules/imgproc/src/color.cpp for ( ; i <= n - 48; i += 48, src += 48 ) src 611 modules/imgproc/src/color.cpp uint8x16x3_t v_src = vld3q_u8(src), v_dst; src 617 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, src += 24 ) src 619 modules/imgproc/src/color.cpp uint8x8x3_t v_src = vld3_u8(src), v_dst; src 625 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += 3 ) src 627 modules/imgproc/src/color.cpp uchar t0 = src[bidx], t1 = src[1], t2 = src[bidx ^ 2]; src 633 modules/imgproc/src/color.cpp for ( ; i <= n - 48; i += 48, src += 64 ) src 635 modules/imgproc/src/color.cpp uint8x16x4_t v_src = vld4q_u8(src); src 642 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, src += 32 ) src 644 modules/imgproc/src/color.cpp uint8x8x4_t v_src = vld4_u8(src); src 651 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += 4 ) src 653 modules/imgproc/src/color.cpp uchar t0 = src[bidx], t1 = src[1], t2 = src[bidx ^ 2]; src 663 modules/imgproc/src/color.cpp uint8x16x3_t v_src = vld3q_u8(src + i); src 673 modules/imgproc/src/color.cpp uint8x8x3_t v_src = vld3_u8(src + i); src 684 modules/imgproc/src/color.cpp uchar t0 = src[i], t1 = src[i+1], t2 = src[i+2]; src 693 modules/imgproc/src/color.cpp uint8x16x4_t v_src = vld4q_u8(src + i), v_dst; src 702 modules/imgproc/src/color.cpp uint8x8x4_t v_src = vld4_u8(src + i), v_dst; src 711 modules/imgproc/src/color.cpp uchar t0 = src[i], t1 = src[i+1], t2 = src[i+2], t3 = src[i+3]; src 743 modules/imgproc/src/color.cpp void operator()(const uchar* src, uchar* dst, int n) const src 751 modules/imgproc/src/color.cpp uint16x8_t v_src0 = vld1q_u16((const ushort *)src + i), v_src1 = vld1q_u16((const ushort *)src + i + 8); src 778 modules/imgproc/src/color.cpp unsigned t = ((const ushort*)src)[i]; src 791 modules/imgproc/src/color.cpp uint16x8_t v_src0 = vld1q_u16((const ushort *)src + i), v_src1 = vld1q_u16((const ushort *)src + i + 8); src 819 modules/imgproc/src/color.cpp unsigned t = ((const ushort*)src)[i]; src 853 modules/imgproc/src/color.cpp void operator()(const uchar* src, uchar* dst, int n) const src 861 modules/imgproc/src/color.cpp for ( ; i <= n - 8; i += 8, src += 24 ) src 863 modules/imgproc/src/color.cpp uint8x8x3_t v_src = vld3_u8(src); src 870 modules/imgproc/src/color.cpp for ( ; i < n; i++, src += 3 ) src 871 modules/imgproc/src/color.cpp ((ushort*)dst)[i] = (ushort)((src[bidx] >> 3)|((src[1]&~3) << 3)|((src[bidx^2]&~7) << 8)); src 876 modules/imgproc/src/color.cpp for ( ; i <= n - 8; i += 8, src += 32 ) src 878 modules/imgproc/src/color.cpp uint8x8x4_t v_src = vld4_u8(src); src 885 modules/imgproc/src/color.cpp for ( ; i < n; i++, src += 4 ) src 886 modules/imgproc/src/color.cpp ((ushort*)dst)[i] = (ushort)((src[bidx] >> 3)|((src[1]&~3) << 3)|((src[bidx^2]&~7) << 8)); src 892 modules/imgproc/src/color.cpp for ( ; i <= n - 8; i += 8, src += 24 ) src 894 modules/imgproc/src/color.cpp uint8x8x3_t v_src = vld3_u8(src); src 901 modules/imgproc/src/color.cpp for ( ; i < n; i++, src += 3 ) src 902 modules/imgproc/src/color.cpp ((ushort*)dst)[i] = (ushort)((src[bidx] >> 3)|((src[1]&~7) << 2)|((src[bidx^2]&~7) << 7)); src 907 modules/imgproc/src/color.cpp for ( ; i <= n - 8; i += 8, src += 32 ) src 909 modules/imgproc/src/color.cpp uint8x8x4_t v_src = vld4_u8(src); src 917 modules/imgproc/src/color.cpp for ( ; i < n; i++, src += 4 ) src 918 modules/imgproc/src/color.cpp ((ushort*)dst)[i] = (ushort)((src[bidx] >> 3)|((src[1]&~7) << 2)| src 919 modules/imgproc/src/color.cpp ((src[bidx^2]&~7) << 7)|(src[3] ? 0x8000 : 0)); src 938 modules/imgproc/src/color.cpp void operator()(const _Tp* src, _Tp* dst, int n) const src 943 modules/imgproc/src/color.cpp dst[0] = dst[1] = dst[2] = src[i]; src 950 modules/imgproc/src/color.cpp dst[0] = dst[1] = dst[2] = src[i]; src 977 modules/imgproc/src/color.cpp void operator()(const uchar* src, uchar* dst, int n) const src 985 modules/imgproc/src/color.cpp uint8x8_t v_src = vld1_u8(src + i); src 996 modules/imgproc/src/color.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + i)); src 1014 modules/imgproc/src/color.cpp int t = src[i]; src 1023 modules/imgproc/src/color.cpp uint16x8_t v_src = vmovl_u8(vshr_n_u8(vld1_u8(src + i), 3)); src 1032 modules/imgproc/src/color.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)(src + i)); src 1050 modules/imgproc/src/color.cpp int t = src[i] >> 3; src 1105 modules/imgproc/src/color.cpp void operator()(const uchar* src, uchar* dst, int n) const src 1113 modules/imgproc/src/color.cpp uint16x8_t v_src = vld1q_u16((ushort *)src + i); src 1134 modules/imgproc/src/color.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)((ushort *)src + i)); src 1166 modules/imgproc/src/color.cpp int t = ((ushort*)src)[i]; src 1177 modules/imgproc/src/color.cpp uint16x8_t v_src = vld1q_u16((ushort *)src + i); src 1198 modules/imgproc/src/color.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)((ushort *)src + i)); src 1230 modules/imgproc/src/color.cpp int t = ((ushort*)src)[i]; src 1264 modules/imgproc/src/color.cpp void operator()(const _Tp* src, _Tp* dst, int n) const src 1268 modules/imgproc/src/color.cpp for(int i = 0; i < n; i++, src += scn) src 1269 modules/imgproc/src/color.cpp dst[i] = saturate_cast<_Tp>(src[0]*cb + src[1]*cg + src[2]*cr); src 1294 modules/imgproc/src/color.cpp void operator()(const uchar* src, uchar* dst, int n) const src 1298 modules/imgproc/src/color.cpp for(int i = 0; i < n; i++, src += scn) src 1299 modules/imgproc/src/color.cpp dst[i] = (uchar)((_tab[src[0]] + _tab[src[1]+256] + _tab[src[2]+512]) >> yuv_shift); src 1326 modules/imgproc/src/color.cpp void operator()(const ushort* src, ushort* dst, int n) const src 1330 modules/imgproc/src/color.cpp for ( ; i <= n - 8; i += 8, src += scn * 8) src 1335 modules/imgproc/src/color.cpp uint16x8x3_t v_src = vld3q_u16(src); src 1342 modules/imgproc/src/color.cpp uint16x8x4_t v_src = vld4q_u16(src); src 1363 modules/imgproc/src/color.cpp for ( ; i <= n - 4; i += 4, src += scn * 4) src 1368 modules/imgproc/src/color.cpp uint16x4x3_t v_src = vld3_u16(src); src 1375 modules/imgproc/src/color.cpp uint16x4x4_t v_src = vld4_u16(src); src 1389 modules/imgproc/src/color.cpp for( ; i < n; i++, src += scn) src 1390 modules/imgproc/src/color.cpp dst[i] = (ushort)CV_DESCALE((unsigned)(src[0]*cb + src[1]*cg + src[2]*cr), yuv_shift); src 1415 modules/imgproc/src/color.cpp void operator()(const float * src, float * dst, int n) const src 1422 modules/imgproc/src/color.cpp for ( ; i <= n - 8; i += 8, src += scn * 8) src 1424 modules/imgproc/src/color.cpp float32x4x3_t v_src = vld3q_f32(src); src 1427 modules/imgproc/src/color.cpp v_src = vld3q_f32(src + scn * 4); src 1431 modules/imgproc/src/color.cpp for ( ; i <= n - 4; i += 4, src += scn * 4) src 1433 modules/imgproc/src/color.cpp float32x4x3_t v_src = vld3q_f32(src); src 1439 modules/imgproc/src/color.cpp for ( ; i <= n - 8; i += 8, src += scn * 8) src 1441 modules/imgproc/src/color.cpp float32x4x4_t v_src = vld4q_f32(src); src 1444 modules/imgproc/src/color.cpp v_src = vld4q_f32(src + scn * 4); src 1448 modules/imgproc/src/color.cpp for ( ; i <= n - 4; i += 4, src += scn * 4) src 1450 modules/imgproc/src/color.cpp float32x4x4_t v_src = vld4q_f32(src); src 1455 modules/imgproc/src/color.cpp for ( ; i < n; i++, src += scn) src 1456 modules/imgproc/src/color.cpp dst[i] = src[0]*cb + src[1]*cg + src[2]*cr; src 1513 modules/imgproc/src/color.cpp void operator()(const ushort* src, ushort* dst, int n) const src 1519 modules/imgproc/src/color.cpp for ( ; i <= n - 16; i += 16, src += scn * 16) src 1521 modules/imgproc/src/color.cpp __m128i v_r0 = _mm_loadu_si128((__m128i const *)(src)); src 1522 modules/imgproc/src/color.cpp __m128i v_r1 = _mm_loadu_si128((__m128i const *)(src + 8)); src 1523 modules/imgproc/src/color.cpp __m128i v_g0 = _mm_loadu_si128((__m128i const *)(src + 16)); src 1524 modules/imgproc/src/color.cpp __m128i v_g1 = _mm_loadu_si128((__m128i const *)(src + 24)); src 1525 modules/imgproc/src/color.cpp __m128i v_b0 = _mm_loadu_si128((__m128i const *)(src + 32)); src 1526 modules/imgproc/src/color.cpp __m128i v_b1 = _mm_loadu_si128((__m128i const *)(src + 40)); src 1544 modules/imgproc/src/color.cpp for ( ; i <= n - 16; i += 16, src += scn * 16) src 1546 modules/imgproc/src/color.cpp __m128i v_r0 = _mm_loadu_si128((__m128i const *)(src)); src 1547 modules/imgproc/src/color.cpp __m128i v_r1 = _mm_loadu_si128((__m128i const *)(src + 8)); src 1548 modules/imgproc/src/color.cpp __m128i v_g0 = _mm_loadu_si128((__m128i const *)(src + 16)); src 1549 modules/imgproc/src/color.cpp __m128i v_g1 = _mm_loadu_si128((__m128i const *)(src + 24)); src 1550 modules/imgproc/src/color.cpp __m128i v_b0 = _mm_loadu_si128((__m128i const *)(src + 32)); src 1551 modules/imgproc/src/color.cpp __m128i v_b1 = _mm_loadu_si128((__m128i const *)(src + 40)); src 1552 modules/imgproc/src/color.cpp __m128i v_a0 = _mm_loadu_si128((__m128i const *)(src + 48)); src 1553 modules/imgproc/src/color.cpp __m128i v_a1 = _mm_loadu_si128((__m128i const *)(src + 56)); src 1570 modules/imgproc/src/color.cpp for( ; i < n; i++, src += scn) src 1571 modules/imgproc/src/color.cpp dst[i] = (ushort)CV_DESCALE((unsigned)(src[0]*cb + src[1]*cg + src[2]*cr), yuv_shift); src 1609 modules/imgproc/src/color.cpp void operator()(const float * src, float * dst, int n) const src 1616 modules/imgproc/src/color.cpp for ( ; i <= n - 8; i += 8, src += scn * 8) src 1618 modules/imgproc/src/color.cpp __m128 v_r0 = _mm_loadu_ps(src); src 1619 modules/imgproc/src/color.cpp __m128 v_r1 = _mm_loadu_ps(src + 4); src 1620 modules/imgproc/src/color.cpp __m128 v_g0 = _mm_loadu_ps(src + 8); src 1621 modules/imgproc/src/color.cpp __m128 v_g1 = _mm_loadu_ps(src + 12); src 1622 modules/imgproc/src/color.cpp __m128 v_b0 = _mm_loadu_ps(src + 16); src 1623 modules/imgproc/src/color.cpp __m128 v_b1 = _mm_loadu_ps(src + 20); src 1641 modules/imgproc/src/color.cpp for ( ; i <= n - 8; i += 8, src += scn * 8) src 1643 modules/imgproc/src/color.cpp __m128 v_r0 = _mm_loadu_ps(src); src 1644 modules/imgproc/src/color.cpp __m128 v_r1 = _mm_loadu_ps(src + 4); src 1645 modules/imgproc/src/color.cpp __m128 v_g0 = _mm_loadu_ps(src + 8); src 1646 modules/imgproc/src/color.cpp __m128 v_g1 = _mm_loadu_ps(src + 12); src 1647 modules/imgproc/src/color.cpp __m128 v_b0 = _mm_loadu_ps(src + 16); src 1648 modules/imgproc/src/color.cpp __m128 v_b1 = _mm_loadu_ps(src + 20); src 1649 modules/imgproc/src/color.cpp __m128 v_a0 = _mm_loadu_ps(src + 24); src 1650 modules/imgproc/src/color.cpp __m128 v_a1 = _mm_loadu_ps(src + 28); src 1667 modules/imgproc/src/color.cpp for ( ; i < n; i++, src += scn) src 1668 modules/imgproc/src/color.cpp dst[i] = src[0]*cb + src[1]*cg + src[2]*cr; src 1691 modules/imgproc/src/color.cpp void operator()(const ushort* src, ushort* dst, int n) const src 1694 modules/imgproc/src/color.cpp for(int i = 0; i < n; i++, src += scn) src 1695 modules/imgproc/src/color.cpp dst[i] = (ushort)CV_DESCALE((unsigned)(src[0]*cb + src[1]*cg + src[2]*cr), yuv_shift); src 1716 modules/imgproc/src/color.cpp void operator()(const _Tp* src, _Tp* dst, int n) const src 1722 modules/imgproc/src/color.cpp for(int i = 0; i < n; i += 3, src += scn) src 1724 modules/imgproc/src/color.cpp _Tp Y = saturate_cast<_Tp>(src[0]*C0 + src[1]*C1 + src[2]*C2); src 1725 modules/imgproc/src/color.cpp _Tp Cr = saturate_cast<_Tp>((src[bidx^2] - Y)*C3 + delta); src 1726 modules/imgproc/src/color.cpp _Tp Cb = saturate_cast<_Tp>((src[bidx] - Y)*C4 + delta); src 1757 modules/imgproc/src/color.cpp void operator()(const float * src, float * dst, int n) const src 1765 modules/imgproc/src/color.cpp for ( ; i <= n - 12; i += 12, src += 12) src 1767 modules/imgproc/src/color.cpp float32x4x3_t v_src = vld3q_f32(src), v_dst; src 1775 modules/imgproc/src/color.cpp for ( ; i <= n - 12; i += 12, src += 16) src 1777 modules/imgproc/src/color.cpp float32x4x4_t v_src = vld4q_f32(src); src 1786 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) src 1788 modules/imgproc/src/color.cpp float Y = src[0]*C0 + src[1]*C1 + src[2]*C2; src 1789 modules/imgproc/src/color.cpp float Cr = (src[bidx^2] - Y)*C3 + delta; src 1790 modules/imgproc/src/color.cpp float Cb = (src[bidx] - Y)*C4 + delta; src 1835 modules/imgproc/src/color.cpp void operator()(const float * src, float * dst, int n) const src 1844 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, src += 8 * scn) src 1846 modules/imgproc/src/color.cpp __m128 v_r0 = _mm_loadu_ps(src); src 1847 modules/imgproc/src/color.cpp __m128 v_r1 = _mm_loadu_ps(src + 4); src 1848 modules/imgproc/src/color.cpp __m128 v_g0 = _mm_loadu_ps(src + 8); src 1849 modules/imgproc/src/color.cpp __m128 v_g1 = _mm_loadu_ps(src + 12); src 1850 modules/imgproc/src/color.cpp __m128 v_b0 = _mm_loadu_ps(src + 16); src 1851 modules/imgproc/src/color.cpp __m128 v_b1 = _mm_loadu_ps(src + 20); src 1855 modules/imgproc/src/color.cpp __m128 v_a0 = _mm_loadu_ps(src + 24); src 1856 modules/imgproc/src/color.cpp __m128 v_a1 = _mm_loadu_ps(src + 28); src 1882 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) src 1884 modules/imgproc/src/color.cpp float Y = src[0]*C0 + src[1]*C1 + src[2]*C2; src 1885 modules/imgproc/src/color.cpp float Cr = (src[bidx^2] - Y)*C3 + delta; src 1886 modules/imgproc/src/color.cpp float Cb = (src[bidx] - Y)*C4 + delta; src 1909 modules/imgproc/src/color.cpp void operator()(const _Tp* src, _Tp* dst, int n) const src 1915 modules/imgproc/src/color.cpp for(int i = 0; i < n; i += 3, src += scn) src 1917 modules/imgproc/src/color.cpp int Y = CV_DESCALE(src[0]*C0 + src[1]*C1 + src[2]*C2, yuv_shift); src 1918 modules/imgproc/src/color.cpp int Cr = CV_DESCALE((src[bidx^2] - Y)*C3 + delta, yuv_shift); src 1919 modules/imgproc/src/color.cpp int Cb = CV_DESCALE((src[bidx] - Y)*C4 + delta, yuv_shift); src 1953 modules/imgproc/src/color.cpp void operator()(const uchar * src, uchar * dst, int n) const src 1960 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, src += scn * 8) src 1967 modules/imgproc/src/color.cpp uint8x8x3_t v_src = vld3_u8(src); src 1974 modules/imgproc/src/color.cpp uint8x8x4_t v_src = vld4_u8(src); src 2010 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) src 2012 modules/imgproc/src/color.cpp int Y = CV_DESCALE(src[0]*C0 + src[1]*C1 + src[2]*C2, yuv_shift); src 2013 modules/imgproc/src/color.cpp int Cr = CV_DESCALE((src[bidx^2] - Y)*C3 + delta, yuv_shift); src 2014 modules/imgproc/src/color.cpp int Cb = CV_DESCALE((src[bidx] - Y)*C4 + delta, yuv_shift); src 2047 modules/imgproc/src/color.cpp void operator()(const ushort * src, ushort * dst, int n) const src 2054 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, src += scn * 8) src 2060 modules/imgproc/src/color.cpp v_src = vld3q_u16(src); src 2063 modules/imgproc/src/color.cpp uint16x8x4_t v_src_ = vld4q_u16(src); src 2098 modules/imgproc/src/color.cpp for ( ; i <= n - 12; i += 12, src += scn * 4) src 2105 modules/imgproc/src/color.cpp uint16x4x3_t v_src = vld3_u16(src); src 2112 modules/imgproc/src/color.cpp uint16x4x4_t v_src = vld4_u16(src); src 2132 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) src 2134 modules/imgproc/src/color.cpp int Y = CV_DESCALE(src[0]*C0 + src[1]*C1 + src[2]*C2, yuv_shift); src 2135 modules/imgproc/src/color.cpp int Cr = CV_DESCALE((src[bidx^2] - Y)*C3 + delta, yuv_shift); src 2136 modules/imgproc/src/color.cpp int Cb = CV_DESCALE((src[bidx] - Y)*C4 + delta, yuv_shift); src 2211 modules/imgproc/src/color.cpp void operator()(const uchar * src, uchar * dst, int n) const src 2220 modules/imgproc/src/color.cpp for ( ; i <= n - 96; i += 96, src += scn * 32) src 2222 modules/imgproc/src/color.cpp __m128i v_r0 = _mm_loadu_si128((__m128i const *)(src)); src 2223 modules/imgproc/src/color.cpp __m128i v_r1 = _mm_loadu_si128((__m128i const *)(src + 16)); src 2224 modules/imgproc/src/color.cpp __m128i v_g0 = _mm_loadu_si128((__m128i const *)(src + 32)); src 2225 modules/imgproc/src/color.cpp __m128i v_g1 = _mm_loadu_si128((__m128i const *)(src + 48)); src 2226 modules/imgproc/src/color.cpp __m128i v_b0 = _mm_loadu_si128((__m128i const *)(src + 64)); src 2227 modules/imgproc/src/color.cpp __m128i v_b1 = _mm_loadu_si128((__m128i const *)(src + 80)); src 2231 modules/imgproc/src/color.cpp __m128i v_a0 = _mm_loadu_si128((__m128i const *)(src + 96)); src 2232 modules/imgproc/src/color.cpp __m128i v_a1 = _mm_loadu_si128((__m128i const *)(src + 112)); src 2280 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) src 2282 modules/imgproc/src/color.cpp int Y = CV_DESCALE(src[0]*C0 + src[1]*C1 + src[2]*C2, yuv_shift); src 2283 modules/imgproc/src/color.cpp int Cr = CV_DESCALE((src[bidx^2] - Y)*C3 + delta, yuv_shift); src 2284 modules/imgproc/src/color.cpp int Cb = CV_DESCALE((src[bidx] - Y)*C4 + delta, yuv_shift); src 2361 modules/imgproc/src/color.cpp void operator()(const ushort * src, ushort * dst, int n) const src 2370 modules/imgproc/src/color.cpp for ( ; i <= n - 48; i += 48, src += scn * 16) src 2372 modules/imgproc/src/color.cpp __m128i v_r0 = _mm_loadu_si128((__m128i const *)(src)); src 2373 modules/imgproc/src/color.cpp __m128i v_r1 = _mm_loadu_si128((__m128i const *)(src + 8)); src 2374 modules/imgproc/src/color.cpp __m128i v_g0 = _mm_loadu_si128((__m128i const *)(src + 16)); src 2375 modules/imgproc/src/color.cpp __m128i v_g1 = _mm_loadu_si128((__m128i const *)(src + 24)); src 2376 modules/imgproc/src/color.cpp __m128i v_b0 = _mm_loadu_si128((__m128i const *)(src + 32)); src 2377 modules/imgproc/src/color.cpp __m128i v_b1 = _mm_loadu_si128((__m128i const *)(src + 40)); src 2381 modules/imgproc/src/color.cpp __m128i v_a0 = _mm_loadu_si128((__m128i const *)(src + 48)); src 2382 modules/imgproc/src/color.cpp __m128i v_a1 = _mm_loadu_si128((__m128i const *)(src + 56)); src 2409 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) src 2411 modules/imgproc/src/color.cpp int Y = CV_DESCALE(src[0]*C0 + src[1]*C1 + src[2]*C2, yuv_shift); src 2412 modules/imgproc/src/color.cpp int Cr = CV_DESCALE((src[bidx^2] - Y)*C3 + delta, yuv_shift); src 2413 modules/imgproc/src/color.cpp int Cb = CV_DESCALE((src[bidx] - Y)*C4 + delta, yuv_shift); src 2439 modules/imgproc/src/color.cpp void operator()(const _Tp* src, _Tp* dst, int n) const src 2447 modules/imgproc/src/color.cpp _Tp Y = src[i]; src 2448 modules/imgproc/src/color.cpp _Tp Cr = src[i+1]; src 2449 modules/imgproc/src/color.cpp _Tp Cb = src[i+2]; src 2485 modules/imgproc/src/color.cpp void operator()(const float* src, float* dst, int n) const src 2495 modules/imgproc/src/color.cpp float32x4x3_t v_src = vld3q_f32(src + i), v_dst; src 2507 modules/imgproc/src/color.cpp float32x4x3_t v_src = vld3q_f32(src + i); src 2521 modules/imgproc/src/color.cpp float Y = src[i], Cr = src[i+1], Cb = src[i+2]; src 2578 modules/imgproc/src/color.cpp void operator()(const float* src, float* dst, int n) const src 2589 modules/imgproc/src/color.cpp __m128 v_y0 = _mm_loadu_ps(src + i); src 2590 modules/imgproc/src/color.cpp __m128 v_y1 = _mm_loadu_ps(src + i + 4); src 2591 modules/imgproc/src/color.cpp __m128 v_cr0 = _mm_loadu_ps(src + i + 8); src 2592 modules/imgproc/src/color.cpp __m128 v_cr1 = _mm_loadu_ps(src + i + 12); src 2593 modules/imgproc/src/color.cpp __m128 v_cb0 = _mm_loadu_ps(src + i + 16); src 2594 modules/imgproc/src/color.cpp __m128 v_cb1 = _mm_loadu_ps(src + i + 20); src 2631 modules/imgproc/src/color.cpp float Y = src[i], Cr = src[i+1], Cb = src[i+2]; src 2662 modules/imgproc/src/color.cpp void operator()(const _Tp* src, _Tp* dst, int n) const src 2670 modules/imgproc/src/color.cpp _Tp Y = src[i]; src 2671 modules/imgproc/src/color.cpp _Tp Cr = src[i+1]; src 2672 modules/imgproc/src/color.cpp _Tp Cb = src[i+2]; src 2711 modules/imgproc/src/color.cpp void operator()(const uchar* src, uchar* dst, int n) const src 2720 modules/imgproc/src/color.cpp uint8x8x3_t v_src = vld3_u8(src + i); src 2773 modules/imgproc/src/color.cpp uchar Y = src[i]; src 2774 modules/imgproc/src/color.cpp uchar Cr = src[i+1]; src 2775 modules/imgproc/src/color.cpp uchar Cb = src[i+2]; src 2817 modules/imgproc/src/color.cpp void operator()(const ushort* src, ushort* dst, int n) const src 2826 modules/imgproc/src/color.cpp uint16x8x3_t v_src = vld3q_u16(src + i); src 2875 modules/imgproc/src/color.cpp uint16x4x3_t v_src = vld3_u16(src + i); src 2913 modules/imgproc/src/color.cpp ushort Y = src[i]; src 2914 modules/imgproc/src/color.cpp ushort Cr = src[i+1]; src 2915 modules/imgproc/src/color.cpp ushort Cb = src[i+2]; src 3010 modules/imgproc/src/color.cpp void operator()(const uchar* src, uchar* dst, int n) const src 3021 modules/imgproc/src/color.cpp __m128i v_y0 = _mm_loadu_si128((__m128i const *)(src + i)); src 3022 modules/imgproc/src/color.cpp __m128i v_y1 = _mm_loadu_si128((__m128i const *)(src + i + 16)); src 3023 modules/imgproc/src/color.cpp __m128i v_cr0 = _mm_loadu_si128((__m128i const *)(src + i + 32)); src 3024 modules/imgproc/src/color.cpp __m128i v_cr1 = _mm_loadu_si128((__m128i const *)(src + i + 48)); src 3025 modules/imgproc/src/color.cpp __m128i v_cb0 = _mm_loadu_si128((__m128i const *)(src + i + 64)); src 3026 modules/imgproc/src/color.cpp __m128i v_cb1 = _mm_loadu_si128((__m128i const *)(src + i + 80)); src 3091 modules/imgproc/src/color.cpp uchar Y = src[i]; src 3092 modules/imgproc/src/color.cpp uchar Cr = src[i+1]; src 3093 modules/imgproc/src/color.cpp uchar Cb = src[i+2]; src 3146 modules/imgproc/src/color.cpp void operator()(const _Tp* src, _Tp* dst, int n) const src 3154 modules/imgproc/src/color.cpp for(int i = 0; i < n; i += 3, src += scn) src 3156 modules/imgproc/src/color.cpp _Tp X = saturate_cast<_Tp>(src[0]*C0 + src[1]*C1 + src[2]*C2); src 3157 modules/imgproc/src/color.cpp _Tp Y = saturate_cast<_Tp>(src[0]*C3 + src[1]*C4 + src[2]*C5); src 3158 modules/imgproc/src/color.cpp _Tp Z = saturate_cast<_Tp>(src[0]*C6 + src[1]*C7 + src[2]*C8); src 3194 modules/imgproc/src/color.cpp void operator()(const float* src, float* dst, int n) const src 3204 modules/imgproc/src/color.cpp for ( ; i <= n - 12; i += 12, src += 12) src 3206 modules/imgproc/src/color.cpp float32x4x3_t v_src = vld3q_f32(src), v_dst; src 3213 modules/imgproc/src/color.cpp for ( ; i <= n - 12; i += 12, src += 16) src 3215 modules/imgproc/src/color.cpp float32x4x4_t v_src = vld4q_f32(src); src 3223 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) src 3225 modules/imgproc/src/color.cpp float X = saturate_cast<float>(src[0]*C0 + src[1]*C1 + src[2]*C2); src 3226 modules/imgproc/src/color.cpp float Y = saturate_cast<float>(src[0]*C3 + src[1]*C4 + src[2]*C5); src 3227 modules/imgproc/src/color.cpp float Z = saturate_cast<float>(src[0]*C6 + src[1]*C7 + src[2]*C8); src 3283 modules/imgproc/src/color.cpp void operator()(const float* src, float* dst, int n) const src 3294 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, src += 8 * scn) src 3296 modules/imgproc/src/color.cpp __m128 v_r0 = _mm_loadu_ps(src); src 3297 modules/imgproc/src/color.cpp __m128 v_r1 = _mm_loadu_ps(src + 4); src 3298 modules/imgproc/src/color.cpp __m128 v_g0 = _mm_loadu_ps(src + 8); src 3299 modules/imgproc/src/color.cpp __m128 v_g1 = _mm_loadu_ps(src + 12); src 3300 modules/imgproc/src/color.cpp __m128 v_b0 = _mm_loadu_ps(src + 16); src 3301 modules/imgproc/src/color.cpp __m128 v_b1 = _mm_loadu_ps(src + 20); src 3305 modules/imgproc/src/color.cpp __m128 v_a0 = _mm_loadu_ps(src + 24); src 3306 modules/imgproc/src/color.cpp __m128 v_a1 = _mm_loadu_ps(src + 28); src 3333 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) src 3335 modules/imgproc/src/color.cpp float X = saturate_cast<float>(src[0]*C0 + src[1]*C1 + src[2]*C2); src 3336 modules/imgproc/src/color.cpp float Y = saturate_cast<float>(src[0]*C3 + src[1]*C4 + src[2]*C5); src 3337 modules/imgproc/src/color.cpp float Z = saturate_cast<float>(src[0]*C6 + src[1]*C7 + src[2]*C8); src 3372 modules/imgproc/src/color.cpp void operator()(const _Tp* src, _Tp* dst, int n) const src 3380 modules/imgproc/src/color.cpp for(int i = 0; i < n; i += 3, src += scn) src 3382 modules/imgproc/src/color.cpp int X = CV_DESCALE(src[0]*C0 + src[1]*C1 + src[2]*C2, xyz_shift); src 3383 modules/imgproc/src/color.cpp int Y = CV_DESCALE(src[0]*C3 + src[1]*C4 + src[2]*C5, xyz_shift); src 3384 modules/imgproc/src/color.cpp int Z = CV_DESCALE(src[0]*C6 + src[1]*C7 + src[2]*C8, xyz_shift); src 3428 modules/imgproc/src/color.cpp void operator()(const uchar * src, uchar * dst, int n) const src 3436 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, src += scn * 8) src 3443 modules/imgproc/src/color.cpp uint8x8x3_t v_src = vld3_u8(src); src 3450 modules/imgproc/src/color.cpp uint8x8x4_t v_src = vld4_u8(src); src 3485 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) src 3487 modules/imgproc/src/color.cpp int X = CV_DESCALE(src[0]*C0 + src[1]*C1 + src[2]*C2, xyz_shift); src 3488 modules/imgproc/src/color.cpp int Y = CV_DESCALE(src[0]*C3 + src[1]*C4 + src[2]*C5, xyz_shift); src 3489 modules/imgproc/src/color.cpp int Z = CV_DESCALE(src[0]*C6 + src[1]*C7 + src[2]*C8, xyz_shift); src 3535 modules/imgproc/src/color.cpp void operator()(const ushort * src, ushort * dst, int n) const src 3543 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, src += scn * 8) src 3548 modules/imgproc/src/color.cpp v_src = vld3q_u16(src); src 3551 modules/imgproc/src/color.cpp uint16x8x4_t v_src4 = vld4q_u16(src); src 3586 modules/imgproc/src/color.cpp for ( ; i <= n - 12; i += 12, src += scn * 4) src 3593 modules/imgproc/src/color.cpp uint16x4x3_t v_src = vld3_u16(src); src 3600 modules/imgproc/src/color.cpp uint16x4x4_t v_src = vld4_u16(src); src 3617 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, src += scn) src 3619 modules/imgproc/src/color.cpp int X = CV_DESCALE(src[0]*C0 + src[1]*C1 + src[2]*C2, xyz_shift); src 3620 modules/imgproc/src/color.cpp int Y = CV_DESCALE(src[0]*C3 + src[1]*C4 + src[2]*C5, xyz_shift); src 3621 modules/imgproc/src/color.cpp int Z = CV_DESCALE(src[0]*C6 + src[1]*C7 + src[2]*C8, xyz_shift); src 3651 modules/imgproc/src/color.cpp void operator()(const _Tp* src, _Tp* dst, int n) const src 3661 modules/imgproc/src/color.cpp _Tp B = saturate_cast<_Tp>(src[i]*C0 + src[i+1]*C1 + src[i+2]*C2); src 3662 modules/imgproc/src/color.cpp _Tp G = saturate_cast<_Tp>(src[i]*C3 + src[i+1]*C4 + src[i+2]*C5); src 3663 modules/imgproc/src/color.cpp _Tp R = saturate_cast<_Tp>(src[i]*C6 + src[i+1]*C7 + src[i+2]*C8); src 3722 modules/imgproc/src/color.cpp void operator()(const float* src, float* dst, int n) const src 3736 modules/imgproc/src/color.cpp __m128 v_x0 = _mm_loadu_ps(src + i); src 3737 modules/imgproc/src/color.cpp __m128 v_x1 = _mm_loadu_ps(src + i + 4); src 3738 modules/imgproc/src/color.cpp __m128 v_y0 = _mm_loadu_ps(src + i + 8); src 3739 modules/imgproc/src/color.cpp __m128 v_y1 = _mm_loadu_ps(src + i + 12); src 3740 modules/imgproc/src/color.cpp __m128 v_z0 = _mm_loadu_ps(src + i + 16); src 3741 modules/imgproc/src/color.cpp __m128 v_z1 = _mm_loadu_ps(src + i + 20); src 3779 modules/imgproc/src/color.cpp float B = src[i]*C0 + src[i+1]*C1 + src[i+2]*C2; src 3780 modules/imgproc/src/color.cpp float G = src[i]*C3 + src[i+1]*C4 + src[i+2]*C5; src 3781 modules/imgproc/src/color.cpp float R = src[i]*C6 + src[i+1]*C7 + src[i+2]*C8; src 3821 modules/imgproc/src/color.cpp void operator()(const _Tp* src, _Tp* dst, int n) const src 3831 modules/imgproc/src/color.cpp int B = CV_DESCALE(src[i]*C0 + src[i+1]*C1 + src[i+2]*C2, xyz_shift); src 3832 modules/imgproc/src/color.cpp int G = CV_DESCALE(src[i]*C3 + src[i+1]*C4 + src[i+2]*C5, xyz_shift); src 3833 modules/imgproc/src/color.cpp int R = CV_DESCALE(src[i]*C6 + src[i+1]*C7 + src[i+2]*C8, xyz_shift); src 3883 modules/imgproc/src/color.cpp void operator()(const uchar* src, uchar* dst, int n) const src 3894 modules/imgproc/src/color.cpp uint8x8x3_t v_src = vld3_u8(src + i); src 3947 modules/imgproc/src/color.cpp int B = CV_DESCALE(src[i]*C0 + src[i+1]*C1 + src[i+2]*C2, xyz_shift); src 3948 modules/imgproc/src/color.cpp int G = CV_DESCALE(src[i]*C3 + src[i+1]*C4 + src[i+2]*C5, xyz_shift); src 3949 modules/imgproc/src/color.cpp int R = CV_DESCALE(src[i]*C6 + src[i+1]*C7 + src[i+2]*C8, xyz_shift); src 4002 modules/imgproc/src/color.cpp void operator()(const ushort* src, ushort* dst, int n) const src 4013 modules/imgproc/src/color.cpp uint16x8x3_t v_src = vld3q_u16(src + i); src 4061 modules/imgproc/src/color.cpp uint16x4x3_t v_src = vld3_u16(src + i); src 4098 modules/imgproc/src/color.cpp int B = CV_DESCALE(src[i]*C0 + src[i+1]*C1 + src[i+2]*C2, xyz_shift); src 4099 modules/imgproc/src/color.cpp int G = CV_DESCALE(src[i]*C3 + src[i+1]*C4 + src[i+2]*C5, xyz_shift); src 4100 modules/imgproc/src/color.cpp int R = CV_DESCALE(src[i]*C6 + src[i+1]*C7 + src[i+2]*C8, xyz_shift); src 4130 modules/imgproc/src/color.cpp void operator()(const uchar* src, uchar* dst, int n) const src 4156 modules/imgproc/src/color.cpp for( i = 0; i < n; i += 3, src += scn ) src 4158 modules/imgproc/src/color.cpp int b = src[bidx], g = src[1], r = src[bidx^2]; src 4195 modules/imgproc/src/color.cpp void operator()(const float* src, float* dst, int n) const src 4201 modules/imgproc/src/color.cpp for( i = 0; i < n; i += 3, src += scn ) src 4203 modules/imgproc/src/color.cpp float b = src[bidx], g = src[1], r = src[bidx^2]; src 4244 modules/imgproc/src/color.cpp void operator()(const float* src, float* dst, int n) const src 4253 modules/imgproc/src/color.cpp float h = src[i], s = src[i+1], v = src[i+2]; src 4349 modules/imgproc/src/color.cpp void operator()(const uchar* src, uchar* dst, int n) const src 4355 modules/imgproc/src/color.cpp for( i = 0; i < n; i += BLOCK_SIZE, src += BLOCK_SIZE*3 ) src 4363 modules/imgproc/src/color.cpp uint8x8x3_t v_src = vld3_u8(src + j); src 4384 modules/imgproc/src/color.cpp __m128i v_r0 = _mm_loadu_si128((__m128i const *)(src + j)); src 4385 modules/imgproc/src/color.cpp __m128i v_r1 = _mm_loadu_si128((__m128i const *)(src + j + 16)); src 4386 modules/imgproc/src/color.cpp __m128i v_g0 = _mm_loadu_si128((__m128i const *)(src + j + 32)); src 4387 modules/imgproc/src/color.cpp __m128i v_g1 = _mm_loadu_si128((__m128i const *)(src + j + 48)); src 4388 modules/imgproc/src/color.cpp __m128i v_b0 = _mm_loadu_si128((__m128i const *)(src + j + 64)); src 4389 modules/imgproc/src/color.cpp __m128i v_b1 = _mm_loadu_si128((__m128i const *)(src + j + 80)); src 4418 modules/imgproc/src/color.cpp buf[j] = src[j]; src 4419 modules/imgproc/src/color.cpp buf[j+1] = src[j+1]*(1.f/255.f); src 4420 modules/imgproc/src/color.cpp buf[j+2] = src[j+2]*(1.f/255.f); src 4511 modules/imgproc/src/color.cpp void operator()(const float* src, float* dst, int n) const src 4517 modules/imgproc/src/color.cpp for( i = 0; i < n; i += 3, src += scn ) src 4519 modules/imgproc/src/color.cpp float b = src[bidx], g = src[1], r = src[bidx^2]; src 4601 modules/imgproc/src/color.cpp void operator()(const uchar* src, uchar* dst, int n) const src 4612 modules/imgproc/src/color.cpp for ( ; j <= (dn - 8) * 3; j += 24, src += 8 * scn) src 4618 modules/imgproc/src/color.cpp uint8x8x3_t v_src = vld3_u8(src); src 4625 modules/imgproc/src/color.cpp uint8x8x4_t v_src = vld4_u8(src); src 4645 modules/imgproc/src/color.cpp for ( ; j <= (dn * 3 - 16); j += 16, src += 16) src 4647 modules/imgproc/src/color.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)src); src 4660 modules/imgproc/src/color.cpp src -= jr, j -= jr; src 4663 modules/imgproc/src/color.cpp for( ; j < dn*3; j += 3, src += scn ) src 4665 modules/imgproc/src/color.cpp buf[j] = src[0]*(1.f/255.f); src 4666 modules/imgproc/src/color.cpp buf[j+1] = src[1]*(1.f/255.f); src 4667 modules/imgproc/src/color.cpp buf[j+2] = src[2]*(1.f/255.f); src 4753 modules/imgproc/src/color.cpp void operator()(const float* src, float* dst, int n) const src 4762 modules/imgproc/src/color.cpp float h = src[i], l = src[i+1], s = src[i+2]; src 4859 modules/imgproc/src/color.cpp void operator()(const uchar* src, uchar* dst, int n) const src 4865 modules/imgproc/src/color.cpp for( i = 0; i < n; i += BLOCK_SIZE, src += BLOCK_SIZE*3 ) src 4873 modules/imgproc/src/color.cpp uint8x8x3_t v_src = vld3_u8(src + j); src 4894 modules/imgproc/src/color.cpp __m128i v_r0 = _mm_loadu_si128((__m128i const *)(src + j)); src 4895 modules/imgproc/src/color.cpp __m128i v_r1 = _mm_loadu_si128((__m128i const *)(src + j + 16)); src 4896 modules/imgproc/src/color.cpp __m128i v_g0 = _mm_loadu_si128((__m128i const *)(src + j + 32)); src 4897 modules/imgproc/src/color.cpp __m128i v_g1 = _mm_loadu_si128((__m128i const *)(src + j + 48)); src 4898 modules/imgproc/src/color.cpp __m128i v_b0 = _mm_loadu_si128((__m128i const *)(src + j + 64)); src 4899 modules/imgproc/src/color.cpp __m128i v_b1 = _mm_loadu_si128((__m128i const *)(src + j + 80)); src 4927 modules/imgproc/src/color.cpp buf[j] = src[j]; src 4928 modules/imgproc/src/color.cpp buf[j+1] = src[j+1]*(1.f/255.f); src 4929 modules/imgproc/src/color.cpp buf[j+2] = src[j+2]*(1.f/255.f); src 5104 modules/imgproc/src/color.cpp void operator()(const uchar* src, uchar* dst, int n) const src 5115 modules/imgproc/src/color.cpp for( i = 0; i < n; i += 3, src += scn ) src 5117 modules/imgproc/src/color.cpp int R = tab[src[0]], G = tab[src[1]], B = tab[src[2]]; src 5171 modules/imgproc/src/color.cpp void operator()(const float* src, float* dst, int n) const src 5183 modules/imgproc/src/color.cpp for (i = 0; i < n; i += 3, src += scn ) src 5185 modules/imgproc/src/color.cpp float R = clip(src[0]); src 5186 modules/imgproc/src/color.cpp float G = clip(src[1]); src 5187 modules/imgproc/src/color.cpp float B = clip(src[2]); src 5241 modules/imgproc/src/color.cpp void operator()(const float* src, float* dst, int n) const src 5256 modules/imgproc/src/color.cpp float li = src[i]; src 5257 modules/imgproc/src/color.cpp float ai = src[i + 1]; src 5258 modules/imgproc/src/color.cpp float bi = src[i + 2]; src 5363 modules/imgproc/src/color.cpp void operator()(const uchar* src, uchar* dst, int n) const src 5369 modules/imgproc/src/color.cpp for( i = 0; i < n; i += BLOCK_SIZE, src += BLOCK_SIZE*3 ) src 5377 modules/imgproc/src/color.cpp uint8x8x3_t v_src = vld3_u8(src + j); src 5398 modules/imgproc/src/color.cpp __m128i v_r0 = _mm_loadu_si128((__m128i const *)(src + j)); src 5399 modules/imgproc/src/color.cpp __m128i v_r1 = _mm_loadu_si128((__m128i const *)(src + j + 16)); src 5400 modules/imgproc/src/color.cpp __m128i v_g0 = _mm_loadu_si128((__m128i const *)(src + j + 32)); src 5401 modules/imgproc/src/color.cpp __m128i v_g1 = _mm_loadu_si128((__m128i const *)(src + j + 48)); src 5402 modules/imgproc/src/color.cpp __m128i v_b0 = _mm_loadu_si128((__m128i const *)(src + j + 64)); src 5403 modules/imgproc/src/color.cpp __m128i v_b1 = _mm_loadu_si128((__m128i const *)(src + j + 80)); src 5432 modules/imgproc/src/color.cpp buf[j] = src[j]*(100.f/255.f); src 5433 modules/imgproc/src/color.cpp buf[j+1] = (float)(src[j+1] - 128); src 5434 modules/imgproc/src/color.cpp buf[j+2] = (float)(src[j+2] - 128); src 5551 modules/imgproc/src/color.cpp void operator()(const float* src, float* dst, int n) const src 5562 modules/imgproc/src/color.cpp for( i = 0; i < n; i += 3, src += scn ) src 5564 modules/imgproc/src/color.cpp float R = src[0], G = src[1], B = src[2]; src 5620 modules/imgproc/src/color.cpp void operator()(const float* src, float* dst, int n) const src 5634 modules/imgproc/src/color.cpp float L = src[i], u = src[i+1], v = src[i+2], d, X, Y, Z; src 5725 modules/imgproc/src/color.cpp void operator()(const uchar* src, uchar* dst, int n) const src 5736 modules/imgproc/src/color.cpp for ( ; j <= (dn - 8) * 3; j += 24, src += 8 * scn) src 5742 modules/imgproc/src/color.cpp uint8x8x3_t v_src = vld3_u8(src); src 5749 modules/imgproc/src/color.cpp uint8x8x4_t v_src = vld4_u8(src); src 5769 modules/imgproc/src/color.cpp for ( ; j <= (dn * 3 - 16); j += 16, src += 16) src 5771 modules/imgproc/src/color.cpp __m128i v_src = _mm_loadu_si128((__m128i const *)src); src 5784 modules/imgproc/src/color.cpp src -= jr, j -= jr; src 5787 modules/imgproc/src/color.cpp for( ; j < dn*3; j += 3, src += scn ) src 5789 modules/imgproc/src/color.cpp buf[j] = src[0]*(1.f/255.f); src 5790 modules/imgproc/src/color.cpp buf[j+1] = (float)(src[1]*(1.f/255.f)); src 5791 modules/imgproc/src/color.cpp buf[j+2] = (float)(src[2]*(1.f/255.f)); src 5933 modules/imgproc/src/color.cpp void operator()(const uchar* src, uchar* dst, int n) const src 5939 modules/imgproc/src/color.cpp for( i = 0; i < n; i += BLOCK_SIZE, src += BLOCK_SIZE*3 ) src 5947 modules/imgproc/src/color.cpp uint8x8x3_t v_src = vld3_u8(src + j); src 5968 modules/imgproc/src/color.cpp __m128i v_r0 = _mm_loadu_si128((__m128i const *)(src + j)); src 5969 modules/imgproc/src/color.cpp __m128i v_r1 = _mm_loadu_si128((__m128i const *)(src + j + 16)); src 5970 modules/imgproc/src/color.cpp __m128i v_g0 = _mm_loadu_si128((__m128i const *)(src + j + 32)); src 5971 modules/imgproc/src/color.cpp __m128i v_g1 = _mm_loadu_si128((__m128i const *)(src + j + 48)); src 5972 modules/imgproc/src/color.cpp __m128i v_b0 = _mm_loadu_si128((__m128i const *)(src + j + 64)); src 5973 modules/imgproc/src/color.cpp __m128i v_b1 = _mm_loadu_si128((__m128i const *)(src + j + 80)); src 6001 modules/imgproc/src/color.cpp buf[j] = src[j]*(100.f/255.f); src 6002 modules/imgproc/src/color.cpp buf[j+1] = (float)(src[j+1]*1.388235294117647f - 134.f); src 6003 modules/imgproc/src/color.cpp buf[j+2] = (float)(src[j+2]*1.027450980392157f - 140.f); src 6434 modules/imgproc/src/color.cpp RGB888toYUV420pInvoker( const Mat& src, Mat* dst, const int uIdx ) src 6435 modules/imgproc/src/color.cpp : src_(src), src 6484 modules/imgproc/src/color.cpp static bool isFit( const Mat& src ) src 6486 modules/imgproc/src/color.cpp return (src.total() >= 320*240); src 6498 modules/imgproc/src/color.cpp static void cvtRGBtoYUV420p(const Mat& src, Mat& dst) src 6500 modules/imgproc/src/color.cpp RGB888toYUV420pInvoker<bIdx> colorConverter(src, &dst, uIdx); src 6501 modules/imgproc/src/color.cpp if( RGB888toYUV420pInvoker<bIdx>::isFit(src) ) src 6502 modules/imgproc/src/color.cpp parallel_for_(Range(0, src.rows/2), colorConverter); src 6504 modules/imgproc/src/color.cpp colorConverter(Range(0, src.rows/2)); src 6513 modules/imgproc/src/color.cpp const uchar* src; src 6517 modules/imgproc/src/color.cpp : dst(_dst), src(_yuv), width(_dst->cols), stride(_stride) {} src 6526 modules/imgproc/src/color.cpp const uchar* yuv_src = src + rangeBegin * stride; src 6559 modules/imgproc/src/color.cpp const uchar* src; src 6563 modules/imgproc/src/color.cpp : dst(_dst), src(_yuv), width(_dst->cols), stride(_stride) {} src 6572 modules/imgproc/src/color.cpp const uchar* yuv_src = src + rangeBegin * stride; src 6632 modules/imgproc/src/color.cpp void operator()(const _Tp* src, _Tp* dst, int n) const src 6638 modules/imgproc/src/color.cpp _Tp v0 = *src++; src 6639 modules/imgproc/src/color.cpp _Tp v1 = *src++; src 6640 modules/imgproc/src/color.cpp _Tp v2 = *src++; src 6641 modules/imgproc/src/color.cpp _Tp v3 = *src++; src 6657 modules/imgproc/src/color.cpp void operator()(const _Tp* src, _Tp* dst, int n) const src 6662 modules/imgproc/src/color.cpp _Tp v0 = *src++; src 6663 modules/imgproc/src/color.cpp _Tp v1 = *src++; src 6664 modules/imgproc/src/color.cpp _Tp v2 = *src++; src 6665 modules/imgproc/src/color.cpp _Tp v3 = *src++; src 6681 modules/imgproc/src/color.cpp UMat src = _src.getUMat(), dst; src 6682 modules/imgproc/src/color.cpp Size sz = src.size(), dstSz = sz; src 6683 modules/imgproc/src/color.cpp int scn = src.channels(), depth = src.depth(), bidx, uidx, yidx; src 6694 modules/imgproc/src/color.cpp size_t globalsize[] = { src.cols, (src.rows + pxPerWIy - 1) / pxPerWIy }; src 6764 modules/imgproc/src/color.cpp globalsize[0] = (src.cols + stripeSize-1)/stripeSize; src 6830 modules/imgproc/src/color.cpp src.isContinuous() ? " -D SRC_CONT" : "")); src 6844 modules/imgproc/src/color.cpp src.rowRange(0, dstSz.height).copyTo(dst); src 6864 modules/imgproc/src/color.cpp if (dev.isIntel() && src.cols % 4 == 0 && src.step % 4 == 0 && src.offset % 4 == 0 && src 6873 modules/imgproc/src/color.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst)); src 6896 modules/imgproc/src/color.cpp src.offset % 4 == 0 && src.step % 4 == 0 ? " -D USE_OPTIMIZED_LOAD" : "")); src 6966 modules/imgproc/src/color.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst), ocl::KernelArg::PtrReadOnly(c)); src 7017 modules/imgproc/src/color.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst), ocl::KernelArg::PtrReadOnly(c)); src 7075 modules/imgproc/src/color.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst), src 7138 modules/imgproc/src/color.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), src 7287 modules/imgproc/src/color.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), src 7318 modules/imgproc/src/color.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst)); src 7340 modules/imgproc/src/color.cpp Mat src = _src.getMat(), dst; src 7341 modules/imgproc/src/color.cpp Size sz = src.size(); src 7361 modules/imgproc/src/color.cpp if ( CvtColorIPPLoop(src, dst, IPPReorderFunctor(ippiSwapChannelsC3C4RTab[depth], 0, 1, 2)) ) src 7370 modules/imgproc/src/color.cpp if ( CvtColorIPPLoop(src, dst, IPPGeneralFunctor(ippiCopyAC4C3RTab[depth])) ) src 7379 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPReorderFunctor(ippiSwapChannelsC3C4RTab[depth], 2, 1, 0)) ) src 7388 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPReorderFunctor(ippiSwapChannelsC4C3RTab[depth], 2, 1, 0)) ) src 7397 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPReorderFunctor(ippiSwapChannelsC3RTab[depth], 2, 1, 0)) ) src 7407 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPReorderFunctor(ippiSwapChannelsC4RTab[depth], 2, 1, 0)) ) src 7421 modules/imgproc/src/color.cpp if(tegra::useTegra() && tegra::cvtBGR2RGB(src, dst, bidx)) src 7424 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2RGB<uchar>(scn, dcn, bidx)); src 7427 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2RGB<ushort>(scn, dcn, bidx)); src 7429 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2RGB<float>(scn, dcn, bidx)); src 7445 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPGeneralFunctor((ippiGeneralFunc)ippiBGRToBGR565_8u16u_C3R))) src 7454 modules/imgproc/src/color.cpp if (CvtColorIPPLoopCopy(src, dst, src 7465 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC3RTab[depth], src 7475 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], src 7489 modules/imgproc/src/color.cpp if(tegra::useTegra() && tegra::cvtRGB2RGB565(src, dst, code == CV_RGB2BGR565 || code == CV_RGBA2BGR565 ? 0 : 2)) src 7493 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2RGB5x5(scn, src 7514 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPGeneralFunctor((ippiGeneralFunc)ippiBGR565ToBGR_16u8u_C3R))) src 7523 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor((ippiGeneralFunc)ippiBGR565ToBGR_16u8u_C3R, src 7533 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor((ippiGeneralFunc)ippiBGR565ToBGR_16u8u_C3R, src 7543 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor((ippiGeneralFunc)ippiBGR565ToBGR_16u8u_C3R, src 7555 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB5x52RGB(dcn, src 7573 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPColor2GrayFunctor(ippiColor2GrayC3Tab[depth])) ) src 7582 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralFunctor(ippiRGB2GrayC3Tab[depth])) ) src 7591 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPColor2GrayFunctor(ippiColor2GrayC4Tab[depth])) ) src 7600 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralFunctor(ippiRGB2GrayC4Tab[depth])) ) src 7615 modules/imgproc/src/color.cpp if(tegra::useTegra() && tegra::cvtRGB2Gray(src, dst, bidx)) src 7618 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2Gray<uchar>(scn, bidx, 0)); src 7621 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2Gray<ushort>(scn, bidx, 0)); src 7623 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2Gray<float>(scn, bidx, 0)); src 7631 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB5x52Gray(code == CV_BGR5652GRAY ? 6 : 5)); src 7645 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGray2BGRFunctor(ippiCopyP3C3RTab[depth])) ) src 7654 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGray2BGRAFunctor(ippiCopyP3C3RTab[depth], ippiSwapChannelsC3C4RTab[depth], depth)) ) src 7668 modules/imgproc/src/color.cpp if(tegra::useTegra() && tegra::cvtGray2RGB(src, dst)) src 7671 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Gray2RGB<uchar>(dcn)); src 7674 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Gray2RGB<ushort>(dcn)); src 7676 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Gray2RGB<float>(dcn)); src 7684 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Gray2RGB5x5(code == CV_GRAY2BGR565 ? 6 : 5)); src 7705 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPGeneralFunctor((ippiGeneralFunc)ippiRGBToYUV_8u_C3R))) src 7714 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC3RTab[depth], src 7724 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], src 7734 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], src 7748 modules/imgproc/src/color.cpp if((code == CV_RGB2YCrCb || code == CV_BGR2YCrCb) && tegra::useTegra() && tegra::cvtRGB2YCrCb(src, dst, bidx)) src 7751 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2YCrCb_i<uchar>(scn, bidx, coeffs_i)); src 7754 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2YCrCb_i<ushort>(scn, bidx, coeffs_i)); src 7756 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2YCrCb_f<float>(scn, bidx, coeffs_f)); src 7779 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPGeneralFunctor((ippiGeneralFunc)ippiYUVToRGB_8u_C3R))) src 7788 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor((ippiGeneralFunc)ippiYUVToRGB_8u_C3R, src 7798 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor((ippiGeneralFunc)ippiYUVToRGB_8u_C3R, src 7808 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor((ippiGeneralFunc)ippiYUVToRGB_8u_C3R, src 7820 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, YCrCb2RGB_i<uchar>(dcn, bidx, coeffs_i)); src 7822 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, YCrCb2RGB_i<ushort>(dcn, bidx, coeffs_i)); src 7824 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, YCrCb2RGB_f<float>(dcn, bidx, coeffs_f)); src 7840 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC3RTab[depth], ippiRGB2XYZTab[depth], 2, 1, 0, depth)) ) src 7849 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], ippiRGB2XYZTab[depth], 2, 1, 0, depth)) ) src 7858 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPGeneralFunctor(ippiRGB2XYZTab[depth])) ) src 7867 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], ippiRGB2XYZTab[depth], 0, 1, 2, depth)) ) src 7878 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2XYZ_i<uchar>(scn, bidx, 0)); src 7880 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2XYZ_i<ushort>(scn, bidx, 0)); src 7882 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2XYZ_f<float>(scn, bidx, 0)); src 7898 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPGeneralReorderFunctor(ippiXYZ2RGBTab[depth], ippiSwapChannelsC3RTab[depth], 2, 1, 0, depth)) ) src 7907 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor(ippiXYZ2RGBTab[depth], ippiSwapChannelsC3C4RTab[depth], 2, 1, 0, depth)) ) src 7916 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPGeneralFunctor(ippiXYZ2RGBTab[depth])) ) src 7925 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor(ippiXYZ2RGBTab[depth], ippiSwapChannelsC3C4RTab[depth], 0, 1, 2, depth)) ) src 7936 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, XYZ2RGB_i<uchar>(dcn, bidx, 0)); src 7938 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, XYZ2RGB_i<ushort>(dcn, bidx, 0)); src 7940 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, XYZ2RGB_f<float>(dcn, bidx, 0)); src 7963 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC3RTab[depth], ippiRGB2HSVTab[depth], 2, 1, 0, depth)) ) src 7972 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], ippiRGB2HSVTab[depth], 2, 1, 0, depth)) ) src 7981 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], ippiRGB2HSVTab[depth], 0, 1, 2, depth)) ) src 7991 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPGeneralFunctor(ippiRGB2HSVTab[depth])) ) src 8000 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC3RTab[depth], ippiRGB2HLSTab[depth], 2, 1, 0, depth)) ) src 8009 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], ippiRGB2HLSTab[depth], 2, 1, 0, depth)) ) src 8018 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPGeneralFunctor(ippiRGB2HLSTab[depth])) ) src 8027 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], ippiRGB2HLSTab[depth], 0, 1, 2, depth)) ) src 8042 modules/imgproc/src/color.cpp if(tegra::useTegra() && tegra::cvtRGB2HSV(src, dst, bidx, hrange)) src 8046 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2HSV_b(scn, bidx, hrange)); src 8048 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2HSV_f(scn, bidx, (float)hrange)); src 8053 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2HLS_b(scn, bidx, hrange)); src 8055 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2HLS_f(scn, bidx, (float)hrange)); src 8080 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPGeneralReorderFunctor(ippiHSV2RGBTab[depth], ippiSwapChannelsC3RTab[depth], 2, 1, 0, depth)) ) src 8089 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor(ippiHSV2RGBTab[depth], ippiSwapChannelsC3C4RTab[depth], 2, 1, 0, depth)) ) src 8098 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPGeneralFunctor(ippiHSV2RGBTab[depth])) ) src 8107 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor(ippiHSV2RGBTab[depth], ippiSwapChannelsC3C4RTab[depth], 0, 1, 2, depth)) ) src 8116 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPGeneralReorderFunctor(ippiHLS2RGBTab[depth], ippiSwapChannelsC3RTab[depth], 2, 1, 0, depth)) ) src 8125 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor(ippiHLS2RGBTab[depth], ippiSwapChannelsC3C4RTab[depth], 2, 1, 0, depth)) ) src 8134 modules/imgproc/src/color.cpp if( CvtColorIPPLoopCopy(src, dst, IPPGeneralFunctor(ippiHLS2RGBTab[depth])) ) src 8143 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor(ippiHLS2RGBTab[depth], ippiSwapChannelsC3C4RTab[depth], 0, 1, 2, depth)) ) src 8158 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, HSV2RGB_b(dcn, bidx, hrange)); src 8160 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, HSV2RGB_f(dcn, bidx, (float)hrange)); src 8165 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, HLS2RGB_b(dcn, bidx, hrange)); src 8167 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, HLS2RGB_f(dcn, bidx, (float)hrange)); src 8189 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPGeneralFunctor((ippiGeneralFunc)ippiBGRToLab_8u_C3R))) src 8198 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], src 8209 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC3RTab[depth], src 8219 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], src 8229 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPGeneralFunctor(ippiRGBToLUVTab[depth]))) src 8238 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], src 8248 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC3RTab[depth], src 8258 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPReorderGeneralFunctor(ippiSwapChannelsC4C3RTab[depth], src 8273 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2Lab_b(scn, bidx, 0, 0, srgb)); src 8275 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2Lab_f(scn, bidx, 0, 0, srgb)); src 8280 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2Luv_b(scn, bidx, 0, 0, srgb)); src 8282 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2Luv_f(scn, bidx, 0, 0, srgb)); src 8305 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralFunctor((ippiGeneralFunc)ippiLabToBGR_8u_C3R)) ) src 8314 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor((ippiGeneralFunc)ippiLabToBGR_8u_C3R, src 8324 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor((ippiGeneralFunc)ippiLabToBGR_8u_C3R, src 8334 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor((ippiGeneralFunc)ippiLabToBGR_8u_C3R, src 8344 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralFunctor(ippiLUVToRGBTab[depth])) ) src 8349 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor(ippiLUVToRGBTab[depth], src 8358 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor(ippiLUVToRGBTab[depth], src 8367 modules/imgproc/src/color.cpp if( CvtColorIPPLoop(src, dst, IPPGeneralReorderFunctor(ippiLUVToRGBTab[depth], src 8381 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Lab2RGB_b(dcn, bidx, 0, 0, srgb)); src 8383 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Lab2RGB_f(dcn, bidx, 0, 0, srgb)); src 8388 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Luv2RGB_b(dcn, bidx, 0, 0, srgb)); src 8390 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Luv2RGB_f(dcn, bidx, 0, 0, srgb)); src 8399 modules/imgproc/src/color.cpp demosaicing(src, _dst, code, dcn); src 8419 modules/imgproc/src/color.cpp int srcstep = (int)src.step; src 8420 modules/imgproc/src/color.cpp const uchar* y = src.ptr(); src 8454 modules/imgproc/src/color.cpp int srcstep = (int)src.step; src 8455 modules/imgproc/src/color.cpp const uchar* y = src.ptr(); src 8487 modules/imgproc/src/color.cpp if (ippStsNoErr == ippiCopy_8u_C1R(src.data, (int)src.step, dst.data, (int)dst.step, src 8496 modules/imgproc/src/color.cpp src(Range(0, dstSz.height), Range::all()).copyTo(dst); src 8516 modules/imgproc/src/color.cpp case 10: cvtRGBtoYUV420p<0, 1>(src, dst); break; src 8517 modules/imgproc/src/color.cpp case 12: cvtRGBtoYUV420p<2, 1>(src, dst); break; src 8518 modules/imgproc/src/color.cpp case 20: cvtRGBtoYUV420p<0, 2>(src, dst); break; src 8519 modules/imgproc/src/color.cpp case 22: cvtRGBtoYUV420p<2, 2>(src, dst); break; src 8545 modules/imgproc/src/color.cpp case 3000: cvtYUV422toRGB<0,0,0>(dst, (int)src.step, src.ptr<uchar>()); break; src 8546 modules/imgproc/src/color.cpp case 3001: cvtYUV422toRGB<0,0,1>(dst, (int)src.step, src.ptr<uchar>()); break; src 8547 modules/imgproc/src/color.cpp case 3010: cvtYUV422toRGB<0,1,0>(dst, (int)src.step, src.ptr<uchar>()); break; src 8548 modules/imgproc/src/color.cpp case 3011: cvtYUV422toRGB<0,1,1>(dst, (int)src.step, src.ptr<uchar>()); break; src 8549 modules/imgproc/src/color.cpp case 3200: cvtYUV422toRGB<2,0,0>(dst, (int)src.step, src.ptr<uchar>()); break; src 8550 modules/imgproc/src/color.cpp case 3201: cvtYUV422toRGB<2,0,1>(dst, (int)src.step, src.ptr<uchar>()); break; src 8551 modules/imgproc/src/color.cpp case 3210: cvtYUV422toRGB<2,1,0>(dst, (int)src.step, src.ptr<uchar>()); break; src 8552 modules/imgproc/src/color.cpp case 3211: cvtYUV422toRGB<2,1,1>(dst, (int)src.step, src.ptr<uchar>()); break; src 8553 modules/imgproc/src/color.cpp case 4000: cvtYUV422toRGBA<0,0,0>(dst, (int)src.step, src.ptr<uchar>()); break; src 8554 modules/imgproc/src/color.cpp case 4001: cvtYUV422toRGBA<0,0,1>(dst, (int)src.step, src.ptr<uchar>()); break; src 8555 modules/imgproc/src/color.cpp case 4010: cvtYUV422toRGBA<0,1,0>(dst, (int)src.step, src.ptr<uchar>()); break; src 8556 modules/imgproc/src/color.cpp case 4011: cvtYUV422toRGBA<0,1,1>(dst, (int)src.step, src.ptr<uchar>()); break; src 8557 modules/imgproc/src/color.cpp case 4200: cvtYUV422toRGBA<2,0,0>(dst, (int)src.step, src.ptr<uchar>()); break; src 8558 modules/imgproc/src/color.cpp case 4201: cvtYUV422toRGBA<2,0,1>(dst, (int)src.step, src.ptr<uchar>()); break; src 8559 modules/imgproc/src/color.cpp case 4210: cvtYUV422toRGBA<2,1,0>(dst, (int)src.step, src.ptr<uchar>()); break; src 8560 modules/imgproc/src/color.cpp case 4211: cvtYUV422toRGBA<2,1,1>(dst, (int)src.step, src.ptr<uchar>()); break; src 8588 modules/imgproc/src/color.cpp if (CvtColorIPPLoop(src, dst, IPPGeneralFunctor((ippiGeneralFunc)ippiAlphaPremul_8u_AC4R))) src 8596 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGBA2mRGBA<uchar>()); src 8613 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, mRGBA2RGBA<uchar>()); src 8628 modules/imgproc/src/color.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst0 = cv::cvarrToMat(dstarr), dst = dst0; src 8629 modules/imgproc/src/color.cpp CV_Assert( src.depth() == dst.depth() ); src 8631 modules/imgproc/src/color.cpp cv::cvtColor(src, dst, code, dst.channels()); src 44 modules/imgproc/src/colormap.cpp Mat src = _src.getMat(); src 46 modules/imgproc/src/colormap.cpp _dst.create(src.rows, src.cols, src.type()); src 49 modules/imgproc/src/colormap.cpp Mat originalRow = src.row(indices[idx]); src 55 modules/imgproc/src/colormap.cpp static Mat sortMatrixRowsByIndices(InputArray src, InputArray indices) src 58 modules/imgproc/src/colormap.cpp sortMatrixRowsByIndices(src, indices, dst); src 65 modules/imgproc/src/colormap.cpp Mat src = _src.getMat(); src 66 modules/imgproc/src/colormap.cpp if (src.rows != 1 && src.cols != 1) src 70 modules/imgproc/src/colormap.cpp sortIdx(src.reshape(1,1),sorted_indices,flags); src 153 modules/imgproc/src/colormap.cpp void operator()(InputArray src, OutputArray dst) const; src 500 modules/imgproc/src/colormap.cpp Mat src = _src.getMat(); src 502 modules/imgproc/src/colormap.cpp if(src.type() != CV_8UC1 && src.type() != CV_8UC3) src 504 modules/imgproc/src/colormap.cpp src.copyTo(_dst); src 508 modules/imgproc/src/colormap.cpp if(src.type() == CV_8UC3) src 509 modules/imgproc/src/colormap.cpp cvtColor(src.clone(), src, COLOR_BGR2GRAY); src 510 modules/imgproc/src/colormap.cpp cvtColor(src.clone(), src, COLOR_GRAY2BGR); src 512 modules/imgproc/src/colormap.cpp LUT(src, _lut, _dst); src 530 modules/imgproc/src/colormap.cpp void applyColorMap(InputArray src, OutputArray dst, int colormap) src 550 modules/imgproc/src/colormap.cpp (*cm)(src, dst); src 1293 modules/imgproc/src/contours.cpp icvFindContoursInInterval( const CvArr* src, src 1349 modules/imgproc/src/contours.cpp mat = cvGetMat( src, &stub ); src 267 modules/imgproc/src/corner.cpp cornerEigenValsVecs( const Mat& src, Mat& eigenv, int block_size, src 272 modules/imgproc/src/corner.cpp if (tegra::useTegra() && tegra::cornerEigenValsVecs(src, eigenv, block_size, aperture_size, op_type, k, borderType)) src 279 modules/imgproc/src/corner.cpp int depth = src.depth(); src 287 modules/imgproc/src/corner.cpp CV_Assert( src.type() == CV_8UC1 || src.type() == CV_32FC1 ); src 292 modules/imgproc/src/corner.cpp Sobel( src, Dx, CV_32F, 1, 0, aperture_size, scale, 0, borderType ); src 293 modules/imgproc/src/corner.cpp Sobel( src, Dy, CV_32F, 0, 1, aperture_size, scale, 0, borderType ); src 297 modules/imgproc/src/corner.cpp Scharr( src, Dx, CV_32F, 1, 0, scale, 0, borderType ); src 298 modules/imgproc/src/corner.cpp Scharr( src, Dy, CV_32F, 0, 1, scale, 0, borderType ); src 301 modules/imgproc/src/corner.cpp Size size = src.size(); src 381 modules/imgproc/src/corner.cpp UMat src = _src.getUMat(); src 385 modules/imgproc/src/corner.cpp src.locateROI(wholeSize, ofs); src 394 modules/imgproc/src/corner.cpp Dx.create(src.size(), CV_32FC1); src 395 modules/imgproc/src/corner.cpp Dy.create(src.size(), CV_32FC1); src 398 modules/imgproc/src/corner.cpp size_t globalsize[2] = { localsize[0] * (1 + (src.cols - 1) / localsize[0]), src 399 modules/imgproc/src/corner.cpp localsize[1] * (1 + (src.rows - 1) / localsize[1]) }; src 401 modules/imgproc/src/corner.cpp int src_offset_x = (int)((src.offset % src.step) / src.elemSize()); src 402 modules/imgproc/src/corner.cpp int src_offset_y = (int)(src.offset / src.step); src 414 modules/imgproc/src/corner.cpp k.args(ocl::KernelArg::PtrReadOnly(src), (int)src.step, src_offset_x, src_offset_y, src 531 modules/imgproc/src/corner.cpp Mat src = _src.getMat(); src 532 modules/imgproc/src/corner.cpp _dst.create( src.size(), CV_32FC1 ); src 551 modules/imgproc/src/corner.cpp if ((borderTypeNI == BORDER_REPLICATE && (!src.isSubmatrix() || isolated)) && src 558 modules/imgproc/src/corner.cpp if (src.type() == CV_8UC1) src 563 modules/imgproc/src/corner.cpp } else if (src.type() == CV_32FC1) src 574 modules/imgproc/src/corner.cpp IppiSize srcRoi = { src.cols, src.rows }; src 579 modules/imgproc/src/corner.cpp ok = minEigenValFunc(src.ptr(), (int) src.step, dst.ptr<Ipp32f>(), (int) dst.step, srcRoi, kerType, kerSize, blockSize, buffer); src 594 modules/imgproc/src/corner.cpp cornerEigenValsVecs( src, dst, blockSize, ksize, MINEIGENVAL, 0, borderType ); src 602 modules/imgproc/src/corner.cpp Mat src = _src.getMat(); src 603 modules/imgproc/src/corner.cpp _dst.create( src.size(), CV_32FC1 ); src 609 modules/imgproc/src/corner.cpp int type = src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); src 614 modules/imgproc/src/corner.cpp (borderTypeNI == BORDER_CONSTANT || borderTypeNI == BORDER_REPLICATE) && cn == 1 && (!src.isSubmatrix() || isolated) ) src 616 modules/imgproc/src/corner.cpp IppiSize roisize = { src.cols, src.rows }; src 636 modules/imgproc/src/corner.cpp status = ippiHarrisCorner_8u32f_C1R((const Ipp8u *)src.data, (int)src.step, (Ipp32f *)dst.data, (int)dst.step, roisize, src 639 modules/imgproc/src/corner.cpp status = ippiHarrisCorner_32f_C1R((const Ipp32f *)src.data, (int)src.step, (Ipp32f *)dst.data, (int)dst.step, roisize, src 654 modules/imgproc/src/corner.cpp cornerEigenValsVecs( src, dst, blockSize, ksize, HARRIS, k, borderType ); src 660 modules/imgproc/src/corner.cpp Mat src = _src.getMat(); src 664 modules/imgproc/src/corner.cpp if( dsz.height != src.rows || dsz.width*CV_MAT_CN(dtype) != src.cols*6 || CV_MAT_DEPTH(dtype) != CV_32F ) src 665 modules/imgproc/src/corner.cpp _dst.create( src.size(), CV_32FC(6) ); src 667 modules/imgproc/src/corner.cpp cornerEigenValsVecs( src, dst, blockSize, ksize, EIGENVALSVECS, 0, borderType ); src 679 modules/imgproc/src/corner.cpp Mat Dx, Dy, D2x, D2y, Dxy, src = _src.getMat(); src 680 modules/imgproc/src/corner.cpp _dst.create( src.size(), CV_32FC1 ); src 683 modules/imgproc/src/corner.cpp Sobel( src, Dx, CV_32F, 1, 0, ksize, 1, 0, borderType ); src 684 modules/imgproc/src/corner.cpp Sobel( src, Dy, CV_32F, 0, 1, ksize, 1, 0, borderType ); src 685 modules/imgproc/src/corner.cpp Sobel( src, D2x, CV_32F, 2, 0, ksize, 1, 0, borderType ); src 686 modules/imgproc/src/corner.cpp Sobel( src, D2y, CV_32F, 0, 2, ksize, 1, 0, borderType ); src 687 modules/imgproc/src/corner.cpp Sobel( src, Dxy, CV_32F, 1, 1, ksize, 1, 0, borderType ); src 690 modules/imgproc/src/corner.cpp if( src.depth() == CV_8U ) src 702 modules/imgproc/src/corner.cpp Size size = src.size(); src 754 modules/imgproc/src/corner.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 756 modules/imgproc/src/corner.cpp CV_Assert( src.size() == dst.size() && dst.type() == CV_32FC1 ); src 757 modules/imgproc/src/corner.cpp cv::cornerMinEigenVal( src, dst, block_size, aperture_size, cv::BORDER_REPLICATE ); src 764 modules/imgproc/src/corner.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 766 modules/imgproc/src/corner.cpp CV_Assert( src.size() == dst.size() && dst.type() == CV_32FC1 ); src 767 modules/imgproc/src/corner.cpp cv::cornerHarris( src, dst, block_size, aperture_size, k, cv::BORDER_REPLICATE ); src 775 modules/imgproc/src/corner.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 777 modules/imgproc/src/corner.cpp CV_Assert( src.rows == dst.rows && src.cols*6 == dst.cols*dst.channels() && dst.depth() == CV_32F ); src 778 modules/imgproc/src/corner.cpp cv::cornerEigenValsAndVecs( src, dst, block_size, aperture_size, cv::BORDER_REPLICATE ); src 785 modules/imgproc/src/corner.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 787 modules/imgproc/src/corner.cpp CV_Assert( src.size() == dst.size() && dst.type() == CV_32FC1 ); src 788 modules/imgproc/src/corner.cpp cv::preCornerDetect( src, dst, aperture_size, cv::BORDER_REPLICATE ); src 54 modules/imgproc/src/cornersubpix.cpp cv::Mat src = _image.getMat(), cornersmat = _corners.getMat(); src 63 modules/imgproc/src/cornersubpix.cpp CV_Assert( src.cols >= win.width*2 + 5 && src.rows >= win.height*2 + 5 ); src 64 modules/imgproc/src/cornersubpix.cpp CV_Assert( src.channels() == 1 ); src 105 modules/imgproc/src/cornersubpix.cpp getRectSubPix(src, Size(win_w+2, win_h+2), cI, subpix_buf, subpix_buf.type()); src 142 modules/imgproc/src/cornersubpix.cpp if( cI.x < 0 || cI.x >= src.cols || cI.y < 0 || cI.y >= src.rows ) src 165 modules/imgproc/src/cornersubpix.cpp cv::Mat src = cv::cvarrToMat(srcarr), corners(count, 1, CV_32FC2, _corners); src 166 modules/imgproc/src/cornersubpix.cpp cv::cornerSubPix(src, corners, win, zeroZone, criteria); src 1475 modules/imgproc/src/demosaicing.cpp src(_src), dst(_dst), size(_size), Blue(_blue), Start_with_green(_start_with_green) src 1484 modules/imgproc/src/demosaicing.cpp int sstep = int(src.step / src.elemSize1()), dstep = int(dst.step / dst.elemSize1()); src 1487 modules/imgproc/src/demosaicing.cpp const T* S = src.ptr<T>(range.start + 1) + 1; src 1561 modules/imgproc/src/demosaicing.cpp Mat src; src 1568 modules/imgproc/src/demosaicing.cpp static void Bayer2RGB_EdgeAware_T(const Mat& src, Mat& dst, int code) src 1570 modules/imgproc/src/demosaicing.cpp Size size = src.size(); src 1587 modules/imgproc/src/demosaicing.cpp Bayer2RGB_EdgeAware_T_Invoker<T, SIMDInterpolator> invoker(src, dst, size, blue, start_with_green); src 1618 modules/imgproc/src/demosaicing.cpp Mat src = _src.getMat(), dst; src 1619 modules/imgproc/src/demosaicing.cpp Size sz = src.size(); src 1620 modules/imgproc/src/demosaicing.cpp int scn = src.channels(), depth = src.depth(); src 1623 modules/imgproc/src/demosaicing.cpp CV_Assert(!src.empty()); src 1636 modules/imgproc/src/demosaicing.cpp Bayer2Gray_<uchar, SIMDBayerInterpolator_8u>(src, dst, code); src 1638 modules/imgproc/src/demosaicing.cpp Bayer2Gray_<ushort, SIMDBayerStubInterpolator_<ushort> >(src, dst, code); src 1657 modules/imgproc/src/demosaicing.cpp Bayer2RGB_<uchar, SIMDBayerInterpolator_8u>(src, dst_, code); src 1659 modules/imgproc/src/demosaicing.cpp Bayer2RGB_<ushort, SIMDBayerStubInterpolator_<ushort> >(src, dst_, code); src 1666 modules/imgproc/src/demosaicing.cpp Bayer2RGB_VNG_8u(src, dst_, code); src 1680 modules/imgproc/src/demosaicing.cpp Bayer2RGB_EdgeAware_T<uchar, SIMDBayerInterpolator_8u>(src, dst, code); src 1682 modules/imgproc/src/demosaicing.cpp Bayer2RGB_EdgeAware_T<ushort, SIMDBayerStubInterpolator_<ushort> >(src, dst, code); src 209 modules/imgproc/src/deriv.cpp Mat src = _src.getMat(); src 213 modules/imgproc/src/deriv.cpp src.locateROI(size, offset); src 218 modules/imgproc/src/deriv.cpp if (offset.x + src.cols < size.width) src 220 modules/imgproc/src/deriv.cpp if (offset.y + src.rows < size.height) src 225 modules/imgproc/src/deriv.cpp IppiSize roiSize = {src.cols, src.rows}; src 240 modules/imgproc/src/deriv.cpp sts = ippiFilterScharrHorizMaskBorder_8u16s_C1R(src.ptr(), (int)src.step, dst.ptr<Ipp16s>(), (int)dst.step, roiSize, ippMskSize3x3, ippiBorderType, 0, pBuffer); src 249 modules/imgproc/src/deriv.cpp sts = ippiFilterScharrVertMaskBorder_8u16s_C1R(src.ptr(), (int)src.step, dst.ptr<Ipp16s>(), (int)dst.step, roiSize, ippMskSize3x3, ippiBorderType, 0, pBuffer); src 263 modules/imgproc/src/deriv.cpp sts = ippiFilterScharrHorizMaskBorder_16s_C1R(src.ptr<Ipp16s>(), (int)src.step, dst.ptr<Ipp16s>(), (int)dst.step, roiSize, ippMskSize3x3, ippiBorderType, 0, pBuffer); src 272 modules/imgproc/src/deriv.cpp sts = ippiFilterScharrVertMaskBorder_16s_C1R(src.ptr<Ipp16s>(), (int)src.step, dst.ptr<Ipp16s>(), (int)dst.step, roiSize, ippMskSize3x3, ippiBorderType, 0, pBuffer); src 286 modules/imgproc/src/deriv.cpp sts = ippiFilterScharrHorizMaskBorder_32f_C1R(src.ptr<Ipp32f>(), (int)src.step, dst.ptr<Ipp32f>(), (int)dst.step, roiSize, ippMskSize3x3, ippiBorderType, 0, pBuffer); src 295 modules/imgproc/src/deriv.cpp sts = ippiFilterScharrVertMaskBorder_32f_C1R(src.ptr<Ipp32f>(), (int)src.step, dst.ptr<Ipp32f>(), (int)dst.step, roiSize, ippMskSize3x3, ippiBorderType, 0, pBuffer); src 316 modules/imgproc/src/deriv.cpp Mat src = _src.getMat(), dst = _dst.getMat(); src 320 modules/imgproc/src/deriv.cpp IppiSize roi = ippiSize(src.cols, src.rows); src 323 modules/imgproc/src/deriv.cpp ddepth = src.depth(); src 325 modules/imgproc/src/deriv.cpp dst.create( src.size(), CV_MAKETYPE(ddepth, src.channels()) ); src 327 modules/imgproc/src/deriv.cpp switch(src.type()) src 343 modules/imgproc/src/deriv.cpp return (0 <= ippiFilterScharrVertBorder_8u16s_C1R(src.ptr<Ipp8u>(), (int)src.step, src 351 modules/imgproc/src/deriv.cpp return (0 <= ippiFilterScharrHorizBorder_8u16s_C1R(src.ptr<Ipp8u>(), (int)src.step, src 368 modules/imgproc/src/deriv.cpp if (0 > ippiFilterScharrVertGetBufferSize_32f_C1R(ippiSize(src.cols, src.rows),&bufSize)) src 372 modules/imgproc/src/deriv.cpp if (0 > ippiFilterScharrVertBorder_32f_C1R(src.ptr<Ipp32f>(), (int)src.step, src 373 modules/imgproc/src/deriv.cpp dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(src.cols, src.rows), src 387 modules/imgproc/src/deriv.cpp if (0 > ippiFilterScharrHorizGetBufferSize_32f_C1R(ippiSize(src.cols, src.rows),&bufSize)) src 391 modules/imgproc/src/deriv.cpp if (0 > ippiFilterScharrHorizBorder_32f_C1R(src.ptr<Ipp32f>(), (int)src.step, src 392 modules/imgproc/src/deriv.cpp dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(src.cols, src.rows), src 422 modules/imgproc/src/deriv.cpp Mat src = _src.getMat(), dst = _dst.getMat(); src 424 modules/imgproc/src/deriv.cpp ddepth = src.depth(); src 426 modules/imgproc/src/deriv.cpp if (src.type() == CV_8U && dst.type() == CV_16S && scale == 1) src 430 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelNegVertGetBufferSize_8u16s_C1R(ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize),&bufSize)) src 434 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelNegVertBorder_8u16s_C1R(src.ptr<Ipp8u>(), (int)src.step, src 435 modules/imgproc/src/deriv.cpp dst.ptr<Ipp16s>(), (int)dst.step, ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize), src 443 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelHorizGetBufferSize_8u16s_C1R(ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize),&bufSize)) src 447 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelHorizBorder_8u16s_C1R(src.ptr<Ipp8u>(), (int)src.step, src 448 modules/imgproc/src/deriv.cpp dst.ptr<Ipp16s>(), (int)dst.step, ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize), src 457 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelVertSecondGetBufferSize_8u16s_C1R(ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize),&bufSize)) src 461 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelVertSecondBorder_8u16s_C1R(src.ptr<Ipp8u>(), (int)src.step, src 462 modules/imgproc/src/deriv.cpp dst.ptr<Ipp16s>(), (int)dst.step, ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize), src 470 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelHorizSecondGetBufferSize_8u16s_C1R(ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize),&bufSize)) src 474 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelHorizSecondBorder_8u16s_C1R(src.ptr<Ipp8u>(), (int)src.step, src 475 modules/imgproc/src/deriv.cpp dst.ptr<Ipp16s>(), (int)dst.step, ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize), src 483 modules/imgproc/src/deriv.cpp if (src.type() == CV_32F && dst.type() == CV_32F) src 488 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelNegVertGetBufferSize_32f_C1R(ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize), &bufSize)) src 492 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelNegVertBorder_32f_C1R(src.ptr<Ipp32f>(), (int)src.step, src 493 modules/imgproc/src/deriv.cpp dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize), src 503 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelHorizGetBufferSize_32f_C1R(ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize),&bufSize)) src 506 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelHorizBorder_32f_C1R(src.ptr<Ipp32f>(), (int)src.step, src 507 modules/imgproc/src/deriv.cpp dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize), src 518 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelVertSecondGetBufferSize_32f_C1R(ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize),&bufSize)) src 522 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelVertSecondBorder_32f_C1R(src.ptr<Ipp32f>(), (int)src.step, src 523 modules/imgproc/src/deriv.cpp dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize), src 533 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelHorizSecondGetBufferSize_32f_C1R(ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize),&bufSize)) src 537 modules/imgproc/src/deriv.cpp if (0 > ippiFilterSobelHorizSecondBorder_32f_C1R(src.ptr<Ipp32f>(), (int)src.step, src 538 modules/imgproc/src/deriv.cpp dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(src.cols, src.rows), (IppiMaskSize)(ksize*10+ksize), src 567 modules/imgproc/src/deriv.cpp Mat src = _src.getMat(), dst = _dst.getMat(); src 568 modules/imgproc/src/deriv.cpp if (ksize == 3 && tegra::sobel3x3(src, dst, dx, dy, borderType)) src 570 modules/imgproc/src/deriv.cpp if (ksize == -1 && tegra::scharr(src, dst, dx, dy, borderType)) src 625 modules/imgproc/src/deriv.cpp Mat src = _src.getMat(), dst = _dst.getMat(); src 626 modules/imgproc/src/deriv.cpp if (tegra::scharr(src, dst, dx, dy, borderType)) src 742 modules/imgproc/src/deriv.cpp UMat src = _src.getUMat(); src 749 modules/imgproc/src/deriv.cpp src.locateROI(wholeSize, origin); src 751 modules/imgproc/src/deriv.cpp k.args(ocl::KernelArg::PtrReadOnly(src), (int)src_step, src_offset_x, src_offset_y, src 820 modules/imgproc/src/deriv.cpp Mat src = _src.getMat(), dst = _dst.getMat(); src 822 modules/imgproc/src/deriv.cpp if (src.data != dst.data) src 826 modules/imgproc/src/deriv.cpp IppiSize roisize = { src.cols, src.rows }; src 836 modules/imgproc/src/deriv.cpp status = ippiFilterLaplacianBorder_##ippfavor##_C1R(src.ptr<ippsrctype>(), (int)src.step, dst.ptr<ippdsttype>(), \ src 878 modules/imgproc/src/deriv.cpp Mat src = _src.getMat(), dst = _dst.getMat(); src 879 modules/imgproc/src/deriv.cpp if (ksize == 1 && tegra::laplace1(src, dst, borderType)) src 881 modules/imgproc/src/deriv.cpp if (ksize == 3 && tegra::laplace3(src, dst, borderType)) src 883 modules/imgproc/src/deriv.cpp if (ksize == 5 && tegra::laplace5(src, dst, borderType)) src 918 modules/imgproc/src/deriv.cpp Mat src = _src.getMat(), dst = _dst.getMat(); src 919 modules/imgproc/src/deriv.cpp int y = fx->start(src), dsty = 0, dy = 0; src 920 modules/imgproc/src/deriv.cpp fy->start(src); src 921 modules/imgproc/src/deriv.cpp const uchar* sptr = src.ptr(y); src 923 modules/imgproc/src/deriv.cpp int dy0 = std::min(std::max((int)(STRIPE_SIZE/(CV_ELEM_SIZE(stype)*src.cols)), 1), src.rows); src 924 modules/imgproc/src/deriv.cpp Mat d2x( dy0 + kd.rows - 1, src.cols, wtype ); src 925 modules/imgproc/src/deriv.cpp Mat d2y( dy0 + kd.rows - 1, src.cols, wtype ); src 927 modules/imgproc/src/deriv.cpp for( ; dsty < src.rows; sptr += dy0*src.step, dsty += dy ) src 929 modules/imgproc/src/deriv.cpp fx->proceed( sptr, (int)src.step, dy0, d2x.ptr(), (int)d2x.step ); src 930 modules/imgproc/src/deriv.cpp dy = fy->proceed( sptr, (int)src.step, dy0, d2y.ptr(), (int)d2y.step ); src 947 modules/imgproc/src/deriv.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 949 modules/imgproc/src/deriv.cpp CV_Assert( src.size() == dst.size() && src.channels() == dst.channels() ); src 951 modules/imgproc/src/deriv.cpp cv::Sobel( src, dst, dst.depth(), dx, dy, aperture_size, 1, 0, cv::BORDER_REPLICATE ); src 960 modules/imgproc/src/deriv.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 962 modules/imgproc/src/deriv.cpp CV_Assert( src.size() == dst.size() && src.channels() == dst.channels() ); src 964 modules/imgproc/src/deriv.cpp cv::Laplacian( src, dst, dst.depth(), aperture_size, 1, 0, cv::BORDER_REPLICATE ); src 78 modules/imgproc/src/distransform.cpp const uchar* src = _src.ptr(); src 81 modules/imgproc/src/distransform.cpp int srcstep = (int)(_src.step/sizeof(src[0])); src 91 modules/imgproc/src/distransform.cpp const uchar* s = src + i*srcstep; src 152 modules/imgproc/src/distransform.cpp const uchar* src = _src.ptr(); src 155 modules/imgproc/src/distransform.cpp int srcstep = (int)(_src.step/sizeof(src[0])); src 165 modules/imgproc/src/distransform.cpp const uchar* s = src + i*srcstep; src 243 modules/imgproc/src/distransform.cpp const uchar* src = _src.ptr(); src 247 modules/imgproc/src/distransform.cpp int srcstep = (int)(_src.step/sizeof(src[0])); src 258 modules/imgproc/src/distransform.cpp const uchar* s = src + i*srcstep; src 449 modules/imgproc/src/distransform.cpp src = _src; src 451 modules/imgproc/src/distransform.cpp sat_tab = _sat_tab + src->rows*2 + 1; src 458 modules/imgproc/src/distransform.cpp int m = src->rows; src 459 modules/imgproc/src/distransform.cpp size_t sstep = src->step, dstep = dst->step/sizeof(float); src 465 modules/imgproc/src/distransform.cpp const uchar* sptr = src->ptr(m-1) + i; src 485 modules/imgproc/src/distransform.cpp const Mat* src; src 556 modules/imgproc/src/distransform.cpp trueDistTrans( const Mat& src, Mat& dst ) src 560 modules/imgproc/src/distransform.cpp CV_Assert( src.size() == dst.size() ); src 562 modules/imgproc/src/distransform.cpp CV_Assert( src.type() == CV_8UC1 && dst.type() == CV_32FC1 ); src 563 modules/imgproc/src/distransform.cpp int i, m = src.rows, n = src.cols; src 580 modules/imgproc/src/distransform.cpp cv::parallel_for_(cv::Range(0, n), cv::DTColumnInvoker(&src, &dst, sat_tab, sqr_tab), src.total()/(double)(1<<16)); src 604 modules/imgproc/src/distransform.cpp distanceATS_L1_8u( const Mat& src, Mat& dst ) src 606 modules/imgproc/src/distransform.cpp int width = src.cols, height = src.rows; src 612 modules/imgproc/src/distransform.cpp const uchar *sbase = src.ptr(); src 614 modules/imgproc/src/distransform.cpp int srcstep = (int)src.step; src 617 modules/imgproc/src/distransform.cpp CV_Assert( src.type() == CV_8UC1 && dst.type() == CV_8UC1 ); src 618 modules/imgproc/src/distransform.cpp CV_Assert( src.size() == dst.size() ); src 684 modules/imgproc/src/distransform.cpp Mat src = _src.getMat(); src 686 modules/imgproc/src/distransform.cpp CV_Assert( src.type() == CV_8UC1); src 688 modules/imgproc/src/distransform.cpp _dst.create( src.size(), CV_8UC1); src 694 modules/imgproc/src/distransform.cpp IppiSize roi = { src.cols, src.rows }; src 696 modules/imgproc/src/distransform.cpp if (ippiDistanceTransform_3x3_8u_C1R(src.ptr<uchar>(), (int)src.step, dst.ptr<uchar>(), (int)dst.step, roi, pMetrics)>=0) src 705 modules/imgproc/src/distransform.cpp distanceATS_L1_8u(src, dst); src 713 modules/imgproc/src/distransform.cpp Mat src = _src.getMat(), labels; src 716 modules/imgproc/src/distransform.cpp CV_Assert( src.type() == CV_8UC1); src 718 modules/imgproc/src/distransform.cpp _dst.create( src.size(), CV_32F); src 725 modules/imgproc/src/distransform.cpp _labels.create(src.size(), CV_32S); src 746 modules/imgproc/src/distransform.cpp if ((currentParallelFramework()==NULL) || (src.total()<(int)(1<<14))) src 749 modules/imgproc/src/distransform.cpp IppiSize roi = { src.cols, src.rows }; src 757 modules/imgproc/src/distransform.cpp status = ippiTrueDistanceTransform_8u32f_C1R(src.ptr<uchar>(),(int)src.step, dst.ptr<float>(), (int)dst.step, roi, pBuffer); src 770 modules/imgproc/src/distransform.cpp trueDistTrans( src, dst ); src 779 modules/imgproc/src/distransform.cpp Size size = src.size(); src 791 modules/imgproc/src/distransform.cpp IppiSize roi = { src.cols, src.rows }; src 792 modules/imgproc/src/distransform.cpp if (ippiDistanceTransform_3x3_8u32f_C1R(src.ptr<uchar>(), (int)src.step, dst.ptr<float>(), (int)dst.step, roi, _mask)>=0) src 801 modules/imgproc/src/distransform.cpp distanceTransform_3x3(src, temp, dst, _mask); src 808 modules/imgproc/src/distransform.cpp IppiSize roi = { src.cols, src.rows }; src 809 modules/imgproc/src/distransform.cpp if (ippiDistanceTransform_5x5_8u32f_C1R(src.ptr<uchar>(), (int)src.step, dst.ptr<float>(), (int)dst.step, roi, _mask)>=0) src 818 modules/imgproc/src/distransform.cpp distanceTransform_5x5(src, temp, dst, _mask); src 827 modules/imgproc/src/distransform.cpp Mat zpix = src == 0; src 833 modules/imgproc/src/distransform.cpp for( int i = 0; i < src.rows; i++ ) src 835 modules/imgproc/src/distransform.cpp const uchar* srcptr = src.ptr(i); src 838 modules/imgproc/src/distransform.cpp for( int j = 0; j < src.cols; j++ ) src 844 modules/imgproc/src/distransform.cpp distanceTransformEx_5x5( src, temp, dst, labels, _mask ); src 864 modules/imgproc/src/distransform.cpp cv::Mat src = cv::cvarrToMat(srcarr); src 868 modules/imgproc/src/distransform.cpp cv::distanceTransform(src, dst, labelsarr ? cv::_OutputArray(labels) : cv::_OutputArray(), src 263 modules/imgproc/src/filter.cpp int FilterEngine::start(const Mat& src, const Rect& _srcRoi, src 269 modules/imgproc/src/filter.cpp srcRoi = Rect(0,0,src.cols,src.rows); src 273 modules/imgproc/src/filter.cpp srcRoi.x + srcRoi.width <= src.cols && src 274 modules/imgproc/src/filter.cpp srcRoi.y + srcRoi.height <= src.rows ); src 277 modules/imgproc/src/filter.cpp Size wsz(src.cols, src.rows); src 279 modules/imgproc/src/filter.cpp src.locateROI( wsz, ofs ); src 296 modules/imgproc/src/filter.cpp int FilterEngine::proceed( const uchar* src, int srcstep, int count, src 315 modules/imgproc/src/filter.cpp src -= xofs1*esz; src 318 modules/imgproc/src/filter.cpp CV_Assert( src && dst && count > 0 ); src 326 modules/imgproc/src/filter.cpp for( ; dcount-- > 0; src += srcstep ) src 338 modules/imgproc/src/filter.cpp memcpy( row + _dx1*esz, src, (width1 - _dx2 - _dx1)*esz ); src 344 modules/imgproc/src/filter.cpp const int* isrc = (const int*)src; src 355 modules/imgproc/src/filter.cpp row[i] = src[btab[i]]; src 357 modules/imgproc/src/filter.cpp row[i + (width1 - _dx2)*esz] = src[btab[i+_dx1*esz]]; src 396 modules/imgproc/src/filter.cpp void FilterEngine::apply(const Mat& src, Mat& dst, src 399 modules/imgproc/src/filter.cpp CV_Assert( src.type() == srcType && dst.type() == dstType ); src 403 modules/imgproc/src/filter.cpp srcRoi = Rect(0,0,src.cols,src.rows); src 412 modules/imgproc/src/filter.cpp int y = start(src, srcRoi, isolated); src 413 modules/imgproc/src/filter.cpp proceed( src.ptr() + y*src.step + srcRoi.x*src.elemSize(), src 414 modules/imgproc/src/filter.cpp (int)src.step, endY - startY, src 538 modules/imgproc/src/filter.cpp const uchar* src = _src + i; src 542 modules/imgproc/src/filter.cpp for( k = 0; k < _ksize; k++, src += cn ) src 548 modules/imgproc/src/filter.cpp x0 = _mm_loadu_si128((const __m128i*)src); src 570 modules/imgproc/src/filter.cpp const uchar* src = _src + i; src 573 modules/imgproc/src/filter.cpp for( k = 0; k < _ksize; k++, src += cn ) src 579 modules/imgproc/src/filter.cpp x0 = _mm_cvtsi32_si128(*(const int*)src); src 616 modules/imgproc/src/filter.cpp int operator()(const uchar* src, uchar* _dst, int width, int cn) const src 628 modules/imgproc/src/filter.cpp src += (_ksize/2)*cn; src 639 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16, src += 16 ) src 642 modules/imgproc/src/filter.cpp x0 = _mm_loadu_si128((__m128i*)(src - cn)); src 643 modules/imgproc/src/filter.cpp x1 = _mm_loadu_si128((__m128i*)src); src 644 modules/imgproc/src/filter.cpp x2 = _mm_loadu_si128((__m128i*)(src + cn)); src 659 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16, src += 16 ) src 662 modules/imgproc/src/filter.cpp x0 = _mm_loadu_si128((__m128i*)(src - cn)); src 663 modules/imgproc/src/filter.cpp x1 = _mm_loadu_si128((__m128i*)src); src 664 modules/imgproc/src/filter.cpp x2 = _mm_loadu_si128((__m128i*)(src + cn)); src 685 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16, src += 16 ) src 688 modules/imgproc/src/filter.cpp x0 = _mm_loadu_si128((__m128i*)(src - cn)); src 689 modules/imgproc/src/filter.cpp x1 = _mm_loadu_si128((__m128i*)src); src 690 modules/imgproc/src/filter.cpp x2 = _mm_loadu_si128((__m128i*)(src + cn)); src 723 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16, src += 16 ) src 726 modules/imgproc/src/filter.cpp x0 = _mm_loadu_si128((__m128i*)(src - cn*2)); src 727 modules/imgproc/src/filter.cpp x1 = _mm_loadu_si128((__m128i*)src); src 728 modules/imgproc/src/filter.cpp x2 = _mm_loadu_si128((__m128i*)(src + cn*2)); src 751 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16, src += 16 ) src 754 modules/imgproc/src/filter.cpp x0 = _mm_loadu_si128((__m128i*)(src - cn)); src 755 modules/imgproc/src/filter.cpp x1 = _mm_loadu_si128((__m128i*)src); src 756 modules/imgproc/src/filter.cpp x2 = _mm_loadu_si128((__m128i*)(src + cn)); src 780 modules/imgproc/src/filter.cpp x0 = _mm_loadu_si128((__m128i*)(src - cn*2)); src 781 modules/imgproc/src/filter.cpp x1 = _mm_loadu_si128((__m128i*)(src + cn*2)); src 807 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16, src += 16 ) src 810 modules/imgproc/src/filter.cpp x0 = _mm_loadu_si128((__m128i*)(src + cn)); src 811 modules/imgproc/src/filter.cpp x1 = _mm_loadu_si128((__m128i*)(src - cn)); src 824 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16, src += 16 ) src 827 modules/imgproc/src/filter.cpp x0 = _mm_loadu_si128((__m128i*)(src + cn)); src 828 modules/imgproc/src/filter.cpp x1 = _mm_loadu_si128((__m128i*)(src - cn)); src 857 modules/imgproc/src/filter.cpp for( ; i <= width - 16; i += 16, src += 16 ) src 860 modules/imgproc/src/filter.cpp x0 = _mm_loadu_si128((__m128i*)(src + cn)); src 861 modules/imgproc/src/filter.cpp x2 = _mm_loadu_si128((__m128i*)(src - cn)); src 874 modules/imgproc/src/filter.cpp x0 = _mm_loadu_si128((__m128i*)(src + cn*2)); src 875 modules/imgproc/src/filter.cpp x1 = _mm_loadu_si128((__m128i*)(src - cn*2)); src 896 modules/imgproc/src/filter.cpp src -= (_ksize/2)*cn; src 898 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4, src += 4 ) src 908 modules/imgproc/src/filter.cpp x0 = _mm_cvtsi32_si128(*(const int*)(src + j)); src 946 modules/imgproc/src/filter.cpp const int** src = (const int**)_src; src 958 modules/imgproc/src/filter.cpp S = (const __m128i*)(src[0] + i); src 970 modules/imgproc/src/filter.cpp S = (const __m128i*)(src[k] + i); src 971 modules/imgproc/src/filter.cpp S2 = (const __m128i*)(src[-k] + i); src 995 modules/imgproc/src/filter.cpp __m128 s0 = _mm_cvtepi32_ps(_mm_load_si128((const __m128i*)(src[0] + i))); src 1000 modules/imgproc/src/filter.cpp S = (const __m128i*)(src[k] + i); src 1001 modules/imgproc/src/filter.cpp S2 = (const __m128i*)(src[-k] + i); src 1023 modules/imgproc/src/filter.cpp S = (const __m128i*)(src[k] + i); src 1024 modules/imgproc/src/filter.cpp S2 = (const __m128i*)(src[-k] + i); src 1050 modules/imgproc/src/filter.cpp S = (const __m128i*)(src[k] + i); src 1051 modules/imgproc/src/filter.cpp S2 = (const __m128i*)(src[-k] + i); src 1094 modules/imgproc/src/filter.cpp const int** src = (const int**)_src; src 1095 modules/imgproc/src/filter.cpp const int *S0 = src[-1], *S1 = src[0], *S2 = src[1]; src 1229 modules/imgproc/src/filter.cpp const short* src = (const short*)_src + i; src 1231 modules/imgproc/src/filter.cpp for( k = 0; k < _ksize; k++, src += cn ) src 1236 modules/imgproc/src/filter.cpp __m128i x0i = _mm_loadu_si128((const __m128i*)src); src 1276 modules/imgproc/src/filter.cpp const float** src = (const float**)_src; src 1289 modules/imgproc/src/filter.cpp S = src[0] + i; src 1301 modules/imgproc/src/filter.cpp S = src[k] + i; src 1302 modules/imgproc/src/filter.cpp S2 = src[-k] + i; src 1328 modules/imgproc/src/filter.cpp __m128 x0, s0 = _mm_load_ps(src[0] + i); src 1335 modules/imgproc/src/filter.cpp S = src[k] + i; src 1336 modules/imgproc/src/filter.cpp S2 = src[-k] + i; src 1337 modules/imgproc/src/filter.cpp x0 = _mm_add_ps(_mm_load_ps(src[k]+i), _mm_load_ps(src[-k] + i)); src 1351 modules/imgproc/src/filter.cpp S = src[0] + i; src 1355 modules/imgproc/src/filter.cpp S = src[k] + i; src 1356 modules/imgproc/src/filter.cpp S2 = src[-k] + i; src 1386 modules/imgproc/src/filter.cpp x0 = _mm_sub_ps(_mm_load_ps(src[k]+i), _mm_load_ps(src[-k] + i)); src 1446 modules/imgproc/src/filter.cpp const float* src = src0 + i; src 1448 modules/imgproc/src/filter.cpp for( k = 0; k < _ksize; k++, src += cn ) src 1453 modules/imgproc/src/filter.cpp x0 = _mm_loadu_ps(src); src 1454 modules/imgproc/src/filter.cpp x1 = _mm_loadu_ps(src + 4); src 1475 modules/imgproc/src/filter.cpp const float* src = (const float*)_src; src 1492 modules/imgproc/src/filter.cpp if( (cn == 1 && ippiFilterRowBorderPipeline_32f_C1R(src, step, &dst, roisz, _kx, _ksize, 0, src 1494 modules/imgproc/src/filter.cpp (cn == 3 && ippiFilterRowBorderPipeline_32f_C3R(src, step, &dst, roisz, _kx, _ksize, 0, src 1523 modules/imgproc/src/filter.cpp const float* src = (const float*)_src + (_ksize/2)*cn; src 1535 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) src 1538 modules/imgproc/src/filter.cpp x0 = _mm_loadu_ps(src - cn); src 1539 modules/imgproc/src/filter.cpp x1 = _mm_loadu_ps(src); src 1540 modules/imgproc/src/filter.cpp x2 = _mm_loadu_ps(src + cn); src 1541 modules/imgproc/src/filter.cpp y0 = _mm_loadu_ps(src - cn + 4); src 1542 modules/imgproc/src/filter.cpp y1 = _mm_loadu_ps(src + 4); src 1543 modules/imgproc/src/filter.cpp y2 = _mm_loadu_ps(src + cn + 4); src 1550 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) src 1553 modules/imgproc/src/filter.cpp x0 = _mm_loadu_ps(src - cn); src 1554 modules/imgproc/src/filter.cpp x1 = _mm_loadu_ps(src); src 1555 modules/imgproc/src/filter.cpp x2 = _mm_loadu_ps(src + cn); src 1556 modules/imgproc/src/filter.cpp y0 = _mm_loadu_ps(src - cn + 4); src 1557 modules/imgproc/src/filter.cpp y1 = _mm_loadu_ps(src + 4); src 1558 modules/imgproc/src/filter.cpp y2 = _mm_loadu_ps(src + cn + 4); src 1567 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) src 1570 modules/imgproc/src/filter.cpp x0 = _mm_loadu_ps(src - cn); src 1571 modules/imgproc/src/filter.cpp x1 = _mm_loadu_ps(src); src 1572 modules/imgproc/src/filter.cpp x2 = _mm_loadu_ps(src + cn); src 1573 modules/imgproc/src/filter.cpp y0 = _mm_loadu_ps(src - cn + 4); src 1574 modules/imgproc/src/filter.cpp y1 = _mm_loadu_ps(src + 4); src 1575 modules/imgproc/src/filter.cpp y2 = _mm_loadu_ps(src + cn + 4); src 1589 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) src 1592 modules/imgproc/src/filter.cpp x0 = _mm_loadu_ps(src - cn*2); src 1593 modules/imgproc/src/filter.cpp x1 = _mm_loadu_ps(src); src 1594 modules/imgproc/src/filter.cpp x2 = _mm_loadu_ps(src + cn*2); src 1595 modules/imgproc/src/filter.cpp y0 = _mm_loadu_ps(src - cn*2 + 4); src 1596 modules/imgproc/src/filter.cpp y1 = _mm_loadu_ps(src + 4); src 1597 modules/imgproc/src/filter.cpp y2 = _mm_loadu_ps(src + cn*2 + 4); src 1606 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) src 1609 modules/imgproc/src/filter.cpp x0 = _mm_loadu_ps(src - cn); src 1610 modules/imgproc/src/filter.cpp x1 = _mm_loadu_ps(src); src 1611 modules/imgproc/src/filter.cpp x2 = _mm_loadu_ps(src + cn); src 1612 modules/imgproc/src/filter.cpp y0 = _mm_loadu_ps(src - cn + 4); src 1613 modules/imgproc/src/filter.cpp y1 = _mm_loadu_ps(src + 4); src 1614 modules/imgproc/src/filter.cpp y2 = _mm_loadu_ps(src + cn + 4); src 1621 modules/imgproc/src/filter.cpp x2 = _mm_add_ps(_mm_loadu_ps(src + cn*2), _mm_loadu_ps(src - cn*2)); src 1622 modules/imgproc/src/filter.cpp y2 = _mm_add_ps(_mm_loadu_ps(src + cn*2 + 4), _mm_loadu_ps(src - cn*2 + 4)); src 1637 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) src 1640 modules/imgproc/src/filter.cpp x0 = _mm_loadu_ps(src + cn); src 1641 modules/imgproc/src/filter.cpp x2 = _mm_loadu_ps(src - cn); src 1642 modules/imgproc/src/filter.cpp y0 = _mm_loadu_ps(src + cn + 4); src 1643 modules/imgproc/src/filter.cpp y2 = _mm_loadu_ps(src - cn + 4); src 1652 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) src 1655 modules/imgproc/src/filter.cpp x0 = _mm_loadu_ps(src + cn); src 1656 modules/imgproc/src/filter.cpp x2 = _mm_loadu_ps(src - cn); src 1657 modules/imgproc/src/filter.cpp y0 = _mm_loadu_ps(src + cn + 4); src 1658 modules/imgproc/src/filter.cpp y2 = _mm_loadu_ps(src - cn + 4); src 1670 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) src 1673 modules/imgproc/src/filter.cpp x0 = _mm_loadu_ps(src + cn); src 1674 modules/imgproc/src/filter.cpp x2 = _mm_loadu_ps(src - cn); src 1675 modules/imgproc/src/filter.cpp y0 = _mm_loadu_ps(src + cn + 4); src 1676 modules/imgproc/src/filter.cpp y2 = _mm_loadu_ps(src - cn + 4); src 1681 modules/imgproc/src/filter.cpp x2 = _mm_sub_ps(_mm_loadu_ps(src + cn*2), _mm_loadu_ps(src - cn*2)); src 1682 modules/imgproc/src/filter.cpp y2 = _mm_sub_ps(_mm_loadu_ps(src + cn*2 + 4), _mm_loadu_ps(src - cn*2 + 4)); src 1720 modules/imgproc/src/filter.cpp const float** src = (const float**)_src; src 1733 modules/imgproc/src/filter.cpp S = src[0] + i; src 1745 modules/imgproc/src/filter.cpp S = src[k] + i; src 1746 modules/imgproc/src/filter.cpp S2 = src[-k] + i; src 1769 modules/imgproc/src/filter.cpp __m128 x0, s0 = _mm_load_ps(src[0] + i); src 1776 modules/imgproc/src/filter.cpp S = src[k] + i; src 1777 modules/imgproc/src/filter.cpp S2 = src[-k] + i; src 1778 modules/imgproc/src/filter.cpp x0 = _mm_add_ps(_mm_load_ps(src[k]+i), _mm_load_ps(src[-k] + i)); src 1791 modules/imgproc/src/filter.cpp S = src[0] + i; src 1795 modules/imgproc/src/filter.cpp S = src[k] + i; src 1796 modules/imgproc/src/filter.cpp S2 = src[-k] + i; src 1823 modules/imgproc/src/filter.cpp x0 = _mm_sub_ps(_mm_load_ps(src[k]+i), _mm_load_ps(src[-k] + i)); src 1860 modules/imgproc/src/filter.cpp const float** src = (const float**)_src; src 1861 modules/imgproc/src/filter.cpp const float *S0 = src[-1], *S1 = src[0], *S2 = src[1]; src 1985 modules/imgproc/src/filter.cpp int operator()(const uchar** src, uchar* dst, int width) const src 2004 modules/imgproc/src/filter.cpp x0 = _mm_loadu_si128((const __m128i*)(src[k] + i)); src 2035 modules/imgproc/src/filter.cpp x0 = _mm_cvtsi32_si128(*(const int*)(src[k] + i)); src 2068 modules/imgproc/src/filter.cpp int operator()(const uchar** src, uchar* _dst, int width) const src 2088 modules/imgproc/src/filter.cpp x0 = _mm_loadu_si128((const __m128i*)(src[k] + i)); src 2119 modules/imgproc/src/filter.cpp x0 = _mm_cvtsi32_si128(*(const int*)(src[k] + i)); src 2155 modules/imgproc/src/filter.cpp const float** src = (const float**)_src; src 2168 modules/imgproc/src/filter.cpp const float* S = src[k] + i; src 2195 modules/imgproc/src/filter.cpp t0 = _mm_loadu_ps(src[k] + i); src 2232 modules/imgproc/src/filter.cpp int operator()(const uchar* src, uchar* _dst, int width, int cn) const src 2244 modules/imgproc/src/filter.cpp src += (_ksize/2)*cn; src 2257 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) src 2260 modules/imgproc/src/filter.cpp x0 = vld1_u8( (uint8_t *) (src - cn) ); src 2261 modules/imgproc/src/filter.cpp x1 = vld1_u8( (uint8_t *) (src) ); src 2262 modules/imgproc/src/filter.cpp x2 = vld1_u8( (uint8_t *) (src + cn) ); src 2286 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) src 2289 modules/imgproc/src/filter.cpp x0 = vld1_u8( (uint8_t *) (src - cn) ); src 2290 modules/imgproc/src/filter.cpp x1 = vld1_u8( (uint8_t *) (src) ); src 2291 modules/imgproc/src/filter.cpp x2 = vld1_u8( (uint8_t *) (src + cn) ); src 2322 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) src 2325 modules/imgproc/src/filter.cpp x0 = vld1_u8( (uint8_t *) (src - cn) ); src 2326 modules/imgproc/src/filter.cpp x1 = vld1_u8( (uint8_t *) (src) ); src 2327 modules/imgproc/src/filter.cpp x2 = vld1_u8( (uint8_t *) (src + cn) ); src 2339 modules/imgproc/src/filter.cpp x3 = vld1_u8( (uint8_t *) (src - cn*2) ); src 2340 modules/imgproc/src/filter.cpp x4 = vld1_u8( (uint8_t *) (src + cn*2) ); src 2359 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) src 2362 modules/imgproc/src/filter.cpp x0 = vld1_u8( (uint8_t *) (src - cn) ); src 2363 modules/imgproc/src/filter.cpp x1 = vld1_u8( (uint8_t *) (src + cn) ); src 2382 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) src 2385 modules/imgproc/src/filter.cpp x0 = vld1_u8( (uint8_t *) (src - cn) ); src 2386 modules/imgproc/src/filter.cpp x1 = vld1_u8( (uint8_t *) (src + cn) ); src 2410 modules/imgproc/src/filter.cpp for( ; i <= width - 8; i += 8, src += 8 ) src 2413 modules/imgproc/src/filter.cpp x0 = vld1_u8( (uint8_t *) (src - cn) ); src 2414 modules/imgproc/src/filter.cpp x1 = vld1_u8( (uint8_t *) (src + cn) ); src 2424 modules/imgproc/src/filter.cpp x2 = vld1_u8( (uint8_t *) (src - cn*2) ); src 2425 modules/imgproc/src/filter.cpp x3 = vld1_u8( (uint8_t *) (src + cn*2) ); src 2469 modules/imgproc/src/filter.cpp const int** src = (const int**)_src; src 2490 modules/imgproc/src/filter.cpp S = src[0] + i; src 2495 modules/imgproc/src/filter.cpp S = src[1] + i; src 2496 modules/imgproc/src/filter.cpp S2 = src[-1] + i; src 2511 modules/imgproc/src/filter.cpp S = src[k] + i; src 2512 modules/imgproc/src/filter.cpp S2 = src[-k] + i; src 2549 modules/imgproc/src/filter.cpp S = src[1] + i; src 2550 modules/imgproc/src/filter.cpp S2 = src[-1] + i; src 2563 modules/imgproc/src/filter.cpp S = src[k] + i; src 2564 modules/imgproc/src/filter.cpp S2 = src[-k] + i; src 2620 modules/imgproc/src/filter.cpp const int** src = (const int**)_src; src 2621 modules/imgproc/src/filter.cpp const int *S0 = src[-1], *S1 = src[0], *S2 = src[1]; src 2801 modules/imgproc/src/filter.cpp const float** src = (const float**)_src; src 2823 modules/imgproc/src/filter.cpp S = src[0] + i; src 2828 modules/imgproc/src/filter.cpp S = src[1] + i; src 2829 modules/imgproc/src/filter.cpp S2 = src[-1] + i; src 2844 modules/imgproc/src/filter.cpp S = src[k] + i; src 2845 modules/imgproc/src/filter.cpp S2 = src[-k] + i; src 2880 modules/imgproc/src/filter.cpp S = src[1] + i; src 2881 modules/imgproc/src/filter.cpp S2 = src[-1] + i; src 2894 modules/imgproc/src/filter.cpp S = src[k] + i; src 2895 modules/imgproc/src/filter.cpp S2 = src[-k] + i; src 2946 modules/imgproc/src/filter.cpp const float* src = (const float*)_src + (_ksize/2)*cn; src 2978 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4, src += 4 ) src 2981 modules/imgproc/src/filter.cpp x0 = vld1q_f32(src); src 2982 modules/imgproc/src/filter.cpp x1 = vld1q_f32(src - cn); src 2983 modules/imgproc/src/filter.cpp x2 = vld1q_f32(src + cn); src 2984 modules/imgproc/src/filter.cpp x3 = vld1q_f32(src - cn*2); src 2985 modules/imgproc/src/filter.cpp x4 = vld1q_f32(src + cn*2); src 3015 modules/imgproc/src/filter.cpp for( ; i <= width - 4; i += 4, src += 4 ) src 3018 modules/imgproc/src/filter.cpp x0 = vld1q_f32(src - cn); src 3019 modules/imgproc/src/filter.cpp x1 = vld1q_f32(src + cn); src 3020 modules/imgproc/src/filter.cpp x2 = vld1q_f32(src - cn*2); src 3021 modules/imgproc/src/filter.cpp x3 = vld1q_f32(src + cn*2); src 3084 modules/imgproc/src/filter.cpp void operator()(const uchar* src, uchar* dst, int width, int cn) src 3092 modules/imgproc/src/filter.cpp i = vecOp(src, dst, width, cn); src 3097 modules/imgproc/src/filter.cpp S = (const ST*)src + i; src 3115 modules/imgproc/src/filter.cpp S = (const ST*)src + i; src 3142 modules/imgproc/src/filter.cpp void operator()(const uchar* src, uchar* dst, int width, int cn) src 3148 modules/imgproc/src/filter.cpp int i = this->vecOp(src, dst, width, cn), j, k; src 3149 modules/imgproc/src/filter.cpp const ST* S = (const ST*)src + i + ksize2n; src 3281 modules/imgproc/src/filter.cpp void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) src 3289 modules/imgproc/src/filter.cpp for( ; count--; dst += dststep, src++ ) src 3292 modules/imgproc/src/filter.cpp i = vecOp(src, dst, width); src 3297 modules/imgproc/src/filter.cpp const ST* S = (const ST*)src[0] + i; src 3303 modules/imgproc/src/filter.cpp S = (const ST*)src[k] + i; f = ky[k]; src 3314 modules/imgproc/src/filter.cpp ST s0 = ky[0]*((const ST*)src[0])[i] + _delta; src 3316 modules/imgproc/src/filter.cpp s0 += ky[k]*((const ST*)src[k])[i]; src 3344 modules/imgproc/src/filter.cpp void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) src 3352 modules/imgproc/src/filter.cpp src += ksize2; src 3356 modules/imgproc/src/filter.cpp for( ; count--; dst += dststep, src++ ) src 3359 modules/imgproc/src/filter.cpp i = (this->vecOp)(src, dst, width); src 3364 modules/imgproc/src/filter.cpp const ST* S = (const ST*)src[0] + i, *S2; src 3370 modules/imgproc/src/filter.cpp S = (const ST*)src[k] + i; src 3371 modules/imgproc/src/filter.cpp S2 = (const ST*)src[-k] + i; src 3385 modules/imgproc/src/filter.cpp ST s0 = ky[0]*((const ST*)src[0])[i] + _delta; src 3387 modules/imgproc/src/filter.cpp s0 += ky[k]*(((const ST*)src[k])[i] + ((const ST*)src[-k])[i]); src 3394 modules/imgproc/src/filter.cpp for( ; count--; dst += dststep, src++ ) src 3397 modules/imgproc/src/filter.cpp i = this->vecOp(src, dst, width); src 3407 modules/imgproc/src/filter.cpp S = (const ST*)src[k] + i; src 3408 modules/imgproc/src/filter.cpp S2 = (const ST*)src[-k] + i; src 3424 modules/imgproc/src/filter.cpp s0 += ky[k]*(((const ST*)src[k])[i] - ((const ST*)src[-k])[i]); src 3450 modules/imgproc/src/filter.cpp void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) src 3462 modules/imgproc/src/filter.cpp src += ksize2; src 3464 modules/imgproc/src/filter.cpp for( ; count--; dst += dststep, src++ ) src 3467 modules/imgproc/src/filter.cpp i = (this->vecOp)(src, dst, width); src 3468 modules/imgproc/src/filter.cpp const ST* S0 = (const ST*)src[-1]; src 3469 modules/imgproc/src/filter.cpp const ST* S1 = (const ST*)src[0]; src 3470 modules/imgproc/src/filter.cpp const ST* S2 = (const ST*)src[1]; src 3919 modules/imgproc/src/filter.cpp void operator()(const uchar** src, uchar* dst, int dststep, int count, int width, int cn) src 3929 modules/imgproc/src/filter.cpp for( ; count > 0; count--, dst += dststep, src++ ) src 3934 modules/imgproc/src/filter.cpp kp[k] = (const ST*)src[pt[k].y] + pt[k].x*cn; src 4039 modules/imgproc/src/filter.cpp UMat src = _src.getUMat(); src 4043 modules/imgproc/src/filter.cpp src.locateROI(wholeSize, ofs); src 4177 modules/imgproc/src/filter.cpp int srcOffsetX = (int)((src.offset % src.step) / src.elemSize()); src 4178 modules/imgproc/src/filter.cpp int srcOffsetY = (int)(src.offset / src.step); src 4182 modules/imgproc/src/filter.cpp k.args(ocl::KernelArg::PtrReadOnly(src), (int)src.step, srcOffsetX, srcOffsetY, src 4190 modules/imgproc/src/filter.cpp static bool ocl_sepRowFilter2D(const UMat & src, UMat & buf, const Mat & kernelX, int anchor, src 4193 modules/imgproc/src/filter.cpp int type = src.type(), cn = CV_MAT_CN(type), sdepth = CV_MAT_DEPTH(type); src 4211 modules/imgproc/src/filter.cpp int radiusX = anchor, radiusY = (buf.rows - src.rows) >> 1; src 4217 modules/imgproc/src/filter.cpp bool extra_extrapolation = src.rows < (int)((-radiusY + globalsize[1]) >> 1) + 1; src 4218 modules/imgproc/src/filter.cpp extra_extrapolation |= src.rows < radiusY; src 4219 modules/imgproc/src/filter.cpp extra_extrapolation |= src.cols < (int)((-radiusX + globalsize[0] + 8 * localsize[0] + 3) >> 1) + 1; src 4220 modules/imgproc/src/filter.cpp extra_extrapolation |= src.cols < radiusX; src 4236 modules/imgproc/src/filter.cpp src.locateROI(srcWholeSize, srcOffset); src 4248 modules/imgproc/src/filter.cpp k.args(ocl::KernelArg::PtrReadOnly(src), (int)(src.step / src.elemSize()), srcOffset.x, src 4249 modules/imgproc/src/filter.cpp srcOffset.y, src.cols, src.rows, srcWholeSize.width, srcWholeSize.height, src 4253 modules/imgproc/src/filter.cpp k.args(ocl::KernelArg::PtrReadOnly(src), (int)src.step, srcOffset.x, src 4254 modules/imgproc/src/filter.cpp srcOffset.y, src.cols, src.rows, srcWholeSize.width, srcWholeSize.height, src 4347 modules/imgproc/src/filter.cpp UMat src = _src.getUMat(); src 4354 modules/imgproc/src/filter.cpp src.locateROI(wholeSize, origin); src 4356 modules/imgproc/src/filter.cpp k.args(ocl::KernelArg::PtrReadOnly(src), (int)src_step, src_offset_x, src_offset_y, src 4425 modules/imgproc/src/filter.cpp UMat src = _src.getUMat(); src 4427 modules/imgproc/src/filter.cpp src.locateROI(srcWholeSize, srcOffset); src 4430 modules/imgproc/src/filter.cpp src.cols % 4 == 0 && src.step % 4 == 0; src 4432 modules/imgproc/src/filter.cpp Size srcSize = src.size(); src 4435 modules/imgproc/src/filter.cpp if (!ocl_sepRowFilter2D(src, buf, kernelX, anchor.x, borderType, ddepth, fast8uc1, int_arithm)) src 4566 modules/imgproc/src/filter.cpp Mat src = _src.getMat(), kernel = _kernel.getMat(); src 4569 modules/imgproc/src/filter.cpp ddepth = src.depth(); src 4572 modules/imgproc/src/filter.cpp int dft_filter_size = ((src.depth() == CV_8U && (ddepth == CV_8U || ddepth == CV_16S)) || src 4573 modules/imgproc/src/filter.cpp (src.depth() == CV_32F && ddepth == CV_32F)) && checkHardwareSupport(CV_CPU_SSE3)? 130 : 50; src 4578 modules/imgproc/src/filter.cpp _dst.create( src.size(), CV_MAKETYPE(ddepth, src.channels()) ); src 4589 modules/imgproc/src/filter.cpp int stype = src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype), src 4613 modules/imgproc/src/filter.cpp ippFunc && (int)ippBorderType >= 0 && (!src.isSubmatrix() || isolated) && src 4614 modules/imgproc/src/filter.cpp std::fabs(delta - 0) < DBL_EPSILON && ippAnchor == anchor && dst.data != src.data) src 4635 modules/imgproc/src/filter.cpp status = ippFunc(src.data, (int)src.step, dst.data, (int)dst.step, dstRoiSize, src 4655 modules/imgproc/src/filter.cpp if( tegra::useTegra() && tegra::filter2D(src, dst, kernel, anchor, delta, borderType) ) src 4663 modules/imgproc/src/filter.cpp if( src.channels() != 1 && delta != 0 ) src 4671 modules/imgproc/src/filter.cpp src.data != dst.data ) src 4680 modules/imgproc/src/filter.cpp crossCorr( src, kernel, temp, src.size(), src 4681 modules/imgproc/src/filter.cpp CV_MAKETYPE(corrDepth, src.channels()), src 4691 modules/imgproc/src/filter.cpp if( src.data != dst.data ) src 4695 modules/imgproc/src/filter.cpp crossCorr( src, kernel, temp, src.size(), src 4696 modules/imgproc/src/filter.cpp CV_MAKETYPE(ddepth, src.channels()), src 4704 modules/imgproc/src/filter.cpp Ptr<FilterEngine> f = createLinearFilter(src.type(), dst.type(), kernel, src 4706 modules/imgproc/src/filter.cpp f->apply(src, dst, Rect(0,0,-1,-1), Point(), (borderType & BORDER_ISOLATED) != 0 ); src 4717 modules/imgproc/src/filter.cpp Mat src = _src.getMat(), kernelX = _kernelX.getMat(), kernelY = _kernelY.getMat(); src 4720 modules/imgproc/src/filter.cpp ddepth = src.depth(); src 4722 modules/imgproc/src/filter.cpp _dst.create( src.size(), CV_MAKETYPE(ddepth, src.channels()) ); src 4725 modules/imgproc/src/filter.cpp Ptr<FilterEngine> f = createSeparableLinearFilter(src.type(), src 4727 modules/imgproc/src/filter.cpp f->apply(src, dst, Rect(0,0,-1,-1), Point(), (borderType & BORDER_ISOLATED) != 0 ); src 4734 modules/imgproc/src/filter.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 4737 modules/imgproc/src/filter.cpp CV_Assert( src.size() == dst.size() && src.channels() == dst.channels() ); src 4739 modules/imgproc/src/filter.cpp cv::filter2D( src, dst, dst.depth(), kernel, anchor, 0, cv::BORDER_REPLICATE ); src 70 modules/imgproc/src/filterengine.hpp virtual void operator()(const uchar* src, uchar* dst, int width, int cn) = 0; src 98 modules/imgproc/src/filterengine.hpp virtual void operator()(const uchar** src, uchar* dst, int dststep, int dstcount, int width) = 0; src 126 modules/imgproc/src/filterengine.hpp virtual void operator()(const uchar** src, uchar* dst, int dststep, int dstcount, int width, int cn) = 0; src 234 modules/imgproc/src/filterengine.hpp virtual int start(const Mat& src, const Rect& srcRoi = Rect(0,0,-1,-1), src 237 modules/imgproc/src/filterengine.hpp virtual int proceed(const uchar* src, int srcStep, int srcCount, src 240 modules/imgproc/src/filterengine.hpp virtual void apply( const Mat& src, Mat& dst, src 368 modules/imgproc/src/filterengine.hpp void crossCorr( const Mat& src, const Mat& templ, Mat& dst, src 97 modules/imgproc/src/generalized_hough.cpp void calcEdges(InputArray src, Mat& edges, Mat& dx, Mat& dy); src 112 modules/imgproc/src/generalized_hough.cpp Mat src = _src.getMat(); src 114 modules/imgproc/src/generalized_hough.cpp CV_Assert( src.type() == CV_8UC1 ); src 117 modules/imgproc/src/generalized_hough.cpp Canny(src, edges, cannyLowThresh_, cannyHighThresh_); src 118 modules/imgproc/src/generalized_hough.cpp Sobel(src, dx, CV_32F, 1, 0); src 119 modules/imgproc/src/generalized_hough.cpp Sobel(src, dy, CV_32F, 0, 1); src 1185 modules/imgproc/src/histogram.cpp ParallelLoopBody(), src(&_src), hist(&_hist), levels(&_levels), histSize(_histSize), low(_low), high(_high), ok(_ok) src 1195 modules/imgproc/src/histogram.cpp src->ptr(range.start), (int)src->step, ippiSize(src->cols, range.end - range.start), src 1210 modules/imgproc/src/histogram.cpp const Mat * src; src 1247 modules/imgproc/src/histogram.cpp const Mat & src = images[0]; src 1248 modules/imgproc/src/histogram.cpp int nstripes = std::min<int>(8, static_cast<int>(src.total() / (1 << 16))); src 1252 modules/imgproc/src/histogram.cpp IPPCalcHistInvoker invoker(src, ihist, levels, histSize[0] + 1, (Ipp32s)ranges[0][0], (Ipp32s)ranges[0][1], &ok); src 1253 modules/imgproc/src/histogram.cpp Range range(0, src.rows); src 1501 modules/imgproc/src/histogram.cpp UMat src = _src.getUMat(), ghist(1, BINS * compunits, CV_32SC1), src 1504 modules/imgproc/src/histogram.cpp k1.args(ocl::KernelArg::ReadOnly(src), src 1505 modules/imgproc/src/histogram.cpp ocl::KernelArg::PtrWriteOnly(ghist), (int)src.total()); src 3045 modules/imgproc/src/histogram.cpp cvCopyHist( const CvHistogram* src, CvHistogram** _dst ) src 3052 modules/imgproc/src/histogram.cpp if( !CV_IS_HIST(src) || (dst && !CV_IS_HIST(dst)) ) src 3057 modules/imgproc/src/histogram.cpp bool is_sparse = CV_IS_SPARSE_MAT(src->bins); src 3058 modules/imgproc/src/histogram.cpp int dims1 = cvGetDims( src->bins, size1 ); src 3086 modules/imgproc/src/histogram.cpp if( CV_HIST_HAS_RANGES( src )) src 3091 modules/imgproc/src/histogram.cpp if( CV_IS_UNIFORM_HIST( src )) src 3094 modules/imgproc/src/histogram.cpp ranges[i] = (float*)src->thresh[i]; src 3100 modules/imgproc/src/histogram.cpp thresh = src->thresh2; src 3103 modules/imgproc/src/histogram.cpp cvSetHistBinRanges( dst, thresh, CV_IS_UNIFORM_HIST(src)); src 3106 modules/imgproc/src/histogram.cpp cvCopy( src->bins, dst->bins ); src 3367 modules/imgproc/src/histogram.cpp cvCalcBayesianProb( CvHistogram** src, int count, CvHistogram** dst ) src 3371 modules/imgproc/src/histogram.cpp if( !src || !dst ) src 3379 modules/imgproc/src/histogram.cpp if( !CV_IS_HIST(src[i]) || !CV_IS_HIST(dst[i]) ) src 3382 modules/imgproc/src/histogram.cpp if( !CV_IS_MATND(src[i]->bins) || !CV_IS_MATND(dst[i]->bins) ) src 3389 modules/imgproc/src/histogram.cpp cvAdd( src[i]->bins, dst[0]->bins, dst[0]->bins ); src 3395 modules/imgproc/src/histogram.cpp cvMul( src[i]->bins, dst[0]->bins, dst[i]->bins ); src 3448 modules/imgproc/src/histogram.cpp EqualizeHistCalcHist_Invoker(cv::Mat& src, int* histogram, cv::Mutex* histogramLock) src 3449 modules/imgproc/src/histogram.cpp : src_(src), globalHistogram_(histogram), histogramLock_(histogramLock) src 3488 modules/imgproc/src/histogram.cpp static bool isWorthParallel( const cv::Mat& src ) src 3490 modules/imgproc/src/histogram.cpp return ( src.total() >= 640*480 ); src 3504 modules/imgproc/src/histogram.cpp EqualizeHistLut_Invoker( cv::Mat& src, cv::Mat& dst, int* lut ) src 3505 modules/imgproc/src/histogram.cpp : src_(src), src 3553 modules/imgproc/src/histogram.cpp static bool isWorthParallel( const cv::Mat& src ) src 3555 modules/imgproc/src/histogram.cpp return ( src.total() >= 640*480 ); src 3592 modules/imgproc/src/histogram.cpp UMat src = _src.getUMat(), ghist(1, BINS * compunits, CV_32SC1); src 3594 modules/imgproc/src/histogram.cpp k1.args(ocl::KernelArg::ReadOnly(src), src 3595 modules/imgproc/src/histogram.cpp ocl::KernelArg::PtrWriteOnly(ghist), (int)src.total()); src 3632 modules/imgproc/src/histogram.cpp Mat src = _src.getMat(); src 3633 modules/imgproc/src/histogram.cpp _dst.create( src.size(), src.type() ); src 3642 modules/imgproc/src/histogram.cpp EqualizeHistCalcHist_Invoker calcBody(src, hist, &histogramLockInstance); src 3643 modules/imgproc/src/histogram.cpp EqualizeHistLut_Invoker lutBody(src, dst, lut); src 3644 modules/imgproc/src/histogram.cpp cv::Range heightRange(0, src.rows); src 3646 modules/imgproc/src/histogram.cpp if(EqualizeHistCalcHist_Invoker::isWorthParallel(src)) src 3654 modules/imgproc/src/histogram.cpp int total = (int)src.total(); src 3670 modules/imgproc/src/histogram.cpp if(EqualizeHistLut_Invoker::isWorthParallel(src)) src 3686 modules/imgproc/src/histogram.cpp static CvHistogram * icvCloneHist( const CvHistogram * src ) src 3689 modules/imgproc/src/histogram.cpp cvCopyHist(src, &dst); src 667 modules/imgproc/src/hough.cpp UMat src = _src.getUMat(); src 668 modules/imgproc/src/hough.cpp _pointsList.create(1, (int) src.total(), CV_32SC1); src 674 modules/imgproc/src/hough.cpp int workgroup_size = min((int) dev.maxWorkGroupSize(), (src.cols + pixPerWI - 1)/pixPerWI); src 676 modules/imgproc/src/hough.cpp format("-D MAKE_POINTS_LIST -D GROUP_SIZE=%d -D LOCAL_SIZE=%d", workgroup_size, src.cols)); src 680 modules/imgproc/src/hough.cpp pointListKernel.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnlyNoSize(pointsList), src 684 modules/imgproc/src/hough.cpp size_t globalThreads[2] = { workgroup_size, src.rows }; src 745 modules/imgproc/src/hough.cpp UMat src = _src.getUMat(); src 747 modules/imgproc/src/hough.cpp int numrho = cvRound(((src.cols + src.rows) * 2 + 1) / rho); src 752 modules/imgproc/src/hough.cpp if (!ocl_makePointsList(src, pointsList, counters)) src 799 modules/imgproc/src/hough.cpp UMat src = _src.getUMat(); src 801 modules/imgproc/src/hough.cpp int numrho = cvRound(((src.cols + src.rows) * 2 + 1) / rho); src 806 modules/imgproc/src/hough.cpp if (!ocl_makePointsList(src, pointsList, counters)) src 828 modules/imgproc/src/hough.cpp getLinesKernel.args(ocl::KernelArg::ReadOnly(accum), ocl::KernelArg::ReadOnly(src), src 331 modules/imgproc/src/imgwarp.cpp ParallelLoopBody(), src(_src), dst(_dst), x_ofs(_x_ofs), pix_size4(_pix_size4), src 338 modules/imgproc/src/imgwarp.cpp Size ssize = src.size(), dsize = dst.size(); src 339 modules/imgproc/src/imgwarp.cpp int y, x, pix_size = (int)src.elemSize(); src 345 modules/imgproc/src/imgwarp.cpp const uchar* S = src.ptr(sy); src 413 modules/imgproc/src/imgwarp.cpp const Mat src; src 423 modules/imgproc/src/imgwarp.cpp resizeNN( const Mat& src, Mat& dst, double fx, double fy ) src 425 modules/imgproc/src/imgwarp.cpp Size ssize = src.size(), dsize = dst.size(); src 428 modules/imgproc/src/imgwarp.cpp int pix_size = (int)src.elemSize(); src 440 modules/imgproc/src/imgwarp.cpp resizeNNInvoker invoker(src, dst, x_ofs, pix_size4, ify); src 465 modules/imgproc/src/imgwarp.cpp const int** src = (const int**)_src; src 467 modules/imgproc/src/imgwarp.cpp const int *S0 = src[0], *S1 = src[1]; src 548 modules/imgproc/src/imgwarp.cpp const float** src = (const float**)_src; src 550 modules/imgproc/src/imgwarp.cpp const float *S0 = src[0], *S1 = src[1]; src 646 modules/imgproc/src/imgwarp.cpp const float** src = (const float**)_src; src 648 modules/imgproc/src/imgwarp.cpp const float *S0 = src[0], *S1 = src[1]; src 697 modules/imgproc/src/imgwarp.cpp const int** src = (const int**)_src; src 699 modules/imgproc/src/imgwarp.cpp const int *S0 = src[0], *S1 = src[1], *S2 = src[2], *S3 = src[3]; src 792 modules/imgproc/src/imgwarp.cpp const float** src = (const float**)_src; src 794 modules/imgproc/src/imgwarp.cpp const float *S0 = src[0], *S1 = src[1], *S2 = src[2], *S3 = src[3]; src 853 modules/imgproc/src/imgwarp.cpp const float** src = (const float**)_src; src 855 modules/imgproc/src/imgwarp.cpp const float *S0 = src[0], *S1 = src[1], *S2 = src[2], *S3 = src[3]; src 904 modules/imgproc/src/imgwarp.cpp const float** src = (const float**)_src; src 906 modules/imgproc/src/imgwarp.cpp const float *S0 = src[0], *S1 = src[1], *S2 = src[2], *S3 = src[3], src 907 modules/imgproc/src/imgwarp.cpp *S4 = src[4], *S5 = src[5], *S6 = src[6], *S7 = src[7]; src 955 modules/imgproc/src/imgwarp.cpp const float** src = (const float**)_src; src 957 modules/imgproc/src/imgwarp.cpp const float *S0 = src[0], *S1 = src[1], *S2 = src[2], *S3 = src[3], src 958 modules/imgproc/src/imgwarp.cpp *S4 = src[4], *S5 = src[5], *S6 = src[6], *S7 = src[7]; src 1001 modules/imgproc/src/imgwarp.cpp const float** src = (const float**)_src; src 1003 modules/imgproc/src/imgwarp.cpp const float *S0 = src[0], *S1 = src[1], *S2 = src[2], *S3 = src[3], src 1004 modules/imgproc/src/imgwarp.cpp *S4 = src[4], *S5 = src[5], *S6 = src[6], *S7 = src[7]; src 1038 modules/imgproc/src/imgwarp.cpp const int** src = (const int**)_src, *S0 = src[0], *S1 = src[1]; src 1078 modules/imgproc/src/imgwarp.cpp const float** src = (const float**)_src; src 1080 modules/imgproc/src/imgwarp.cpp const float *S0 = src[0], *S1 = src[1]; src 1106 modules/imgproc/src/imgwarp.cpp const float** src = (const float**)_src; src 1108 modules/imgproc/src/imgwarp.cpp const float *S0 = src[0], *S1 = src[1]; src 1134 modules/imgproc/src/imgwarp.cpp const float** src = (const float**)_src; src 1136 modules/imgproc/src/imgwarp.cpp const float *S0 = src[0], *S1 = src[1]; src 1161 modules/imgproc/src/imgwarp.cpp const float** src = (const float**)_src; src 1163 modules/imgproc/src/imgwarp.cpp const float *S0 = src[0], *S1 = src[1], *S2 = src[2], *S3 = src[3]; src 1192 modules/imgproc/src/imgwarp.cpp const float** src = (const float**)_src; src 1194 modules/imgproc/src/imgwarp.cpp const float *S0 = src[0], *S1 = src[1], *S2 = src[2], *S3 = src[3]; src 1223 modules/imgproc/src/imgwarp.cpp const float** src = (const float**)_src; src 1225 modules/imgproc/src/imgwarp.cpp const float *S0 = src[0], *S1 = src[1], *S2 = src[2], *S3 = src[3]; src 1251 modules/imgproc/src/imgwarp.cpp const float** src = (const float**)_src; src 1253 modules/imgproc/src/imgwarp.cpp const float *S0 = src[0], *S1 = src[1], *S2 = src[2], *S3 = src[3], src 1254 modules/imgproc/src/imgwarp.cpp *S4 = src[4], *S5 = src[5], *S6 = src[6], *S7 = src[7]; src 1296 modules/imgproc/src/imgwarp.cpp const float** src = (const float**)_src; src 1298 modules/imgproc/src/imgwarp.cpp const float *S0 = src[0], *S1 = src[1], *S2 = src[2], *S3 = src[3], src 1299 modules/imgproc/src/imgwarp.cpp *S4 = src[4], *S5 = src[5], *S6 = src[6], *S7 = src[7]; src 1341 modules/imgproc/src/imgwarp.cpp const float** src = (const float**)_src; src 1343 modules/imgproc/src/imgwarp.cpp const float *S0 = src[0], *S1 = src[1], *S2 = src[2], *S3 = src[3], src 1344 modules/imgproc/src/imgwarp.cpp *S4 = src[4], *S5 = src[5], *S6 = src[6], *S7 = src[7]; src 1401 modules/imgproc/src/imgwarp.cpp void operator()(const T** src, WT** dst, int count, src 1408 modules/imgproc/src/imgwarp.cpp int dx0 = vecOp((const uchar**)src, (uchar**)dst, count, src 1413 modules/imgproc/src/imgwarp.cpp const T *S0 = src[k], *S1 = src[k+1]; src 1433 modules/imgproc/src/imgwarp.cpp const T *S = src[k]; src 1455 modules/imgproc/src/imgwarp.cpp void operator()(const WT** src, T* dst, const AT* beta, int width ) const src 1458 modules/imgproc/src/imgwarp.cpp const WT *S0 = src[0], *S1 = src[1]; src 1462 modules/imgproc/src/imgwarp.cpp int x = vecOp((const uchar**)src, (uchar*)dst, (const uchar*)beta, width); src 1487 modules/imgproc/src/imgwarp.cpp void operator()(const buf_type** src, value_type* dst, const alpha_type* beta, int width ) const src 1490 modules/imgproc/src/imgwarp.cpp const buf_type *S0 = src[0], *S1 = src[1]; src 1493 modules/imgproc/src/imgwarp.cpp int x = vecOp((const uchar**)src, (uchar*)dst, (const uchar*)beta, width); src 1516 modules/imgproc/src/imgwarp.cpp void operator()(const T** src, WT** dst, int count, src 1522 modules/imgproc/src/imgwarp.cpp const T *S = src[k]; src 1568 modules/imgproc/src/imgwarp.cpp void operator()(const WT** src, T* dst, const AT* beta, int width ) const src 1571 modules/imgproc/src/imgwarp.cpp const WT *S0 = src[0], *S1 = src[1], *S2 = src[2], *S3 = src[3]; src 1575 modules/imgproc/src/imgwarp.cpp int x = vecOp((const uchar**)src, (uchar*)dst, (const uchar*)beta, width); src 1589 modules/imgproc/src/imgwarp.cpp void operator()(const T** src, WT** dst, int count, src 1595 modules/imgproc/src/imgwarp.cpp const T *S = src[k]; src 1643 modules/imgproc/src/imgwarp.cpp void operator()(const WT** src, T* dst, const AT* beta, int width ) const src 1647 modules/imgproc/src/imgwarp.cpp int k, x = vecOp((const uchar**)src, (uchar*)dst, (const uchar*)beta, width); src 1652 modules/imgproc/src/imgwarp.cpp const WT* S = src[0]; src 1657 modules/imgproc/src/imgwarp.cpp b = beta[k]; S = src[k]; src 1668 modules/imgproc/src/imgwarp.cpp dst[x] = castOp(src[0][x]*beta[0] + src[1][x]*beta[1] + src 1669 modules/imgproc/src/imgwarp.cpp src[2][x]*beta[2] + src[3][x]*beta[3] + src[4][x]*beta[4] + src 1670 modules/imgproc/src/imgwarp.cpp src[5][x]*beta[5] + src[6][x]*beta[6] + src[7][x]*beta[7]); src 1695 modules/imgproc/src/imgwarp.cpp ParallelLoopBody(), src(_src), dst(_dst), xofs(_xofs), yofs(_yofs), src 1708 modules/imgproc/src/imgwarp.cpp int dy, cn = src.channels(); src 1744 modules/imgproc/src/imgwarp.cpp srows[k] = src.template ptr<T>(sy); src 1759 modules/imgproc/src/imgwarp.cpp Mat src; src 1770 modules/imgproc/src/imgwarp.cpp static void resizeGeneric_( const Mat& src, Mat& dst, src 1778 modules/imgproc/src/imgwarp.cpp Size ssize = src.size(), dsize = dst.size(); src 1779 modules/imgproc/src/imgwarp.cpp int cn = src.channels(); src 1787 modules/imgproc/src/imgwarp.cpp resizeGeneric_Invoker<HResize, VResize> invoker(src, dst, xofs, yofs, (const AT*)_alpha, beta, src 2414 modules/imgproc/src/imgwarp.cpp ParallelLoopBody(), src(_src), dst(_dst), scale_x(_scale_x), src 2421 modules/imgproc/src/imgwarp.cpp Size ssize = src.size(), dsize = dst.size(); src 2422 modules/imgproc/src/imgwarp.cpp int cn = src.channels(); src 2430 modules/imgproc/src/imgwarp.cpp VecOp vop(scale_x, scale_y, src.channels(), (int)src.step/*, area_ofs*/); src 2445 modules/imgproc/src/imgwarp.cpp dx = vop(src.template ptr<T>(sy0), D, w); src 2448 modules/imgproc/src/imgwarp.cpp const T* S = src.template ptr<T>(sy0) + xofs[dx]; src 2472 modules/imgproc/src/imgwarp.cpp const T* S = src.template ptr<T>(sy0 + sy) + sx0; src 2488 modules/imgproc/src/imgwarp.cpp Mat src; src 2495 modules/imgproc/src/imgwarp.cpp static void resizeAreaFast_( const Mat& src, Mat& dst, const int* ofs, const int* xofs, src 2499 modules/imgproc/src/imgwarp.cpp resizeAreaFast_Invoker<T, WT, VecOp> invoker(src, dst, scale_x, src 2520 modules/imgproc/src/imgwarp.cpp src = &_src; src 2550 modules/imgproc/src/imgwarp.cpp const T* S = src->template ptr<T>(sy); src 2636 modules/imgproc/src/imgwarp.cpp const Mat* src; src 2646 modules/imgproc/src/imgwarp.cpp static void resizeArea_( const Mat& src, Mat& dst, src 2652 modules/imgproc/src/imgwarp.cpp ResizeArea_Invoker<T, WT>(src, dst, xtab, xtab_size, ytab, ytab_size, tabofs), src 2657 modules/imgproc/src/imgwarp.cpp typedef void (*ResizeFunc)( const Mat& src, Mat& dst, src 2662 modules/imgproc/src/imgwarp.cpp typedef void (*ResizeAreaFastFunc)( const Mat& src, Mat& dst, src 2666 modules/imgproc/src/imgwarp.cpp typedef void (*ResizeAreaFunc)( const Mat& src, Mat& dst, src 2754 modules/imgproc/src/imgwarp.cpp ParallelLoopBody(), src(_src), dst(_dst), inv_scale_x(_inv_scale_x), src 2760 modules/imgproc/src/imgwarp.cpp int type = src.type(), specSize = 0, initSize = 0; src 2761 modules/imgproc/src/imgwarp.cpp srcSize.width = src.cols; src 2762 modules/imgproc/src/imgwarp.cpp srcSize.height = src.rows; src 2798 modules/imgproc/src/imgwarp.cpp int cn = src.channels(); src 2800 modules/imgproc/src/imgwarp.cpp int dstwidth = min(cvRound(src.cols * inv_scale_x), dst.cols); src 2805 modules/imgproc/src/imgwarp.cpp int bufsize = 0, itemSize = (int)src.elemSize1(); src 2810 modules/imgproc/src/imgwarp.cpp const Ipp8u* pSrc = src.ptr<Ipp8u>(srcOffset.y) + srcOffset.x * cn * itemSize; src 2816 modules/imgproc/src/imgwarp.cpp if( func( pSrc, (int)src.step[0], pDst, (int)dst.step[0], dstOffset, dstSize, ippBorderRepl, 0, pSpec, bufptr ) < 0 ) src 2824 modules/imgproc/src/imgwarp.cpp const Mat & src; src 2901 modules/imgproc/src/imgwarp.cpp UMat src = _src.getUMat(); src 2905 modules/imgproc/src/imgwarp.cpp Size ssize = src.size(); src 2914 modules/imgproc/src/imgwarp.cpp ocl::Image2D::canCreateAlias(src) && depth <= 4 && src 2916 modules/imgproc/src/imgwarp.cpp src.offset==0); src 2934 modules/imgproc/src/imgwarp.cpp srcImage = ocl::Image2D(src, true, true); src 2996 modules/imgproc/src/imgwarp.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnly(dst), src 3013 modules/imgproc/src/imgwarp.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnly(dst), src 3025 modules/imgproc/src/imgwarp.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnly(dst), src 3079 modules/imgproc/src/imgwarp.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnly(src), dstarg = ocl::KernelArg::WriteOnly(dst); src 3225 modules/imgproc/src/imgwarp.cpp Mat src = _src.getMat(); src 3226 modules/imgproc/src/imgwarp.cpp _dst.create(dsize, src.type()); src 3230 modules/imgproc/src/imgwarp.cpp if (tegra::useTegra() && tegra::resize(src, dst, (float)inv_scale_x, (float)inv_scale_y, interpolation)) src 3234 modules/imgproc/src/imgwarp.cpp int type = src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); src 3249 modules/imgproc/src/imgwarp.cpp double ex = fabs((double)dsize.width / src.cols - inv_scale_x) / inv_scale_x; src 3250 modules/imgproc/src/imgwarp.cpp double ey = fabs((double)dsize.height / src.rows - inv_scale_y) / inv_scale_y; src 3257 modules/imgproc/src/imgwarp.cpp if (interpolation == INTER_LINEAR && src.rows >= 2 && src.cols >= 2) src 3259 modules/imgproc/src/imgwarp.cpp else if (interpolation == INTER_CUBIC && src.rows >= 4 && src.cols >= 4) src 3267 modules/imgproc/src/imgwarp.cpp Range range(0, src.rows); src 3268 modules/imgproc/src/imgwarp.cpp IPPresizeInvoker invoker(src, dst, inv_scale_x, inv_scale_y, mode, &ok); src 3284 modules/imgproc/src/imgwarp.cpp resizeNN( src, dst, inv_scale_x, inv_scale_y ); src 3301 modules/imgproc/src/imgwarp.cpp size_t srcstep = src.step / src.elemSize1(); src 3320 modules/imgproc/src/imgwarp.cpp func( src, dst, ofs, xofs, iscale_x, iscale_y ); src 3345 modules/imgproc/src/imgwarp.cpp func( src, dst, xtab, xtab_size, ytab, ytab_size, tabofs ); src 3472 modules/imgproc/src/imgwarp.cpp func( src, dst, xofs, fixpt ? (void*)ialpha : (void*)alpha, yofs, src 4242 modules/imgproc/src/imgwarp.cpp ParallelLoopBody(), src(&_src), dst(&_dst), m1(_m1), m2(_m2), src 4333 modules/imgproc/src/imgwarp.cpp nnfunc( *src, dpart, bufxy, borderType, borderValue ); src 4468 modules/imgproc/src/imgwarp.cpp ifunc(*src, dpart, bufxy, bufa, ctab, borderType, borderValue); src 4474 modules/imgproc/src/imgwarp.cpp const Mat* src; src 4498 modules/imgproc/src/imgwarp.cpp UMat src = _src.getUMat(), map1 = _map1.getUMat(), map2 = _map2.getUMat(); src 4555 modules/imgproc/src/imgwarp.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnly(src), dstarg = ocl::KernelArg::WriteOnly(dst), src 4582 modules/imgproc/src/imgwarp.cpp ParallelLoopBody(), src(_src), dst(_dst), map1(_xmap), map2(_ymap), ippFunc(_ippFunc), src 4590 modules/imgproc/src/imgwarp.cpp IppiRect srcRoiRect = { 0, 0, src.cols, src.rows }; src 4602 modules/imgproc/src/imgwarp.cpp if (ippFunc(src.ptr(), ippiSize(src.size()), (int)src.step, srcRoiRect, src 4613 modules/imgproc/src/imgwarp.cpp Mat & src, & dst, & map1, & map2; src 4667 modules/imgproc/src/imgwarp.cpp Mat src = _src.getMat(), map1 = _map1.getMat(), map2 = _map2.getMat(); src 4668 modules/imgproc/src/imgwarp.cpp _dst.create( map1.size(), src.type() ); src 4670 modules/imgproc/src/imgwarp.cpp if( dst.data == src.data ) src 4671 modules/imgproc/src/imgwarp.cpp src = src.clone(); src 4676 modules/imgproc/src/imgwarp.cpp int type = src.type(), depth = CV_MAT_DEPTH(type); src 4703 modules/imgproc/src/imgwarp.cpp IPPRemapInvoker invoker(src, dst, map1, map2, ippFunc, ippInterpolation, src 4759 modules/imgproc/src/imgwarp.cpp RemapInvoker invoker(src, dst, m1, m2, src 5223 modules/imgproc/src/imgwarp.cpp ParallelLoopBody(), src(_src), dst(_dst), interpolation(_interpolation), src 5384 modules/imgproc/src/imgwarp.cpp remap( src, dpart, _XY, Mat(), interpolation, borderType, borderValue ); src 5388 modules/imgproc/src/imgwarp.cpp remap( src, dpart, _XY, _matA, interpolation, borderType, borderValue ); src 5395 modules/imgproc/src/imgwarp.cpp Mat src; src 5411 modules/imgproc/src/imgwarp.cpp ParallelLoopBody(), src(_src), dst(_dst), mode(_interpolation), coeffs(_coeffs), src 5419 modules/imgproc/src/imgwarp.cpp IppiSize srcsize = { src.cols, src.rows }; src 5420 modules/imgproc/src/imgwarp.cpp IppiRect srcroi = { 0, 0, src.cols, src.rows }; src 5422 modules/imgproc/src/imgwarp.cpp int cnn = src.channels(); src 5427 modules/imgproc/src/imgwarp.cpp if( !IPPSet( borderValue, dataPointer, (int)dst.step[0], setSize, cnn, src.depth() ) ) src 5435 modules/imgproc/src/imgwarp.cpp IppStatus status = func( src.ptr(), srcsize, (int)src.step[0], srcroi, dst.ptr(), src 5445 modules/imgproc/src/imgwarp.cpp Mat &src; src 5521 modules/imgproc/src/imgwarp.cpp UMat src = _src.getUMat(), M0; src 5522 modules/imgproc/src/imgwarp.cpp _dst.create( dsize.area() == 0 ? src.size() : dsize, src.type() ); src 5550 modules/imgproc/src/imgwarp.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnly(dst), ocl::KernelArg::PtrReadOnly(M0), src 5570 modules/imgproc/src/imgwarp.cpp Mat src = _src.getMat(), M0 = _M0.getMat(); src 5571 modules/imgproc/src/imgwarp.cpp _dst.create( dsize.area() == 0 ? src.size() : dsize, src.type() ); src 5573 modules/imgproc/src/imgwarp.cpp CV_Assert( src.cols > 0 && src.rows > 0 ); src 5574 modules/imgproc/src/imgwarp.cpp if( dst.data == src.data ) src 5575 modules/imgproc/src/imgwarp.cpp src = src.clone(); src 5587 modules/imgproc/src/imgwarp.cpp if( tegra::useTegra() && tegra::warpAffine(src, dst, M, flags, borderType, borderValue) ) src 5612 modules/imgproc/src/imgwarp.cpp int type = src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); src 5661 modules/imgproc/src/imgwarp.cpp IPPWarpAffineInvoker invoker(src, dst, coeffs, mode, borderType, borderValue, ippFunc, &ok); src 5680 modules/imgproc/src/imgwarp.cpp WarpAffineInvoker invoker(src, dst, interpolation, borderType, src 5695 modules/imgproc/src/imgwarp.cpp ParallelLoopBody(), src(_src), dst(_dst), M(_M), interpolation(_interpolation), src 6014 modules/imgproc/src/imgwarp.cpp remap( src, dpart, _XY, Mat(), interpolation, borderType, borderValue ); src 6018 modules/imgproc/src/imgwarp.cpp remap( src, dpart, _XY, _matA, interpolation, borderType, borderValue ); src 6025 modules/imgproc/src/imgwarp.cpp Mat src; src 6040 modules/imgproc/src/imgwarp.cpp ParallelLoopBody(), src(_src), dst(_dst), mode(_interpolation), coeffs(_coeffs), src 6048 modules/imgproc/src/imgwarp.cpp IppiSize srcsize = {src.cols, src.rows}; src 6049 modules/imgproc/src/imgwarp.cpp IppiRect srcroi = {0, 0, src.cols, src.rows}; src 6051 modules/imgproc/src/imgwarp.cpp int cnn = src.channels(); src 6057 modules/imgproc/src/imgwarp.cpp if( !IPPSet( borderValue, dataPointer, (int)dst.step[0], setSize, cnn, src.depth() ) ) src 6064 modules/imgproc/src/imgwarp.cpp IppStatus status = func(src.ptr(), srcsize, (int)src.step[0], srcroi, dst.ptr(), (int)dst.step[0], dstroi, coeffs, mode); src 6073 modules/imgproc/src/imgwarp.cpp Mat &src; src 6096 modules/imgproc/src/imgwarp.cpp Mat src = _src.getMat(), M0 = _M0.getMat(); src 6097 modules/imgproc/src/imgwarp.cpp _dst.create( dsize.area() == 0 ? src.size() : dsize, src.type() ); src 6100 modules/imgproc/src/imgwarp.cpp if( dst.data == src.data ) src 6101 modules/imgproc/src/imgwarp.cpp src = src.clone(); src 6113 modules/imgproc/src/imgwarp.cpp if( tegra::useTegra() && tegra::warpPerspective(src, dst, M, flags, borderType, borderValue) ) src 6121 modules/imgproc/src/imgwarp.cpp int type = src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); src 6165 modules/imgproc/src/imgwarp.cpp IPPWarpPerspectiveInvoker invoker(src, dst, coeffs, mode, borderType, borderValue, ippFunc, &ok); src 6181 modules/imgproc/src/imgwarp.cpp WarpPerspectiveInvoker invoker(src, dst, M, interpolation, borderType, borderValue); src 6229 modules/imgproc/src/imgwarp.cpp cv::Mat cv::getPerspectiveTransform( const Point2f src[], const Point2f dst[] ) src 6237 modules/imgproc/src/imgwarp.cpp a[i][0] = a[i+4][3] = src[i].x; src 6238 modules/imgproc/src/imgwarp.cpp a[i][1] = a[i+4][4] = src[i].y; src 6242 modules/imgproc/src/imgwarp.cpp a[i][6] = -src[i].x*dst[i].x; src 6243 modules/imgproc/src/imgwarp.cpp a[i][7] = -src[i].y*dst[i].x; src 6244 modules/imgproc/src/imgwarp.cpp a[i+4][6] = -src[i].x*dst[i].y; src 6245 modules/imgproc/src/imgwarp.cpp a[i+4][7] = -src[i].y*dst[i].y; src 6275 modules/imgproc/src/imgwarp.cpp cv::Mat cv::getAffineTransform( const Point2f src[], const Point2f dst[] ) src 6285 modules/imgproc/src/imgwarp.cpp a[j] = a[k+3] = src[i].x; src 6286 modules/imgproc/src/imgwarp.cpp a[j+1] = a[k+4] = src[i].y; src 6341 modules/imgproc/src/imgwarp.cpp Mat src = _src.getMat(), dst = _dst.getMat(); src 6342 modules/imgproc/src/imgwarp.cpp CV_Assert(src.checkVector(2, CV_32F) == 4 && dst.checkVector(2, CV_32F) == 4); src 6343 modules/imgproc/src/imgwarp.cpp return getPerspectiveTransform((const Point2f*)src.data, (const Point2f*)dst.data); src 6348 modules/imgproc/src/imgwarp.cpp Mat src = _src.getMat(), dst = _dst.getMat(); src 6349 modules/imgproc/src/imgwarp.cpp CV_Assert(src.checkVector(2, CV_32F) == 3 && dst.checkVector(2, CV_32F) == 3); src 6350 modules/imgproc/src/imgwarp.cpp return getAffineTransform((const Point2f*)src.data, (const Point2f*)dst.data); src 6356 modules/imgproc/src/imgwarp.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 6357 modules/imgproc/src/imgwarp.cpp CV_Assert( src.type() == dst.type() ); src 6358 modules/imgproc/src/imgwarp.cpp cv::resize( src, dst, dst.size(), (double)dst.cols/src.cols, src 6359 modules/imgproc/src/imgwarp.cpp (double)dst.rows/src.rows, method ); src 6367 modules/imgproc/src/imgwarp.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 6369 modules/imgproc/src/imgwarp.cpp CV_Assert( src.type() == dst.type() ); src 6370 modules/imgproc/src/imgwarp.cpp cv::warpAffine( src, dst, matrix, dst.size(), flags, src 6379 modules/imgproc/src/imgwarp.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 6381 modules/imgproc/src/imgwarp.cpp CV_Assert( src.type() == dst.type() ); src 6382 modules/imgproc/src/imgwarp.cpp cv::warpPerspective( src, dst, matrix, dst.size(), flags, src 6392 modules/imgproc/src/imgwarp.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), dst0 = dst; src 6394 modules/imgproc/src/imgwarp.cpp CV_Assert( src.type() == dst.type() && dst.size() == mapx.size() ); src 6395 modules/imgproc/src/imgwarp.cpp cv::remap( src, dst, mapx, mapy, flags & cv::INTER_MAX, src 6414 modules/imgproc/src/imgwarp.cpp cvGetPerspectiveTransform( const CvPoint2D32f* src, src 6419 modules/imgproc/src/imgwarp.cpp M = cv::getPerspectiveTransform((const cv::Point2f*)src, (const cv::Point2f*)dst); src 6427 modules/imgproc/src/imgwarp.cpp cvGetAffineTransform( const CvPoint2D32f* src, src 6432 modules/imgproc/src/imgwarp.cpp M = cv::getAffineTransform((const cv::Point2f*)src, (const cv::Point2f*)dst); src 6469 modules/imgproc/src/imgwarp.cpp CvMat srcstub, *src = cvGetMat(srcarr, &srcstub); src 6473 modules/imgproc/src/imgwarp.cpp if( !CV_ARE_TYPES_EQ( src, dst )) src 6479 modules/imgproc/src/imgwarp.cpp ssize = cvGetMatSize(src); src 6571 modules/imgproc/src/imgwarp.cpp cvRemap( src, dst, mapx, mapy, flags, cvScalarAll(0) ); src 6577 modules/imgproc/src/imgwarp.cpp Mat src = _src.getMat(); src 6578 modules/imgproc/src/imgwarp.cpp _dst.create( src.size(), src.type() ); src 6579 modules/imgproc/src/imgwarp.cpp CvMat c_src = src, c_dst = _dst.getMat(); src 6593 modules/imgproc/src/imgwarp.cpp CvMat srcstub, *src = (CvMat*)srcarr; src 6597 modules/imgproc/src/imgwarp.cpp src = cvGetMat( srcarr, &srcstub,0,0 ); src 6600 modules/imgproc/src/imgwarp.cpp if( !CV_ARE_TYPES_EQ( src, dst )) src 6603 modules/imgproc/src/imgwarp.cpp ssize.width = src->cols; src 6604 modules/imgproc/src/imgwarp.cpp ssize.height = src->rows; src 6674 modules/imgproc/src/imgwarp.cpp cvRemap( src, dst, mapx, mapy, flags, cvScalarAll(0) ); src 6680 modules/imgproc/src/imgwarp.cpp Mat src = _src.getMat(); src 6681 modules/imgproc/src/imgwarp.cpp _dst.create( src.size(), src.type() ); src 6682 modules/imgproc/src/imgwarp.cpp CvMat c_src = src, c_dst = _dst.getMat(); src 495 modules/imgproc/src/moments.cpp UMat src = _src.getUMat(); src 496 modules/imgproc/src/moments.cpp Size sz = src.size(); src 503 modules/imgproc/src/moments.cpp bool ok = k.args(ocl::KernelArg::ReadOnly(src), src 669 modules/imgproc/src/moments.cpp Mat src(src0, cv::Rect(x, y, tileSize.width, tileSize.height)); src 674 modules/imgproc/src/moments.cpp cv::compare( src, 0, tmp, CV_CMP_NE ); src 675 modules/imgproc/src/moments.cpp src = tmp; src 679 modules/imgproc/src/moments.cpp func( src, mom ); src 769 modules/imgproc/src/moments.cpp cv::Mat src; src 771 modules/imgproc/src/moments.cpp cv::extractImageCOI(arr, src, img->roi->coi-1); src 773 modules/imgproc/src/moments.cpp src = cv::cvarrToMat(arr); src 774 modules/imgproc/src/moments.cpp cv::Moments m = cv::moments(src, binary != 0); src 102 modules/imgproc/src/morph.cpp int operator()(const uchar* src, uchar* dst, int width, int cn) const src 114 modules/imgproc/src/morph.cpp __m128i s = _mm_loadu_si128((const __m128i*)(src + i)); src 117 modules/imgproc/src/morph.cpp __m128i x = _mm_loadu_si128((const __m128i*)(src + i + k)); src 125 modules/imgproc/src/morph.cpp __m128i s = _mm_cvtsi32_si128(*(const int*)(src + i)); src 128 modules/imgproc/src/morph.cpp __m128i x = _mm_cvtsi32_si128(*(const int*)(src + i + k)); src 144 modules/imgproc/src/morph.cpp int operator()(const uchar* src, uchar* dst, int width, int cn) const src 155 modules/imgproc/src/morph.cpp __m128 s = _mm_loadu_ps((const float*)src + i); src 158 modules/imgproc/src/morph.cpp __m128 x = _mm_loadu_ps((const float*)src + i + k); src 176 modules/imgproc/src/morph.cpp int operator()(const uchar** src, uchar* dst, int dststep, int count, int width) const src 186 modules/imgproc/src/morph.cpp CV_Assert( ((size_t)src[i] & 15) == 0 ); src 188 modules/imgproc/src/morph.cpp for( ; _ksize > 1 && count > 1; count -= 2, dst += dststep*2, src += 2 ) src 192 modules/imgproc/src/morph.cpp const uchar* sptr = src[1] + i; src 199 modules/imgproc/src/morph.cpp sptr = src[k] + i; src 206 modules/imgproc/src/morph.cpp sptr = src[0] + i; src 212 modules/imgproc/src/morph.cpp sptr = src[k] + i; src 221 modules/imgproc/src/morph.cpp __m128i s0 = _mm_loadl_epi64((const __m128i*)(src[1] + i)), x0; src 225 modules/imgproc/src/morph.cpp x0 = _mm_loadl_epi64((const __m128i*)(src[k] + i)); src 229 modules/imgproc/src/morph.cpp x0 = _mm_loadl_epi64((const __m128i*)(src[0] + i)); src 231 modules/imgproc/src/morph.cpp x0 = _mm_loadl_epi64((const __m128i*)(src[k] + i)); src 236 modules/imgproc/src/morph.cpp for( ; count > 0; count--, dst += dststep, src++ ) src 240 modules/imgproc/src/morph.cpp const uchar* sptr = src[0] + i; src 247 modules/imgproc/src/morph.cpp sptr = src[k] + i; src 259 modules/imgproc/src/morph.cpp __m128i s0 = _mm_loadl_epi64((const __m128i*)(src[0] + i)), x0; src 263 modules/imgproc/src/morph.cpp x0 = _mm_loadl_epi64((const __m128i*)(src[k] + i)); src 291 modules/imgproc/src/morph.cpp const float** src = (const float**)_src; src 295 modules/imgproc/src/morph.cpp for( ; _ksize > 1 && count > 1; count -= 2, dst += dststep*2, src += 2 ) src 299 modules/imgproc/src/morph.cpp const float* sptr = src[1] + i; src 308 modules/imgproc/src/morph.cpp sptr = src[k] + i; src 319 modules/imgproc/src/morph.cpp sptr = src[0] + i; src 329 modules/imgproc/src/morph.cpp sptr = src[k] + i; src 342 modules/imgproc/src/morph.cpp __m128 s0 = _mm_load_ps(src[1] + i), x0; src 346 modules/imgproc/src/morph.cpp x0 = _mm_load_ps(src[k] + i); src 350 modules/imgproc/src/morph.cpp x0 = _mm_load_ps(src[0] + i); src 352 modules/imgproc/src/morph.cpp x0 = _mm_load_ps(src[k] + i); src 357 modules/imgproc/src/morph.cpp for( ; count > 0; count--, dst += dststep, src++ ) src 361 modules/imgproc/src/morph.cpp const float* sptr = src[0] + i; src 370 modules/imgproc/src/morph.cpp sptr = src[k] + i; src 388 modules/imgproc/src/morph.cpp __m128 s0 = _mm_load_ps(src[0] + i), x0; src 391 modules/imgproc/src/morph.cpp x0 = _mm_load_ps(src[k] + i); src 409 modules/imgproc/src/morph.cpp int operator()(uchar** src, int nz, uchar* dst, int width) const src 420 modules/imgproc/src/morph.cpp const uchar* sptr = src[0] + i; src 427 modules/imgproc/src/morph.cpp sptr = src[k] + i; src 439 modules/imgproc/src/morph.cpp __m128i s0 = _mm_loadl_epi64((const __m128i*)(src[0] + i)), x0; src 443 modules/imgproc/src/morph.cpp x0 = _mm_loadl_epi64((const __m128i*)(src[k] + i)); src 461 modules/imgproc/src/morph.cpp const float** src = (const float**)_src; src 468 modules/imgproc/src/morph.cpp const float* sptr = src[0] + i; src 477 modules/imgproc/src/morph.cpp sptr = src[k] + i; src 495 modules/imgproc/src/morph.cpp __m128 s0 = _mm_loadu_ps(src[0] + i), x0; src 499 modules/imgproc/src/morph.cpp x0 = _mm_loadu_ps(src[k] + i); src 507 modules/imgproc/src/morph.cpp __m128 s0 = _mm_load_ss(src[0] + i), x0; src 511 modules/imgproc/src/morph.cpp x0 = _mm_load_ss(src[k] + i); src 644 modules/imgproc/src/morph.cpp void operator()(const uchar* src, uchar* dst, int width, int cn) src 647 modules/imgproc/src/morph.cpp const T* S = (const T*)src; src 658 modules/imgproc/src/morph.cpp int i0 = vecOp(src, dst, width, cn); src 701 modules/imgproc/src/morph.cpp const T** src = (const T**)_src; src 708 modules/imgproc/src/morph.cpp for( ; _ksize > 1 && count > 1; count -= 2, D += dststep*2, src += 2 ) src 714 modules/imgproc/src/morph.cpp const T* sptr = src[1] + i; src 719 modules/imgproc/src/morph.cpp sptr = src[k] + i; src 724 modules/imgproc/src/morph.cpp sptr = src[0] + i; src 730 modules/imgproc/src/morph.cpp sptr = src[k] + i; src 739 modules/imgproc/src/morph.cpp T s0 = src[1][i]; src 742 modules/imgproc/src/morph.cpp s0 = op(s0, src[k][i]); src 744 modules/imgproc/src/morph.cpp D[i] = op(s0, src[0][i]); src 745 modules/imgproc/src/morph.cpp D[i+dststep] = op(s0, src[k][i]); src 749 modules/imgproc/src/morph.cpp for( ; count > 0; count--, D += dststep, src++ ) src 755 modules/imgproc/src/morph.cpp const T* sptr = src[0] + i; src 760 modules/imgproc/src/morph.cpp sptr = src[k] + i; src 771 modules/imgproc/src/morph.cpp T s0 = src[0][i]; src 773 modules/imgproc/src/morph.cpp s0 = op(s0, src[k][i]); src 799 modules/imgproc/src/morph.cpp void operator()(const uchar** src, uchar* dst, int dststep, int count, int width, int cn) src 807 modules/imgproc/src/morph.cpp for( ; count > 0; count--, dst += dststep, src++ ) src 812 modules/imgproc/src/morph.cpp kp[k] = (const T*)src[pt[k].y] + pt[k].x*cn; src 1092 modules/imgproc/src/morph.cpp src = _src; src 1107 modules/imgproc/src/morph.cpp int row0 = std::min(cvRound(range.start * src.rows / nStripes), src.rows); src 1108 modules/imgproc/src/morph.cpp int row1 = std::min(cvRound(range.end * src.rows / nStripes), src.rows); src 1114 modules/imgproc/src/morph.cpp Mat srcStripe = src.rowRange(row0, row1); src 1117 modules/imgproc/src/morph.cpp Ptr<FilterEngine> f = createMorphologyFilter(op, src.type(), kernel, anchor, src 1126 modules/imgproc/src/morph.cpp Mat src; src 1140 modules/imgproc/src/morph.cpp static bool IPPMorphReplicate(int op, const Mat &src, Mat &dst, const Mat &kernel, src 1143 modules/imgproc/src/morph.cpp int type = src.type(); src 1144 modules/imgproc/src/morph.cpp const Mat* _src = &src; src 1146 modules/imgproc/src/morph.cpp if (src.data == dst.data) src 1148 modules/imgproc/src/morph.cpp src.copyTo(temp); src 1152 modules/imgproc/src/morph.cpp IppiSize roiSize = {src.cols, src.rows}; src 1237 modules/imgproc/src/morph.cpp if (0 > ippiFilterMinGetBufferSize_##flavor(src.cols, kernelSize, &bufSize))\ src 1267 modules/imgproc/src/morph.cpp Mat src = _src.getMat(), kernel = _kernel; src 1268 modules/imgproc/src/morph.cpp int type = src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); src 1303 modules/imgproc/src/morph.cpp _dst.create( src.size(), src.type() ); src 1308 modules/imgproc/src/morph.cpp src.copyTo(dst); src 1334 modules/imgproc/src/morph.cpp return IPPMorphReplicate( op, src, dst, kernel, ksize, anchor, rectKernel ); src 1377 modules/imgproc/src/morph.cpp UMat src = _src.getUMat(); src 1381 modules/imgproc/src/morph.cpp src.locateROI(wholeSize, ofs); src 1460 modules/imgproc/src/morph.cpp if(src.u != dst.u) src 1461 modules/imgproc/src/morph.cpp source = src; src 1465 modules/imgproc/src/morph.cpp int cols = src.cols, rows = src.rows; src 1466 modules/imgproc/src/morph.cpp src.locateROI(wholeSize, ofs); src 1467 modules/imgproc/src/morph.cpp src.adjustROI(ofs.y, wholeSize.height - rows - ofs.y, ofs.x, wholeSize.width - cols - ofs.x); src 1468 modules/imgproc/src/morph.cpp src.copyTo(source); src 1470 modules/imgproc/src/morph.cpp src.adjustROI(-ofs.y, -wholeSize.height + rows + ofs.y, -ofs.x, -wholeSize.width + cols + ofs.x); src 1608 modules/imgproc/src/morph.cpp UMat src = _src.getUMat(), extraMat = _extraMat.getUMat(); src 1609 modules/imgproc/src/morph.cpp _dst.create(src.size(), src.type()); src 1612 modules/imgproc/src/morph.cpp if (iterations == 1 && src.u != dst.u) src 1616 modules/imgproc/src/morph.cpp src.locateROI(wholesize, ofs); src 1620 modules/imgproc/src/morph.cpp kernels[0].args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnlyNoSize(dst), src 1621 modules/imgproc/src/morph.cpp ofs.x, ofs.y, src.cols, src.rows, wholecols, wholerows, src 1624 modules/imgproc/src/morph.cpp kernels[0].args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnlyNoSize(dst), src 1625 modules/imgproc/src/morph.cpp ofs.x, ofs.y, src.cols, src.rows, wholecols, wholerows); src 1638 modules/imgproc/src/morph.cpp int cols = src.cols, rows = src.rows; src 1639 modules/imgproc/src/morph.cpp src.locateROI(wholesize, ofs); src 1640 modules/imgproc/src/morph.cpp src.adjustROI(ofs.y, wholesize.height - rows - ofs.y, ofs.x, wholesize.width - cols - ofs.x); src 1641 modules/imgproc/src/morph.cpp if(src.u != dst.u) src 1642 modules/imgproc/src/morph.cpp source = src; src 1644 modules/imgproc/src/morph.cpp src.copyTo(source); src 1646 modules/imgproc/src/morph.cpp src.adjustROI(-ofs.y, -wholesize.height + rows + ofs.y, -ofs.x, -wholesize.width + cols + ofs.x); src 1725 modules/imgproc/src/morph.cpp Mat src = _src.getMat(); src 1726 modules/imgproc/src/morph.cpp _dst.create( src.size(), src.type() ); src 1731 modules/imgproc/src/morph.cpp if (src.data != dst.data && iterations == 1 && //NOTE: threads are not used for inplace processing src 1733 modules/imgproc/src/morph.cpp src.rows >= 64 ) //NOTE: just heuristics src 1738 modules/imgproc/src/morph.cpp MorphologyRunner(src, dst, nStripes, iterations, op, kernel, anchor, borderType, borderType, borderValue)); src 1743 modules/imgproc/src/morph.cpp void cv::erode( InputArray src, OutputArray dst, InputArray kernel, src 1747 modules/imgproc/src/morph.cpp morphOp( MORPH_ERODE, src, dst, kernel, anchor, iterations, borderType, borderValue ); src 1751 modules/imgproc/src/morph.cpp void cv::dilate( InputArray src, OutputArray dst, InputArray kernel, src 1755 modules/imgproc/src/morph.cpp morphOp( MORPH_DILATE, src, dst, kernel, anchor, iterations, borderType, borderValue ); src 1841 modules/imgproc/src/morph.cpp Mat src = _src.getMat(), temp; src 1842 modules/imgproc/src/morph.cpp _dst.create(src.size(), src.type()); src 1848 modules/imgproc/src/morph.cpp erode( src, dst, kernel, anchor, iterations, borderType, borderValue ); src 1851 modules/imgproc/src/morph.cpp dilate( src, dst, kernel, anchor, iterations, borderType, borderValue ); src 1854 modules/imgproc/src/morph.cpp erode( src, dst, kernel, anchor, iterations, borderType, borderValue ); src 1858 modules/imgproc/src/morph.cpp dilate( src, dst, kernel, anchor, iterations, borderType, borderValue ); src 1862 modules/imgproc/src/morph.cpp erode( src, temp, kernel, anchor, iterations, borderType, borderValue ); src 1863 modules/imgproc/src/morph.cpp dilate( src, dst, kernel, anchor, iterations, borderType, borderValue ); src 1867 modules/imgproc/src/morph.cpp if( src.data != dst.data ) src 1869 modules/imgproc/src/morph.cpp erode( src, temp, kernel, anchor, iterations, borderType, borderValue ); src 1871 modules/imgproc/src/morph.cpp dst = src - temp; src 1874 modules/imgproc/src/morph.cpp if( src.data != dst.data ) src 1876 modules/imgproc/src/morph.cpp dilate( src, temp, kernel, anchor, iterations, borderType, borderValue ); src 1878 modules/imgproc/src/morph.cpp dst = temp - src; src 1931 modules/imgproc/src/morph.cpp static void convertConvKernel( const IplConvKernel* src, cv::Mat& dst, cv::Point& anchor ) src 1933 modules/imgproc/src/morph.cpp if(!src) src 1939 modules/imgproc/src/morph.cpp anchor = cv::Point(src->anchorX, src->anchorY); src 1940 modules/imgproc/src/morph.cpp dst.create(src->nRows, src->nCols, CV_8U); src 1942 modules/imgproc/src/morph.cpp int i, size = src->nRows*src->nCols; src 1944 modules/imgproc/src/morph.cpp dst.ptr()[i] = (uchar)(src->values[i] != 0); src 1951 modules/imgproc/src/morph.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), kernel; src 1952 modules/imgproc/src/morph.cpp CV_Assert( src.size() == dst.size() && src.type() == dst.type() ); src 1955 modules/imgproc/src/morph.cpp cv::erode( src, dst, kernel, anchor, iterations, cv::BORDER_REPLICATE ); src 1962 modules/imgproc/src/morph.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), kernel; src 1963 modules/imgproc/src/morph.cpp CV_Assert( src.size() == dst.size() && src.type() == dst.type() ); src 1966 modules/imgproc/src/morph.cpp cv::dilate( src, dst, kernel, anchor, iterations, cv::BORDER_REPLICATE ); src 1974 modules/imgproc/src/morph.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), kernel; src 1975 modules/imgproc/src/morph.cpp CV_Assert( src.size() == dst.size() && src.type() == dst.type() ); src 1989 modules/imgproc/src/morph.cpp cv::morphologyEx( src, dst, op, kernel, anchor, iterations, cv::BORDER_REPLICATE ); src 43 modules/imgproc/src/phasecorr.cpp Mat src = _src.getMat(); src 44 modules/imgproc/src/phasecorr.cpp int depth = src.depth(), cn = src.channels(), type = src.type(); src 45 modules/imgproc/src/phasecorr.cpp int rows = src.rows, cols = src.cols; src 50 modules/imgproc/src/phasecorr.cpp if(src.depth() == CV_32F) src 51 modules/imgproc/src/phasecorr.cpp _dst.create( src.rows, src.cols, CV_32FC1 ); src 53 modules/imgproc/src/phasecorr.cpp _dst.create( src.rows, src.cols, CV_64FC1 ); src 58 modules/imgproc/src/phasecorr.cpp bool is_1d = (rows == 1 || (cols == 1 && src.isContinuous() && dst.isContinuous())); src 69 modules/imgproc/src/phasecorr.cpp const float* dataSrc = src.ptr<float>(); src 72 modules/imgproc/src/phasecorr.cpp size_t stepSrc = src.step/sizeof(dataSrc[0]); src 113 modules/imgproc/src/phasecorr.cpp const double* dataSrc = src.ptr<double>(); src 116 modules/imgproc/src/phasecorr.cpp size_t stepSrc = src.step/sizeof(dataSrc[0]); src 411 modules/imgproc/src/phasecorr.cpp Mat src = _src.getMat(); src 413 modules/imgproc/src/phasecorr.cpp int type = src.type(); src 435 modules/imgproc/src/phasecorr.cpp if(maxr > src.rows - 1) src 437 modules/imgproc/src/phasecorr.cpp maxr = src.rows - 1; src 440 modules/imgproc/src/phasecorr.cpp if(maxc > src.cols - 1) src 442 modules/imgproc/src/phasecorr.cpp maxc = src.cols - 1; src 447 modules/imgproc/src/phasecorr.cpp const float* dataIn = src.ptr<float>(); src 448 modules/imgproc/src/phasecorr.cpp dataIn += minr*src.cols; src 458 modules/imgproc/src/phasecorr.cpp dataIn += src.cols; src 463 modules/imgproc/src/phasecorr.cpp const double* dataIn = src.ptr<double>(); src 464 modules/imgproc/src/phasecorr.cpp dataIn += minr*src.cols; src 474 modules/imgproc/src/phasecorr.cpp dataIn += src.cols; src 81 modules/imgproc/src/precomp.hpp #define CV_COPY( dst, src, len, idx ) \ src 82 modules/imgproc/src/precomp.hpp for( (idx) = 0; (idx) < (len); (idx)++) (dst)[idx] = (src)[idx] src 78 modules/imgproc/src/pyramids.cpp int operator()(int** src, uchar* dst, int, int width) const src 84 modules/imgproc/src/pyramids.cpp const int *row0 = src[0], *row1 = src[1], *row2 = src[2], *row3 = src[3], *row4 = src[4]; src 145 modules/imgproc/src/pyramids.cpp int operator()(float** src, float* dst, int, int width) const src 151 modules/imgproc/src/pyramids.cpp const float *row0 = src[0], *row1 = src[1], *row2 = src[2], *row3 = src[3], *row4 = src[4]; src 196 modules/imgproc/src/pyramids.cpp int operator()(int** src, ushort* dst, int, int width) const src 203 modules/imgproc/src/pyramids.cpp const int *row0 = src[0], *row1 = src[1], *row2 = src[2], *row3 = src[3], *row4 = src[4]; src 252 modules/imgproc/src/pyramids.cpp int operator()(int** src, short* dst, int, int width) const src 259 modules/imgproc/src/pyramids.cpp const int *row0 = src[0], *row1 = src[1], *row2 = src[2], *row3 = src[3], *row4 = src[4]; src 297 modules/imgproc/src/pyramids.cpp int operator()(int** src, uchar** dst, int, int width) const src 305 modules/imgproc/src/pyramids.cpp const uint *row0 = (uint *)src[0], *row1 = (uint *)src[1], *row2 = (uint *)src[2]; src 361 modules/imgproc/src/pyramids.cpp int operator()(int** src, short** dst, int, int width) const src 369 modules/imgproc/src/pyramids.cpp const uint *row0 = (uint *)src[0], *row1 = (uint *)src[1], *row2 = (uint *)src[2]; src 421 modules/imgproc/src/pyramids.cpp int operator()(int** src, ushort** dst, int, int width) const src 429 modules/imgproc/src/pyramids.cpp const uint *row0 = (uint *)src[0], *row1 = (uint *)src[1], *row2 = (uint *)src[2]; src 485 modules/imgproc/src/pyramids.cpp int operator()(float** src, float** dst, int, int width) const src 492 modules/imgproc/src/pyramids.cpp const float *row0 = src[0], *row1 = src[1], *row2 = src[2]; src 522 modules/imgproc/src/pyramids.cpp int operator()(int** src, uchar* dst, int, int width) const src 525 modules/imgproc/src/pyramids.cpp const unsigned int *row0 = (unsigned int*)src[0], *row1 = (unsigned int*)src[1], src 526 modules/imgproc/src/pyramids.cpp *row2 = (unsigned int*)src[2], *row3 = (unsigned int*)src[3], src 527 modules/imgproc/src/pyramids.cpp *row4 = (unsigned int*)src[4]; src 562 modules/imgproc/src/pyramids.cpp int operator()(int** src, ushort* dst, int, int width) const src 565 modules/imgproc/src/pyramids.cpp const int *row0 = src[0], *row1 = src[1], *row2 = src[2], *row3 = src[3], *row4 = src[4]; src 596 modules/imgproc/src/pyramids.cpp int operator()(int** src, short* dst, int, int width) const src 599 modules/imgproc/src/pyramids.cpp const int *row0 = src[0], *row1 = src[1], *row2 = src[2], *row3 = src[3], *row4 = src[4]; src 629 modules/imgproc/src/pyramids.cpp int operator()(float** src, float* dst, int, int width) const src 632 modules/imgproc/src/pyramids.cpp const float *row0 = src[0], *row1 = src[1], *row2 = src[2], *row3 = src[3], *row4 = src[4]; src 664 modules/imgproc/src/pyramids.cpp int operator()(int** src, uchar** dst, int, int width) const src 668 modules/imgproc/src/pyramids.cpp const uint *row0 = (uint *)src[0], *row1 = (uint *)src[1], *row2 = (uint *)src[2]; src 715 modules/imgproc/src/pyramids.cpp int operator()(int** src, ushort** dst, int, int width) const src 719 modules/imgproc/src/pyramids.cpp const uint *row0 = (uint *)src[0], *row1 = (uint *)src[1], *row2 = (uint *)src[2]; src 761 modules/imgproc/src/pyramids.cpp int operator()(int** src, short** dst, int, int width) const src 765 modules/imgproc/src/pyramids.cpp const int *row0 = src[0], *row1 = src[1], *row2 = src[2]; src 807 modules/imgproc/src/pyramids.cpp int operator()(float** src, float** dst, int, int width) const src 810 modules/imgproc/src/pyramids.cpp const float *row0 = src[0], *row1 = src[1], *row2 = src[2]; src 902 modules/imgproc/src/pyramids.cpp const T* src = _src.ptr<T>(_sy); src 910 modules/imgproc/src/pyramids.cpp row[x] = src[tab[x+cn*2]]*6 + (src[tab[x+cn]] + src[tab[x+cn*3]])*4 + src 911 modules/imgproc/src/pyramids.cpp src[tab[x]] + src[tab[x+cn*4]]; src 920 modules/imgproc/src/pyramids.cpp row[x] = src[x*2]*6 + (src[x*2 - 1] + src[x*2 + 1])*4 + src 921 modules/imgproc/src/pyramids.cpp src[x*2 - 2] + src[x*2 + 2]; src 927 modules/imgproc/src/pyramids.cpp const T* s = src + x*2; src 938 modules/imgproc/src/pyramids.cpp const T* s = src + x*2; src 952 modules/imgproc/src/pyramids.cpp row[x] = src[sx]*6 + (src[sx - cn] + src[sx + cn])*4 + src 953 modules/imgproc/src/pyramids.cpp src[sx - cn*2] + src[sx + cn*2]; src 1014 modules/imgproc/src/pyramids.cpp const T* src = _src.ptr<T>(_sy); src 1019 modules/imgproc/src/pyramids.cpp row[x] = row[x + cn] = src[x]*8; src 1026 modules/imgproc/src/pyramids.cpp WT t0 = src[x]*6 + src[x + cn]*2; src 1027 modules/imgproc/src/pyramids.cpp WT t1 = (src[x] + src[x + cn])*4; src 1031 modules/imgproc/src/pyramids.cpp t0 = src[sx - cn] + src[sx]*7; src 1032 modules/imgproc/src/pyramids.cpp t1 = src[sx]*8; src 1039 modules/imgproc/src/pyramids.cpp WT t0 = src[x-cn] + src[x]*6 + src[x+cn]; src 1040 modules/imgproc/src/pyramids.cpp WT t1 = (src[x] + src[x+cn])*4; src 1083 modules/imgproc/src/pyramids.cpp UMat src = _src.getUMat(); src 1084 modules/imgproc/src/pyramids.cpp _dst.create( dsize, src.type() ); src 1108 modules/imgproc/src/pyramids.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnly(dst)); src 1111 modules/imgproc/src/pyramids.cpp size_t globalThreads[2] = { (src.cols + (kercn-1))/kercn, (dst.rows + 1) / 2 }; src 1130 modules/imgproc/src/pyramids.cpp UMat src = _src.getUMat(); src 1132 modules/imgproc/src/pyramids.cpp _dst.create( dsize, src.type() ); src 1161 modules/imgproc/src/pyramids.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnly(dst)); src 1176 modules/imgproc/src/pyramids.cpp Mat src = _src.getMat(); src 1177 modules/imgproc/src/pyramids.cpp Size dsz = _dsz.area() == 0 ? Size((src.cols + 1)/2, (src.rows + 1)/2) : _dsz; src 1178 modules/imgproc/src/pyramids.cpp _dst.create( dsz, src.type() ); src 1180 modules/imgproc/src/pyramids.cpp int depth = src.depth(); src 1183 modules/imgproc/src/pyramids.cpp if(borderType == BORDER_DEFAULT && tegra::useTegra() && tegra::pyrDown(src, dst)) src 1192 modules/imgproc/src/pyramids.cpp if (borderTypeNI == BORDER_DEFAULT && (!src.isSubmatrix() || isolated) && dsz == Size((src.cols + 1)/2, (src.rows + 1)/2)) src 1195 modules/imgproc/src/pyramids.cpp int type = src.type(); src 1206 modules/imgproc/src/pyramids.cpp IppiSize srcRoi = { src.cols, src.rows }; src 1209 modules/imgproc/src/pyramids.cpp IppStatus ok = ippiPyrDownGetBufSize_Gauss5x5(srcRoi.width, dataType, src.channels(), &bufferSize); src 1214 modules/imgproc/src/pyramids.cpp ok = pyrDownFunc(src.data, (int) src.step, dst.data, (int) dst.step, srcRoi, buffer); src 1243 modules/imgproc/src/pyramids.cpp func( src, dst, borderType ); src 1253 modules/imgproc/src/pyramids.cpp Mat src = _src.getMat(); src 1254 modules/imgproc/src/pyramids.cpp Size dsz = _dsz.area() == 0 ? Size(src.cols*2, src.rows*2) : _dsz; src 1255 modules/imgproc/src/pyramids.cpp _dst.create( dsz, src.type() ); src 1257 modules/imgproc/src/pyramids.cpp int depth = src.depth(); src 1260 modules/imgproc/src/pyramids.cpp if(borderType == BORDER_DEFAULT && tegra::useTegra() && tegra::pyrUp(src, dst)) src 1269 modules/imgproc/src/pyramids.cpp if (borderTypeNI == BORDER_DEFAULT && (!src.isSubmatrix() || isolated) && dsz == Size(src.cols*2, src.rows*2)) src 1272 modules/imgproc/src/pyramids.cpp int type = src.type(); src 1283 modules/imgproc/src/pyramids.cpp IppiSize srcRoi = { src.cols, src.rows }; src 1286 modules/imgproc/src/pyramids.cpp IppStatus ok = ippiPyrUpGetBufSize_Gauss5x5(srcRoi.width, dataType, src.channels(), &bufferSize); src 1291 modules/imgproc/src/pyramids.cpp ok = pyrUpFunc(src.data, (int) src.step, dst.data, (int) dst.step, srcRoi, buffer); src 1320 modules/imgproc/src/pyramids.cpp func( src, dst, borderType ); src 1329 modules/imgproc/src/pyramids.cpp UMat src = _src.getUMat(); src 1331 modules/imgproc/src/pyramids.cpp _dst.getUMatRef(0) = src; src 1337 modules/imgproc/src/pyramids.cpp Mat src = _src.getMat(); src 1339 modules/imgproc/src/pyramids.cpp _dst.getMatRef(0) = src; src 1348 modules/imgproc/src/pyramids.cpp if (borderTypeNI == BORDER_DEFAULT && (!src.isSubmatrix() || isolated)) src 1354 modules/imgproc/src/pyramids.cpp int type = src.type(); src 1355 modules/imgproc/src/pyramids.cpp int depth = src.depth(); src 1388 modules/imgproc/src/pyramids.cpp IppiSize srcRoi = { src.cols, src.rows }; src 1399 modules/imgproc/src/pyramids.cpp gPyr->pImage[0] = src.data; src 1400 modules/imgproc/src/pyramids.cpp gPyr->pStep[0] = (int) src.step; src 1441 modules/imgproc/src/pyramids.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 1443 modules/imgproc/src/pyramids.cpp CV_Assert( _filter == CV_GAUSSIAN_5x5 && src.type() == dst.type()); src 1444 modules/imgproc/src/pyramids.cpp cv::pyrDown( src, dst, dst.size() ); src 1449 modules/imgproc/src/pyramids.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 1451 modules/imgproc/src/pyramids.cpp CV_Assert( _filter == CV_GAUSSIAN_5x5 && src.type() == dst.type()); src 1452 modules/imgproc/src/pyramids.cpp cv::pyrUp( src, dst, dst.size() ); src 1478 modules/imgproc/src/pyramids.cpp CvMat stub, *src = cvGetMat( srcarr, &stub ); src 1483 modules/imgproc/src/pyramids.cpp int i, layer_step, elem_size = CV_ELEM_SIZE(src->type); src 1484 modules/imgproc/src/pyramids.cpp CvSize layer_size, size = cvGetMatSize(src); src 1515 modules/imgproc/src/pyramids.cpp pyramid[0] = cvCreateMatHeader( size.height, size.width, src->type ); src 1516 modules/imgproc/src/pyramids.cpp cvSetData( pyramid[0], src->data.ptr, src->step ); src 1531 modules/imgproc/src/pyramids.cpp pyramid[i] = cvCreateMatHeader( layer_size.height, layer_size.width, src->type ); src 1537 modules/imgproc/src/pyramids.cpp pyramid[i] = cvCreateMat( layer_size.height, layer_size.width, src->type ); src 49 modules/imgproc/src/samplers.cpp adjustRect( const uchar* src, size_t src_step, int pix_size, src 57 modules/imgproc/src/samplers.cpp src += ip.x*pix_size; src 74 modules/imgproc/src/samplers.cpp src += rect.width*pix_size; src 82 modules/imgproc/src/samplers.cpp src += ip.y * src_step; src 95 modules/imgproc/src/samplers.cpp src += rect.height*src_step; src 101 modules/imgproc/src/samplers.cpp return src - rect.x*pix_size; src 130 modules/imgproc/src/samplers.cpp void getRectSubPix_Cn_(const _Tp* src, size_t src_step, Size src_size, src 155 modules/imgproc/src/samplers.cpp src_step /= sizeof(src[0]); src 162 modules/imgproc/src/samplers.cpp src += ip.y * src_step + ip.x*cn; src 165 modules/imgproc/src/samplers.cpp for( i = 0; i < win_size.height; i++, src += src_step, dst += dst_step ) src 169 modules/imgproc/src/samplers.cpp _WTp s0 = src[j]*a11 + src[j+cn]*a12 + src[j+src_step]*a21 + src[j+src_step+cn]*a22; src 170 modules/imgproc/src/samplers.cpp _WTp s1 = src[j+1]*a11 + src[j+cn+1]*a12 + src[j+src_step+1]*a21 + src[j+src_step+cn+1]*a22; src 177 modules/imgproc/src/samplers.cpp _WTp s0 = src[j]*a11 + src[j+cn]*a12 + src[j+src_step]*a21 + src[j+src_step+cn]*a22; src 185 modules/imgproc/src/samplers.cpp src = (const _Tp*)adjustRect( (const uchar*)src, src_step*sizeof(*src), src 186 modules/imgproc/src/samplers.cpp sizeof(*src)*cn, src_size, win_size, ip, &r); src 190 modules/imgproc/src/samplers.cpp const _Tp *src2 = src + src_step; src 198 modules/imgproc/src/samplers.cpp s0 = src[r.x*cn + c]*b1 + src2[r.x*cn + c]*b2; src 201 modules/imgproc/src/samplers.cpp s0 = src[r.width*cn + c]*b1 + src2[r.width*cn + c]*b2; src 208 modules/imgproc/src/samplers.cpp s0 = src[j]*a11 + src[j+cn]*a12 + src2[j]*a21 + src2[j+cn]*a22; src 213 modules/imgproc/src/samplers.cpp src = src2; src 220 modules/imgproc/src/samplers.cpp ( const uchar* src, size_t src_step, Size src_size, src 246 modules/imgproc/src/samplers.cpp src_step /= sizeof(src[0]); src 250 modules/imgproc/src/samplers.cpp src += ip.y * src_step + ip.x; src 252 modules/imgproc/src/samplers.cpp for( ; win_size.height--; src += src_step, dst += dst_step ) src 254 modules/imgproc/src/samplers.cpp float prev = (1 - a)*(b1*src[0] + b2*src[src_step]); src 257 modules/imgproc/src/samplers.cpp float t = a12*src[j+1] + a22*src[j+1+src_step]; src 266 modules/imgproc/src/samplers.cpp (src, src_step, src_size, dst, dst_step, win_size, center0, cn ); src 271 modules/imgproc/src/samplers.cpp getQuadrangleSubPix_8u32f_CnR( const uchar* src, size_t src_step, Size src_size, src 279 modules/imgproc/src/samplers.cpp src_step /= sizeof(src[0]); src 298 modules/imgproc/src/samplers.cpp const uchar *ptr = src + src_step*iys; src 340 modules/imgproc/src/samplers.cpp ptr0 = src + src_step*iys, ptr1 = ptr0 + src_step; src 342 modules/imgproc/src/samplers.cpp ptr0 = ptr1 = src + (iys < 0 ? 0 : src_size.height-1)*src_step; src 380 modules/imgproc/src/samplers.cpp typedef IppStatus (CV_STDCALL *ippiGetRectSubPixFunc)( const void* src, int src_step, src 425 modules/imgproc/src/samplers.cpp cv::Mat src = cv::cvarrToMat(srcarr); src 427 modules/imgproc/src/samplers.cpp CV_Assert( src.channels() == dst.channels() ); src 429 modules/imgproc/src/samplers.cpp cv::getRectSubPix(src, dst.size(), center, dst, dst.type()); src 436 modules/imgproc/src/samplers.cpp const cv::Mat src = cv::cvarrToMat(srcarr), m = cv::cvarrToMat(mat); src 439 modules/imgproc/src/samplers.cpp CV_Assert( src.channels() == dst.channels() ); src 450 modules/imgproc/src/samplers.cpp if( src.depth() == CV_8U && dst.depth() == CV_32F ) src 451 modules/imgproc/src/samplers.cpp cv::getQuadrangleSubPix_8u32f_CnR( src.ptr(), src.step, src.size(), src 453 modules/imgproc/src/samplers.cpp matrix, src.channels()); src 456 modules/imgproc/src/samplers.cpp CV_Assert( src.depth() == dst.depth() ); src 457 modules/imgproc/src/samplers.cpp cv::warpAffine(src, dst, M, dst.size(), src 97 modules/imgproc/src/segmentation.cpp Mat src = _src.getMat(), dst = _markers.getMat(); src 98 modules/imgproc/src/segmentation.cpp Size size = src.size(); src 159 modules/imgproc/src/segmentation.cpp CV_Assert( src.type() == CV_8UC3 && dst.type() == CV_32SC1 ); src 160 modules/imgproc/src/segmentation.cpp CV_Assert( src.size() == dst.size() ); src 163 modules/imgproc/src/segmentation.cpp const uchar* img = src.ptr(); src 165 modules/imgproc/src/segmentation.cpp int istep = int(src.step/sizeof(img[0])); src 233 modules/imgproc/src/segmentation.cpp img = src.ptr(); src 402 modules/imgproc/src/segmentation.cpp cv::Mat src = src_pyramid[level]; src 403 modules/imgproc/src/segmentation.cpp cv::Size size = src.size(); src 404 modules/imgproc/src/segmentation.cpp const uchar* sptr = src.ptr(); src 405 modules/imgproc/src/segmentation.cpp int sstep = (int)src.step; src 553 modules/imgproc/src/segmentation.cpp cv::Mat src = cv::cvarrToMat(_src), markers = cv::cvarrToMat(_markers); src 554 modules/imgproc/src/segmentation.cpp cv::watershed(src, markers); src 563 modules/imgproc/src/segmentation.cpp cv::Mat src = cv::cvarrToMat(srcarr); src 566 modules/imgproc/src/segmentation.cpp cv::pyrMeanShiftFiltering(src, dst, sp0, sr, max_level, termcrit); src 82 modules/imgproc/src/smooth.cpp virtual void operator()(const uchar* src, uchar* dst, int width, int cn) src 84 modules/imgproc/src/smooth.cpp const T* S = (const T*)src; src 120 modules/imgproc/src/smooth.cpp virtual void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) src 138 modules/imgproc/src/smooth.cpp for( ; sumCount < ksize - 1; sumCount++, src++ ) src 140 modules/imgproc/src/smooth.cpp const ST* Sp = (const ST*)src[0]; src 154 modules/imgproc/src/smooth.cpp src += ksize-1; src 157 modules/imgproc/src/smooth.cpp for( ; count--; src++ ) src 159 modules/imgproc/src/smooth.cpp const ST* Sp = (const ST*)src[0]; src 160 modules/imgproc/src/smooth.cpp const ST* Sm = (const ST*)src[1-ksize]; src 223 modules/imgproc/src/smooth.cpp virtual void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) src 244 modules/imgproc/src/smooth.cpp for( ; sumCount < ksize - 1; sumCount++, src++ ) src 246 modules/imgproc/src/smooth.cpp const int* Sp = (const int*)src[0]; src 269 modules/imgproc/src/smooth.cpp src += ksize-1; src 272 modules/imgproc/src/smooth.cpp for( ; count--; src++ ) src 274 modules/imgproc/src/smooth.cpp const int* Sp = (const int*)src[0]; src 275 modules/imgproc/src/smooth.cpp const int* Sm = (const int*)src[1-ksize]; src 398 modules/imgproc/src/smooth.cpp virtual void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) src 418 modules/imgproc/src/smooth.cpp for( ; sumCount < ksize - 1; sumCount++, src++ ) src 420 modules/imgproc/src/smooth.cpp const int* Sp = (const int*)src[0]; src 443 modules/imgproc/src/smooth.cpp src += ksize-1; src 446 modules/imgproc/src/smooth.cpp for( ; count--; src++ ) src 448 modules/imgproc/src/smooth.cpp const int* Sp = (const int*)src[0]; src 449 modules/imgproc/src/smooth.cpp const int* Sm = (const int*)src[1-ksize]; src 567 modules/imgproc/src/smooth.cpp virtual void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) src 586 modules/imgproc/src/smooth.cpp for( ; sumCount < ksize - 1; sumCount++, src++ ) src 588 modules/imgproc/src/smooth.cpp const int* Sp = (const int*)src[0]; src 611 modules/imgproc/src/smooth.cpp src += ksize-1; src 614 modules/imgproc/src/smooth.cpp for( ; count--; src++ ) src 616 modules/imgproc/src/smooth.cpp const int* Sp = (const int*)src[0]; src 617 modules/imgproc/src/smooth.cpp const int* Sm = (const int*)src[1-ksize]; src 732 modules/imgproc/src/smooth.cpp virtual void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) src 752 modules/imgproc/src/smooth.cpp for( ; sumCount < ksize - 1; sumCount++, src++ ) src 754 modules/imgproc/src/smooth.cpp const int* Sp = (const int*)src[0]; src 777 modules/imgproc/src/smooth.cpp src += ksize-1; src 780 modules/imgproc/src/smooth.cpp for( ; count--; src++ ) src 782 modules/imgproc/src/smooth.cpp const int* Sp = (const int*)src[0]; src 783 modules/imgproc/src/smooth.cpp const int* Sm = (const int*)src[1-ksize]; src 882 modules/imgproc/src/smooth.cpp virtual void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) src 904 modules/imgproc/src/smooth.cpp for( ; sumCount < ksize - 1; sumCount++, src++ ) src 906 modules/imgproc/src/smooth.cpp const int* Sp = (const int*)src[0]; src 931 modules/imgproc/src/smooth.cpp src += ksize-1; src 934 modules/imgproc/src/smooth.cpp for( ; count--; src++ ) src 936 modules/imgproc/src/smooth.cpp const int * Sp = (const int*)src[0]; src 937 modules/imgproc/src/smooth.cpp const int * Sm = (const int*)src[1-ksize]; src 1063 modules/imgproc/src/smooth.cpp UMat src = _src.getUMat(); src 1067 modules/imgproc/src/smooth.cpp src.locateROI(wholeSize, ofs); src 1188 modules/imgproc/src/smooth.cpp int idxArg = kernel.set(0, ocl::KernelArg::PtrReadOnly(src)); src 1189 modules/imgproc/src/smooth.cpp idxArg = kernel.set(idxArg, (int)src.step); src 1190 modules/imgproc/src/smooth.cpp int srcOffsetX = (int)((src.offset % src.step) / src.elemSize()); src 1191 modules/imgproc/src/smooth.cpp int srcOffsetY = (int)(src.offset / src.step); src 1313 modules/imgproc/src/smooth.cpp Mat src = _src.getMat(); src 1314 modules/imgproc/src/smooth.cpp int stype = src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype); src 1317 modules/imgproc/src/smooth.cpp _dst.create( src.size(), CV_MAKETYPE(ddepth, cn) ); src 1321 modules/imgproc/src/smooth.cpp if( src.rows == 1 ) src 1323 modules/imgproc/src/smooth.cpp if( src.cols == 1 ) src 1327 modules/imgproc/src/smooth.cpp if ( tegra::useTegra() && tegra::box(src, dst, ksize, anchor, normalize, borderType) ) src 1341 modules/imgproc/src/smooth.cpp if (normalize && !src.isSubmatrix() && ddepth == sdepth && src 1357 modules/imgproc/src/smooth.cpp IppStatus status = ippiFilterBoxBorder_##flavor(src.ptr<ippType>(), (int)src.step, dst.ptr<ippType>(), \ src 1404 modules/imgproc/src/smooth.cpp Ptr<FilterEngine> f = createBoxFilter( src.type(), dst.type(), src 1406 modules/imgproc/src/smooth.cpp f->apply( src, dst ); src 1409 modules/imgproc/src/smooth.cpp void cv::blur( InputArray src, OutputArray dst, src 1412 modules/imgproc/src/smooth.cpp boxFilter( src, dst, -1, ksize, anchor, true, borderType ); src 1434 modules/imgproc/src/smooth.cpp virtual void operator()(const uchar* src, uchar* dst, int width, int cn) src 1436 modules/imgproc/src/smooth.cpp const T* S = (const T*)src; src 1516 modules/imgproc/src/smooth.cpp Mat src = _src.getMat(); src 1527 modules/imgproc/src/smooth.cpp f->apply( src, dst ); src 1651 modules/imgproc/src/smooth.cpp Mat src = _src.getMat(); src 1653 modules/imgproc/src/smooth.cpp if(sigma1 == 0 && sigma2 == 0 && tegra::useTegra() && tegra::gaussian(src, dst, ksize, borderType)) src 1668 modules/imgproc/src/smooth.cpp Mat src = _src.getMat(), dst = _dst.getMat(); src 1669 modules/imgproc/src/smooth.cpp IppiSize roiSize = { src.cols, src.rows }; src 1686 modules/imgproc/src/smooth.cpp ippiFilterGaussianBorder_##ippfavor##_C1R(src.ptr<ippType>(), (int)src.step, \ src 1688 modules/imgproc/src/smooth.cpp ippiFilterGaussianBorder_##ippfavor##_C3R(src.ptr<ippType>(), (int)src.step, \ src 1851 modules/imgproc/src/smooth.cpp const uchar* src = _src.ptr() + x*cn; src 1861 modules/imgproc/src/smooth.cpp COP( c, j, src[cn*j+c], += (cv::HT)(r+2) ); src 1865 modules/imgproc/src/smooth.cpp const uchar* p = src + sstep*std::min(i, m-1); src 1873 modules/imgproc/src/smooth.cpp const uchar* p0 = src + sstep * std::max( 0, i-r-1 ); src 1874 modules/imgproc/src/smooth.cpp const uchar* p1 = src + sstep * std::min( m-1, i+r ); src 2034 modules/imgproc/src/smooth.cpp const uchar* src = _src.ptr(); src 2038 modules/imgproc/src/smooth.cpp const uchar* src_max = src + size.height*src_step; src 2048 modules/imgproc/src/smooth.cpp for( x = 0; x < size.width; x++, src += cn, dst += cn ) src 2051 modules/imgproc/src/smooth.cpp const uchar* src_top = src; src 2052 modules/imgproc/src/smooth.cpp const uchar* src_bottom = src; src 2157 modules/imgproc/src/smooth.cpp (src_step1 < 0 && src_bottom + src_step1 >= src) ) src 2376 modules/imgproc/src/smooth.cpp const T* src = _src.ptr<T>(); src 2395 modules/imgproc/src/smooth.cpp for( i = 0; i < len; i++, src += sdelta0, dst += ddelta ) src 2396 modules/imgproc/src/smooth.cpp for( j = 0; j < cn; j++, src++ ) src 2398 modules/imgproc/src/smooth.cpp WT p0 = src[i > 0 ? -sdelta : 0]; src 2399 modules/imgproc/src/smooth.cpp WT p1 = src[0]; src 2400 modules/imgproc/src/smooth.cpp WT p2 = src[i < len - 1 ? sdelta : 0]; src 2411 modules/imgproc/src/smooth.cpp const T* row0 = src + std::max(i - 1, 0)*sstep; src 2412 modules/imgproc/src/smooth.cpp const T* row1 = src + i*sstep; src 2413 modules/imgproc/src/smooth.cpp const T* row2 = src + std::min(i + 1, size.height-1)*sstep; src 2464 modules/imgproc/src/smooth.cpp for( i = 0; i < len; i++, src += sdelta0, dst += ddelta ) src 2465 modules/imgproc/src/smooth.cpp for( j = 0; j < cn; j++, src++ ) src 2471 modules/imgproc/src/smooth.cpp WT p0 = src[i0], p1 = src[i1], p2 = src[0], p3 = src[i3], p4 = src[i4]; src 2484 modules/imgproc/src/smooth.cpp row[0] = src + std::max(i - 2, 0)*sstep; src 2485 modules/imgproc/src/smooth.cpp row[1] = src + std::max(i - 1, 0)*sstep; src 2486 modules/imgproc/src/smooth.cpp row[2] = src + i*sstep; src 2487 modules/imgproc/src/smooth.cpp row[3] = src + std::min(i + 1, size.height-1)*sstep; src 2488 modules/imgproc/src/smooth.cpp row[4] = src + std::min(i + 2, size.height-1)*sstep; src 2611 modules/imgproc/src/smooth.cpp UMat src = _src.getUMat(); src 2612 modules/imgproc/src/smooth.cpp _dst.create(src.size(), type); src 2615 modules/imgproc/src/smooth.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst)); src 2619 modules/imgproc/src/smooth.cpp globalsize[0] = DIVUP(src.cols / 4, localsize[0]) * localsize[0]; src 2620 modules/imgproc/src/smooth.cpp globalsize[1] = DIVUP(src.rows / 4, localsize[1]) * localsize[1]; src 2624 modules/imgproc/src/smooth.cpp globalsize[0] = (src.cols + localsize[0] + 2) / localsize[0] * localsize[0]; src 2625 modules/imgproc/src/smooth.cpp globalsize[1] = (src.rows + localsize[1] - 1) / localsize[1] * localsize[1]; src 2662 modules/imgproc/src/smooth.cpp IppStatus status = ippiFilterMedianBorder_##flavor(src.ptr<ippType>(), (int)src.step, \ src 2680 modules/imgproc/src/smooth.cpp Mat src; src 2682 modules/imgproc/src/smooth.cpp src = src0; src 2684 modules/imgproc/src/smooth.cpp src0.copyTo(src); src 2711 modules/imgproc/src/smooth.cpp Mat src; src 2715 modules/imgproc/src/smooth.cpp src = src0; src 2717 modules/imgproc/src/smooth.cpp src0.copyTo(src); src 2719 modules/imgproc/src/smooth.cpp if( src.depth() == CV_8U ) src 2720 modules/imgproc/src/smooth.cpp medianBlur_SortNet<MinMax8u, MinMaxVec8u>( src, dst, ksize ); src 2721 modules/imgproc/src/smooth.cpp else if( src.depth() == CV_16U ) src 2722 modules/imgproc/src/smooth.cpp medianBlur_SortNet<MinMax16u, MinMaxVec16u>( src, dst, ksize ); src 2723 modules/imgproc/src/smooth.cpp else if( src.depth() == CV_16S ) src 2724 modules/imgproc/src/smooth.cpp medianBlur_SortNet<MinMax16s, MinMaxVec16s>( src, dst, ksize ); src 2725 modules/imgproc/src/smooth.cpp else if( src.depth() == CV_32F ) src 2726 modules/imgproc/src/smooth.cpp medianBlur_SortNet<MinMax32f, MinMaxVec32f>( src, dst, ksize ); src 2734 modules/imgproc/src/smooth.cpp cv::copyMakeBorder( src0, src, 0, 0, ksize/2, ksize/2, BORDER_REPLICATE ); src 2737 modules/imgproc/src/smooth.cpp CV_Assert( src.depth() == CV_8U && (cn == 1 || cn == 3 || cn == 4) ); src 2742 modules/imgproc/src/smooth.cpp medianBlur_8u_Om( src, dst, ksize ); src 2744 modules/imgproc/src/smooth.cpp medianBlur_8u_O1( src, dst, ksize ); src 2922 modules/imgproc/src/smooth.cpp ParallelLoopBody(), src(_src), dst(_dst), sigma_color(_sigma_color), sigma_space(_sigma_space), radius(_radius), ok(_ok) src 2945 modules/imgproc/src/smooth.cpp if (0 > ippiFilterBilateral_8u_C1R( src.ptr<uchar>(range.start) + radius * ((int)src.step[0] + 1), (int)src.step[0], dst.ptr<uchar>(range.start), (int)dst.step[0], roi, kernel, pSpec )) src 2953 modules/imgproc/src/smooth.cpp Mat &src; src 2995 modules/imgproc/src/smooth.cpp UMat src = _src.getUMat(), dst = _dst.getUMat(), temp; src 2996 modules/imgproc/src/smooth.cpp if (src.u == dst.u) src 2999 modules/imgproc/src/smooth.cpp copyMakeBorder(src, temp, radius, radius, radius, radius, borderType); src 3058 modules/imgproc/src/smooth.cpp bilateralFilter_8u( const Mat& src, Mat& dst, int d, src 3062 modules/imgproc/src/smooth.cpp int cn = src.channels(); src 3064 modules/imgproc/src/smooth.cpp Size size = src.size(); src 3066 modules/imgproc/src/smooth.cpp CV_Assert( (src.type() == CV_8UC1 || src.type() == CV_8UC3) && src.data != dst.data ); src 3084 modules/imgproc/src/smooth.cpp copyMakeBorder( src, temp, radius, radius, radius, radius, borderType ); src 3319 modules/imgproc/src/smooth.cpp bilateralFilter_32f( const Mat& src, Mat& dst, int d, src 3323 modules/imgproc/src/smooth.cpp int cn = src.channels(); src 3330 modules/imgproc/src/smooth.cpp Size size = src.size(); src 3332 modules/imgproc/src/smooth.cpp CV_Assert( (src.type() == CV_32FC1 || src.type() == CV_32FC3) && src.data != dst.data ); src 3350 modules/imgproc/src/smooth.cpp minMaxLoc( src.reshape(1), &minValSrc, &maxValSrc ); src 3353 modules/imgproc/src/smooth.cpp src.copyTo(dst); src 3359 modules/imgproc/src/smooth.cpp copyMakeBorder( src, temp, radius, radius, radius, radius, borderType ); src 3418 modules/imgproc/src/smooth.cpp Mat src = _src.getMat(), dst = _dst.getMat(); src 3420 modules/imgproc/src/smooth.cpp if( src.depth() == CV_8U ) src 3421 modules/imgproc/src/smooth.cpp bilateralFilter_8u( src, dst, d, sigmaColor, sigmaSpace, borderType ); src 3422 modules/imgproc/src/smooth.cpp else if( src.depth() == CV_32F ) src 3423 modules/imgproc/src/smooth.cpp bilateralFilter_32f( src, dst, d, sigmaColor, sigmaSpace, borderType ); src 3435 modules/imgproc/src/smooth.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst0 = cv::cvarrToMat(dstarr), dst = dst0; src 3437 modules/imgproc/src/smooth.cpp CV_Assert( dst.size() == src.size() && src 3438 modules/imgproc/src/smooth.cpp (smooth_type == CV_BLUR_NO_SCALE || dst.type() == src.type()) ); src 3444 modules/imgproc/src/smooth.cpp cv::boxFilter( src, dst, dst.depth(), cv::Size(param1, param2), cv::Point(-1,-1), src 3447 modules/imgproc/src/smooth.cpp cv::GaussianBlur( src, dst, cv::Size(param1, param2), param3, param4, cv::BORDER_REPLICATE ); src 3449 modules/imgproc/src/smooth.cpp cv::medianBlur( src, dst, param1 ); src 3451 modules/imgproc/src/smooth.cpp cv::bilateralFilter( src, dst, param1, param3, param4, cv::BORDER_REPLICATE ); src 77 modules/imgproc/src/sumpixels.cpp bool operator()(const uchar * src, size_t _srcstep, src 95 modules/imgproc/src/sumpixels.cpp const uchar * src_row = src + _srcstep * i; src 148 modules/imgproc/src/sumpixels.cpp void integral_( const T* src, size_t _srcstep, ST* sum, size_t _sumstep, src 154 modules/imgproc/src/sumpixels.cpp if (Integral_SIMD<T, ST, QT>()(src, _srcstep, src 185 modules/imgproc/src/sumpixels.cpp for( y = 0; y < size.height; y++, src += srcstep - cn, sum += sumstep - cn ) src 187 modules/imgproc/src/sumpixels.cpp for( k = 0; k < cn; k++, src++, sum++ ) src 192 modules/imgproc/src/sumpixels.cpp s += src[x]; src 200 modules/imgproc/src/sumpixels.cpp for( y = 0; y < size.height; y++, src += srcstep - cn, src 203 modules/imgproc/src/sumpixels.cpp for( k = 0; k < cn; k++, src++, sum++, sqsum++ ) src 209 modules/imgproc/src/sumpixels.cpp T it = src[x]; src 226 modules/imgproc/src/sumpixels.cpp for( k = 0; k < cn; k++, src++, sum++, tilted++, buf++ ) src 232 modules/imgproc/src/sumpixels.cpp T it = src[x]; src 253 modules/imgproc/src/sumpixels.cpp src += srcstep - cn; src 261 modules/imgproc/src/sumpixels.cpp for( k = 0; k < cn; k++, src++, sum++, tilted++, buf++ ) src 263 modules/imgproc/src/sumpixels.cpp T it = src[0]; src 281 modules/imgproc/src/sumpixels.cpp t0 = it = src[x]; src 296 modules/imgproc/src/sumpixels.cpp t0 = it = src[x]; src 316 modules/imgproc/src/sumpixels.cpp static void integral_##suffix( T* src, size_t srcstep, ST* sum, size_t sumstep, QT* sqsum, size_t sqsumstep, \ src 318 modules/imgproc/src/sumpixels.cpp { integral_(src, srcstep, sum, sumstep, sqsum, sqsumstep, tilted, tiltedstep, size, cn); } src 334 modules/imgproc/src/sumpixels.cpp typedef void (*IntegralFunc)(const uchar* src, size_t srcstep, uchar* sum, size_t sumstep, src 358 modules/imgproc/src/sumpixels.cpp UMat src = _src.getUMat(); src 359 modules/imgproc/src/sumpixels.cpp Size src_size = src.size(); src 362 modules/imgproc/src/sumpixels.cpp kcols.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnlyNoSize(buf)); src 363 modules/imgproc/src/sumpixels.cpp size_t gt = src.cols, lt = tileSize; src 376 modules/imgproc/src/sumpixels.cpp gt = src.rows; src 398 modules/imgproc/src/sumpixels.cpp UMat src = _src.getUMat(); src 399 modules/imgproc/src/sumpixels.cpp Size src_size = src.size(); src 403 modules/imgproc/src/sumpixels.cpp kcols.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnlyNoSize(buf), ocl::KernelArg::WriteOnlyNoSize(buf_sq)); src 404 modules/imgproc/src/sumpixels.cpp size_t gt = src.cols, lt = tileSize; src 419 modules/imgproc/src/sumpixels.cpp gt = src.rows; src 451 modules/imgproc/src/sumpixels.cpp Mat src = _src.getMat(), sum =_sum.getMat(), sqsum, tilted; src 465 modules/imgproc/src/sumpixels.cpp IppiSize srcRoiSize = ippiSize( src.cols, src.rows ); src 470 modules/imgproc/src/sumpixels.cpp status = ippiSqrIntegral_8u32f64f_C1R( (const Ipp8u*)src.data, (int)src.step, (Ipp32f*)sum.data, (int)sum.step, (Ipp64f*)sqsum.data, (int)sqsum.step, srcRoiSize, 0, 0 ); src 474 modules/imgproc/src/sumpixels.cpp status = ippiIntegral_8u32f_C1R( (const Ipp8u*)src.data, (int)src.step, (Ipp32f*)sum.data, (int)sum.step, srcRoiSize, 0 ); src 481 modules/imgproc/src/sumpixels.cpp status = ippiSqrIntegral_8u32s64f_C1R( (const Ipp8u*)src.data, (int)src.step, (Ipp32s*)sum.data, (int)sum.step, (Ipp64f*)sqsum.data, (int)sqsum.step, srcRoiSize, 0, 0 ); src 485 modules/imgproc/src/sumpixels.cpp status = ippiIntegral_8u32s_C1R( (const Ipp8u*)src.data, (int)src.step, (Ipp32s*)sum.data, (int)sum.step, srcRoiSize, 0 ); src 532 modules/imgproc/src/sumpixels.cpp func( src.ptr(), src.step, sum.ptr(), sum.step, sqsum.ptr(), sqsum.step, src 533 modules/imgproc/src/sumpixels.cpp tilted.ptr(), tilted.step, src.size(), cn ); src 536 modules/imgproc/src/sumpixels.cpp void cv::integral( InputArray src, OutputArray sum, int sdepth ) src 538 modules/imgproc/src/sumpixels.cpp integral( src, sum, noArray(), noArray(), sdepth ); src 541 modules/imgproc/src/sumpixels.cpp void cv::integral( InputArray src, OutputArray sum, OutputArray sqsum, int sdepth, int sqdepth ) src 543 modules/imgproc/src/sumpixels.cpp integral( src, sum, sqsum, noArray(), sdepth, sqdepth ); src 551 modules/imgproc/src/sumpixels.cpp cv::Mat src = cv::cvarrToMat(image), sum = cv::cvarrToMat(sumImage), sum0 = sum; src 566 modules/imgproc/src/sumpixels.cpp cv::integral( src, sum, psqsum ? cv::_OutputArray(*psqsum) : cv::_OutputArray(), src 99 modules/imgproc/src/templmatch.cpp UMat src = _src.getUMat(); src 102 modules/imgproc/src/templmatch.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), src 105 modules/imgproc/src/templmatch.cpp k.args(srcarg, src.cols, (int)src.total(), resarg); src 567 modules/imgproc/src/templmatch.cpp static bool ipp_crossCorr(const Mat& src, const Mat& tpl, Mat& dst) src 571 modules/imgproc/src/templmatch.cpp IppiSize srcRoiSize = {src.cols,src.rows}; src 577 modules/imgproc/src/templmatch.cpp int depth = src.depth(); src 594 modules/imgproc/src/templmatch.cpp status = ippFunc(src.ptr(), (int)src.step, srcRoiSize, tpl.ptr(), (int)tpl.step, tplRoiSize, dst.ptr<Ipp32f>(), (int)dst.step, funCfg, pBuffer); src 600 modules/imgproc/src/templmatch.cpp static bool ipp_sqrDistance(const Mat& src, const Mat& tpl, Mat& dst) src 604 modules/imgproc/src/templmatch.cpp IppiSize srcRoiSize = {src.cols,src.rows}; src 610 modules/imgproc/src/templmatch.cpp int depth = src.depth(); src 627 modules/imgproc/src/templmatch.cpp status = ippFunc(src.ptr(), (int)src.step, srcRoiSize, tpl.ptr(), (int)tpl.step, tplRoiSize, dst.ptr<Ipp32f>(), (int)dst.step, funCfg, pBuffer); src 705 modules/imgproc/src/templmatch.cpp Mat src = templ; src 711 modules/imgproc/src/templmatch.cpp src = tdepth == maxDepth ? dst1 : Mat(templ.size(), tdepth, &buf[0]); src 713 modules/imgproc/src/templmatch.cpp mixChannels(&templ, 1, &src, 1, pairs, 1); src 716 modules/imgproc/src/templmatch.cpp if( dst1.data != src.data ) src 717 modules/imgproc/src/templmatch.cpp src.convertTo(dst1, dst1.depth()); src 763 modules/imgproc/src/templmatch.cpp Mat src = src0; src 768 modules/imgproc/src/templmatch.cpp src = depth == maxDepth ? dst1 : Mat(y2-y1, x2-x1, depth, &buf[0]); src 770 modules/imgproc/src/templmatch.cpp mixChannels(&src0, 1, &src, 1, pairs, 1); src 773 modules/imgproc/src/templmatch.cpp if( dst1.data != src.data ) src 774 modules/imgproc/src/templmatch.cpp src.convertTo(dst1, dst1.depth()); src 786 modules/imgproc/src/templmatch.cpp src = dftImg(Rect(0, 0, bsz.width, bsz.height)); src 793 modules/imgproc/src/templmatch.cpp src.convertTo(plane, cdepth, 1, delta); src 794 modules/imgproc/src/templmatch.cpp src = plane; src 797 modules/imgproc/src/templmatch.cpp mixChannels(&src, 1, &cdst, 1, pairs, 1); src 802 modules/imgproc/src/templmatch.cpp src.convertTo(cdst, cdepth, 1, delta); src 808 modules/imgproc/src/templmatch.cpp src.convertTo(plane, cdepth); src 809 modules/imgproc/src/templmatch.cpp src = plane; src 811 modules/imgproc/src/templmatch.cpp add(src, cdst, cdst); src 175 modules/imgproc/src/thresh.cpp const uchar* src = _src.ptr() + src_step*i; src 184 modules/imgproc/src/thresh.cpp v0 = _mm_loadu_si128( (const __m128i*)(src + j) ); src 185 modules/imgproc/src/thresh.cpp v1 = _mm_loadu_si128( (const __m128i*)(src + j + 16) ); src 196 modules/imgproc/src/thresh.cpp __m128i v0 = _mm_loadl_epi64( (const __m128i*)(src + j) ); src 207 modules/imgproc/src/thresh.cpp v0 = _mm_loadu_si128( (const __m128i*)(src + j) ); src 208 modules/imgproc/src/thresh.cpp v1 = _mm_loadu_si128( (const __m128i*)(src + j + 16) ); src 219 modules/imgproc/src/thresh.cpp __m128i v0 = _mm_loadl_epi64( (const __m128i*)(src + j) ); src 230 modules/imgproc/src/thresh.cpp v0 = _mm_loadu_si128( (const __m128i*)(src + j) ); src 231 modules/imgproc/src/thresh.cpp v1 = _mm_loadu_si128( (const __m128i*)(src + j + 16) ); src 240 modules/imgproc/src/thresh.cpp __m128i v0 = _mm_loadl_epi64( (const __m128i*)(src + j) ); src 250 modules/imgproc/src/thresh.cpp v0 = _mm_loadu_si128( (const __m128i*)(src + j) ); src 251 modules/imgproc/src/thresh.cpp v1 = _mm_loadu_si128( (const __m128i*)(src + j + 16) ); src 260 modules/imgproc/src/thresh.cpp __m128i v0 = _mm_loadl_epi64( (const __m128i*)(src + j) ); src 270 modules/imgproc/src/thresh.cpp v0 = _mm_loadu_si128( (const __m128i*)(src + j) ); src 271 modules/imgproc/src/thresh.cpp v1 = _mm_loadu_si128( (const __m128i*)(src + j + 16) ); src 280 modules/imgproc/src/thresh.cpp __m128i v0 = _mm_loadl_epi64( (const __m128i*)(src + j) ); src 296 modules/imgproc/src/thresh.cpp const uchar* src = _src.ptr() + src_step*i; src 300 modules/imgproc/src/thresh.cpp vst1q_u8(dst + j_scalar, vandq_u8(vcgtq_u8(vld1q_u8(src + j_scalar), v_thresh), v_maxval)); src 307 modules/imgproc/src/thresh.cpp const uchar* src = _src.ptr() + src_step*i; src 311 modules/imgproc/src/thresh.cpp vst1q_u8(dst + j_scalar, vandq_u8(vcleq_u8(vld1q_u8(src + j_scalar), v_thresh), v_maxval)); src 318 modules/imgproc/src/thresh.cpp const uchar* src = _src.ptr() + src_step*i; src 322 modules/imgproc/src/thresh.cpp vst1q_u8(dst + j_scalar, vminq_u8(vld1q_u8(src + j_scalar), v_thresh)); src 329 modules/imgproc/src/thresh.cpp const uchar* src = _src.ptr() + src_step*i; src 334 modules/imgproc/src/thresh.cpp uint8x16_t v_src = vld1q_u8(src + j_scalar), v_mask = vcgtq_u8(v_src, v_thresh); src 343 modules/imgproc/src/thresh.cpp const uchar* src = _src.ptr() + src_step*i; src 348 modules/imgproc/src/thresh.cpp uint8x16_t v_src = vld1q_u8(src + j_scalar), v_mask = vcleq_u8(v_src, v_thresh); src 362 modules/imgproc/src/thresh.cpp const uchar* src = _src.ptr() + src_step*i; src 368 modules/imgproc/src/thresh.cpp uchar t0 = tab[src[j]]; src 369 modules/imgproc/src/thresh.cpp uchar t1 = tab[src[j+1]]; src 374 modules/imgproc/src/thresh.cpp t0 = tab[src[j+2]]; src 375 modules/imgproc/src/thresh.cpp t1 = tab[src[j+3]]; src 382 modules/imgproc/src/thresh.cpp dst[j] = tab[src[j]]; src 394 modules/imgproc/src/thresh.cpp const short* src = _src.ptr<short>(); src 396 modules/imgproc/src/thresh.cpp size_t src_step = _src.step/sizeof(src[0]); src 430 modules/imgproc/src/thresh.cpp if (ippiThreshold_GT_16s_C1R(src, (int)src_step*sizeof(src[0]), dst, (int)dst_step*sizeof(dst[0]), sz, thresh) >= 0) src 445 modules/imgproc/src/thresh.cpp if (ippiThreshold_LTVal_16s_C1R(src, (int)src_step*sizeof(src[0]), dst, (int)dst_step*sizeof(dst[0]), sz, thresh+1, 0) >= 0) src 460 modules/imgproc/src/thresh.cpp if (ippiThreshold_GTVal_16s_C1R(src, (int)src_step*sizeof(src[0]), dst, (int)dst_step*sizeof(dst[0]), sz, thresh, 0) >= 0) src 475 modules/imgproc/src/thresh.cpp for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step ) src 485 modules/imgproc/src/thresh.cpp v0 = _mm_loadu_si128( (const __m128i*)(src + j) ); src 486 modules/imgproc/src/thresh.cpp v1 = _mm_loadu_si128( (const __m128i*)(src + j + 8) ); src 500 modules/imgproc/src/thresh.cpp uint16x8_t v_mask = vcgtq_s16(vld1q_s16(src + j), v_thresh); src 506 modules/imgproc/src/thresh.cpp dst[j] = src[j] > thresh ? maxval : 0; src 511 modules/imgproc/src/thresh.cpp for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step ) src 521 modules/imgproc/src/thresh.cpp v0 = _mm_loadu_si128( (const __m128i*)(src + j) ); src 522 modules/imgproc/src/thresh.cpp v1 = _mm_loadu_si128( (const __m128i*)(src + j + 8) ); src 536 modules/imgproc/src/thresh.cpp uint16x8_t v_mask = vcleq_s16(vld1q_s16(src + j), v_thresh); src 542 modules/imgproc/src/thresh.cpp dst[j] = src[j] <= thresh ? maxval : 0; src 547 modules/imgproc/src/thresh.cpp for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step ) src 557 modules/imgproc/src/thresh.cpp v0 = _mm_loadu_si128( (const __m128i*)(src + j) ); src 558 modules/imgproc/src/thresh.cpp v1 = _mm_loadu_si128( (const __m128i*)(src + j + 8) ); src 569 modules/imgproc/src/thresh.cpp vst1q_s16(dst + j, vminq_s16(vld1q_s16(src + j), v_thresh)); src 573 modules/imgproc/src/thresh.cpp dst[j] = std::min(src[j], thresh); src 578 modules/imgproc/src/thresh.cpp for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step ) src 588 modules/imgproc/src/thresh.cpp v0 = _mm_loadu_si128( (const __m128i*)(src + j) ); src 589 modules/imgproc/src/thresh.cpp v1 = _mm_loadu_si128( (const __m128i*)(src + j + 8) ); src 601 modules/imgproc/src/thresh.cpp int16x8_t v_src = vld1q_s16(src + j); src 609 modules/imgproc/src/thresh.cpp short v = src[j]; src 616 modules/imgproc/src/thresh.cpp for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step ) src 626 modules/imgproc/src/thresh.cpp v0 = _mm_loadu_si128( (const __m128i*)(src + j) ); src 627 modules/imgproc/src/thresh.cpp v1 = _mm_loadu_si128( (const __m128i*)(src + j + 8) ); src 639 modules/imgproc/src/thresh.cpp int16x8_t v_src = vld1q_s16(src + j); src 646 modules/imgproc/src/thresh.cpp short v = src[j]; src 663 modules/imgproc/src/thresh.cpp const float* src = _src.ptr<float>(); src 665 modules/imgproc/src/thresh.cpp size_t src_step = _src.step/sizeof(src[0]); src 690 modules/imgproc/src/thresh.cpp if (0 <= ippiThreshold_GT_32f_C1R(src, (int)src_step*sizeof(src[0]), dst, (int)dst_step*sizeof(dst[0]), sz, thresh)) src 698 modules/imgproc/src/thresh.cpp if (0 <= ippiThreshold_LTVal_32f_C1R(src, (int)src_step*sizeof(src[0]), dst, (int)dst_step*sizeof(dst[0]), sz, thresh+FLT_EPSILON, 0)) src 706 modules/imgproc/src/thresh.cpp if (0 <= ippiThreshold_GTVal_32f_C1R(src, (int)src_step*sizeof(src[0]), dst, (int)dst_step*sizeof(dst[0]), sz, thresh, 0)) src 720 modules/imgproc/src/thresh.cpp for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step ) src 730 modules/imgproc/src/thresh.cpp v0 = _mm_loadu_ps( src + j ); src 731 modules/imgproc/src/thresh.cpp v1 = _mm_loadu_ps( src + j + 4 ); src 746 modules/imgproc/src/thresh.cpp float32x4_t v_src = vld1q_f32(src + j); src 753 modules/imgproc/src/thresh.cpp dst[j] = src[j] > thresh ? maxval : 0; src 758 modules/imgproc/src/thresh.cpp for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step ) src 768 modules/imgproc/src/thresh.cpp v0 = _mm_loadu_ps( src + j ); src 769 modules/imgproc/src/thresh.cpp v1 = _mm_loadu_ps( src + j + 4 ); src 784 modules/imgproc/src/thresh.cpp float32x4_t v_src = vld1q_f32(src + j); src 791 modules/imgproc/src/thresh.cpp dst[j] = src[j] <= thresh ? maxval : 0; src 796 modules/imgproc/src/thresh.cpp for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step ) src 806 modules/imgproc/src/thresh.cpp v0 = _mm_loadu_ps( src + j ); src 807 modules/imgproc/src/thresh.cpp v1 = _mm_loadu_ps( src + j + 4 ); src 818 modules/imgproc/src/thresh.cpp vst1q_f32(dst + j, vminq_f32(vld1q_f32(src + j), v_thresh)); src 822 modules/imgproc/src/thresh.cpp dst[j] = std::min(src[j], thresh); src 827 modules/imgproc/src/thresh.cpp for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step ) src 837 modules/imgproc/src/thresh.cpp v0 = _mm_loadu_ps( src + j ); src 838 modules/imgproc/src/thresh.cpp v1 = _mm_loadu_ps( src + j + 4 ); src 850 modules/imgproc/src/thresh.cpp float32x4_t v_src = vld1q_f32(src + j); src 859 modules/imgproc/src/thresh.cpp float v = src[j]; src 866 modules/imgproc/src/thresh.cpp for( i = 0; i < roi.height; i++, src += src_step, dst += dst_step ) src 876 modules/imgproc/src/thresh.cpp v0 = _mm_loadu_ps( src + j ); src 877 modules/imgproc/src/thresh.cpp v1 = _mm_loadu_ps( src + j + 4 ); src 889 modules/imgproc/src/thresh.cpp float32x4_t v_src = vld1q_f32(src + j); src 897 modules/imgproc/src/thresh.cpp float v = src[j]; src 941 modules/imgproc/src/thresh.cpp const uchar* src = _src.ptr() + step*i; src 946 modules/imgproc/src/thresh.cpp int v0 = src[j], v1 = src[j+1]; src 948 modules/imgproc/src/thresh.cpp v0 = src[j+2]; v1 = src[j+3]; src 953 modules/imgproc/src/thresh.cpp h[src[j]]++; src 1005 modules/imgproc/src/thresh.cpp const uchar* src = _src.ptr() + step*i; src 1010 modules/imgproc/src/thresh.cpp int v0 = src[j], v1 = src[j+1]; src 1012 modules/imgproc/src/thresh.cpp v0 = src[j+2]; v1 = src[j+3]; src 1017 modules/imgproc/src/thresh.cpp h[src[j]]++; src 1098 modules/imgproc/src/thresh.cpp src = _src; src 1111 modules/imgproc/src/thresh.cpp Mat srcStripe = src.rowRange(row0, row1); src 1129 modules/imgproc/src/thresh.cpp Mat src; src 1162 modules/imgproc/src/thresh.cpp UMat src = _src.getUMat(); src 1163 modules/imgproc/src/thresh.cpp _dst.create(src.size(), type); src 1172 modules/imgproc/src/thresh.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst, cn, kercn), src 1191 modules/imgproc/src/thresh.cpp Mat src = _src.getMat(); src 1198 modules/imgproc/src/thresh.cpp CV_Assert( src.type() == CV_8UC1 ); src 1199 modules/imgproc/src/thresh.cpp thresh = getThreshVal_Otsu_8u( src ); src 1203 modules/imgproc/src/thresh.cpp CV_Assert( src.type() == CV_8UC1 ); src 1204 modules/imgproc/src/thresh.cpp thresh = getThreshVal_Triangle_8u( src ); src 1207 modules/imgproc/src/thresh.cpp _dst.create( src.size(), src.type() ); src 1210 modules/imgproc/src/thresh.cpp if( src.depth() == CV_8U ) src 1231 modules/imgproc/src/thresh.cpp src.copyTo(dst); src 1237 modules/imgproc/src/thresh.cpp else if( src.depth() == CV_16S ) src 1258 modules/imgproc/src/thresh.cpp src.copyTo(dst); src 1264 modules/imgproc/src/thresh.cpp else if( src.depth() == CV_32F ) src 1270 modules/imgproc/src/thresh.cpp ThresholdRunner(src, dst, thresh, maxval, type), src 1279 modules/imgproc/src/thresh.cpp Mat src = _src.getMat(); src 1280 modules/imgproc/src/thresh.cpp CV_Assert( src.type() == CV_8UC1 ); src 1282 modules/imgproc/src/thresh.cpp Size size = src.size(); src 1284 modules/imgproc/src/thresh.cpp _dst.create( size, src.type() ); src 1295 modules/imgproc/src/thresh.cpp if( src.data != dst.data ) src 1299 modules/imgproc/src/thresh.cpp boxFilter( src, mean, src.type(), Size(blockSize, blockSize), src 1302 modules/imgproc/src/thresh.cpp GaussianBlur( src, mean, Size(blockSize, blockSize), 0, 0, BORDER_REPLICATE ); src 1320 modules/imgproc/src/thresh.cpp if( src.isContinuous() && mean.isContinuous() && dst.isContinuous() ) src 1328 modules/imgproc/src/thresh.cpp const uchar* sdata = src.ptr(i); src 1340 modules/imgproc/src/thresh.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), dst0 = dst; src 1342 modules/imgproc/src/thresh.cpp CV_Assert( src.size == dst.size && src.channels() == dst.channels() && src 1343 modules/imgproc/src/thresh.cpp (src.depth() == dst.depth() || dst.depth() == CV_8U)); src 1345 modules/imgproc/src/thresh.cpp thresh = cv::threshold( src, dst, thresh, maxval, type ); src 1356 modules/imgproc/src/thresh.cpp cv::Mat src = cv::cvarrToMat(srcIm), dst = cv::cvarrToMat(dstIm); src 1357 modules/imgproc/src/thresh.cpp CV_Assert( src.size == dst.size && src.type() == dst.type() ); src 1358 modules/imgproc/src/thresh.cpp cv::adaptiveThreshold( src, dst, maxValue, method, type, blockSize, delta ); src 173 modules/imgproc/src/undistort.cpp Mat src = _src.getMat(), cameraMatrix = _cameraMatrix.getMat(); src 176 modules/imgproc/src/undistort.cpp _dst.create( src.size(), src.type() ); src 179 modules/imgproc/src/undistort.cpp CV_Assert( dst.data != src.data ); src 181 modules/imgproc/src/undistort.cpp int stripe_size0 = std::min(std::max(1, (1 << 12) / std::max(src.cols, 1)), src.rows); src 182 modules/imgproc/src/undistort.cpp Mat map1(stripe_size0, src.cols, CV_16SC2), map2(stripe_size0, src.cols, CV_16UC1); src 201 modules/imgproc/src/undistort.cpp for( int y = 0; y < src.rows; y += stripe_size0 ) src 203 modules/imgproc/src/undistort.cpp int stripe_size = std::min( stripe_size0, src.rows - y ); src 209 modules/imgproc/src/undistort.cpp initUndistortRectifyMap( A, distCoeffs, I, Ar, Size(src.cols, stripe_size), src 211 modules/imgproc/src/undistort.cpp remap( src, dst_part, map1_part, map2_part, INTER_LINEAR, BORDER_CONSTANT ); src 219 modules/imgproc/src/undistort.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr), dst0 = dst; src 224 modules/imgproc/src/undistort.cpp CV_Assert( src.size() == dst.size() && src.type() == dst.type() ); src 225 modules/imgproc/src/undistort.cpp cv::undistort( src, dst, A, distCoeffs, newA ); src 397 modules/imgproc/src/undistort.cpp Mat src = _src.getMat(), cameraMatrix = _cameraMatrix.getMat(); src 400 modules/imgproc/src/undistort.cpp CV_Assert( src.isContinuous() && (src.depth() == CV_32F || src.depth() == CV_64F) && src 401 modules/imgproc/src/undistort.cpp ((src.rows == 1 && src.channels() == 2) || src.cols*src.channels() == 2)); src 403 modules/imgproc/src/undistort.cpp _dst.create(src.size(), src.type(), -1, true); src 406 modules/imgproc/src/undistort.cpp CvMat _csrc = src, _cdst = dst, _ccameraMatrix = cameraMatrix; src 82 modules/imgproc/src/utils.cpp cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr); src 83 modules/imgproc/src/utils.cpp int left = offset.x, right = dst.cols - src.cols - left; src 84 modules/imgproc/src/utils.cpp int top = offset.y, bottom = dst.rows - src.rows - top; src 86 modules/imgproc/src/utils.cpp CV_Assert( dst.type() == src.type() ); src 87 modules/imgproc/src/utils.cpp cv::copyMakeBorder( src, dst, top, bottom, left, right, borderType, value ); src 61 modules/imgproc/test/ocl/test_accumulate.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 81 modules/imgproc/test/ocl/test_accumulate.cpp randomSubMat(src, src_roi, roiSize, srcBorder, stype, -MAX_VALUE, MAX_VALUE); src 93 modules/imgproc/test/ocl/test_accumulate.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 64 modules/imgproc/test/ocl/test_boxfilter.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 83 modules/imgproc/test/ocl/test_boxfilter.cpp randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); src 91 modules/imgproc/test/ocl/test_boxfilter.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 66 modules/imgproc/test/ocl/test_canny.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 86 modules/imgproc/test/ocl/test_canny.cpp randomSubMat(src, src_roi, roiSize, srcBorder, type, 2, 100); src 92 modules/imgproc/test/ocl/test_canny.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 62 modules/imgproc/test/ocl/test_color.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 78 modules/imgproc/test/ocl/test_color.cpp randomSubMat(src, src_roi, roiSize, srcBorder, srcType, 2, 100); src 83 modules/imgproc/test/ocl/test_color.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 337 modules/imgproc/test/ocl/test_color.cpp randomSubMat(src, src_roi, roiSize, srcBorder, srcType, 2, 100); src 342 modules/imgproc/test/ocl/test_color.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 379 modules/imgproc/test/ocl/test_color.cpp randomSubMat(src, src_roi, srcRoiSize, srcBorder, srcType, 2, 100); src 385 modules/imgproc/test/ocl/test_color.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 413 modules/imgproc/test/ocl/test_color.cpp randomSubMat(src, src_roi, roiSize, srcBorder, srcType, 2, 100); src 418 modules/imgproc/test/ocl/test_color.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 68 modules/imgproc/test/ocl/test_filter2d.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 90 modules/imgproc/test/ocl/test_filter2d.cpp randomSubMat(src, src_roi, size, srcBorder, type, -MAX_VALUE, MAX_VALUE); src 100 modules/imgproc/test/ocl/test_filter2d.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 74 modules/imgproc/test/ocl/test_filters.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 98 modules/imgproc/test/ocl/test_filters.cpp randomSubMat(src, src_roi, roiSize, srcBorder, type, 5, 256); src 103 modules/imgproc/test/ocl/test_filters.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 288 modules/imgproc/test/ocl/test_filters.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 308 modules/imgproc/test/ocl/test_filters.cpp randomSubMat(src, src_roi, roiSize, srcBorder, type, 5, 256); src 313 modules/imgproc/test/ocl/test_filters.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 63 modules/imgproc/test/ocl/test_gftt.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 79 modules/imgproc/test/ocl/test_gftt.cpp randomSubMat(src, src_roi, roiSize, srcBorder, frame.type(), 5, 256); src 82 modules/imgproc/test/ocl/test_gftt.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 169 modules/imgproc/test/ocl/test_histogram.cpp UMat udst1, src, uhist1; src 228 modules/imgproc/test/ocl/test_histogram.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 241 modules/imgproc/test/ocl/test_histogram.cpp randomSubMat(src, src_roi, roiSize, srcBorder, CV_8UC1, 0, 256); src 246 modules/imgproc/test/ocl/test_histogram.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 33 modules/imgproc/test/ocl/test_houghlines.cpp Mat src, dst; src 46 modules/imgproc/test/ocl/test_houghlines.cpp src.create(src_size, CV_8UC1); src 47 modules/imgproc/test/ocl/test_houghlines.cpp src.setTo(Scalar::all(0)); src 48 modules/imgproc/test/ocl/test_houghlines.cpp line(src, Point(0, 100), Point(100, 100), Scalar::all(255), 1); src 49 modules/imgproc/test/ocl/test_houghlines.cpp line(src, Point(0, 200), Point(100, 200), Scalar::all(255), 1); src 50 modules/imgproc/test/ocl/test_houghlines.cpp line(src, Point(0, 400), Point(100, 400), Scalar::all(255), 1); src 51 modules/imgproc/test/ocl/test_houghlines.cpp line(src, Point(100, 0), Point(100, 200), Scalar::all(255), 1); src 52 modules/imgproc/test/ocl/test_houghlines.cpp line(src, Point(200, 0), Point(200, 200), Scalar::all(255), 1); src 53 modules/imgproc/test/ocl/test_houghlines.cpp line(src, Point(400, 0), Point(400, 200), Scalar::all(255), 1); src 55 modules/imgproc/test/ocl/test_houghlines.cpp src.copyTo(usrc); src 61 modules/imgproc/test/ocl/test_houghlines.cpp Canny(img, src, 100, 150, 3); src 63 modules/imgproc/test/ocl/test_houghlines.cpp src.copyTo(usrc); src 88 modules/imgproc/test/ocl/test_houghlines.cpp OCL_OFF(cv::HoughLines(src, dst, rhoStep, thetaStep, threshold)); src 100 modules/imgproc/test/ocl/test_houghlines.cpp OCL_OFF(cv::HoughLines(src, dst, rhoStep, thetaStep, threshold)); src 115 modules/imgproc/test/ocl/test_houghlines.cpp Mat src, dst; src 130 modules/imgproc/test/ocl/test_houghlines.cpp Canny(img, src, 50, 200, 3); src 132 modules/imgproc/test/ocl/test_houghlines.cpp src.copyTo(usrc); src 141 modules/imgproc/test/ocl/test_houghlines.cpp Mat result_cpu(src.size(), CV_8UC1, Scalar::all(0)); src 142 modules/imgproc/test/ocl/test_houghlines.cpp Mat result_gpu(src.size(), CV_8UC1, Scalar::all(0)); src 168 modules/imgproc/test/ocl/test_houghlines.cpp OCL_OFF(cv::HoughLinesP(src, dst, rhoStep, thetaStep, threshold, minLineLength, maxGap)); src 73 modules/imgproc/test/ocl/test_imgproc.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 88 modules/imgproc/test/ocl/test_imgproc.cpp randomSubMat(src, src_roi, roiSize, srcBorder, type, 5, 256); src 93 modules/imgproc/test/ocl/test_imgproc.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 120 modules/imgproc/test/ocl/test_imgproc.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 141 modules/imgproc/test/ocl/test_imgproc.cpp randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); src 151 modules/imgproc/test/ocl/test_imgproc.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 213 modules/imgproc/test/ocl/test_imgproc.cpp src = randomMat(wholeSize, type, -val, val, false); src 214 modules/imgproc/test/ocl/test_imgproc.cpp src_roi = src(Rect(srcBorder.lef, srcBorder.top, roiSize.width, roiSize.height)); src 220 modules/imgproc/test/ocl/test_imgproc.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 305 modules/imgproc/test/ocl/test_imgproc.cpp randomSubMat(src, src_roi, roiSize, srcBorder, type, 5, 256); src 313 modules/imgproc/test/ocl/test_imgproc.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 393 modules/imgproc/test/ocl/test_imgproc.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 407 modules/imgproc/test/ocl/test_imgproc.cpp randomSubMat(src, src_roi, roiSize, srcBorder, CV_8UC1, 5, 256); src 412 modules/imgproc/test/ocl/test_imgproc.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 60 modules/imgproc/test/ocl/test_medianfilter.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 74 modules/imgproc/test/ocl/test_medianfilter.cpp randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); src 79 modules/imgproc/test/ocl/test_medianfilter.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 60 modules/imgproc/test/ocl/test_pyramids.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 74 modules/imgproc/test/ocl/test_pyramids.cpp randomSubMat(src, src_roi, src_roiSize, srcBorder, CV_MAKETYPE(depth, channels), -MAX_VALUE, MAX_VALUE); src 79 modules/imgproc/test/ocl/test_pyramids.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 66 modules/imgproc/test/ocl/test_sepfilter2D.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 91 modules/imgproc/test/ocl/test_sepfilter2D.cpp randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); src 99 modules/imgproc/test/ocl/test_sepfilter2D.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 77 modules/imgproc/test/ocl/test_warp.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 98 modules/imgproc/test/ocl/test_warp.cpp randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); src 103 modules/imgproc/test/ocl/test_warp.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 175 modules/imgproc/test/ocl/test_warp.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 205 modules/imgproc/test/ocl/test_warp.cpp randomSubMat(src, src_roi, srcRoiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); src 210 modules/imgproc/test/ocl/test_warp.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 247 modules/imgproc/test/ocl/test_warp.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 268 modules/imgproc/test/ocl/test_warp.cpp randomSubMat(src, src_roi, srcROISize, srcBorder, srcType, 5, 256); src 286 modules/imgproc/test/ocl/test_warp.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 68 modules/imgproc/test/test_bilateral_filter.cpp void reference_bilateral_filter(const Mat& src, Mat& dst, int d, double sigma_color, src 97 modules/imgproc/test/test_bilateral_filter.cpp void CV_BilateralFilterTest::reference_bilateral_filter(const Mat &src, Mat &dst, int d, src 100 modules/imgproc/test/test_bilateral_filter.cpp int cn = src.channels(); src 107 modules/imgproc/test/test_bilateral_filter.cpp Size size = src.size(); src 109 modules/imgproc/test/test_bilateral_filter.cpp dst.create(size, src.type()); src 111 modules/imgproc/test/test_bilateral_filter.cpp CV_Assert( (src.type() == CV_32FC1 || src.type() == CV_32FC3) && src 112 modules/imgproc/test/test_bilateral_filter.cpp src.type() == dst.type() && src.size() == dst.size() && src 113 modules/imgproc/test/test_bilateral_filter.cpp src.data != dst.data ); src 131 modules/imgproc/test/test_bilateral_filter.cpp minMaxLoc( src.reshape(1), &minValSrc, &maxValSrc ); src 134 modules/imgproc/test/test_bilateral_filter.cpp src.copyTo(dst); src 140 modules/imgproc/test/test_bilateral_filter.cpp copyMakeBorder( src, temp, radius, radius, radius, radius, borderType ); src 63 modules/imgproc/test/test_boundingrect.cpp template <typename T> void generate_src_points(vector <Point_<T> >& src, int n); src 64 modules/imgproc/test/test_boundingrect.cpp template <typename T> cv::Rect get_bounding_rect(const vector <Point_<T> > src); src 65 modules/imgproc/test/test_boundingrect.cpp template <typename T> bool checking_function_work(vector <Point_<T> >& src, int type); src 71 modules/imgproc/test/test_boundingrect.cpp template <typename T> void CV_BoundingRectTest::generate_src_points(vector <Point_<T> >& src, int n) src 73 modules/imgproc/test/test_boundingrect.cpp src.clear(); src 75 modules/imgproc/test/test_boundingrect.cpp src.push_back(Point_<T>(cv::randu<T>(), cv::randu<T>())); src 78 modules/imgproc/test/test_boundingrect.cpp template <typename T> cv::Rect CV_BoundingRectTest::get_bounding_rect(const vector <Point_<T> > src) src 80 modules/imgproc/test/test_boundingrect.cpp int n = (int)src.size(); src 86 modules/imgproc/test/test_boundingrect.cpp min_w = std::min<T>(src.at(i).x, min_w); src 87 modules/imgproc/test/test_boundingrect.cpp max_w = std::max<T>(src.at(i).x, max_w); src 88 modules/imgproc/test/test_boundingrect.cpp min_h = std::min<T>(src.at(i).y, min_h); src 89 modules/imgproc/test/test_boundingrect.cpp max_h = std::max<T>(src.at(i).y, max_h); src 95 modules/imgproc/test/test_boundingrect.cpp template <typename T> bool CV_BoundingRectTest::checking_function_work(vector <Point_<T> >& src, int type) src 107 modules/imgproc/test/test_boundingrect.cpp generate_src_points <T> (src, n); src 109 modules/imgproc/test/test_boundingrect.cpp cv::Rect right = get_bounding_rect <T> (src); src 111 modules/imgproc/test/test_boundingrect.cpp cv::Rect rect[2] = { boundingRect(src), boundingRect(Mat(src)) }; src 110 modules/imgproc/test/test_canny.cpp Mat& src = test_mat[INPUT][0]; src 111 modules/imgproc/test/test_canny.cpp GaussianBlur(src, src, Size(11, 11), 5, 5); src 160 modules/imgproc/test/test_canny.cpp test_Canny( const Mat& src, Mat& dst, src 171 modules/imgproc/test/test_canny.cpp int x, y, width = src.cols, height = src.rows; src 176 modules/imgproc/test/test_canny.cpp cvtest::filter2D(src, dx, CV_16S, dxkernel, anchor, 0, BORDER_REPLICATE); src 177 modules/imgproc/test/test_canny.cpp cvtest::filter2D(src, dy, CV_16S, dykernel, anchor, 0, BORDER_REPLICATE); src 253 modules/imgproc/test/test_canny.cpp Mat src = test_mat[INPUT][0], dst = test_mat[REF_OUTPUT][0]; src 254 modules/imgproc/test/test_canny.cpp test_Canny( src, dst, threshold1, threshold2, aperture_size, use_true_gradient ); src 61 modules/imgproc/test/test_color.cpp virtual void convert_forward( const Mat& src, Mat& dst ); src 63 modules/imgproc/test/test_color.cpp virtual void convert_backward( const Mat& src, const Mat& dst, Mat& dst2 ); src 205 modules/imgproc/test/test_color.cpp void CV_ColorCvtBaseTest::convert_forward( const Mat& src, Mat& dst ) src 209 modules/imgproc/test/test_color.cpp int depth = src.depth(); src 210 modules/imgproc/test/test_color.cpp int cn = src.channels(), dst_cn = dst.channels(); src 211 modules/imgproc/test/test_color.cpp int cols = src.cols, dst_cols_n = dst.cols*dst_cn; src 212 modules/imgproc/test/test_color.cpp vector<float> _src_buf(src.cols*3); src 220 modules/imgproc/test/test_color.cpp for( i = 0; i < src.rows; i++ ) src 226 modules/imgproc/test/test_color.cpp const uchar* src_row = src.ptr(i); src 247 modules/imgproc/test/test_color.cpp const ushort* src_row = src.ptr<ushort>(i); src 268 modules/imgproc/test/test_color.cpp const float* src_row = src.ptr<float>(i); src 300 modules/imgproc/test/test_color.cpp void CV_ColorCvtBaseTest::convert_backward( const Mat& src, const Mat& dst, Mat& dst2 ) src 304 modules/imgproc/test/test_color.cpp int depth = src.depth(); src 306 modules/imgproc/test/test_color.cpp int cols_n = src.cols*src_cn, dst_cols = dst.cols; src 307 modules/imgproc/test/test_color.cpp vector<float> _src_buf(src.cols*3); src 315 modules/imgproc/test/test_color.cpp for( i = 0; i < src.rows; i++ ) src 393 modules/imgproc/test/test_color.cpp int elem_size = (int)src.elemSize(), elem_size1 = (int)src.elemSize1(); src 394 modules/imgproc/test/test_color.cpp int width_n = src.cols*elem_size; src 396 modules/imgproc/test/test_color.cpp for( i = 0; i < src.rows; i++ ) src 398 modules/imgproc/test/test_color.cpp memcpy( dst2.ptr(i), src.ptr(i), width_n ); src 399 modules/imgproc/test/test_color.cpp if( src.channels() == 4 ) src 1274 modules/imgproc/test/test_color.cpp void convert_forward( const Mat& src, Mat& dst ); src 1275 modules/imgproc/test/test_color.cpp void convert_backward( const Mat& src, const Mat& dst, Mat& dst2 ); src 1339 modules/imgproc/test/test_color.cpp void CV_ColorRGBTest::convert_forward( const Mat& src, Mat& dst ) src 1341 modules/imgproc/test/test_color.cpp int depth = src.depth(), cn = src.channels(); src 1345 modules/imgproc/test/test_color.cpp int i, j, cols = src.cols; src 1351 modules/imgproc/test/test_color.cpp for( i = 0; i < src.rows; i++ ) src 1357 modules/imgproc/test/test_color.cpp const uchar* src_row = src.ptr(i); src 1388 modules/imgproc/test/test_color.cpp const ushort* src_row = src.ptr<ushort>(i); src 1404 modules/imgproc/test/test_color.cpp const float* src_row = src.ptr<float>(i); src 1425 modules/imgproc/test/test_color.cpp void CV_ColorRGBTest::convert_backward( const Mat& /*src*/, const Mat& src, Mat& dst ) src 1427 modules/imgproc/test/test_color.cpp int depth = src.depth(), cn = dst.channels(); src 1431 modules/imgproc/test/test_color.cpp int i, j, cols = src.cols; src 1437 modules/imgproc/test/test_color.cpp for( i = 0; i < src.rows; i++ ) src 1443 modules/imgproc/test/test_color.cpp const uchar* src_row = src.ptr(i); src 1486 modules/imgproc/test/test_color.cpp const ushort* src_row = src.ptr<ushort>(i); src 1506 modules/imgproc/test/test_color.cpp const float* src_row = src.ptr<float>(i); src 1589 modules/imgproc/test/test_color.cpp static void bayer2BGR_(const Mat& src, Mat& dst, int code) src 1591 modules/imgproc/test/test_color.cpp int i, j, cols = src.cols - 2; src 1593 modules/imgproc/test/test_color.cpp int step = (int)(src.step/sizeof(T)); src 1598 modules/imgproc/test/test_color.cpp for( i = 1; i < src.rows - 1; i++ ) src 1600 modules/imgproc/test/test_color.cpp const T* ptr = src.ptr<T>(i) + 1; src 1642 modules/imgproc/test/test_color.cpp if( src.rows <= 2 ) src 1664 modules/imgproc/test/test_color.cpp const Mat& src = test_mat[INPUT][0]; src 1666 modules/imgproc/test/test_color.cpp int depth = src.depth(); src 1668 modules/imgproc/test/test_color.cpp bayer2BGR_<uchar>(src, dst, fwd_code); src 1670 modules/imgproc/test/test_color.cpp bayer2BGR_<ushort>(src, dst, fwd_code); src 1740 modules/imgproc/test/test_color.cpp static void calculateBayerPattern(const Mat& src, Mat& bayer, const char* pattern) src 1742 modules/imgproc/test/test_color.cpp Size ssize = src.size(); src 1752 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[1]); src 1754 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[0]); src 1756 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[2]); src 1765 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[1]); src 1767 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[0]); src 1769 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[2]); src 1778 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[1]); src 1780 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[0]); src 1782 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[2]); src 1791 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[1]); src 1793 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[0]); src 1795 modules/imgproc/test/test_color.cpp bayer.at<T>(y, x) = static_cast<T>(src.at<Vec3b>(y, x)[2]); src 1807 modules/imgproc/test/test_color.cpp Mat src, dst, bayer, reference; src 1809 modules/imgproc/test/test_color.cpp src = imread(full_path, IMREAD_UNCHANGED); src 1811 modules/imgproc/test/test_color.cpp if ( src.empty() ) src 1821 modules/imgproc/test/test_color.cpp calculateBayerPattern<uchar, CV_8U>(src, bayer, pattern[i]); src 1868 modules/imgproc/test/test_color.cpp static void getTestMatrix(Mat& src) src 1871 modules/imgproc/test/test_color.cpp src.create(ssize, CV_32FC3); src 1888 modules/imgproc/test/test_color.cpp src.at<cv::Vec3f>(i, j) = cv::Vec3f(b, g, r); src 1893 modules/imgproc/test/test_color.cpp static void validateResult(const Mat& reference, const Mat& actual, const Mat& src = Mat(), int mode = -1) src 1913 modules/imgproc/test/test_color.cpp if (!src.empty()) src 1914 modules/imgproc/test/test_color.cpp ts->printf(cvtest::TS::SUMMARY, "Src value: %f\n", src.ptr<float>(y)[x]); src 1920 modules/imgproc/test/test_color.cpp cv::cvtColor(src, lab, mode); src 1923 modules/imgproc/test/test_color.cpp std::cout << "src: " << src(cv::Rect(y, x / cn, 1, 1)) << std::endl; src 1933 modules/imgproc/test/test_color.cpp Mat src; src 1934 modules/imgproc/test/test_color.cpp getTestMatrix(src); src 1935 modules/imgproc/test/test_color.cpp Size ssize = src.size(); src 1946 modules/imgproc/test/test_color.cpp cv::cvtColor(src, lab, forward_code); src 1951 modules/imgproc/test/test_color.cpp validateResult(src, recons, src, forward_code); src 1954 modules/imgproc/test/test_color.cpp static void test_Bayer2RGB_EdgeAware_8u(const Mat& src, Mat& dst, int code) src 1957 modules/imgproc/test/test_color.cpp dst.create(src.size(), CV_MAKETYPE(src.depth(), 3)); src 1958 modules/imgproc/test/test_color.cpp Size size = src.size(); src 1965 modules/imgproc/test/test_color.cpp int step = (int)src.step; src 1966 modules/imgproc/test/test_color.cpp const uchar* S = src.ptr<uchar>(1) + 1; src 1974 modules/imgproc/test/test_color.cpp S = src.ptr<uchar>(y) + 1; src 1989 modules/imgproc/test/test_color.cpp S = src.ptr<uchar>(y) + 2; src 2013 modules/imgproc/test/test_color.cpp S = src.ptr<uchar>(y) + 2; src 2094 modules/imgproc/test/test_color.cpp Mat src, bayer; src 2096 modules/imgproc/test/test_color.cpp src = imread(full_path, IMREAD_UNCHANGED); src 2098 modules/imgproc/test/test_color.cpp if (src.empty()) src 2117 modules/imgproc/test/test_color.cpp calculateBayerPattern<uchar, CV_8U>(src, bayer, types[i]); src 2124 modules/imgproc/test/test_color.cpp calculateBayerPattern<unsigned short int, CV_16U>(src, bayer, types[i]); src 627 modules/imgproc/test/test_cvtyuv.cpp Mat src = Mat(srcSize.height, srcSize.width * scn, CV_8UC1).reshape(scn); src 633 modules/imgproc/test/test_cvtyuv.cpp random.fill(src, RNG::UNIFORM, 0, 256); src 636 modules/imgproc/test/test_cvtyuv.cpp referenceYUV2RGB<YUV2RGB_Converter> (src, gold, cvt.yuvReader_, cvt.rgbWriter_); src 638 modules/imgproc/test/test_cvtyuv.cpp referenceYUV2GRAY<YUV2GRAY_Converter>(src, gold, cvt.yuvReader_, cvt.grayWriter_); src 640 modules/imgproc/test/test_cvtyuv.cpp referenceRGB2YUV<RGB2YUV_Converter> (src, gold, cvt.rgbReader_, cvt.yuvWriter_); src 642 modules/imgproc/test/test_cvtyuv.cpp cv::cvtColor(src, dst, code, -1); src 678 modules/imgproc/test/test_cvtyuv.cpp Mat src = src_full(Range(roi_offset_top, roi_offset_top + srcSize.height), Range(roi_offset_left, roi_offset_left + srcSize.width)); src 683 modules/imgproc/test/test_cvtyuv.cpp referenceYUV2RGB<YUV2RGB_Converter> (src, gold, cvt.yuvReader_, cvt.rgbWriter_); src 685 modules/imgproc/test/test_cvtyuv.cpp referenceYUV2GRAY<YUV2GRAY_Converter>(src, gold, cvt.yuvReader_, cvt.grayWriter_); src 687 modules/imgproc/test/test_cvtyuv.cpp referenceRGB2YUV<RGB2YUV_Converter> (src, gold, cvt.rgbReader_, cvt.yuvWriter_); src 689 modules/imgproc/test/test_cvtyuv.cpp cv::cvtColor(src, dst, code, -1); src 231 modules/imgproc/test/test_filter.cpp const uchar* src = test_mat[INPUT][1].ptr(); src 239 modules/imgproc/test/test_filter.cpp eldata[i*aperture_size.width + j] = src[i*srcstep + j]; src 240 modules/imgproc/test/test_filter.cpp nonzero += src[i*srcstep + j] != 0; src 257 modules/imgproc/test/test_filter.cpp Mat& src = test_mat[INPUT][0], &dst = test_mat[REF_OUTPUT][0]; src 266 modules/imgproc/test/test_filter.cpp cvtest::erode( src, dst, _element, _anchor, _border ); src 270 modules/imgproc/test/test_filter.cpp cvtest::dilate( src, dst, _element, _anchor, _border ); src 277 modules/imgproc/test/test_filter.cpp cvtest::erode( src, temp, _element, _anchor, _border ); src 282 modules/imgproc/test/test_filter.cpp cvtest::dilate( src, temp, _element, _anchor, _border ); src 287 modules/imgproc/test/test_filter.cpp cvtest::erode( src, temp, _element, _anchor, _border ); src 288 modules/imgproc/test/test_filter.cpp cvtest::dilate( src, dst, _element, _anchor, _border ); src 293 modules/imgproc/test/test_filter.cpp cvtest::erode( src, temp, _element, _anchor, _border ); src 295 modules/imgproc/test/test_filter.cpp cvtest::add( src, 1, dst, -1, Scalar::all(0), dst, dst.type() ); src 299 modules/imgproc/test/test_filter.cpp cvtest::dilate( src, temp, _element, _anchor, _border ); src 301 modules/imgproc/test/test_filter.cpp cvtest::add( dst, 1, src, -1, Scalar::all(0), dst, dst.type() ); src 906 modules/imgproc/test/test_filter.cpp static void test_medianFilter( const Mat& src, Mat& dst, int m ) src 912 modules/imgproc/test/test_filter.cpp int step = (int)(src.step/src.elemSize()); src 914 modules/imgproc/test/test_filter.cpp assert( src.rows == dst.rows + m - 1 && src.cols == dst.cols + m - 1 && src 915 modules/imgproc/test/test_filter.cpp src.type() == dst.type() && src.type() == CV_8UC1 ); src 922 modules/imgproc/test/test_filter.cpp const uchar* src1 = src.ptr<uchar>(i+k); src 949 modules/imgproc/test/test_filter.cpp const uchar* src1 = src.ptr<uchar>(i) + ins_col; src 999 modules/imgproc/test/test_filter.cpp Mat src(src0.rows + m - 1, src0.cols + m - 1, src0.depth()); src 1014 modules/imgproc/test/test_filter.cpp cvtest::copyMakeBorder( ptr, src, m/2, m/2, m/2, m/2, border & ~BORDER_ISOLATED ); src 1015 modules/imgproc/test/test_filter.cpp test_medianFilter( src, dst, m ); src 1121 modules/imgproc/test/test_filter.cpp Mat& src = test_mat[INPUT][0], &dst = test_mat[REF_OUTPUT][0]; src 1123 modules/imgproc/test/test_filter.cpp cvtest::filter2D(src, temp, src.depth(), src 1170 modules/imgproc/test/test_filter.cpp Mat& src = test_mat[INPUT][0], &dst = test_mat[REF_OUTPUT][0]; src 1173 modules/imgproc/test/test_filter.cpp size_t elem_size = src.elemSize(); src 1174 modules/imgproc/test/test_filter.cpp size_t ncols = src.cols*elem_size; src 1176 modules/imgproc/test/test_filter.cpp for( int i = 0; i < src.rows; i++ ) src 1178 modules/imgproc/test/test_filter.cpp const uchar* src_row = src.ptr(i); src 1293 modules/imgproc/test/test_filter.cpp test_cornerEigenValsVecs( const Mat& src, Mat& eigenv, Mat& ocv_eigenv, src 1300 modules/imgproc/test/test_filter.cpp CV_Assert( src.type() == CV_8UC1 || src.type() == CV_32FC1 ); src 1302 modules/imgproc/test/test_filter.cpp CV_Assert( src.rows == eigenv.rows && src 1303 modules/imgproc/test/test_filter.cpp ((mode > 0 && src.cols == eigenv.cols) || src 1304 modules/imgproc/test/test_filter.cpp (mode == 0 && src.cols*6 == eigenv.cols)) ); src 1306 modules/imgproc/test/test_filter.cpp int type = src.type(); src 1310 modules/imgproc/test/test_filter.cpp Mat dx2, dy2, dxdy(src.size(), CV_32F), kernel; src 1313 modules/imgproc/test/test_filter.cpp cvtest::filter2D( src, dx2, ftype, kernel*kernel_scale, anchor, 0, BORDER_REPLICATE ); src 1315 modules/imgproc/test/test_filter.cpp cvtest::filter2D( src, dy2, ftype, kernel*kernel_scale, anchor, 0, BORDER_REPLICATE ); src 1323 modules/imgproc/test/test_filter.cpp for( i = 0; i < src.rows; i++ ) src 1329 modules/imgproc/test/test_filter.cpp for( j = 0; j < src.cols; j++ ) src 1347 modules/imgproc/test/test_filter.cpp for( i = 0; i < src.rows; i++ ) src 1355 modules/imgproc/test/test_filter.cpp for( j = 0; j < src.cols; j++ ) src 1398 modules/imgproc/test/test_filter.cpp for( i = 0; i < src.rows; i++ ) src 1405 modules/imgproc/test/test_filter.cpp for( j = 0; j < src.cols; j++ ) src 1515 modules/imgproc/test/test_filter.cpp const Mat& src = test_mat[INPUT][0]; src 1518 modules/imgproc/test/test_filter.cpp int type = src.type(), ftype = CV_32FC1; src 1526 modules/imgproc/test/test_filter.cpp cvtest::filter2D(src, dx, ftype, kernel*kernel_scale, anchor, 0, BORDER_REPLICATE); src 1528 modules/imgproc/test/test_filter.cpp cvtest::filter2D(src, d2x, ftype, kernel*kernel_scale, anchor, 0, BORDER_REPLICATE); src 1530 modules/imgproc/test/test_filter.cpp cvtest::filter2D(src, dy, ftype, kernel*kernel_scale, anchor, 0, BORDER_REPLICATE); src 1532 modules/imgproc/test/test_filter.cpp cvtest::filter2D(src, d2y, ftype, kernel*kernel_scale, anchor, 0, BORDER_REPLICATE); src 1534 modules/imgproc/test/test_filter.cpp cvtest::filter2D(src, dxy, ftype, kernel*kernel_scale, anchor, 0, BORDER_REPLICATE); src 1540 modules/imgproc/test/test_filter.cpp for( int i = 0; i < src.rows; i++ ) src 1549 modules/imgproc/test/test_filter.cpp for( int j = 0; j < src.cols; j++ ) src 1728 modules/imgproc/test/test_filter.cpp Mat& src = test_mat[INPUT][0]; src 1729 modules/imgproc/test/test_filter.cpp int cn = src.channels(); src 1738 modules/imgproc/test/test_filter.cpp plane = src; src 1747 modules/imgproc/test/test_filter.cpp cvtest::extract(src, plane, i); src 1841 modules/imgproc/test/test_filter.cpp Mat src(sz, CV_MAKETYPE(sdepth, 5)), dst; src 1842 modules/imgproc/test/test_filter.cpp randu(src, 0, 100); src 1845 modules/imgproc/test/test_filter.cpp filter2D(src, dst, ddepth, small_kernel); src 1847 modules/imgproc/test/test_filter.cpp filter2D(src, dst, ddepth, big_kernel); src 1849 modules/imgproc/test/test_filter.cpp sepFilter2D(src, dst, ddepth, kernelX, kernelY); src 1851 modules/imgproc/test/test_filter.cpp sepFilter2D(src, dst, ddepth, symkernelX, symkernelY); src 1853 modules/imgproc/test/test_filter.cpp Sobel(src, dst, ddepth, 2, 0, 5); src 1855 modules/imgproc/test/test_filter.cpp Scharr(src, dst, ddepth, 0, 1); src 1859 modules/imgproc/test/test_filter.cpp GaussianBlur(src, dst, Size(5, 5), 1.2, 1.2); src 1861 modules/imgproc/test/test_filter.cpp blur(src, dst, Size(11, 11)); src 1863 modules/imgproc/test/test_filter.cpp morphologyEx(src, dst, MORPH_GRADIENT, elem_ellipse); src 1865 modules/imgproc/test/test_filter.cpp morphologyEx(src, dst, MORPH_GRADIENT, elem_rect); src 1895 modules/imgproc/test/test_filter.cpp Mat src(3, 3, CV_8UC1, cv::Scalar::all(255)), dst; src 1896 modules/imgproc/test/test_filter.cpp Mat src_roi = src(Rect(1, 1, 1, 1)); src 1908 modules/imgproc/test/test_filter.cpp src = Mat(5, 5, CV_8UC1, cv::Scalar(255)); src 1909 modules/imgproc/test/test_filter.cpp src_roi = src(Rect(1, 1, 3, 3)); src 1911 modules/imgproc/test/test_filter.cpp src.at<uchar>(2, 2) = 255; src 1932 modules/imgproc/test/test_filter.cpp Mat src(height, width, CV_8UC(cn)), dst0, dst1, dst2; src 1934 modules/imgproc/test/test_filter.cpp randu(src, 0, 256); src 1936 modules/imgproc/test/test_filter.cpp dilate(src, dst0, Mat(), Point(-1,-1), iterations); src 1938 modules/imgproc/test/test_filter.cpp erode(src, dst0, Mat(), Point(-1,-1), iterations); src 1942 modules/imgproc/test/test_filter.cpp dilate(i == 0 ? src : dst1, dst1, Mat(), Point(-1,-1), 1); src 1944 modules/imgproc/test/test_filter.cpp erode(i == 0 ? src : dst1, dst1, Mat(), Point(-1,-1), 1); src 1948 modules/imgproc/test/test_filter.cpp dilate(src, dst2, kern, Point(-1,-1), iterations); src 1950 modules/imgproc/test/test_filter.cpp erode(src, dst2, kern, Point(-1,-1), iterations); src 146 modules/imgproc/test/test_houghLines.cpp Mat src = imread(filename, IMREAD_GRAYSCALE); src 147 modules/imgproc/test/test_houghLines.cpp EXPECT_FALSE(src.empty()) << "Invalid test image: " << filename; src 156 modules/imgproc/test/test_houghLines.cpp Canny(src, dst, 100, 150, 3); src 193 modules/imgproc/test/test_imgwarp.cpp cv::Mat src(1, cols*cn, CV_32F, &buffer[0]); src 195 modules/imgproc/test/test_imgwarp.cpp src.convertTo(dst, dst.type()); src 277 modules/imgproc/test/test_imgwarp.cpp CvMat *src = &_src, *dst = &_dst; src 282 modules/imgproc/test/test_imgwarp.cpp int elem_size = CV_ELEM_SIZE(src->type); src 289 modules/imgproc/test/test_imgwarp.cpp int t = (j*src->cols*2 + MIN(src->cols,dcols) - 1)/(dcols*2); src 290 modules/imgproc/test/test_imgwarp.cpp t -= t >= src->cols; src 296 modules/imgproc/test/test_imgwarp.cpp int t = (j*src->rows*2 + MIN(src->rows,drows) - 1)/(drows*2); src 297 modules/imgproc/test/test_imgwarp.cpp t -= t >= src->rows; src 303 modules/imgproc/test/test_imgwarp.cpp double scale_x = (double)src->cols/dcols; src 304 modules/imgproc/test/test_imgwarp.cpp double scale_y = (double)src->rows/drows; src 310 modules/imgproc/test/test_imgwarp.cpp x_idx->data.i[j] = (i < 0 ? 0 : i >= src->cols ? src->cols - 1 : i)*elem_size; src 317 modules/imgproc/test/test_imgwarp.cpp y_idx->data.i[j] = i < 0 ? 0 : i >= src->rows ? src->rows - 1 : i; src 324 modules/imgproc/test/test_imgwarp.cpp const uchar* sptr0 = src->data.ptr + src->step*y_idx->data.i[i]; src 341 modules/imgproc/test/test_imgwarp.cpp static void test_remap( const Mat& src, Mat& dst, const Mat& mapx, const Mat& mapy, src 346 modules/imgproc/test/test_imgwarp.cpp int srows = src.rows, scols = src.cols; src 347 modules/imgproc/test/test_imgwarp.cpp const uchar* sptr0 = src.ptr(); src 348 modules/imgproc/test/test_imgwarp.cpp int depth = src.depth(), cn = src.channels(); src 349 modules/imgproc/test/test_imgwarp.cpp int elem_size = (int)src.elemSize(); src 350 modules/imgproc/test/test_imgwarp.cpp int step = (int)(src.step / CV_ELEM_SIZE(depth)); src 510 modules/imgproc/test/test_imgwarp.cpp const Mat& src = test_mat[INPUT][0]; src 522 modules/imgproc/test/test_imgwarp.cpp center.x = (float)((cvtest::randReal(rng)*1.2 - 0.1)*src.cols); src 523 modules/imgproc/test/test_imgwarp.cpp center.y = (float)((cvtest::randReal(rng)*1.2 - 0.1)*src.rows); src 525 modules/imgproc/test/test_imgwarp.cpp scale = ((double)dst.rows/src.rows + (double)dst.cols/src.cols)*0.5; src 538 modules/imgproc/test/test_imgwarp.cpp const Mat& src = test_mat[INPUT][0]; src 563 modules/imgproc/test/test_imgwarp.cpp test_remap( src, dst, mapx, mapy, &mask ); src 621 modules/imgproc/test/test_imgwarp.cpp const CvMat& src = test_mat[INPUT][0]; src 632 modules/imgproc/test/test_imgwarp.cpp s[1] = Point2f(src.cols-1.f,0); src 634 modules/imgproc/test/test_imgwarp.cpp s[2] = Point2f(src.cols-1.f,src.rows-1.f); src 636 modules/imgproc/test/test_imgwarp.cpp s[3] = Point2f(0,src.rows-1.f); src 646 modules/imgproc/test/test_imgwarp.cpp s[i].x += bufer[i*4]*src.cols/2; src 647 modules/imgproc/test/test_imgwarp.cpp s[i].y += bufer[i*4+1]*src.rows/2; src 659 modules/imgproc/test/test_imgwarp.cpp Mat& src = test_mat[INPUT][0]; src 689 modules/imgproc/test/test_imgwarp.cpp test_remap( src, dst, mapx, mapy, &mask ); src 755 modules/imgproc/test/test_imgwarp.cpp const Mat& src = test_mat[INPUT][0]; src 759 modules/imgproc/test/test_imgwarp.cpp double sz = MAX(src.rows, src.cols); src 765 modules/imgproc/test/test_imgwarp.cpp a[2] = (src.cols - 1)*0.5 + cvtest::randReal(rng)*10 - 5; src 766 modules/imgproc/test/test_imgwarp.cpp a[5] = (src.rows - 1)*0.5 + cvtest::randReal(rng)*10 - 5; src 889 modules/imgproc/test/test_imgwarp.cpp const Mat& src = test_mat[INPUT][0]; src 892 modules/imgproc/test/test_imgwarp.cpp double sz = MAX(src.rows, src.cols); src 905 modules/imgproc/test/test_imgwarp.cpp a[2] = (src.cols - 1)*0.5 + cvtest::randReal(rng)*10 - 5; src 906 modules/imgproc/test/test_imgwarp.cpp a[5] = (src.rows - 1)*0.5 + cvtest::randReal(rng)*10 - 5; src 955 modules/imgproc/test/test_imgwarp.cpp Mat& src = test_mat[INPUT][0]; src 961 modules/imgproc/test/test_imgwarp.cpp test_remap( src, dst, mapx, mapy, &mask, interpolation ); src 1101 modules/imgproc/test/test_imgwarp.cpp test_getQuadrangeSubPix( const Mat& src, Mat& dst, double* a ) src 1103 modules/imgproc/test/test_imgwarp.cpp int sstep = (int)(src.step / sizeof(float)); src 1104 modules/imgproc/test/test_imgwarp.cpp int scols = src.cols, srows = src.rows; src 1106 modules/imgproc/test/test_imgwarp.cpp CV_Assert( src.depth() == CV_32F && src.type() == dst.type() ); src 1126 modules/imgproc/test/test_imgwarp.cpp s = src.ptr<float>(iy) + ix*cn; src 1231 modules/imgproc/test/test_imgwarp.cpp Mat src = src0, dst = dst0; src 1235 modules/imgproc/test/test_imgwarp.cpp if( src.depth() != CV_32F ) src 1236 modules/imgproc/test/test_imgwarp.cpp src0.convertTo(src, CV_32F); src 1241 modules/imgproc/test/test_imgwarp.cpp test_getQuadrangeSubPix( src, dst, a ); src 1321 modules/imgproc/test/test_imgwarp.cpp const Mat& src = test_mat[INPUT][0]; src 1332 modules/imgproc/test/test_imgwarp.cpp center.x = (float)((cvtest::randReal(rng)*1.2 - 0.1)*src.cols); src 1333 modules/imgproc/test/test_imgwarp.cpp center.y = (float)((cvtest::randReal(rng)*1.2 - 0.1)*src.rows); src 1355 modules/imgproc/test/test_imgwarp.cpp Mat src = src0, dst = dst0; src 1360 modules/imgproc/test/test_imgwarp.cpp if( src.depth() != CV_32F ) src 1361 modules/imgproc/test/test_imgwarp.cpp src0.convertTo(src, CV_32F); src 1369 modules/imgproc/test/test_imgwarp.cpp test_getQuadrangeSubPix( src, dst, a ); src 1377 modules/imgproc/test/test_imgwarp.cpp IplImage* src = cvCreateImage(cvSize(100, 100), IPL_DEPTH_8U, 1); src 1382 modules/imgproc/test/test_imgwarp.cpp int w = src->width; src 1383 modules/imgproc/test/test_imgwarp.cpp int h = src->height; src 1385 modules/imgproc/test/test_imgwarp.cpp cvWarpAffine(src, dst, &M); src 1493 modules/imgproc/test/test_imgwarp.cpp cv::Mat src(16, 16, CV_16UC1, input_data); src 1497 modules/imgproc/test/test_imgwarp.cpp cv::resize(src, actual, cv::Size(), 0.3, 0.3, INTER_AREA); src 1569 modules/imgproc/test/test_imgwarp.cpp void resizeArea(const cv::Mat & src, cv::Mat & dst) src 1571 modules/imgproc/test/test_imgwarp.cpp int cn = src.channels(); src 1576 modules/imgproc/test/test_imgwarp.cpp const T * sptr0 = src.ptr<T>(y << 1); src 1577 modules/imgproc/test/test_imgwarp.cpp const T * sptr1 = src.ptr<T>((y << 1) + 1); src 1613 modules/imgproc/test/test_imgwarp.cpp cv::Mat src(size, size, type), dst_actual(size >> 1, size >> 1, type), src 1616 modules/imgproc/test/test_imgwarp.cpp rng.fill(src, cv::RNG::UNIFORM, -1000, 1000, true); src 1619 modules/imgproc/test/test_imgwarp.cpp resizeArea<uchar, ushort, 2, IntCast<uchar, ushort> >(src, dst_reference); src 1621 modules/imgproc/test/test_imgwarp.cpp resizeArea<ushort, uint, 2, IntCast<ushort, uint> >(src, dst_reference); src 1623 modules/imgproc/test/test_imgwarp.cpp resizeArea<short, int, 2, IntCast<short, int> >(src, dst_reference); src 1625 modules/imgproc/test/test_imgwarp.cpp resizeArea<float, float, 0, FltCast<float, float> >(src, dst_reference); src 1629 modules/imgproc/test/test_imgwarp.cpp cv::resize(src, dst_actual, dst_actual.size(), 0, 0, cv::INTER_AREA); src 1643 modules/imgproc/test/test_imgwarp.cpp Mat src(height, width, CV_8UC(cn)), dst; src 1645 modules/imgproc/test/test_imgwarp.cpp src.setTo(0.); src 1648 modules/imgproc/test/test_imgwarp.cpp warpAffine(src, dst, rot, src.size()); src 1652 modules/imgproc/test/test_imgwarp.cpp warpPerspective(src, dst, rot2, src.size()); src 1673 modules/imgproc/test/test_imgwarp.cpp Mat src; src 1675 modules/imgproc/test/test_imgwarp.cpp src.create(N, N, CV_8U); src 1676 modules/imgproc/test/test_imgwarp.cpp randu(src, 0, 256); src 1678 modules/imgproc/test/test_imgwarp.cpp dst.create( src.size(), src.type() ); src 1679 modules/imgproc/test/test_imgwarp.cpp map_x.create( src.size(), CV_32FC1 ); src 1680 modules/imgproc/test/test_imgwarp.cpp map_y.create( src.size(), CV_32FC1 ); src 1691 modules/imgproc/test/test_imgwarp.cpp remap(src, dst, map_x, map_y, CV_INTER_LINEAR); src 95 modules/imgproc/test/test_imgwarp_strict.cpp Mat src; src 102 modules/imgproc/test/test_imgwarp_strict.cpp src(), dst(), reference_dst() src 161 modules/imgproc/test/test_imgwarp_strict.cpp src.create(ssize, CV_MAKE_TYPE(depth, cn)); src 169 modules/imgproc/test/test_imgwarp_strict.cpp rectangle(src, Point(x, y), Point(x + std::min<int>(cell_size, ssize.width - x), y + src 174 modules/imgproc/test/test_imgwarp_strict.cpp src = Scalar::all(255); src 175 modules/imgproc/test/test_imgwarp_strict.cpp for (y = cell_size; y < src.rows; y += cell_size) src 176 modules/imgproc/test/test_imgwarp_strict.cpp line(src, Point2i(0, y), Point2i(src.cols, y), Scalar::all(0), 1); src 177 modules/imgproc/test/test_imgwarp_strict.cpp for (x = cell_size; x < src.cols; x += cell_size) src 178 modules/imgproc/test/test_imgwarp_strict.cpp line(src, Point2i(x, 0), Point2i(x, src.rows), Scalar::all(0), 1); src 210 modules/imgproc/test/test_imgwarp_strict.cpp dst = Mat::zeros(dsize, src.type()); src 213 modules/imgproc/test/test_imgwarp_strict.cpp scale_x = src.cols / static_cast<double>(dst.cols); src 214 modules/imgproc/test/test_imgwarp_strict.cpp scale_y = src.rows / static_cast<double>(dst.rows); src 242 modules/imgproc/test/test_imgwarp_strict.cpp Size dsize = dst.size(), ssize = src.size(); src 269 modules/imgproc/test/test_imgwarp_strict.cpp PRINT_TO_LOG("Ssize: (%d, %d)\n", src.cols, src.rows); src 284 modules/imgproc/test/test_imgwarp_strict.cpp PRINT_TO_LOG("Elemsize: %d\n", src.elemSize1()); src 299 modules/imgproc/test/test_imgwarp_strict.cpp imshow(w3, src); src 320 modules/imgproc/test/test_imgwarp_strict.cpp if (src.depth() != CV_32F) src 323 modules/imgproc/test/test_imgwarp_strict.cpp src.convertTo(tmp, CV_32F); src 324 modules/imgproc/test/test_imgwarp_strict.cpp src = tmp; src 423 modules/imgproc/test/test_imgwarp_strict.cpp scale_x = src.cols / static_cast<double>(dst.cols); src 424 modules/imgproc/test/test_imgwarp_strict.cpp scale_y = src.rows / static_cast<double>(dst.rows); src 438 modules/imgproc/test/test_imgwarp_strict.cpp cv::resize(src, dst, dst.size(), 0, 0, interpolation); src 460 modules/imgproc/test/test_imgwarp_strict.cpp Size ssize = src.size(), dsize = reference_dst.size(); src 462 modules/imgproc/test/test_imgwarp_strict.cpp int cn = src.channels(); src 490 modules/imgproc/test/test_imgwarp_strict.cpp const float* yS = src.ptr<float>(sy); src 587 modules/imgproc/test/test_imgwarp_strict.cpp Size dsize = reference_dst.size(), ssize = src.size(); src 606 modules/imgproc/test/test_imgwarp_strict.cpp resize_1d(src, tmp, dy, dims[0]); src 678 modules/imgproc/test/test_imgwarp_strict.cpp const int n = std::min(std::min(src.cols, src.rows) / 10 + 1, 2); src 688 modules/imgproc/test/test_imgwarp_strict.cpp (*begin_x)[0] = static_cast<short>(rng.uniform(static_cast<int>(_n), std::max(src.cols + n - 1, 0))); src 689 modules/imgproc/test/test_imgwarp_strict.cpp (*begin_x)[1] = static_cast<short>(rng.uniform(static_cast<int>(_n), std::max(src.rows + n - 1, 0))); src 722 modules/imgproc/test/test_imgwarp_strict.cpp float fscols = static_cast<float>(std::max(src.cols - 1 + n, 0)), src 723 modules/imgproc/test/test_imgwarp_strict.cpp fsrows = static_cast<float>(std::max(src.rows - 1 + n, 0)); src 736 modules/imgproc/test/test_imgwarp_strict.cpp float fscols = static_cast<float>(std::max(src.cols - 1 + n, 0)), src 737 modules/imgproc/test/test_imgwarp_strict.cpp fsrows = static_cast<float>(std::max(src.rows - 1 + n, 0)); src 761 modules/imgproc/test/test_imgwarp_strict.cpp remap(src, dst, mapx, mapy, interpolation, borderType, borderValue); src 824 modules/imgproc/test/test_imgwarp_strict.cpp (this->*funcs[index])(src, reference_dst); src 1019 modules/imgproc/test/test_imgwarp_strict.cpp M = getRotationMatrix2D(Point2f(src.cols / 2.f, src.rows / 2.f), src 1036 modules/imgproc/test/test_imgwarp_strict.cpp cv::warpAffine(src, dst, M, dst.size(), interpolation, borderType, borderValue); src 1048 modules/imgproc/test/test_imgwarp_strict.cpp warpAffine(src, reference_dst); src 1142 modules/imgproc/test/test_imgwarp_strict.cpp float cols = static_cast<float>(src.cols), rows = static_cast<float>(src.rows); src 1157 modules/imgproc/test/test_imgwarp_strict.cpp cv::warpPerspective(src, dst, M, dst.size(), interpolation, borderType, borderValue); src 1164 modules/imgproc/test/test_imgwarp_strict.cpp warpPerspective(src, reference_dst); src 205 modules/imgproc/test/test_moments.cpp Mat& src = test_mat[INPUT][0]; src 208 modules/imgproc/test/test_moments.cpp int depth = src.depth(); src 209 modules/imgproc/test/test_moments.cpp int cn = src.channels(); src 210 modules/imgproc/test/test_moments.cpp int i, y, x, cols = src.cols; src 215 modules/imgproc/test/test_moments.cpp for( y = 0; y < src.rows; y++ ) src 218 modules/imgproc/test/test_moments.cpp uchar* ptr = src.ptr(y); src 261 modules/imgproc/test/test_moments.cpp for( y = 0; y < src.rows; y++ ) src 264 modules/imgproc/test/test_moments.cpp uchar* ptr = src.ptr(y); src 156 modules/imgproc/test/test_thresh.cpp const uchar* src = _src.ptr<uchar>(i); src 159 modules/imgproc/test/test_thresh.cpp dst[j] = (uchar)(src[j] > ithresh ? imaxval : 0); src 163 modules/imgproc/test/test_thresh.cpp const short* src = _src.ptr<short>(i); src 166 modules/imgproc/test/test_thresh.cpp dst[j] = (short)(src[j] > ithresh ? imaxval : 0); src 170 modules/imgproc/test/test_thresh.cpp const float* src = _src.ptr<float>(i); src 173 modules/imgproc/test/test_thresh.cpp dst[j] = src[j] > thresh ? maxval : 0.f; src 182 modules/imgproc/test/test_thresh.cpp const uchar* src = _src.ptr<uchar>(i); src 185 modules/imgproc/test/test_thresh.cpp dst[j] = (uchar)(src[j] > ithresh ? 0 : imaxval); src 189 modules/imgproc/test/test_thresh.cpp const short* src = _src.ptr<short>(i); src 192 modules/imgproc/test/test_thresh.cpp dst[j] = (short)(src[j] > ithresh ? 0 : imaxval); src 196 modules/imgproc/test/test_thresh.cpp const float* src = _src.ptr<float>(i); src 199 modules/imgproc/test/test_thresh.cpp dst[j] = src[j] > thresh ? 0.f : maxval; src 208 modules/imgproc/test/test_thresh.cpp const uchar* src = _src.ptr<uchar>(i); src 212 modules/imgproc/test/test_thresh.cpp int s = src[j]; src 218 modules/imgproc/test/test_thresh.cpp const short* src = _src.ptr<short>(i); src 222 modules/imgproc/test/test_thresh.cpp int s = src[j]; src 228 modules/imgproc/test/test_thresh.cpp const float* src = _src.ptr<float>(i); src 232 modules/imgproc/test/test_thresh.cpp float s = src[j]; src 243 modules/imgproc/test/test_thresh.cpp const uchar* src = _src.ptr<uchar>(i); src 247 modules/imgproc/test/test_thresh.cpp int s = src[j]; src 253 modules/imgproc/test/test_thresh.cpp const short* src = _src.ptr<short>(i); src 257 modules/imgproc/test/test_thresh.cpp int s = src[j]; src 263 modules/imgproc/test/test_thresh.cpp const float* src = _src.ptr<float>(i); src 267 modules/imgproc/test/test_thresh.cpp float s = src[j]; src 278 modules/imgproc/test/test_thresh.cpp const uchar* src = _src.ptr<uchar>(i); src 282 modules/imgproc/test/test_thresh.cpp int s = src[j]; src 288 modules/imgproc/test/test_thresh.cpp const short* src = _src.ptr<short>(i); src 292 modules/imgproc/test/test_thresh.cpp int s = src[j]; src 298 modules/imgproc/test/test_thresh.cpp const float* src = _src.ptr<float>(i); src 302 modules/imgproc/test/test_thresh.cpp float s = src[j]; src 19 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Mat src = new Mat(3, 1, CvType.CV_8SC1); src 20 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java src.put(0, 0, 2, 4, 3); src 23 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Converters.Mat_to_vector_char(src, bs); src 36 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Mat src = new Mat(4, 1, CvType.CV_64FC4); src 37 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java src.put(0, 0, 1, 4, 4, 10, 2, 3, 5, 6, 3, 1, 8, 12, 4, 9, 5, 15); src 40 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Converters.Mat_to_vector_DMatch(src, matches); src 52 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Mat src = new Mat(4, 1, CvType.CV_32FC1); src 53 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java src.put(0, 0, 2, 4, 3, 9); src 56 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Converters.Mat_to_vector_float(src, fs); src 67 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Mat src = new Mat(4, 1, CvType.CV_32SC1); src 68 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java src.put(0, 0, 2, 4, 3, 9); src 71 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Converters.Mat_to_vector_int(src, fs); src 81 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Mat src = new Mat(1, 1, CvType.CV_64FC(7)); src 82 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java src.put(0, 0, 2, 4, 3, 9, 10, 12, 7); src 85 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Converters.Mat_to_vector_KeyPoint(src, kps); src 109 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Mat src = new Mat(4, 1, CvType.CV_32SC2); src 110 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java src.put(0, 0, 2, 4, 3, 9, 10, 4, 35, 54); src 113 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Converters.Mat_to_vector_Point(src, points); src 124 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Mat src = new Mat(4, 1, CvType.CV_64FC2); src 125 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java src.put(0, 0, 12.0, 4.0, 3.0, 29.0, 10.0, 24.0, 35.0, 54.0); src 128 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Converters.Mat_to_vector_Point2d(src, points); src 139 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Mat src = new Mat(4, 1, CvType.CV_32FC2); src 140 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java src.put(0, 0, 2, 14, 31, 19, 10, 44, 5, 41); src 143 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Converters.Mat_to_vector_Point(src, points); src 154 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Mat src = new Mat(4, 1, CvType.CV_32SC3); src 155 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java src.put(0, 0, 2, 14, 12, 31, 19, 22, 10, 44, 45, 5, 41, 31); src 158 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Converters.Mat_to_vector_Point3(src, points); src 169 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Mat src = new Mat(4, 1, CvType.CV_64FC3); src 170 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java src.put(0, 0, 2.0, 4.0, 3.0, 5.0, 9.0, 12.0, 10.0, 14.0, 15.0, 5.0, 11.0, 31.0); src 173 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Converters.Mat_to_vector_Point3(src, points); src 184 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Mat src = new Mat(4, 1, CvType.CV_32FC3); src 185 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java src.put(0, 0, 2.0, 4.0, 3.0, 5.0, 9.0, 12.0, 10.0, 14.0, 15.0, 5.0, 11.0, 31.0); src 188 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Converters.Mat_to_vector_Point3(src, points); src 199 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Mat src = new Mat(4, 1, CvType.CV_32SC3); src 200 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java src.put(0, 0, 2, 14, 12, 31, 19, 22, 10, 44, 45, 5, 41, 31); src 203 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Converters.Mat_to_vector_Point3(src, points); src 214 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Mat src = new Mat(2, 1, CvType.CV_32SC4); src 215 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java src.put(0, 0, 2, 2, 5, 2, 0, 0, 6, 4); src 218 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Converters.Mat_to_vector_Rect(src, rectangles); src 226 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Mat src = new Mat(3, 1, CvType.CV_8UC1); src 227 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java src.put(0, 0, 2, 4, 3); src 230 modules/java/common_test/src/org/opencv/test/utils/ConvertersTest.java Converters.Mat_to_vector_uchar(src, bs); src 1756 modules/java/generator/src/cpp/Mat.cpp #define PUT_ITEM(T, R, C) { T*dst = (T*)me->ptr(R, C); for(int ch=0; ch<me->channels() && count>0; count--,ch++,src++,dst++) *dst = cv::saturate_cast<T>(*src); } src 1775 modules/java/generator/src/cpp/Mat.cpp double* src = values; src 90 modules/java/generator/src/cpp/utils.cpp Mat& src = *((Mat*)m_addr); src 97 modules/java/generator/src/cpp/utils.cpp CV_Assert( src.dims == 2 && info.height == (uint32_t)src.rows && info.width == (uint32_t)src.cols ); src 98 modules/java/generator/src/cpp/utils.cpp CV_Assert( src.type() == CV_8UC1 || src.type() == CV_8UC3 || src.type() == CV_8UC4 ); src 104 modules/java/generator/src/cpp/utils.cpp if(src.type() == CV_8UC1) src 107 modules/java/generator/src/cpp/utils.cpp cvtColor(src, tmp, COLOR_GRAY2RGBA); src 108 modules/java/generator/src/cpp/utils.cpp } else if(src.type() == CV_8UC3){ src 110 modules/java/generator/src/cpp/utils.cpp cvtColor(src, tmp, COLOR_RGB2RGBA); src 111 modules/java/generator/src/cpp/utils.cpp } else if(src.type() == CV_8UC4){ src 113 modules/java/generator/src/cpp/utils.cpp if(needPremultiplyAlpha) cvtColor(src, tmp, COLOR_RGBA2mRGBA); src 114 modules/java/generator/src/cpp/utils.cpp else src.copyTo(tmp); src 119 modules/java/generator/src/cpp/utils.cpp if(src.type() == CV_8UC1) src 122 modules/java/generator/src/cpp/utils.cpp cvtColor(src, tmp, COLOR_GRAY2BGR565); src 123 modules/java/generator/src/cpp/utils.cpp } else if(src.type() == CV_8UC3){ src 125 modules/java/generator/src/cpp/utils.cpp cvtColor(src, tmp, COLOR_RGB2BGR565); src 126 modules/java/generator/src/cpp/utils.cpp } else if(src.type() == CV_8UC4){ src 128 modules/java/generator/src/cpp/utils.cpp cvtColor(src, tmp, COLOR_RGBA2BGR565); src 326 modules/ml/src/ann_mlp.cpp const float* src = _src.ptr<float>(i); src 329 modules/ml/src/ann_mlp.cpp dst[j] = src[j]*w[j*2] + w[j*2+1]; src 336 modules/ml/src/ann_mlp.cpp const float* src = _src.ptr<float>(i); src 339 modules/ml/src/ann_mlp.cpp dst[j] = src[j]*w[j*2] + w[j*2+1]; src 353 modules/ml/src/ann_mlp.cpp const double* src = _src.ptr<double>(i); src 356 modules/ml/src/ann_mlp.cpp dst[j] = (float)(src[j]*w[j*2] + w[j*2+1]); src 363 modules/ml/src/ann_mlp.cpp const double* src = _src.ptr<double>(i); src 366 modules/ml/src/ann_mlp.cpp dst[j] = src[j]*w[j*2] + w[j*2+1]; src 964 modules/ml/src/ann_mlp.cpp const double* src = grad1.ptr<double>(k); src 966 modules/ml/src/ann_mlp.cpp dst[j] += src[j]; src 851 modules/ml/src/data.cpp const float* src = src0 + (sptr ? sptr[i] : i)*sstep; src 855 modules/ml/src/data.cpp dst[j] = src[(vptr ? vptr[j] : j)*vstep]; src 875 modules/ml/src/data.cpp const float* src = samples.ptr<float>() + vi*vstep; src 885 modules/ml/src/data.cpp values[i] = src[j*sstep]; src 951 modules/ml/src/data.cpp const float* src = samples.ptr<float>() + sidx*sstep; src 960 modules/ml/src/data.cpp buf[i] = src[j*vstep]; src 294 modules/ml/src/em.cpp static void preprocessSampleData(const Mat& src, Mat& dst, int dstType, bool isAlwaysClone) src 296 modules/ml/src/em.cpp if(src.type() == dstType && !isAlwaysClone) src 297 modules/ml/src/em.cpp dst = src; src 299 modules/ml/src/em.cpp src.convertTo(dst, dstType); src 223 modules/ml/src/kdtree.cpp const float* src = data + ptofs[first]; src 226 modules/ml/src/kdtree.cpp dst[j] = src[j]; src 510 modules/ml/src/kdtree.cpp const float* src = points.ptr<float>(k); src 512 modules/ml/src/kdtree.cpp std::copy(src, src + ptdims, pts.ptr<float>(i)); src 1579 modules/ml/src/svm.cpp const float* src = sv.ptr<float>(sv_index[j]); src 1582 modules/ml/src/svm.cpp v[k] += src[k]*a; src 211 modules/objdetect/include/opencv2/objdetect.hpp virtual Mat generateMask(const Mat& src)=0; src 75 modules/objdetect/perf/opencl/perf_hogdetect.cpp UMat src; src 76 modules/objdetect/perf/opencl/perf_hogdetect.cpp imread(getDataPath("gpu/hog/road.png"), cv::IMREAD_GRAYSCALE).copyTo(src); src 77 modules/objdetect/perf/opencl/perf_hogdetect.cpp ASSERT_FALSE(src.empty()); src 80 modules/objdetect/perf/opencl/perf_hogdetect.cpp declare.in(src); src 85 modules/objdetect/perf/opencl/perf_hogdetect.cpp OCL_TEST_CYCLE() hog.detectMultiScale(src, found_locations); src 127 modules/objdetect/src/hog.cpp const float *src = &svmDetector[0] + (j * blocks_per_img.height + i) * block_hist_size; src 130 modules/objdetect/src/hog.cpp dst[k] = src[k]; src 1452 modules/objdetect/src/hog.cpp const float* src = cache.getBlock(pt, dst); src 1453 modules/objdetect/src/hog.cpp if( src != dst ) src 1454 modules/objdetect/src/hog.cpp memcpy(dst, src, blockHistogramSize * sizeof(float)); src 1160 modules/objdetect/test/test_cascadeandhog.cpp const float* src = cache.getBlock(pt, dst); src 1161 modules/objdetect/test/test_cascadeandhog.cpp if( src != dst ) src 1163 modules/objdetect/test/test_cascadeandhog.cpp dst[k] = src[k]; src 112 modules/photo/include/opencv2/photo.hpp CV_EXPORTS_W void inpaint( InputArray src, InputArray inpaintMask, src 138 modules/photo/include/opencv2/photo.hpp CV_EXPORTS_W void fastNlMeansDenoising( InputArray src, OutputArray dst, float h = 3, src 165 modules/photo/include/opencv2/photo.hpp CV_EXPORTS_W void fastNlMeansDenoising( InputArray src, OutputArray dst, src 188 modules/photo/include/opencv2/photo.hpp CV_EXPORTS_W void fastNlMeansDenoisingColored( InputArray src, OutputArray dst, src 334 modules/photo/include/opencv2/photo.hpp CV_WRAP virtual void process(InputArray src, OutputArray dst) = 0; src 488 modules/photo/include/opencv2/photo.hpp CV_WRAP virtual void process(InputArrayOfArrays src, std::vector<Mat>& dst, src 504 modules/photo/include/opencv2/photo.hpp CV_WRAP virtual void process(InputArrayOfArrays src, std::vector<Mat>& dst, src 512 modules/photo/include/opencv2/photo.hpp CV_WRAP virtual void process(InputArrayOfArrays src, std::vector<Mat>& dst) = 0; src 527 modules/photo/include/opencv2/photo.hpp CV_WRAP virtual void shiftMat(InputArray src, OutputArray dst, const Point shift) = 0; src 567 modules/photo/include/opencv2/photo.hpp CV_WRAP virtual void process(InputArrayOfArrays src, OutputArray dst, InputArray times) = 0; src 636 modules/photo/include/opencv2/photo.hpp CV_WRAP virtual void process(InputArrayOfArrays src, OutputArray dst, src 648 modules/photo/include/opencv2/photo.hpp CV_WRAP virtual void process(InputArrayOfArrays src, OutputArray dst, src 650 modules/photo/include/opencv2/photo.hpp CV_WRAP virtual void process(InputArrayOfArrays src, OutputArray dst, InputArray times) = 0; src 671 modules/photo/include/opencv2/photo.hpp CV_WRAP virtual void process(InputArrayOfArrays src, OutputArray dst, src 678 modules/photo/include/opencv2/photo.hpp CV_WRAP virtual void process(InputArrayOfArrays src, OutputArray dst) = 0; src 707 modules/photo/include/opencv2/photo.hpp CV_WRAP virtual void process(InputArrayOfArrays src, OutputArray dst, src 709 modules/photo/include/opencv2/photo.hpp CV_WRAP virtual void process(InputArrayOfArrays src, OutputArray dst, InputArray times) = 0; src 728 modules/photo/include/opencv2/photo.hpp CV_EXPORTS_W void decolor( InputArray src, OutputArray grayscale, OutputArray color_boost); src 754 modules/photo/include/opencv2/photo.hpp CV_EXPORTS_W void seamlessClone( InputArray src, InputArray dst, InputArray mask, Point p, src 769 modules/photo/include/opencv2/photo.hpp CV_EXPORTS_W void colorChange(InputArray src, InputArray mask, OutputArray dst, float red_mul = 1.0f, src 783 modules/photo/include/opencv2/photo.hpp CV_EXPORTS_W void illuminationChange(InputArray src, InputArray mask, OutputArray dst, src 803 modules/photo/include/opencv2/photo.hpp CV_EXPORTS_W void textureFlattening(InputArray src, InputArray mask, OutputArray dst, src 823 modules/photo/include/opencv2/photo.hpp CV_EXPORTS_W void edgePreservingFilter(InputArray src, OutputArray dst, int flags = 1, src 833 modules/photo/include/opencv2/photo.hpp CV_EXPORTS_W void detailEnhance(InputArray src, OutputArray dst, float sigma_s = 10, src 845 modules/photo/include/opencv2/photo.hpp CV_EXPORTS_W void pencilSketch(InputArray src, OutputArray dst1, OutputArray dst2, src 857 modules/photo/include/opencv2/photo.hpp CV_EXPORTS_W void stylization(InputArray src, OutputArray dst, float sigma_s = 60, src 67 modules/photo/include/opencv2/photo/cuda.hpp CV_EXPORTS void nonLocalMeans(InputArray src, OutputArray dst, src 95 modules/photo/include/opencv2/photo/cuda.hpp CV_EXPORTS void fastNlMeansDenoising(InputArray src, OutputArray dst, src 122 modules/photo/include/opencv2/photo/cuda.hpp CV_EXPORTS void fastNlMeansDenoisingColored(InputArray src, OutputArray dst, src 65 modules/photo/include/opencv2/photo/photo_c.h CVAPI(void) cvInpaint( const CvArr* src, const CvArr* inpaint_mask, src 83 modules/photo/perf/perf_cuda.cpp cv::Mat src(size, type); src 84 modules/photo/perf/perf_cuda.cpp declare.in(src, WARMUP_RNG); src 88 modules/photo/perf/perf_cuda.cpp const cv::cuda::GpuMat d_src(src); src 124 modules/photo/perf/perf_cuda.cpp cv::Mat src(size, type); src 125 modules/photo/perf/perf_cuda.cpp declare.in(src, WARMUP_RNG); src 129 modules/photo/perf/perf_cuda.cpp const cv::cuda::GpuMat d_src(src); src 140 modules/photo/perf/perf_cuda.cpp TEST_CYCLE() cv::fastNlMeansDenoising(src, dst, h, block_size, search_widow_size); src 167 modules/photo/perf/perf_cuda.cpp cv::Mat src(size, type); src 168 modules/photo/perf/perf_cuda.cpp declare.in(src, WARMUP_RNG); src 172 modules/photo/perf/perf_cuda.cpp const cv::cuda::GpuMat d_src(src); src 183 modules/photo/perf/perf_cuda.cpp TEST_CYCLE() cv::fastNlMeansDenoisingColored(src, dst, h, h, block_size, search_widow_size); src 21 modules/photo/perf/perf_inpaint.cpp Mat src = imread(getDataPath("gpu/hog/road.png")); src 26 modules/photo/perf/perf_inpaint.cpp Mat mask(src.size(), CV_8UC1, Scalar(0)); src 27 modules/photo/perf/perf_inpaint.cpp Mat result(src.size(), src.type()); src 29 modules/photo/perf/perf_inpaint.cpp Rect inpaintArea(src.cols/3, src.rows/3, sz.width, sz.height); src 32 modules/photo/perf/perf_inpaint.cpp declare.in(src, mask).out(result).time(120); src 34 modules/photo/perf/perf_inpaint.cpp TEST_CYCLE() inpaint(src, mask, result, 10.0, inpaintingMethod); src 61 modules/photo/src/align.cpp void process(InputArrayOfArrays src, std::vector<Mat>& dst, src 64 modules/photo/src/align.cpp process(src, dst); src 69 modules/photo/src/align.cpp std::vector<Mat> src; src 70 modules/photo/src/align.cpp _src.getMatVector(src); src 72 modules/photo/src/align.cpp checkImageDimensions(src); src 73 modules/photo/src/align.cpp dst.resize(src.size()); src 75 modules/photo/src/align.cpp size_t pivot = src.size() / 2; src 76 modules/photo/src/align.cpp dst[pivot] = src[pivot]; src 78 modules/photo/src/align.cpp cvtColor(src[pivot], gray_base, COLOR_RGB2GRAY); src 81 modules/photo/src/align.cpp for(size_t i = 0; i < src.size(); i++) { src 87 modules/photo/src/align.cpp cvtColor(src[i], gray, COLOR_RGB2GRAY); src 90 modules/photo/src/align.cpp shiftMat(src[i], dst[i], shift); src 163 modules/photo/src/align.cpp Mat src = _src.getMat(); src 164 modules/photo/src/align.cpp _dst.create(src.size(), src.type()); src 167 modules/photo/src/align.cpp Mat res = Mat::zeros(src.size(), src.type()); src 168 modules/photo/src/align.cpp int width = src.cols - abs(shift.x); src 169 modules/photo/src/align.cpp int height = src.rows - abs(shift.y); src 172 modules/photo/src/align.cpp src(src_rect).copyTo(res(dst_rect)); src 219 modules/photo/src/align.cpp void downsample(Mat& src, Mat& dst) src 221 modules/photo/src/align.cpp dst = Mat(src.rows / 2, src.cols / 2, CV_8UC1); src 223 modules/photo/src/align.cpp int offset = src.cols * 2; src 224 modules/photo/src/align.cpp uchar *src_ptr = src.ptr(); src 64 modules/photo/src/calibrate.cpp void process(InputArrayOfArrays src, OutputArray dst, InputArray _times) src 67 modules/photo/src/calibrate.cpp src.getMatVector(images); src 184 modules/photo/src/calibrate.cpp void process(InputArrayOfArrays src, OutputArray dst, InputArray _times) src 187 modules/photo/src/calibrate.cpp src.getMatVector(images); src 49 modules/photo/src/denoising.cpp static void fastNlMeansDenoising_( const Mat& src, Mat& dst, const std::vector<float>& h, src 55 modules/photo/src/denoising.cpp switch (CV_MAT_CN(src.type())) { src 57 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), src 59 modules/photo/src/denoising.cpp src, dst, templateWindowSize, searchWindowSize, &h[0]), src 64 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), src 66 modules/photo/src/denoising.cpp src, dst, templateWindowSize, searchWindowSize, &h[0]), src 69 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), src 71 modules/photo/src/denoising.cpp src, dst, templateWindowSize, searchWindowSize, &h[0]), src 76 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), src 78 modules/photo/src/denoising.cpp src, dst, templateWindowSize, searchWindowSize, &h[0]), src 81 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), src 83 modules/photo/src/denoising.cpp src, dst, templateWindowSize, searchWindowSize, &h[0]), src 88 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), src 90 modules/photo/src/denoising.cpp src, dst, templateWindowSize, searchWindowSize, &h[0]), src 93 modules/photo/src/denoising.cpp parallel_for_(cv::Range(0, src.rows), src 95 modules/photo/src/denoising.cpp src, dst, templateWindowSize, searchWindowSize, &h[0]), src 123 modules/photo/src/denoising.cpp Mat src = _src.getMat(); src 124 modules/photo/src/denoising.cpp _dst.create(src_size, src.type()); src 131 modules/photo/src/denoising.cpp tegra::fastNlMeansDenoising(src, dst, h[0], templateWindowSize, searchWindowSize)) src 136 modules/photo/src/denoising.cpp fastNlMeansDenoising_<uchar, int, unsigned, DistSquared>(src, dst, h, src 148 modules/photo/src/denoising.cpp fastNlMeansDenoising_<uchar, int, unsigned, DistAbs>(src, dst, h, src 153 modules/photo/src/denoising.cpp fastNlMeansDenoising_<ushort, int64, uint64, DistAbs>(src, dst, h, src 185 modules/photo/src/denoising.cpp Mat src = _src.getMat(); src 190 modules/photo/src/denoising.cpp cvtColor(src, src_lab, COLOR_LBGR2Lab); src 77 modules/photo/src/denoising.cuda.cpp void nlm_bruteforce_gpu(const PtrStepSzb& src, PtrStepSzb dst, int search_radius, int block_radius, float h, int borderMode, cudaStream_t stream); src 84 modules/photo/src/denoising.cuda.cpp typedef void (*func_t)(const PtrStepSzb& src, PtrStepSzb dst, int search_radius, int block_radius, float h, int borderMode, cudaStream_t stream); src 88 modules/photo/src/denoising.cuda.cpp const GpuMat src = _src.getGpuMat(); src 90 modules/photo/src/denoising.cuda.cpp CV_Assert(src.type() == CV_8U || src.type() == CV_8UC2 || src.type() == CV_8UC3); src 92 modules/photo/src/denoising.cuda.cpp const func_t func = funcs[src.channels() - 1]; src 98 modules/photo/src/denoising.cuda.cpp _dst.create(src.size(), src.type()); src 101 modules/photo/src/denoising.cuda.cpp func(src, dst, search_window/2, block_window/2, h, borderMode, StreamAccessor::getStream(stream)); src 108 modules/photo/src/denoising.cuda.cpp void nln_fast_get_buffer_size(const PtrStepSzb& src, int search_window, int block_window, int& buffer_cols, int& buffer_rows); src 111 modules/photo/src/denoising.cuda.cpp void nlm_fast_gpu(const PtrStepSzb& src, PtrStepSzb dst, PtrStepi buffer, src 121 modules/photo/src/denoising.cuda.cpp const GpuMat src = _src.getGpuMat(); src 123 modules/photo/src/denoising.cuda.cpp CV_Assert(src.depth() == CV_8U && src.channels() < 4); src 126 modules/photo/src/denoising.cuda.cpp Size esize = src.size() + Size(border_size, border_size) * 2; src 130 modules/photo/src/denoising.cuda.cpp GpuMat extended_src = pool.getBuffer(esize, src.type()); src 131 modules/photo/src/denoising.cuda.cpp cv::cuda::copyMakeBorder(src, extended_src, border_size, border_size, border_size, border_size, cv::BORDER_DEFAULT, Scalar(), stream); src 132 modules/photo/src/denoising.cuda.cpp GpuMat src_hdr = extended_src(Rect(Point2i(border_size, border_size), src.size())); src 142 modules/photo/src/denoising.cuda.cpp _dst.create(src.size(), src.type()); src 145 modules/photo/src/denoising.cuda.cpp funcs[src.channels()-1](src_hdr, dst, buffer, search_window, block_window, h, StreamAccessor::getStream(stream)); src 150 modules/photo/src/denoising.cuda.cpp const GpuMat src = _src.getGpuMat(); src 152 modules/photo/src/denoising.cuda.cpp CV_Assert(src.type() == CV_8UC3); src 156 modules/photo/src/denoising.cuda.cpp GpuMat lab = pool.getBuffer(src.size(), src.type()); src 157 modules/photo/src/denoising.cuda.cpp cv::cuda::cvtColor(src, lab, cv::COLOR_BGR2Lab, 0, stream); src 159 modules/photo/src/denoising.cuda.cpp GpuMat l = pool.getBuffer(src.size(), CV_8U); src 160 modules/photo/src/denoising.cuda.cpp GpuMat ab = pool.getBuffer(src.size(), CV_8UC2); src 58 modules/photo/src/fast_nlmeans_denoising_invoker.hpp FastNlMeansDenoisingInvoker(const Mat& src, Mat& dst, src 104 modules/photo/src/fast_nlmeans_denoising_invoker.hpp const Mat& src, Mat& dst, src 108 modules/photo/src/fast_nlmeans_denoising_invoker.hpp src_(src), dst_(dst) src 110 modules/photo/src/fast_nlmeans_denoising_invoker.hpp CV_Assert(src.channels() == pixelInfo<T>::channels); src 149 modules/photo/src/fast_nlmeans_denoising_opencl.hpp UMat src(srcex, Rect(borderSize, borderSize, size.width, size.height)); src 151 modules/photo/src/fast_nlmeans_denoising_opencl.hpp mixChannels(std::vector<UMat>(1, _src.getUMat()), std::vector<UMat>(1, src), from_to, 3); src 152 modules/photo/src/fast_nlmeans_denoising_opencl.hpp copyMakeBorder(src, srcex, borderSize, borderSize, borderSize, borderSize, src 190 modules/photo/src/fast_nlmeans_denoising_opencl.hpp UMat src = _src.getUMat(); src 191 modules/photo/src/fast_nlmeans_denoising_opencl.hpp _dst.create(src.size(), src.type()); src 195 modules/photo/src/fast_nlmeans_denoising_opencl.hpp cvtColor(src, src_lab, COLOR_LBGR2Lab); src 197 modules/photo/src/fast_nlmeans_denoising_opencl.hpp UMat l(src.size(), CV_8U); src 198 modules/photo/src/fast_nlmeans_denoising_opencl.hpp UMat ab(src.size(), CV_8UC2); src 202 modules/photo/src/fast_nlmeans_denoising_opencl.hpp l_ab_denoised[0].create(src.size(), CV_8U); src 203 modules/photo/src/fast_nlmeans_denoising_opencl.hpp l_ab_denoised[1].create(src.size(), CV_8UC2); src 211 modules/photo/src/fast_nlmeans_denoising_opencl.hpp UMat dst_lab(src.size(), CV_8UC3); src 214 modules/photo/src/fast_nlmeans_denoising_opencl.hpp cvtColor(dst_lab, dst, COLOR_Lab2LBGR, src.channels()); src 84 modules/photo/src/hdr_common.cpp void mapLuminance(Mat src, Mat dst, Mat lum, Mat new_lum, float saturation) src 87 modules/photo/src/hdr_common.cpp split(src, channels); src 55 modules/photo/src/hdr_common.hpp void mapLuminance(Mat src, Mat dst, Mat lum, Mat new_lum, float saturation); src 710 modules/photo/src/inpaint.cpp #define COPY_MASK_BORDER1_C1(src,dst,type) {\ src 712 modules/photo/src/inpaint.cpp for (i=0; i<src->rows; i++) {\ src 713 modules/photo/src/inpaint.cpp for(j=0; j<src->cols; j++) {\ src 714 modules/photo/src/inpaint.cpp if (CV_MAT_ELEM(*src,type,i,j)!=0)\ src 813 modules/photo/src/inpaint.cpp Mat src = _src.getMat(), mask = _mask.getMat(); src 814 modules/photo/src/inpaint.cpp _dst.create( src.size(), src.type() ); src 815 modules/photo/src/inpaint.cpp CvMat c_src = src, c_mask = mask, c_dst = _dst.getMat(); src 59 modules/photo/src/merge.cpp void process(InputArrayOfArrays src, OutputArray dst, InputArray _times, InputArray input_response) src 62 modules/photo/src/merge.cpp src.getMatVector(images); src 121 modules/photo/src/merge.cpp void process(InputArrayOfArrays src, OutputArray dst, InputArray times) src 123 modules/photo/src/merge.cpp process(src, dst, times, Mat()); src 147 modules/photo/src/merge.cpp void process(InputArrayOfArrays src, OutputArrayOfArrays dst, InputArray, InputArray) src 149 modules/photo/src/merge.cpp process(src, dst); src 152 modules/photo/src/merge.cpp void process(InputArrayOfArrays src, OutputArray dst) src 155 modules/photo/src/merge.cpp src.getMatVector(images); src 299 modules/photo/src/merge.cpp void process(InputArrayOfArrays src, OutputArray dst, InputArray _times, InputArray input_response) src 302 modules/photo/src/merge.cpp src.getMatVector(images); src 336 modules/photo/src/merge.cpp void process(InputArrayOfArrays src, OutputArray dst, InputArray times) src 338 modules/photo/src/merge.cpp process(src, dst, times, Mat()); src 52 modules/photo/src/seamless_cloning.cpp const Mat src = _src.getMat(); src 64 modules/photo/src/seamless_cloning.cpp Mat cs_mask = Mat::zeros(src.size(),CV_8UC3); src 105 modules/photo/src/seamless_cloning.cpp src(roi_s).copyTo(sourceROI,gray(roi_s)); src 106 modules/photo/src/seamless_cloning.cpp src(roi_s).copyTo(patch, gray(roi_s)); src 119 modules/photo/src/seamless_cloning.cpp Mat src = _src.getMat(); src 121 modules/photo/src/seamless_cloning.cpp _dst.create(src.size(), src.type()); src 135 modules/photo/src/seamless_cloning.cpp Mat cs_mask = Mat::zeros(src.size(),CV_8UC3); src 137 modules/photo/src/seamless_cloning.cpp src.copyTo(cs_mask,gray); src 140 modules/photo/src/seamless_cloning.cpp obj.localColorChange(src,cs_mask,gray,blend,red,green,blue); src 146 modules/photo/src/seamless_cloning.cpp Mat src = _src.getMat(); src 148 modules/photo/src/seamless_cloning.cpp _dst.create(src.size(), src.type()); src 160 modules/photo/src/seamless_cloning.cpp Mat cs_mask = Mat::zeros(src.size(),CV_8UC3); src 162 modules/photo/src/seamless_cloning.cpp src.copyTo(cs_mask,gray); src 165 modules/photo/src/seamless_cloning.cpp obj.illuminationChange(src,cs_mask,gray,blend,alpha,beta); src 173 modules/photo/src/seamless_cloning.cpp Mat src = _src.getMat(); src 175 modules/photo/src/seamless_cloning.cpp _dst.create(src.size(), src.type()); src 185 modules/photo/src/seamless_cloning.cpp Mat cs_mask = Mat::zeros(src.size(),CV_8UC3); src 187 modules/photo/src/seamless_cloning.cpp src.copyTo(cs_mask,gray); src 190 modules/photo/src/seamless_cloning.cpp obj.textureFlatten(src,cs_mask,gray,low_threshold,high_threshold,kernel_size,blend); src 68 modules/photo/src/seamless_cloning.hpp void dst(const Mat& src, Mat& dest, bool invert = false); src 69 modules/photo/src/seamless_cloning.hpp void idst(const Mat& src, Mat& dest); src 106 modules/photo/src/seamless_cloning_impl.cpp void Cloning::dst(const Mat& src, Mat& dest, bool invert) src 108 modules/photo/src/seamless_cloning_impl.cpp Mat temp = Mat::zeros(src.rows, 2 * src.cols + 2, CV_32F); src 112 modules/photo/src/seamless_cloning_impl.cpp src.copyTo(temp(Rect(1,0, src.cols, src.rows))); src 114 modules/photo/src/seamless_cloning_impl.cpp for(int j = 0 ; j < src.rows ; ++j) src 117 modules/photo/src/seamless_cloning_impl.cpp const float * srcLinePtr = src.ptr<float>(j); src 118 modules/photo/src/seamless_cloning_impl.cpp for(int i = 0 ; i < src.cols ; ++i) src 120 modules/photo/src/seamless_cloning_impl.cpp tempLinePtr[src.cols + 2 + i] = - srcLinePtr[src.cols - 1 - i]; src 130 modules/photo/src/seamless_cloning_impl.cpp temp = Mat::zeros(src.cols, 2 * src.rows + 2, CV_32F); src 132 modules/photo/src/seamless_cloning_impl.cpp for(int j = 0 ; j < src.cols ; ++j) src 135 modules/photo/src/seamless_cloning_impl.cpp for(int i = 0 ; i < src.rows ; ++i) src 150 modules/photo/src/seamless_cloning_impl.cpp dest = Mat::zeros(src.size(), CV_32F); src 151 modules/photo/src/seamless_cloning_impl.cpp temp(Rect( 0, 1, src.cols, src.rows)).copyTo(dest); src 154 modules/photo/src/seamless_cloning_impl.cpp void Cloning::idst(const Mat& src, Mat& dest) src 156 modules/photo/src/seamless_cloning_impl.cpp dst(src, dest, true); src 50 modules/photo/src/tonemap.cpp inline void log_(const Mat& src, Mat& dst) src 52 modules/photo/src/tonemap.cpp max(src, Scalar::all(1e-4), dst); src 65 modules/photo/src/tonemap.cpp Mat src = _src.getMat(); src 66 modules/photo/src/tonemap.cpp CV_Assert(!src.empty()); src 67 modules/photo/src/tonemap.cpp _dst.create(src.size(), CV_32FC3); src 71 modules/photo/src/tonemap.cpp minMaxLoc(src, &min, &max); src 73 modules/photo/src/tonemap.cpp dst = (src - min) / (max - min); src 75 modules/photo/src/tonemap.cpp src.copyTo(dst); src 120 modules/photo/src/tonemap.cpp Mat src = _src.getMat(); src 121 modules/photo/src/tonemap.cpp CV_Assert(!src.empty()); src 122 modules/photo/src/tonemap.cpp _dst.create(src.size(), CV_32FC3); src 126 modules/photo/src/tonemap.cpp linear->process(src, img); src 204 modules/photo/src/tonemap.cpp Mat src = _src.getMat(); src 205 modules/photo/src/tonemap.cpp CV_Assert(!src.empty()); src 206 modules/photo/src/tonemap.cpp _dst.create(src.size(), CV_32FC3); src 209 modules/photo/src/tonemap.cpp linear->process(src, img); src 288 modules/photo/src/tonemap.cpp Mat src = _src.getMat(); src 289 modules/photo/src/tonemap.cpp CV_Assert(!src.empty()); src 290 modules/photo/src/tonemap.cpp _dst.create(src.size(), CV_32FC3); src 293 modules/photo/src/tonemap.cpp linear->process(src, img); src 382 modules/photo/src/tonemap.cpp Mat src = _src.getMat(); src 383 modules/photo/src/tonemap.cpp CV_Assert(!src.empty()); src 384 modules/photo/src/tonemap.cpp _dst.create(src.size(), CV_32FC3); src 387 modules/photo/src/tonemap.cpp linear->process(src, img); src 402 modules/photo/src/tonemap.cpp Mat right(src.size(), CV_32F); src 468 modules/photo/src/tonemap.cpp void signedPow(Mat src, float power, Mat& dst) src 470 modules/photo/src/tonemap.cpp Mat sign = (src > 0); src 473 modules/photo/src/tonemap.cpp pow(abs(src), power, dst); src 485 modules/photo/src/tonemap.cpp void getGradient(Mat src, Mat& dst, int pos) src 487 modules/photo/src/tonemap.cpp dst = Mat::zeros(src.size(), CV_32F); src 489 modules/photo/src/tonemap.cpp Mat grad = src.colRange(1, src.cols) - src.colRange(0, src.cols - 1); src 490 modules/photo/src/tonemap.cpp grad.copyTo(dst.colRange(pos, src.cols + pos - 1)); src 492 modules/photo/src/tonemap.cpp src.col(0).copyTo(dst.col(0)); src 496 modules/photo/src/tonemap.cpp void getContrast(Mat src, std::vector<Mat>& x_contrast, std::vector<Mat>& y_contrast) src 498 modules/photo/src/tonemap.cpp int levels = static_cast<int>(logf(static_cast<float>(min(src.rows, src.cols))) / logf(2.0f)); src 503 modules/photo/src/tonemap.cpp src.copyTo(layer); src 524 modules/photo/src/tonemap.cpp void calculateProduct(Mat src, Mat& dst) src 527 modules/photo/src/tonemap.cpp getContrast(src, x_contrast, y_contrast); src 22 modules/photo/test/ocl/test_denoising.cpp TEST_DECLARE_INPUT_PARAMETER(src); src 53 modules/photo/test/ocl/test_denoising.cpp randomSubMat(src, src_roi, roiSize, srcBorder, type, 0, 255); src 72 modules/photo/test/ocl/test_denoising.cpp UMAT_UPLOAD_INPUT_PARAMETER(src); src 163 modules/photo/test/test_denoising.cpp Mat src = imread(imgname, 0), dst; src 166 modules/photo/test/test_denoising.cpp fastNlMeansDenoising(src, dst, 5, 7, 21); src 212 modules/python/src2/cv2.cpp PyObject* pyopencv_from(const T& src); src 443 modules/python/src2/cv2.cpp PyObject* pyopencv_from(const Scalar& src) src 445 modules/python/src2/cv2.cpp return Py_BuildValue("(dddd)", src[0], src[1], src[2], src[3]); src 787 modules/python/src2/cv2.cpp Mat src; src 788 modules/python/src2/cv2.cpp pyopencv_to(item, src, info); src 789 modules/python/src2/cv2.cpp if( src.dims != 2 || src.channels() != 1 || src 790 modules/python/src2/cv2.cpp ((src.cols != 1 || src.rows != channels) && src 791 modules/python/src2/cv2.cpp (src.cols != channels || src.rows != 1))) src 793 modules/python/src2/cv2.cpp Mat dst(src.rows, src.cols, depth, data); src 794 modules/python/src2/cv2.cpp src.convertTo(dst, type); src 848 modules/python/src2/cv2.cpp Mat src((int)value.size(), DataType<_Tp>::channels, DataType<_Tp>::depth, (uchar*)&value[0]); src 849 modules/python/src2/cv2.cpp return pyopencv_from(src); src 984 modules/python/src2/cv2.cpp PyObject* pyopencv_from(const TermCriteria& src) src 986 modules/python/src2/cv2.cpp return Py_BuildValue("(iid)", src.type, src.maxCount, src.epsilon); src 999 modules/python/src2/cv2.cpp PyObject* pyopencv_from(const RotatedRect& src) src 1001 modules/python/src2/cv2.cpp return Py_BuildValue("((ff)(ff)f)", src.center.x, src.center.y, src.size.width, src.size.height, src.angle); src 147 modules/stitching/include/opencv2/stitching/detail/blenders.hpp void CV_EXPORTS normalizeUsingWeightMap(InputArray weight, InputOutputArray src); src 68 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners, src 85 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners, src 109 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners, src 128 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners, src 244 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp void find(const std::vector<UMat> &src, const std::vector<Point> &corners, src 263 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp void find(const std::vector<cv::UMat> &src, const std::vector<cv::Point> &corners, src 94 modules/stitching/include/opencv2/stitching/detail/warpers.hpp virtual Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, src 107 modules/stitching/include/opencv2/stitching/detail/warpers.hpp virtual void warpBackward(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, src 148 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, src 151 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void warpBackward(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, src 195 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(InputArray src, InputArray K, InputArray R, src 197 modules/stitching/include/opencv2/stitching/detail/warpers.hpp virtual Point warp(InputArray src, InputArray K, InputArray R, InputArray T, int interp_mode, int border_mode, src 230 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst); src 255 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst); src 426 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, src 429 modules/stitching/include/opencv2/stitching/detail/warpers.hpp d_src_.upload(src); src 435 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(InputArray src, InputArray K, InputArray R, InputArray T, int interp_mode, int border_mode, src 438 modules/stitching/include/opencv2/stitching/detail/warpers.hpp d_src_.upload(src); src 448 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(const cuda::GpuMat & src, InputArray K, InputArray R, int interp_mode, int border_mode, src 451 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(const cuda::GpuMat & src, InputArray K, InputArray R, InputArray T, int interp_mode, int border_mode, src 472 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, src 475 modules/stitching/include/opencv2/stitching/detail/warpers.hpp d_src_.upload(src); src 483 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(const cuda::GpuMat & src, InputArray K, InputArray R, int interp_mode, int border_mode, src 504 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, src 507 modules/stitching/include/opencv2/stitching/detail/warpers.hpp d_src_.upload(src); src 515 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(const cuda::GpuMat & src, InputArray K, InputArray R, int interp_mode, int border_mode, src 94 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp Point RotationWarperBase<P>::warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, src 98 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp Rect dst_roi = buildMaps(src.size(), K, R, xmap, ymap); src 100 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp dst.create(dst_roi.height + 1, dst_roi.width + 1, src.type()); src 101 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp remap(src, dst, xmap, ymap, interp_mode, border_mode); src 108 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void RotationWarperBase<P>::warpBackward(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, src 116 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp Size size = src.size(); src 133 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp dst.create(dst_size, src.type()); src 134 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp remap(src, dst, xmap, ymap, interp_mode, border_mode); src 91 modules/stitching/perf/opencl/perf_warpers.cpp Point warp(InputArray src, int interp_mode, int border_mode, OutputArray dst) const src 93 modules/stitching/perf/opencl/perf_warpers.cpp return warper->warp(src, K, R, interp_mode, border_mode, dst); src 106 modules/stitching/perf/opencl/perf_warpers.cpp static void prepareWarperSrc(InputOutputArray src, Size srcSize) src 108 modules/stitching/perf/opencl/perf_warpers.cpp src.create(srcSize, CV_8UC1); src 109 modules/stitching/perf/opencl/perf_warpers.cpp src.setTo(Scalar::all(64)); src 110 modules/stitching/perf/opencl/perf_warpers.cpp ellipse(src, Point(srcSize.width/2, srcSize.height/2), Size(srcSize.width/2, srcSize.height/2), src 112 modules/stitching/perf/opencl/perf_warpers.cpp ellipse(src, Point(srcSize.width/2, srcSize.height/2), Size(srcSize.width/3, srcSize.height/3), src 114 modules/stitching/perf/opencl/perf_warpers.cpp rectangle(src, Point(10, 10), Point(srcSize.width - 10, srcSize.height - 10), Scalar::all(128), 2); src 139 modules/stitching/perf/opencl/perf_warpers.cpp UMat src, dst; src 140 modules/stitching/perf/opencl/perf_warpers.cpp prepareWarperSrc(src, srcSize); src 141 modules/stitching/perf/opencl/perf_warpers.cpp declare.in(src, WARMUP_READ); src 143 modules/stitching/perf/opencl/perf_warpers.cpp OCL_TEST_CYCLE() warper.warp(src, INTER_LINEAR, BORDER_REPLICATE, dst); src 148 modules/stitching/perf/opencl/perf_warpers.cpp imshow("src", src); src 262 modules/stitching/src/blenders.cpp UMat src = _src.getUMat(); src 264 modules/stitching/src/blenders.cpp k.args(ocl::KernelArg::ReadOnly(src), src 270 modules/stitching/src/blenders.cpp size_t globalsize[2] = {src.cols, src.rows }; src 479 modules/stitching/src/blenders.cpp Mat src; src 482 modules/stitching/src/blenders.cpp src = _src.getMat(); src 484 modules/stitching/src/blenders.cpp if(tegra::useTegra() && tegra::normalizeUsingWeightMap(weight, src)) src 493 modules/stitching/src/blenders.cpp src = _src.getMat(); src 496 modules/stitching/src/blenders.cpp CV_Assert(src.type() == CV_16SC3); src 500 modules/stitching/src/blenders.cpp for (int y = 0; y < src.rows; ++y) src 502 modules/stitching/src/blenders.cpp Point3_<short> *row = src.ptr<Point3_<short> >(y); src 505 modules/stitching/src/blenders.cpp for (int x = 0; x < src.cols; ++x) src 517 modules/stitching/src/blenders.cpp for (int y = 0; y < src.rows; ++y) src 520 modules/stitching/src/blenders.cpp Point3_<short> *row = src.ptr<Point3_<short> >(y); src 522 modules/stitching/src/blenders.cpp for (int x = 0; x < src.cols; ++x) src 49 modules/stitching/src/seam_finders.cpp void PairwiseSeamFinder::find(const std::vector<UMat> &src, const std::vector<Point> &corners, src 53 modules/stitching/src/seam_finders.cpp if (src.size() == 0) src 60 modules/stitching/src/seam_finders.cpp images_ = src; src 61 modules/stitching/src/seam_finders.cpp sizes_.resize(src.size()); src 62 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < src.size(); ++i) src 63 modules/stitching/src/seam_finders.cpp sizes_[i] = src[i].size(); src 85 modules/stitching/src/seam_finders.cpp void VoronoiSeamFinder::find(const std::vector<UMat> &src, const std::vector<Point> &corners, src 88 modules/stitching/src/seam_finders.cpp PairwiseSeamFinder::find(src, corners, masks); src 168 modules/stitching/src/seam_finders.cpp void DpSeamFinder::find(const std::vector<UMat> &src, const std::vector<Point> &corners, std::vector<UMat> &masks) src 175 modules/stitching/src/seam_finders.cpp if (src.size() == 0) src 180 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i+1 < src.size(); ++i) src 181 modules/stitching/src/seam_finders.cpp for (size_t j = i+1; j < src.size(); ++j) src 185 modules/stitching/src/seam_finders.cpp std::vector<Mat> _src(src.size()); src 186 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < src.size(); ++i) _src[i] = src[i].getMat(ACCESS_READ); src 195 modules/stitching/src/seam_finders.cpp process(src[i0].getMat(ACCESS_READ), src[i1].getMat(ACCESS_READ), corners[i0], corners[i1], mask0, mask1); src 800 modules/stitching/src/seam_finders.cpp Point src = p1 - roi.tl(); src 807 modules/stitching/src/seam_finders.cpp isHorizontal = std::abs(dst.x - src.x) > std::abs(dst.y - src.y); src 811 modules/stitching/src/seam_finders.cpp if (src.x > dst.x) src 813 modules/stitching/src/seam_finders.cpp std::swap(src, dst); src 817 modules/stitching/src/seam_finders.cpp else if (src.y > dst.y) src 820 modules/stitching/src/seam_finders.cpp std::swap(src, dst); src 829 modules/stitching/src/seam_finders.cpp reachable(src) = 1; src 830 modules/stitching/src/seam_finders.cpp cost(src) = 0.f; src 837 modules/stitching/src/seam_finders.cpp for (int x = src.x+1; x <= dst.x; ++x) src 867 modules/stitching/src/seam_finders.cpp for (int y = src.y+1; y <= dst.y; ++y) src 907 modules/stitching/src/seam_finders.cpp for (; p.x != src.x; seam.push_back(p + roi.tl())) src 916 modules/stitching/src/seam_finders.cpp for (; p.y != src.y; seam.push_back(p + roi.tl())) src 1068 modules/stitching/src/seam_finders.cpp void find(const std::vector<UMat> &src, const std::vector<Point> &corners, std::vector<UMat> &masks); src 1085 modules/stitching/src/seam_finders.cpp void GraphCutSeamFinder::Impl::find(const std::vector<UMat> &src, const std::vector<Point> &corners, src 1089 modules/stitching/src/seam_finders.cpp dx_.resize(src.size()); src 1090 modules/stitching/src/seam_finders.cpp dy_.resize(src.size()); src 1092 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < src.size(); ++i) src 1094 modules/stitching/src/seam_finders.cpp CV_Assert(src[i].channels() == 3); src 1095 modules/stitching/src/seam_finders.cpp Sobel(src[i], dx, CV_32F, 1, 0); src 1096 modules/stitching/src/seam_finders.cpp Sobel(src[i], dy, CV_32F, 0, 1); src 1097 modules/stitching/src/seam_finders.cpp dx_[i].create(src[i].size(), CV_32F); src 1098 modules/stitching/src/seam_finders.cpp dy_[i].create(src[i].size(), CV_32F); src 1099 modules/stitching/src/seam_finders.cpp for (int y = 0; y < src[i].rows; ++y) src 1105 modules/stitching/src/seam_finders.cpp for (int x = 0; x < src[i].cols; ++x) src 1112 modules/stitching/src/seam_finders.cpp PairwiseSeamFinder::find(src, corners, masks); src 1322 modules/stitching/src/seam_finders.cpp void GraphCutSeamFinder::find(const std::vector<UMat> &src, const std::vector<Point> &corners, src 1325 modules/stitching/src/seam_finders.cpp impl_->find(src, corners, masks); src 1330 modules/stitching/src/seam_finders.cpp void GraphCutSeamFinderGpu::find(const std::vector<UMat> &src, const std::vector<Point> &corners, src 1334 modules/stitching/src/seam_finders.cpp dx_.resize(src.size()); src 1335 modules/stitching/src/seam_finders.cpp dy_.resize(src.size()); src 1337 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < src.size(); ++i) src 1339 modules/stitching/src/seam_finders.cpp CV_Assert(src[i].channels() == 3); src 1340 modules/stitching/src/seam_finders.cpp Sobel(src[i], dx, CV_32F, 1, 0); src 1341 modules/stitching/src/seam_finders.cpp Sobel(src[i], dy, CV_32F, 0, 1); src 1342 modules/stitching/src/seam_finders.cpp dx_[i].create(src[i].size(), CV_32F); src 1343 modules/stitching/src/seam_finders.cpp dy_[i].create(src[i].size(), CV_32F); src 1344 modules/stitching/src/seam_finders.cpp for (int y = 0; y < src[i].rows; ++y) src 1350 modules/stitching/src/seam_finders.cpp for (int x = 0; x < src[i].cols; ++x) src 1357 modules/stitching/src/seam_finders.cpp PairwiseSeamFinder::find(src, corners, masks); src 153 modules/stitching/src/warpers.cpp Point PlaneWarper::warp(InputArray src, InputArray K, InputArray R, InputArray T, int interp_mode, int border_mode, src 157 modules/stitching/src/warpers.cpp Rect dst_roi = buildMaps(src.size(), K, R, T, uxmap, uymap); src 159 modules/stitching/src/warpers.cpp dst.create(dst_roi.height + 1, dst_roi.width + 1, src.type()); src 160 modules/stitching/src/warpers.cpp remap(src, dst, uxmap, uymap, interp_mode, border_mode); src 165 modules/stitching/src/warpers.cpp Point PlaneWarper::warp(InputArray src, InputArray K, InputArray R, src 170 modules/stitching/src/warpers.cpp return warp(src, K, R, T, interp_mode, border_mode, dst); src 346 modules/stitching/src/warpers.cpp Point SphericalWarper::warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst) src 349 modules/stitching/src/warpers.cpp Rect dst_roi = buildMaps(src.size(), K, R, uxmap, uymap); src 351 modules/stitching/src/warpers.cpp dst.create(dst_roi.height + 1, dst_roi.width + 1, src.type()); src 352 modules/stitching/src/warpers.cpp remap(src, dst, uxmap, uymap, interp_mode, border_mode); src 395 modules/stitching/src/warpers.cpp Point CylindricalWarper::warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst) src 398 modules/stitching/src/warpers.cpp Rect dst_roi = buildMaps(src.size(), K, R, uxmap, uymap); src 400 modules/stitching/src/warpers.cpp dst.create(dst_roi.height + 1, dst_roi.width + 1, src.type()); src 401 modules/stitching/src/warpers.cpp remap(src, dst, uxmap, uymap, interp_mode, border_mode); src 180 modules/stitching/src/warpers_cuda.cpp Point cv::detail::PlaneWarperGpu::warp(const cuda::GpuMat & src, InputArray K, InputArray R, src 184 modules/stitching/src/warpers_cuda.cpp return warp(src, K, R, Mat::zeros(3, 1, CV_32F), interp_mode, border_mode, dst); src 188 modules/stitching/src/warpers_cuda.cpp Point cv::detail::PlaneWarperGpu::warp(const cuda::GpuMat & src, InputArray K, InputArray R, InputArray T, src 193 modules/stitching/src/warpers_cuda.cpp (void)src; src 203 modules/stitching/src/warpers_cuda.cpp Rect dst_roi = buildMaps(src.size(), K, R, T, d_xmap_, d_ymap_); src 204 modules/stitching/src/warpers_cuda.cpp dst.create(dst_roi.height + 1, dst_roi.width + 1, src.type()); src 205 modules/stitching/src/warpers_cuda.cpp cuda::remap(src, dst, d_xmap_, d_ymap_, interp_mode, border_mode); src 233 modules/stitching/src/warpers_cuda.cpp Point cv::detail::SphericalWarperGpu::warp(const cuda::GpuMat & src, InputArray K, InputArray R, src 238 modules/stitching/src/warpers_cuda.cpp (void)src; src 247 modules/stitching/src/warpers_cuda.cpp Rect dst_roi = buildMaps(src.size(), K, R, d_xmap_, d_ymap_); src 248 modules/stitching/src/warpers_cuda.cpp dst.create(dst_roi.height + 1, dst_roi.width + 1, src.type()); src 249 modules/stitching/src/warpers_cuda.cpp cuda::remap(src, dst, d_xmap_, d_ymap_, interp_mode, border_mode); src 279 modules/stitching/src/warpers_cuda.cpp Point cv::detail::CylindricalWarperGpu::warp(const cuda::GpuMat & src, InputArray K, InputArray R, src 284 modules/stitching/src/warpers_cuda.cpp (void)src; src 293 modules/stitching/src/warpers_cuda.cpp Rect dst_roi = buildMaps(src.size(), K, R, d_xmap_, d_ymap_); src 294 modules/stitching/src/warpers_cuda.cpp dst.create(dst_roi.height + 1, dst_roi.width + 1, src.type()); src 295 modules/stitching/src/warpers_cuda.cpp cuda::remap(src, dst, d_xmap_, d_ymap_, interp_mode, border_mode); src 54 modules/stitching/test/ocl/test_warpers.cpp Mat src, dst, xmap, ymap; src 62 modules/stitching/test/ocl/test_warpers.cpp src = randomMat(size, CV_32FC1, -500, 500); src 63 modules/stitching/test/ocl/test_warpers.cpp src.copyTo(usrc); src 94 modules/stitching/test/ocl/test_warpers.cpp OCL_OFF(warper->buildMaps(src.size(), K, R, xmap, ymap)); src 97 modules/stitching/test/ocl/test_warpers.cpp OCL_OFF(warper->warp(src, K, R, INTER_LINEAR, BORDER_REPLICATE, dst)); src 115 modules/stitching/test/ocl/test_warpers.cpp OCL_OFF(warper->buildMaps(src.size(), K, R, xmap, ymap)); src 118 modules/stitching/test/ocl/test_warpers.cpp OCL_OFF(warper->warp(src, K, R, INTER_LINEAR, BORDER_REPLICATE, dst)); src 136 modules/stitching/test/ocl/test_warpers.cpp OCL_OFF(warper->buildMaps(src.size(), K, R, xmap, ymap)); src 139 modules/stitching/test/ocl/test_warpers.cpp OCL_OFF(warper->warp(src, K, R, INTER_LINEAR, BORDER_REPLICATE, dst)); src 228 modules/superres/src/btv_l1.cpp Mat src = _src.getMat(); src 229 modules/superres/src/btv_l1.cpp _dst.create(src.rows * scale, src.cols * scale, src.type()); src 233 modules/superres/src/btv_l1.cpp for (int y = 0, Y = 0; y < src.rows; ++y, Y += scale) src 235 modules/superres/src/btv_l1.cpp const T * const srcRow = src.ptr<T>(y); src 238 modules/superres/src/btv_l1.cpp for (int x = 0, X = 0; x < src.cols; ++x, X += scale) src 253 modules/superres/src/btv_l1.cpp UMat src = _src.getUMat(); src 254 modules/superres/src/btv_l1.cpp _dst.create(src.rows * scale, src.cols * scale, type); src 258 modules/superres/src/btv_l1.cpp k.args(ocl::KernelArg::ReadOnly(src), src 261 modules/superres/src/btv_l1.cpp size_t globalsize[2] = { src.cols, src.rows }; src 277 modules/superres/src/btv_l1.cpp typedef void (*func_t)(InputArray src, OutputArray dst, int scale); src 368 modules/superres/src/btv_l1.cpp Mat src; src 379 modules/superres/src/btv_l1.cpp const T * const srcRow = src.ptr<T>(i); src 382 modules/superres/src/btv_l1.cpp for(int j = ksize; j < src.cols - ksize; ++j) src 388 modules/superres/src/btv_l1.cpp const T* srcRow2 = src.ptr<T>(i - m); src 389 modules/superres/src/btv_l1.cpp const T* srcRow3 = src.ptr<T>(i + m); src 402 modules/superres/src/btv_l1.cpp Mat src = _src.getMat(); src 403 modules/superres/src/btv_l1.cpp _dst.create(src.size(), src.type()); src 411 modules/superres/src/btv_l1.cpp body.src = src; src 416 modules/superres/src/btv_l1.cpp parallel_for_(Range(ksize, src.rows - ksize), body); src 429 modules/superres/src/btv_l1.cpp UMat src = _src.getUMat(); src 430 modules/superres/src/btv_l1.cpp _dst.create(src.size(), src.type()); src 436 modules/superres/src/btv_l1.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst), src 439 modules/superres/src/btv_l1.cpp size_t globalsize[2] = { src.cols, src.rows }; src 468 modules/superres/src/btv_l1.cpp void process(InputArrayOfArrays src, OutputArray dst, InputArrayOfArrays forwardMotions, src 497 modules/superres/src/btv_l1.cpp bool ocl_process(InputArrayOfArrays src, OutputArray dst, InputArrayOfArrays forwardMotions, src 570 modules/superres/src/btv_l1.cpp std::vector<UMat> & src = *(std::vector<UMat> *)_src.getObj(), src 575 modules/superres/src/btv_l1.cpp if (blurKernelSize_ != curBlurKernelSize_ || blurSigma_ != curBlurSigma_ || src[0].type() != curSrcType_) src 580 modules/superres/src/btv_l1.cpp curSrcType_ = src[0].type(); src 593 modules/superres/src/btv_l1.cpp calcRelativeMotions(forwardMotions, backwardMotions, ulowResForwardMotions_, ulowResBackwardMotions_, baseIdx, src[0].size()); src 604 modules/superres/src/btv_l1.cpp const Size lowResSize = src[0].size(); src 607 modules/superres/src/btv_l1.cpp resize(src[baseIdx], uhighRes_, highResSize, 0, 0, INTER_LINEAR); // TODO src 619 modules/superres/src/btv_l1.cpp for (size_t k = 0; k < src.size(); ++k) src 628 modules/superres/src/btv_l1.cpp diffSign(src[k], uc_, uc_); src 673 modules/superres/src/btv_l1.cpp std::vector<Mat> & src = *(std::vector<Mat> *)_src.getObj(), src 678 modules/superres/src/btv_l1.cpp if (blurKernelSize_ != curBlurKernelSize_ || blurSigma_ != curBlurSigma_ || src[0].type() != curSrcType_) src 683 modules/superres/src/btv_l1.cpp curSrcType_ = src[0].type(); src 694 modules/superres/src/btv_l1.cpp calcRelativeMotions(forwardMotions, backwardMotions, lowResForwardMotions_, lowResBackwardMotions_, baseIdx, src[0].size()); src 705 modules/superres/src/btv_l1.cpp const Size lowResSize = src[0].size(); src 708 modules/superres/src/btv_l1.cpp resize(src[baseIdx], highRes_, highResSize, 0, 0, INTER_CUBIC); src 720 modules/superres/src/btv_l1.cpp for (size_t k = 0; k < src.size(); ++k) src 729 modules/superres/src/btv_l1.cpp diffSign(src[k], c_, c_); src 71 modules/superres/src/btv_l1_cuda.cpp void upscale(const PtrStepSzb src, PtrStepSzb dst, int scale, cudaStream_t stream); src 76 modules/superres/src/btv_l1_cuda.cpp template <int cn> void calcBtvRegularization(PtrStepSzb src, PtrStepSzb dst, int ksize); src 147 modules/superres/src/btv_l1_cuda.cpp void upscale(const GpuMat& src, GpuMat& dst, int scale, Stream& stream) src 149 modules/superres/src/btv_l1_cuda.cpp typedef void (*func_t)(const PtrStepSzb src, PtrStepSzb dst, int scale, cudaStream_t stream); src 155 modules/superres/src/btv_l1_cuda.cpp CV_Assert( src.channels() == 1 || src.channels() == 3 || src.channels() == 4 ); src 157 modules/superres/src/btv_l1_cuda.cpp dst.create(src.rows * scale, src.cols * scale, src.type()); src 160 modules/superres/src/btv_l1_cuda.cpp const func_t func = funcs[src.channels()]; src 162 modules/superres/src/btv_l1_cuda.cpp func(src, dst, scale, StreamAccessor::getStream(stream)); src 190 modules/superres/src/btv_l1_cuda.cpp void calcBtvRegularization(const GpuMat& src, GpuMat& dst, int btvKernelSize) src 192 modules/superres/src/btv_l1_cuda.cpp typedef void (*func_t)(PtrStepSzb src, PtrStepSzb dst, int ksize); src 202 modules/superres/src/btv_l1_cuda.cpp dst.create(src.size(), src.type()); src 207 modules/superres/src/btv_l1_cuda.cpp funcs[src.channels()](src, dst, ksize); src 215 modules/superres/src/btv_l1_cuda.cpp void process(const std::vector<GpuMat>& src, GpuMat& dst, src 297 modules/superres/src/btv_l1_cuda.cpp void BTVL1_CUDA_Base::process(const std::vector<GpuMat>& src, GpuMat& dst, src 311 modules/superres/src/btv_l1_cuda.cpp if (filters_.size() != src.size() || blurKernelSize_ != curBlurKernelSize_ || blurSigma_ != curBlurSigma_ || src[0].type() != curSrcType_) src 313 modules/superres/src/btv_l1_cuda.cpp filters_.resize(src.size()); src 314 modules/superres/src/btv_l1_cuda.cpp for (size_t i = 0; i < src.size(); ++i) src 315 modules/superres/src/btv_l1_cuda.cpp filters_[i] = cuda::createGaussianFilter(src[0].type(), -1, Size(blurKernelSize_, blurKernelSize_), blurSigma_); src 318 modules/superres/src/btv_l1_cuda.cpp curSrcType_ = src[0].type(); src 330 modules/superres/src/btv_l1_cuda.cpp calcRelativeMotions(forwardMotions, backwardMotions, lowResForwardMotions_, lowResBackwardMotions_, baseIdx, src[0].size()); src 342 modules/superres/src/btv_l1_cuda.cpp const Size lowResSize = src[0].size(); src 345 modules/superres/src/btv_l1_cuda.cpp cuda::resize(src[baseIdx], highRes_, highResSize, 0, 0, INTER_CUBIC); src 349 modules/superres/src/btv_l1_cuda.cpp streams_.resize(src.size()); src 350 modules/superres/src/btv_l1_cuda.cpp diffTerms_.resize(src.size()); src 351 modules/superres/src/btv_l1_cuda.cpp a_.resize(src.size()); src 352 modules/superres/src/btv_l1_cuda.cpp b_.resize(src.size()); src 353 modules/superres/src/btv_l1_cuda.cpp c_.resize(src.size()); src 357 modules/superres/src/btv_l1_cuda.cpp for (size_t k = 0; k < src.size(); ++k) src 366 modules/superres/src/btv_l1_cuda.cpp diffSign(src[k], c_[k], c_[k], streams_[k]); src 382 modules/superres/src/btv_l1_cuda.cpp for (size_t k = 0; k < src.size(); ++k) src 101 modules/superres/src/input_array_utility.cpp void mat2mat(InputArray src, OutputArray dst) src 103 modules/superres/src/input_array_utility.cpp src.getMat().copyTo(dst); src 105 modules/superres/src/input_array_utility.cpp void arr2buf(InputArray src, OutputArray dst) src 107 modules/superres/src/input_array_utility.cpp dst.getOGlBufferRef().copyFrom(src); src 109 modules/superres/src/input_array_utility.cpp void mat2gpu(InputArray src, OutputArray dst) src 111 modules/superres/src/input_array_utility.cpp dst.getGpuMatRef().upload(src.getMat()); src 113 modules/superres/src/input_array_utility.cpp void buf2arr(InputArray src, OutputArray dst) src 115 modules/superres/src/input_array_utility.cpp src.getOGlBuffer().copyTo(dst); src 117 modules/superres/src/input_array_utility.cpp void gpu2mat(InputArray src, OutputArray dst) src 119 modules/superres/src/input_array_utility.cpp GpuMat d = src.getGpuMat(); src 124 modules/superres/src/input_array_utility.cpp void gpu2gpu(InputArray src, OutputArray dst) src 126 modules/superres/src/input_array_utility.cpp src.getGpuMat().copyTo(dst.getGpuMatRef()); src 130 modules/superres/src/input_array_utility.cpp void cv::superres::arrCopy(InputArray src, OutputArray dst) src 132 modules/superres/src/input_array_utility.cpp if (dst.isUMat() || src.isUMat()) src 134 modules/superres/src/input_array_utility.cpp src.copyTo(dst); src 138 modules/superres/src/input_array_utility.cpp typedef void (*func_t)(InputArray src, OutputArray dst); src 153 modules/superres/src/input_array_utility.cpp const int src_kind = src.kind() >> _InputArray::KIND_SHIFT; src 162 modules/superres/src/input_array_utility.cpp func(src, dst); src 167 modules/superres/src/input_array_utility.cpp void convertToCn(InputArray src, OutputArray dst, int cn) src 169 modules/superres/src/input_array_utility.cpp int scn = src.channels(); src 185 modules/superres/src/input_array_utility.cpp switch (src.kind()) src 189 modules/superres/src/input_array_utility.cpp cuda::cvtColor(src.getGpuMat(), dst.getGpuMatRef(), code, cn); src 196 modules/superres/src/input_array_utility.cpp cv::cvtColor(src, dst, code, cn); src 201 modules/superres/src/input_array_utility.cpp void convertToDepth(InputArray src, OutputArray dst, int depth) src 203 modules/superres/src/input_array_utility.cpp CV_Assert( src.depth() <= CV_64F ); src 217 modules/superres/src/input_array_utility.cpp const double scale = maxVals[depth] / maxVals[src.depth()]; src 219 modules/superres/src/input_array_utility.cpp switch (src.kind()) src 222 modules/superres/src/input_array_utility.cpp src.getGpuMat().convertTo(dst.getGpuMatRef(), depth, scale); src 226 modules/superres/src/input_array_utility.cpp src.getUMat().convertTo(dst, depth, scale); src 230 modules/superres/src/input_array_utility.cpp src.getMat().convertTo(dst, depth, scale); src 236 modules/superres/src/input_array_utility.cpp Mat cv::superres::convertToType(const Mat& src, int type, Mat& buf0, Mat& buf1) src 238 modules/superres/src/input_array_utility.cpp if (src.type() == type) src 239 modules/superres/src/input_array_utility.cpp return src; src 244 modules/superres/src/input_array_utility.cpp if (src.depth() == depth) src 246 modules/superres/src/input_array_utility.cpp convertToCn(src, buf0, cn); src 250 modules/superres/src/input_array_utility.cpp if (src.channels() == cn) src 252 modules/superres/src/input_array_utility.cpp convertToDepth(src, buf1, depth); src 256 modules/superres/src/input_array_utility.cpp convertToCn(src, buf0, cn); src 261 modules/superres/src/input_array_utility.cpp UMat cv::superres::convertToType(const UMat& src, int type, UMat& buf0, UMat& buf1) src 263 modules/superres/src/input_array_utility.cpp if (src.type() == type) src 264 modules/superres/src/input_array_utility.cpp return src; src 269 modules/superres/src/input_array_utility.cpp if (src.depth() == depth) src 271 modules/superres/src/input_array_utility.cpp convertToCn(src, buf0, cn); src 275 modules/superres/src/input_array_utility.cpp if (src.channels() == cn) src 277 modules/superres/src/input_array_utility.cpp convertToDepth(src, buf1, depth); src 281 modules/superres/src/input_array_utility.cpp convertToCn(src, buf0, cn); src 286 modules/superres/src/input_array_utility.cpp GpuMat cv::superres::convertToType(const GpuMat& src, int type, GpuMat& buf0, GpuMat& buf1) src 288 modules/superres/src/input_array_utility.cpp if (src.type() == type) src 289 modules/superres/src/input_array_utility.cpp return src; src 294 modules/superres/src/input_array_utility.cpp if (src.depth() == depth) src 296 modules/superres/src/input_array_utility.cpp convertToCn(src, buf0, cn); src 300 modules/superres/src/input_array_utility.cpp if (src.channels() == cn) src 302 modules/superres/src/input_array_utility.cpp convertToDepth(src, buf1, depth); src 306 modules/superres/src/input_array_utility.cpp convertToCn(src, buf0, cn); src 57 modules/superres/src/input_array_utility.hpp CV_EXPORTS void arrCopy(InputArray src, OutputArray dst); src 59 modules/superres/src/input_array_utility.hpp CV_EXPORTS Mat convertToType(const Mat& src, int type, Mat& buf0, Mat& buf1); src 60 modules/superres/src/input_array_utility.hpp CV_EXPORTS UMat convertToType(const UMat& src, int type, UMat& buf0, UMat& buf1); src 61 modules/superres/src/input_array_utility.hpp CV_EXPORTS cuda::GpuMat convertToType(const cuda::GpuMat& src, int type, cuda::GpuMat& buf0, cuda::GpuMat& buf1); src 461 modules/superres/src/optical_flow.cpp GpuMat src[] = {u_, v_}; src 462 modules/superres/src/optical_flow.cpp merge(src, 2, flow_); src 99 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void convert(const Mat& src, cv::OutputArray dst, int dtype, double alpha=1, double beta=0); src 100 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void copy(const Mat& src, Mat& dst, const Mat& mask=Mat(), bool invertMask=false); src 114 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void transpose(const Mat& src, Mat& dst); src 115 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void erode(const Mat& src, Mat& dst, const Mat& _kernel, Point anchor=Point(-1,-1), src 117 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void dilate(const Mat& src, Mat& dst, const Mat& _kernel, Point anchor=Point(-1,-1), src 119 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void filter2D(const Mat& src, Mat& dst, int ddepth, const Mat& kernel, src 122 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void copyMakeBorder(const Mat& src, Mat& dst, int top, int bottom, int left, int right, src 129 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void minMaxLoc(const Mat& src, double* minval, double* maxval, src 131 modules/ts/include/opencv2/ts.hpp CV_EXPORTS double norm(InputArray src, int normType, InputArray mask=noArray()); src 133 modules/ts/include/opencv2/ts.hpp CV_EXPORTS Scalar mean(const Mat& src, const Mat& mask=Mat()); src 154 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void logicOp(const Mat& src, const Scalar& s, Mat& dst, char c); src 156 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void min(const Mat& src, double s, Mat& dst); src 158 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void max(const Mat& src, double s, Mat& dst); src 161 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void compare(const Mat& src, double s, Mat& dst, int cmpop); src 164 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void transform( const Mat& src, Mat& dst, const Mat& transmat, const Mat& shift ); src 106 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS void minMaxLocGold(const cv::Mat& src, double* minVal_, double* maxVal_ = 0, cv::Point* minLoc_ = 0, cv::Point* maxLoc_ = 0, const cv::Mat& mask = cv::Mat()); src 62 modules/ts/include/opencv2/ts/ocl_test.hpp inline std::vector<UMat> ToUMat(const std::vector<Mat>& src) src 65 modules/ts/include/opencv2/ts/ocl_test.hpp dst.resize(src.size()); src 66 modules/ts/include/opencv2/ts/ocl_test.hpp for (size_t i = 0; i < src.size(); ++i) src 68 modules/ts/include/opencv2/ts/ocl_test.hpp src[i].copyTo(dst[i]); src 73 modules/ts/include/opencv2/ts/ocl_test.hpp inline UMat ToUMat(const Mat& src) src 76 modules/ts/include/opencv2/ts/ocl_test.hpp src.copyTo(dst); src 80 modules/ts/include/opencv2/ts/ocl_test.hpp inline UMat ToUMat(InputArray src) src 83 modules/ts/include/opencv2/ts/ocl_test.hpp src.getMat().copyTo(dst); src 2869 modules/ts/include/opencv2/ts/ts_gtest.h inline char* StrDup(const char* src) { return strdup(src); } src 2879 modules/ts/include/opencv2/ts/ts_gtest.h inline char* StrDup(const char* src) { return _strdup(src); } src 2905 modules/ts/include/opencv2/ts/ts_gtest.h inline char* StrDup(const char* src) { return strdup(src); } src 2919 modules/ts/include/opencv2/ts/ts_gtest.h inline const char* StrNCpy(char* dest, const char* src, size_t n) { src 2920 modules/ts/include/opencv2/ts/ts_gtest.h return strncpy(dest, src, n); src 127 modules/ts/src/cuda_test.cpp Mat src = readImage(fname, CV_MAT_CN(type) == 1 ? IMREAD_GRAYSCALE : IMREAD_COLOR); src 131 modules/ts/src/cuda_test.cpp cvtColor(src, temp, COLOR_BGR2BGRA); src 132 modules/ts/src/cuda_test.cpp swap(src, temp); src 134 modules/ts/src/cuda_test.cpp src.convertTo(src, CV_MAT_DEPTH(type), CV_MAT_DEPTH(type) == CV_32F ? 1.0 / 255.0 : 1.0); src 135 modules/ts/src/cuda_test.cpp return src; src 258 modules/ts/src/cuda_test.cpp void minMaxLocGold(const Mat& src, double* minVal_, double* maxVal_, Point* minLoc_, Point* maxLoc_, const Mat& mask) src 260 modules/ts/src/cuda_test.cpp if (src.depth() != CV_8S) src 262 modules/ts/src/cuda_test.cpp minMaxLoc(src, minVal_, maxVal_, minLoc_, maxLoc_, mask); src 273 modules/ts/src/cuda_test.cpp for (int y = 0; y < src.rows; ++y) src 275 modules/ts/src/cuda_test.cpp const schar* src_row = src.ptr<schar>(y); src 278 modules/ts/src/cuda_test.cpp for (int x = 0; x < src.cols; ++x) src 227 modules/ts/src/ocl_test.cpp Mat src = readImage(fname, CV_MAT_CN(type) == 1 ? cv::IMREAD_GRAYSCALE : cv::IMREAD_COLOR); src 231 modules/ts/src/ocl_test.cpp cv::cvtColor(src, temp, cv::COLOR_BGR2BGRA); src 232 modules/ts/src/ocl_test.cpp swap(src, temp); src 234 modules/ts/src/ocl_test.cpp src.convertTo(src, CV_MAT_DEPTH(type)); src 235 modules/ts/src/ocl_test.cpp return src; src 300 modules/ts/src/ocl_test.cpp Mat src = _src.getMat(), actual = _actual.getMat(), gold = _gold.getMat(); src 310 modules/ts/src/ocl_test.cpp std::cout << "Source: " << std::endl << src << std::endl; src 320 modules/ts/src/ocl_test.cpp imshow("src", src); src 234 modules/ts/src/ts_func.cpp convert_(const _Tp1* src, _Tp2* dst, size_t total, double alpha, double beta) src 239 modules/ts/src/ts_func.cpp dst[i] = saturate_cast<_Tp2>(src[i]); src 242 modules/ts/src/ts_func.cpp dst[i] = saturate_cast<_Tp2>(src[i]*alpha); src 245 modules/ts/src/ts_func.cpp dst[i] = saturate_cast<_Tp2>(src[i]*alpha + beta); src 249 modules/ts/src/ts_func.cpp convertTo(const _Tp* src, void* dst, int dtype, size_t total, double alpha, double beta) src 254 modules/ts/src/ts_func.cpp convert_(src, (uchar*)dst, total, alpha, beta); src 257 modules/ts/src/ts_func.cpp convert_(src, (schar*)dst, total, alpha, beta); src 260 modules/ts/src/ts_func.cpp convert_(src, (ushort*)dst, total, alpha, beta); src 263 modules/ts/src/ts_func.cpp convert_(src, (short*)dst, total, alpha, beta); src 266 modules/ts/src/ts_func.cpp convert_(src, (int*)dst, total, alpha, beta); src 269 modules/ts/src/ts_func.cpp convert_(src, (float*)dst, total, alpha, beta); src 272 modules/ts/src/ts_func.cpp convert_(src, (double*)dst, total, alpha, beta); src 279 modules/ts/src/ts_func.cpp void convert(const Mat& src, cv::OutputArray _dst, int dtype, double alpha, double beta) src 283 modules/ts/src/ts_func.cpp dtype = CV_MAKETYPE(CV_MAT_DEPTH(dtype), src.channels()); src 284 modules/ts/src/ts_func.cpp _dst.create(src.dims, &src.size[0], dtype); src 291 modules/ts/src/ts_func.cpp if( dtype == src.type() && alpha == 1 && beta == 0 ) src 293 modules/ts/src/ts_func.cpp copy( src, dst ); src 297 modules/ts/src/ts_func.cpp const Mat *arrays[]={&src, &dst, 0}; src 309 modules/ts/src/ts_func.cpp switch( src.depth() ) src 337 modules/ts/src/ts_func.cpp void copy(const Mat& src, Mat& dst, const Mat& mask, bool invertMask) src 339 modules/ts/src/ts_func.cpp dst.create(src.dims, &src.size[0], src.type()); src 343 modules/ts/src/ts_func.cpp const Mat* arrays[] = {&src, &dst, 0}; src 347 modules/ts/src/ts_func.cpp size_t planeSize = planes[0].total()*src.elemSize(); src 355 modules/ts/src/ts_func.cpp CV_Assert( src.size == mask.size && mask.type() == CV_8U ); src 357 modules/ts/src/ts_func.cpp const Mat *arrays[]={&src, &dst, &mask, 0}; src 361 modules/ts/src/ts_func.cpp size_t j, k, elemSize = src.elemSize(), total = planes[0].total(); src 440 modules/ts/src/ts_func.cpp void insert(const Mat& src, Mat& dst, int coi) src 442 modules/ts/src/ts_func.cpp CV_Assert( dst.size == src.size && src.depth() == dst.depth() && src 445 modules/ts/src/ts_func.cpp const Mat* arrays[] = {&src, &dst, 0}; src 449 modules/ts/src/ts_func.cpp size_t j, k, size0 = src.elemSize(), size1 = dst.elemSize(), total = planes[0].total(); src 465 modules/ts/src/ts_func.cpp void extract(const Mat& src, Mat& dst, int coi) src 467 modules/ts/src/ts_func.cpp dst.create( src.dims, &src.size[0], src.depth() ); src 468 modules/ts/src/ts_func.cpp CV_Assert( 0 <= coi && coi < src.channels() ); src 470 modules/ts/src/ts_func.cpp const Mat* arrays[] = {&src, &dst, 0}; src 474 modules/ts/src/ts_func.cpp size_t j, k, size0 = src.elemSize(), size1 = dst.elemSize(), total = planes[0].total(); src 490 modules/ts/src/ts_func.cpp void transpose(const Mat& src, Mat& dst) src 492 modules/ts/src/ts_func.cpp CV_Assert(src.dims == 2); src 493 modules/ts/src/ts_func.cpp dst.create(src.cols, src.rows, src.type()); src 494 modules/ts/src/ts_func.cpp int i, j, k, esz = (int)src.elemSize(); src 498 modules/ts/src/ts_func.cpp const uchar* sptr = src.ptr(0) + i*esz; src 501 modules/ts/src/ts_func.cpp for( j = 0; j < dst.cols; j++, sptr += src.step[0], dptr += esz ) src 594 modules/ts/src/ts_func.cpp erode_(const Mat& src, Mat& dst, const vector<int>& ofsvec) src 596 modules/ts/src/ts_func.cpp int width = dst.cols*src.channels(), n = (int)ofsvec.size(); src 601 modules/ts/src/ts_func.cpp const _Tp* sptr = src.ptr<_Tp>(y); src 616 modules/ts/src/ts_func.cpp dilate_(const Mat& src, Mat& dst, const vector<int>& ofsvec) src 618 modules/ts/src/ts_func.cpp int width = dst.cols*src.channels(), n = (int)ofsvec.size(); src 623 modules/ts/src/ts_func.cpp const _Tp* sptr = src.ptr<_Tp>(y); src 642 modules/ts/src/ts_func.cpp Mat kernel = _kernel, src; src 653 modules/ts/src/ts_func.cpp borderValue = getMaxVal(src.depth()); src 654 modules/ts/src/ts_func.cpp copyMakeBorder(_src, src, anchor.y, kernel.rows - anchor.y - 1, src 657 modules/ts/src/ts_func.cpp dst.create( _src.size(), src.type() ); src 660 modules/ts/src/ts_func.cpp int step = (int)(src.step/src.elemSize1()), cn = src.channels(); src 668 modules/ts/src/ts_func.cpp switch( src.depth() ) src 671 modules/ts/src/ts_func.cpp erode_<uchar>(src, dst, ofs); src 674 modules/ts/src/ts_func.cpp erode_<schar>(src, dst, ofs); src 677 modules/ts/src/ts_func.cpp erode_<ushort>(src, dst, ofs); src 680 modules/ts/src/ts_func.cpp erode_<short>(src, dst, ofs); src 683 modules/ts/src/ts_func.cpp erode_<int>(src, dst, ofs); src 686 modules/ts/src/ts_func.cpp erode_<float>(src, dst, ofs); src 689 modules/ts/src/ts_func.cpp erode_<double>(src, dst, ofs); src 699 modules/ts/src/ts_func.cpp Mat kernel = _kernel, src; src 710 modules/ts/src/ts_func.cpp borderValue = getMinVal(src.depth()); src 711 modules/ts/src/ts_func.cpp copyMakeBorder(_src, src, anchor.y, kernel.rows - anchor.y - 1, src 714 modules/ts/src/ts_func.cpp dst.create( _src.size(), src.type() ); src 717 modules/ts/src/ts_func.cpp int step = (int)(src.step/src.elemSize1()), cn = src.channels(); src 725 modules/ts/src/ts_func.cpp switch( src.depth() ) src 728 modules/ts/src/ts_func.cpp dilate_<uchar>(src, dst, ofs); src 731 modules/ts/src/ts_func.cpp dilate_<schar>(src, dst, ofs); src 734 modules/ts/src/ts_func.cpp dilate_<ushort>(src, dst, ofs); src 737 modules/ts/src/ts_func.cpp dilate_<short>(src, dst, ofs); src 740 modules/ts/src/ts_func.cpp dilate_<int>(src, dst, ofs); src 743 modules/ts/src/ts_func.cpp dilate_<float>(src, dst, ofs); src 746 modules/ts/src/ts_func.cpp dilate_<double>(src, dst, ofs); src 755 modules/ts/src/ts_func.cpp filter2D_(const Mat& src, Mat& dst, const vector<int>& ofsvec, const vector<double>& coeffvec) src 763 modules/ts/src/ts_func.cpp const _Tp* sptr = src.ptr<_Tp>(y); src 780 modules/ts/src/ts_func.cpp Mat src, _dst; src 786 modules/ts/src/ts_func.cpp borderValue = getMinVal(src.depth()); src 787 modules/ts/src/ts_func.cpp copyMakeBorder(_src, src, anchor.y, kernel.rows - anchor.y - 1, src 790 modules/ts/src/ts_func.cpp _dst.create( _src.size(), CV_MAKETYPE(CV_64F, src.channels()) ); src 797 modules/ts/src/ts_func.cpp int step = (int)(src.step/src.elemSize1()), cn = src.channels(); src 802 modules/ts/src/ts_func.cpp switch( src.depth() ) src 805 modules/ts/src/ts_func.cpp filter2D_<uchar>(src, _dst, ofs, coeff); src 808 modules/ts/src/ts_func.cpp filter2D_<schar>(src, _dst, ofs, coeff); src 811 modules/ts/src/ts_func.cpp filter2D_<ushort>(src, _dst, ofs, coeff); src 814 modules/ts/src/ts_func.cpp filter2D_<short>(src, _dst, ofs, coeff); src 817 modules/ts/src/ts_func.cpp filter2D_<int>(src, _dst, ofs, coeff); src 820 modules/ts/src/ts_func.cpp filter2D_<float>(src, _dst, ofs, coeff); src 823 modules/ts/src/ts_func.cpp filter2D_<double>(src, _dst, ofs, coeff); src 868 modules/ts/src/ts_func.cpp void copyMakeBorder(const Mat& src, Mat& dst, int top, int bottom, int left, int right, src 871 modules/ts/src/ts_func.cpp dst.create(src.rows + top + bottom, src.cols + left + right, src.type()); src 872 modules/ts/src/ts_func.cpp int i, j, k, esz = (int)src.elemSize(); src 873 modules/ts/src/ts_func.cpp int width = src.cols*esz, width1 = dst.cols*esz; src 877 modules/ts/src/ts_func.cpp vector<uchar> valvec((src.cols + left + right)*esz); src 879 modules/ts/src/ts_func.cpp scalarToRawData(borderValue, val, src.type(), (src.cols + left + right)*src.channels()); src 883 modules/ts/src/ts_func.cpp for( i = 0; i < src.rows; i++ ) src 885 modules/ts/src/ts_func.cpp const uchar* sptr = src.ptr(i); src 905 modules/ts/src/ts_func.cpp uchar* dptr = dst.ptr(i + top + src.rows); src 917 modules/ts/src/ts_func.cpp j = borderInterpolate(i - left, src.cols, borderType)*esz; src 923 modules/ts/src/ts_func.cpp j = borderInterpolate(src.cols + i, src.cols, borderType)*esz; src 930 modules/ts/src/ts_func.cpp for( i = 0; i < src.rows; i++ ) src 932 modules/ts/src/ts_func.cpp const uchar* sptr = src.ptr(i); src 948 modules/ts/src/ts_func.cpp j = borderInterpolate(i - top, src.rows, borderType); src 958 modules/ts/src/ts_func.cpp j = borderInterpolate(i + src.rows, src.rows, borderType); src 960 modules/ts/src/ts_func.cpp uchar* dptr = dst.ptr(i + top + src.rows); src 970 modules/ts/src/ts_func.cpp minMaxLoc_(const _Tp* src, size_t total, size_t startidx, src 982 modules/ts/src/ts_func.cpp _Tp val = src[i]; src 999 modules/ts/src/ts_func.cpp _Tp val = src[i]; src 1040 modules/ts/src/ts_func.cpp void minMaxLoc(const Mat& src, double* _minval, double* _maxval, src 1044 modules/ts/src/ts_func.cpp CV_Assert( src.channels() == 1 ); src 1045 modules/ts/src/ts_func.cpp const Mat *arrays[]={&src, &mask, 0}; src 1051 modules/ts/src/ts_func.cpp int depth = src.depth(); src 1104 modules/ts/src/ts_func.cpp setpos( src, *_maxloc, maxidx ); src 1106 modules/ts/src/ts_func.cpp setpos( src, *_minloc, minidx ); src 1111 modules/ts/src/ts_func.cpp normHamming(const uchar* src, size_t total, int cellSize) src 1119 modules/ts/src/ts_func.cpp unsigned a = src[i]; src 1128 modules/ts/src/ts_func.cpp norm_(const _Tp* src, size_t total, int cn, int normType, double startval, const uchar* mask) src 1139 modules/ts/src/ts_func.cpp result = std::max(result, (double)std::abs(0+src[i]));// trick with 0 used to quiet gcc warning src 1145 modules/ts/src/ts_func.cpp result = std::max(result, (double)std::abs(0+src[i*cn + c])); src 1152 modules/ts/src/ts_func.cpp result += std::abs(0+src[i]); src 1158 modules/ts/src/ts_func.cpp result += std::abs(0+src[i*cn + c]); src 1166 modules/ts/src/ts_func.cpp double v = src[i]; src 1175 modules/ts/src/ts_func.cpp double v = src[i*cn + c]; src 1243 modules/ts/src/ts_func.cpp Mat src = _src.getMat(), mask = _mask.getMat(); src 1249 modules/ts/src/ts_func.cpp bitwise_and(src, mask, temp); src 1253 modules/ts/src/ts_func.cpp CV_Assert( src.depth() == CV_8U ); src 1255 modules/ts/src/ts_func.cpp const Mat *arrays[]={&src, 0}; src 1271 modules/ts/src/ts_func.cpp CV_Assert( mask.empty() || (src.size == mask.size && mask.type() == CV_8U) ); src 1274 modules/ts/src/ts_func.cpp const Mat *arrays[]={&src, &mask, 0}; src 1280 modules/ts/src/ts_func.cpp int depth = src.depth(), cn = planes[0].channels(); src 1482 modules/ts/src/ts_func.cpp logicOpS_(const uchar* src, const uchar* scalar, uchar* dst, size_t total, char c) src 1487 modules/ts/src/ts_func.cpp for( i = 0; i < total; i += blockSize, dst += blockSize, src += blockSize ) src 1491 modules/ts/src/ts_func.cpp dst[j] = src[j] & scalar[j]; src 1494 modules/ts/src/ts_func.cpp for( i = 0; i < total; i += blockSize, dst += blockSize, src += blockSize ) src 1498 modules/ts/src/ts_func.cpp dst[j] = src[j] | scalar[j]; src 1502 modules/ts/src/ts_func.cpp for( i = 0; i < total; i += blockSize, dst += blockSize, src += blockSize ) src 1506 modules/ts/src/ts_func.cpp dst[j] = src[j] ^ scalar[j]; src 1511 modules/ts/src/ts_func.cpp dst[i] = ~src[i]; src 1538 modules/ts/src/ts_func.cpp void logicOp(const Mat& src, const Scalar& s, Mat& dst, char op) src 1541 modules/ts/src/ts_func.cpp dst.create( src.dims, &src.size[0], src.type() ); src 1542 modules/ts/src/ts_func.cpp const Mat *arrays[]={&src, &dst, 0}; src 1549 modules/ts/src/ts_func.cpp scalarToRawData(s, buf, src.type(), (int)(96/planes[0].elemSize1())); src 1680 modules/ts/src/ts_func.cpp void compare(const Mat& src, double value, Mat& dst, int cmpop) src 1682 modules/ts/src/ts_func.cpp CV_Assert( src.channels() == 1 ); src 1683 modules/ts/src/ts_func.cpp dst.create( src.dims, &src.size[0], CV_8U ); src 1684 modules/ts/src/ts_func.cpp const Mat *arrays[]={&src, &dst, 0}; src 1690 modules/ts/src/ts_func.cpp int depth = src.depth(); src 2288 modules/ts/src/ts_func.cpp void transform( const Mat& src, Mat& dst, const Mat& transmat, const Mat& _shift ) src 2292 modules/ts/src/ts_func.cpp int scn = src.channels(); src 2294 modules/ts/src/ts_func.cpp int depth = src.depth(); src 2327 modules/ts/src/ts_func.cpp const Mat *arrays[]={&src, &dst, 0}; src 2577 modules/ts/src/ts_func.cpp mean_(const _Tp* src, const uchar* mask, size_t total, int cn, Scalar& sum, int& nz) src 2586 modules/ts/src/ts_func.cpp sum[c] += src[i + c]; src 2596 modules/ts/src/ts_func.cpp sum[c] += src[i*cn + c]; src 2601 modules/ts/src/ts_func.cpp Scalar mean(const Mat& src, const Mat& mask) src 2603 modules/ts/src/ts_func.cpp CV_Assert(mask.empty() || (mask.type() == CV_8U && mask.size == src.size)); src 2607 modules/ts/src/ts_func.cpp const Mat *arrays[]={&src, &mask, 0}; src 2613 modules/ts/src/ts_func.cpp int depth = src.depth(), cn = src.channels(); src 8231 modules/ts/src/ts_gtest.cpp const char* src = pathname_.c_str(); src 8236 modules/ts/src/ts_gtest.cpp while (*src != '\0') { src 8237 modules/ts/src/ts_gtest.cpp *dest_ptr = *src; src 8238 modules/ts/src/ts_gtest.cpp if (!IsPathSeparator(*src)) { src 8239 modules/ts/src/ts_gtest.cpp src++; src 8246 modules/ts/src/ts_gtest.cpp while (IsPathSeparator(*src)) src 8247 modules/ts/src/ts_gtest.cpp src++; src 250 modules/video/include/opencv2/video/tracking.hpp CV_EXPORTS_W Mat estimateRigidTransform( InputArray src, InputArray dst, bool fullAffine ); src 533 modules/video/src/bgfg_gaussmix2.cpp src = &_src; src 555 modules/video/src/bgfg_gaussmix2.cpp int ncols = src->cols, nchannels = src->channels(); src 556 modules/video/src/bgfg_gaussmix2.cpp AutoBuffer<float> buf(src->cols*nchannels); src 563 modules/video/src/bgfg_gaussmix2.cpp if( src->depth() != CV_32F ) src 564 modules/video/src/bgfg_gaussmix2.cpp src->row(y).convertTo(Mat(1, ncols, CV_32FC(nchannels), (void*)data), CV_32F); src 566 modules/video/src/bgfg_gaussmix2.cpp data = src->ptr<float>(y); src 736 modules/video/src/bgfg_gaussmix2.cpp const Mat* src; src 325 modules/video/src/ecc.cpp Mat src = templateImage.getMat();//template iamge src 329 modules/video/src/ecc.cpp CV_Assert(!src.empty()); src 333 modules/video/src/ecc.cpp if( ! (src.type()==dst.type())) src 337 modules/video/src/ecc.cpp if( src.type() != CV_8UC1 && src.type()!= CV_32FC1) src 373 modules/video/src/ecc.cpp const int ws = src.cols; src 374 modules/video/src/ecc.cpp const int hs = src.rows; src 412 modules/video/src/ecc.cpp src.convertTo(templateFloat, templateFloat.type()); src 52 modules/video/src/lkpyramid.cpp static void calcSharrDeriv(const cv::Mat& src, cv::Mat& dst) src 56 modules/video/src/lkpyramid.cpp int rows = src.rows, cols = src.cols, cn = src.channels(), colsn = cols*cn, depth = src.depth(); src 61 modules/video/src/lkpyramid.cpp if (tegra::useTegra() && tegra::calcSharrDeriv(src, dst)) src 83 modules/video/src/lkpyramid.cpp const uchar* srow0 = src.ptr<uchar>(y > 0 ? y-1 : rows > 1 ? 1 : 0); src 84 modules/video/src/lkpyramid.cpp const uchar* srow1 = src.ptr<uchar>(y); src 85 modules/video/src/lkpyramid.cpp const uchar* srow2 = src.ptr<uchar>(y < rows-1 ? y+1 : rows > 1 ? rows-2 : 0); src 314 modules/video/src/lkpyramid.cpp const uchar* src = I.ptr() + (y + iprevPt.y)*stepI + iprevPt.x*cn; src 327 modules/video/src/lkpyramid.cpp v00 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*(const int*)(src + x)), z); src 328 modules/video/src/lkpyramid.cpp v01 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*(const int*)(src + x + cn)), z); src 329 modules/video/src/lkpyramid.cpp v10 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*(const int*)(src + x + stepI)), z); src 330 modules/video/src/lkpyramid.cpp v11 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*(const int*)(src + x + stepI + cn)), z); src 367 modules/video/src/lkpyramid.cpp uint8x8_t d0 = vld1_u8(&src[x]); src 368 modules/video/src/lkpyramid.cpp uint8x8_t d2 = vld1_u8(&src[x+cn]); src 375 modules/video/src/lkpyramid.cpp uint8x8_t d4 = vld1_u8(&src[x + stepI]); src 376 modules/video/src/lkpyramid.cpp uint8x8_t d6 = vld1_u8(&src[x + stepI + cn]); src 449 modules/video/src/lkpyramid.cpp int ival = CV_DESCALE(src[x]*iw00 + src[x+cn]*iw01 + src 450 modules/video/src/lkpyramid.cpp src[x+stepI]*iw10 + src[x+stepI+cn]*iw11, W_BITS1-5); src 116 modules/video/src/optflowgf.cpp FarnebackPolyExp( const Mat& src, Mat& dst, int n, double sigma ) src 120 modules/video/src/optflowgf.cpp CV_Assert( src.type() == CV_32FC1 ); src 121 modules/video/src/optflowgf.cpp int width = src.cols; src 122 modules/video/src/optflowgf.cpp int height = src.rows; src 137 modules/video/src/optflowgf.cpp const float *srow0 = src.ptr<float>(y), *srow1 = 0; src 150 modules/video/src/optflowgf.cpp srow0 = src.ptr<float>(std::max(y-k,0)); src 151 modules/video/src/optflowgf.cpp srow1 = src.ptr<float>(std::min(y+k,height-1)); src 841 modules/video/src/optflowgf.cpp bool gaussianBlurOcl(const UMat &src, int ksizeHalf, UMat &dst) src 848 modules/video/src/optflowgf.cpp size_t globalsize[2] = { src.cols, src.rows}; src 854 modules/video/src/optflowgf.cpp CV_Assert(dst.size() == src.size()); src 856 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(src)); src 857 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, (int)(src.step / src.elemSize())); src 867 modules/video/src/optflowgf.cpp bool gaussianBlur5Ocl(const UMat &src, int ksizeHalf, UMat &dst) src 869 modules/video/src/optflowgf.cpp int height = src.rows / 5; src 875 modules/video/src/optflowgf.cpp size_t globalsize[2] = { src.cols, height}; src 882 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(src)); src 883 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, (int)(src.step / src.elemSize())); src 887 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, src.cols); src 893 modules/video/src/optflowgf.cpp bool polynomialExpansionOcl(const UMat &src, UMat &dst) src 900 modules/video/src/optflowgf.cpp size_t globalsize[2] = { DIVUP(src.cols, localsize[0] - 2*polyN) * localsize[0], src.rows}; src 916 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(src)); src 917 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, (int)(src.step / src.elemSize())); src 920 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, src.rows); src 921 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, src.cols); src 929 modules/video/src/optflowgf.cpp bool boxFilter5Ocl(const UMat &src, int ksizeHalf, UMat &dst) src 931 modules/video/src/optflowgf.cpp int height = src.rows / 5; src 937 modules/video/src/optflowgf.cpp size_t globalsize[2] = { src.cols, height}; src 946 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(src)); src 947 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, (int)(src.step / src.elemSize())); src 951 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, src.cols); src 202 modules/video/src/tvl1flow.cpp bool centeredGradient(const UMat &src, UMat &dx, UMat &dy); src 217 modules/video/src/tvl1flow.cpp bool cv_ocl_tvl1flow::centeredGradient(const UMat &src, UMat &dx, UMat &dy) src 219 modules/video/src/tvl1flow.cpp size_t globalsize[2] = { src.cols, src.rows }; src 226 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(src));//src mat src 227 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, (int)(src.cols));//src mat col src 228 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, (int)(src.rows));//src mat rows src 229 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, (int)(src.step / src.elemSize()));//src mat step src 656 modules/video/src/tvl1flow.cpp Mat_<float> src; src 663 modules/video/src/tvl1flow.cpp const int last_col = src.cols - 1; src 667 modules/video/src/tvl1flow.cpp const float* srcPrevRow = src[y - 1]; src 668 modules/video/src/tvl1flow.cpp const float* srcCurRow = src[y]; src 669 modules/video/src/tvl1flow.cpp const float* srcNextRow = src[y + 1]; src 682 modules/video/src/tvl1flow.cpp void centeredGradient(const Mat_<float>& src, Mat_<float>& dx, Mat_<float>& dy) src 684 modules/video/src/tvl1flow.cpp CV_DbgAssert( src.rows > 2 && src.cols > 2 ); src 685 modules/video/src/tvl1flow.cpp CV_DbgAssert( dx.size() == src.size() ); src 686 modules/video/src/tvl1flow.cpp CV_DbgAssert( dy.size() == src.size() ); src 688 modules/video/src/tvl1flow.cpp const int last_row = src.rows - 1; src 689 modules/video/src/tvl1flow.cpp const int last_col = src.cols - 1; src 695 modules/video/src/tvl1flow.cpp body.src = src; src 705 modules/video/src/tvl1flow.cpp dx(0, x) = 0.5f * (src(0, x + 1) - src(0, x - 1)); src 706 modules/video/src/tvl1flow.cpp dy(0, x) = 0.5f * (src(1, x) - src(0, x)); src 708 modules/video/src/tvl1flow.cpp dx(last_row, x) = 0.5f * (src(last_row, x + 1) - src(last_row, x - 1)); src 709 modules/video/src/tvl1flow.cpp dy(last_row, x) = 0.5f * (src(last_row, x) - src(last_row - 1, x)); src 715 modules/video/src/tvl1flow.cpp dx(y, 0) = 0.5f * (src(y, 1) - src(y, 0)); src 716 modules/video/src/tvl1flow.cpp dy(y, 0) = 0.5f * (src(y + 1, 0) - src(y - 1, 0)); src 718 modules/video/src/tvl1flow.cpp dx(y, last_col) = 0.5f * (src(y, last_col) - src(y, last_col - 1)); src 719 modules/video/src/tvl1flow.cpp dy(y, last_col) = 0.5f * (src(y + 1, last_col) - src(y - 1, last_col)); src 723 modules/video/src/tvl1flow.cpp dx(0, 0) = 0.5f * (src(0, 1) - src(0, 0)); src 724 modules/video/src/tvl1flow.cpp dy(0, 0) = 0.5f * (src(1, 0) - src(0, 0)); src 726 modules/video/src/tvl1flow.cpp dx(0, last_col) = 0.5f * (src(0, last_col) - src(0, last_col - 1)); src 727 modules/video/src/tvl1flow.cpp dy(0, last_col) = 0.5f * (src(1, last_col) - src(0, last_col)); src 729 modules/video/src/tvl1flow.cpp dx(last_row, 0) = 0.5f * (src(last_row, 1) - src(last_row, 0)); src 730 modules/video/src/tvl1flow.cpp dy(last_row, 0) = 0.5f * (src(last_row, 0) - src(last_row - 1, 0)); src 732 modules/video/src/tvl1flow.cpp dx(last_row, last_col) = 0.5f * (src(last_row, last_col) - src(last_row, last_col - 1)); src 733 modules/video/src/tvl1flow.cpp dy(last_row, last_col) = 0.5f * (src(last_row, last_col) - src(last_row - 1, last_col)); src 743 modules/video/src/tvl1flow.cpp Mat_<float> src; src 750 modules/video/src/tvl1flow.cpp const int last_col = src.cols - 1; src 754 modules/video/src/tvl1flow.cpp const float* srcCurRow = src[y]; src 755 modules/video/src/tvl1flow.cpp const float* srcNextRow = src[y + 1]; src 768 modules/video/src/tvl1flow.cpp void forwardGradient(const Mat_<float>& src, Mat_<float>& dx, Mat_<float>& dy) src 770 modules/video/src/tvl1flow.cpp CV_DbgAssert( src.rows > 2 && src.cols > 2 ); src 771 modules/video/src/tvl1flow.cpp CV_DbgAssert( dx.size() == src.size() ); src 772 modules/video/src/tvl1flow.cpp CV_DbgAssert( dy.size() == src.size() ); src 774 modules/video/src/tvl1flow.cpp const int last_row = src.rows - 1; src 775 modules/video/src/tvl1flow.cpp const int last_col = src.cols - 1; src 781 modules/video/src/tvl1flow.cpp body.src = src; src 791 modules/video/src/tvl1flow.cpp dx(last_row, x) = src(last_row, x + 1) - src(last_row, x); src 799 modules/video/src/tvl1flow.cpp dy(y, last_col) = src(y + 1, last_col) - src(y, last_col); src 118 modules/video/test/test_accum.cpp const Mat& src = test_mat[INPUT][0]; src 122 modules/video/test/test_accum.cpp cvtest::add( src, 1, dst, 1, cvScalarAll(0.), temp, dst.type() ); src 151 modules/video/test/test_accum.cpp const Mat& src = test_mat[INPUT][0]; src 156 modules/video/test/test_accum.cpp cvtest::convert( src, temp, dst.type() ); src 229 modules/video/test/test_accum.cpp const Mat& src = test_mat[INPUT][0]; src 239 modules/video/test/test_accum.cpp cvtest::convert( src, temp, dst.type() ); src 240 modules/video/test/test_accum.cpp cvtest::add( src, cvGetReal1D(&A, 0), dst, cvGetReal1D(&B, 0), cvScalarAll(0.), temp, temp.depth() ); src 124 modules/videoio/src/cap_dc1394.cpp static void uyv2bgr(const unsigned char *src, unsigned char *dest, unsigned long long int NumPixels); src 125 modules/videoio/src/cap_dc1394.cpp static void uyvy2bgr(const unsigned char *src, unsigned char *dest, unsigned long long int NumPixels); src 126 modules/videoio/src/cap_dc1394.cpp static void uyyvyy2bgr(const unsigned char *src, unsigned char *dest, unsigned long long int NumPixels); src 127 modules/videoio/src/cap_dc1394.cpp static void y2bgr(const unsigned char *src, unsigned char *dest, unsigned long long int NumPixels); src 128 modules/videoio/src/cap_dc1394.cpp static void y162bgr(const unsigned char *src, unsigned char *dest, unsigned long long int NumPixels, int bits); src 384 modules/videoio/src/cap_dc1394.cpp unsigned char * src = (unsigned char *)capture->camera->capture_buffer; src 391 modules/videoio/src/cap_dc1394.cpp dst[i] = src[i+2]; src 392 modules/videoio/src/cap_dc1394.cpp dst[i+1] = src[i+1]; src 393 modules/videoio/src/cap_dc1394.cpp dst[i+2] = src[i]; src 394 modules/videoio/src/cap_dc1394.cpp dst[i+3] = src[i+5]; src 395 modules/videoio/src/cap_dc1394.cpp dst[i+4] = src[i+4]; src 396 modules/videoio/src/cap_dc1394.cpp dst[i+5] = src[i+3]; src 401 modules/videoio/src/cap_dc1394.cpp uyvy2bgr(src, src 407 modules/videoio/src/cap_dc1394.cpp y2bgr(src, src 413 modules/videoio/src/cap_dc1394.cpp uyyvyy2bgr(src, src 419 modules/videoio/src/cap_dc1394.cpp uyv2bgr(src, src 425 modules/videoio/src/cap_dc1394.cpp y162bgr(src, src 431 modules/videoio/src/cap_dc1394.cpp rgb482bgr(src, src 907 modules/videoio/src/cap_dc1394.cpp uyv2bgr(const unsigned char *src, unsigned char *dest, src 916 modules/videoio/src/cap_dc1394.cpp v = src[i--] - 128; src 917 modules/videoio/src/cap_dc1394.cpp y = src[i--]; src 918 modules/videoio/src/cap_dc1394.cpp u = src[i--] - 128; src 927 modules/videoio/src/cap_dc1394.cpp uyvy2bgr(const unsigned char *src, unsigned char *dest, src 936 modules/videoio/src/cap_dc1394.cpp y1 = src[i--]; src 937 modules/videoio/src/cap_dc1394.cpp v = src[i--] - 128; src 938 modules/videoio/src/cap_dc1394.cpp y0 = src[i--]; src 939 modules/videoio/src/cap_dc1394.cpp u = src[i--] - 128; src 953 modules/videoio/src/cap_dc1394.cpp uyyvyy2bgr(const unsigned char *src, unsigned char *dest, src 962 modules/videoio/src/cap_dc1394.cpp y3 = src[i--]; src 963 modules/videoio/src/cap_dc1394.cpp y2 = src[i--]; src 964 modules/videoio/src/cap_dc1394.cpp v = src[i--] - 128; src 965 modules/videoio/src/cap_dc1394.cpp y1 = src[i--]; src 966 modules/videoio/src/cap_dc1394.cpp y0 = src[i--]; src 967 modules/videoio/src/cap_dc1394.cpp u = src[i--] - 128; src 988 modules/videoio/src/cap_dc1394.cpp y2bgr(const unsigned char *src, unsigned char *dest, src 996 modules/videoio/src/cap_dc1394.cpp y = src[i--]; src 1004 modules/videoio/src/cap_dc1394.cpp y162bgr(const unsigned char *src, unsigned char *dest, src 1012 modules/videoio/src/cap_dc1394.cpp y = src[i--]; src 1013 modules/videoio/src/cap_dc1394.cpp y = (y + (src[i--] << 8)) >> (bits - 8); src 1022 modules/videoio/src/cap_dc1394.cpp rgb482bgr(const unsigned char *src, unsigned char *dest, src 1030 modules/videoio/src/cap_dc1394.cpp y = src[i--]; src 1031 modules/videoio/src/cap_dc1394.cpp dest[j-2] = (y + (src[i--] << 8)) >> (bits - 8); src 1033 modules/videoio/src/cap_dc1394.cpp y = src[i--]; src 1034 modules/videoio/src/cap_dc1394.cpp dest[j] = (y + (src[i--] << 8)) >> (bits - 8); src 1036 modules/videoio/src/cap_dc1394.cpp y = src[i--]; src 1037 modules/videoio/src/cap_dc1394.cpp dest[j+2] = (y + (src[i--] << 8)) >> (bits - 8); src 575 modules/videoio/src/cap_dshow.cpp void processPixels(unsigned char * src, unsigned char * dst, int width, int height, bool bRGB, bool bFlip); src 1510 modules/videoio/src/cap_dshow.cpp unsigned char * src = VDList[id]->sgCallback->pixels; src 1515 modules/videoio/src/cap_dshow.cpp processPixels(src, dst, width, height, flipRedAndBlue, flipImage); src 1533 modules/videoio/src/cap_dshow.cpp unsigned char * src = (unsigned char * )VDList[id]->pBuffer; src 1538 modules/videoio/src/cap_dshow.cpp processPixels(src, dst, width, height, flipRedAndBlue, flipImage); src 2116 modules/videoio/src/cap_dshow.cpp void videoInput::processPixels(unsigned char * src, unsigned char * dst, int width, int height, bool bRGB, bool bFlip){ src 2128 modules/videoio/src/cap_dshow.cpp memcpy(dst + (y * widthInBytes), src + ( (height -y -1) * widthInBytes), widthInBytes); src 2132 modules/videoio/src/cap_dshow.cpp memcpy(dst, src, numBytes); src 2139 modules/videoio/src/cap_dshow.cpp src += y; src 2144 modules/videoio/src/cap_dshow.cpp src -= widthInBytes*2; src 2147 modules/videoio/src/cap_dshow.cpp *dst = *(src+2); src 2150 modules/videoio/src/cap_dshow.cpp *dst = *(src+1); src 2153 modules/videoio/src/cap_dshow.cpp *dst = *src; src 2156 modules/videoio/src/cap_dshow.cpp src+=3; src 2162 modules/videoio/src/cap_dshow.cpp *dst = *(src+2); src 2165 modules/videoio/src/cap_dshow.cpp *dst = *(src+1); src 2168 modules/videoio/src/cap_dshow.cpp *dst = *src; src 2171 modules/videoio/src/cap_dshow.cpp src+=3; src 1433 modules/videoio/src/cap_gstreamer.cpp GstPad* src = gst_element_get_pad(combiner, "src"); src 1436 modules/videoio/src/cap_gstreamer.cpp GstPad* srcPeer = gst_pad_get_peer(src); src 1440 modules/videoio/src/cap_gstreamer.cpp gst_pad_unlink(src, srcPeer); src 1444 modules/videoio/src/cap_gstreamer.cpp src = gst_element_get_pad(splitter, "encodingsrc"); src 1447 modules/videoio/src/cap_gstreamer.cpp srcPeer = gst_pad_get_peer(src); src 1451 modules/videoio/src/cap_gstreamer.cpp gst_pad_unlink(src, srcPeer); src 270 modules/videoio/src/cap_mjpeg_encoder.cpp static bool createEncodeHuffmanTable( const int* src, unsigned* table, int max_size ) src 277 modules/videoio/src/cap_mjpeg_encoder.cpp for( i = 1, k = 1; src[k] >= 0; i++ ) src 279 modules/videoio/src/cap_mjpeg_encoder.cpp int code_count = src[k++]; src 283 modules/videoio/src/cap_mjpeg_encoder.cpp int val = src[k] >> huff_val_shift; src 304 modules/videoio/src/cap_mjpeg_encoder.cpp for( i = 1, k = 1; src[k] >= 0; i++ ) src 306 modules/videoio/src/cap_mjpeg_encoder.cpp int code_count = src[k++]; src 310 modules/videoio/src/cap_mjpeg_encoder.cpp int val = src[k] >> huff_val_shift; src 311 modules/videoio/src/cap_mjpeg_encoder.cpp int code = src[k] & huff_code_mask; src 319 modules/videoio/src/cap_mjpeg_encoder.cpp static int* createSourceHuffmanTable(const uchar* src, int* dst, src 327 modules/videoio/src/cap_mjpeg_encoder.cpp int code_count = src[i - 1]; src 332 modules/videoio/src/cap_mjpeg_encoder.cpp dst[k + 1] = (src[val_idx + k] << huff_val_shift) | (code + k); src 801 modules/videoio/src/cap_mjpeg_encoder.cpp static void aan_fdct8x8( const short *src, short *dst, src 805 modules/videoio/src/cap_mjpeg_encoder.cpp int16x8_t x0 = vld1q_s16(src); int16x8_t x1 = vld1q_s16(src + step*7); src 806 modules/videoio/src/cap_mjpeg_encoder.cpp int16x8_t x2 = vld1q_s16(src + step*3); int16x8_t x3 = vld1q_s16(src + step*4); src 815 modules/videoio/src/cap_mjpeg_encoder.cpp x0 = vld1q_s16(src + step); x3 = vld1q_s16(src + step*6); src 820 modules/videoio/src/cap_mjpeg_encoder.cpp x0 = vld1q_s16(src + step*2); x3 = vld1q_s16(src + step*5); src 1004 modules/videoio/src/cap_mjpeg_encoder.cpp static void aan_fdct8x8( const short *src, short *dst, src 1011 modules/videoio/src/cap_mjpeg_encoder.cpp for( i = 8; i > 0; i--, src += step, work += 8 ) src 1013 modules/videoio/src/cap_mjpeg_encoder.cpp int x0 = src[0], x1 = src[7]; src 1014 modules/videoio/src/cap_mjpeg_encoder.cpp int x2 = src[3], x3 = src[4]; src 1022 modules/videoio/src/cap_mjpeg_encoder.cpp x0 = src[1]; x3 = src[6]; src 1026 modules/videoio/src/cap_mjpeg_encoder.cpp x0 = src[2]; x3 = src[5]; src 723 modules/videoio/src/cap_msmf.cpp static void processPixels(unsigned char * src, unsigned char * dst, unsigned int width, unsigned int height, unsigned int bpp, bool bRGB, bool bFlip); src 3517 modules/videoio/src/cap_msmf.cpp void videoInput::processPixels(unsigned char * src, unsigned char * dst, unsigned int width, src 3530 modules/videoio/src/cap_msmf.cpp srcInt = (int *)(src + ( (height -y -1) * widthInBytes)); src 3536 modules/videoio/src/cap_msmf.cpp memcpy(dst, src, numBytes); src 3545 modules/videoio/src/cap_msmf.cpp src += y; src 3551 modules/videoio/src/cap_msmf.cpp src -= widthInBytes*2; src 3553 modules/videoio/src/cap_msmf.cpp *dst = *(src+2); src 3555 modules/videoio/src/cap_msmf.cpp *dst = *(src+1); src 3557 modules/videoio/src/cap_msmf.cpp *dst = *src; src 3559 modules/videoio/src/cap_msmf.cpp src+=3; src 3567 modules/videoio/src/cap_msmf.cpp *dst = *(src+2); src 3569 modules/videoio/src/cap_msmf.cpp *dst = *(src+1); src 3571 modules/videoio/src/cap_msmf.cpp *dst = *src; src 3573 modules/videoio/src/cap_msmf.cpp src+=3; src 1645 modules/videoio/src/cap_v4l.cpp yuyv_to_rgb24 (int width, int height, unsigned char *src, unsigned char *dst) src 1653 modules/videoio/src/cap_v4l.cpp s = src; src 1691 modules/videoio/src/cap_v4l.cpp uyvy_to_rgb24 (int width, int height, unsigned char *src, unsigned char *dst) src 1699 modules/videoio/src/cap_v4l.cpp s = src; src 1742 modules/videoio/src/cap_v4l.cpp unsigned char *src, int length, src 1745 modules/videoio/src/cap_v4l.cpp cv::Mat temp=cv::imdecode(cv::Mat(std::vector<uchar>(src, src + length)), 1); src 1763 modules/videoio/src/cap_v4l.cpp static void bayer2rgb24(long int WIDTH, long int HEIGHT, unsigned char *src, unsigned char *dst) src 1769 modules/videoio/src/cap_v4l.cpp rawpt = src; src 1841 modules/videoio/src/cap_v4l.cpp static void sgbrg2rgb24(long int WIDTH, long int HEIGHT, unsigned char *src, unsigned char *dst) src 1847 modules/videoio/src/cap_v4l.cpp rawpt = src; src 1925 modules/videoio/src/cap_v4l.cpp rgb24_to_rgb24 (int width, int height, unsigned char *src, unsigned char *dst) src 1928 modules/videoio/src/cap_v4l.cpp for(int i = 0; i < size; ++i, src += 3, dst += 3) src 1930 modules/videoio/src/cap_v4l.cpp *(dst + 0) = *(src + 2); src 1931 modules/videoio/src/cap_v4l.cpp *(dst + 1) = *(src + 1); src 1932 modules/videoio/src/cap_v4l.cpp *(dst + 2) = *(src + 0); src 212 modules/videoio/src/cap_vfw.cpp IplImage src; src 213 modules/videoio/src/cap_vfw.cpp cvInitImageHeader( &src, cvSize( bmih->biWidth, bmih->biHeight ), src 226 modules/videoio/src/cap_vfw.cpp cvSetData( &src, dataPtr, src.widthStep ); src 228 modules/videoio/src/cap_vfw.cpp if( !frame || frame->width != src.width || frame->height != src.height ) src 231 modules/videoio/src/cap_vfw.cpp frame = cvCreateImage( cvGetSize(&src), 8, nChannels ); src 234 modules/videoio/src/cap_vfw.cpp cvFlip( &src, frame, 0 ); src 533 modules/videoio/src/cap_vfw.cpp IplImage src; src 534 modules/videoio/src/cap_vfw.cpp cvInitImageHeader( &src, cvSize(vfmt0.biWidth, vfmt0.biHeight), src 536 modules/videoio/src/cap_vfw.cpp cvSetData( &src, hdr->lpData, src.widthStep ); src 537 modules/videoio/src/cap_vfw.cpp cvFlip( &src, frame, 0 ); src 311 samples/cpp/cloning_gui.cpp string src,dest; src 313 samples/cpp/cloning_gui.cpp cin >> src; src 318 samples/cpp/cloning_gui.cpp img0 = imread(src); src 354 samples/cpp/cloning_gui.cpp string src; src 356 samples/cpp/cloning_gui.cpp cin >> src; src 368 samples/cpp/cloning_gui.cpp img0 = imread(src); src 388 samples/cpp/cloning_gui.cpp string src; src 390 samples/cpp/cloning_gui.cpp cin >> src; src 398 samples/cpp/cloning_gui.cpp img0 = imread(src); src 418 samples/cpp/cloning_gui.cpp string src; src 420 samples/cpp/cloning_gui.cpp cin >> src; src 431 samples/cpp/cloning_gui.cpp img0 = imread(src); src 133 samples/cpp/create_mask.cpp Mat src = imread(argv[1]); src 137 samples/cpp/create_mask.cpp img0 = src; src 21 samples/cpp/houghlines.cpp Mat src = imread(filename, 0); src 22 samples/cpp/houghlines.cpp if(src.empty()) src 30 samples/cpp/houghlines.cpp Canny(src, dst, 50, 200, 3); src 58 samples/cpp/houghlines.cpp imshow("source", src); src 23 samples/cpp/morphology2.cpp Mat src, dst; src 39 samples/cpp/morphology2.cpp morphologyEx(src, dst, MORPH_OPEN, element); src 41 samples/cpp/morphology2.cpp morphologyEx(src, dst, MORPH_CLOSE, element); src 52 samples/cpp/morphology2.cpp erode(src, dst, element); src 54 samples/cpp/morphology2.cpp dilate(src, dst, element); src 62 samples/cpp/morphology2.cpp if( (src = imread(filename,1)).empty() ) src 79 samples/cpp/pca.cpp Mat src = _src.getMat(); src 81 samples/cpp/pca.cpp if(src.channels() != 1) { src 75 samples/cpp/tutorial_code/HighGUI/video-write/video-write.cpp Mat src, res; src 80 samples/cpp/tutorial_code/HighGUI/video-write/video-write.cpp inputVideo >> src; // read src 81 samples/cpp/tutorial_code/HighGUI/video-write/video-write.cpp if (src.empty()) break; // check if at end src 83 samples/cpp/tutorial_code/HighGUI/video-write/video-write.cpp split(src, spl); // process - extract only the correct channel src 21 samples/cpp/tutorial_code/Histograms_Matching/EqualizeHist_Demo.cpp Mat src, dst; src 27 samples/cpp/tutorial_code/Histograms_Matching/EqualizeHist_Demo.cpp src = imread( argv[1], 1 ); src 29 samples/cpp/tutorial_code/Histograms_Matching/EqualizeHist_Demo.cpp if( src.empty() ) src 35 samples/cpp/tutorial_code/Histograms_Matching/EqualizeHist_Demo.cpp cvtColor( src, src, COLOR_BGR2GRAY ); src 38 samples/cpp/tutorial_code/Histograms_Matching/EqualizeHist_Demo.cpp equalizeHist( src, dst ); src 44 samples/cpp/tutorial_code/Histograms_Matching/EqualizeHist_Demo.cpp imshow( source_window, src ); src 17 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp Mat src; Mat hsv; Mat hue; src 30 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp src = imread( argv[1], 1 ); src 32 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp cvtColor( src, hsv, COLOR_BGR2HSV ); src 46 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp imshow( window_image, src ); src 17 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp Mat src; Mat hsv; src 33 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp src = imread( argv[1], 1 ); src 35 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp cvtColor( src, hsv, COLOR_BGR2HSV ); src 39 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp imshow( window_image, src ); src 68 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp Mat mask2 = Mat::zeros( src.rows + 2, src.cols + 2, CV_8UC1 ); src 69 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp floodFill( src, mask2, seed, newVal, 0, Scalar( lo, lo, lo ), Scalar( up, up, up), flags ); src 21 samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp Mat src, dst; src 24 samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp src = imread( argv[1], 1 ); src 26 samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp if( src.empty() ) src 31 samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp split( src, bgr_planes ); src 16 samples/cpp/tutorial_code/ImgProc/Morphology_1.cpp Mat src, erosion_dst, dilation_dst; src 35 samples/cpp/tutorial_code/ImgProc/Morphology_1.cpp src = imread( argv[1] ); src 37 samples/cpp/tutorial_code/ImgProc/Morphology_1.cpp if( src.empty() ) src 43 samples/cpp/tutorial_code/ImgProc/Morphology_1.cpp moveWindow( "Dilation Demo", src.cols, 0 ); src 85 samples/cpp/tutorial_code/ImgProc/Morphology_1.cpp erode( src, erosion_dst, element ); src 103 samples/cpp/tutorial_code/ImgProc/Morphology_1.cpp dilate( src, dilation_dst, element ); src 16 samples/cpp/tutorial_code/ImgProc/Morphology_2.cpp Mat src, dst; src 37 samples/cpp/tutorial_code/ImgProc/Morphology_2.cpp src = imread( argv[1] ); src 39 samples/cpp/tutorial_code/ImgProc/Morphology_2.cpp if( src.empty() ) src 77 samples/cpp/tutorial_code/ImgProc/Morphology_2.cpp morphologyEx( src, dst, operation, element ); src 17 samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp Mat src = imread(argv[1]); src 20 samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp if(!src.data) src 24 samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp imshow("src", src); src 31 samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp if (src.channels() == 3) src 33 samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp cvtColor(src, gray, CV_BGR2GRAY); src 37 samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp gray = src; src 17 samples/cpp/tutorial_code/ImgProc/Pyramids.cpp Mat src, dst, tmp; src 35 samples/cpp/tutorial_code/ImgProc/Pyramids.cpp src = imread( "../data/chicky_512.png" ); src 36 samples/cpp/tutorial_code/ImgProc/Pyramids.cpp if( src.empty() ) src 40 samples/cpp/tutorial_code/ImgProc/Pyramids.cpp tmp = src; src 22 samples/cpp/tutorial_code/ImgProc/Smoothing.cpp Mat src; Mat dst; src 38 samples/cpp/tutorial_code/ImgProc/Smoothing.cpp src = imread( "../data/lena.jpg", 1 ); src 42 samples/cpp/tutorial_code/ImgProc/Smoothing.cpp dst = src.clone(); src 50 samples/cpp/tutorial_code/ImgProc/Smoothing.cpp { blur( src, dst, Size( i, i ), Point(-1,-1) ); src 58 samples/cpp/tutorial_code/ImgProc/Smoothing.cpp { GaussianBlur( src, dst, Size( i, i ), 0, 0 ); src 66 samples/cpp/tutorial_code/ImgProc/Smoothing.cpp { medianBlur ( src, dst, i ); src 74 samples/cpp/tutorial_code/ImgProc/Smoothing.cpp { bilateralFilter ( src, dst, i, i*2, i/2 ); src 90 samples/cpp/tutorial_code/ImgProc/Smoothing.cpp dst = Mat::zeros( src.size(), src.type() ); src 92 samples/cpp/tutorial_code/ImgProc/Smoothing.cpp Point( src.cols/4, src.rows/2), src 23 samples/cpp/tutorial_code/ImgProc/Threshold.cpp Mat src, src_gray, dst; src 38 samples/cpp/tutorial_code/ImgProc/Threshold.cpp src = imread( argv[1], 1 ); src 41 samples/cpp/tutorial_code/ImgProc/Threshold.cpp cvtColor( src, src_gray, COLOR_RGB2GRAY ); src 17 samples/cpp/tutorial_code/ImgTrans/CannyDetector_Demo.cpp Mat src, src_gray; src 42 samples/cpp/tutorial_code/ImgTrans/CannyDetector_Demo.cpp src.copyTo( dst, detected_edges); src 53 samples/cpp/tutorial_code/ImgTrans/CannyDetector_Demo.cpp src = imread( argv[1] ); src 55 samples/cpp/tutorial_code/ImgTrans/CannyDetector_Demo.cpp if( src.empty() ) src 59 samples/cpp/tutorial_code/ImgTrans/CannyDetector_Demo.cpp dst.create( src.size(), src.type() ); src 62 samples/cpp/tutorial_code/ImgTrans/CannyDetector_Demo.cpp cvtColor( src, src_gray, COLOR_BGR2GRAY ); src 31 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp Mat src, warp_dst, warp_rotate_dst; src 34 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp src = imread( argv[1], 1 ); src 37 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp warp_dst = Mat::zeros( src.rows, src.cols, src.type() ); src 41 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp srcTri[1] = Point2f( src.cols - 1.f, 0 ); src 42 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp srcTri[2] = Point2f( 0, src.rows - 1.f ); src 44 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp dstTri[0] = Point2f( src.cols*0.0f, src.rows*0.33f ); src 45 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp dstTri[1] = Point2f( src.cols*0.85f, src.rows*0.25f ); src 46 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp dstTri[2] = Point2f( src.cols*0.15f, src.rows*0.7f ); src 52 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp warpAffine( src, warp_dst, warp_mat, warp_dst.size() ); src 70 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp imshow( source_window, src ); src 56 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp Mat src, src_gray; src 66 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp src = imread( argv[1], 1 ); src 68 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp if( src.empty() ) src 76 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp cvtColor( src, src_gray, COLOR_BGR2GRAY ); src 102 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp HoughDetection(src_gray, src, cannyThreshold, accumulatorThreshold); src 19 samples/cpp/tutorial_code/ImgTrans/HoughLines_Demo.cpp Mat src, edges; src 42 samples/cpp/tutorial_code/ImgTrans/HoughLines_Demo.cpp src = imread( argv[1], 1 ); src 44 samples/cpp/tutorial_code/ImgTrans/HoughLines_Demo.cpp if( src.empty() ) src 50 samples/cpp/tutorial_code/ImgTrans/HoughLines_Demo.cpp cvtColor( src, src_gray, COLOR_RGB2GRAY ); src 21 samples/cpp/tutorial_code/ImgTrans/Laplace_Demo.cpp Mat src, src_gray, dst; src 29 samples/cpp/tutorial_code/ImgTrans/Laplace_Demo.cpp src = imread( argv[1] ); src 31 samples/cpp/tutorial_code/ImgTrans/Laplace_Demo.cpp if( src.empty() ) src 35 samples/cpp/tutorial_code/ImgTrans/Laplace_Demo.cpp GaussianBlur( src, src, Size(3,3), 0, 0, BORDER_DEFAULT ); src 38 samples/cpp/tutorial_code/ImgTrans/Laplace_Demo.cpp cvtColor( src, src_gray, COLOR_RGB2GRAY ); src 16 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp Mat src, dst; src 30 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp src = imread( argv[1], 1 ); src 33 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp dst.create( src.size(), src.type() ); src 34 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp map_x.create( src.size(), CV_32FC1 ); src 35 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp map_y.create( src.size(), CV_32FC1 ); src 51 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp remap( src, dst, map_x, map_y, INTER_LINEAR, BORDER_CONSTANT, Scalar(0, 0, 0) ); src 67 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp for( int j = 0; j < src.rows; j++ ) src 68 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp { for( int i = 0; i < src.cols; i++ ) src 73 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp if( i > src.cols*0.25 && i < src.cols*0.75 && j > src.rows*0.25 && j < src.rows*0.75 ) src 75 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp map_x.at<float>(j,i) = 2*( i - src.cols*0.25f ) + 0.5f ; src 76 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp map_y.at<float>(j,i) = 2*( j - src.rows*0.25f ) + 0.5f ; src 85 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp map_y.at<float>(j,i) = (float)(src.rows - j) ; src 88 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp map_x.at<float>(j,i) = (float)(src.cols - i) ; src 92 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp map_x.at<float>(j,i) = (float)(src.cols - i) ; src 93 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp map_y.at<float>(j,i) = (float)(src.rows - j) ; src 21 samples/cpp/tutorial_code/ImgTrans/Sobel_Demo.cpp Mat src, src_gray; src 29 samples/cpp/tutorial_code/ImgTrans/Sobel_Demo.cpp src = imread( argv[1] ); src 31 samples/cpp/tutorial_code/ImgTrans/Sobel_Demo.cpp if( src.empty() ) src 34 samples/cpp/tutorial_code/ImgTrans/Sobel_Demo.cpp GaussianBlur( src, src, Size(3,3), 0, 0, BORDER_DEFAULT ); src 37 samples/cpp/tutorial_code/ImgTrans/Sobel_Demo.cpp cvtColor( src, src_gray, COLOR_RGB2GRAY ); src 16 samples/cpp/tutorial_code/ImgTrans/copyMakeBorder_demo.cpp Mat src, dst; src 31 samples/cpp/tutorial_code/ImgTrans/copyMakeBorder_demo.cpp src = imread( argv[1] ); src 33 samples/cpp/tutorial_code/ImgTrans/copyMakeBorder_demo.cpp if( src.empty() ) src 50 samples/cpp/tutorial_code/ImgTrans/copyMakeBorder_demo.cpp top = (int) (0.05*src.rows); bottom = (int) (0.05*src.rows); src 51 samples/cpp/tutorial_code/ImgTrans/copyMakeBorder_demo.cpp left = (int) (0.05*src.cols); right = (int) (0.05*src.cols); src 52 samples/cpp/tutorial_code/ImgTrans/copyMakeBorder_demo.cpp dst = src; src 68 samples/cpp/tutorial_code/ImgTrans/copyMakeBorder_demo.cpp copyMakeBorder( src, dst, top, bottom, left, right, borderType, value ); src 21 samples/cpp/tutorial_code/ImgTrans/filter2D_demo.cpp Mat src, dst; src 33 samples/cpp/tutorial_code/ImgTrans/filter2D_demo.cpp src = imread( argv[1] ); src 35 samples/cpp/tutorial_code/ImgTrans/filter2D_demo.cpp if( src.empty() ) src 60 samples/cpp/tutorial_code/ImgTrans/filter2D_demo.cpp filter2D(src, dst, ddepth , kernel, anchor, delta, BORDER_DEFAULT ); src 17 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp Mat src = imread(argv[1]); src 20 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp if (!src.data) src 24 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp imshow("Source Image", src); src 30 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp for( int x = 0; x < src.rows; x++ ) { src 31 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp for( int y = 0; y < src.cols; y++ ) { src 32 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp if ( src.at<Vec3b>(x, y) == Vec3b(255,255,255) ) { src 33 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp src.at<Vec3b>(x, y)[0] = 0; src 34 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp src.at<Vec3b>(x, y)[1] = 0; src 35 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp src.at<Vec3b>(x, y)[2] = 0; src 41 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp imshow("Black Background Image", src); src 58 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp Mat sharp = src; // copy source image to another temporary one src 60 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp src.convertTo(sharp, CV_32F); src 71 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp src = imgResult; // copy back src 76 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp cvtColor(src, bw, CV_BGR2GRAY); src 127 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp watershed(src, markers); src 17 samples/cpp/tutorial_code/ShapeDescriptors/findContours_demo.cpp Mat src; Mat src_gray; src 31 samples/cpp/tutorial_code/ShapeDescriptors/findContours_demo.cpp src = imread(argv[1]); src 32 samples/cpp/tutorial_code/ShapeDescriptors/findContours_demo.cpp if (src.empty()) src 39 samples/cpp/tutorial_code/ShapeDescriptors/findContours_demo.cpp cvtColor( src, src_gray, COLOR_BGR2GRAY ); src 45 samples/cpp/tutorial_code/ShapeDescriptors/findContours_demo.cpp imshow( source_window, src ); src 17 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo1.cpp Mat src; Mat src_gray; src 31 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo1.cpp src = imread( argv[1], 1 ); src 34 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo1.cpp cvtColor( src, src_gray, COLOR_BGR2GRAY ); src 40 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo1.cpp imshow( source_window, src ); src 17 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo2.cpp Mat src; Mat src_gray; src 31 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo2.cpp src = imread( argv[1], 1 ); src 34 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo2.cpp cvtColor( src, src_gray, COLOR_BGR2GRAY ); src 40 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo2.cpp imshow( source_window, src ); src 17 samples/cpp/tutorial_code/ShapeDescriptors/hull_demo.cpp Mat src; Mat src_gray; src 31 samples/cpp/tutorial_code/ShapeDescriptors/hull_demo.cpp src = imread( argv[1], 1 ); src 34 samples/cpp/tutorial_code/ShapeDescriptors/hull_demo.cpp cvtColor( src, src_gray, COLOR_BGR2GRAY ); src 40 samples/cpp/tutorial_code/ShapeDescriptors/hull_demo.cpp imshow( source_window, src ); src 54 samples/cpp/tutorial_code/ShapeDescriptors/hull_demo.cpp Mat src_copy = src.clone(); src 17 samples/cpp/tutorial_code/ShapeDescriptors/moments_demo.cpp Mat src; Mat src_gray; src 31 samples/cpp/tutorial_code/ShapeDescriptors/moments_demo.cpp src = imread( argv[1], 1 ); src 34 samples/cpp/tutorial_code/ShapeDescriptors/moments_demo.cpp cvtColor( src, src_gray, COLOR_BGR2GRAY ); src 40 samples/cpp/tutorial_code/ShapeDescriptors/moments_demo.cpp imshow( source_window, src ); src 23 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp Mat src = Mat::zeros( Size( 4*r, 4*r ), CV_8UC1 ); src 37 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp { line( src, vert[j], vert[(j+1)%6], Scalar( 255 ), 3, 8 ); } src 41 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp Mat src_copy = src.clone(); src 46 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp Mat raw_dist( src.size(), CV_32FC1 ); src 48 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp for( int j = 0; j < src.rows; j++ ) src 49 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp { for( int i = 0; i < src.cols; i++ ) src 58 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp Mat drawing = Mat::zeros( src.size(), CV_8UC3 ); src 60 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp for( int j = 0; j < src.rows; j++ ) src 61 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp { for( int i = 0; i < src.cols; i++ ) src 75 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp imshow( source_window, src ); src 17 samples/cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp Mat src, src_gray; src 43 samples/cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp src = imread( argv[1], 1 ); src 44 samples/cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp cvtColor( src, src_gray, COLOR_BGR2GRAY ); src 92 samples/cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp myShiTomasi_copy = src.clone(); src 111 samples/cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp myHarris_copy = src.clone(); src 18 samples/cpp/tutorial_code/TrackingMotion/cornerHarris_Demo.cpp Mat src, src_gray; src 34 samples/cpp/tutorial_code/TrackingMotion/cornerHarris_Demo.cpp src = imread( argv[1], 1 ); src 35 samples/cpp/tutorial_code/TrackingMotion/cornerHarris_Demo.cpp cvtColor( src, src_gray, COLOR_BGR2GRAY ); src 40 samples/cpp/tutorial_code/TrackingMotion/cornerHarris_Demo.cpp imshow( source_window, src ); src 56 samples/cpp/tutorial_code/TrackingMotion/cornerHarris_Demo.cpp dst = Mat::zeros( src.size(), CV_32FC1 ); src 18 samples/cpp/tutorial_code/TrackingMotion/cornerSubPix_Demo.cpp Mat src, src_gray; src 35 samples/cpp/tutorial_code/TrackingMotion/cornerSubPix_Demo.cpp src = imread( argv[1], 1 ); src 36 samples/cpp/tutorial_code/TrackingMotion/cornerSubPix_Demo.cpp cvtColor( src, src_gray, COLOR_BGR2GRAY ); src 44 samples/cpp/tutorial_code/TrackingMotion/cornerSubPix_Demo.cpp imshow( source_window, src ); src 70 samples/cpp/tutorial_code/TrackingMotion/cornerSubPix_Demo.cpp copy = src.clone(); src 18 samples/cpp/tutorial_code/TrackingMotion/goodFeaturesToTrack_Demo.cpp Mat src, src_gray; src 35 samples/cpp/tutorial_code/TrackingMotion/goodFeaturesToTrack_Demo.cpp src = imread( argv[1], 1 ); src 36 samples/cpp/tutorial_code/TrackingMotion/goodFeaturesToTrack_Demo.cpp cvtColor( src, src_gray, COLOR_BGR2GRAY ); src 44 samples/cpp/tutorial_code/TrackingMotion/goodFeaturesToTrack_Demo.cpp imshow( source_window, src ); src 70 samples/cpp/tutorial_code/TrackingMotion/goodFeaturesToTrack_Demo.cpp copy = src.clone(); src 54 samples/cpp/tutorial_code/core/ippasync/ippasync_sample.cpp hppiMatrix* src,* dst; src 114 samples/cpp/tutorial_code/core/ippasync/ippasync_sample.cpp src = hpp::getHpp(gray,accel); src 117 samples/cpp/tutorial_code/core/ippasync/ippasync_sample.cpp sts = hppiSobel(accel,src, HPP_MASK_SIZE_3X3,HPP_NORM_L1,virtMatrix[0]); src 136 samples/cpp/tutorial_code/core/ippasync/ippasync_sample.cpp sts = hppiFreeMatrix(src); src 102 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp Mat src = imread(argv[1]); src 105 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp if(!src.data || src.empty()) src 111 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp imshow("src", src); src 115 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp cvtColor(src, gray, COLOR_BGR2GRAY); src 136 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp drawContours(src, contours, static_cast<int>(i), Scalar(0, 0, 255), 2, 8, hierarchy, 0); src 138 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp getOrientation(contours[i], src); src 142 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp imshow("output", src); src 310 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp string src,dest; src 312 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp cin >> src; src 317 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp img0 = imread(src); src 353 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp string src; src 355 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp cin >> src; src 367 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp img0 = imread(src); src 387 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp string src; src 389 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp cin >> src; src 397 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp img0 = imread(src); src 417 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp string src; src 419 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp cin >> src; src 430 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp img0 = imread(src); src 30 samples/gpu/cascadeclassifier.cpp static void convertAndResize(const Mat& src, Mat& gray, Mat& resized, double scale) src 32 samples/gpu/cascadeclassifier.cpp if (src.channels() == 3) src 34 samples/gpu/cascadeclassifier.cpp cv::cvtColor( src, gray, COLOR_BGR2GRAY ); src 38 samples/gpu/cascadeclassifier.cpp gray = src; src 53 samples/gpu/cascadeclassifier.cpp static void convertAndResize(const GpuMat& src, GpuMat& gray, GpuMat& resized, double scale) src 55 samples/gpu/cascadeclassifier.cpp if (src.channels() == 3) src 57 samples/gpu/cascadeclassifier.cpp cv::cuda::cvtColor( src, gray, COLOR_BGR2GRAY ); src 61 samples/gpu/cascadeclassifier.cpp gray = src; src 126 samples/gpu/driver_api_multi.cpp Mat src(1000, 1000, CV_32F); src 130 samples/gpu/driver_api_multi.cpp rng.fill(src, RNG::UNIFORM, 0, 1); src 133 samples/gpu/driver_api_multi.cpp cv::transpose(src, dst); src 136 samples/gpu/driver_api_multi.cpp GpuMat d_src(src); src 24 samples/gpu/hog.cpp string src; src 195 samples/gpu/hog.cpp else if (string(argv[i]) == "--video") { args.src = argv[++i]; args.src_is_video = true; } src 197 samples/gpu/hog.cpp else if (args.src.empty()) args.src = argv[i]; src 271 samples/gpu/hog.cpp vc.open(args.src.c_str()); src 273 samples/gpu/hog.cpp throw runtime_error(string("can't open video file: " + args.src)); src 289 samples/gpu/hog.cpp frame = imread(args.src); src 291 samples/gpu/hog.cpp throw runtime_error(string("can't open image file: " + args.src)); src 25 samples/gpu/houghlines.cpp Mat src = imread(filename, IMREAD_GRAYSCALE); src 26 samples/gpu/houghlines.cpp if (src.empty()) src 34 samples/gpu/houghlines.cpp cv::Canny(src, mask, 100, 200, 3); src 84 samples/gpu/houghlines.cpp imshow("source", src); src 27 samples/gpu/morphology.cpp cuda::GpuMat src, dst; src 56 samples/gpu/morphology.cpp src.upload(img); src 57 samples/gpu/morphology.cpp if (src.channels() == 3) src 61 samples/gpu/morphology.cpp cuda::cvtColor(src, src4ch, COLOR_BGR2BGRA); src 62 samples/gpu/morphology.cpp src = src4ch; src 135 samples/gpu/morphology.cpp Ptr<cuda::Filter> openFilter = cuda::createMorphologyFilter(MORPH_OPEN, src.type(), element); src 136 samples/gpu/morphology.cpp openFilter->apply(src, dst); src 140 samples/gpu/morphology.cpp Ptr<cuda::Filter> closeFilter = cuda::createMorphologyFilter(MORPH_CLOSE, src.type(), element); src 141 samples/gpu/morphology.cpp closeFilter->apply(src, dst); src 157 samples/gpu/morphology.cpp Ptr<cuda::Filter> erodeFilter = cuda::createMorphologyFilter(MORPH_ERODE, src.type(), element); src 158 samples/gpu/morphology.cpp erodeFilter->apply(src, dst); src 162 samples/gpu/morphology.cpp Ptr<cuda::Filter> dilateFilter = cuda::createMorphologyFilter(MORPH_DILATE, src.type(), element); src 163 samples/gpu/morphology.cpp dilateFilter->apply(src, dst); src 83 samples/gpu/multi.cpp Mat src(1000, 1000, CV_32F); src 87 samples/gpu/multi.cpp rng.fill(src, RNG::UNIFORM, 0, 1); src 90 samples/gpu/multi.cpp cv::transpose(src, dst); src 93 samples/gpu/multi.cpp GpuMat d_src(src); src 140 samples/gpu/opticalflow_nvidia_api.cpp Ptr<NCVMatrixAlloc<Ncv32f> > &src, src 155 samples/gpu/opticalflow_nvidia_api.cpp ncvAssertReturnNcvStat (CopyData<RgbToMonochrome> (image, src)); src 429 samples/gpu/opticalflow_nvidia_api.cpp Ptr<NCVMatrixAlloc<Ncv32f> > src (new NCVMatrixAlloc<Ncv32f> (*g_pGPUMemAllocator, src_host->width (), src_host->height ())); src 430 samples/gpu/opticalflow_nvidia_api.cpp ncvAssertReturn(src->isMemAllocated(), -1); src 435 samples/gpu/opticalflow_nvidia_api.cpp ncvAssertReturnNcvStat (src_host->copySolid ( *src, 0 )); src 457 samples/gpu/opticalflow_nvidia_api.cpp if (NCV_SUCCESS != NCVBroxOpticalFlow (desc, *g_pGPUMemAllocator, *src, *dst, u, v, 0)) src 464 samples/gpu/opticalflow_nvidia_api.cpp if (NCV_SUCCESS != NCVBroxOpticalFlow (desc, *g_pGPUMemAllocator, *dst, *src, uBck, vBck, 0)) src 34 samples/gpu/performance/tests.cpp Mat src, templ, dst; src 35 samples/gpu/performance/tests.cpp gen(src, 3000, 3000, CV_32F, 0, 1); src 37 samples/gpu/performance/tests.cpp cuda::GpuMat d_src(src), d_templ, d_dst; src 39 samples/gpu/performance/tests.cpp Ptr<cuda::TemplateMatching> alg = cuda::createTemplateMatching(src.type(), TM_CCORR); src 43 samples/gpu/performance/tests.cpp SUBTEST << src.cols << 'x' << src.rows << ", 32FC1" << ", templ " << templ_size << 'x' << templ_size << ", CCORR"; src 46 samples/gpu/performance/tests.cpp matchTemplate(src, templ, dst, TM_CCORR); src 49 samples/gpu/performance/tests.cpp matchTemplate(src, templ, dst, TM_CCORR); src 64 samples/gpu/performance/tests.cpp Mat src; src 74 samples/gpu/performance/tests.cpp gen(src, size, size, CV_32F, 0, 1); src 77 samples/gpu/performance/tests.cpp minMaxLoc(src, &min_val, &max_val, &min_loc, &max_loc); src 80 samples/gpu/performance/tests.cpp d_src.upload(src); src 91 samples/gpu/performance/tests.cpp Mat src, dst, xmap, ymap; src 101 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, 0, 256); src 116 samples/gpu/performance/tests.cpp remap(src, dst, xmap, ymap, interpolation, borderMode); src 119 samples/gpu/performance/tests.cpp remap(src, dst, xmap, ymap, interpolation, borderMode); src 122 samples/gpu/performance/tests.cpp d_src.upload(src); src 137 samples/gpu/performance/tests.cpp Mat src, dst; src 144 samples/gpu/performance/tests.cpp gen(src, size, size, CV_32FC2, Scalar::all(0), Scalar::all(1)); src 146 samples/gpu/performance/tests.cpp dft(src, dst); src 149 samples/gpu/performance/tests.cpp dft(src, dst); src 152 samples/gpu/performance/tests.cpp d_src.upload(src); src 165 samples/gpu/performance/tests.cpp Mat src, dst; src 172 samples/gpu/performance/tests.cpp gen(src, size, size, CV_32F, 0, 1); src 174 samples/gpu/performance/tests.cpp cornerHarris(src, dst, 5, 7, 0.1, BORDER_REFLECT101); src 177 samples/gpu/performance/tests.cpp cornerHarris(src, dst, 5, 7, 0.1, BORDER_REFLECT101); src 180 samples/gpu/performance/tests.cpp d_src.upload(src); src 182 samples/gpu/performance/tests.cpp Ptr<cuda::CornernessCriteria> harris = cuda::createHarrisCorner(src.type(), 5, 7, 0.1, BORDER_REFLECT101); src 195 samples/gpu/performance/tests.cpp Mat src, sum; src 202 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8U, 0, 256); src 204 samples/gpu/performance/tests.cpp integral(src, sum); src 207 samples/gpu/performance/tests.cpp integral(src, sum); src 210 samples/gpu/performance/tests.cpp d_src.upload(src); src 223 samples/gpu/performance/tests.cpp Mat src; src 230 samples/gpu/performance/tests.cpp gen(src, size, size, CV_32FC4, Scalar::all(0), Scalar::all(1)); src 232 samples/gpu/performance/tests.cpp norm(src, NORM_INF); src 235 samples/gpu/performance/tests.cpp norm(src, NORM_INF); src 238 samples/gpu/performance/tests.cpp d_src.upload(src); src 253 samples/gpu/performance/tests.cpp Mat src, dst; src 260 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC3, Scalar::all(0), Scalar::all(256)); src 262 samples/gpu/performance/tests.cpp pyrMeanShiftFiltering(src, dst, sp, sr); src 265 samples/gpu/performance/tests.cpp pyrMeanShiftFiltering(src, dst, sp, sr); src 268 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, Scalar::all(0), Scalar::all(256)); src 270 samples/gpu/performance/tests.cpp d_src.upload(src); src 284 samples/gpu/performance/tests.cpp Mat src = imread(abspath("../data/aloeL.jpg"), IMREAD_GRAYSCALE); src 285 samples/gpu/performance/tests.cpp if (src.empty()) throw runtime_error("can't open ../data/aloeL.jpg"); src 291 samples/gpu/performance/tests.cpp surf->detectAndCompute(src, Mat(), keypoints, descriptors); src 294 samples/gpu/performance/tests.cpp surf->detectAndCompute(src, Mat(), keypoints, descriptors); src 298 samples/gpu/performance/tests.cpp cuda::GpuMat d_src(src); src 314 samples/gpu/performance/tests.cpp Mat src = imread(abspath("../data/aloeL.jpg"), IMREAD_GRAYSCALE); src 315 samples/gpu/performance/tests.cpp if (src.empty()) throw runtime_error("can't open ../data/aloeL.jpg"); src 319 samples/gpu/performance/tests.cpp FAST(src, keypoints, 20); src 322 samples/gpu/performance/tests.cpp FAST(src, keypoints, 20); src 326 samples/gpu/performance/tests.cpp cuda::GpuMat d_src(src); src 339 samples/gpu/performance/tests.cpp Mat src = imread(abspath("../data/aloeL.jpg"), IMREAD_GRAYSCALE); src 340 samples/gpu/performance/tests.cpp if (src.empty()) throw runtime_error("can't open ../data/aloeL.jpg"); src 347 samples/gpu/performance/tests.cpp orb->detectAndCompute(src, Mat(), keypoints, descriptors); src 350 samples/gpu/performance/tests.cpp orb->detectAndCompute(src, Mat(), keypoints, descriptors); src 354 samples/gpu/performance/tests.cpp cuda::GpuMat d_src(src); src 499 samples/gpu/performance/tests.cpp Mat src, dst; src 506 samples/gpu/performance/tests.cpp gen(src, size, size, CV_32F, 1, 10); src 508 samples/gpu/performance/tests.cpp log(src, dst); src 511 samples/gpu/performance/tests.cpp log(src, dst); src 514 samples/gpu/performance/tests.cpp d_src.upload(src); src 557 samples/gpu/performance/tests.cpp Mat src, dst; src 564 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, 0, 256); src 566 samples/gpu/performance/tests.cpp resize(src, dst, Size(), 2.0, 2.0); src 569 samples/gpu/performance/tests.cpp resize(src, dst, Size(), 2.0, 2.0); src 572 samples/gpu/performance/tests.cpp d_src.upload(src); src 585 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, 0, 256); src 587 samples/gpu/performance/tests.cpp resize(src, dst, Size(), 0.5, 0.5); src 590 samples/gpu/performance/tests.cpp resize(src, dst, Size(), 0.5, 0.5); src 593 samples/gpu/performance/tests.cpp d_src.upload(src); src 606 samples/gpu/performance/tests.cpp Mat src, dst; src 609 samples/gpu/performance/tests.cpp gen(src, 4000, 4000, CV_8UC1, 0, 255); src 610 samples/gpu/performance/tests.cpp d_src.upload(src); src 614 samples/gpu/performance/tests.cpp cvtColor(src, dst, COLOR_GRAY2BGRA, 4); src 617 samples/gpu/performance/tests.cpp cvtColor(src, dst, COLOR_GRAY2BGRA, 4); src 626 samples/gpu/performance/tests.cpp cv::swap(src, dst); src 631 samples/gpu/performance/tests.cpp cvtColor(src, dst, COLOR_BGR2YCrCb); src 634 samples/gpu/performance/tests.cpp cvtColor(src, dst, COLOR_BGR2YCrCb); src 643 samples/gpu/performance/tests.cpp cv::swap(src, dst); src 648 samples/gpu/performance/tests.cpp cvtColor(src, dst, COLOR_YCrCb2BGR, 4); src 651 samples/gpu/performance/tests.cpp cvtColor(src, dst, COLOR_YCrCb2BGR, 4); src 660 samples/gpu/performance/tests.cpp cv::swap(src, dst); src 665 samples/gpu/performance/tests.cpp cvtColor(src, dst, COLOR_BGR2XYZ); src 668 samples/gpu/performance/tests.cpp cvtColor(src, dst, COLOR_BGR2XYZ); src 677 samples/gpu/performance/tests.cpp cv::swap(src, dst); src 682 samples/gpu/performance/tests.cpp cvtColor(src, dst, COLOR_XYZ2BGR, 4); src 685 samples/gpu/performance/tests.cpp cvtColor(src, dst, COLOR_XYZ2BGR, 4); src 694 samples/gpu/performance/tests.cpp cv::swap(src, dst); src 699 samples/gpu/performance/tests.cpp cvtColor(src, dst, COLOR_BGR2HSV); src 702 samples/gpu/performance/tests.cpp cvtColor(src, dst, COLOR_BGR2HSV); src 711 samples/gpu/performance/tests.cpp cv::swap(src, dst); src 716 samples/gpu/performance/tests.cpp cvtColor(src, dst, COLOR_HSV2BGR, 4); src 719 samples/gpu/performance/tests.cpp cvtColor(src, dst, COLOR_HSV2BGR, 4); src 728 samples/gpu/performance/tests.cpp cv::swap(src, dst); src 735 samples/gpu/performance/tests.cpp Mat src, dst, ker; src 742 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, Scalar::all(0), Scalar::all(256)); src 745 samples/gpu/performance/tests.cpp erode(src, dst, ker); src 748 samples/gpu/performance/tests.cpp erode(src, dst, ker); src 751 samples/gpu/performance/tests.cpp d_src.upload(src); src 765 samples/gpu/performance/tests.cpp Mat src, dst; src 772 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8U, 0, 100); src 774 samples/gpu/performance/tests.cpp threshold(src, dst, 50.0, 0.0, THRESH_BINARY); src 777 samples/gpu/performance/tests.cpp threshold(src, dst, 50.0, 0.0, THRESH_BINARY); src 780 samples/gpu/performance/tests.cpp d_src.upload(src); src 793 samples/gpu/performance/tests.cpp gen(src, size, size, CV_32FC1, 0, 100); src 795 samples/gpu/performance/tests.cpp threshold(src, dst, 50.0, 0.0, THRESH_TRUNC); src 798 samples/gpu/performance/tests.cpp threshold(src, dst, 50.0, 0.0, THRESH_TRUNC); src 801 samples/gpu/performance/tests.cpp d_src.upload(src); src 813 samples/gpu/performance/tests.cpp Mat src, dst; src 820 samples/gpu/performance/tests.cpp gen(src, size, size, CV_32F, 0, 100); src 822 samples/gpu/performance/tests.cpp pow(src, -2.0, dst); src 825 samples/gpu/performance/tests.cpp pow(src, -2.0, dst); src 828 samples/gpu/performance/tests.cpp d_src.upload(src); src 841 samples/gpu/performance/tests.cpp Mat src; src 857 samples/gpu/performance/tests.cpp gen(src, 1, size, CV_32FC3, Scalar::all(0), Scalar::all(10)); src 859 samples/gpu/performance/tests.cpp projectPoints(src, rvec, tvec, camera_mat, Mat::zeros(1, 8, CV_32F), dst); src 862 samples/gpu/performance/tests.cpp projectPoints(src, rvec, tvec, camera_mat, Mat::zeros(1, 8, CV_32F), dst); src 865 samples/gpu/performance/tests.cpp d_src.upload(src); src 924 samples/gpu/performance/tests.cpp Mat src, dst; src 926 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, 0, 256); src 928 samples/gpu/performance/tests.cpp GaussianBlur(src, dst, Size(3, 3), 1); src 931 samples/gpu/performance/tests.cpp GaussianBlur(src, dst, Size(3, 3), 1); src 934 samples/gpu/performance/tests.cpp cuda::GpuMat d_src(src); src 935 samples/gpu/performance/tests.cpp cuda::GpuMat d_dst(src.size(), src.type()); src 952 samples/gpu/performance/tests.cpp Mat src; src 953 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, 0, 256); src 963 samples/gpu/performance/tests.cpp cv::filter2D(src, dst, -1, kernel); src 966 samples/gpu/performance/tests.cpp cv::filter2D(src, dst, -1, kernel); src 969 samples/gpu/performance/tests.cpp cuda::GpuMat d_src(src); src 988 samples/gpu/performance/tests.cpp Mat src, dst; src 989 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, 0, 256); src 991 samples/gpu/performance/tests.cpp pyrDown(src, dst); src 994 samples/gpu/performance/tests.cpp pyrDown(src, dst); src 997 samples/gpu/performance/tests.cpp cuda::GpuMat d_src(src); src 1014 samples/gpu/performance/tests.cpp Mat src, dst; src 1016 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, 0, 256); src 1018 samples/gpu/performance/tests.cpp pyrUp(src, dst); src 1021 samples/gpu/performance/tests.cpp pyrUp(src, dst); src 1024 samples/gpu/performance/tests.cpp cuda::GpuMat d_src(src); src 1042 samples/gpu/performance/tests.cpp Mat src, dst; src 1044 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC1, 0, 256); src 1046 samples/gpu/performance/tests.cpp equalizeHist(src, dst); src 1049 samples/gpu/performance/tests.cpp equalizeHist(src, dst); src 1052 samples/gpu/performance/tests.cpp cuda::GpuMat d_src(src); src 1093 samples/gpu/performance/tests.cpp Mat src; src 1094 samples/gpu/performance/tests.cpp gen(src, size, size, CV_32F, 0, 255); src 1099 samples/gpu/performance/tests.cpp cuda::GpuMat d_src(src); src 1105 samples/gpu/performance/tests.cpp reduce(src, dst0, 0, REDUCE_MIN); src 1108 samples/gpu/performance/tests.cpp reduce(src, dst0, 0, REDUCE_MIN); src 1119 samples/gpu/performance/tests.cpp reduce(src, dst1, 1, REDUCE_MIN); src 1122 samples/gpu/performance/tests.cpp reduce(src, dst1, 1, REDUCE_MIN); src 1167 samples/gpu/performance/tests.cpp Mat src = imread(abspath("../data/aloeL.jpg"), IMREAD_GRAYSCALE); src 1168 samples/gpu/performance/tests.cpp if (src.empty()) throw runtime_error("can't open ../data/aloeL.jpg"); src 1172 samples/gpu/performance/tests.cpp goodFeaturesToTrack(src, pts, 8000, 0.01, 0.0); src 1175 samples/gpu/performance/tests.cpp goodFeaturesToTrack(src, pts, 8000, 0.01, 0.0); src 1178 samples/gpu/performance/tests.cpp Ptr<cuda::CornersDetector> detector = cuda::createGoodFeaturesToTrackDetector(src.type(), 8000, 0.01, 0.0); src 1180 samples/gpu/performance/tests.cpp cuda::GpuMat d_src(src);