size 1071 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int size; size 1083 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int size; size 2352 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void (*rtp_callback)(struct AVCodecContext *avctx, void *data, int size, int mb_nb); size 2643 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int (*execute)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg), void *arg2, int *ret, int count, int size); size 3459 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int av_new_packet(AVPacket *pkt, int size); size 3467 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void av_shrink_packet(AVPacket *pkt, int size); size 3490 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int av_packet_from_data(AVPacket *pkt, uint8_t *data, int size); size 3528 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int size); size 3539 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int size); size 3550 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int *size); size 4531 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int avcodec_default_execute(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2),void *arg, int *ret, int count, int size); size 4704 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void *av_fast_realloc(void *ptr, unsigned int *size, size_t min_size); size 4718 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void av_fast_malloc(void *ptr, unsigned int *size, size_t min_size); size 4727 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void av_fast_padded_malloc(void *ptr, unsigned int *size, size_t min_size); size 4733 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void av_fast_padded_mallocz(void *ptr, unsigned int *size, size_t min_size); size 297 3rdparty/include/ffmpeg_/libavformat/avformat.h int av_get_packet(AVIOContext *s, AVPacket *pkt, int size); size 313 3rdparty/include/ffmpeg_/libavformat/avformat.h int av_append_packet(AVIOContext *s, AVPacket *pkt, int size); size 610 3rdparty/include/ffmpeg_/libavformat/avformat.h int size:30; //Yeah, trying to keep the size of this small to reduce memory requirements (it is 24 vs. 32 bytes due to possible 8-byte alignment). size 1919 3rdparty/include/ffmpeg_/libavformat/avformat.h void av_hex_dump(FILE *f, const uint8_t *buf, int size); size 1933 3rdparty/include/ffmpeg_/libavformat/avformat.h void av_hex_dump_log(void *avcl, int level, const uint8_t *buf, int size); size 2009 3rdparty/include/ffmpeg_/libavformat/avformat.h int size, int distance, int flags); size 2084 3rdparty/include/ffmpeg_/libavformat/avformat.h int av_sdp_create(AVFormatContext *ac[], int n_files, char *buf, int size); size 101 3rdparty/include/ffmpeg_/libavformat/avio.h unsigned long (*update_checksum)(unsigned long checksum, const uint8_t *buf, unsigned int size); size 195 3rdparty/include/ffmpeg_/libavformat/avio.h void avio_write(AVIOContext *s, const unsigned char *buf, int size); size 280 3rdparty/include/ffmpeg_/libavformat/avio.h int avio_read(AVIOContext *s, unsigned char *buf, int size); size 99 3rdparty/include/ffmpeg_/libavutil/avstring.h size_t av_strlcpy(char *dst, const char *src, size_t size); size 117 3rdparty/include/ffmpeg_/libavutil/avstring.h size_t av_strlcat(char *dst, const char *src, size_t size); size 131 3rdparty/include/ffmpeg_/libavutil/avstring.h size_t av_strlcatf(char *dst, size_t size, const char *fmt, ...) av_printf_format(3, 4); size 31 3rdparty/include/ffmpeg_/libavutil/bprint.h #define FF_PAD_STRUCTURE(size, ...) \ size 33 3rdparty/include/ffmpeg_/libavutil/bprint.h char reserved_padding[size - sizeof(struct { __VA_ARGS__ })]; size 79 3rdparty/include/ffmpeg_/libavutil/bprint.h unsigned size; /**< allocated memory */ size 117 3rdparty/include/ffmpeg_/libavutil/bprint.h void av_bprint_init_for_buffer(AVBPrint *buf, char *buffer, unsigned size); size 152 3rdparty/include/ffmpeg_/libavutil/bprint.h void av_bprint_get_buffer(AVBPrint *buf, unsigned size, size 168 3rdparty/include/ffmpeg_/libavutil/bprint.h return buf->len < buf->size; size 93 3rdparty/include/ffmpeg_/libavutil/buffer.h int size; size 101 3rdparty/include/ffmpeg_/libavutil/buffer.h AVBufferRef *av_buffer_alloc(int size); size 107 3rdparty/include/ffmpeg_/libavutil/buffer.h AVBufferRef *av_buffer_allocz(int size); size 130 3rdparty/include/ffmpeg_/libavutil/buffer.h AVBufferRef *av_buffer_create(uint8_t *data, int size, size 198 3rdparty/include/ffmpeg_/libavutil/buffer.h int av_buffer_realloc(AVBufferRef **buf, int size); size 249 3rdparty/include/ffmpeg_/libavutil/buffer.h AVBufferPool *av_buffer_pool_init(int size, AVBufferRef* (*alloc)(int size)); size 42 3rdparty/include/ffmpeg_/libavutil/fifo.h AVFifoBuffer *av_fifo_alloc(unsigned int size); size 94 3rdparty/include/ffmpeg_/libavutil/fifo.h int av_fifo_generic_write(AVFifoBuffer *f, void *src, int size, int (*func)(void*, void*, int)); size 104 3rdparty/include/ffmpeg_/libavutil/fifo.h int av_fifo_realloc2(AVFifoBuffer *f, unsigned int size); size 122 3rdparty/include/ffmpeg_/libavutil/fifo.h void av_fifo_drain(AVFifoBuffer *f, int size); size 43 3rdparty/include/ffmpeg_/libavutil/file.h int av_file_map(const char *filename, uint8_t **bufptr, size_t *size, size 52 3rdparty/include/ffmpeg_/libavutil/file.h void av_file_unmap(uint8_t *bufptr, size_t size); size 43 3rdparty/include/ffmpeg_/libavutil/frame.h int size; size 598 3rdparty/include/ffmpeg_/libavutil/frame.h int size); size 83 3rdparty/include/ffmpeg_/libavutil/mem.h void *av_malloc(size_t size) av_malloc_attrib av_alloc_size(1); size 94 3rdparty/include/ffmpeg_/libavutil/mem.h av_alloc_size(1, 2) static inline void *av_malloc_array(size_t nmemb, size_t size) size 96 3rdparty/include/ffmpeg_/libavutil/mem.h if (size <= 0 || nmemb >= INT_MAX / size) size 98 3rdparty/include/ffmpeg_/libavutil/mem.h return av_malloc(nmemb * size); size 113 3rdparty/include/ffmpeg_/libavutil/mem.h void *av_realloc(void *ptr, size_t size) av_alloc_size(2); size 136 3rdparty/include/ffmpeg_/libavutil/mem.h av_alloc_size(2, 3) void *av_realloc_array(void *ptr, size_t nmemb, size_t size); size 149 3rdparty/include/ffmpeg_/libavutil/mem.h av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); size 169 3rdparty/include/ffmpeg_/libavutil/mem.h void *av_mallocz(size_t size) av_malloc_attrib av_alloc_size(1); size 181 3rdparty/include/ffmpeg_/libavutil/mem.h void *av_calloc(size_t nmemb, size_t size) av_malloc_attrib; size 193 3rdparty/include/ffmpeg_/libavutil/mem.h av_alloc_size(1, 2) static inline void *av_mallocz_array(size_t nmemb, size_t size) size 195 3rdparty/include/ffmpeg_/libavutil/mem.h if (size <= 0 || nmemb >= INT_MAX / size) size 197 3rdparty/include/ffmpeg_/libavutil/mem.h return av_mallocz(nmemb * size); size 214 3rdparty/include/ffmpeg_/libavutil/mem.h void *av_memdup(const void *p, size_t size); size 655 3rdparty/include/ffmpeg_/libavutil/opt.h int av_opt_set_bin (void *obj, const char *name, const uint8_t *val, int size, int search_flags); size 112 3rdparty/include/opencl/1.2/CL/cl.h size_t size; size 498 3rdparty/include/opencl/1.2/CL/cl.hpp string(const char * str, ::size_t size) : size 499 3rdparty/include/opencl/1.2/CL/cl.hpp size_(size), size 502 3rdparty/include/opencl/1.2/CL/cl.hpp if( size > 0 ) { size 636 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t length(void) const { return size(); } size 720 3rdparty/include/opencl/1.2/CL/cl.hpp if (size() < N) { size 760 3rdparty/include/opencl/1.2/CL/cl.hpp vector(unsigned int size, const T& val = T()) : size 763 3rdparty/include/opencl/1.2/CL/cl.hpp for (unsigned int i = 0; i < size; i++) { size 796 3rdparty/include/opencl/1.2/CL/cl.hpp if (size() != vec.size()) { size 800 3rdparty/include/opencl/1.2/CL/cl.hpp for( unsigned int i = 0; i < size(); ++i ) { size 921 3rdparty/include/opencl/1.2/CL/cl.hpp iterator i(vec, vec.size()); size 1152 3rdparty/include/opencl/1.2/CL/cl.hpp cl_int err = f(name, param->size() * sizeof(char *), &(*param)[0], NULL); size 1511 3rdparty/include/opencl/1.2/CL/cl.hpp cl_uint param, ::size_t size, void* value, ::size_t* size_ret) size 1512 3rdparty/include/opencl/1.2/CL/cl.hpp { return f_(arg0_, param, size, value, size_ret); } size 1520 3rdparty/include/opencl/1.2/CL/cl.hpp cl_uint param, ::size_t size, void* value, ::size_t* size_ret) size 1521 3rdparty/include/opencl/1.2/CL/cl.hpp { return f_(arg0_, arg1_, param, size, value, size_ret); } size 1687 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t size = 0; size 1688 3rdparty/include/opencl/1.2/CL/cl.hpp clGetPlatformInfo(platform, CL_PLATFORM_VERSION, 0, NULL, &size); size 1689 3rdparty/include/opencl/1.2/CL/cl.hpp char *versionInfo = (char *) alloca(size); size 1690 3rdparty/include/opencl/1.2/CL/cl.hpp clGetPlatformInfo(platform, CL_PLATFORM_VERSION, size, &versionInfo[0], &size); size 1706 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t size = 0; size 1707 3rdparty/include/opencl/1.2/CL/cl.hpp clGetContextInfo(context, CL_CONTEXT_DEVICES, 0, NULL, &size); size 1708 3rdparty/include/opencl/1.2/CL/cl.hpp if (size == 0) size 1710 3rdparty/include/opencl/1.2/CL/cl.hpp cl_device_id *devices = (cl_device_id *) alloca(size); size 1711 3rdparty/include/opencl/1.2/CL/cl.hpp clGetContextInfo(context, CL_CONTEXT_DEVICES, size, devices, NULL); size 2376 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t numDevices = devices.size(); size 2791 3rdparty/include/opencl/1.2/CL/cl.hpp (cl_uint) events.size(), (cl_event*)&events.front()), size 2860 3rdparty/include/opencl/1.2/CL/cl.hpp (cl_uint) events.size(), (cl_event*)&events.front()), size 3001 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t size, size 3006 3rdparty/include/opencl/1.2/CL/cl.hpp object_ = ::clCreateBuffer(context(), flags, size, host_ptr, &error); size 3025 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t size, size 3033 3rdparty/include/opencl/1.2/CL/cl.hpp object_ = ::clCreateBuffer(context(), flags, size, host_ptr, &error); size 3067 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t size = sizeof(DataType)*(endIterator - startIterator); size 3072 3rdparty/include/opencl/1.2/CL/cl.hpp object_ = ::clCreateBuffer(context(), flags, size, static_cast<DataType*>(&*startIterator), &error); size 3074 3rdparty/include/opencl/1.2/CL/cl.hpp object_ = ::clCreateBuffer(context(), flags, size, 0, &error); size 3190 3rdparty/include/opencl/1.2/CL/cl.hpp for( int i = 0; i < props.size(); ++i ) { size 4400 3rdparty/include/opencl/1.2/CL/cl.hpp __local(::size_t size) CL_EXT_SUFFIX__VERSION_1_1_DEPRECATED; size 4402 3rdparty/include/opencl/1.2/CL/cl.hpp __local(::size_t size) size 4404 3rdparty/include/opencl/1.2/CL/cl.hpp LocalSpaceArg ret = { size }; size 4412 3rdparty/include/opencl/1.2/CL/cl.hpp Local(::size_t size) size 4414 3rdparty/include/opencl/1.2/CL/cl.hpp LocalSpaceArg ret = { size }; size 4553 3rdparty/include/opencl/1.2/CL/cl.hpp detail::KernelArgumentHandler<T>::size(value), size 4558 3rdparty/include/opencl/1.2/CL/cl.hpp cl_int setArg(cl_uint index, ::size_t size, void* argPtr) size 4561 3rdparty/include/opencl/1.2/CL/cl.hpp ::clSetKernelArg(object_, index, size, argPtr), size 4582 3rdparty/include/opencl/1.2/CL/cl.hpp const ::size_t length = source.size(); size 4617 3rdparty/include/opencl/1.2/CL/cl.hpp const ::size_t length = source.size(); size 4653 3rdparty/include/opencl/1.2/CL/cl.hpp const ::size_t length = source.size(); size 4685 3rdparty/include/opencl/1.2/CL/cl.hpp const ::size_t n = (::size_t)sources.size(); size 4731 3rdparty/include/opencl/1.2/CL/cl.hpp const ::size_t numDevices = devices.size(); size 4734 3rdparty/include/opencl/1.2/CL/cl.hpp if(binaries.size() != numDevices) { size 4761 3rdparty/include/opencl/1.2/CL/cl.hpp context(), (cl_uint) devices.size(), size 4788 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t numDevices = devices.size(); size 4796 3rdparty/include/opencl/1.2/CL/cl.hpp (cl_uint) devices.size(), size 4834 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t numDevices = devices.size(); size 4844 3rdparty/include/opencl/1.2/CL/cl.hpp devices.size(), size 4996 3rdparty/include/opencl/1.2/CL/cl.hpp cl_program * programs = (cl_program*) alloca(inputPrograms.size() * sizeof(cl_program)); size 4999 3rdparty/include/opencl/1.2/CL/cl.hpp for (unsigned int i = 0; i < inputPrograms.size(); i++) { size 5009 3rdparty/include/opencl/1.2/CL/cl.hpp (cl_uint)inputPrograms.size(), size 5217 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t size, size 5225 3rdparty/include/opencl/1.2/CL/cl.hpp object_, buffer(), blocking, offset, size, size 5227 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5228 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5242 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t size, size 5250 3rdparty/include/opencl/1.2/CL/cl.hpp object_, buffer(), blocking, offset, size, size 5252 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5253 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5268 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t size, size 5275 3rdparty/include/opencl/1.2/CL/cl.hpp object_, src(), dst(), src_offset, dst_offset, size, size 5276 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5277 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5315 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5316 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5354 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5355 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5391 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5392 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5414 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t size, size 5426 3rdparty/include/opencl/1.2/CL/cl.hpp size, size 5427 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5428 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5455 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5456 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5482 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5483 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5507 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5508 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5542 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5543 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5576 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5577 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5610 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5611 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5636 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5637 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5661 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5662 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5677 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t size, size 5684 3rdparty/include/opencl/1.2/CL/cl.hpp object_, buffer(), blocking, flags, offset, size, size 5685 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5686 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5714 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5715 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5736 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5737 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5767 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5768 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5797 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5798 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5821 3rdparty/include/opencl/1.2/CL/cl.hpp cl_mem* localMemObjects = static_cast<cl_mem*>(alloca(memObjects.size() * sizeof(cl_mem))); size 5822 3rdparty/include/opencl/1.2/CL/cl.hpp for( int i = 0; i < (int)memObjects.size(); ++i ) { size 5830 3rdparty/include/opencl/1.2/CL/cl.hpp (cl_uint)memObjects.size(), size 5833 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5834 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5860 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5861 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5880 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5881 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5899 3rdparty/include/opencl/1.2/CL/cl.hpp cl_mem * mems = (mem_objects != NULL && mem_objects->size() > 0) size 5900 3rdparty/include/opencl/1.2/CL/cl.hpp ? (cl_mem*) alloca(mem_objects->size() * sizeof(cl_mem)) size 5904 3rdparty/include/opencl/1.2/CL/cl.hpp for (unsigned int i = 0; i < mem_objects->size(); i++) { size 5913 3rdparty/include/opencl/1.2/CL/cl.hpp (mem_objects != NULL) ? (cl_uint) mem_objects->size() : 0, size 5916 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5917 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5945 3rdparty/include/opencl/1.2/CL/cl.hpp (cl_uint) events.size(), size 5960 3rdparty/include/opencl/1.2/CL/cl.hpp (mem_objects != NULL) ? (cl_uint) mem_objects->size() : 0, size 5962 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5963 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 5982 3rdparty/include/opencl/1.2/CL/cl.hpp (mem_objects != NULL) ? (cl_uint) mem_objects->size() : 0, size 5984 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 5985 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 6025 3rdparty/include/opencl/1.2/CL/cl.hpp (mem_objects != NULL) ? (cl_uint) mem_objects->size() : 0, size 6027 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 6058 3rdparty/include/opencl/1.2/CL/cl.hpp (mem_objects != NULL) ? (cl_uint) mem_objects->size() : 0, size 6060 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 6110 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t size, size 6122 3rdparty/include/opencl/1.2/CL/cl.hpp return queue.enqueueReadBuffer(buffer, blocking, offset, size, ptr, events, event); size 6129 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t size, size 6141 3rdparty/include/opencl/1.2/CL/cl.hpp return queue.enqueueWriteBuffer(buffer, blocking, offset, size, ptr, events, event); size 6149 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t size, size 6162 3rdparty/include/opencl/1.2/CL/cl.hpp queue(), buffer(), blocking, flags, offset, size, size 6163 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 6164 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 6192 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL) ? (cl_uint) events->size() : 0, size 6193 3rdparty/include/opencl/1.2/CL/cl.hpp (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, size 6208 3rdparty/include/opencl/1.2/CL/cl.hpp ::size_t size, size 6219 3rdparty/include/opencl/1.2/CL/cl.hpp return queue.enqueueCopyBuffer(src, dst, src_offset, dst_offset, size, events, event); size 863 3rdparty/libjasper/jas_cm.c lut->size = 0; size 872 3rdparty/libjasper/jas_cm.c lut->size = 0; size 889 3rdparty/libjasper/jas_cm.c lut->size = 2; size 890 3rdparty/libjasper/jas_cm.c if (!(lut->data = jas_alloc2(lut->size, sizeof(jas_cmreal_t)))) size 895 3rdparty/libjasper/jas_cm.c lut->size = 256; size 896 3rdparty/libjasper/jas_cm.c if (!(lut->data = jas_alloc2(lut->size, sizeof(jas_cmreal_t)))) size 899 3rdparty/libjasper/jas_cm.c for (i = 0; i < lut->size; ++i) { size 900 3rdparty/libjasper/jas_cm.c lut->data[i] = gammafn(i / (double) (lut->size - 1), gamma); size 903 3rdparty/libjasper/jas_cm.c lut->size = curv->numents; size 904 3rdparty/libjasper/jas_cm.c if (!(lut->data = jas_alloc2(lut->size, sizeof(jas_cmreal_t)))) size 906 3rdparty/libjasper/jas_cm.c for (i = 0; i < lut->size; ++i) { size 920 3rdparty/libjasper/jas_cm.c t = x * (lut->size - 1); size 925 3rdparty/libjasper/jas_cm.c if (hi >= lut->size) size 926 3rdparty/libjasper/jas_cm.c return lut->data[lut->size - 1]; size 948 3rdparty/libjasper/jas_cm.c for (i = 1; i < lut->size; ++i) { size 956 3rdparty/libjasper/jas_cm.c invlut->size = n; size 957 3rdparty/libjasper/jas_cm.c for (i = 0; i < invlut->size; ++i) { size 958 3rdparty/libjasper/jas_cm.c sy = ((double) i) / (invlut->size - 1); size 960 3rdparty/libjasper/jas_cm.c for (j = 0; j < lut->size; ++j) { size 963 3rdparty/libjasper/jas_cm.c for (k = j + 1; k < lut->size; ++k) { size 971 3rdparty/libjasper/jas_cm.c if (k < lut->size) { size 973 3rdparty/libjasper/jas_cm.c ax = ((double) j) / (lut->size - 1); size 974 3rdparty/libjasper/jas_cm.c bx = ((double) k) / (lut->size - 1); size 979 3rdparty/libjasper/jas_cm.c if (j < lut->size - 1) { size 982 3rdparty/libjasper/jas_cm.c ax = ((double) j) / (lut->size - 1); size 983 3rdparty/libjasper/jas_cm.c bx = ((double) j + 1) / (lut->size - 1); size 993 3rdparty/libjasper/jas_cm.c for (i=0;i<lut->size;++i) size 995 3rdparty/libjasper/jas_cm.c for (i=0;i<invlut->size;++i) size 1109 3rdparty/libjasper/jas_cm.c if (jas_cmshapmatlut_invert(&shapmat->luts[0], &lut, lut.size)) size 1192 3rdparty/libjasper/jas_cm.c if (jas_cmshapmatlut_invert(&shapmat->luts[i], &lut, lut.size)) size 412 3rdparty/libjasper/jas_icc.c prof->hdr.size = curoff; size 435 3rdparty/libjasper/jas_icc.c tagtab->ents[i].off : prof->hdr.size; size 452 3rdparty/libjasper/jas_icc.c if (jas_iccputuint32(out, hdr->size) || size 493 3rdparty/libjasper/jas_icc.c if (jas_iccgetuint32(in, &hdr->size) || size 303 3rdparty/libjasper/jas_image.c long size; size 321 3rdparty/libjasper/jas_image.c size = cmpt->width_ * cmpt->height_ * cmpt->cps_; size 322 3rdparty/libjasper/jas_image.c cmpt->stream_ = (inmem) ? jas_stream_memopen(0, size) : jas_stream_tmpfile(); size 330 3rdparty/libjasper/jas_image.c if (jas_stream_seek(cmpt->stream_, size - 1, SEEK_SET) < 0 || size 101 3rdparty/libjasper/jas_malloc.c void *jas_malloc(size_t size) size 106 3rdparty/libjasper/jas_malloc.c if (posix_memalign(&ptr, MEMALLOC_ALIGNMENT, size)) { size 111 3rdparty/libjasper/jas_malloc.c return malloc(size); size 119 3rdparty/libjasper/jas_malloc.c void *jas_realloc(void *ptr, size_t size) size 121 3rdparty/libjasper/jas_malloc.c return ptr ? realloc(ptr, size) : malloc(size); size 124 3rdparty/libjasper/jas_malloc.c void *jas_realloc2(void *ptr, size_t nmemb, size_t size) size 127 3rdparty/libjasper/jas_malloc.c return jas_alloc2(nmemb, size); size 128 3rdparty/libjasper/jas_malloc.c if (nmemb && SIZE_MAX / nmemb < size) { size 132 3rdparty/libjasper/jas_malloc.c return jas_realloc(ptr, nmemb * size); size 136 3rdparty/libjasper/jas_malloc.c void *jas_alloc2(size_t nmemb, size_t size) size 138 3rdparty/libjasper/jas_malloc.c if (nmemb && SIZE_MAX / nmemb < size) { size 143 3rdparty/libjasper/jas_malloc.c return jas_malloc(nmemb * size); size 158 3rdparty/libjasper/jas_malloc.c void *jas_calloc(size_t nmemb, size_t size) size 162 3rdparty/libjasper/jas_malloc.c ptr = jas_alloc2(nmemb, size); size 164 3rdparty/libjasper/jas_malloc.c memset(ptr, 0, nmemb*size); size 344 3rdparty/libjasper/jas_seq.c int size; size 347 3rdparty/libjasper/jas_seq.c size = numrows * numcols; size 348 3rdparty/libjasper/jas_seq.c if (size > matrix->datasize_ || numrows > matrix->maxrows_) { size 162 3rdparty/libjasper/jasper/jas_cm.h int size; size 322 3rdparty/libjasper/jasper/jas_icc.h jas_iccuint32_t size; /* profile size */ size 110 3rdparty/libjasper/jasper/jas_malloc.h void *jas_malloc(size_t size); size 116 3rdparty/libjasper/jasper/jas_malloc.h void *jas_realloc(void *ptr, size_t size); size 119 3rdparty/libjasper/jasper/jas_malloc.h void *jas_calloc(size_t nmemb, size_t size); size 140 3rdparty/libjasper/jpc_enc.c int ratestrtosize(char *s, uint_fast32_t rawsize, uint_fast32_t *size); size 782 3rdparty/libjasper/jpc_enc.c int ratestrtosize(char *s, uint_fast32_t rawsize, uint_fast32_t *size) size 789 3rdparty/libjasper/jpc_enc.c *size = atoi(s); size 793 3rdparty/libjasper/jpc_enc.c *size = 0; size 795 3rdparty/libjasper/jpc_enc.c *size = rawsize + 1; size 797 3rdparty/libjasper/jpc_enc.c *size = f * rawsize; size 307 3rdparty/libjpeg/jchuff.c emit_bits_s (working_state * state, unsigned int code, int size) size 315 3rdparty/libjpeg/jchuff.c if (size == 0) size 318 3rdparty/libjpeg/jchuff.c put_buffer &= (((INT32) 1)<<size) - 1; /* mask off any extra bits in code */ size 320 3rdparty/libjpeg/jchuff.c put_bits += size; /* new number of bits in buffer */ size 346 3rdparty/libjpeg/jchuff.c emit_bits_e (huff_entropy_ptr entropy, unsigned int code, int size) size 354 3rdparty/libjpeg/jchuff.c if (size == 0) size 360 3rdparty/libjpeg/jchuff.c put_buffer &= (((INT32) 1)<<size) - 1; /* mask off any extra bits in code */ size 362 3rdparty/libjpeg/jchuff.c put_bits += size; /* new number of bits in buffer */ size 24 3rdparty/libjpeg/jdatadst.c extern void * malloc JPP((size_t size)); size 61 3rdparty/libjpeg/jinclude.h #define MEMZERO(target,size) bzero((void *)(target), (size_t)(size)) size 62 3rdparty/libjpeg/jinclude.h #define MEMCOPY(dest,src,size) bcopy((const void *)(src), (void *)(dest), (size_t)(size)) size 67 3rdparty/libjpeg/jinclude.h #define MEMZERO(target,size) memset((void *)(target), 0, (size_t)(size)) size 68 3rdparty/libjpeg/jinclude.h #define MEMCOPY(dest,src,size) memcpy((void *)(dest), (const void *)(src), (size_t)(size)) size 21 3rdparty/libjpeg/jmemansi.c extern void * malloc JPP((size_t size)); size 24 3rdparty/libjpeg/jmemnobs.c extern void * malloc JPP((size_t size)); size 348 3rdparty/libjpeg/jpegint.h #define FMEMZERO(target,size) MEMZERO(target,size) size 351 3rdparty/libjpeg/jpegint.h #define FMEMZERO(target,size) _fmemset((void FAR *)(target), 0, (size_t)(size)) size 354 3rdparty/libjpeg/jpegint.h #define FMEMZERO(target,size) jzero_far(target, size) size 152 3rdparty/libjpeg/jutils.c #define FMEMCOPY(dest,src,size) MEMCOPY(dest,src,size) size 155 3rdparty/libjpeg/jutils.c #define FMEMCOPY(dest,src,size) _fmemcpy((void FAR *)(dest), (const void FAR *)(src), (size_t)(size)) size 73 3rdparty/libpng/png.c png_zalloc,(voidpf png_ptr, uInt items, uInt size),PNG_ALLOCATED) size 83 3rdparty/libpng/png.c if (items > PNG_UINT_32_MAX/size) size 88 3rdparty/libpng/png.c num_bytes = (png_alloc_size_t)items * size; size 1321 3rdparty/libpng/png.c png_check_fp_number(png_const_charp string, png_size_t size, int *statep, size 1327 3rdparty/libpng/png.c while (i < size) size 1448 3rdparty/libpng/png.c png_check_fp_string(png_const_charp string, png_size_t size) size 1453 3rdparty/libpng/png.c if (png_check_fp_number(string, size, &state, &char_index) && size 1454 3rdparty/libpng/png.c (char_index == size || string[char_index] == 0)) size 1504 3rdparty/libpng/png.c png_ascii_from_fp(png_structp png_ptr, png_charp ascii, png_size_t size, size 1520 3rdparty/libpng/png.c if (size >= precision+5) /* See the requirements below. */ size 1526 3rdparty/libpng/png.c --size; size 1637 3rdparty/libpng/png.c ch = *--ascii, ++size; size 1664 3rdparty/libpng/png.c ++size, exp_b10 = 1; size 1701 3rdparty/libpng/png.c if (exp_b10 == 0) *ascii++ = 46, --size; size 1710 3rdparty/libpng/png.c if (exp_b10 == 0) *ascii++ = 46, --size; /* counted size 1754 3rdparty/libpng/png.c size -= cdigits; size 1756 3rdparty/libpng/png.c *ascii++ = 69, --size; /* 'E': PLUS 1 TOTAL 2+precision */ size 1767 3rdparty/libpng/png.c *ascii++ = 45, --size; /* '-': PLUS 1 TOTAL 3+precision */ size 1786 3rdparty/libpng/png.c if ((int)size > cdigits) size 1822 3rdparty/libpng/png.c png_ascii_from_fixed(png_structp png_ptr, png_charp ascii, png_size_t size, size 1828 3rdparty/libpng/png.c if (size > 12) size 1834 3rdparty/libpng/png.c *ascii++ = 45, --size, num = -fp; size 704 3rdparty/libpng/png.h png_size_t size; size 1027 3rdparty/libpng/png.h png_size_t size)); size 1882 3rdparty/libpng/png.h (png_structp png_ptr, png_alloc_size_t size), size 1886 3rdparty/libpng/png.h (png_structp png_ptr, png_alloc_size_t size), size 1891 3rdparty/libpng/png.h png_alloc_size_t size), PNG_ALLOCATED); size 1926 3rdparty/libpng/png.h png_alloc_size_t size), PNG_ALLOCATED); size 43 3rdparty/libpng/pngmem.c png_size_t size; size 47 3rdparty/libpng/pngmem.c size = png_sizeof(png_info); size 50 3rdparty/libpng/pngmem.c size = png_sizeof(png_struct); size 61 3rdparty/libpng/pngmem.c struct_ptr = (*(malloc_fn))(&dummy_struct, (png_alloc_size_t)size); size 66 3rdparty/libpng/pngmem.c struct_ptr = (png_voidp)farmalloc(size); size 68 3rdparty/libpng/pngmem.c png_memset(struct_ptr, 0, size); size 124 3rdparty/libpng/pngmem.c png_calloc,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED) size 128 3rdparty/libpng/pngmem.c ret = (png_malloc(png_ptr, size)); size 131 3rdparty/libpng/pngmem.c png_memset(ret,0,(png_size_t)size); size 137 3rdparty/libpng/pngmem.c png_malloc,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED) size 141 3rdparty/libpng/pngmem.c if (png_ptr == NULL || size == 0) size 146 3rdparty/libpng/pngmem.c ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, size)); size 149 3rdparty/libpng/pngmem.c ret = (png_malloc_default(png_ptr, size)); size 158 3rdparty/libpng/pngmem.c png_malloc_default,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED) size 163 3rdparty/libpng/pngmem.c if (png_ptr == NULL || size == 0) size 167 3rdparty/libpng/pngmem.c if (size > (png_uint_32)65536L) size 176 3rdparty/libpng/pngmem.c if (size != (size_t)size) size 179 3rdparty/libpng/pngmem.c else if (size == (png_uint_32)65536L) size 184 3rdparty/libpng/pngmem.c ret = farmalloc(size); size 301 3rdparty/libpng/pngmem.c ret = farmalloc(size); size 392 3rdparty/libpng/pngmem.c png_size_t size; size 396 3rdparty/libpng/pngmem.c size = png_sizeof(png_info); size 399 3rdparty/libpng/pngmem.c size = png_sizeof(png_struct); size 410 3rdparty/libpng/pngmem.c struct_ptr = (*(malloc_fn))(png_ptr, size); size 413 3rdparty/libpng/pngmem.c png_memset(struct_ptr, 0, size); size 420 3rdparty/libpng/pngmem.c struct_ptr = (png_voidp)farmalloc(size); size 423 3rdparty/libpng/pngmem.c struct_ptr = (png_voidp)halloc(size, 1); size 425 3rdparty/libpng/pngmem.c struct_ptr = (png_voidp)malloc(size); size 430 3rdparty/libpng/pngmem.c png_memset(struct_ptr, 0, size); size 485 3rdparty/libpng/pngmem.c png_calloc,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED) size 489 3rdparty/libpng/pngmem.c ret = (png_malloc(png_ptr, size)); size 492 3rdparty/libpng/pngmem.c png_memset(ret,0,(png_size_t)size); size 498 3rdparty/libpng/pngmem.c png_malloc,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED) size 503 3rdparty/libpng/pngmem.c if (png_ptr == NULL || size == 0) size 507 3rdparty/libpng/pngmem.c ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, (png_size_t)size)); size 510 3rdparty/libpng/pngmem.c ret = (png_malloc_default(png_ptr, size)); size 519 3rdparty/libpng/pngmem.c png_malloc_default,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED) size 524 3rdparty/libpng/pngmem.c if (png_ptr == NULL || size == 0) size 528 3rdparty/libpng/pngmem.c if (size > (png_uint_32)65536L) size 543 3rdparty/libpng/pngmem.c if (size != (unsigned long)size) size 547 3rdparty/libpng/pngmem.c ret = farmalloc(size); size 551 3rdparty/libpng/pngmem.c if (size != (unsigned long)size) size 555 3rdparty/libpng/pngmem.c ret = halloc(size, 1); size 558 3rdparty/libpng/pngmem.c if (size != (size_t)size) size 562 3rdparty/libpng/pngmem.c ret = malloc((size_t)size); size 623 3rdparty/libpng/pngmem.c png_malloc_warn,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED) size 632 3rdparty/libpng/pngmem.c ptr = (png_voidp)png_malloc((png_structp)png_ptr, size); size 732 3rdparty/libpng/pngpriv.h uInt size)),PNG_ALLOCATED); size 1504 3rdparty/libpng/pngpriv.h png_size_t size, double fp, unsigned int precision)); size 1509 3rdparty/libpng/pngpriv.h png_charp ascii, png_size_t size, png_fixed_point fp)); size 1602 3rdparty/libpng/pngpriv.h png_size_t size, int *statep, png_size_tp whereami)); size 1611 3rdparty/libpng/pngpriv.h png_size_t size)); size 282 3rdparty/libpng/pngrutil.c png_inflate(png_structp png_ptr, png_bytep data, png_size_t size, size 311 3rdparty/libpng/pngrutil.c if (png_ptr->zstream.avail_in == 0 && size > 0) size 313 3rdparty/libpng/pngrutil.c if (size <= ZLIB_IO_MAX) size 316 3rdparty/libpng/pngrutil.c png_ptr->zstream.avail_in = (uInt)size; size 317 3rdparty/libpng/pngrutil.c size = 0; size 323 3rdparty/libpng/pngrutil.c size -= ZLIB_IO_MAX; size 2689 3rdparty/libpng/pngrutil.c png_ptr->unknown_chunk.size = (png_size_t)length; size 1061 3rdparty/libpng/pngset.c to->size = from->size; size 1066 3rdparty/libpng/pngset.c if (from->size == 0) size 1072 3rdparty/libpng/pngset.c (png_size_t)from->size); size 1078 3rdparty/libpng/pngset.c to->size = 0; size 1082 3rdparty/libpng/pngset.c png_memcpy(to->data, from->data, from->size); size 1207 3rdparty/libpng/pngset.c png_set_compression_buffer_size(png_structp png_ptr, png_size_t size) size 1214 3rdparty/libpng/pngset.c if (size > ZLIB_IO_MAX) size 1218 3rdparty/libpng/pngset.c size = ZLIB_IO_MAX; /* must fit */ size 1222 3rdparty/libpng/pngset.c png_ptr->zbuf_size = (uInt)size; size 1224 3rdparty/libpng/pngset.c png_ptr->zbuf = (png_bytep)png_malloc(png_ptr, size); size 109 3rdparty/libpng/pngwrite.c if (up->size == 0) size 112 3rdparty/libpng/pngwrite.c png_write_chunk(png_ptr, up->name, up->data, up->size); size 285 3rdparty/libpng/pngwrite.c png_write_chunk(png_ptr, up->name, up->data, up->size); size 397 3rdparty/libpng/pngwrite.c png_write_chunk(png_ptr, up->name, up->data, up->size); size 1266 3rdparty/libpng/pngwutil.c png_size_t size; size 1289 3rdparty/libpng/pngwutil.c size = 3; size 1301 3rdparty/libpng/pngwutil.c size = 1; size 1312 3rdparty/libpng/pngwutil.c buf[size++] = sbit->alpha; size 1315 3rdparty/libpng/pngwutil.c png_write_complete_chunk(png_ptr, png_sBIT, buf, size); size 269 3rdparty/libtiff/tif_dirinfo.c td_lfind(const void *key, const void *base, size_t *nmemb, size_t size, size 274 3rdparty/libtiff/tif_dirinfo.c end = (char *)base + *nmemb * size; size 275 3rdparty/libtiff/tif_dirinfo.c for (element = (char *)base; element < end; element += size) size 151 3rdparty/libtiff/tif_dirread.c static enum TIFFReadDirEntryErr TIFFReadDirEntryData(TIFF* tif, uint64 offset, tmsize_t size, void* dest); size 3307 3rdparty/libtiff/tif_dirread.c TIFFReadDirEntryData(TIFF* tif, uint64 offset, tmsize_t size, void* dest) size 3309 3rdparty/libtiff/tif_dirread.c assert(size>0); size 3313 3rdparty/libtiff/tif_dirread.c if (!ReadOK(tif,dest,size)) size 3318 3rdparty/libtiff/tif_dirread.c mb=ma+size; size 3319 3rdparty/libtiff/tif_dirread.c if (((uint64)ma!=offset)||(mb<ma)||(mb<size)||(mb>tif->tif_size)) size 3321 3rdparty/libtiff/tif_dirread.c _TIFFmemcpy(dest,tif->tif_base+ma,size); size 51 3rdparty/libtiff/tif_jbig.c static int JBIGDecode(TIFF* tif, uint8* buffer, tmsize_t size, uint16 s) size 56 3rdparty/libtiff/tif_jbig.c (void) size, (void) s; size 157 3rdparty/libtiff/tif_jbig.c static int JBIGEncode(TIFF* tif, uint8* buffer, tmsize_t size, uint16 s) size 162 3rdparty/libtiff/tif_jbig.c (void) size, (void) s; size 43 3rdparty/libtiff/tif_open.c _tiffDummyUnmapProc(thandle_t fd, void* base, toff_t size) size 45 3rdparty/libtiff/tif_open.c (void) fd; (void) base; (void) size; size 40 3rdparty/libtiff/tif_read.c TIFFReadRawStrip1(TIFF* tif, uint32 strip, void* buf, tmsize_t size,const char* module); size 317 3rdparty/libtiff/tif_read.c TIFFReadEncodedStrip(TIFF* tif, uint32 strip, void* buf, tmsize_t size) size 353 3rdparty/libtiff/tif_read.c if ((size!=(tmsize_t)(-1))&&(size<stripsize)) size 354 3rdparty/libtiff/tif_read.c stripsize=size; size 364 3rdparty/libtiff/tif_read.c TIFFReadRawStrip1(TIFF* tif, uint32 strip, void* buf, tmsize_t size, size 382 3rdparty/libtiff/tif_read.c cc = TIFFReadFile(tif, buf, size); size 383 3rdparty/libtiff/tif_read.c if (cc != size) { size 389 3rdparty/libtiff/tif_read.c (unsigned __int64) size); size 395 3rdparty/libtiff/tif_read.c (unsigned long long) size); size 403 3rdparty/libtiff/tif_read.c mb=ma+size; size 406 3rdparty/libtiff/tif_read.c else if ((mb<ma)||(mb<size)||(mb>tif->tif_size)) size 409 3rdparty/libtiff/tif_read.c n=size; size 410 3rdparty/libtiff/tif_read.c if (n!=size) { size 417 3rdparty/libtiff/tif_read.c (unsigned __int64) size); size 424 3rdparty/libtiff/tif_read.c (unsigned long long) size); size 429 3rdparty/libtiff/tif_read.c size); size 431 3rdparty/libtiff/tif_read.c return (size); size 438 3rdparty/libtiff/tif_read.c TIFFReadRawStrip(TIFF* tif, uint32 strip, void* buf, tmsize_t size) size 480 3rdparty/libtiff/tif_read.c if (size != (tmsize_t)(-1) && size < bytecountm) size 481 3rdparty/libtiff/tif_read.c bytecountm = size; size 650 3rdparty/libtiff/tif_read.c TIFFReadEncodedTile(TIFF* tif, uint32 tile, void* buf, tmsize_t size) size 664 3rdparty/libtiff/tif_read.c if (size == (tmsize_t)(-1)) size 665 3rdparty/libtiff/tif_read.c size = tilesize; size 666 3rdparty/libtiff/tif_read.c else if (size > tilesize) size 667 3rdparty/libtiff/tif_read.c size = tilesize; size 669 3rdparty/libtiff/tif_read.c (uint8*) buf, size, (uint16)(tile/td->td_stripsperimage))) { size 670 3rdparty/libtiff/tif_read.c (*tif->tif_postdecode)(tif, (uint8*) buf, size); size 671 3rdparty/libtiff/tif_read.c return (size); size 677 3rdparty/libtiff/tif_read.c TIFFReadRawTile1(TIFF* tif, uint32 tile, void* buf, tmsize_t size, const char* module) size 696 3rdparty/libtiff/tif_read.c cc = TIFFReadFile(tif, buf, size); size 697 3rdparty/libtiff/tif_read.c if (cc != size) { size 704 3rdparty/libtiff/tif_read.c (unsigned __int64) size); size 711 3rdparty/libtiff/tif_read.c (unsigned long long) size); size 719 3rdparty/libtiff/tif_read.c mb=ma+size; size 722 3rdparty/libtiff/tif_read.c else if ((mb<ma)||(mb<size)||(mb>tif->tif_size)) size 725 3rdparty/libtiff/tif_read.c n=size; size 726 3rdparty/libtiff/tif_read.c if (n!=size) { size 734 3rdparty/libtiff/tif_read.c (unsigned __int64) size); size 742 3rdparty/libtiff/tif_read.c (unsigned long long) size); size 746 3rdparty/libtiff/tif_read.c _TIFFmemcpy(buf, tif->tif_base + ma, size); size 748 3rdparty/libtiff/tif_read.c return (size); size 755 3rdparty/libtiff/tif_read.c TIFFReadRawTile(TIFF* tif, uint32 tile, void* buf, tmsize_t size) size 777 3rdparty/libtiff/tif_read.c if (size != (tmsize_t)(-1) && (uint64)size < bytecount64) size 778 3rdparty/libtiff/tif_read.c bytecount64 = (uint64)size; size 914 3rdparty/libtiff/tif_read.c TIFFReadBufferSetup(TIFF* tif, void* bp, tmsize_t size) size 928 3rdparty/libtiff/tif_read.c tif->tif_rawdatasize = size; size 932 3rdparty/libtiff/tif_read.c tif->tif_rawdatasize = (tmsize_t)TIFFroundup_64((uint64)size, 1024); size 85 3rdparty/libtiff/tif_stream.cxx static tmsize_t _tiffisReadProc(thandle_t fd, void* buf, tmsize_t size); size 86 3rdparty/libtiff/tif_stream.cxx static tmsize_t _tiffosWriteProc(thandle_t fd, void* buf, tmsize_t size); size 94 3rdparty/libtiff/tif_stream.cxx static int _tiffDummyMapProc(thandle_t , void** base, toff_t* size ); size 95 3rdparty/libtiff/tif_stream.cxx static void _tiffDummyUnmapProc(thandle_t , void* base, toff_t size ); size 117 3rdparty/libtiff/tif_stream.cxx _tiffisReadProc(thandle_t fd, void* buf, tmsize_t size) size 122 3rdparty/libtiff/tif_stream.cxx streamsize request_size = size; size 123 3rdparty/libtiff/tif_stream.cxx if (static_cast<tmsize_t>(request_size) != size) size 132 3rdparty/libtiff/tif_stream.cxx _tiffosWriteProc(thandle_t fd, void* buf, tmsize_t size) size 139 3rdparty/libtiff/tif_stream.cxx streamsize request_size = size; size 140 3rdparty/libtiff/tif_stream.cxx if (static_cast<tmsize_t>(request_size) != size) size 342 3rdparty/libtiff/tif_stream.cxx _tiffDummyMapProc(thandle_t , void** base, toff_t* size ) size 348 3rdparty/libtiff/tif_stream.cxx _tiffDummyUnmapProc(thandle_t , void* base, toff_t size ) size 59 3rdparty/libtiff/tif_unix.c _tiffReadProc(thandle_t fd, void* buf, tmsize_t size) size 61 3rdparty/libtiff/tif_unix.c size_t size_io = (size_t) size; size 62 3rdparty/libtiff/tif_unix.c if ((tmsize_t) size_io != size) size 71 3rdparty/libtiff/tif_unix.c _tiffWriteProc(thandle_t fd, void* buf, tmsize_t size) size 73 3rdparty/libtiff/tif_unix.c size_t size_io = (size_t) size; size 74 3rdparty/libtiff/tif_unix.c if ((tmsize_t) size_io != size) size 130 3rdparty/libtiff/tif_unix.c _tiffUnmapProc(thandle_t fd, void* base, toff_t size) size 133 3rdparty/libtiff/tif_unix.c (void) munmap(base, (off_t) size); size 144 3rdparty/libtiff/tif_unix.c _tiffUnmapProc(thandle_t fd, void* base, toff_t size) size 146 3rdparty/libtiff/tif_unix.c (void) fd; (void) base; (void) size; size 36 3rdparty/libtiff/tif_win32.c _tiffReadProc(thandle_t fd, void* buf, tmsize_t size) size 47 3rdparty/libtiff/tif_win32.c mb=size; size 66 3rdparty/libtiff/tif_win32.c _tiffWriteProc(thandle_t fd, void* buf, tmsize_t size) size 77 3rdparty/libtiff/tif_win32.c mb=size; size 159 3rdparty/libtiff/tif_win32.c uint64 size; size 163 3rdparty/libtiff/tif_win32.c size = _tiffSizeProc(fd); size 164 3rdparty/libtiff/tif_win32.c sizem = (tmsize_t)size; size 165 3rdparty/libtiff/tif_win32.c if ((uint64)sizem!=size) size 177 3rdparty/libtiff/tif_win32.c *psize = size; size 182 3rdparty/libtiff/tif_win32.c _tiffDummyUnmapProc(thandle_t fd, void* base, toff_t size) size 186 3rdparty/libtiff/tif_win32.c (void) size; size 190 3rdparty/libtiff/tif_win32.c _tiffUnmapProc(thandle_t fd, void* base, toff_t size) size 193 3rdparty/libtiff/tif_win32.c (void) size; size 560 3rdparty/libtiff/tif_write.c TIFFWriteBufferSetup(TIFF* tif, void* bp, tmsize_t size) size 571 3rdparty/libtiff/tif_write.c if (size == (tmsize_t)(-1)) { size 572 3rdparty/libtiff/tif_write.c size = (isTiled(tif) ? size 577 3rdparty/libtiff/tif_write.c if (size < 8*1024) size 578 3rdparty/libtiff/tif_write.c size = 8*1024; size 582 3rdparty/libtiff/tif_write.c bp = _TIFFmalloc(size); size 591 3rdparty/libtiff/tif_write.c tif->tif_rawdatasize = size; size 279 3rdparty/libtiff/tiffio.h typedef int (*TIFFMapFileProc)(thandle_t, void** base, toff_t* size); size 280 3rdparty/libtiff/tiffio.h typedef void (*TIFFUnmapFileProc)(thandle_t, void* base, toff_t size); size 389 3rdparty/libtiff/tiffio.h extern int TIFFReadBufferSetup(TIFF* tif, void* bp, tmsize_t size); size 390 3rdparty/libtiff/tiffio.h extern int TIFFWriteBufferSetup(TIFF* tif, void* bp, tmsize_t size); size 459 3rdparty/libtiff/tiffio.h extern tmsize_t TIFFReadEncodedStrip(TIFF* tif, uint32 strip, void* buf, tmsize_t size); size 460 3rdparty/libtiff/tiffio.h extern tmsize_t TIFFReadRawStrip(TIFF* tif, uint32 strip, void* buf, tmsize_t size); size 461 3rdparty/libtiff/tiffio.h extern tmsize_t TIFFReadEncodedTile(TIFF* tif, uint32 tile, void* buf, tmsize_t size); size 462 3rdparty/libtiff/tiffio.h extern tmsize_t TIFFReadRawTile(TIFF* tif, uint32 tile, void* buf, tmsize_t size); size 91 3rdparty/libtiff/tiffiop.h typedef int (*TIFFCodeMethod)(TIFF* tif, uint8* buf, tmsize_t size, uint16 sample); size 93 3rdparty/libtiff/tiffiop.h typedef void (*TIFFPostMethod)(TIFF* tif, uint8* buf, tmsize_t size); size 212 3rdparty/libtiff/tiffiop.h #define TIFFReadFile(tif, buf, size) \ size 213 3rdparty/libtiff/tiffiop.h ((*(tif)->tif_readproc)((tif)->tif_clientdata,(buf),(size))) size 214 3rdparty/libtiff/tiffiop.h #define TIFFWriteFile(tif, buf, size) \ size 215 3rdparty/libtiff/tiffiop.h ((*(tif)->tif_writeproc)((tif)->tif_clientdata,(buf),(size))) size 224 3rdparty/libtiff/tiffiop.h #define TIFFUnmapFileContents(tif, addr, size) \ size 225 3rdparty/libtiff/tiffiop.h ((*(tif)->tif_unmapproc)((tif)->tif_clientdata,(addr),(size))) size 231 3rdparty/libtiff/tiffiop.h #define ReadOK(tif, buf, size) \ size 232 3rdparty/libtiff/tiffiop.h (TIFFReadFile((tif),(buf),(size))==(size)) size 239 3rdparty/libtiff/tiffiop.h #define WriteOK(tif, buf, size) \ size 240 3rdparty/libtiff/tiffiop.h (TIFFWriteFile((tif),(buf),(size))==(size)) size 69 3rdparty/libwebp/dec/buffer.c const uint64_t size = (uint64_t)buf->stride * height; size 70 3rdparty/libwebp/dec/buffer.c ok &= (size <= buf->size); size 93 3rdparty/libwebp/dec/buffer.c const uint64_t size = (uint64_t)stride * h; size 103 3rdparty/libwebp/dec/buffer.c total_size = size + 2 * uv_size + a_size; size 116 3rdparty/libwebp/dec/buffer.c buf->y_size = (size_t)size; size 117 3rdparty/libwebp/dec/buffer.c buf->u = output + size; size 120 3rdparty/libwebp/dec/buffer.c buf->v = output + size + uv_size; size 124 3rdparty/libwebp/dec/buffer.c buf->a = output + size + 2 * uv_size; size 132 3rdparty/libwebp/dec/buffer.c buf->size = (size_t)size; size 171 3rdparty/libwebp/dec/decode_vp8.h WEBP_EXTERN(int) VP8LCheckSignature(const uint8_t* const data, size_t size); size 642 3rdparty/libwebp/dec/idec.c idec->output_.u.RGBA.size = output_buffer_size; size 190 3rdparty/libwebp/dec/vp8.c const uint8_t* buf, size_t size) { size 193 3rdparty/libwebp/dec/vp8.c const uint8_t* buf_end = buf + size; size 425 3rdparty/libwebp/dec/vp8.c size_t size; size 434 3rdparty/libwebp/dec/vp8.c size = (ext_buf[0] << 0) | (ext_buf[1] << 8) | (ext_buf[2] << 16); size 435 3rdparty/libwebp/dec/vp8.c dec->layer_data_size_ = size; size 84 3rdparty/libwebp/dec/vp8l.c int VP8LCheckSignature(const uint8_t* const data, size_t size) { size 85 3rdparty/libwebp/dec/vp8l.c return (size >= 1) && (data[0] == VP8L_MAGIC_BYTE); size 76 3rdparty/libwebp/dec/webp.c const uint32_t size = get_le32(*data + TAG_SIZE); size 78 3rdparty/libwebp/dec/webp.c if (size < TAG_SIZE + CHUNK_HEADER_SIZE) { size 81 3rdparty/libwebp/dec/webp.c if (size > MAX_CHUNK_PAYLOAD) { size 85 3rdparty/libwebp/dec/webp.c *riff_size = size; size 251 3rdparty/libwebp/dec/webp.c const uint32_t size = get_le32(data + TAG_SIZE); size 252 3rdparty/libwebp/dec/webp.c if ((riff_size >= minimal_size) && (size > riff_size - minimal_size)) { size 256 3rdparty/libwebp/dec/webp.c *chunk_size = size; size 488 3rdparty/libwebp/dec/webp.c int stride, size_t size) { size 500 3rdparty/libwebp/dec/webp.c buf.u.RGBA.size = size; size 509 3rdparty/libwebp/dec/webp.c uint8_t* output, size_t size, int stride) { size 510 3rdparty/libwebp/dec/webp.c return DecodeIntoRGBABuffer(MODE_RGB, data, data_size, output, stride, size); size 514 3rdparty/libwebp/dec/webp.c uint8_t* output, size_t size, int stride) { size 515 3rdparty/libwebp/dec/webp.c return DecodeIntoRGBABuffer(MODE_RGBA, data, data_size, output, stride, size); size 519 3rdparty/libwebp/dec/webp.c uint8_t* output, size_t size, int stride) { size 520 3rdparty/libwebp/dec/webp.c return DecodeIntoRGBABuffer(MODE_ARGB, data, data_size, output, stride, size); size 524 3rdparty/libwebp/dec/webp.c uint8_t* output, size_t size, int stride) { size 525 3rdparty/libwebp/dec/webp.c return DecodeIntoRGBABuffer(MODE_BGR, data, data_size, output, stride, size); size 529 3rdparty/libwebp/dec/webp.c uint8_t* output, size_t size, int stride) { size 530 3rdparty/libwebp/dec/webp.c return DecodeIntoRGBABuffer(MODE_BGRA, data, data_size, output, stride, size); size 112 3rdparty/libwebp/demux/demux.c const uint8_t* data, size_t size) { size 113 3rdparty/libwebp/demux/demux.c if (size < mem->buf_size_) return 0; // can't remap to a shorter buffer! size 116 3rdparty/libwebp/demux/demux.c mem->end_ = mem->buf_size_ = size; size 121 3rdparty/libwebp/demux/demux.c const uint8_t* data, size_t size) { size 123 3rdparty/libwebp/demux/demux.c return RemapMemBuffer(mem, data, size); size 132 3rdparty/libwebp/demux/demux.c static WEBP_INLINE int SizeIsInvalid(const MemBuffer* const mem, size_t size) { size 133 3rdparty/libwebp/demux/demux.c return (size > mem->riff_end_ - mem->start_); size 136 3rdparty/libwebp/demux/demux.c static WEBP_INLINE void Skip(MemBuffer* const mem, size_t size) { size 137 3rdparty/libwebp/demux/demux.c mem->start_ += size; size 140 3rdparty/libwebp/demux/demux.c static WEBP_INLINE void Rewind(MemBuffer* const mem, size_t size) { size 141 3rdparty/libwebp/demux/demux.c mem->start_ -= size; size 384 3rdparty/libwebp/demux/demux.c size_t start_offset, uint32_t size) { size 389 3rdparty/libwebp/demux/demux.c chunk->data_.size_ = size; size 677 3rdparty/libwebp/demux/demux.c if (data == NULL || data->bytes == NULL || data->size == 0) return NULL; size 679 3rdparty/libwebp/demux/demux.c if (!InitMemBuffer(&mem, data->bytes, data->size)) return NULL; size 819 3rdparty/libwebp/demux/demux.c iter->fragment.size = payload_size; size 912 3rdparty/libwebp/demux/demux.c iter->chunk.size = chunk->data_.size_ - CHUNK_HEADER_SIZE; size 176 3rdparty/libwebp/dsp/dec.c static WEBP_INLINE void TrueMotion(uint8_t *dst, int size) { size 180 3rdparty/libwebp/dsp/dec.c for (y = 0; y < size; ++y) { size 183 3rdparty/libwebp/dsp/dec.c for (x = 0; x < size; ++x) { size 595 3rdparty/libwebp/dsp/dec.c int hstride, int vstride, int size, size 597 3rdparty/libwebp/dsp/dec.c while (size-- > 0) { size 610 3rdparty/libwebp/dsp/dec.c int hstride, int vstride, int size, size 612 3rdparty/libwebp/dsp/dec.c while (size-- > 0) { size 229 3rdparty/libwebp/dsp/enc.c static WEBP_INLINE void Fill(uint8_t* dst, int value, int size) { size 231 3rdparty/libwebp/dsp/enc.c for (j = 0; j < size; ++j) { size 232 3rdparty/libwebp/dsp/enc.c memset(dst + j * BPS, value, size); size 237 3rdparty/libwebp/dsp/enc.c const uint8_t* top, int size) { size 240 3rdparty/libwebp/dsp/enc.c for (j = 0; j < size; ++j) memcpy(dst + j * BPS, top, size); size 242 3rdparty/libwebp/dsp/enc.c Fill(dst, 127, size); size 247 3rdparty/libwebp/dsp/enc.c const uint8_t* left, int size) { size 250 3rdparty/libwebp/dsp/enc.c for (j = 0; j < size; ++j) { size 251 3rdparty/libwebp/dsp/enc.c memset(dst + j * BPS, left[j], size); size 254 3rdparty/libwebp/dsp/enc.c Fill(dst, 129, size); size 259 3rdparty/libwebp/dsp/enc.c const uint8_t* top, int size) { size 264 3rdparty/libwebp/dsp/enc.c for (y = 0; y < size; ++y) { size 267 3rdparty/libwebp/dsp/enc.c for (x = 0; x < size; ++x) { size 273 3rdparty/libwebp/dsp/enc.c HorizontalPred(dst, left, size); size 281 3rdparty/libwebp/dsp/enc.c VerticalPred(dst, top, size); size 283 3rdparty/libwebp/dsp/enc.c Fill(dst, 129, size); size 290 3rdparty/libwebp/dsp/enc.c int size, int round, int shift) { size 294 3rdparty/libwebp/dsp/enc.c for (j = 0; j < size; ++j) DC += top[j]; size 296 3rdparty/libwebp/dsp/enc.c for (j = 0; j < size; ++j) DC += left[j]; size 302 3rdparty/libwebp/dsp/enc.c for (j = 0; j < size; ++j) DC += left[j]; size 308 3rdparty/libwebp/dsp/enc.c Fill(dst, DC, size); size 658 3rdparty/libwebp/dsp/enc.c static WEBP_INLINE void Copy(const uint8_t* src, uint8_t* dst, int size) { size 660 3rdparty/libwebp/dsp/enc.c for (y = 0; y < size; ++y) { size 661 3rdparty/libwebp/dsp/enc.c memcpy(dst, src, size); size 31 3rdparty/libwebp/dsp/enc_sse2.c static void PrintReg(const __m128i r, const char* const name, int size) { size 42 3rdparty/libwebp/dsp/enc_sse2.c if (size == 8) { size 44 3rdparty/libwebp/dsp/enc_sse2.c } else if (size == 16) { size 46 3rdparty/libwebp/dsp/enc_sse2.c } else if (size == 32) { size 66 3rdparty/libwebp/dsp/lossless.h static WEBP_INLINE uint32_t VP8LSubSampleSize(uint32_t size, size 68 3rdparty/libwebp/dsp/lossless.h return (size + (1 << sampling_bits) - 1) >> sampling_bits; size 84 3rdparty/libwebp/enc/backward_references.c refs->size = 0; size 98 3rdparty/libwebp/enc/backward_references.c refs->size = 0; size 116 3rdparty/libwebp/enc/backward_references.c static int HashChainInit(HashChain* const p, int size) { size 118 3rdparty/libwebp/enc/backward_references.c p->chain_ = (int*)WebPSafeMalloc((uint64_t)size, sizeof(*p->chain_)); size 122 3rdparty/libwebp/enc/backward_references.c for (i = 0; i < size; ++i) { size 231 3rdparty/libwebp/enc/backward_references.c int size = refs->size; size 233 3rdparty/libwebp/enc/backward_references.c refs->refs[size++] = PixOrCopyCreateCopy(1, MAX_LENGTH); size 237 3rdparty/libwebp/enc/backward_references.c refs->refs[size++] = PixOrCopyCreateCopy(1, length); size 239 3rdparty/libwebp/enc/backward_references.c refs->size = size; size 248 3rdparty/libwebp/enc/backward_references.c refs->size = 0; size 250 3rdparty/libwebp/enc/backward_references.c refs->refs[refs->size++] = PixOrCopyCreateLiteral(argb[0]); size 257 3rdparty/libwebp/enc/backward_references.c refs->refs[refs->size++] = PixOrCopyCreateLiteral(argb[i]); size 286 3rdparty/libwebp/enc/backward_references.c refs->size = 0; size 322 3rdparty/libwebp/enc/backward_references.c refs->refs[refs->size] = PixOrCopyCreateCacheIdx(ix); size 324 3rdparty/libwebp/enc/backward_references.c refs->refs[refs->size] = PixOrCopyCreateLiteral(pixel); size 326 3rdparty/libwebp/enc/backward_references.c ++refs->size; size 336 3rdparty/libwebp/enc/backward_references.c refs->refs[refs->size++] = PixOrCopyCreateCopy(offset, len); size 355 3rdparty/libwebp/enc/backward_references.c refs->refs[refs->size] = PixOrCopyCreateCacheIdx(ix); size 357 3rdparty/libwebp/enc/backward_references.c refs->refs[refs->size] = PixOrCopyCreateLiteral(pixel); size 359 3rdparty/libwebp/enc/backward_references.c ++refs->size; size 627 3rdparty/libwebp/enc/backward_references.c int size = 0; size 647 3rdparty/libwebp/enc/backward_references.c refs->size = 0; size 650 3rdparty/libwebp/enc/backward_references.c for (ix = 0; ix < chosen_path_size; ++ix, ++size) { size 659 3rdparty/libwebp/enc/backward_references.c refs->refs[size] = PixOrCopyCreateCopy(offset, len); size 676 3rdparty/libwebp/enc/backward_references.c refs->refs[size] = PixOrCopyCreateCacheIdx(idx); size 678 3rdparty/libwebp/enc/backward_references.c refs->refs[size] = PixOrCopyCreateLiteral(argb[i]); size 687 3rdparty/libwebp/enc/backward_references.c assert(size <= refs->max_size); size 688 3rdparty/libwebp/enc/backward_references.c refs->size = size; size 731 3rdparty/libwebp/enc/backward_references.c for (i = 0; i < refs->size; ++i) { size 835 3rdparty/libwebp/enc/backward_references.c for (i = 0; i < refs->size; ++i) { size 187 3rdparty/libwebp/enc/backward_references.h int size; // currently used size 138 3rdparty/libwebp/enc/filter.c int hstride, int vstride, int size, size 140 3rdparty/libwebp/enc/filter.c while (size-- > 0) { size 79 3rdparty/libwebp/enc/frame.c int size; size 82 3rdparty/libwebp/enc/frame.c size = 256; // 'use_skip_proba' bit size 84 3rdparty/libwebp/enc/frame.c size += nb_events * VP8BitCost(1, proba->skip_proba_) size 86 3rdparty/libwebp/enc/frame.c size += 8 * 256; // cost of signaling the skip_proba_ itself. size 88 3rdparty/libwebp/enc/frame.c return size; size 182 3rdparty/libwebp/enc/frame.c int size = 0; size 200 3rdparty/libwebp/enc/frame.c size += VP8BitCost(use_new_p, update_proba); size 204 3rdparty/libwebp/enc/frame.c size += 8 * 256; size 213 3rdparty/libwebp/enc/frame.c return size; size 625 3rdparty/libwebp/enc/frame.c static void SetBlock(uint8_t* p, int value, int size) { size 627 3rdparty/libwebp/enc/frame.c for (y = 0; y < size; ++y) { size 628 3rdparty/libwebp/enc/frame.c memset(p, value, size); size 715 3rdparty/libwebp/enc/frame.c uint64_t size = 0; size 730 3rdparty/libwebp/enc/frame.c size += info.R; size 735 3rdparty/libwebp/enc/frame.c size += FinalizeSkipProba(enc); size 736 3rdparty/libwebp/enc/frame.c size += FinalizeTokenProbas(&enc->proba_); size 737 3rdparty/libwebp/enc/frame.c size += enc->segment_hdr_.size_; size 738 3rdparty/libwebp/enc/frame.c size = ((size + 1024) >> 11) + kHeaderSizeEstimate; size 743 3rdparty/libwebp/enc/frame.c return (int)size; size 784 3rdparty/libwebp/enc/frame.c const int size = OneStatPass(enc, q, RD_OPT_BASIC, nb_mbs, &PSNR, size 787 3rdparty/libwebp/enc/frame.c printf("#%d size=%d PSNR=%.2f q=%.2f\n", pass, size, PSNR, q); size 789 3rdparty/libwebp/enc/frame.c if (size == 0) return 0; size 793 3rdparty/libwebp/enc/frame.c criterion = (size < enc->config_->target_size); size 36 3rdparty/libwebp/enc/histogram.c for (i = 0; i < refs->size; ++i) { size 56 3rdparty/libwebp/enc/histogram.c VP8LHistogramSet* VP8LAllocateHistogramSet(int size, int cache_bits) { size 61 3rdparty/libwebp/enc/histogram.c + (uint64_t)size * sizeof(*set->histograms) size 62 3rdparty/libwebp/enc/histogram.c + (uint64_t)size * sizeof(**set->histograms); size 69 3rdparty/libwebp/enc/histogram.c memory += size * sizeof(*set->histograms); size 71 3rdparty/libwebp/enc/histogram.c set->max_size = size; size 72 3rdparty/libwebp/enc/histogram.c set->size = size; size 73 3rdparty/libwebp/enc/histogram.c for (i = 0; i < size; ++i) { size 343 3rdparty/libwebp/enc/histogram.c for (i = 0; i < backward_refs->size; ++i) { size 370 3rdparty/libwebp/enc/histogram.c int out_size = in->size; size 371 3rdparty/libwebp/enc/histogram.c const int outer_iters = in->size * iter_mult; size 379 3rdparty/libwebp/enc/histogram.c assert(in->size <= out->size); size 380 3rdparty/libwebp/enc/histogram.c for (i = 0; i < in->size; ++i) { size 432 3rdparty/libwebp/enc/histogram.c out->size = out_size; size 456 3rdparty/libwebp/enc/histogram.c for (i = 0; i < in->size; ++i) { size 461 3rdparty/libwebp/enc/histogram.c for (k = 1; k < out->size; ++k) { size 473 3rdparty/libwebp/enc/histogram.c for (i = 0; i < out->size; ++i) { size 476 3rdparty/libwebp/enc/histogram.c for (i = 0; i < in->size; ++i) { size 48 3rdparty/libwebp/enc/histogram.h int size; // number of slots currently in use size 71 3rdparty/libwebp/enc/histogram.h VP8LHistogramSet* VP8LAllocateHistogramSet(int size, int cache_bits); size 90 3rdparty/libwebp/enc/iterator.c uint8_t* dst, int w, int h, int size) { size 94 3rdparty/libwebp/enc/iterator.c if (w < size) { size 95 3rdparty/libwebp/enc/iterator.c memset(dst + w, dst[w - 1], size - w); size 100 3rdparty/libwebp/enc/iterator.c for (i = h; i < size; ++i) { size 101 3rdparty/libwebp/enc/iterator.c memcpy(dst, dst - BPS, size); size 479 3rdparty/libwebp/enc/picture.c writer->size = 0; size 490 3rdparty/libwebp/enc/picture.c next_size = (uint64_t)w->size + data_size; size 500 3rdparty/libwebp/enc/picture.c if (w->size > 0) { size 501 3rdparty/libwebp/enc/picture.c memcpy(new_mem, w->mem, w->size); size 509 3rdparty/libwebp/enc/picture.c memcpy(w->mem + w->size, data, data_size); size 510 3rdparty/libwebp/enc/picture.c w->size += data_size; size 855 3rdparty/libwebp/enc/picture.c static int is_transparent_area(const uint8_t* ptr, int stride, int size) { size 857 3rdparty/libwebp/enc/picture.c for (y = 0; y < size; ++y) { size 858 3rdparty/libwebp/enc/picture.c for (x = 0; x < size; ++x) { size 868 3rdparty/libwebp/enc/picture.c static WEBP_INLINE void flatten(uint8_t* ptr, int v, int stride, int size) { size 870 3rdparty/libwebp/enc/picture.c for (y = 0; y < size; ++y) { size 871 3rdparty/libwebp/enc/picture.c memset(ptr, v, size); size 1082 3rdparty/libwebp/enc/picture.c return wrt.size; size 408 3rdparty/libwebp/enc/syntax.c const size_t size = VP8BitWriterSize(enc->parts_ + p); size 409 3rdparty/libwebp/enc/syntax.c if (size) size 410 3rdparty/libwebp/enc/syntax.c ok = ok && pic->writer(buf, size, pic); size 189 3rdparty/libwebp/enc/vp8l.c const int histogram_image_size = histogram_image->size; size 433 3rdparty/libwebp/enc/vp8l.c for (i = 0; i < refs->size; ++i) { size 491 3rdparty/libwebp/enc/vp8l.c assert(histogram_image->size == 1); size 560 3rdparty/libwebp/enc/vp8l.c histogram_image_size = histogram_image->size; size 189 3rdparty/libwebp/enc/webpenc.c const uint64_t size = (uint64_t)sizeof(VP8Encoder) // main struct size 210 3rdparty/libwebp/enc/webpenc.c preds_size, samples_size, nz_size, lf_stats_size, size); size 224 3rdparty/libwebp/enc/webpenc.c mem = (uint8_t*)WebPSafeMalloc(size, sizeof(*mem)); size 302 3rdparty/libwebp/enc/webpenc.c static double GetPSNR(uint64_t err, uint64_t size) { size 303 3rdparty/libwebp/enc/webpenc.c return err ? 10. * log10(255. * 255. * size / err) : 99.; size 308 3rdparty/libwebp/enc/webpenc.c const uint64_t size = enc->sse_count_; size 310 3rdparty/libwebp/enc/webpenc.c stats->PSNR[0] = (float)GetPSNR(sse[0], size); size 311 3rdparty/libwebp/enc/webpenc.c stats->PSNR[1] = (float)GetPSNR(sse[1], size / 4); size 312 3rdparty/libwebp/enc/webpenc.c stats->PSNR[2] = (float)GetPSNR(sse[2], size / 4); size 313 3rdparty/libwebp/enc/webpenc.c stats->PSNR[3] = (float)GetPSNR(sse[0] + sse[1] + sse[2], size * 3 / 2); size 314 3rdparty/libwebp/enc/webpenc.c stats->PSNR[4] = (float)GetPSNR(sse[3], size); size 91 3rdparty/libwebp/mux/muxedit.c if (idx == IDX_UNKNOWN && data->size > TAG_SIZE) { size 94 3rdparty/libwebp/mux/muxedit.c const WebPData tmp = { data->bytes + TAG_SIZE, data->size - TAG_SIZE }; size 104 3rdparty/libwebp/mux/muxedit.c const uint8_t* data, size_t size, size 107 3rdparty/libwebp/mux/muxedit.c const WebPData chunk_data = { data, size }; size 109 3rdparty/libwebp/mux/muxedit.c assert(size <= MAX_CHUNK_PAYLOAD); size 122 3rdparty/libwebp/mux/muxedit.c const size_t frame_frgm_size = kChunks[is_frame ? IDX_ANMF : IDX_FRGM].size; size 125 3rdparty/libwebp/mux/muxedit.c VP8LGetInfo(image->bytes, image->size, &width, &height, NULL) : size 126 3rdparty/libwebp/mux/muxedit.c VP8GetInfo(image->bytes, image->size, image->size, &width, &height); size 147 3rdparty/libwebp/mux/muxedit.c frame_frgm->size = frame_frgm_size; size 158 3rdparty/libwebp/mux/muxedit.c if (bitstream->size < TAG_SIZE || size 175 3rdparty/libwebp/mux/muxedit.c *is_lossless = VP8LCheckSignature(image->bytes, image->size); size 216 3rdparty/libwebp/mux/muxedit.c chunk_data->bytes == NULL || chunk_data->size > MAX_CHUNK_PAYLOAD) { size 272 3rdparty/libwebp/mux/muxedit.c bitstream->size > MAX_CHUNK_PAYLOAD) { size 317 3rdparty/libwebp/mux/muxedit.c if (bitstream->bytes == NULL || bitstream->size > MAX_CHUNK_PAYLOAD) { size 419 3rdparty/libwebp/mux/muxedit.c if (data->size != expected_data_size) return WEBP_MUX_INVALID_ARGUMENT; size 436 3rdparty/libwebp/mux/muxedit.c VP8GetInfo(data->bytes, data->size, data->size, &w, &h) : size 437 3rdparty/libwebp/mux/muxedit.c VP8LGetInfo(data->bytes, data->size, &w, &h, NULL); size 633 3rdparty/libwebp/mux/muxedit.c size_t size = 0; size 649 3rdparty/libwebp/mux/muxedit.c size = ChunksListDiskSize(mux->vp8x_) + ChunksListDiskSize(mux->iccp_) size 654 3rdparty/libwebp/mux/muxedit.c data = (uint8_t*)malloc(size); size 658 3rdparty/libwebp/mux/muxedit.c dst = MuxEmitRiffHeader(data, size); size 666 3rdparty/libwebp/mux/muxedit.c assert(dst == data + size); size 673 3rdparty/libwebp/mux/muxedit.c size = 0; size 678 3rdparty/libwebp/mux/muxedit.c assembled_data->size = size; size 93 3rdparty/libwebp/mux/muxi.h uint32_t size; size 143 3rdparty/libwebp/mux/muxi.h const size_t data_size = chunk->data_.size; size 231 3rdparty/libwebp/mux/muxi.h uint8_t* MuxEmitRiffHeader(uint8_t* const data, size_t size); size 195 3rdparty/libwebp/mux/muxinternal.c size_t size = 0; size 197 3rdparty/libwebp/mux/muxinternal.c size += ChunkDiskSize(chunk_list); size 200 3rdparty/libwebp/mux/muxinternal.c return size; size 204 3rdparty/libwebp/mux/muxinternal.c const size_t chunk_size = chunk->data_.size; size 358 3rdparty/libwebp/mux/muxinternal.c size_t size = 0; size 359 3rdparty/libwebp/mux/muxinternal.c if (wpi->header_ != NULL) size += ChunkDiskSize(wpi->header_); size 360 3rdparty/libwebp/mux/muxinternal.c if (wpi->alpha_ != NULL) size += ChunkDiskSize(wpi->alpha_); size 361 3rdparty/libwebp/mux/muxinternal.c if (wpi->img_ != NULL) size += ChunkDiskSize(wpi->img_); size 362 3rdparty/libwebp/mux/muxinternal.c return size; size 366 3rdparty/libwebp/mux/muxinternal.c size_t size = 0; size 368 3rdparty/libwebp/mux/muxinternal.c size += MuxImageDiskSize(wpi_list); size 371 3rdparty/libwebp/mux/muxinternal.c return size; size 377 3rdparty/libwebp/mux/muxinternal.c const size_t header_size = header->data_.size; size 427 3rdparty/libwebp/mux/muxinternal.c uint8_t* MuxEmitRiffHeader(uint8_t* const data, size_t size) { size 429 3rdparty/libwebp/mux/muxinternal.c PutLE32(data + TAG_SIZE, (uint32_t)size - CHUNK_HEADER_SIZE); size 430 3rdparty/libwebp/mux/muxinternal.c assert(size == (uint32_t)size); size 75 3rdparty/libwebp/mux/muxread.c chunk_data.size = chunk_size; size 82 3rdparty/libwebp/mux/muxread.c size_t size = chunk->data_.size; size 83 3rdparty/libwebp/mux/muxread.c const uint8_t* const last = bytes + size; size 99 3rdparty/libwebp/mux/muxread.c if (size < hdr_size) goto Fail; size 108 3rdparty/libwebp/mux/muxread.c size -= subchunk_size; size 112 3rdparty/libwebp/mux/muxread.c if (ChunkVerifyAndAssign(&subchunk, bytes, size, size, size 132 3rdparty/libwebp/mux/muxread.c size -= subchunk_size; size 153 3rdparty/libwebp/mux/muxread.c size_t size; size 164 3rdparty/libwebp/mux/muxread.c size = bitstream->size; size 167 3rdparty/libwebp/mux/muxread.c if (size < RIFF_HEADER_SIZE) return NULL; size 176 3rdparty/libwebp/mux/muxread.c if (size < RIFF_HEADER_SIZE + TAG_SIZE) goto Err; size 186 3rdparty/libwebp/mux/muxread.c if (riff_size > MAX_CHUNK_PAYLOAD || riff_size > size) { size 189 3rdparty/libwebp/mux/muxread.c if (riff_size < size) { // Redundant data after last chunk. size 190 3rdparty/libwebp/mux/muxread.c size = riff_size; // To make sure we don't read any data beyond mux_size. size 194 3rdparty/libwebp/mux/muxread.c end = data + size; size 196 3rdparty/libwebp/mux/muxread.c size -= RIFF_HEADER_SIZE; size 207 3rdparty/libwebp/mux/muxread.c if (ChunkVerifyAndAssign(&chunk, data, size, riff_size, size 245 3rdparty/libwebp/mux/muxread.c size -= data_size; size 273 3rdparty/libwebp/mux/muxread.c if (data.size < CHUNK_SIZE_BYTES) return WEBP_MUX_BAD_DATA; size 281 3rdparty/libwebp/mux/muxread.c if (!VP8LGetInfo(vp8l_data->bytes, vp8l_data->size, NULL, NULL, size 318 3rdparty/libwebp/mux/muxread.c const size_t size = RIFF_HEADER_SIZE + vp8x_size + alpha_size + size 320 3rdparty/libwebp/mux/muxread.c uint8_t* const data = (uint8_t*)malloc(size); size 324 3rdparty/libwebp/mux/muxread.c dst = MuxEmitRiffHeader(data, size); size 341 3rdparty/libwebp/mux/muxread.c assert(dst == data + size); size 345 3rdparty/libwebp/mux/muxread.c bitstream->size = size; size 391 3rdparty/libwebp/mux/muxread.c if (frame_frgm_data->size < kChunks[idx].size) return WEBP_MUX_BAD_DATA; size 434 3rdparty/libwebp/mux/muxread.c if (anim.size < kChunks[WEBP_CHUNK_ANIM].size) return WEBP_MUX_BAD_DATA; size 179 3rdparty/libwebp/utils/bit_writer.c const uint8_t* data, size_t size) { size 182 3rdparty/libwebp/utils/bit_writer.c if (!BitWriterResize(bw, size)) return 0; size 183 3rdparty/libwebp/utils/bit_writer.c memcpy(bw->buf_ + bw->pos_, data, size); size 184 3rdparty/libwebp/utils/bit_writer.c bw->pos_ += size; size 53 3rdparty/libwebp/utils/bit_writer.h const uint8_t* data, size_t size); size 25 3rdparty/libwebp/utils/utils.c static int CheckSizeArgumentsOverflow(uint64_t nmemb, size_t size) { size 26 3rdparty/libwebp/utils/utils.c const uint64_t total_size = nmemb * size; size 28 3rdparty/libwebp/utils/utils.c if ((uint64_t)size > WEBP_MAX_ALLOCABLE_MEMORY / nmemb) return 0; size 33 3rdparty/libwebp/utils/utils.c void* WebPSafeMalloc(uint64_t nmemb, size_t size) { size 34 3rdparty/libwebp/utils/utils.c if (!CheckSizeArgumentsOverflow(nmemb, size)) return NULL; size 35 3rdparty/libwebp/utils/utils.c assert(nmemb * size > 0); size 36 3rdparty/libwebp/utils/utils.c return malloc((size_t)(nmemb * size)); size 39 3rdparty/libwebp/utils/utils.c void* WebPSafeCalloc(uint64_t nmemb, size_t size) { size 40 3rdparty/libwebp/utils/utils.c if (!CheckSizeArgumentsOverflow(nmemb, size)) return NULL; size 41 3rdparty/libwebp/utils/utils.c assert(nmemb * size > 0); size 42 3rdparty/libwebp/utils/utils.c return calloc((size_t)nmemb, size); size 38 3rdparty/libwebp/utils/utils.h void* WebPSafeMalloc(uint64_t nmemb, size_t size); size 41 3rdparty/libwebp/utils/utils.h void* WebPSafeCalloc(uint64_t nmemb, size_t size); size 180 3rdparty/libwebp/webp/decode.h size_t size; // total size of the *rgba buffer. size 215 3rdparty/libwebp/webp/encode.h size_t size; // final size size 52 3rdparty/libwebp/webp/mux_types.h size_t size; size 76 3rdparty/libwebp/webp/mux_types.h if (src->bytes != NULL && src->size != 0) { size 77 3rdparty/libwebp/webp/mux_types.h dst->bytes = (uint8_t*)malloc(src->size); size 79 3rdparty/libwebp/webp/mux_types.h memcpy((void*)dst->bytes, src->bytes, src->size); size 80 3rdparty/libwebp/webp/mux_types.h dst->size = src->size; size 85 3rdparty/openexr/IlmImf/ImfArray.h Array (long size) {_data = new T[size];} size 109 3rdparty/openexr/IlmImf/ImfArray.h void resizeErase (long size); size 110 3rdparty/openexr/IlmImf/ImfArray.h void resizeEraseUnsafe (long size); size 176 3rdparty/openexr/IlmImf/ImfArray.h Array<T>::resizeErase (long size) size 178 3rdparty/openexr/IlmImf/ImfArray.h T *tmp = new T[size]; size 186 3rdparty/openexr/IlmImf/ImfArray.h Array<T>::resizeEraseUnsafe (long size) size 190 3rdparty/openexr/IlmImf/ImfArray.h _data = new T[size]; size 88 3rdparty/openexr/IlmImf/ImfAttribute.h int size, size 193 3rdparty/openexr/IlmImf/ImfAttribute.h int size, size 59 3rdparty/openexr/IlmImf/ImfAutoArray.h template <class T, int size> size 64 3rdparty/openexr/IlmImf/ImfAutoArray.h AutoArray (): _data (new T [size]) { memset(_data, 0, size*sizeof(T)); } size 79 3rdparty/openexr/IlmImf/ImfAutoArray.h template <class T, int size> size 89 3rdparty/openexr/IlmImf/ImfAutoArray.h T _data[size]; size 463 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp int size; size 529 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp _channelData[i].size = size 673 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp tmpBufferEnd += cd.nx * cd.ny * cd.size; size 704 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp int n = cd.nx * cd.size; size 733 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp int n = cd.nx * cd.size; size 777 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp int n = cd.nx * cd.ny * cd.size * sizeof (unsigned short); size 906 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp tmpBufferEnd += cd.nx * cd.ny * cd.size; size 919 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp int n = cd.nx * cd.ny * cd.size * sizeof (unsigned short); size 1021 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp int n = cd.nx * cd.size; size 1044 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp int n = cd.nx * cd.size; size 225 3rdparty/openexr/IlmImf/ImfChannelList.cpp if (pos != string::npos && pos != 0 && pos + 1 < layerName.size()) size 1004 3rdparty/openexr/IlmImf/ImfHeader.cpp int size; size 1008 3rdparty/openexr/IlmImf/ImfHeader.cpp Xdr::read <StreamIO> (is, size); size 1024 3rdparty/openexr/IlmImf/ImfHeader.cpp i->second->readValueFrom (is, size, version); size 1045 3rdparty/openexr/IlmImf/ImfHeader.cpp attr->readValueFrom (is, size, version); size 260 3rdparty/openexr/IlmImf/ImfInputFile.cpp int size = pixelTypeSize (toSlice.type); size 296 3rdparty/openexr/IlmImf/ImfInputFile.cpp for (size_t i = 0; i < size; ++i) size 63 3rdparty/openexr/IlmImf/ImfMisc.cpp int size; size 69 3rdparty/openexr/IlmImf/ImfMisc.cpp size = Xdr::size <unsigned int> (); size 74 3rdparty/openexr/IlmImf/ImfMisc.cpp size = Xdr::size <half> (); size 79 3rdparty/openexr/IlmImf/ImfMisc.cpp size = Xdr::size <float> (); size 87 3rdparty/openexr/IlmImf/ImfMisc.cpp return size; size 137 3rdparty/openexr/IlmImf/ImfMisc.cpp offsetInLineBuffer.resize (bytesPerLine.size()); size 141 3rdparty/openexr/IlmImf/ImfMisc.cpp for (int i = 0; i < bytesPerLine.size(); ++i) size 537 3rdparty/openexr/IlmImf/ImfMisc.cpp Xdr::skip <CharPtrIO> (readPtr, Xdr::size <unsigned int> () * xSize); size 542 3rdparty/openexr/IlmImf/ImfMisc.cpp Xdr::skip <CharPtrIO> (readPtr, Xdr::size <half> () * xSize); size 547 3rdparty/openexr/IlmImf/ImfMisc.cpp Xdr::skip <CharPtrIO> (readPtr, Xdr::size <float> () * xSize); size 58 3rdparty/openexr/IlmImf/ImfMultiView.cpp while (name.size() > 0) size 67 3rdparty/openexr/IlmImf/ImfMultiView.cpp while (sec.size() > 0 && sec[0] == ' ') size 74 3rdparty/openexr/IlmImf/ImfMultiView.cpp while (sec.size() > 0 && sec[sec.size() - 1] == ' ') size 75 3rdparty/openexr/IlmImf/ImfMultiView.cpp sec.erase (sec.size() - 1); size 104 3rdparty/openexr/IlmImf/ImfMultiView.cpp for (int i = 0; i < multiView.size(); ++i) size 119 3rdparty/openexr/IlmImf/ImfMultiView.cpp if (multiView.size() > 0) size 141 3rdparty/openexr/IlmImf/ImfMultiView.cpp if (s.size() == 0) size 144 3rdparty/openexr/IlmImf/ImfMultiView.cpp if (s.size() == 1) size 163 3rdparty/openexr/IlmImf/ImfMultiView.cpp const string &viewName = s[s.size() - 2]; size 231 3rdparty/openexr/IlmImf/ImfMultiView.cpp unsigned int size1 = chan1.size(); // number of SECTIONS in string size 235 3rdparty/openexr/IlmImf/ImfMultiView.cpp unsigned int size2 = chan2.size(); size 365 3rdparty/openexr/IlmImf/ImfMultiView.cpp if (s.size() == 0) size 368 3rdparty/openexr/IlmImf/ImfMultiView.cpp if (s.size() == 1 && i == 0) size 384 3rdparty/openexr/IlmImf/ImfMultiView.cpp for (int j = 0; j < s.size(); ++j) size 386 3rdparty/openexr/IlmImf/ImfMultiView.cpp if (j < s.size() - 1) size 97 3rdparty/openexr/IlmImf/ImfOpaqueAttribute.cpp OpaqueAttribute::readValueFrom (IStream &is, int size, int) size 99 3rdparty/openexr/IlmImf/ImfOpaqueAttribute.cpp _data.resizeErase (size); size 100 3rdparty/openexr/IlmImf/ImfOpaqueAttribute.cpp _dataSize = size; size 101 3rdparty/openexr/IlmImf/ImfOpaqueAttribute.cpp Xdr::read <StreamIO> (is, _data, size); size 93 3rdparty/openexr/IlmImf/ImfOpaqueAttribute.h int size, size 231 3rdparty/openexr/IlmImf/ImfOutputFile.cpp for (size_t i = 0; i < lineBuffers.size(); i++) size 239 3rdparty/openexr/IlmImf/ImfOutputFile.cpp return lineBuffers[number % lineBuffers.size()]; size 254 3rdparty/openexr/IlmImf/ImfOutputFile.cpp for (unsigned int i = 0; i < lineOffsets.size(); i++) size 293 3rdparty/openexr/IlmImf/ImfOutputFile.cpp Xdr::size<int>() + size 294 3rdparty/openexr/IlmImf/ImfOutputFile.cpp Xdr::size<int>() + size 365 3rdparty/openexr/IlmImf/ImfOutputFile.cpp for (unsigned int i = 0; i < ofd->slices.size(); ++i) size 512 3rdparty/openexr/IlmImf/ImfOutputFile.cpp for (unsigned int i = 0; i < _ofd->slices.size(); ++i) size 727 3rdparty/openexr/IlmImf/ImfOutputFile.cpp for (size_t i = 0; i < _data->lineBuffers.size(); ++i) size 740 3rdparty/openexr/IlmImf/ImfOutputFile.cpp for (size_t i = 0; i < _data->lineBuffers.size(); i++) size 912 3rdparty/openexr/IlmImf/ImfOutputFile.cpp if (_data->slices.size() == 0) size 956 3rdparty/openexr/IlmImf/ImfOutputFile.cpp int numTasks = max (min ((int)_data->lineBuffers.size(), size 979 3rdparty/openexr/IlmImf/ImfOutputFile.cpp int numTasks = max (min ((int)_data->lineBuffers.size(), size 1108 3rdparty/openexr/IlmImf/ImfOutputFile.cpp for (int i = 0; i < _data->lineBuffers.size(); ++i) size 166 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp int size; size 359 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp cd.size = pixelTypeSize (c.channel().type) / pixelTypeSize (HALF); size 361 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp tmpBufferEnd += cd.nx * cd.ny * cd.size; size 379 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp for (int x = cd.nx * cd.size; x > 0; --x) size 402 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp int n = cd.nx * cd.size; size 459 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp for (int j = 0; j < cd.size; ++j) size 462 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp cd.nx, cd.size, size 463 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp cd.ny, cd.nx * cd.size, size 535 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp cd.size = pixelTypeSize (c.channel().type) / pixelTypeSize (HALF); size 537 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp tmpBufferEnd += cd.nx * cd.ny * cd.size; size 585 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp for (int j = 0; j < cd.size; ++j) size 588 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp cd.nx, cd.size, size 589 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp cd.ny, cd.nx * cd.size, size 621 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp for (int x = cd.nx * cd.size; x > 0; --x) size 644 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp int n = cd.nx * cd.size; size 155 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp cachePadding (ptrdiff_t size) size 175 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp while ((size >> i) > 1) size 178 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp if (size > (1 << (i + 1)) - 64) size 179 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp return 64 + ((1 << (i + 1)) - size); size 181 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp if (size < (1 << i) + 64) size 182 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp return 64 + ((1 << i) - size); size 228 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp for (size_t i = 0; i < lineBuffers.size(); i++) size 236 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp return lineBuffers[lineBufferNumber % lineBuffers.size()]; size 252 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp for (unsigned int i = 0; i < lineOffsets.size(); i++) size 267 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp lineOffsets[lineOffsets.size() - i - 1] = lineOffset; size 291 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp for (unsigned int i = 0; i < lineOffsets.size(); i++) size 298 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp for (unsigned int i = 0; i < lineOffsets.size(); i++) size 516 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp for (unsigned int i = 0; i < _ifd->slices.size(); ++i) size 685 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp for (size_t i = 0; i < _data->lineBuffers.size(); i++) size 699 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp for (size_t i = 0; i < _data->lineBuffers.size(); i++) size 729 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp for (size_t i = 0; i < _data->lineBuffers.size(); i++) size 878 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp if (_data->slices.size() == 0) size 962 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp for (int i = 0; i < _data->lineBuffers.size(); ++i) size 61 3rdparty/openexr/IlmImf/ImfStringAttribute.cpp int size = _value.size(); size 63 3rdparty/openexr/IlmImf/ImfStringAttribute.cpp for (int i = 0; i < size; i++) size 70 3rdparty/openexr/IlmImf/ImfStringAttribute.cpp StringAttribute::readValueFrom (IStream &is, int size, int) size 72 3rdparty/openexr/IlmImf/ImfStringAttribute.cpp _value.resize (size); size 74 3rdparty/openexr/IlmImf/ImfStringAttribute.cpp for (int i = 0; i < size; i++) size 60 3rdparty/openexr/IlmImf/ImfStringVectorAttribute.cpp int size = _value.size(); size 62 3rdparty/openexr/IlmImf/ImfStringVectorAttribute.cpp for (int i = 0; i < size; i++) size 64 3rdparty/openexr/IlmImf/ImfStringVectorAttribute.cpp int strSize = _value[i].size(); size 73 3rdparty/openexr/IlmImf/ImfStringVectorAttribute.cpp StringVectorAttribute::readValueFrom (IStream &is, int size, int) size 77 3rdparty/openexr/IlmImf/ImfStringVectorAttribute.cpp while (read < size) size 81 3rdparty/openexr/IlmImf/ImfStringVectorAttribute.cpp read += Xdr::size<int>(); size 65 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp for (unsigned int l = 0; l < _offsets.size(); ++l) size 69 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp for (unsigned int dy = 0; dy < _offsets[l].size(); ++dy) size 87 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp for (unsigned int dy = 0; dy < _offsets[l].size(); ++dy) size 101 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp for (unsigned int l = 0; l < _offsets.size(); ++l) size 102 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp for (unsigned int dy = 0; dy < _offsets[l].size(); ++dy) size 103 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp for (unsigned int dx = 0; dx < _offsets[l][dy].size(); ++dx) size 114 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp for (unsigned int l = 0; l < _offsets.size(); ++l) size 116 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp for (unsigned int dy = 0; dy < _offsets[l].size(); ++dy) size 118 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp for (unsigned int dx = 0; dx < _offsets[l][dy].size(); ++dx) size 185 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp for (unsigned int l = 0; l < _offsets.size(); ++l) size 186 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp for (unsigned int dy = 0; dy < _offsets[l].size(); ++dy) size 187 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp for (unsigned int dx = 0; dx < _offsets[l][dy].size(); ++dx) size 231 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp for (unsigned int l = 0; l < _offsets.size(); ++l) size 232 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp for (unsigned int dy = 0; dy < _offsets[l].size(); ++dy) size 233 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp for (unsigned int dx = 0; dx < _offsets[l][dy].size(); ++dx) size 243 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp for (unsigned int l = 0; l < _offsets.size(); ++l) size 244 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp for (unsigned int dy = 0; dy < _offsets[l].size(); ++dy) size 245 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp for (unsigned int dx = 0; dx < _offsets[l][dy].size(); ++dx) size 261 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp _offsets.size() > 0 && size 262 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp _offsets[0].size() > dy && size 263 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp _offsets[0][dy].size() > dx) size 274 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp _offsets.size() > lx && size 275 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp _offsets[lx].size() > dy && size 276 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp _offsets[lx][dy].size() > dx) size 287 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp _offsets.size() > lx + ly * _numXLevels && size 288 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp _offsets[lx + ly * _numXLevels].size() > dy && size 289 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp _offsets[lx + ly * _numXLevels][dy].size() > dx) size 263 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp for (size_t i = 0; i < tileBuffers.size(); i++) size 271 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp return tileBuffers[number % tileBuffers.size()]; size 351 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp ifd->currentPosition = tileOffset + 5 * Xdr::size<int>() + dataSize; size 391 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp ifd->currentPosition += 5 * Xdr::size<int>() + dataSize; size 510 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp for (unsigned int i = 0; i < _ifd->slices.size(); ++i) size 753 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp for (size_t i = 0; i < _data->tileBuffers.size(); i++) size 780 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp for (size_t i = 0; i < _data->tileBuffers.size(); i++) size 953 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp if (_data->slices.size() == 0) size 1029 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp for (int i = 0; i < _data->tileBuffers.size(); ++i) size 63 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp int size = a / b; size 65 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp if (rmode == ROUND_UP && size * b < a) size 66 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp size += 1; size 68 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp return std::max (size, 1); size 263 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp int size, size 268 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp numTiles[i] = (levelSize (min, max, i, rmode) + size - 1) / size; size 172 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp BufferedTile (const char *data, int size): size 174 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp pixelDataSize(size) size 315 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp for (size_t i = 0; i < tileBuffers.size(); i++) size 323 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp return tileBuffers[number % tileBuffers.size()]; size 471 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp 5 * Xdr::size<int>() + size 614 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp for (unsigned int i = 0; i < ofd->slices.size(); ++i) size 729 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp for (unsigned int i = 0; i < _ofd->slices.size(); ++i) size 941 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp for (size_t i = 0; i < _data->tileBuffers.size(); i++) size 1108 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp if (_data->slices.size() == 0) size 1138 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp int numTasks = min ((int)_data->tileBuffers.size(), numTiles); size 1268 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp for (int i = 0; i < _data->tileBuffers.size(); ++i) size 287 3rdparty/openexr/IlmImf/ImfXdr.h size (); size 898 3rdparty/openexr/IlmImf/ImfXdr.h template <> inline int size <bool> () {return 1;} size 899 3rdparty/openexr/IlmImf/ImfXdr.h template <> inline int size <char> () {return 1;} size 900 3rdparty/openexr/IlmImf/ImfXdr.h template <> inline int size <signed char> () {return 1;} size 901 3rdparty/openexr/IlmImf/ImfXdr.h template <> inline int size <unsigned char> () {return 1;} size 902 3rdparty/openexr/IlmImf/ImfXdr.h template <> inline int size <signed short> () {return 2;} size 903 3rdparty/openexr/IlmImf/ImfXdr.h template <> inline int size <unsigned short> () {return 2;} size 904 3rdparty/openexr/IlmImf/ImfXdr.h template <> inline int size <signed int> () {return 4;} size 905 3rdparty/openexr/IlmImf/ImfXdr.h template <> inline int size <unsigned int> () {return 4;} size 906 3rdparty/openexr/IlmImf/ImfXdr.h template <> inline int size <signed long> () {return 8;} size 907 3rdparty/openexr/IlmImf/ImfXdr.h template <> inline int size <unsigned long> () {return 8;} size 908 3rdparty/openexr/IlmImf/ImfXdr.h template <> inline int size <float> () {return 4;} size 909 3rdparty/openexr/IlmImf/ImfXdr.h template <> inline int size <double> () {return 8;} size 910 3rdparty/openexr/IlmImf/ImfXdr.h template <> inline int size <half> () {return 2;} size 110 3rdparty/openexr/Imath/ImathBox.h T size () const; size 259 3rdparty/openexr/Imath/ImathBox.h Box<T>::size() const size 322 3rdparty/openexr/Imath/ImathBox.h T s = size(); size 381 3rdparty/openexr/Imath/ImathBox.h Vec2<T> size() const; size 517 3rdparty/openexr/Imath/ImathBox.h Box<Vec2<T> >::size() const size 574 3rdparty/openexr/Imath/ImathBox.h Vec2<T> s = size(); size 623 3rdparty/openexr/Imath/ImathBox.h Vec3<T> size() const; size 774 3rdparty/openexr/Imath/ImathBox.h Box<Vec3<T> >::size() const size 834 3rdparty/openexr/Imath/ImathBox.h Vec3<T> s = size(); size 95 3rdparty/openexr/Imath/ImathInterval.h T size() const; size 197 3rdparty/openexr/Imath/ImathInterval.h Interval<T>::size() const size 87 3rdparty/zlib/deflate.c local int read_buf OF((z_streamp strm, Bytef *buf, unsigned size)); size 1076 3rdparty/zlib/deflate.c local int read_buf(strm, buf, size) size 1079 3rdparty/zlib/deflate.c unsigned size; size 1083 3rdparty/zlib/deflate.c if (len > size) len = size; size 113 3rdparty/zlib/gzguts.h extern voidp malloc OF((uInt size)); size 171 3rdparty/zlib/gzguts.h unsigned size; /* buffer size, zero if not allocated yet */ size 114 3rdparty/zlib/gzlib.c state->size = 0; /* no buffers allocated yet */ size 314 3rdparty/zlib/gzlib.c int ZEXPORT gzbuffer(file, size) size 316 3rdparty/zlib/gzlib.c unsigned size; size 328 3rdparty/zlib/gzlib.c if (state->size != 0) size 332 3rdparty/zlib/gzlib.c if (size < 2) size 333 3rdparty/zlib/gzlib.c size = 2; /* need two bytes to check magic header */ size 334 3rdparty/zlib/gzlib.c state->want = size; size 69 3rdparty/zlib/gzread.c state->size - strm->avail_in, &got) == -1) size 92 3rdparty/zlib/gzread.c if (state->size == 0) { size 104 3rdparty/zlib/gzread.c state->size = state->want; size 115 3rdparty/zlib/gzread.c state->size = 0; size 240 3rdparty/zlib/gzread.c if (gz_load(state, state->out, state->size << 1, &(state->x.have)) size 246 3rdparty/zlib/gzread.c strm->avail_out = state->size << 1; size 345 3rdparty/zlib/gzread.c else if (state->how == LOOK || len < (state->size << 1)) { size 453 3rdparty/zlib/gzread.c state->x.next = state->out + (state->size << 1) - 1; size 461 3rdparty/zlib/gzread.c if (state->x.have == (state->size << 1)) { size 469 3rdparty/zlib/gzread.c unsigned char *dest = state->out + (state->size << 1); size 583 3rdparty/zlib/gzread.c if (state->size) { size 53 3rdparty/zlib/gzwrite.c state->size = state->want; size 57 3rdparty/zlib/gzwrite.c strm->avail_out = state->size; size 79 3rdparty/zlib/gzwrite.c if (state->size == 0 && gz_init(state) == -1) size 107 3rdparty/zlib/gzwrite.c strm->avail_out = state->size; size 148 3rdparty/zlib/gzwrite.c n = GT_OFF(state->size) || (z_off64_t)state->size > len ? size 149 3rdparty/zlib/gzwrite.c (unsigned)len : state->size; size 196 3rdparty/zlib/gzwrite.c if (state->size == 0 && gz_init(state) == -1) size 207 3rdparty/zlib/gzwrite.c if (len < state->size) { size 215 3rdparty/zlib/gzwrite.c copy = state->size - have; size 273 3rdparty/zlib/gzwrite.c if (state->size) { size 277 3rdparty/zlib/gzwrite.c if (have < state->size) { size 312 3rdparty/zlib/gzwrite.c int size, len; size 327 3rdparty/zlib/gzwrite.c if (state->size == 0 && gz_init(state) == -1) size 342 3rdparty/zlib/gzwrite.c size = (int)(state->size); size 343 3rdparty/zlib/gzwrite.c state->in[size - 1] = 0; size 347 3rdparty/zlib/gzwrite.c for (len = 0; len < size; len++) size 354 3rdparty/zlib/gzwrite.c (void)vsnprintf((char *)(state->in), size, format, va); size 357 3rdparty/zlib/gzwrite.c len = vsnprintf((char *)(state->in), size, format, va); size 362 3rdparty/zlib/gzwrite.c if (len <= 0 || len >= (int)size || state->in[size - 1] != 0) size 393 3rdparty/zlib/gzwrite.c int size, len; size 412 3rdparty/zlib/gzwrite.c if (state->size == 0 && gz_init(state) == -1) size 427 3rdparty/zlib/gzwrite.c size = (int)(state->size); size 428 3rdparty/zlib/gzwrite.c state->in[size - 1] = 0; size 433 3rdparty/zlib/gzwrite.c for (len = 0; len < size; len++) size 441 3rdparty/zlib/gzwrite.c snprintf((char *)(state->in), size, format, a1, a2, a3, a4, a5, a6, a7, a8, size 445 3rdparty/zlib/gzwrite.c len = snprintf((char *)(state->in), size, format, a1, a2, a3, a4, a5, a6, size 452 3rdparty/zlib/gzwrite.c if (len <= 0 || len >= (int)size || state->in[size - 1] != 0) size 527 3rdparty/zlib/gzwrite.c if (state->size) { size 564 3rdparty/zlib/gzwrite.c if (state->size) { size 327 3rdparty/zlib/inflate.c unsigned low, size; size 340 3rdparty/zlib/inflate.c size = 1U << 9; size 341 3rdparty/zlib/inflate.c printf(" static const code lenfix[%u] = {", size); size 347 3rdparty/zlib/inflate.c if (++low == size) break; size 351 3rdparty/zlib/inflate.c size = 1U << 5; size 352 3rdparty/zlib/inflate.c printf("\n static const code distfix[%u] = {", size); size 358 3rdparty/zlib/inflate.c if (++low == size) break; size 80 3rdparty/zlib/zlib.h typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size)); size 1287 3rdparty/zlib/zlib.h ZEXTERN int ZEXPORT gzbuffer OF((gzFile file, unsigned size)); size 220 3rdparty/zlib/zutil.c voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, unsigned items, unsigned size) size 223 3rdparty/zlib/zutil.c ulg bsize = (ulg)items*size; size 279 3rdparty/zlib/zutil.c voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, uInt items, uInt size) size 282 3rdparty/zlib/zutil.c return _halloc((long)items, size); size 299 3rdparty/zlib/zutil.c extern voidp malloc OF((uInt size)); size 300 3rdparty/zlib/zutil.c extern voidp calloc OF((uInt items, uInt size)); size 304 3rdparty/zlib/zutil.c voidpf ZLIB_INTERNAL zcalloc (opaque, items, size) size 307 3rdparty/zlib/zutil.c unsigned size; size 309 3rdparty/zlib/zutil.c if (opaque) items += size - size; /* make compiler happy */ size 310 3rdparty/zlib/zutil.c return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) : size 311 3rdparty/zlib/zutil.c (voidpf)calloc(items, size); size 240 3rdparty/zlib/zutil.h unsigned size)); size 244 3rdparty/zlib/zutil.h #define ZALLOC(strm, items, size) \ size 245 3rdparty/zlib/zutil.h (*((strm)->zalloc))((strm)->opaque, (items), (size)) size 192 apps/annotation/opencv_annotation.cpp for (size_t i = 0; i < filenames.size(); i++){ size 103 apps/traincascade/HOGfeatures.cpp numFeatures = (int)features.size(); size 162 apps/traincascade/HOGfeatures.cpp Size gradSize(img.size()); size 163 apps/traincascade/HOGfeatures.cpp Size histSize(histogram[0].size()); size 98 apps/traincascade/boost.cpp static inline int cvAlign( int size, int align ) size 100 apps/traincascade/boost.cpp CV_DbgAssert( (align & (align-1)) == 0 && size < INT_MAX ); size 101 apps/traincascade/boost.cpp return (size + align - 1) & -align; size 986 apps/traincascade/boost.cpp int size = (int)pow( 2.f, (float)ensemble->get_params().max_depth); size 987 apps/traincascade/boost.cpp std::vector<float> leafVals(size); size 1062 apps/traincascade/boost.cpp for( size_t i = 0; i < rnode.size()/step; i++ ) size 194 apps/traincascade/cascadeclassifier.cpp int startNumStages = (int)stageClassifiers.size(); size 277 apps/traincascade/cascadeclassifier.cpp if(stageClassifiers.size() == 0) size 399 apps/traincascade/cascadeclassifier.cpp for( int i = 0; i < min( (int)rnode.size(), numStages ); i++, it++ ) size 438 apps/traincascade/cascadeclassifier.cpp fs << CC_STAGE_NUM << (int)stageClassifiers.size(); size 451 apps/traincascade/cascadeclassifier.cpp for( size_t si = 0; si < stageClassifiers.size(); si++ ) size 116 apps/traincascade/haarfeatures.cpp CV_DbgAssert( fi < (int)features.size() ); size 243 apps/traincascade/haarfeatures.cpp numFeatures = (int)features.size(); size 53 apps/traincascade/imagestorage.cpp size_t count = imgFilenames.size(); size 44 apps/traincascade/lbpfeatures.cpp numFeatures = (int)features.size(); size 1258 apps/traincascade/old_ml_inner_functions.cpp CvSize size, int* idx ) size 1279 apps/traincascade/old_ml_inner_functions.cpp if( !idx && CV_ELEM_SIZE(src_type)*size.width == src_step && size 1280 apps/traincascade/old_ml_inner_functions.cpp CV_ELEM_SIZE(dst_type)*size.width == dst_step ) size 1282 apps/traincascade/old_ml_inner_functions.cpp size.width *= size.height; size 1283 apps/traincascade/old_ml_inner_functions.cpp size.height = 1; size 1288 apps/traincascade/old_ml_inner_functions.cpp int full_width = CV_ELEM_SIZE(dst_type)*size.width; size 1291 apps/traincascade/old_ml_inner_functions.cpp for( i = 0; i < size.height; i++, src += src_step ) size 1294 apps/traincascade/old_ml_inner_functions.cpp for( i = 0; i < size.height; i++, src += src_step ) size 1298 apps/traincascade/old_ml_inner_functions.cpp for( i = 0; i < size.height; i++, src += src_step ) size 1302 apps/traincascade/old_ml_inner_functions.cpp for( j = 0; j < size.width; j++ ) size 1305 apps/traincascade/old_ml_inner_functions.cpp for( j = 0; j < size.width; j++ ) size 1309 apps/traincascade/old_ml_inner_functions.cpp for( i = 0; i < size.height; i++, src += src_step ) size 1313 apps/traincascade/old_ml_inner_functions.cpp for( j = 0; j < size.width; j++ ) size 1316 apps/traincascade/old_ml_inner_functions.cpp for( j = 0; j < size.width; j++ ) size 1321 apps/traincascade/old_ml_inner_functions.cpp for( i = 0; i < size.height; i++, src += src_step ) size 1325 apps/traincascade/old_ml_inner_functions.cpp for( j = 0; j < size.width; j++ ) size 1328 apps/traincascade/old_ml_inner_functions.cpp for( j = 0; j < size.width; j++ ) size 169 apps/traincascade/old_ml_tree.cpp int vi, i, size; size 336 apps/traincascade/old_ml_tree.cpp size = is_classifier ? (cat_var_count+1) : cat_var_count; size 337 apps/traincascade/old_ml_tree.cpp size = !size ? 1 : size; size 338 apps/traincascade/old_ml_tree.cpp CV_CALL( cat_count = cvCreateMat( 1, size, CV_32SC1 )); size 339 apps/traincascade/old_ml_tree.cpp CV_CALL( cat_ofs = cvCreateMat( 1, size, CV_32SC1 )); size 341 apps/traincascade/old_ml_tree.cpp size = is_classifier ? (cat_var_count + 1)*params.max_categories : cat_var_count*params.max_categories; size 342 apps/traincascade/old_ml_tree.cpp size = !size ? 1 : size; size 343 apps/traincascade/old_ml_tree.cpp CV_CALL( cat_map = cvCreateMat( 1, size, CV_32SC1 )); size 1709 modules/calib3d/include/opencv2/calib3d.hpp const cv::Size& size, int m1type, OutputArray map1, OutputArray map2); size 219 modules/calib3d/include/opencv2/calib3d/calib3d_c.h CVAPI(int) cvCheckChessboard(IplImage* src, CvSize size); size 193 modules/calib3d/misc/java/test/Calib3dTest.java int size = 300; size 194 modules/calib3d/misc/java/test/Calib3dTest.java Mat img = new Mat(size, size, CvType.CV_8U); size 202 modules/calib3d/misc/java/test/Calib3dTest.java Point pt = new Point(size * (2 * i + 1) / 10, size * (2 * j + 1) / 10); size 214 modules/calib3d/misc/java/test/Calib3dTest.java int size = 300; size 215 modules/calib3d/misc/java/test/Calib3dTest.java Mat img = new Mat(size, size, CvType.CV_8U); size 222 modules/calib3d/misc/java/test/Calib3dTest.java int step = size * 2 / 15; size 223 modules/calib3d/misc/java/test/Calib3dTest.java int offsetx = size / 6; size 224 modules/calib3d/misc/java/test/Calib3dTest.java int offsety = (size - 4 * step) / 2; size 49 modules/calib3d/perf/perf_pnp.cpp Mat noise(1, (int)points2d.size(), CV_32FC2); size 96 modules/calib3d/perf/perf_pnp.cpp Mat noise(1, (int)points2d.size(), CV_32FC2); size 1957 modules/calib3d/src/calibinit.cpp for (size_t i = 0; i < keypoints.size(); i++) size 2033 modules/calib3d/src/calibinit.cpp if (centers.size() < minHomographyPoints) size 2632 modules/calib3d/src/calibration.cpp CV_Assert( Q.size() == Size(4,4) ); size 2642 modules/calib3d/src/calibration.cpp __3dImage.create(disparity.size(), CV_MAKETYPE(dtype, 3)); size 2736 modules/calib3d/src/calibration.cpp CV_Assert( disp.size() == _3dimg.size() ); size 3025 modules/calib3d/src/calibration.cpp if( cameraMatrix0.size() == cameraMatrix.size() ) size 3033 modules/calib3d/src/calibration.cpp if( distCoeffs0.size() == Size(1, 4) || size 3034 modules/calib3d/src/calibration.cpp distCoeffs0.size() == Size(1, 5) || size 3035 modules/calib3d/src/calibration.cpp distCoeffs0.size() == Size(1, 8) || size 3036 modules/calib3d/src/calibration.cpp distCoeffs0.size() == Size(1, 12) || size 3037 modules/calib3d/src/calibration.cpp distCoeffs0.size() == Size(4, 1) || size 3038 modules/calib3d/src/calibration.cpp distCoeffs0.size() == Size(5, 1) || size 3039 modules/calib3d/src/calibration.cpp distCoeffs0.size() == Size(8, 1) || size 3040 modules/calib3d/src/calibration.cpp distCoeffs0.size() == Size(12, 1) ) size 3090 modules/calib3d/src/calibration.cpp _rvec3.create(rvec1.size(), rtype); size 3091 modules/calib3d/src/calibration.cpp _tvec3.create(tvec1.size(), rtype); size 3391 modules/calib3d/src/calibration.cpp if( F.size() == Size(3, 3) ) size 3518 modules/calib3d/src/calibration.cpp size_t n = imgpt1.size(); size 3575 modules/calib3d/src/calibration.cpp if( R13.size() != Size(3,3) ) size 3580 modules/calib3d/src/calibration.cpp if( R12.size() == Size(3,3) ) size 69 modules/calib3d/src/checkchessboard.cpp float box_size = MAX(box.size.width, box.size.height); size 75 modules/calib3d/src/checkchessboard.cpp float aspect_ratio = box.size.width/MAX(box.size.height, 1); size 105 modules/calib3d/src/checkchessboard.cpp int cvCheckChessboard(IplImage* src, CvSize size) size 164 modules/calib3d/src/checkchessboard.cpp const size_t min_quads_count = size.width*size.height/2; size 171 modules/calib3d/src/checkchessboard.cpp for(size_t i = 0; i < quads.size(); i++) size 174 modules/calib3d/src/checkchessboard.cpp for(; j < quads.size(); j++) size 187 modules/calib3d/src/checkchessboard.cpp const int black_count = cvRound(ceil(size.width/2.0)*ceil(size.height/2.0)); size 188 modules/calib3d/src/checkchessboard.cpp const int white_count = cvRound(floor(size.width/2.0)*floor(size.height/2.0)); size 62 modules/calib3d/src/circlesgrid.cpp for(size_t i=0; i<points.size(); i++) size 75 modules/calib3d/src/circlesgrid.cpp int j, n = (int)points.size(); size 79 modules/calib3d/src/circlesgrid.cpp if (pn >= points.size()) size 81 modules/calib3d/src/circlesgrid.cpp if (pn == points.size()) size 87 modules/calib3d/src/circlesgrid.cpp Mat distsMask(dists.size(), CV_8UC1, Scalar(0)); size 100 modules/calib3d/src/circlesgrid.cpp std::vector<std::list<size_t> > clusters(points.size()); size 101 modules/calib3d/src/circlesgrid.cpp for(size_t i=0; i<points.size(); i++) size 107 modules/calib3d/src/circlesgrid.cpp while(clusters[patternClusterIdx].size() < pn) size 126 modules/calib3d/src/circlesgrid.cpp if(clusters[patternClusterIdx].size() != static_cast<size_t>(patternSz.area())) size 131 modules/calib3d/src/circlesgrid.cpp patternPoints.reserve(clusters[patternClusterIdx].size()); size 163 modules/calib3d/src/circlesgrid.cpp if(hull2f.size() < cornersCount) size 168 modules/calib3d/src/circlesgrid.cpp if(corners.size() != cornersCount) size 176 modules/calib3d/src/circlesgrid.cpp if(outsideCorners.size() != outsideCornersCount) size 180 modules/calib3d/src/circlesgrid.cpp if(sortedCorners.size() != cornersCount) size 185 modules/calib3d/src/circlesgrid.cpp if(patternPoints.size() != rectifiedPatternPoints.size()) size 195 modules/calib3d/src/circlesgrid.cpp for(size_t i=0; i<hull2f.size(); i++) size 197 modules/calib3d/src/circlesgrid.cpp Point2f vec1 = hull2f[(i+1) % hull2f.size()] - hull2f[i % hull2f.size()]; size 198 modules/calib3d/src/circlesgrid.cpp Point2f vec2 = hull2f[(i-1 + static_cast<int>(hull2f.size())) % hull2f.size()] - hull2f[i % hull2f.size()]; size 225 modules/calib3d/src/circlesgrid.cpp int i, j, n = (int)corners.size(); size 233 modules/calib3d/src/circlesgrid.cpp std::vector<Point2f> tangentVectors(corners.size()); size 234 modules/calib3d/src/circlesgrid.cpp for(size_t k=0; k<corners.size(); k++) size 236 modules/calib3d/src/circlesgrid.cpp Point2f diff = corners[(k + 1) % corners.size()] - corners[k]; size 302 modules/calib3d/src/circlesgrid.cpp center *= 1.0 / corners.size(); size 305 modules/calib3d/src/circlesgrid.cpp for(size_t i=0; i<outsideCorners.size(); i++) size 347 modules/calib3d/src/circlesgrid.cpp for(size_t i=0; i<sortedCorners.size()-1; i++) size 351 modules/calib3d/src/circlesgrid.cpp sortedCorners[sortedCorners.size() - 1] = firstCorner; size 371 modules/calib3d/src/circlesgrid.cpp for(size_t idx=0; idx<trueIndices.size(); idx++) size 478 modules/calib3d/src/circlesgrid.cpp return vertices.size(); size 486 modules/calib3d/src/circlesgrid.cpp return it->second.neighbors.size(); size 644 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < holes.size(); i++) size 646 modules/calib3d/src/circlesgrid.cpp for (size_t j = 0; j < holes[i].size(); j++) size 648 modules/calib3d/src/circlesgrid.cpp for (size_t k = 0; k < basisGraphs.size(); k++) size 650 modules/calib3d/src/circlesgrid.cpp if (i != holes.size() - 1 && basisGraphs[k].areVerticesAdjacent(holes[i][j], holes[i + 1][j])) size 655 modules/calib3d/src/circlesgrid.cpp if (j != holes[i].size() - 1 && basisGraphs[k].areVerticesAdjacent(holes[i][j], holes[i][j + 1])) size 670 modules/calib3d/src/circlesgrid.cpp if (holes.size() != patternSize.height) size 674 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < holes.size(); i++) size 676 modules/calib3d/src/circlesgrid.cpp if (holes[i].size() != patternSize.width) size 679 modules/calib3d/src/circlesgrid.cpp for (size_t j = 0; j < holes[i].size(); j++) size 685 modules/calib3d/src/circlesgrid.cpp return vertices.size() == patternSize.area(); size 690 modules/calib3d/src/circlesgrid.cpp if (holes.size() < holes2.size() || holes[0].size() < holes2[0].size()) size 707 modules/calib3d/src/circlesgrid.cpp if (largeHoles->size() != largeHeight) size 711 modules/calib3d/src/circlesgrid.cpp if (smallHoles->size() != smallHeight) size 716 modules/calib3d/src/circlesgrid.cpp if (largeHoles->size() != lh || smallHoles->size() != sh) size 722 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < largeHoles->size(); i++) size 724 modules/calib3d/src/circlesgrid.cpp if (largeHoles->at(i).size() != lw) size 729 modules/calib3d/src/circlesgrid.cpp for (size_t j = 0; j < largeHoles->at(i).size(); j++) size 734 modules/calib3d/src/circlesgrid.cpp if (i < smallHoles->size()) size 736 modules/calib3d/src/circlesgrid.cpp if (smallHoles->at(i).size() != sw) size 741 modules/calib3d/src/circlesgrid.cpp for (size_t j = 0; j < smallHoles->at(i).size(); j++) size 747 modules/calib3d/src/circlesgrid.cpp return (vertices.size() == largeHeight * largeWidth + smallHeight * smallWidth); size 764 modules/calib3d/src/circlesgrid.cpp while (holesRow.size() > std::max(patternSize.width, patternSize.height)) size 773 modules/calib3d/src/circlesgrid.cpp size_t w = holes[0].size(); size 774 modules/calib3d/src/circlesgrid.cpp size_t h = holes.size(); size 779 modules/calib3d/src/circlesgrid.cpp parameters.minGraphConfidence = holes[0].size() * parameters.existingVertexGain; size 786 modules/calib3d/src/circlesgrid.cpp parameters.minGraphConfidence = holes.size() * parameters.existingVertexGain; size 795 modules/calib3d/src/circlesgrid.cpp holes.resize(holesRow.size()); size 796 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < holesRow.size(); i++) size 799 modules/calib3d/src/circlesgrid.cpp size_t w = holes[0].size(); size 800 modules/calib3d/src/circlesgrid.cpp size_t h = holes.size(); size 802 modules/calib3d/src/circlesgrid.cpp parameters.minGraphConfidence = holes.size() * parameters.existingVertexGain; size 808 modules/calib3d/src/circlesgrid.cpp parameters.minGraphConfidence = holes[0].size() * parameters.existingVertexGain; size 825 modules/calib3d/src/circlesgrid.cpp getDirection(centers[0], centers[detectedGridSize.width - 1], centers[centers.size() - 1]) < 0; size 845 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < keypoints.size(); i++) size 856 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < dstKeypoints.size(); i++) size 869 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < keypoints.size(); i++) size 888 modules/calib3d/src/circlesgrid.cpp points.push_back(keypoints.size() - 1); size 904 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < holes[seedLineIdx].size(); i++) size 913 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < holes.size(); i++) size 921 modules/calib3d/src/circlesgrid.cpp CV_Assert( line.size() == seeds.size() ); size 933 modules/calib3d/src/circlesgrid.cpp size_t lastIdx = addRow ? holes.size() - 1 : holes[0].size() - 1; size 936 modules/calib3d/src/circlesgrid.cpp CV_Assert( below.size() == above.size() ); size 937 modules/calib3d/src/circlesgrid.cpp CV_Assert( belowSeeds.size() == aboveSeeds.size() ); size 938 modules/calib3d/src/circlesgrid.cpp CV_Assert( below.size() == belowSeeds.size() ); size 943 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < newCenters.size(); i++) size 945 modules/calib3d/src/circlesgrid.cpp for (size_t j = 0; j < holes.size(); j++) size 988 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < holes.size(); i++) size 998 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < holes.size(); i++) size 1009 modules/calib3d/src/circlesgrid.cpp CV_Assert( points.size() == seeds.size() ); size 1014 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < seeds.size(); i++) size 1034 modules/calib3d/src/circlesgrid.cpp for (size_t i = 1; i < points.size(); i++) size 1069 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < samples.size(); i++) size 1074 modules/calib3d/src/circlesgrid.cpp for (size_t j = 0; j < samples.size(); j++) size 1110 modules/calib3d/src/circlesgrid.cpp if (basis.size() != 2) size 1124 modules/calib3d/src/circlesgrid.cpp for (int k = 0; k < (int)samples.size(); k++) size 1137 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < basis.size(); i++) size 1142 modules/calib3d/src/circlesgrid.cpp basisGraphs.resize(basis.size(), Graph(keypoints.size())); size 1143 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < keypoints.size(); i++) size 1145 modules/calib3d/src/circlesgrid.cpp for (size_t j = 0; j < keypoints.size(); j++) size 1152 modules/calib3d/src/circlesgrid.cpp for (size_t k = 0; k < hulls.size(); k++) size 1161 modules/calib3d/src/circlesgrid.cpp if (basisGraphs.size() != 2) size 1167 modules/calib3d/src/circlesgrid.cpp rng = Graph(keypoints.size()); size 1171 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < keypoints.size(); i++) size 1173 modules/calib3d/src/circlesgrid.cpp for (size_t j = 0; j < keypoints.size(); j++) size 1182 modules/calib3d/src/circlesgrid.cpp for (size_t k = 0; k < keypoints.size(); k++) size 1252 modules/calib3d/src/circlesgrid.cpp for (size_t graphIdx = 0; graphIdx < basisGraphs.size(); graphIdx++) size 1281 modules/calib3d/src/circlesgrid.cpp for (int v2 = 0; v2 < (int)path.vertices.size(); v2++) size 1293 modules/calib3d/src/circlesgrid.cpp for (int i = 0; i < (int)confidences.size(); i++) size 1316 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < basis.size(); i++) size 1337 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < basisGraphs.size(); i++) size 1376 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < holes.size(); i++) size 1378 modules/calib3d/src/circlesgrid.cpp for (size_t j = 0; j < holes[i].size(); j++) size 1380 modules/calib3d/src/circlesgrid.cpp if (j != holes[i].size() - 1) size 1382 modules/calib3d/src/circlesgrid.cpp if (i != holes.size() - 1) size 1393 modules/calib3d/src/circlesgrid.cpp if (holes.size() == 0) size 1396 modules/calib3d/src/circlesgrid.cpp return Size((int)holes[0].size(), (int)holes.size()); size 1403 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < holes.size(); i++) size 1405 modules/calib3d/src/circlesgrid.cpp for (size_t j = 0; j < holes[i].size(); j++) size 1416 modules/calib3d/src/circlesgrid.cpp return (static_cast<size_t> (pos.y) < points->size() && static_cast<size_t> (pos.x) < points->at(pos.y).size()); size 1489 modules/calib3d/src/circlesgrid.cpp int h = (int)points.size(); size 1490 modules/calib3d/src/circlesgrid.cpp int w = (int)points[0].size(); size 1546 modules/calib3d/src/circlesgrid.cpp for (size_t i = 0; i < corner.size(); i++) size 1548 modules/calib3d/src/circlesgrid.cpp for (size_t j = 0; j < segments.size(); j++) size 1550 modules/calib3d/src/circlesgrid.cpp for (size_t k = 0; k < segments[j].size(); k++) size 1571 modules/calib3d/src/circlesgrid.cpp CV_Assert(largeSegments.size() == cornersCount) size 395 modules/calib3d/src/compat_ptsetreg.cpp CV_Assert( lines.size() == lines0.size() ); size 437 modules/calib3d/src/compat_ptsetreg.cpp CV_Assert( dst.size() == dst0.size() ); size 71 modules/calib3d/src/dls.cpp for (unsigned int j = 0; j < cost_.size(); ++j) size 73 modules/calib3d/src/fisheye.cpp imagePoints.create(objectPoints.size(), CV_MAKETYPE(objectPoints.depth(), 2)); size 83 modules/calib3d/src/fisheye.cpp CV_Assert(_K.size() == Size(3,3) && (_K.type() == CV_32F || _K.type() == CV_64F) && _D.type() == _K.type() && _D.total() == 4); size 254 modules/calib3d/src/fisheye.cpp distorted.create(undistorted.size(), undistorted.type()); size 257 modules/calib3d/src/fisheye.cpp CV_Assert(K.size() == Size(3,3) && (K.type() == CV_32F || K.type() == CV_64F) && D.total() == 4); size 316 modules/calib3d/src/fisheye.cpp undistorted.create(distorted.size(), distorted.type()); size 318 modules/calib3d/src/fisheye.cpp CV_Assert(P.empty() || P.size() == Size(3, 3) || P.size() == Size(4, 3)); size 319 modules/calib3d/src/fisheye.cpp CV_Assert(R.empty() || R.size() == Size(3, 3) || R.total() * R.channels() == 3); size 320 modules/calib3d/src/fisheye.cpp CV_Assert(D.total() == 4 && K.size() == Size(3, 3) && (K.depth() == CV_32F || K.depth() == CV_64F)); size 345 modules/calib3d/src/fisheye.cpp else if (!R.empty() && R.size() == Size(3, 3)) size 402 modules/calib3d/src/fisheye.cpp const cv::Size& size, int m1type, OutputArray map1, OutputArray map2 ) size 405 modules/calib3d/src/fisheye.cpp map1.create( size, m1type <= 0 ? CV_16SC2 : m1type ); size 406 modules/calib3d/src/fisheye.cpp map2.create( size, map1.type() == CV_16SC2 ? CV_16UC1 : CV_32F ); size 410 modules/calib3d/src/fisheye.cpp CV_Assert(K.size() == Size(3, 3) && (D.empty() || D.total() == 4)); size 411 modules/calib3d/src/fisheye.cpp CV_Assert(R.empty() || R.size() == Size(3, 3) || R.total() * R.channels() == 3); size 412 modules/calib3d/src/fisheye.cpp CV_Assert(P.empty() || P.size() == Size(3, 3) || P.size() == Size(4, 3)); size 439 modules/calib3d/src/fisheye.cpp else if (!R.empty() && R.size() == Size(3, 3)) size 448 modules/calib3d/src/fisheye.cpp for( int i = 0; i < size.height; ++i) size 459 modules/calib3d/src/fisheye.cpp for( int j = 0; j < size.width; ++j) size 500 modules/calib3d/src/fisheye.cpp Size size = new_size.area() != 0 ? new_size : distorted.size(); size 503 modules/calib3d/src/fisheye.cpp fisheye::initUndistortRectifyMap(K, D, cv::Matx33d::eye(), Knew, size, CV_16SC2, map1, map2 ); size 514 modules/calib3d/src/fisheye.cpp CV_Assert( K.size() == Size(3, 3) && (K.depth() == CV_32F || K.depth() == CV_64F)); size 612 modules/calib3d/src/fisheye.cpp CV_Assert((_R.size() == Size(3, 3) || _R.total() * _R.channels() == 3) && (_R.depth() == CV_32F || _R.depth() == CV_64F)); size 619 modules/calib3d/src/fisheye.cpp if (_R.size() == Size(3, 3)) size 697 modules/calib3d/src/fisheye.cpp CV_Assert((!K.empty() && K.size() == Size(3,3)) || K.empty()); size 828 modules/calib3d/src/fisheye.cpp CV_Assert((!K1.empty() && K1.size() == Size(3,3)) || K1.empty()); size 830 modules/calib3d/src/fisheye.cpp CV_Assert((!K2.empty() && K1.size() == Size(3,3)) || K2.empty()); size 1062 modules/calib3d/src/fisheye.cpp for (int i = 0, j = 0; i < (int)cols.size(); i++) size 1072 modules/calib3d/src/fisheye.cpp for (int i = 0, j = 0; i < (int)rows.size(); i++) size 111 modules/calib3d/src/five-point.cpp for (size_t i = 0; i < roots.size(); i++) size 541 modules/calib3d/src/five-point.cpp CV_Assert(mask.size() == mask1.size()); size 549 modules/calib3d/src/five-point.cpp _mask.create(mask1.size(), CV_8U); size 562 modules/calib3d/src/fundam.cpp CV_Assert( (_m1.cols == 1 || _m1.rows == 1) && _m1.size() == _m2.size()); size 819 modules/calib3d/src/fundam.cpp CV_Assert(F.size() == Size(3,3)); size 455 modules/calib3d/src/homography_decomp.cpp int nsols = static_cast<int>(motions.size()); size 191 modules/calib3d/src/levmarq.cpp if( param0.size != x.size ) size 89 modules/calib3d/src/ptsetreg.cpp mask.create(err.size(), CV_8U); size 246 modules/calib3d/src/ptsetreg.cpp if( bestMask.size() == bestMask0.size() ) size 368 modules/calib3d/src/ptsetreg.cpp if( mask0.size() == mask.size() ) size 60 modules/calib3d/src/quadsubpix.cpp size_t i, j, n = contours.size(); size 63 modules/calib3d/src/quadsubpix.cpp size_t ni = contours[i].size(); size 102 modules/calib3d/src/quadsubpix.cpp for(size_t i = 0; i < contour.size(); i++) size 131 modules/calib3d/src/quadsubpix.cpp for(int x = 0; x < hist.size[0]; x++) size 199 modules/calib3d/src/quadsubpix.cpp if(black_contours.size() < 5 || white_contours.size() < 5) continue; size 220 modules/calib3d/src/quadsubpix.cpp for(size_t j = 0; j < quads[k]->size(); j++) temp.push_back((*quads[k])[j]); size 296 modules/calib3d/src/rho.cpp unsigned size; /* Non-Randomness: Size */ size 608 modules/calib3d/src/rho.cpp nr.size = 0; size 662 modules/calib3d/src/rho.cpp nr.size = 0; size 668 modules/calib3d/src/rho.cpp nr.size = N; size 669 modules/calib3d/src/rho.cpp }else if(N > nr.size){ size 672 modules/calib3d/src/rho.cpp sacInitNonRand(nr.beta, nr.size, N, &nr.tbl[nr.size]); size 673 modules/calib3d/src/rho.cpp nr.size = N; size 70 modules/calib3d/src/solvepnp.cpp Size rsize = _rvec.size(), tsize = _tvec.size(); size 99 modules/calib3d/src/stereobm.cpp _output.create(input.size(), input.type()); size 119 modules/calib3d/src/stereobm.cpp Size size = src.size(); size 126 modules/calib3d/src/stereobm.cpp for( x = 0; x < size.width; x++ ) size 131 modules/calib3d/src/stereobm.cpp for( x = 0; x < size.width; x++ ) size 135 modules/calib3d/src/stereobm.cpp for( y = 0; y < size.height; y++ ) size 138 modules/calib3d/src/stereobm.cpp const uchar* bottom = sptr + srcstep*MIN(y+wsz2,size.height-1); size 141 modules/calib3d/src/stereobm.cpp const uchar* next = sptr + srcstep*MIN(y+1,size.height-1); size 144 modules/calib3d/src/stereobm.cpp for( x = 0; x < size.width; x++ ) size 150 modules/calib3d/src/stereobm.cpp vsum[size.width+x] = vsum[size.width-1]; size 160 modules/calib3d/src/stereobm.cpp for( x = 1; x < size.width-1; x++ ) size 180 modules/calib3d/src/stereobm.cpp _output.create(input.size(), input.type()); size 196 modules/calib3d/src/stereobm.cpp Size size = src.size(); size 206 modules/calib3d/src/stereobm.cpp for( y = 0; y < size.height-1; y += 2 ) size 209 modules/calib3d/src/stereobm.cpp const uchar* srow0 = y > 0 ? srow1 - src.step : size.height > 1 ? srow1 + src.step : srow1; size 210 modules/calib3d/src/stereobm.cpp const uchar* srow2 = y < size.height-1 ? srow1 + src.step : size.height > 1 ? srow1 - src.step : srow1; size 211 modules/calib3d/src/stereobm.cpp const uchar* srow3 = y < size.height-2 ? srow1 + src.step*2 : srow1; size 215 modules/calib3d/src/stereobm.cpp dptr0[0] = dptr0[size.width-1] = dptr1[0] = dptr1[size.width-1] = val0; size 222 modules/calib3d/src/stereobm.cpp for(; x <=size.width-9; x += 8 ) size 258 modules/calib3d/src/stereobm.cpp for( ; x <= size.width-9; x += 8 ) size 287 modules/calib3d/src/stereobm.cpp for( ; x < size.width-1; x++ ) size 302 modules/calib3d/src/stereobm.cpp for( ; y < size.height; y++ ) size 307 modules/calib3d/src/stereobm.cpp for(; x <= size.width-16; x+=16 ) size 310 modules/calib3d/src/stereobm.cpp for(; x < size.width; x++ ) size 923 modules/calib3d/src/stereobm.cpp _disp.create(_left.size(), CV_16S); size 1041 modules/calib3d/src/stereobm.cpp Size leftsize = leftarr.size(); size 1043 modules/calib3d/src/stereobm.cpp if (leftarr.size() != rightarr.size()) size 1095 modules/calib3d/src/stereobm.cpp disparr.create(left0.size(), dtype); size 1098 modules/calib3d/src/stereobm.cpp preFilteredImg0.create( left0.size(), CV_8U ); size 1099 modules/calib3d/src/stereobm.cpp preFilteredImg1.create( left0.size(), CV_8U ); size 1100 modules/calib3d/src/stereobm.cpp cost.create( left0.size(), CV_16S ); size 1122 modules/calib3d/src/stereobm.cpp dispbuf.create(disp0.size(), CV_16S); size 854 modules/calib3d/src/stereosgbm.cpp CV_Assert( left.size() == right.size() && left.type() == right.type() && size 857 modules/calib3d/src/stereosgbm.cpp disparr.create( left.size(), CV_16S ); size 1141 modules/calib3d/src/stereosgbm.cpp disp.size() == cost.size() ); size 423 modules/calib3d/src/triangulate.cpp _newPoints1.create(points1.size(), points1.type()); size 424 modules/calib3d/src/triangulate.cpp _newPoints2.create(points2.size(), points2.type()); size 977 modules/calib3d/test/test_cameracalibration.cpp CV_Assert( leftF[0].size() == rightF[0].size() ); size 979 modules/calib3d/test/test_cameracalibration.cpp int fcount = (int)leftF[0].size(), xdim = (int)leftF.size(); size 987 modules/calib3d/test/test_cameracalibration.cpp CV_Assert( (int)arrLeftIt->size() == fcount ); size 988 modules/calib3d/test/test_cameracalibration.cpp CV_Assert( (int)arrRightIt->size() == fcount ); size 1072 modules/calib3d/test/test_cameracalibration.cpp assert( (int)imgPoints.size() == pointCount ); size 1414 modules/calib3d/test/test_cameracalibration.cpp if( imglist.size() == 0 || imglist.size() % 2 != 0 ) size 1421 modules/calib3d/test/test_cameracalibration.cpp int nframes = (int)(imglist.size()/2); size 1440 modules/calib3d/test/test_cameracalibration.cpp imgsize = left.size(); size 1450 modules/calib3d/test/test_cameracalibration.cpp total += (int)imgpt1[i].size(); size 1592 modules/calib3d/test/test_cameracalibration.cpp CV_Assert( imgpt1.size() == imgpt2.size() ); size 1600 modules/calib3d/test/test_cameracalibration.cpp CV_Assert( iit1->size() == iit2->size() ); size 1708 modules/calib3d/test/test_cameracalibration.cpp int nimages = (int)objectPoints.size(), total = 0; size 1711 modules/calib3d/test/test_cameracalibration.cpp total += (int)objectPoints[i].size(); size 1724 modules/calib3d/test/test_cameracalibration.cpp ni = (int)objectPoints[i].size(); size 1767 modules/calib3d/test/test_cameracalibration.cpp if( F.size() == Size(3, 3) ) size 172 modules/calib3d/test/test_cameracalibration_artificial.cpp for(size_t i = 0; i < tvecs.size(); ++i) size 202 modules/calib3d/test/test_cameracalibration_artificial.cpp for(size_t i = 0; i < rvecs.size(); ++i) size 235 modules/calib3d/test/test_cameracalibration_artificial.cpp for(size_t i = 0; i < rvecs_exp.size(); ++i) size 239 modules/calib3d/test/test_cameracalibration_artificial.cpp for(size_t j = 0; j < cb3d.size(); ++j) size 413 modules/calib3d/test/test_cameracalibration_artificial.cpp runTest(bg.size(), camMat, distCoeffs, brds_num, cbg.cornersSize(), ARTIFICIAL_CORNERS); size 417 modules/calib3d/test/test_cameracalibration_artificial.cpp runTest(bg.size(), camMat, distCoeffs, brds_num, cbg.cornersSize(), JUST_FIND_CORNERS); size 421 modules/calib3d/test/test_cameracalibration_artificial.cpp runTest(bg.size(), camMat, distCoeffs, brds_num, cbg.cornersSize(), USE_CORNERS_SUBPIX); size 425 modules/calib3d/test/test_cameracalibration_artificial.cpp runTest(bg.size(), camMat, distCoeffs, brds_num, cbg.cornersSize(), USE_4QUAD_CORNERS); size 560 modules/calib3d/test/test_cameracalibration_badarg.cpp Mat bad_r_vec_cpp1(r_vec_cpp.size(), CV_32S); CvMat bad_r_vec_c1 = bad_r_vec_cpp1; size 562 modules/calib3d/test/test_cameracalibration_badarg.cpp Mat bad_r_vec_cpp3(r_vec_cpp.size(), CV_32FC2); CvMat bad_r_vec_c3 = bad_r_vec_cpp3; size 577 modules/calib3d/test/test_cameracalibration_badarg.cpp Mat bad_t_vec_cpp1(t_vec_cpp.size(), CV_32S); CvMat bad_t_vec_c1 = bad_t_vec_cpp1; size 594 modules/calib3d/test/test_cameracalibration_badarg.cpp Mat bad_A_cpp1(A_cpp.size(), CV_32S); CvMat bad_A_c1 = bad_A_cpp1; size 606 modules/calib3d/test/test_cameracalibration_badarg.cpp Mat bad_distCoeffs_cpp1(distCoeffs_cpp.size(), CV_32S); CvMat bad_distCoeffs_c1 = bad_distCoeffs_cpp1; size 628 modules/calib3d/test/test_cameracalibration_badarg.cpp Mat bad_dpdr_cpp1(dpdr_cpp.size(), CV_32S); CvMat bad_dpdr_c1 = bad_dpdr_cpp1; size 132 modules/calib3d/test/test_chessboardgenerator.cpp squares_black.resize(squares_black.size() + 1); size 170 modules/calib3d/test/test_chessboardgenerator.cpp resize(bg, tmp, bg.size() * rendererResolutionMultiplier); size 173 modules/calib3d/test/test_chessboardgenerator.cpp resize(tmp, result, bg.size(), 0, 0, INTER_AREA); size 185 modules/calib3d/test/test_chessboardgenerator.cpp calibrationMatrixValues( camMat, bg.size(), sensorWidth, sensorHeight, size 250 modules/calib3d/test/test_chessboardgenerator.cpp calibrationMatrixValues( camMat, bg.size(), sensorWidth, sensorHeight, size 56 modules/calib3d/test/test_chesscorners.cpp Mat rgb( gray.size(), CV_8U); size 59 modules/calib3d/test/test_chesscorners.cpp for(size_t i = 0; i < v.size(); i++ ) size 71 modules/calib3d/test/test_chesscorners.cpp Mat corners((int)v.size(), 1, CV_32FC2, (void*)&v[0]); size 201 modules/calib3d/test/test_chesscorners.cpp if( !fs.isOpened() || board_list.empty() || !board_list.isSeq() || board_list.size() % 2 != 0 ) size 205 modules/calib3d/test/test_chesscorners.cpp fs.isOpened(), (int)board_list.empty(), board_list.isSeq(), board_list.size()%2); size 211 modules/calib3d/test/test_chesscorners.cpp int max_idx = (int)board_list.size()/2; size 240 modules/calib3d/test/test_chesscorners.cpp Size pattern_size = expected.size(); size 258 modules/calib3d/test/test_chesscorners.cpp if( result ^ doesContatinChessboard || v.size() != count_exp ) size 400 modules/calib3d/test/test_chesscorners.cpp if(!validateData(cbg, cb.size(), corners_generated)) size 448 modules/calib3d/test/test_chesscorners.cpp Point2f c = std::accumulate(cg.begin(), cg.end(), Point2f(), plus<Point2f>()) * (1.f/cg.size()); size 453 modules/calib3d/test/test_chesscorners.cpp warpAffine(cb, sh, aff, cb.size()); size 88 modules/calib3d/test/test_chesscorners_badarg.cpp (int)corners.size(), was_found); size 140 modules/calib3d/test/test_chesscorners_badarg.cpp Mat cvdrawCornImg(img.size(), CV_8UC2); size 67 modules/calib3d/test/test_cornerssubpix.cpp if(set1.size() != set2.size()) size 74 modules/calib3d/test/test_cornerssubpix.cpp for(size_t i = 0; i < set1.size(); i++) size 79 modules/calib3d/test/test_cornerssubpix.cpp for(int j = 0; j < (int)set2.size(); j++) size 107 modules/calib3d/test/test_cornerssubpix.cpp mean_dist = sqrt(sum_dist/set1.size()); size 187 modules/calib3d/test/test_cornerssubpix.cpp (int)test_corners.size(), cvSize(3, 3), cvSize(1, 1), cvTermCriteria(CV_TERMCRIT_EPS|CV_TERMCRIT_ITER,300,0.1)); size 76 modules/calib3d/test/test_fisheye.cpp undist2.create(distorted0.size(), CV_MAKETYPE(distorted0.depth(), 3)); size 120 modules/calib3d/test/test_fisheye.cpp cv::fisheye::estimateNewCameraMatrixForUndistortRectify(K, D, distorted.size(), cv::noArray(), newK, balance); size 131 modules/calib3d/test/test_fisheye.cpp cv::fisheye::estimateNewCameraMatrixForUndistortRectify(K, D, distorted.size(), cv::noArray(), newK, balance); size 601 modules/calib3d/test/test_fisheye.cpp char last = item1[item1.size()-1]; size 607 modules/calib3d/test/test_fisheye.cpp CV_Assert(l.type() == r.type() && l.size() == r.size()); size 370 modules/calib3d/test/test_fundam.cpp dst.create(dst.size(), CV_MAKETYPE(CV_64F, _dst.channels())); size 693 modules/calib3d/test/test_fundam.cpp if( J1.size() != J1_0.size() ) size 699 modules/calib3d/test/test_fundam.cpp if( J2.size() != J2_0.size() ) size 672 modules/calib3d/test/test_homography.cpp for( int i = 0; i < (int)good_matches.size(); i++ ) size 700 modules/calib3d/test/test_homography.cpp (int)keypoints_1.size(), (int)keypoints_2.size(), size 701 modules/calib3d/test/test_homography.cpp (int)good_matches.size(), ninliers0, min_t0*1000./freq, ninliers1, min_t1*1000./freq); size 71 modules/calib3d/test/test_homography_decomp.cpp ASSERT_GT(static_cast<int>(rotations.size()), 0); size 72 modules/calib3d/test/test_homography_decomp.cpp ASSERT_GT(static_cast<int>(translations.size()), 0); size 73 modules/calib3d/test/test_homography_decomp.cpp ASSERT_GT(static_cast<int>(normals.size()), 0); size 75 modules/calib3d/test/test_homography_decomp.cpp ASSERT_EQ(rotations.size(), normals.size()); size 76 modules/calib3d/test/test_homography_decomp.cpp ASSERT_EQ(translations.size(), normals.size()); size 81 modules/calib3d/test/test_homography_decomp.cpp ASSERT_GT(static_cast<int>(rotations.size()), 0); size 128 modules/calib3d/test/test_reproject_image_to_3d.cpp Mat_<out3d_t> _3dImg(disp.size()); size 70 modules/calib3d/test/test_solvepnp_ransac.cpp for (size_t i = 0; i < points.size(); i++) size 130 modules/calib3d/test/test_solvepnp_ransac.cpp projectedPoints.resize(points.size()); size 132 modules/calib3d/test/test_solvepnp_ransac.cpp for (size_t i = 0; i < projectedPoints.size(); i++) size 136 modules/calib3d/test/test_solvepnp_ransac.cpp projectedPoints[i] = projectedPoints[rng.uniform(0,(int)points.size()-1)]; size 143 modules/calib3d/test/test_solvepnp_ransac.cpp bool isTestSuccess = inliers.size() >= points.size()*0.95; size 237 modules/calib3d/test/test_solvepnp_ransac.cpp projectedPoints.resize(opoints.size()); size 122 modules/calib3d/test/test_stereomatching.cpp Size sz = leftDispMap.size(); size 128 modules/calib3d/test/test_stereomatching.cpp checkTypeAndSizeOfMask( leftUnknDispMask, leftDispMap.size() ); size 130 modules/calib3d/test/test_stereomatching.cpp checkTypeAndSizeOfMask( rightUnknDispMask, rightDispMap.size() ); size 167 modules/calib3d/test/test_stereomatching.cpp rightDisp.create(leftDisp.size(), CV_32FC1); size 187 modules/calib3d/test/test_stereomatching.cpp occludedMask->create(leftDisp.size(), CV_8UC1); size 192 modules/calib3d/test/test_stereomatching.cpp nonOccludedMask->create(leftDisp.size(), CV_8UC1); size 237 modules/calib3d/test/test_stereomatching.cpp checkTypeAndSizeOfMask( unknDispMask, disp.size() ); size 273 modules/calib3d/test/test_stereomatching.cpp Size sz = groundTruthDisp.size(); size 293 modules/calib3d/test/test_stereomatching.cpp Size sz = groundTruthDisp.size(); size 443 modules/calib3d/test/test_stereomatching.cpp int progress = 0, caseCount = (int)caseNames.size(); size 515 modules/calib3d/test/test_stereomatching.cpp Mat borderedKnownMask = getBorderedMask( leftImg.size(), qualityEvalParams.ignoreBorder ) & ~trueLeftUnknDispMask; size 611 modules/calib3d/test/test_stereomatching.cpp for( int i = 0; i < (int)fn.size(); i+=3 ) size 636 modules/calib3d/test/test_stereomatching.cpp assert( (int)errors.size() == ERROR_KINDS_COUNT ); size 657 modules/calib3d/test/test_stereomatching.cpp assert( (int)calcErrors.size() == ERROR_KINDS_COUNT ); size 658 modules/calib3d/test/test_stereomatching.cpp assert( (int)validErrors.size() == ERROR_KINDS_COUNT ); size 659 modules/calib3d/test/test_stereomatching.cpp assert( (int)eps.size() == ERROR_KINDS_COUNT ); size 698 modules/calib3d/test/test_stereomatching.cpp for( int i = 0; i < (int)fn.size(); i+=4 ) size 754 modules/calib3d/test/test_stereomatching.cpp for( int i = 0; i < (int)fn.size(); i+=5 ) size 278 modules/calib3d/test/test_undistort.cpp Mat _proj(test_mat[INPUT][4].size(), CV_64F, &proj[0]); size 279 modules/calib3d/test/test_undistort.cpp Mat _points(test_mat[INPUT][0].size(), CV_64FC2, &points[0]); size 703 modules/calib3d/test/test_undistort.cpp Mat _distort(test_mat[INPUT][2].size(),CV_64F,&dist[0]); size 704 modules/calib3d/test/test_undistort.cpp Mat _new_cam(test_mat[INPUT][4].size(),CV_64F,&new_cam[0]); size 705 modules/calib3d/test/test_undistort.cpp Mat _points(test_mat[INPUT][0].size(),CV_64FC2, &points[0]); size 798 modules/calib3d/test/test_undistort.cpp Mat ref_points(test_mat[INPUT][0].size(),CV_64FC2,&r_points[0]); size 801 modules/calib3d/test/test_undistort.cpp Mat _distort(test_mat[INPUT][2].size(),CV_64F,&dist[0]); size 802 modules/calib3d/test/test_undistort.cpp Mat _new_cam(test_mat[INPUT][4].size(),CV_64F,&new_cam[0]); size 803 modules/calib3d/test/test_undistort.cpp Mat _points(test_mat[INPUT][0].size(),CV_64FC2,&points[0]); size 33 modules/calib3d/test/test_undistort_points.cpp for (size_t i = 0; i < points.size(); i++) size 70 modules/calib3d/test/test_undistort_points.cpp projectedPoints.resize(points.size()); size 416 modules/core/include/opencv2/core/base.hpp ResultType operator()( const unsigned char* a, const unsigned char* b, int size ) const; size 23 modules/core/include/opencv2/core/bufferpool.hpp virtual void setMaxReservedSize(size_t size) = 0; size 80 modules/core/include/opencv2/core/core_c.h CVAPI(void*) cvAlloc( size_t size ); size 97 modules/core/include/opencv2/core/core_c.h CVAPI(IplImage*) cvCreateImageHeader( CvSize size, int depth, int channels ); size 109 modules/core/include/opencv2/core/core_c.h CVAPI(IplImage*) cvInitImageHeader( IplImage* image, CvSize size, int depth, size 125 modules/core/include/opencv2/core/core_c.h CVAPI(IplImage*) cvCreateImage( CvSize size, int depth, int channels ); size 570 modules/core/include/opencv2/core/core_c.h CvSize size; /**< maximal common linear size: { width = size, height = 1 } */ size 1576 modules/core/include/opencv2/core/core_c.h CVAPI(void*) cvMemStorageAlloc( CvMemStorage* storage, size_t size ); size 2828 modules/core/include/opencv2/core/core_c.h size_t size() const; size 2964 modules/core/include/opencv2/core/core_c.h template<typename _Tp> inline size_t Seq<_Tp>::size() const size 118 modules/core/include/opencv2/core/cuda.hpp GpuMat(Size size, int type, Allocator* allocator = defaultAllocator()); size 122 modules/core/include/opencv2/core/cuda.hpp GpuMat(Size size, int type, Scalar s, Allocator* allocator = defaultAllocator()); size 129 modules/core/include/opencv2/core/cuda.hpp GpuMat(Size size, int type, void* data, size_t step = Mat::AUTO_STEP); size 146 modules/core/include/opencv2/core/cuda.hpp void create(Size size, int type); size 272 modules/core/include/opencv2/core/cuda.hpp Size size() const; size 365 modules/core/include/opencv2/core/cuda.hpp HostMem(Size size, int type, AllocType alloc_type = PAGE_LOCKED); size 382 modules/core/include/opencv2/core/cuda.hpp void create(Size size, int type); size 411 modules/core/include/opencv2/core/cuda.hpp Size size() const; size 355 modules/core/include/opencv2/core/cuda.inl.hpp void createContinuous(Size size, int type, OutputArray arr) size 357 modules/core/include/opencv2/core/cuda.inl.hpp createContinuous(size.height, size.width, type, arr); size 361 modules/core/include/opencv2/core/cuda.inl.hpp GpuMat createContinuous(Size size, int type) size 364 modules/core/include/opencv2/core/cuda.inl.hpp createContinuous(size, type, m); size 369 modules/core/include/opencv2/core/cuda.inl.hpp void ensureSizeIsEnough(Size size, int type, OutputArray arr) size 371 modules/core/include/opencv2/core/cuda.inl.hpp ensureSizeIsEnough(size.height, size.width, type, arr); size 456 modules/core/include/opencv2/core/cuda.inl.hpp HostMem m(size(), type(), alloc_type); size 470 modules/core/include/opencv2/core/cuda.inl.hpp return Mat(size(), type(), data, step); size 79 modules/core/include/opencv2/core/cuda/common.hpp template <typename T> static inline bool isAligned(const T* ptr, size_t size) size 81 modules/core/include/opencv2/core/cuda/common.hpp return reinterpret_cast<size_t>(ptr) % size == 0; size 84 modules/core/include/opencv2/core/cuda/common.hpp static inline bool isAligned(size_t step, size_t size) size 86 modules/core/include/opencv2/core/cuda/common.hpp return step % size == 0; size 89 modules/core/include/opencv2/core/cuda_types.hpp __CV_CUDA_HOST_DEVICE__ PtrSz() : size(0) {} size 92 modules/core/include/opencv2/core/cuda_types.hpp size_t size; size 509 modules/core/include/opencv2/core/cvstd.hpp size_t size() const; size 80 modules/core/include/opencv2/core/cvstd.inl.hpp size_t len = str.size(); size 89 modules/core/include/opencv2/core/cvstd.inl.hpp size_t strlen = str.size(); size 102 modules/core/include/opencv2/core/cvstd.inl.hpp size_t len = str.size(); size 125 modules/core/include/opencv2/core/cvstd.inl.hpp size_t rhslen = rhs.size(); size 136 modules/core/include/opencv2/core/cvstd.inl.hpp size_t lhslen = lhs.size(); size 250 modules/core/include/opencv2/core/cvstd.inl.hpp std::ostream& operator << (std::ostream& out, const Size_<_Tp>& size) size 252 modules/core/include/opencv2/core/cvstd.inl.hpp return out << "[" << size.width << " x " << size.height << "]"; size 178 modules/core/include/opencv2/core/ippasync.hpp hpp32u pitch, size; size 179 modules/core/include/opencv2/core/ippasync.hpp hppQueryMatrixAllocParams(accel, src.cols*cn, src.rows, htype, &pitch, &size); size 180 modules/core/include/opencv2/core/ippasync.hpp if (pitch!=0 && size!=0) size 183 modules/core/include/opencv2/core/ippasync.hpp return hppiCreateSharedMatrix(htype, src.cols*cn, src.rows, src.data, pitch, size); size 206 modules/core/include/opencv2/core/mat.hpp Size size(int i=-1) const; size 323 modules/core/include/opencv2/core/mat.hpp void create(int dims, const int* size, int type, int i=-1, bool allowTransposed=false, int fixedDepthMask=0) const; size 492 modules/core/include/opencv2/core/mat.hpp size_t size; size 755 modules/core/include/opencv2/core/mat.hpp Mat(Size size, int type); size 777 modules/core/include/opencv2/core/mat.hpp Mat(Size size, int type, const Scalar& s); size 837 modules/core/include/opencv2/core/mat.hpp Mat(Size size, int type, void* data, size_t step=AUTO_STEP); size 1215 modules/core/include/opencv2/core/mat.hpp static MatExpr zeros(Size size, int type); size 1244 modules/core/include/opencv2/core/mat.hpp static MatExpr ones(Size size, int type); size 1271 modules/core/include/opencv2/core/mat.hpp static MatExpr eye(Size size, int type); size 1312 modules/core/include/opencv2/core/mat.hpp void create(Size size, int type); size 1886 modules/core/include/opencv2/core/mat.hpp MatSize size; size 2036 modules/core/include/opencv2/core/mat.hpp static MatExpr zeros(Size size); size 2039 modules/core/include/opencv2/core/mat.hpp static MatExpr ones(Size size); size 2042 modules/core/include/opencv2/core/mat.hpp static MatExpr eye(Size size); size 2127 modules/core/include/opencv2/core/mat.hpp UMat(Size size, int type, UMatUsageFlags usageFlags = USAGE_DEFAULT); size 2130 modules/core/include/opencv2/core/mat.hpp UMat(Size size, int type, const Scalar& s, UMatUsageFlags usageFlags = USAGE_DEFAULT); size 2214 modules/core/include/opencv2/core/mat.hpp static UMat zeros(Size size, int type); size 2217 modules/core/include/opencv2/core/mat.hpp static UMat ones(Size size, int type); size 2220 modules/core/include/opencv2/core/mat.hpp static UMat eye(Size size, int type); size 2225 modules/core/include/opencv2/core/mat.hpp void create(Size size, int type, UMatUsageFlags usageFlags = USAGE_DEFAULT); size 2308 modules/core/include/opencv2/core/mat.hpp MatSize size; size 2416 modules/core/include/opencv2/core/mat.hpp int size[MAX_DIM]; size 2514 modules/core/include/opencv2/core/mat.hpp const int* size() const; size 2516 modules/core/include/opencv2/core/mat.hpp int size(int i) const; size 3151 modules/core/include/opencv2/core/mat.hpp size_t size; size 3198 modules/core/include/opencv2/core/mat.hpp virtual Size size(const MatExpr& expr) const; size 3260 modules/core/include/opencv2/core/mat.hpp Size size() const; size 457 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL | DataType<_Tp>::type | CV_MAT_CONT_FLAG), dims(2), rows((int)vec.size()), size 469 modules/core/include/opencv2/core/mat.inl.hpp Mat((int)vec.size(), 1, DataType<_Tp>::type, (uchar*)&vec[0]).copyTo(*this); size 671 modules/core/include/opencv2/core/mat.inl.hpp size.p[i] = 0; size 753 modules/core/include/opencv2/core/mat.inl.hpp p *= size[i]; size 760 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( y == 0 || (data && dims >= 1 && (unsigned)y < (unsigned)size.p[0]) ); size 767 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( y == 0 || (data && dims >= 1 && (unsigned)y < (unsigned)size.p[0]) ); size 774 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( y == 0 || (data && dims >= 1 && (unsigned)y < (unsigned)size.p[0]) ); size 781 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( y == 0 || (data && dims >= 1 && data && (unsigned)y < (unsigned)size.p[0]) ); size 789 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i0 < (unsigned)size.p[0] && size 790 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i1 < (unsigned)size.p[1] ); size 798 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i0 < (unsigned)size.p[0] && size 799 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i1 < (unsigned)size.p[1] ); size 807 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i0 < (unsigned)size.p[0] && size 808 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i1 < (unsigned)size.p[1] ); size 816 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i0 < (unsigned)size.p[0] && size 817 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i1 < (unsigned)size.p[1] ); size 825 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i0 < (unsigned)size.p[0] && size 826 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i1 < (unsigned)size.p[1] && size 827 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i2 < (unsigned)size.p[2] ); size 835 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i0 < (unsigned)size.p[0] && size 836 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i1 < (unsigned)size.p[1] && size 837 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i2 < (unsigned)size.p[2] ); size 845 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i0 < (unsigned)size.p[0] && size 846 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i1 < (unsigned)size.p[1] && size 847 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i2 < (unsigned)size.p[2] ); size 855 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i0 < (unsigned)size.p[0] && size 856 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i1 < (unsigned)size.p[1] && size 857 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i2 < (unsigned)size.p[2] ); size 869 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( (unsigned)idx[i] < (unsigned)size.p[i] ); size 883 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( (unsigned)idx[i] < (unsigned)size.p[i] ); size 892 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims <= 2 && data && (unsigned)i0 < (unsigned)size.p[0] && size 893 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)(i1 * DataType<_Tp>::channels) < (unsigned)(size.p[1] * channels()) && size 901 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims <= 2 && data && (unsigned)i0 < (unsigned)size.p[0] && size 902 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)(i1 * DataType<_Tp>::channels) < (unsigned)(size.p[1] * channels()) && size 910 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims <= 2 && data && (unsigned)pt.y < (unsigned)size.p[0] && size 911 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)(pt.x * DataType<_Tp>::channels) < (unsigned)(size.p[1] * channels()) && size 919 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( dims <= 2 && data && (unsigned)pt.y < (unsigned)size.p[0] && size 920 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)(pt.x * DataType<_Tp>::channels) < (unsigned)(size.p[1] * channels()) && size 929 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i0 < (unsigned)(size.p[0] * size.p[1]) && size 931 modules/core/include/opencv2/core/mat.inl.hpp if( isContinuous() || size.p[0] == 1 ) size 933 modules/core/include/opencv2/core/mat.inl.hpp if( size.p[1] == 1 ) size 943 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i0 < (unsigned)(size.p[0] * size.p[1]) && size 945 modules/core/include/opencv2/core/mat.inl.hpp if( isContinuous() || size.p[0] == 1 ) size 947 modules/core/include/opencv2/core/mat.inl.hpp if( size.p[1] == 1 ) size 1086 modules/core/include/opencv2/core/mat.inl.hpp *(_Tp*)(data + (size.p[0]++) * step.p[0]) = elem; size 1493 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i0 < (unsigned)size.p[0] && size 1494 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i1 < (unsigned)size.p[1] && size 1503 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i0 < (unsigned)size.p[0] && size 1504 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)i1 < (unsigned)size.p[1] && size 1513 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)pt.y < (unsigned)size.p[0] && size 1514 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)pt.x < (unsigned)size.p[1] && size 1523 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)pt.y < (unsigned)size.p[0] && size 1524 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)pt.x < (unsigned)size.p[1] && size 1747 modules/core/include/opencv2/core/mat.inl.hpp return hdr ? hdr->size : 0; size 1756 modules/core/include/opencv2/core/mat.inl.hpp return hdr->size[i]; size 2664 modules/core/include/opencv2/core/mat.inl.hpp hashidx = m->hdr->hashtab.size(); size 3189 modules/core/include/opencv2/core/mat.inl.hpp : flags(MAGIC_VAL | DataType<_Tp>::type | CV_MAT_CONT_FLAG), dims(2), rows((int)vec.size()), size 3200 modules/core/include/opencv2/core/mat.inl.hpp Mat((int)vec.size(), 1, DataType<_Tp>::type, (uchar*)&vec[0]).copyTo(*this); size 3312 modules/core/include/opencv2/core/mat.inl.hpp size.p[i] = 0; size 3395 modules/core/include/opencv2/core/mat.inl.hpp p *= size[i]; size 32 modules/core/include/opencv2/core/opencl/runtime/opencl_svm_20.hpp extern CL_RUNTIME_EXPORT void* (CL_API_CALL *clSVMAlloc)(cl_context context, cl_svm_mem_flags flags, size_t size, unsigned int alignment); size 39 modules/core/include/opencv2/core/opencl/runtime/opencl_svm_20.hpp extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL *clEnqueueSVMMemcpy)(cl_command_queue command_queue, cl_bool blocking_copy, void* dst_ptr, const void* src_ptr, size_t size, size 41 modules/core/include/opencv2/core/opencl/runtime/opencl_svm_20.hpp extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL *clEnqueueSVMMemFill)(cl_command_queue command_queue, void* svm_ptr, const void* pattern, size_t pattern_size, size_t size, size 43 modules/core/include/opencv2/core/opencl/runtime/opencl_svm_20.hpp extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL *clEnqueueSVMMap)(cl_command_queue command_queue, cl_bool blocking_map, cl_map_flags map_flags, void* svm_ptr, size_t size, size 259 modules/core/include/opencv2/core/opengl.hpp Size size() const; size 384 modules/core/include/opencv2/core/opengl.hpp Size size() const; size 463 modules/core/include/opencv2/core/opengl.hpp int size() const; size 442 modules/core/include/opencv2/core/operations.hpp int i, j, N = (int)_vec.size(); size 533 modules/core/include/opencv2/core/persistence.hpp CV_WRAP size_t size() const; size 687 modules/core/include/opencv2/core/persistence.hpp value = temp.size() != 2 ? default_value : Point_<_Tp>(saturate_cast<_Tp>(temp[0]), saturate_cast<_Tp>(temp[1])); size 693 modules/core/include/opencv2/core/persistence.hpp value = temp.size() != 3 ? default_value : Point3_<_Tp>(saturate_cast<_Tp>(temp[0]), saturate_cast<_Tp>(temp[1]), size 700 modules/core/include/opencv2/core/persistence.hpp value = temp.size() != 2 ? default_value : Size_<_Tp>(saturate_cast<_Tp>(temp[0]), saturate_cast<_Tp>(temp[1])); size 706 modules/core/include/opencv2/core/persistence.hpp value = temp.size() != 2 ? default_value : Complex<_Tp>(saturate_cast<_Tp>(temp[0]), saturate_cast<_Tp>(temp[1])); size 712 modules/core/include/opencv2/core/persistence.hpp value = temp.size() != 4 ? default_value : Rect_<_Tp>(saturate_cast<_Tp>(temp[0]), saturate_cast<_Tp>(temp[1]), size 719 modules/core/include/opencv2/core/persistence.hpp value = temp.size() != cn ? default_value : Vec<_Tp, cn>(&temp[0]); size 725 modules/core/include/opencv2/core/persistence.hpp value = temp.size() != 4 ? default_value : Scalar_<_Tp>(saturate_cast<_Tp>(temp[0]), saturate_cast<_Tp>(temp[1]), size 762 modules/core/include/opencv2/core/persistence.hpp size_t count = vec.size(); size 778 modules/core/include/opencv2/core/persistence.hpp fs->writeRaw(fmt, !vec.empty() ? (uchar*)&vec[0] : 0, vec.size() * sizeof(_Tp)); size 1185 modules/core/include/opencv2/core/persistence.hpp inline FileNodeIterator FileNode::end() const { return FileNodeIterator(fs, node, size()); } size 87 modules/core/include/opencv2/core/private.cuda.hpp static inline GpuMat getOutputMat(OutputArray _dst, Size size, int type, Stream& stream) size 89 modules/core/include/opencv2/core/private.cuda.hpp return getOutputMat(_dst, size.height, size.width, type, stream); size 111 modules/core/include/opencv2/core/private.cuda.hpp GpuMat getBuffer(Size size, int type) { return getBuffer(size.height, size.width, type); } size 149 modules/core/include/opencv2/core/private.hpp static inline int cvAlign( int size, int align ) size 151 modules/core/include/opencv2/core/private.hpp CV_DbgAssert( (align & (align-1)) == 0 && size < INT_MAX ); size 152 modules/core/include/opencv2/core/private.hpp return (size + align - 1) & -align; size 204 modules/core/include/opencv2/core/private.hpp IppiSize size = { width, height }; size 205 modules/core/include/opencv2/core/private.hpp return size; size 210 modules/core/include/opencv2/core/private.hpp IppiSize size = { _size.width, _size.height }; size 211 modules/core/include/opencv2/core/private.hpp return size; size 393 modules/core/include/opencv2/core/types.hpp Size_<_Tp> size() const; size 468 modules/core/include/opencv2/core/types.hpp RotatedRect(const Point2f& center, const Size2f& size, float angle); size 483 modules/core/include/opencv2/core/types.hpp Size2f size; //< width and height of the rectangle size 536 modules/core/include/opencv2/core/types.hpp int size() const; size 681 modules/core/include/opencv2/core/types.hpp float size=1, float response=1, int octave=0, int class_id=-1); size 693 modules/core/include/opencv2/core/types.hpp CV_PROP_RW float size; //!< diameter of the meaningful keypoint neighborhood size 1841 modules/core/include/opencv2/core/types.hpp : center(), size(), angle(0) {} size 1845 modules/core/include/opencv2/core/types.hpp : center(_center), size(_size), angle(_angle) {} size 2180 modules/core/include/opencv2/core/types.hpp : pt(0,0), size(0), angle(-1), response(0), octave(0), class_id(-1) {} size 2184 modules/core/include/opencv2/core/types.hpp : pt(_pt), size(_size), angle(_angle), response(_response), octave(_octave), class_id(_class_id) {} size 2188 modules/core/include/opencv2/core/types.hpp : pt(x, y), size(_size), angle(_angle), response(_response), octave(_octave), class_id(_class_id) {} size 645 modules/core/include/opencv2/core/types_c.h int size; size 689 modules/core/include/opencv2/core/types_c.h int size[CV_MAX_DIM]; size 1064 modules/core/include/opencv2/core/types_c.h CvSize2D32f size; /**< Box width and length. */ size 1069 modules/core/include/opencv2/core/types_c.h CvBox2D(CvPoint2D32f c = CvPoint2D32f(), CvSize2D32f s = CvSize2D32f(), float a = 0) : center(c), size(s), angle(a) {} size 1070 modules/core/include/opencv2/core/types_c.h CvBox2D(const cv::RotatedRect& rr) : center(rr.center), size(rr.size), angle(rr.angle) {} size 1071 modules/core/include/opencv2/core/types_c.h operator cv::RotatedRect() const { return cv::RotatedRect(center, size, angle); } size 135 modules/core/include/opencv2/core/utility.hpp size_t size() const; size 400 modules/core/include/opencv2/core/utility.hpp CV_Assert(this->total() / this->size[this->dims - 1] <= INT_MAX); size 401 modules/core/include/opencv2/core/utility.hpp const int LINES = static_cast<int>(this->total() / this->size[this->dims - 1]); size 413 modules/core/include/opencv2/core/utility.hpp const int COLS = mat->size[DIMS - 1]; size 425 modules/core/include/opencv2/core/utility.hpp if (idx[i] >= mat->size[i]) { size 426 modules/core/include/opencv2/core/utility.hpp idx[i - 1] += idx[i] / mat->size[i]; size 427 modules/core/include/opencv2/core/utility.hpp idx[i] %= mat->size[i]; size 785 modules/core/include/opencv2/core/utility.hpp allocate(abuf.size()); size 796 modules/core/include/opencv2/core/utility.hpp allocate(abuf.size()); size 15 modules/core/misc/java/src/java/core+KeyPoint.java public float size; size 39 modules/core/misc/java/src/java/core+KeyPoint.java size = _size; size 78 modules/core/misc/java/src/java/core+KeyPoint.java return "KeyPoint [pt=" + pt + ", size=" + size + ", angle=" + angle size 47 modules/core/misc/java/src/java/core+Mat.java public Mat(Size size, int type) size 50 modules/core/misc/java/src/java/core+Mat.java nativeObj = n_Mat(size.width, size.height, type); size 73 modules/core/misc/java/src/java/core+Mat.java public Mat(Size size, int type, Scalar s) size 76 modules/core/misc/java/src/java/core+Mat.java nativeObj = n_Mat(size.width, size.height, type, s.val[0], s.val[1], s.val[2], s.val[3]); size 350 modules/core/misc/java/src/java/core+Mat.java public void create(Size size, int type) size 353 modules/core/misc/java/src/java/core+Mat.java n_create(nativeObj, size.width, size.height, type); size 502 modules/core/misc/java/src/java/core+Mat.java public static Mat eye(Size size, int type) size 505 modules/core/misc/java/src/java/core+Mat.java Mat retVal = new Mat(n_eye(size.width, size.height, type)); size 613 modules/core/misc/java/src/java/core+Mat.java public static Mat ones(Size size, int type) size 616 modules/core/misc/java/src/java/core+Mat.java Mat retVal = new Mat(n_ones(size.width, size.height, type)); size 901 modules/core/misc/java/src/java/core+Mat.java public static Mat zeros(Size size, int type) size 904 modules/core/misc/java/src/java/core+Mat.java Mat retVal = new Mat(n_zeros(size.width, size.height, type)); size 63 modules/core/misc/java/src/java/core+MatOfByte.java if(lb==null || lb.size()==0) size 63 modules/core/misc/java/src/java/core+MatOfDouble.java if(lb==null || lb.size()==0) size 63 modules/core/misc/java/src/java/core+MatOfFloat.java if(lb==null || lb.size()==0) size 63 modules/core/misc/java/src/java/core+MatOfFloat4.java if(lb==null || lb.size()==0) size 63 modules/core/misc/java/src/java/core+MatOfFloat6.java if(lb==null || lb.size()==0) size 64 modules/core/misc/java/src/java/core+MatOfInt.java if(lb==null || lb.size()==0) size 64 modules/core/misc/java/src/java/core+MatOfInt4.java if(lb==null || lb.size()==0) size 55 modules/core/misc/java/src/java/core+MatOfKeyPoint.java buff[_channels*i+2] = kp.size; size 7 modules/core/misc/java/src/java/core+RotatedRect.java public Size size; size 12 modules/core/misc/java/src/java/core+RotatedRect.java this.size = new Size(); size 18 modules/core/misc/java/src/java/core+RotatedRect.java this.size = s.clone(); size 31 modules/core/misc/java/src/java/core+RotatedRect.java size.width = vals.length > 2 ? (double) vals[2] : 0; size 32 modules/core/misc/java/src/java/core+RotatedRect.java size.height = vals.length > 3 ? (double) vals[3] : 0; size 37 modules/core/misc/java/src/java/core+RotatedRect.java size.width = 0; size 38 modules/core/misc/java/src/java/core+RotatedRect.java size.height = 0; size 50 modules/core/misc/java/src/java/core+RotatedRect.java center.x - a * size.height - b * size.width, size 51 modules/core/misc/java/src/java/core+RotatedRect.java center.y + b * size.height - a * size.width); size 54 modules/core/misc/java/src/java/core+RotatedRect.java center.x + a * size.height - b * size.width, size 55 modules/core/misc/java/src/java/core+RotatedRect.java center.y - b * size.height - a * size.width); size 80 modules/core/misc/java/src/java/core+RotatedRect.java return new RotatedRect(center, size, angle); size 92 modules/core/misc/java/src/java/core+RotatedRect.java temp = Double.doubleToLongBits(size.width); size 94 modules/core/misc/java/src/java/core+RotatedRect.java temp = Double.doubleToLongBits(size.height); size 106 modules/core/misc/java/src/java/core+RotatedRect.java return center.equals(it.center) && size.equals(it.size) && angle == it.angle; size 111 modules/core/misc/java/src/java/core+RotatedRect.java return "{ " + center + " " + size + " * " + angle + " }"; size 490 modules/core/misc/java/test/CoreTest.java assertMatEqual(new Mat(gray0.size(), CvType.CV_8U) { size 1702 modules/core/misc/java/test/CoreTest.java truth = new Mat(m.size(), m.type(), new Scalar(0)); size 14 modules/core/misc/java/test/KeyPointTest.java private float size; size 25 modules/core/misc/java/test/KeyPointTest.java size = 3.0f; size 38 modules/core/misc/java/test/KeyPointTest.java keyPoint = new KeyPoint(x, y, size); size 43 modules/core/misc/java/test/KeyPointTest.java keyPoint = new KeyPoint(x, y, size, 10.0f); size 48 modules/core/misc/java/test/KeyPointTest.java keyPoint = new KeyPoint(x, y, size, 1.0f, 1.0f); size 53 modules/core/misc/java/test/KeyPointTest.java keyPoint = new KeyPoint(x, y, size, 1.0f, 1.0f, 1); size 58 modules/core/misc/java/test/KeyPointTest.java keyPoint = new KeyPoint(x, y, size, 1.0f, 1.0f, 1, 1); size 63 modules/core/misc/java/test/KeyPointTest.java keyPoint = new KeyPoint(x, y, size, angle, response, octave, classId); size 25 modules/core/misc/java/test/MatTest.java assertSizeEquals(new Size(5, 6), adjusted.size(), EPS); size 31 modules/core/misc/java/test/MatTest.java Size size = new Size(); size 32 modules/core/misc/java/test/MatTest.java adjusted.locateROI(size, offset); size 34 modules/core/misc/java/test/MatTest.java assertSizeEquals(gray0.size(), size, EPS); size 179 modules/core/misc/java/test/MatTest.java Size size = new Size(5, 5); size 180 modules/core/misc/java/test/MatTest.java dst.create(size, CvType.CV_16U); size 268 modules/core/misc/java/test/MatTest.java Size size = new Size(5, 5); size 270 modules/core/misc/java/test/MatTest.java Mat eye = Mat.eye(size, CvType.CV_32S); size 276 modules/core/misc/java/test/MatTest.java public Mat getTestMat(int size, int type) { size 277 modules/core/misc/java/test/MatTest.java Mat m = new Mat(size, size, type); size 279 modules/core/misc/java/test/MatTest.java double buff[] = new double[size*size * ch]; size 280 modules/core/misc/java/test/MatTest.java for(int i=0; i<size; i++) size 281 modules/core/misc/java/test/MatTest.java for(int j=0; j<size; j++) size 283 modules/core/misc/java/test/MatTest.java buff[i*size*ch + j*ch + k] = 100*i + 10*j + k; size 504 modules/core/misc/java/test/MatTest.java Size size = new Size(); size 506 modules/core/misc/java/test/MatTest.java roi.locateROI(size, offset); size 509 modules/core/misc/java/test/MatTest.java assertSizeEquals(new Size(10, 10), size, EPS); size 899 modules/core/misc/java/test/MatTest.java assertEquals(new Size(matSize, matSize), gray0.size()); size 901 modules/core/misc/java/test/MatTest.java assertEquals(new Size(3, 1), v1.size()); size 102 modules/core/misc/java/test/RangeTest.java assertEquals(10, r1.size()); size 104 modules/core/misc/java/test/RangeTest.java assertEquals(0, r2.size()); size 144 modules/core/misc/java/test/RectTest.java assertEquals(s1, r.size()); size 147 modules/core/misc/java/test/RectTest.java assertEquals(s2, rect.size()); size 13 modules/core/misc/java/test/RotatedRectTest.java private Size size; size 20 modules/core/misc/java/test/RotatedRectTest.java size = new Size(matSize / 4, matSize / 2); size 25 modules/core/misc/java/test/RotatedRectTest.java size = new Size(matSize / 2, matSize / 2); size 26 modules/core/misc/java/test/RotatedRectTest.java assertEquals(size.height, size.width); size 27 modules/core/misc/java/test/RotatedRectTest.java double length = size.height; size 30 modules/core/misc/java/test/RotatedRectTest.java RotatedRect rr = new RotatedRect(center, size, angle); size 43 modules/core/misc/java/test/RotatedRectTest.java RotatedRect rrect = new RotatedRect(center, size, angle); size 48 modules/core/misc/java/test/RotatedRectTest.java assertTrue(rrect.size.equals(clone.size)); size 57 modules/core/misc/java/test/RotatedRectTest.java RotatedRect rrect1 = new RotatedRect(center, size, angle); size 78 modules/core/misc/java/test/RotatedRectTest.java clone1.size.width += 1; size 81 modules/core/misc/java/test/RotatedRectTest.java assertTrue(!rrect1.equals(size)); size 85 modules/core/misc/java/test/RotatedRectTest.java RotatedRect rr = new RotatedRect(center, size, angle); size 90 modules/core/misc/java/test/RotatedRectTest.java RotatedRect rrect = new RotatedRect(center, size, angle); size 126 modules/core/misc/java/test/RotatedRectTest.java (p[1].y - p[0].y) * (p[1].y - p[0].y) - size.height * size.height) < EPS); size 130 modules/core/misc/java/test/RotatedRectTest.java (p[1].y - p[2].y) * (p[1].y - p[2].y) - size.width * size.width) < EPS); size 132 modules/core/misc/java/test/RotatedRectTest.java assertTrue("Angle of the vector 21 with the axes", Math.abs((p[2].x - p[1].x) / size.width - Math.cos(angle * Math.PI / 180)) < EPS); size 140 modules/core/misc/java/test/RotatedRectTest.java assertTrue(rr.size != null); size 151 modules/core/misc/java/test/RotatedRectTest.java assertEquals(3.7, rr.size.width); size 152 modules/core/misc/java/test/RotatedRectTest.java assertEquals(4.2, rr.size.height); size 157 modules/core/misc/java/test/RotatedRectTest.java RotatedRect rr = new RotatedRect(center, size, 40); size 161 modules/core/misc/java/test/RotatedRectTest.java assertTrue(rr.size != null); size 167 modules/core/misc/java/test/RotatedRectTest.java RotatedRect r1 = new RotatedRect(center, size, 40); size 173 modules/core/misc/java/test/RotatedRectTest.java assertSizeEquals(new Size(0, 0), r1.size, EPS); size 176 modules/core/misc/java/test/RotatedRectTest.java RotatedRect r2 = new RotatedRect(center, size, 40); size 182 modules/core/misc/java/test/RotatedRectTest.java assertSizeEquals(new Size(3, 4), r2.size, EPS); size 62 modules/core/perf/cuda/perf_gpumat.cpp const cv::Size size = GET_PARAM(0); size 72 modules/core/perf/cuda/perf_gpumat.cpp cv::cuda::GpuMat dst(size, type); size 78 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat dst(size, type); size 94 modules/core/perf/cuda/perf_gpumat.cpp const cv::Size size = GET_PARAM(0); size 100 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat src(size, type); size 101 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat mask(size, CV_8UC1); size 131 modules/core/perf/cuda/perf_gpumat.cpp const cv::Size size = GET_PARAM(0); size 137 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat src(size, type); size 138 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat mask(size, CV_8UC1); size 145 modules/core/perf/cuda/perf_gpumat.cpp cv::cuda::GpuMat dst(d_src.size(), d_src.type(), cv::Scalar::all(0)); size 151 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat dst(src.size(), src.type(), cv::Scalar::all(0)); size 169 modules/core/perf/cuda/perf_gpumat.cpp const cv::Size size = GET_PARAM(0); size 173 modules/core/perf/cuda/perf_gpumat.cpp cv::Mat src(size, depth1); size 108 modules/core/perf/opencl/perf_channels.cpp ASSERT_EQ(cn, (int)dst.size()); size 14 modules/core/perf/perf_addWeighted.cpp Size size = get<0>(GetParam()); size 16 modules/core/perf/perf_addWeighted.cpp Mat src1(size, type); size 17 modules/core/perf/perf_addWeighted.cpp Mat src2(size, type); size 22 modules/core/perf/perf_addWeighted.cpp Mat dst(size, type); size 26 modules/core/perf/perf_cvround.cpp Size size = get<0>(GetParam()); size 29 modules/core/perf/perf_cvround.cpp cv::Mat src(size, type), dst(size, CV_32SC1); size 19 modules/core/perf/perf_dot.cpp int size = get<1>(GetParam()); size 20 modules/core/perf/perf_dot.cpp Mat a(size, size, type); size 21 modules/core/perf/perf_dot.cpp Mat b(size, size, type); size 14 modules/core/perf/perf_inRange.cpp Size size = get<0>(GetParam()); size 16 modules/core/perf/perf_inRange.cpp Mat src1(size, type); size 17 modules/core/perf/perf_inRange.cpp Mat src2(size, type); size 18 modules/core/perf/perf_inRange.cpp Mat src3(size, type); size 19 modules/core/perf/perf_inRange.cpp Mat dst(size, type); size 15 modules/core/perf/perf_mat.cpp Size size = get<0>(GetParam()); size 17 modules/core/perf/perf_mat.cpp Mat diagonalMatrix(size.height, size.width, type); size 21 modules/core/perf/perf_mat.cpp int runs = (size.width <= 640) ? 15 : 5; size 24 modules/core/perf/perf_mat.cpp diagonalMatrix = Mat::eye(size, type); size 36 modules/core/perf/perf_mat.cpp Size size = get<0>(GetParam()); size 38 modules/core/perf/perf_mat.cpp Mat zeroMatrix(size.height, size.width, type); size 42 modules/core/perf/perf_mat.cpp int runs = (size.width <= 640) ? 15 : 5; size 45 modules/core/perf/perf_mat.cpp zeroMatrix = Mat::zeros(size, type); size 57 modules/core/perf/perf_mat.cpp Size size = get<0>(GetParam()); size 59 modules/core/perf/perf_mat.cpp Mat source(size.height, size.width, type); size 60 modules/core/perf/perf_mat.cpp Mat destination(size.height, size.width, type);; size 79 modules/core/perf/perf_mat.cpp Size size = get<0>(GetParam()); size 82 modules/core/perf/perf_mat.cpp unsigned int width = size.width; size 83 modules/core/perf/perf_mat.cpp unsigned int height = size.height; size 85 modules/core/perf/perf_mat.cpp Mat destination(size.height/2, size.width/2, type); size 45 modules/core/perf/perf_stat.cpp Mat mask = Mat::ones(src.size(), CV_8U); size 50 modules/core/src/alloc.cpp static void* OutOfMemoryError(size_t size) size 52 modules/core/src/alloc.cpp CV_Error_(CV_StsNoMem, ("Failed to allocate %lu bytes", (unsigned long)size)); size 62 modules/core/src/alloc.cpp void* fastMalloc( size_t size ) size 64 modules/core/src/alloc.cpp uchar* udata = (uchar*)malloc(size + sizeof(void*) + CV_MALLOC_ALIGN); size 66 modules/core/src/alloc.cpp return OutOfMemoryError(size); size 119 modules/core/src/alloc.cpp void* SystemAlloc(size_t size) size 121 modules/core/src/alloc.cpp void* ptr = malloc(size); size 122 modules/core/src/alloc.cpp return ptr ? ptr : OutOfMemoryError(size); size 144 modules/core/src/alloc.cpp void* SystemAlloc(size_t size) size 150 modules/core/src/alloc.cpp ptr = mmap(ptr, size, (PROT_READ | PROT_WRITE), MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); size 151 modules/core/src/alloc.cpp return ptr != MAP_FAILED ? ptr : OutOfMemoryError(size); size 154 modules/core/src/alloc.cpp void SystemFree(void* ptr, size_t size) size 156 modules/core/src/alloc.cpp munmap(ptr, size); size 190 modules/core/src/alloc.cpp int bin(size_t size) size 192 modules/core/src/alloc.cpp assert( size <= MAX_BLOCK_SIZE ); size 193 modules/core/src/alloc.cpp return binIdx[(size + 7)>>3]; size 485 modules/core/src/alloc.cpp void* fastMalloc( size_t size ) size 487 modules/core/src/alloc.cpp if( size > MAX_BLOCK_SIZE ) size 489 modules/core/src/alloc.cpp size_t size1 = size + sizeof(uchar*)*2 + MEM_BLOCK_SIZE; size 499 modules/core/src/alloc.cpp int idx = mallocTables.bin(size); size 504 modules/core/src/alloc.cpp size = binSizeTab[idx]; size 506 modules/core/src/alloc.cpp stat.nettoBytes += size; size 522 modules/core/src/alloc.cpp if( (block->bumpPtr += size) >= block->endPtr ) size 583 modules/core/src/alloc.cpp block->init(startPtr ? startPtr->prev : block, startPtr ? startPtr : block, (int)size, tls); size 697 modules/core/src/alloc.cpp CV_IMPL void* cvAlloc( size_t size ) size 699 modules/core/src/alloc.cpp return cv::fastMalloc( size ); size 1522 modules/core/src/arithm.cpp Size sz1 = dims1 <= 2 ? psrc1->size() : Size(); size 1523 modules/core/src/arithm.cpp Size sz2 = dims2 <= 2 ? psrc2->size() : Size(); size 1624 modules/core/src/arithm.cpp size_t total = it.size, blocksize = total; size 1660 modules/core/src/arithm.cpp size_t total = it.size, blocksize = std::min(total, blocksize0); size 1937 modules/core/src/arithm.cpp Size sz1 = dims1 <= 2 ? psrc1->size() : Size(); size 1938 modules/core/src/arithm.cpp Size sz2 = dims2 <= 2 ? psrc2->size() : Size(); size 2079 modules/core/src/arithm.cpp size_t total = it.size, blocksize = total; size 2146 modules/core/src/arithm.cpp size_t total = it.size, blocksize = std::min(total, blocksize0); size 2268 modules/core/src/arithm.cpp src1.dims == 2 && src2.size() == src1.size() && size 2287 modules/core/src/arithm.cpp _dst.create(src1.size(), CV_MAKE_TYPE(dtype, src1.channels())); size 2719 modules/core/src/arithm.cpp T* dst, size_t step, Size size, WT scale ) size 2729 modules/core/src/arithm.cpp for( ; size.height--; src1 += step1, src2 += step2, dst += step ) size 2731 modules/core/src/arithm.cpp int i = vop(src1, src2, dst, size.width, scale); size 2733 modules/core/src/arithm.cpp for(; i <= size.width - 4; i += 4 ) size 2748 modules/core/src/arithm.cpp for( ; i < size.width; i++ ) size 2754 modules/core/src/arithm.cpp for( ; size.height--; src1 += step1, src2 += step2, dst += step ) size 2756 modules/core/src/arithm.cpp int i = vop(src1, src2, dst, size.width, scale); size 2758 modules/core/src/arithm.cpp for(; i <= size.width - 4; i += 4 ) size 2769 modules/core/src/arithm.cpp for( ; i < size.width; i++ ) size 3379 modules/core/src/arithm.cpp T* dst, size_t step, Size size, double scale ) size 3388 modules/core/src/arithm.cpp for( ; size.height--; src1 += step1, src2 += step2, dst += step ) size 3390 modules/core/src/arithm.cpp int i = vop(src1, src2, dst, size.width, scale); size 3391 modules/core/src/arithm.cpp for( ; i < size.width; i++ ) size 3401 modules/core/src/arithm.cpp T* dst, size_t step, Size size, double scale ) size 3410 modules/core/src/arithm.cpp for( ; size.height--; src1 += step1, src2 += step2, dst += step ) size 3412 modules/core/src/arithm.cpp int i = vop(src1, src2, dst, size.width, scale); size 3413 modules/core/src/arithm.cpp for( ; i < size.width; i++ ) size 3423 modules/core/src/arithm.cpp T* dst, size_t step, Size size, double scale ) size 3431 modules/core/src/arithm.cpp for( ; size.height--; src2 += step2, dst += step ) size 3433 modules/core/src/arithm.cpp int i = vop(src2, dst, size.width, scale); size 3434 modules/core/src/arithm.cpp for( ; i < size.width; i++ ) size 3444 modules/core/src/arithm.cpp T* dst, size_t step, Size size, double scale ) size 3452 modules/core/src/arithm.cpp for( ; size.height--; src2 += step2, dst += step ) size 3454 modules/core/src/arithm.cpp int i = vop(src2, dst, size.width, scale); size 3455 modules/core/src/arithm.cpp for( ; i < size.width; i++ ) size 3965 modules/core/src/arithm.cpp T* dst, size_t step, Size size, void* _scalars ) size 3975 modules/core/src/arithm.cpp for( ; size.height--; src1 += step1, src2 += step2, dst += step ) size 3977 modules/core/src/arithm.cpp int x = vop(src1, src2, dst, size.width, alpha, beta, gamma); size 3979 modules/core/src/arithm.cpp for( ; x <= size.width - 4; x += 4 ) size 3990 modules/core/src/arithm.cpp for( ; x < size.width; x++ ) size 3999 modules/core/src/arithm.cpp uchar* dst, size_t step, Size size, size 4005 modules/core/src/arithm.cpp for( ; size.height--; src1 += step1, src2 += step2, dst += step ) size 4015 modules/core/src/arithm.cpp for( ; x <= size.width - 8; x += 8 ) size 4038 modules/core/src/arithm.cpp for( ; x <= size.width - 8; x += 8 ) size 4065 modules/core/src/arithm.cpp for( ; x <= size.width - 4; x += 4 ) size 4082 modules/core/src/arithm.cpp for( ; x < size.width; x++ ) size 4488 modules/core/src/arithm.cpp uchar* dst, size_t step, Size size, int code) size 4504 modules/core/src/arithm.cpp for( ; size.height--; src1 += step1, src2 += step2, dst += step ) size 4506 modules/core/src/arithm.cpp int x = vop(src1, src2, dst, size.width); size 4508 modules/core/src/arithm.cpp for( ; x <= size.width - 4; x += 4 ) size 4519 modules/core/src/arithm.cpp for( ; x < size.width; x++ ) size 4526 modules/core/src/arithm.cpp for( ; size.height--; src1 += step1, src2 += step2, dst += step ) size 4530 modules/core/src/arithm.cpp for( ; x <= size.width - 4; x += 4 ) size 4541 modules/core/src/arithm.cpp for( ; x < size.width; x++ ) size 4560 modules/core/src/arithm.cpp uchar* dst, size_t step, Size size, void* _cmpop) size 4568 modules/core/src/arithm.cpp fixSteps(size, sizeof(dst[0]), step1, step2, step); size 4569 modules/core/src/arithm.cpp if (0 <= ippiCompare_8u_C1R(src1, (int)step1, src2, (int)step2, dst, (int)step, ippiSize(size), op)) size 4592 modules/core/src/arithm.cpp for( ; size.height--; src1 += step1, src2 += step2, dst += step ) size 4600 modules/core/src/arithm.cpp for( ; x <= size.width - 16; x += 16 ) size 4616 modules/core/src/arithm.cpp for( ; x <= size.width - 16; x += 16 ) size 4623 modules/core/src/arithm.cpp for( ; x < size.width; x++ ){ size 4631 modules/core/src/arithm.cpp for( ; size.height--; src1 += step1, src2 += step2, dst += step ) size 4638 modules/core/src/arithm.cpp for( ; x <= size.width - 16; x += 16 ) size 4649 modules/core/src/arithm.cpp for( ; x <= size.width - 16; x += 16 ) size 4654 modules/core/src/arithm.cpp for( ; x < size.width; x++ ) size 4661 modules/core/src/arithm.cpp uchar* dst, size_t step, Size size, void* _cmpop) size 4663 modules/core/src/arithm.cpp cmp_(src1, step1, src2, step2, dst, step, size, *(int*)_cmpop); size 4667 modules/core/src/arithm.cpp uchar* dst, size_t step, Size size, void* _cmpop) size 4675 modules/core/src/arithm.cpp fixSteps(size, sizeof(dst[0]), step1, step2, step); size 4676 modules/core/src/arithm.cpp if (0 <= ippiCompare_16u_C1R(src1, (int)step1, src2, (int)step2, dst, (int)step, ippiSize(size), op)) size 4685 modules/core/src/arithm.cpp cmp_(src1, step1, src2, step2, dst, step, size, *(int*)_cmpop); size 4689 modules/core/src/arithm.cpp uchar* dst, size_t step, Size size, void* _cmpop) size 4697 modules/core/src/arithm.cpp fixSteps(size, sizeof(dst[0]), step1, step2, step); size 4698 modules/core/src/arithm.cpp if (0 <= ippiCompare_16s_C1R(src1, (int)step1, src2, (int)step2, dst, (int)step, ippiSize(size), op)) size 4722 modules/core/src/arithm.cpp for( ; size.height--; src1 += step1, src2 += step2, dst += step ) size 4729 modules/core/src/arithm.cpp for( ; x <= size.width - 16; x += 16 ) size 4740 modules/core/src/arithm.cpp if( x <= size.width-8) size 4754 modules/core/src/arithm.cpp for( ; x <= size.width - 16; x += 16 ) size 4768 modules/core/src/arithm.cpp for( ; x < size.width; x++ ){ size 4776 modules/core/src/arithm.cpp for( ; size.height--; src1 += step1, src2 += step2, dst += step ) size 4783 modules/core/src/arithm.cpp for( ; x <= size.width - 16; x += 16 ) size 4794 modules/core/src/arithm.cpp if( x <= size.width - 8) size 4808 modules/core/src/arithm.cpp for( ; x <= size.width - 16; x += 16 ) size 4821 modules/core/src/arithm.cpp for( ; x < size.width; x++ ) size 4828 modules/core/src/arithm.cpp uchar* dst, size_t step, Size size, void* _cmpop) size 4830 modules/core/src/arithm.cpp cmp_(src1, step1, src2, step2, dst, step, size, *(int*)_cmpop); size 4834 modules/core/src/arithm.cpp uchar* dst, size_t step, Size size, void* _cmpop) size 4842 modules/core/src/arithm.cpp fixSteps(size, sizeof(dst[0]), step1, step2, step); size 4843 modules/core/src/arithm.cpp if (0 <= ippiCompare_32f_C1R(src1, (int)step1, src2, (int)step2, dst, (int)step, ippiSize(size), op)) size 4852 modules/core/src/arithm.cpp cmp_(src1, step1, src2, step2, dst, step, size, *(int*)_cmpop); size 4856 modules/core/src/arithm.cpp uchar* dst, size_t step, Size size, void* _cmpop) size 4858 modules/core/src/arithm.cpp cmp_(src1, step1, src2, step2, dst, step, size, *(int*)_cmpop); size 4928 modules/core/src/arithm.cpp Size size = src1.size(); size 4929 modules/core/src/arithm.cpp _dst.create(size, CV_8UC(cn)); size 5017 modules/core/src/arithm.cpp if( kind1 == kind2 && src1.dims <= 2 && src2.dims <= 2 && src1.size() == src2.size() && src1.type() == src2.type() ) size 5020 modules/core/src/arithm.cpp _dst.create(src1.size(), CV_8UC(cn)); size 5029 modules/core/src/arithm.cpp _dst.create(src1.dims, src1.size, CV_8UC(cn)); size 5043 modules/core/src/arithm.cpp size_t total = it.size; size 5054 modules/core/src/arithm.cpp size_t total = it.size, blocksize = std::min(total, blocksize0); size 5449 modules/core/src/arithm.cpp Size size) size 5457 modules/core/src/arithm.cpp for( ; size.height--; src1 += step1, src2 += step2, src3 += step3, dst += step ) size 5459 modules/core/src/arithm.cpp int x = vop(src1, src2, src3, dst, size.width); size 5461 modules/core/src/arithm.cpp for( ; x <= size.width - 4; x += 4 ) size 5472 modules/core/src/arithm.cpp for( ; x < size.width; x++ ) size 5479 modules/core/src/arithm.cpp const uchar* src3, size_t step3, uchar* dst, size_t step, Size size) size 5481 modules/core/src/arithm.cpp inRange_(src1, step1, src2, step2, src3, step3, dst, step, size); size 5485 modules/core/src/arithm.cpp const schar* src3, size_t step3, uchar* dst, size_t step, Size size) size 5487 modules/core/src/arithm.cpp inRange_(src1, step1, src2, step2, src3, step3, dst, step, size); size 5491 modules/core/src/arithm.cpp const ushort* src3, size_t step3, uchar* dst, size_t step, Size size) size 5493 modules/core/src/arithm.cpp inRange_(src1, step1, src2, step2, src3, step3, dst, step, size); size 5497 modules/core/src/arithm.cpp const short* src3, size_t step3, uchar* dst, size_t step, Size size) size 5499 modules/core/src/arithm.cpp inRange_(src1, step1, src2, step2, src3, step3, dst, step, size); size 5503 modules/core/src/arithm.cpp const int* src3, size_t step3, uchar* dst, size_t step, Size size) size 5505 modules/core/src/arithm.cpp inRange_(src1, step1, src2, step2, src3, step3, dst, step, size); size 5509 modules/core/src/arithm.cpp const float* src3, size_t step3, uchar* dst, size_t step, Size size) size 5511 modules/core/src/arithm.cpp inRange_(src1, step1, src2, step2, src3, step3, dst, step, size); size 5515 modules/core/src/arithm.cpp const double* src3, size_t step3, uchar* dst, size_t step, Size size) size 5517 modules/core/src/arithm.cpp inRange_(src1, step1, src2, step2, src3, step3, dst, step, size); size 5566 modules/core/src/arithm.cpp Size ssize = _src.size(), lsize = _lowerb.size(), usize = _upperb.size(); size 5692 modules/core/src/arithm.cpp src.size != lb.size || src.type() != lb.type() ) size 5701 modules/core/src/arithm.cpp src.size != ub.size || src.type() != ub.type() ) size 5716 modules/core/src/arithm.cpp _dst.create(src.dims, src.size, CV_8UC1); size 5725 modules/core/src/arithm.cpp size_t total = it.size, blocksize = std::min(total, blocksize0); size 5797 modules/core/src/arithm.cpp CV_Assert( src.size == dst.size && src.type() == dst.type() ); size 5807 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); size 5819 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); size 5831 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); size 5842 modules/core/src/arithm.cpp CV_Assert( src.size == dst.size && src.type() == dst.type() ); size 5853 modules/core/src/arithm.cpp CV_Assert( src.size == dst.size && src.type() == dst.type() ); size 5864 modules/core/src/arithm.cpp CV_Assert( src.size == dst.size && src.type() == dst.type() ); size 5875 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.channels() == dst.channels() ); size 5886 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.channels() == dst.channels() ); size 5897 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.channels() == dst.channels() ); size 5908 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.channels() == dst.channels() ); size 5920 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.channels() == dst.channels() ); size 5930 modules/core/src/arithm.cpp CV_Assert( src2.size == dst.size && src2.channels() == dst.channels() ); size 5946 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.channels() == dst.channels() ); size 5955 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); size 5965 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); size 5976 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && dst.type() == CV_8U ); size 5986 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && dst.type() == CV_8U ); size 5996 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && dst.type() == CV_8U ); size 6006 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && dst.type() == CV_8U ); size 6016 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); size 6026 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); size 6036 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); size 6046 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); size 253 modules/core/src/array.cpp mat->dim[i].size = sizes[i]; size 307 modules/core/src/array.cpp sizes[i] = src->dim[i].size; size 362 modules/core/src/array.cpp matnd->dim[0].size = mat->rows; size 364 modules/core/src/array.cpp matnd->dim[1].size = mat->cols; size 388 modules/core/src/array.cpp int i, j, size, dim0 = -1; size 461 modules/core/src/array.cpp if( hdr->dim[j].size != hdr0->dim[j].size ) size 474 modules/core/src/array.cpp step *= hdr->dim[j].size; size 487 modules/core/src/array.cpp size = 1; size 489 modules/core/src/array.cpp size *= hdr0->dim[j].size; size 494 modules/core/src/array.cpp iterator->size = cvSize(size,1); size 497 modules/core/src/array.cpp iterator->stack[i] = hdr0->dim[i].size; size 517 modules/core/src/array.cpp const int size = iterator->hdr[0]->dim[dims-1].size; size 520 modules/core/src/array.cpp iterator->ptr[i] -= (size_t)size*iterator->hdr[i]->dim[dims-1].step; size 522 modules/core/src/array.cpp iterator->stack[dims-1] = size; size 541 modules/core/src/array.cpp int i, size; size 559 modules/core/src/array.cpp CvSparseMat* arr = (CvSparseMat*)cvAlloc(sizeof(*arr)+MAX(0,dims-CV_MAX_DIM)*sizeof(arr->size[0])); size 565 modules/core/src/array.cpp memcpy( arr->size, sizes, dims*sizeof(sizes[0])); size 569 modules/core/src/array.cpp size = (int)cvAlign(arr->idxoffset + dims*sizeof(int), sizeof(CvSetElem)); size 572 modules/core/src/array.cpp arr->heap = cvCreateSet( 0, sizeof(CvSet), size, storage ); size 575 modules/core/src/array.cpp size = arr->hashsize*sizeof(arr->hashtable[0]); size 577 modules/core/src/array.cpp arr->hashtable = (void**)cvAlloc( size ); size 578 modules/core/src/array.cpp memset( arr->hashtable, 0, size ); size 615 modules/core/src/array.cpp CvSparseMat* dst = cvCreateSparseMat( src->dims, src->size, src->type ); size 664 modules/core/src/array.cpp if( (unsigned)t >= (unsigned)mat->size[i] ) size 758 modules/core/src/array.cpp if( (unsigned)t >= (unsigned)mat->size[i] ) size 861 modules/core/src/array.cpp if( mat->dim[0].size == 0 ) size 869 modules/core/src/array.cpp total_size = (size_t)mat->dim[0].size*(mat->dim[0].step != 0 ? size 877 modules/core/src/array.cpp size_t size = (size_t)mat->dim[i].step*mat->dim[i].size; size 879 modules/core/src/array.cpp if( total_size < size ) size 880 modules/core/src/array.cpp total_size = size; size 970 modules/core/src/array.cpp cur_step *= mat->dim[i].size; size 1060 modules/core/src/array.cpp int size1 = mat->dim[0].size, size2 = 1; size 1066 modules/core/src/array.cpp size1 *= mat->dim[i].size; size 1069 modules/core/src/array.cpp size2 = mat->dim[1].size; size 1138 modules/core/src/array.cpp sizes[i] = mat->dim[i].size; size 1147 modules/core/src/array.cpp memcpy( sizes, mat->size, dims*sizeof(sizes[0])); size 1160 modules/core/src/array.cpp int size = -1; size 1169 modules/core/src/array.cpp size = mat->rows; size 1172 modules/core/src/array.cpp size = mat->cols; size 1185 modules/core/src/array.cpp size = !img->roi ? img->height : img->roi->height; size 1188 modules/core/src/array.cpp size = !img->roi ? img->width : img->roi->width; size 1201 modules/core/src/array.cpp size = mat->dim[index].size; size 1210 modules/core/src/array.cpp size = mat->size[index]; size 1215 modules/core/src/array.cpp return size; size 1223 modules/core/src/array.cpp CvSize size; size 1229 modules/core/src/array.cpp size.width = mat->cols; size 1230 modules/core/src/array.cpp size.height = mat->rows; size 1238 modules/core/src/array.cpp size.width = img->roi->width; size 1239 modules/core/src/array.cpp size.height = img->roi->height; size 1243 modules/core/src/array.cpp size.width = img->width; size 1244 modules/core/src/array.cpp size.height = img->height; size 1250 modules/core/src/array.cpp return size; size 1692 modules/core/src/array.cpp size_t size = mat->dim[0].size; size 1698 modules/core/src/array.cpp size *= mat->dim[j].size; size 1700 modules/core/src/array.cpp if((unsigned)idx >= (unsigned)size ) size 1713 modules/core/src/array.cpp int sz = mat->dim[j].size; size 1736 modules/core/src/array.cpp int t = idx / m->size[i]; size 1737 modules/core/src/array.cpp _idx[i] = idx - t*m->size[i]; size 1825 modules/core/src/array.cpp (unsigned)y >= (unsigned)(mat->dim[0].size) || size 1826 modules/core/src/array.cpp (unsigned)x >= (unsigned)(mat->dim[1].size) ) size 1857 modules/core/src/array.cpp (unsigned)z >= (unsigned)(mat->dim[0].size) || size 1858 modules/core/src/array.cpp (unsigned)y >= (unsigned)(mat->dim[1].size) || size 1859 modules/core/src/array.cpp (unsigned)x >= (unsigned)(mat->dim[2].size) ) size 1902 modules/core/src/array.cpp if( (unsigned)idx[i] >= (unsigned)(mat->dim[i].size) ) size 2464 modules/core/src/array.cpp int size1 = matnd->dim[0].size, size2 = 1; size 2476 modules/core/src/array.cpp size2 *= matnd->dim[i].size; size 2479 modules/core/src/array.cpp size2 = matnd->dims == 1 ? 1 : matnd->dim[1].size; size 2627 modules/core/src/array.cpp int last_dim_size = mat->dim[mat->dims-1].size*CV_MAT_CN(mat->type); size 2641 modules/core/src/array.cpp header->dim[header->dims-1].size = new_size; size 2666 modules/core/src/array.cpp size1 = mat->dim[0].size; size 2668 modules/core/src/array.cpp size1 *= mat->dim[i].size; size 2696 modules/core/src/array.cpp header->dim[i].size = new_sizes[i]; size 2873 modules/core/src/array.cpp cvCreateImageHeader( CvSize size, int depth, int channels ) size 2880 modules/core/src/array.cpp cvInitImageHeader( img, size, depth, channels, IPL_ORIGIN_TL, size 2892 modules/core/src/array.cpp size.width, size.height, 0, 0, 0, 0 ); size 2901 modules/core/src/array.cpp cvCreateImage( CvSize size, int depth, int channels ) size 2903 modules/core/src/array.cpp IplImage *img = cvCreateImageHeader( size, depth, channels ); size 2913 modules/core/src/array.cpp cvInitImageHeader( IplImage * image, CvSize size, int depth, size 2928 modules/core/src/array.cpp if( size.width < 0 || size.height < 0 ) size 2943 modules/core/src/array.cpp image->width = size.width; size 2944 modules/core/src/array.cpp image->height = size.height; size 2950 modules/core/src/array.cpp image->roi->width = size.width; size 2951 modules/core/src/array.cpp image->roi->height = size.height; size 3137 modules/core/src/array.cpp int size = src->imageSize; size 3139 modules/core/src/array.cpp memcpy( dst->imageData, src->imageData, size ); size 22 modules/core/src/bufferpool.impl.hpp virtual void setMaxReservedSize(size_t size) { (void)size; } size 96 modules/core/src/command_line_parser.cpp for (size_t i = 0; i < impl->data.size(); i++) size 98 modules/core/src/command_line_parser.cpp for (size_t j = 0; j < impl->data[i].keys.size(); j++) size 125 modules/core/src/command_line_parser.cpp for (size_t i = 0; i < impl->data.size(); i++) size 181 modules/core/src/command_line_parser.cpp for (size_t i = 0; i < k.size(); i++) size 189 modules/core/src/command_line_parser.cpp if (p.keys.size() <= 0) size 271 modules/core/src/command_line_parser.cpp for (size_t i = 0; i < data.size(); i++) size 273 modules/core/src/command_line_parser.cpp for (size_t k = 0; k < data[i].keys.size(); k++) size 286 modules/core/src/command_line_parser.cpp for (size_t j = 0; j < data.size(); j++) size 298 modules/core/src/command_line_parser.cpp for (size_t i = 0; i < data.size(); i++) size 323 modules/core/src/command_line_parser.cpp for (size_t i = 0; i < impl->data.size(); i++) size 325 modules/core/src/command_line_parser.cpp for (size_t j = 0; j < impl->data[i].keys.size(); j++) size 357 modules/core/src/command_line_parser.cpp for (size_t i = 0; i < impl->data.size(); i++) size 368 modules/core/src/command_line_parser.cpp for (size_t i = 0; i < impl->data.size(); i++) size 373 modules/core/src/command_line_parser.cpp for (size_t j = 0; j < impl->data[i].keys.size(); j++) size 386 modules/core/src/command_line_parser.cpp if (j != impl->data[i].keys.size() - 1) size 401 modules/core/src/command_line_parser.cpp for (size_t i = 0; i < impl->data.size(); i++) size 843 modules/core/src/convert.cpp mv[k].create(src.dims, src.size, depth); size 848 modules/core/src/convert.cpp int total = (int)it.size, blocksize = cn <= 4 ? total : std::min(total, blocksize0); size 892 modules/core/src/convert.cpp Size size = _m.size(); size 895 modules/core/src/convert.cpp _mv.create(size, depth, i); size 905 modules/core/src/convert.cpp size_t globalsize[2] = { size.width, (size.height + rowsPerWI - 1) / rowsPerWI }; size 927 modules/core/src/convert.cpp Size size = m.size(); size 931 modules/core/src/convert.cpp _mv.create(size, depth, i); size 950 modules/core/src/convert.cpp CV_Assert(mv[i].size == mv[0].size && mv[i].depth() == depth); size 956 modules/core/src/convert.cpp _dst.create(mv[0].dims, mv[0].size, CV_MAKETYPE(depth, cn)); size 994 modules/core/src/convert.cpp int total = (int)it.size, blocksize = cn <= 4 ? total : std::min(total, blocksize0); size 1026 modules/core/src/convert.cpp Size size = src[0].size(); size 1028 modules/core/src/convert.cpp for (size_t i = 0, srcsize = src.size(); i < srcsize; ++i) size 1035 modules/core/src/convert.cpp CV_Assert(size == src[i].size() && depth == idepth); size 1044 modules/core/src/convert.cpp int dcn = (int)ksrc.size(); size 1063 modules/core/src/convert.cpp _dst.create(size, CV_MAKE_TYPE(depth, dcn)); size 1087 modules/core/src/convert.cpp merge(!mv.empty() ? &mv[0] : 0, mv.size(), _dst); size 1224 modules/core/src/convert.cpp int total = (int)it.size, blocksize = std::min(total, (int)((BLOCK_SIZE + esz1-1)/esz1)); size 1257 modules/core/src/convert.cpp for (size_t i = 0, size = um.size(); i < size; ++i) size 1286 modules/core/src/convert.cpp size_t nsrc = src.size(), ndst = dst.size(); size 1289 modules/core/src/convert.cpp Size size = src[0].size(); size 1293 modules/core/src/convert.cpp for (size_t i = 1, ssize = src.size(); i < ssize; ++i) size 1294 modules/core/src/convert.cpp CV_Assert(src[i].size() == size && src[i].depth() == depth); size 1295 modules/core/src/convert.cpp for (size_t i = 0, dsize = dst.size(); i < dsize; ++i) size 1296 modules/core/src/convert.cpp CV_Assert(dst[i].size() == size && dst[i].depth() == depth); size 1337 modules/core/src/convert.cpp argindex = k.set(argindex, size.height); size 1338 modules/core/src/convert.cpp argindex = k.set(argindex, size.width); size 1341 modules/core/src/convert.cpp size_t globalsize[2] = { size.width, (size.height + rowsPerWI - 1) / rowsPerWI }; size 1385 modules/core/src/convert.cpp ocl_mixChannels(src, dst, &fromTo[0], fromTo.size()>>1)) size 1397 modules/core/src/convert.cpp CV_Assert(fromTo.size()%2 == 0 && nsrc > 0 && ndst > 0); size 1404 modules/core/src/convert.cpp mixChannels(&buf[0], nsrc, &buf[nsrc], ndst, &fromTo[0], fromTo.size()/2); size 1416 modules/core/src/convert.cpp _dst.create(src.dims, &src.size[0], depth); size 1423 modules/core/src/convert.cpp _dst.create(src.dims, &src.size[0], depth); size 1911 modules/core/src/convert.cpp DT* dst, size_t dstep, Size size, size 1918 modules/core/src/convert.cpp for( ; size.height--; src += sstep, dst += dstep ) size 1920 modules/core/src/convert.cpp int x = vop(src, dst, size.width, scale, shift); size 1923 modules/core/src/convert.cpp for( ; x <= size.width - 4; x += 4 ) size 1934 modules/core/src/convert.cpp for( ; x < size.width; x++ ) size 4234 modules/core/src/convert.cpp DT* dst, size_t dstep, Size size, size 4242 modules/core/src/convert.cpp for( ; size.height--; src += sstep, dst += dstep ) size 4244 modules/core/src/convert.cpp int x = vop(src, dst, size.width, scale, shift); size 4247 modules/core/src/convert.cpp for( ; x <= size.width - 4; x += 4 ) size 4259 modules/core/src/convert.cpp for( ; x < size.width; x++ ) size 4267 modules/core/src/convert.cpp short* dst, size_t dstep, Size size, size 4273 modules/core/src/convert.cpp for( ; size.height--; src += sstep, dst += dstep ) size 4281 modules/core/src/convert.cpp for(; x <= size.width - 8; x += 8 ) size 4297 modules/core/src/convert.cpp for(; x <= size.width - 8; x += 8 ) size 4311 modules/core/src/convert.cpp for(; x < size.width; x++ ) size 4318 modules/core/src/convert.cpp int* dst, size_t dstep, Size size, size 4324 modules/core/src/convert.cpp for( ; size.height--; src += sstep, dst += dstep ) size 4335 modules/core/src/convert.cpp for ( ; x <= size.width - 16; x += 16) size 4353 modules/core/src/convert.cpp for(; x <= size.width - 8; x += 8 ) size 4368 modules/core/src/convert.cpp for(; x <= size.width - 8; x += 8 ) size 4382 modules/core/src/convert.cpp for(; x < size.width; x++ ) size 5100 modules/core/src/convert.cpp DT* dst, size_t dstep, Size size ) size 5106 modules/core/src/convert.cpp for( ; size.height--; src += sstep, dst += dstep ) size 5108 modules/core/src/convert.cpp int x = vop(src, dst, size.width); size 5110 modules/core/src/convert.cpp for( ; x <= size.width - 4; x += 4 ) size 5121 modules/core/src/convert.cpp for( ; x < size.width; x++ ) size 5129 modules/core/src/convert.cpp short* dst, size_t dstep, Size size ) size 5134 modules/core/src/convert.cpp for( ; size.height--; src += sstep, dst += dstep ) size 5140 modules/core/src/convert.cpp for( ; x <= size.width - 8; x += 8 ) size 5153 modules/core/src/convert.cpp for( ; x <= size.width - 8; x += 8 ) size 5161 modules/core/src/convert.cpp for( ; x < size.width; x++ ) size 5169 modules/core/src/convert.cpp cpy_( const T* src, size_t sstep, T* dst, size_t dstep, Size size ) size 5174 modules/core/src/convert.cpp for( ; size.height--; src += sstep, dst += dstep ) size 5175 modules/core/src/convert.cpp memcpy(dst, src, size.width*sizeof(src[0])); size 5180 modules/core/src/convert.cpp dtype* dst, size_t dstep, Size size, double* scale) \ size 5182 modules/core/src/convert.cpp tfunc(src, sstep, dst, dstep, size, (wtype)scale[0], (wtype)scale[1]); \ size 5187 modules/core/src/convert.cpp dtype* dst, size_t dstep, Size size, double* scale) \ size 5189 modules/core/src/convert.cpp cvtScale_(src, sstep, dst, dstep, size, (wtype)scale[0], (wtype)scale[1]); \ size 5195 modules/core/src/convert.cpp dtype* dst, size_t dstep, Size size, double*) \ size 5201 modules/core/src/convert.cpp if (ippiConvert_##ippFavor(src, (int)sstep, dst, (int)dstep, ippiSize(size.width, size.height)) >= 0) \ size 5209 modules/core/src/convert.cpp cvt_(src, sstep, dst, dstep, size); \ size 5214 modules/core/src/convert.cpp dtype* dst, size_t dstep, Size size, double*) \ size 5220 modules/core/src/convert.cpp if (ippiConvert_##ippFavor(src, (int)sstep, dst, (int)dstep, ippiSize(size.width, size.height), ippRndFinancial, 0) >= 0) \ size 5228 modules/core/src/convert.cpp cvt_(src, sstep, dst, dstep, size); \ size 5233 modules/core/src/convert.cpp dtype* dst, size_t dstep, Size size, double*) \ size 5235 modules/core/src/convert.cpp cvt_(src, sstep, dst, dstep, size); \ size 5242 modules/core/src/convert.cpp dtype* dst, size_t dstep, Size size, double*) \ size 5244 modules/core/src/convert.cpp cvt_(src, sstep, dst, dstep, size); \ size 5249 modules/core/src/convert.cpp stype* dst, size_t dstep, Size size, double*) \ size 5251 modules/core/src/convert.cpp cpy_(src, sstep, dst, dstep, size); \ size 5489 modules/core/src/convert.cpp _dst.create(_src.size(), CV_8UC(cn)); size 5546 modules/core/src/convert.cpp _dst.create( src.dims, src.size, CV_8UC(cn) ); size 5561 modules/core/src/convert.cpp Size sz((int)it.size*cn, 1); size 5593 modules/core/src/convert.cpp _dst.create( size(), _type ); size 5600 modules/core/src/convert.cpp _dst.create( dims, size, _type ); size 5605 modules/core/src/convert.cpp Size sz((int)(it.size*cn), 1); size 5685 modules/core/src/convert.cpp _dst.create(src.size(), CV_MAKETYPE(ddepth, dcn)); size 5839 modules/core/src/convert.cpp ippiSize(dst.size()), lutTable, 8) >= 0) size 5849 modules/core/src/convert.cpp ippiSize(dst.size()), lutTable, 8) >= 0) size 5898 modules/core/src/convert.cpp int len = (int)it.size; size 5923 modules/core/src/convert.cpp _dst.create(src.dims, src.size, CV_MAKETYPE(_lut.depth(), cn)); size 5973 modules/core/src/convert.cpp int len = (int)it.size; size 6129 modules/core/src/convert.cpp CV_Assert( dvec[j].size() == src.size() ); size 6165 modules/core/src/convert.cpp CV_Assert( svec[j].size == dst.size && size 6203 modules/core/src/convert.cpp CV_Assert( src.size == dst.size && dst.type() == CV_8UC(src.channels())); size 6213 modules/core/src/convert.cpp CV_Assert( src.size == dst.size && src.channels() == dst.channels() ); size 6221 modules/core/src/convert.cpp CV_Assert( dst.size() == src.size() && dst.type() == CV_MAKETYPE(lut.depth(), src.channels()) ); size 6231 modules/core/src/convert.cpp CV_Assert( dst.size() == src.size() && src.channels() == dst.channels() ); size 56 modules/core/src/copy.cpp copyMask_(const uchar* _src, size_t sstep, const uchar* mask, size_t mstep, uchar* _dst, size_t dstep, Size size) size 58 modules/core/src/copy.cpp for( ; size.height--; mask += mstep, _src += sstep, _dst += dstep ) size 64 modules/core/src/copy.cpp for( ; x <= size.width - 4; x += 4 ) size 76 modules/core/src/copy.cpp for( ; x < size.width; x++ ) size 83 modules/core/src/copy.cpp copyMask_<uchar>(const uchar* _src, size_t sstep, const uchar* mask, size_t mstep, uchar* _dst, size_t dstep, Size size) size 88 modules/core/src/copy.cpp if (ippiCopy_8u_C1MR(_src, (int)sstep, _dst, (int)dstep, ippiSize(size), mask, (int)mstep) >= 0) size 97 modules/core/src/copy.cpp for( ; size.height--; mask += mstep, _src += sstep, _dst += dstep ) size 107 modules/core/src/copy.cpp for( ; x <= size.width - 16; x += 16 ) size 119 modules/core/src/copy.cpp for( ; x <= size.width - 16; x += 16 ) size 126 modules/core/src/copy.cpp for( ; x < size.width; x++ ) size 133 modules/core/src/copy.cpp copyMask_<ushort>(const uchar* _src, size_t sstep, const uchar* mask, size_t mstep, uchar* _dst, size_t dstep, Size size) size 138 modules/core/src/copy.cpp if (ippiCopy_16u_C1MR((const Ipp16u *)_src, (int)sstep, (Ipp16u *)_dst, (int)dstep, ippiSize(size), mask, (int)mstep) >= 0) size 147 modules/core/src/copy.cpp for( ; size.height--; mask += mstep, _src += sstep, _dst += dstep ) size 156 modules/core/src/copy.cpp for( ; x <= size.width - 8; x += 8 ) size 169 modules/core/src/copy.cpp for( ; x <= size.width - 8; x += 8 ) size 179 modules/core/src/copy.cpp for( ; x < size.width; x++ ) size 186 modules/core/src/copy.cpp copyMaskGeneric(const uchar* _src, size_t sstep, const uchar* mask, size_t mstep, uchar* _dst, size_t dstep, Size size, void* _esz) size 189 modules/core/src/copy.cpp for( ; size.height--; mask += mstep, _src += sstep, _dst += dstep ) size 194 modules/core/src/copy.cpp for( ; x < size.width; x++, src += esz, dst += esz ) size 207 modules/core/src/copy.cpp uchar* dst, size_t dstep, Size size, void*) \ size 209 modules/core/src/copy.cpp copyMask_<type>(src, sstep, mask, mstep, dst, dstep, size); \ size 215 modules/core/src/copy.cpp uchar* dst, size_t dstep, Size size, void*) \ size 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) \ size 226 modules/core/src/copy.cpp copyMask_<type>(src, sstep, mask, mstep, dst, dstep, size); \ size 231 modules/core/src/copy.cpp uchar* dst, size_t dstep, Size size, void*) \ size 233 modules/core/src/copy.cpp copyMask_<type>(src, sstep, mask, mstep, dst, dstep, size); \ size 294 modules/core/src/copy.cpp _dst.create( dims, size.p, type() ); size 299 modules/core/src/copy.cpp sz[i] = size.p[i]; size 340 modules/core/src/copy.cpp _dst.create( dims, size, type() ); size 350 modules/core/src/copy.cpp size_t sz = it.size*elemSize(); size 374 modules/core/src/copy.cpp _dst.create( dims, size, type() ); size 382 modules/core/src/copy.cpp CV_Assert( size() == mask.size() ); size 391 modules/core/src/copy.cpp Size sz((int)(it.size*mcn), 1); size 402 modules/core/src/copy.cpp size_t elsize = it.size*elemSize(); size 473 modules/core/src/copy.cpp CV_Assert( mask.empty() || (mask.type() == CV_8U && size == mask.size) ); size 562 modules/core/src/copy.cpp int totalsz = (int)it.size, blockSize0 = std::min(totalsz, (int)((BLOCK_SIZE + esz-1)/esz)); size 588 modules/core/src/copy.cpp flipHoriz( const uchar* src, size_t sstep, uchar* dst, size_t dstep, Size size, size_t esz ) size 590 modules/core/src/copy.cpp int i, j, limit = (int)(((size.width + 1)/2)*esz); size 591 modules/core/src/copy.cpp AutoBuffer<int> _tab(size.width*esz); size 594 modules/core/src/copy.cpp for( i = 0; i < size.width; i++ ) size 596 modules/core/src/copy.cpp tab[i*esz + k] = (int)((size.width - i - 1)*esz + k); size 598 modules/core/src/copy.cpp for( ; size.height--; src += sstep, dst += dstep ) size 610 modules/core/src/copy.cpp flipVert( const uchar* src0, size_t sstep, uchar* dst0, size_t dstep, Size size, size_t esz ) size 612 modules/core/src/copy.cpp const uchar* src1 = src0 + (size.height - 1)*sstep; size 613 modules/core/src/copy.cpp uchar* dst1 = dst0 + (size.height - 1)*dstep; size 614 modules/core/src/copy.cpp size.width *= (int)esz; size 616 modules/core/src/copy.cpp for( int y = 0; y < (size.height + 1)/2; y++, src0 += sstep, src1 -= sstep, size 622 modules/core/src/copy.cpp for( ; i <= size.width - 16; i += 16 ) size 649 modules/core/src/copy.cpp for( ; i <= size.width - 4; i += 4 ) size 659 modules/core/src/copy.cpp for( ; i < size.width; i++ ) size 707 modules/core/src/copy.cpp Size size = _src.size(); size 708 modules/core/src/copy.cpp _dst.create(size, type); size 711 modules/core/src/copy.cpp int cols = size.width * cn / kercn, rows = size.height; size 731 modules/core/src/copy.cpp Size size = _src.size(); size 735 modules/core/src/copy.cpp if (size.width == 1) size 737 modules/core/src/copy.cpp if (size.height == 1) size 741 modules/core/src/copy.cpp if ((size.width == 1 && flip_mode > 0) || size 742 modules/core/src/copy.cpp (size.height == 1 && flip_mode == 0) || size 743 modules/core/src/copy.cpp (size.height == 1 && size.width == 1 && flip_mode < 0)) size 752 modules/core/src/copy.cpp _dst.create( size, type ); size 830 modules/core/src/copy.cpp flipVert( src.ptr(), src.step, dst.ptr(), dst.step, src.size(), esz ); size 832 modules/core/src/copy.cpp flipHoriz( src.ptr(), src.step, dst.ptr(), dst.step, src.size(), esz ); size 835 modules/core/src/copy.cpp flipHoriz( dst.ptr(), dst.step, dst.ptr(), dst.step, dst.size(), esz ); size 873 modules/core/src/copy.cpp Size ssize = _src.size(); size 882 modules/core/src/copy.cpp Size dsize = dst.size(); size 1302 modules/core/src/copy.cpp copyMakeBorder_8u( src.ptr(), src.step, src.size(), size 1303 modules/core/src/copy.cpp dst.ptr(), dst.step, dst.size(), size 1315 modules/core/src/copy.cpp copyMakeConstBorder_8u( src.ptr(), src.step, src.size(), size 1316 modules/core/src/copy.cpp dst.ptr(), dst.step, dst.size(), size 1334 modules/core/src/copy.cpp memcpy( dst1->size, src1->size, src1->dims*sizeof(src1->size[0])); size 1361 modules/core/src/copy.cpp CV_Assert( src.depth() == dst.depth() && src.size == dst.size ); size 1423 modules/core/src/copy.cpp CV_Assert( src.type() == dst.type() && src.size() == dst.size() ); size 116 modules/core/src/cuda_gpu_mat.cpp rows = rowRange_.size(); size 128 modules/core/src/cuda_gpu_mat.cpp cols = colRange_.size(); size 263 modules/core/src/cuda_gpu_mat.cpp if (obj.empty() || obj.type() != type || !obj.isContinuous() || obj.size().area() < area) size 361 modules/core/src/cuda_gpu_mat.cpp src = pool.getBuffer(_src.size(), _src.type()); size 85 modules/core/src/cuda_host_mem.cpp u->size = total; size 334 modules/core/src/cuda_info.cpp CV_Assert( static_cast<size_t>(devID) < props_.size() ); size 60 modules/core/src/cuda_stream.cpp uchar* requestMemory(size_t size); size 75 modules/core/src/cuda_stream.cpp uchar* MemoryStack::requestMemory(size_t size) size 79 modules/core/src/cuda_stream.cpp if (size > freeMem) size 84 modules/core/src/cuda_stream.cpp tip += size; size 87 modules/core/src/cuda_stream.cpp allocations.push_back(size); size 348 modules/core/src/cuda_stream.cpp for (size_t i = 0; i < pools_.size(); ++i) size 369 modules/core/src/cuda_stream.cpp CV_DbgAssert( deviceId >= 0 && deviceId < static_cast<int>(streams_.size()) ); size 393 modules/core/src/cuda_stream.cpp CV_DbgAssert( deviceId >= 0 && deviceId < static_cast<int>(pools_.size()) ); size 56 modules/core/src/datastructs.cpp cvAlignLeft( int size, int align ) size 58 modules/core/src/datastructs.cpp return size & -align; size 323 modules/core/src/datastructs.cpp cvMemStorageAlloc( CvMemStorage* storage, size_t size ) size 329 modules/core/src/datastructs.cpp if( size > INT_MAX ) size 334 modules/core/src/datastructs.cpp if( (size_t)storage->free_space < size ) size 337 modules/core/src/datastructs.cpp if( max_free_space < size ) size 345 modules/core/src/datastructs.cpp storage->free_space = cvAlignLeft(storage->free_space - (int)size, CV_STRUCT_ALIGN ); size 719 modules/core/src/directx.cpp Size srcSize = src.size(); size 867 modules/core/src/directx.cpp Size srcSize = src.size(); size 1018 modules/core/src/directx.cpp Size srcSize = src.size(); size 1847 modules/core/src/dxt.cpp for (size_t i=0; i<radixes.size(); i++) size 2005 modules/core/src/dxt.cpp for (size_t i=0; i<radixes.size(); i++) size 2079 modules/core/src/dxt.cpp Size ssize = _src.size(); size 2123 modules/core/src/dxt.cpp _dst.create(src.size(), CV_MAKETYPE(depth, 2)); size 2131 modules/core/src/dxt.cpp _dst.create(src.size(), CV_MAKETYPE(depth, 1)); size 2136 modules/core/src/dxt.cpp _dst.create(src.size(), CV_MAKETYPE(depth, 1)); size 2137 modules/core/src/dxt.cpp output.create(src.size(), CV_MAKETYPE(depth, 2)); size 2303 modules/core/src/dxt.cpp for (size_t i = 0, size = planStorage.size(); i < size; ++i) size 2364 modules/core/src/dxt.cpp Size ssize = _src.size(); size 2509 modules/core/src/dxt.cpp _dst.create( src.size(), CV_MAKETYPE(depth, 2) ); size 2511 modules/core/src/dxt.cpp _dst.create( src.size(), depth ); size 2513 modules/core/src/dxt.cpp _dst.create( src.size(), type ); size 2918 modules/core/src/dxt.cpp Size asize = _srcA.size(), bsize = _srcB.size(); size 2925 modules/core/src/dxt.cpp CV_Assert(A.size() == B.size()); size 2927 modules/core/src/dxt.cpp _dst.create(A.size(), atype); size 2958 modules/core/src/dxt.cpp CV_Assert( type == srcB.type() && srcA.size() == srcB.size() ); size 3816 modules/core/src/dxt.cpp CV_Assert( src.size == dst.size ); size 3838 modules/core/src/dxt.cpp CV_Assert( srcA.size == dst.size && srcA.type() == dst.type() ); size 3850 modules/core/src/dxt.cpp CV_Assert( src.size == dst.size && src.type() == dst.type() ); size 801 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_PointSize(GLfloat size) size 804 modules/core/src/gl_core_3_1.cpp PointSize(size); size 1367 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_BufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) size 1370 modules/core/src/gl_core_3_1.cpp BufferData(target, size, data, usage); size 1373 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_BufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data) size 1376 modules/core/src/gl_core_3_1.cpp BufferSubData(target, offset, size, data); size 1379 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_GetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data) size 1382 modules/core/src/gl_core_3_1.cpp GetBufferSubData(target, offset, size, data); size 1501 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) size 1504 modules/core/src/gl_core_3_1.cpp GetActiveAttrib(program, index, bufSize, length, size, type, name); size 1507 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) size 1510 modules/core/src/gl_core_3_1.cpp GetActiveUniform(program, index, bufSize, length, size, type, name); size 1747 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_VertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer) size 1750 modules/core/src/gl_core_3_1.cpp VertexAttribPointer(index, size, type, normalized, stride, pointer); size 2003 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_BindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) size 2006 modules/core/src/gl_core_3_1.cpp BindBufferRange(target, index, buffer, offset, size); size 2021 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_GetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name) size 2024 modules/core/src/gl_core_3_1.cpp GetTransformFeedbackVarying(program, index, bufSize, length, size, type, name); size 2045 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_VertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) size 2048 modules/core/src/gl_core_3_1.cpp VertexAttribIPointer(index, size, type, stride, pointer); size 2349 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_CopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) size 2352 modules/core/src/gl_core_3_1.cpp CopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size); size 2395 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_VertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) size 2398 modules/core/src/gl_core_3_1.cpp VertexPointer(size, type, stride, ptr); size 2407 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_ColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) size 2410 modules/core/src/gl_core_3_1.cpp ColorPointer(size, type, stride, ptr); size 2413 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_TexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) size 2416 modules/core/src/gl_core_3_1.cpp TexCoordPointer(size, type, stride, ptr); size 1073 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *PointSize)(GLfloat size); size 1174 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *BufferData)(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); size 1175 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *BufferSubData)(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); size 1176 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *GetBufferSubData)(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data); size 1198 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *GetActiveAttrib)(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); size 1199 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *GetActiveUniform)(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); size 1239 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *VertexAttribPointer)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); size 1290 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *BindBufferRange)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); size 1293 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *GetTransformFeedbackVarying)(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); size 1297 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *VertexAttribIPointer)(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); size 1351 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *CopyBufferSubData)(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); size 1362 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *VertexPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr); size 1364 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *ColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr); size 1365 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *TexCoordPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr); size 267 modules/core/src/glob.cpp if(strchr(dir_separators, pattern[pattern.size() - 1]) != 0) size 269 modules/core/src/glob.cpp path = pattern.substr(0, pattern.size() - 1); size 53 modules/core/src/kmeans.cpp size_t j, dims = box.size(); size 253 modules/core/src/kmeans.cpp _labels.create(best_labels.size(), best_labels.type()); size 1454 modules/core/src/lapack.cpp (w.size() == Size(nm, 1) || w.size() == Size(1, nm) || w.size() == Size(vt.rows, u.cols)) ); size 1580 modules/core/src/lapack.cpp if( evals0.size() == evals.size() ) size 1598 modules/core/src/lapack.cpp (w.size() == cv::Size(nm,1) || w.size() == cv::Size(1, nm) || size 1599 modules/core/src/lapack.cpp w.size() == cv::Size(nm, nm) || w.size() == cv::Size(n, m)) ); size 1603 modules/core/src/lapack.cpp if( w.size() == cv::Size(nm, 1) ) size 1624 modules/core/src/lapack.cpp ((m != n && (svd.u.size() == cv::Size(mn, mn) || size 1625 modules/core/src/lapack.cpp svd.vt.size() == cv::Size(mn, mn))) ? cv::SVD::FULL_UV : 0)); size 1633 modules/core/src/lapack.cpp CV_Assert( u.size() == svd.u.size() ); size 1644 modules/core/src/lapack.cpp CV_Assert( v.size() == svd.vt.size() ); size 1651 modules/core/src/lapack.cpp if( w.size() == svd.w.size() ) size 96 modules/core/src/lda.cpp for(size_t idx = 0; idx < indices.size(); idx++) { size 1000 modules/core/src/lda.cpp std::vector<int> mapped_labels(labels.size()); size 1003 modules/core/src/lda.cpp for (int i = 0; i < (int)num2label.size(); i++) size 1005 modules/core/src/lda.cpp for (size_t i = 0; i < labels.size(); i++) size 1011 modules/core/src/lda.cpp int C = (int)num2label.size(); size 1019 modules/core/src/lda.cpp if (labels.size() != static_cast<size_t>(N)) { size 1020 modules/core/src/lda.cpp String error_message = format("The number of samples must equal the number of labels. Given %d labels, %d samples. ", labels.size(), N); size 131 modules/core/src/lpsolver.cpp unsigned int nsize = (unsigned int)N.size(); size 150 modules/core/src/lpsolver.cpp B[0]=(int)N.size(); size 199 modules/core/src/lpsolver.cpp unsigned int nsize = (unsigned int)N.size(); size 84 modules/core/src/mathfuncs.cpp _dst.create(src1.size(), type); size 173 modules/core/src/mathfuncs.cpp CV_Assert( src1.size() == src2.size() && type == src2.type() && (depth == CV_32F || depth == CV_64F)); size 179 modules/core/src/mathfuncs.cpp dst.create(X.dims, X.size, X.type()); size 185 modules/core/src/mathfuncs.cpp int len = (int)it.size*cn; size 208 modules/core/src/mathfuncs.cpp CV_Assert( src1.size() == src2.size() && type == src2.type() && (depth == CV_32F || depth == CV_64F)); size 214 modules/core/src/mathfuncs.cpp dst.create( X.dims, X.size, type ); size 222 modules/core/src/mathfuncs.cpp int j, k, total = (int)(it.size*cn), blockSize = total; size 321 modules/core/src/mathfuncs.cpp Size size = src1.size(); size 322 modules/core/src/mathfuncs.cpp CV_Assert( size == src2.size() ); size 324 modules/core/src/mathfuncs.cpp _dst1.create(size, type); size 325 modules/core/src/mathfuncs.cpp _dst2.create(size, type); size 347 modules/core/src/mathfuncs.cpp CV_Assert( X.size == Y.size && type == Y.type() && (depth == CV_32F || depth == CV_64F)); size 348 modules/core/src/mathfuncs.cpp dst1.create( X.dims, X.size, type ); size 349 modules/core/src/mathfuncs.cpp dst2.create( X.dims, X.size, type ); size 357 modules/core/src/mathfuncs.cpp int j, k, total = (int)(it.size*cn), blockSize = std::min(total, ((BLOCK_SIZE+cn-1)/cn)*cn); size 605 modules/core/src/mathfuncs.cpp Size size = angle.size(); size 606 modules/core/src/mathfuncs.cpp CV_Assert(mag.size() == size); size 608 modules/core/src/mathfuncs.cpp _dst1.create(size, type); size 609 modules/core/src/mathfuncs.cpp _dst2.create(size, type); size 631 modules/core/src/mathfuncs.cpp CV_Assert( Mag.empty() || Angle.size == Mag.size); size 632 modules/core/src/mathfuncs.cpp dst1.create( Angle.dims, Angle.size, type ); size 633 modules/core/src/mathfuncs.cpp dst2.create( Angle.dims, Angle.size, type ); size 664 modules/core/src/mathfuncs.cpp int j, k, total = (int)(it.size*cn), blockSize = std::min(total, ((BLOCK_SIZE+cn-1)/cn)*cn); size 796 modules/core/src/mathfuncs.cpp _dst.create( src.dims, src.size, type ); size 802 modules/core/src/mathfuncs.cpp int len = (int)(it.size*cn); size 863 modules/core/src/mathfuncs.cpp _dst.create( src.dims, src.size, type ); size 869 modules/core/src/mathfuncs.cpp int len = (int)(it.size*cn); size 1334 modules/core/src/mathfuncs.cpp _dst.create(src.size(), type); size 1392 modules/core/src/mathfuncs.cpp _dst.create( src.dims, src.size, type ); size 1398 modules/core/src/mathfuncs.cpp int len = (int)(it.size*cn); size 1647 modules/core/src/mathfuncs.cpp Size size = getContinuousSize( src, src.channels() ); size 1662 modules/core/src/mathfuncs.cpp for( ; badPt.x < 0 && size.height--; loc += size.width, isrc += step ) size 1664 modules/core/src/mathfuncs.cpp for( i = 0; i < size.width; i++ ) size 1691 modules/core/src/mathfuncs.cpp for( ; badPt.x < 0 && size.height--; loc += size.width, isrc += step ) size 1693 modules/core/src/mathfuncs.cpp for( i = 0; i < size.width; i++ ) size 1754 modules/core/src/mathfuncs.cpp size_t len = it.size*a.channels(); size 1812 modules/core/src/mathfuncs.cpp CV_Assert( Mag.size() == X.size() && Mag.type() == X.type() ); size 1817 modules/core/src/mathfuncs.cpp CV_Assert( Angle.size() == X.size() && Angle.type() == X.type() ); size 1838 modules/core/src/mathfuncs.cpp CV_Assert( Mag.size() == Angle.size() && Mag.type() == Angle.type() ); size 1843 modules/core/src/mathfuncs.cpp CV_Assert( X.size() == Angle.size() && X.type() == Angle.type() ); size 1848 modules/core/src/mathfuncs.cpp CV_Assert( Y.size() == Angle.size() && Y.type() == Angle.type() ); size 1857 modules/core/src/mathfuncs.cpp CV_Assert( src.type() == dst.type() && src.size == dst.size ); size 1864 modules/core/src/mathfuncs.cpp CV_Assert( src.type() == dst.type() && src.size == dst.size ); size 1871 modules/core/src/mathfuncs.cpp CV_Assert( src.type() == dst.type() && src.size == dst.size ); size 1915 modules/core/src/mathfuncs.cpp CV_Assert( (coeffs.size() == Size(n0, 1) || size 1916 modules/core/src/mathfuncs.cpp coeffs.size() == Size(n0+1, 1) || size 1917 modules/core/src/mathfuncs.cpp coeffs.size() == Size(1, n0) || size 1918 modules/core/src/mathfuncs.cpp coeffs.size() == Size(1, n0+1)) ); size 2057 modules/core/src/mathfuncs.cpp Mat coeffs1(coeffs0.size(), CV_MAKETYPE(CV_64F, coeffs0.channels()), coeffs0.channels() == 2 ? coeffs : roots); size 2112 modules/core/src/mathfuncs.cpp Mat(roots0.size(), CV_64FC2, roots).convertTo(roots0, roots0.type()); size 58 modules/core/src/matmul.cpp Size size, size_t pix_size ) size 61 modules/core/src/matmul.cpp size.width *= (int)(pix_size / sizeof(int)); size 63 modules/core/src/matmul.cpp for( ; size.height--; src += src_step, dst += dst_step ) size 67 modules/core/src/matmul.cpp for( ; j <= size.width - 4; j += 4 ) size 79 modules/core/src/matmul.cpp for( ; j < size.width; j++ ) size 88 modules/core/src/matmul.cpp Size size, size_t pix_size ) size 91 modules/core/src/matmul.cpp for( i = 0; i < size.width; i++, dst += dst_step, src += pix_size ) size 97 modules/core/src/matmul.cpp for( j = 0; j < size.height; j++, _src += src_step ) size 101 modules/core/src/matmul.cpp for( j = 0; j < size.height*2; j += 2, _src += src_step ) size 110 modules/core/src/matmul.cpp for( j = 0; j < size.height*4; j += 4, _src += src_step ) size 702 modules/core/src/matmul.cpp Size sizeA = matA.size(), sizeB = matB.size(), sizeC = haveC ? matC.size() : Size(0, 0); size 806 modules/core/src/matmul.cpp Size sizeA = matA.size(), sizeB = matB.size(), sizeC = haveC ? matC.size() : Size(0, 0); size 890 modules/core/src/matmul.cpp Size a_size = A.size(), d_size; size 1950 modules/core/src/matmul.cpp _dst.create( src.size(), CV_MAKETYPE(depth, dcn) ); size 2008 modules/core/src/matmul.cpp size_t i, total = it.size; size 2128 modules/core/src/matmul.cpp _dst.create( src.size(), CV_MAKETYPE(depth, dcn) ); size 2153 modules/core/src/matmul.cpp size_t i, total = it.size; size 2272 modules/core/src/matmul.cpp Size size = _src1.size(); size 2274 modules/core/src/matmul.cpp if ( (!doubleSupport && depth == CV_64F) || size != _src2.size() ) size 2277 modules/core/src/matmul.cpp _dst.create(size, type); size 2330 modules/core/src/matmul.cpp CV_Assert(src1.size == src2.size); size 2332 modules/core/src/matmul.cpp _dst.create(src1.dims, src1.size, type); size 2350 modules/core/src/matmul.cpp size_t i, len = it.size*cn; size 2363 modules/core/src/matmul.cpp Size size = data[0].size(); size 2364 modules/core/src/matmul.cpp int sz = size.width * size.height, esz = (int)data[0].elemSize(); size 2371 modules/core/src/matmul.cpp CV_Assert( _mean.size() == size ); size 2385 modules/core/src/matmul.cpp CV_Assert( data[i].size() == size && data[i].type() == type ); size 2390 modules/core/src/matmul.cpp Mat dataRow(size.height, size.width, type, _data.ptr(i)); size 2397 modules/core/src/matmul.cpp _mean = mean.reshape(1, size.height); size 2407 modules/core/src/matmul.cpp CV_Assert( src.size() > 0 ); size 2409 modules/core/src/matmul.cpp Size size = src[0].size(); size 2414 modules/core/src/matmul.cpp Mat _data(static_cast<int>(src.size()), size.area(), type); size 2419 modules/core/src/matmul.cpp CV_Assert( (*each).size() == size && (*each).type() == type ); size 2420 modules/core/src/matmul.cpp Mat dataRow(size.height, size.width, type, _data.ptr(i)); size 2427 modules/core/src/matmul.cpp CV_Assert( _mean.size() == size ); size 2432 modules/core/src/matmul.cpp _mean.create(mean.size(), ctype); size 2445 modules/core/src/matmul.cpp mean = mean.reshape(1, size.height); size 2457 modules/core/src/matmul.cpp Size size = takeRows ? Size(data.cols, 1) : Size(1, data.rows); size 2463 modules/core/src/matmul.cpp CV_Assert( mean.size() == size ); size 2466 modules/core/src/matmul.cpp _mean.create(mean.size(), ctype); size 2491 modules/core/src/matmul.cpp Size sz = v1.size(); size 2497 modules/core/src/matmul.cpp sz == v2.size() && len == icovar.rows && len == icovar.cols ); size 2592 modules/core/src/matmul.cpp Size size = srcmat.size(); size 2596 modules/core/src/matmul.cpp int buf_size = size.height*sizeof(dT); size 2599 modules/core/src/matmul.cpp if( delta && delta_cols < size.width ) size 2607 modules/core/src/matmul.cpp if( delta && delta_cols < size.width ) size 2609 modules/core/src/matmul.cpp delta_buf = col_buf + size.height; size 2610 modules/core/src/matmul.cpp for( i = 0; i < size.height; i++ ) size 2618 modules/core/src/matmul.cpp for( i = 0; i < size.width; i++, tdst += dststep ) size 2620 modules/core/src/matmul.cpp for( k = 0; k < size.height; k++ ) size 2623 modules/core/src/matmul.cpp for( j = i; j <= size.width - 4; j += 4 ) size 2628 modules/core/src/matmul.cpp for( k = 0; k < size.height; k++, tsrc += srcstep ) size 2643 modules/core/src/matmul.cpp for( ; j < size.width; j++ ) size 2648 modules/core/src/matmul.cpp for( k = 0; k < size.height; k++, tsrc += srcstep ) size 2655 modules/core/src/matmul.cpp for( i = 0; i < size.width; i++, tdst += dststep ) size 2658 modules/core/src/matmul.cpp for( k = 0; k < size.height; k++ ) size 2661 modules/core/src/matmul.cpp for( k = 0; k < size.height; k++ ) size 2664 modules/core/src/matmul.cpp for( j = i; j <= size.width - 4; j += 4 ) size 2670 modules/core/src/matmul.cpp for( k = 0; k < size.height; k++, tsrc+=srcstep, d+=deltastep ) size 2685 modules/core/src/matmul.cpp for( ; j < size.width; j++ ) size 2691 modules/core/src/matmul.cpp for( k = 0; k < size.height; k++, tsrc+=srcstep, d+=deltastep ) size 2711 modules/core/src/matmul.cpp Size size = srcmat.size(); size 2715 modules/core/src/matmul.cpp for( i = 0; i < size.height; i++, tdst += dststep ) size 2716 modules/core/src/matmul.cpp for( j = i; j < size.height; j++ ) size 2722 modules/core/src/matmul.cpp for( k = 0; k <= size.width - 4; k += 4 ) size 2725 modules/core/src/matmul.cpp for( ; k < size.width; k++ ) size 2732 modules/core/src/matmul.cpp int delta_shift = delta_cols == size.width ? 4 : 0; size 2733 modules/core/src/matmul.cpp AutoBuffer<uchar> buf(size.width*sizeof(dT)); size 2736 modules/core/src/matmul.cpp for( i = 0; i < size.height; i++, tdst += dststep ) size 2741 modules/core/src/matmul.cpp if( delta_cols < size.width ) size 2742 modules/core/src/matmul.cpp for( k = 0; k < size.width; k++ ) size 2745 modules/core/src/matmul.cpp for( k = 0; k < size.width; k++ ) size 2748 modules/core/src/matmul.cpp for( j = i; j < size.height; j++ ) size 2753 modules/core/src/matmul.cpp if( delta_cols < size.width ) size 2759 modules/core/src/matmul.cpp for( k = 0; k <= size.width-4; k += 4, tdelta2 += delta_shift ) size 2764 modules/core/src/matmul.cpp for( ; k < size.width; k++, tdelta2++ ) size 2806 modules/core/src/matmul.cpp if( delta.size() == src.size() ) size 3244 modules/core/src/matmul.cpp CV_Assert( mat.type() == type() && mat.size == size && func != 0 ); size 3256 modules/core/src/matmul.cpp int len = (int)(it.size*cn); size 3323 modules/core/src/matmul.cpp CV_Assert( src1.size == dst.size && src1.type() == dst.type() ); size 3400 modules/core/src/matmul.cpp if( pca.mean.size() == mean.size() ) size 589 modules/core/src/matop.cpp return !expr.a.empty() ? expr.a.size() : expr.b.empty() ? expr.b.size() : expr.c.size(); size 1176 modules/core/src/matop.cpp return a.size(); size 1177 modules/core/src/matop.cpp return op ? op->size(*this) : Size(); size 1565 modules/core/src/matop.cpp m.create(e.a.size(), _type); size 1567 modules/core/src/matop.cpp m.create(e.a.dims, e.a.size, _type); size 1632 modules/core/src/matop.cpp MatExpr Mat::zeros(Size size, int type) size 1635 modules/core/src/matop.cpp MatOp_Initializer::makeExpr(e, '0', size, type); size 1653 modules/core/src/matop.cpp MatExpr Mat::ones(Size size, int type) size 1656 modules/core/src/matop.cpp MatOp_Initializer::makeExpr(e, '1', size, type); size 1674 modules/core/src/matop.cpp MatExpr Mat::eye(Size size, int type) size 1677 modules/core/src/matop.cpp MatOp_Initializer::makeExpr(e, 'I', size, type); size 92 modules/core/src/matrix.cpp size_t j, planesz = it.size; size 123 modules/core/src/matrix.cpp size_t j, planesz = it.size; size 156 modules/core/src/matrix.cpp size_t j, planesz = it.size; size 193 modules/core/src/matrix.cpp u->size = total; size 244 modules/core/src/matrix.cpp std::swap(a.size.p, b.size.p); size 252 modules/core/src/matrix.cpp a.size.p = &a.rows; size 258 modules/core/src/matrix.cpp b.size.p = &b.rows; size 273 modules/core/src/matrix.cpp m.size.p = &m.rows; size 277 modules/core/src/matrix.cpp m.step.p = (size_t*)fastMalloc(_dims*sizeof(m.step.p[0]) + (_dims+1)*sizeof(m.size.p[0])); size 278 modules/core/src/matrix.cpp m.size.p = (int*)(m.step.p + _dims) + 1; size 279 modules/core/src/matrix.cpp m.size.p[-1] = _dims; size 294 modules/core/src/matrix.cpp m.size.p[i] = s; size 328 modules/core/src/matrix.cpp if( m.size[i] > 1 ) size 334 modules/core/src/matrix.cpp if( m.step[j]*m.size[j] < m.step[j-1] ) size 338 modules/core/src/matrix.cpp uint64 t = (uint64)m.step[0]*m.size[0]; size 355 modules/core/src/matrix.cpp m.datalimit = m.datastart + m.size[0]*m.step[0]; size 356 modules/core/src/matrix.cpp if( m.size[0] > 0 ) size 358 modules/core/src/matrix.cpp m.dataend = m.ptr() + m.size[d-1]*m.step[d-1]; size 360 modules/core/src/matrix.cpp m.dataend += (m.size[i] - 1)*m.step[i]; size 381 modules/core/src/matrix.cpp if( size[i] != _sizes[i] ) size 383 modules/core/src/matrix.cpp if( i == d && (d > 1 || size[1] == 1)) size 404 modules/core/src/matrix.cpp u = a->allocate(dims, size, _type, 0, step.p, 0, USAGE_DEFAULT); size 410 modules/core/src/matrix.cpp u = a0->allocate(dims, size, _type, 0, step.p, 0, USAGE_DEFAULT); size 425 modules/core/src/matrix.cpp size[i] = m.size[i]; size 457 modules/core/src/matrix.cpp rows = _rowRange.size(); size 465 modules/core/src/matrix.cpp cols = _colRange.size(); size 532 modules/core/src/matrix.cpp CV_Assert( r == Range::all() || (0 <= r.start && r.start < r.end && r.end <= m.size[i]) ); size 538 modules/core/src/matrix.cpp if( r != Range::all() && r != Range(0, size.p[i])) size 540 modules/core/src/matrix.cpp size.p[i] = r.end - r.start; size 563 modules/core/src/matrix.cpp _sizes[i] = m->dim[i].size; size 688 modules/core/src/matrix.cpp m.size[0] = m.rows = len; size 689 modules/core/src/matrix.cpp m.size[1] = m.cols = 1; size 697 modules/core/src/matrix.cpp if( size() != Size(1,1) ) size 705 modules/core/src/matrix.cpp CV_Assert( nelems <= (size_t)size.p[0] ); size 708 modules/core/src/matrix.cpp *this = rowRange(0, size.p[0] - (int)nelems); size 711 modules/core/src/matrix.cpp size.p[0] -= (int)nelems; size 726 modules/core/src/matrix.cpp int r = size.p[0]; size 732 modules/core/src/matrix.cpp size.p[0] = r + 1; size 746 modules/core/src/matrix.cpp int r = size.p[0]; size 751 modules/core/src/matrix.cpp size.p[0] = std::max((int)nelems, 1); size 755 modules/core/src/matrix.cpp size.p[0] = (int)((MIN_SIZE + newsize - 1)*nelems/newsize); size 757 modules/core/src/matrix.cpp Mat m(dims, size.p, type()); size 758 modules/core/src/matrix.cpp size.p[0] = r; size 766 modules/core/src/matrix.cpp size.p[0] = r; size 773 modules/core/src/matrix.cpp int saveRows = size.p[0]; size 781 modules/core/src/matrix.cpp size.p[0] = (int)nelems; size 782 modules/core/src/matrix.cpp dataend += (size.p[0] - saveRows)*step.p[0]; size 790 modules/core/src/matrix.cpp int saveRows = size.p[0]; size 793 modules/core/src/matrix.cpp if( size.p[0] > saveRows ) size 795 modules/core/src/matrix.cpp Mat part = rowRange(saveRows, size.p[0]); size 802 modules/core/src/matrix.cpp int r = size.p[0], delta = elems.size.p[0]; size 817 modules/core/src/matrix.cpp size.p[0] = elems.size.p[0]; size 818 modules/core/src/matrix.cpp bool eq = size == elems.size; size 819 modules/core/src/matrix.cpp size.p[0] = r; size 828 modules/core/src/matrix.cpp size.p[0] += delta; size 915 modules/core/src/matrix.cpp size.p[0] = rows; size.p[1] = cols; size 928 modules/core/src/matrix.cpp _ch.create(mat.dims, mat.size, mat.depth()); size 948 modules/core/src/matrix.cpp CV_Assert(ch.size == mat.size && ch.depth() == mat.depth() && 0 <= coi && coi < mat.channels()); size 961 modules/core/src/matrix.cpp if( dims > 2 && new_rows == 0 && new_cn != 0 && size[dims-1]*cn % new_cn == 0 ) size 965 modules/core/src/matrix.cpp hdr.size[dims-1] = hdr.size[dims-1]*cn / new_cn; size 1030 modules/core/src/matrix.cpp (dims == 3 && channels() == 1 && size.p[2] == _elemChannels && (size.p[0] == 1 || size.p[1] == 1) && size 1031 modules/core/src/matrix.cpp (isContinuous() || step.p[1] == step.p[2]*size.p[2]))) size 1154 modules/core/src/matrix.cpp return !v.empty() ? Mat(size(), t, (void*)&v[0]) : Mat(); size 1162 modules/core/src/matrix.cpp int j, n = (int)v.size(); size 1179 modules/core/src/matrix.cpp CV_Assert( 0 <= i && i < (int)vv.size() ); size 1182 modules/core/src/matrix.cpp return !v.empty() ? Mat(size(i), t, (void*)&v[0]) : Mat(); size 1188 modules/core/src/matrix.cpp CV_Assert( 0 <= i && i < (int)v.size() ); size 1196 modules/core/src/matrix.cpp CV_Assert( 0 <= i && i < (int)v.size() ); size 1244 modules/core/src/matrix.cpp CV_Assert( 0 <= i && i < (int)v.size() ); size 1268 modules/core/src/matrix.cpp int i, n = (int)m.size[0]; size 1273 modules/core/src/matrix.cpp Mat(m.dims-1, &m.size[1], m.type(), (void*)m.ptr(i), &m.step[1]); size 1280 modules/core/src/matrix.cpp int i, n = m.size[0]; size 1302 modules/core/src/matrix.cpp size_t i, n = v.size(), esz = CV_ELEM_SIZE(flags); size 1320 modules/core/src/matrix.cpp int i, n = (int)vv.size(); size 1327 modules/core/src/matrix.cpp mv[i] = Mat(size(i), t, (void*)&v[0]); size 1335 modules/core/src/matrix.cpp size_t i, n = v.size(); size 1346 modules/core/src/matrix.cpp size_t i, n = v.size(); size 1371 modules/core/src/matrix.cpp size_t i, n = v.size(); size 1382 modules/core/src/matrix.cpp size_t i, n = v.size(); size 1454 modules/core/src/matrix.cpp return size(i).height; size 1459 modules/core/src/matrix.cpp return size(i).width; size 1469 modules/core/src/matrix.cpp return ((const Mat*)obj)->size(); size 1475 modules/core/src/matrix.cpp return ((const MatExpr*)obj)->size(); size 1481 modules/core/src/matrix.cpp return ((const UMat*)obj)->size(); size 1495 modules/core/src/matrix.cpp size_t szb = v.size(), szi = iv.size(); size 1503 modules/core/src/matrix.cpp return Size((int)v.size(), 1); size 1513 modules/core/src/matrix.cpp return vv.empty() ? Size() : Size((int)vv.size(), 1); size 1514 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); size 1517 modules/core/src/matrix.cpp size_t szb = vv[i].size(), szi = ivv[i].size(); size 1525 modules/core/src/matrix.cpp return vv.empty() ? Size() : Size((int)vv.size(), 1); size 1526 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); size 1528 modules/core/src/matrix.cpp return vv[i].size(); size 1535 modules/core/src/matrix.cpp return vv.empty() ? Size() : Size((int)vv.size(), 1); size 1536 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); size 1538 modules/core/src/matrix.cpp return vv[i].size(); size 1545 modules/core/src/matrix.cpp return buf->size(); size 1552 modules/core/src/matrix.cpp return d_mat->size(); size 1559 modules/core/src/matrix.cpp return cuda_mem->size(); size 1579 modules/core/src/matrix.cpp arrsz[j] = m.size.p[j]; size 1588 modules/core/src/matrix.cpp arrsz[j] = m.size.p[j]; size 1593 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); size 1598 modules/core/src/matrix.cpp arrsz[j] = m.size.p[j]; size 1603 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); size 1608 modules/core/src/matrix.cpp arrsz[j] = m.size.p[j]; size 1612 modules/core/src/matrix.cpp Size sz2d = size(i); size 1633 modules/core/src/matrix.cpp return m->size == ((const Mat*)arr.obj)->size; size 1635 modules/core/src/matrix.cpp return m->size == ((const UMat*)arr.obj)->size; size 1638 modules/core/src/matrix.cpp sz1 = m->size(); size 1644 modules/core/src/matrix.cpp return m->size == ((const Mat*)arr.obj)->size; size 1646 modules/core/src/matrix.cpp return m->size == ((const UMat*)arr.obj)->size; size 1649 modules/core/src/matrix.cpp sz1 = m->size(); size 1652 modules/core/src/matrix.cpp sz1 = size(); size 1655 modules/core/src/matrix.cpp return sz1 == arr.size(); size 1700 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); size 1709 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); size 1719 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); size 1766 modules/core/src/matrix.cpp return vv.size(); size 1768 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); size 1776 modules/core/src/matrix.cpp return vv.size(); size 1778 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); size 1782 modules/core/src/matrix.cpp return size(i).area(); size 1812 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); size 1824 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); size 1930 modules/core/src/matrix.cpp CV_Assert((size_t)i < vv.size()); size 1937 modules/core/src/matrix.cpp CV_Assert((size_t)i < vv.size()); size 1962 modules/core/src/matrix.cpp CV_Assert((size_t)i < vv.size()); size 1969 modules/core/src/matrix.cpp CV_Assert((size_t)i < vv.size()); size 2003 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); size 2011 modules/core/src/matrix.cpp CV_Assert((size_t)i < vv.size()); size 2051 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); size 2058 modules/core/src/matrix.cpp CV_Assert((size_t)i < vv.size()); size 2129 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((Mat*)obj)->size.operator()() == _sz); size 2136 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((UMat*)obj)->size.operator()() == _sz); size 2143 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((cuda::GpuMat*)obj)->size() == _sz); size 2150 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((ogl::Buffer*)obj)->size() == _sz); size 2157 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((cuda::HostMem*)obj)->size() == _sz); size 2171 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((Mat*)obj)->size.operator()() == Size(_cols, _rows)); size 2178 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((UMat*)obj)->size.operator()() == Size(_cols, _rows)); size 2185 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((cuda::GpuMat*)obj)->size() == Size(_cols, _rows)); size 2192 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((ogl::Buffer*)obj)->size() == Size(_cols, _rows)); size 2199 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || ((cuda::HostMem*)obj)->size() == Size(_cols, _rows)); size 2242 modules/core/src/matrix.cpp CV_Assert(m.size[j] == sizes[j]); size 2276 modules/core/src/matrix.cpp CV_Assert(m.size[j] == sizes[j]); size 2303 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || len == vv.size()); size 2307 modules/core/src/matrix.cpp CV_Assert( i < (int)vv.size() ); size 2317 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || len == ((std::vector<uchar>*)v)->size() / esz); size 2387 modules/core/src/matrix.cpp size_t len = sizes[0]*sizes[1] > 0 ? sizes[0] + sizes[1] - 1 : 0, len0 = v.size(); size 2405 modules/core/src/matrix.cpp CV_Assert( i < (int)v.size() ); size 2432 modules/core/src/matrix.cpp CV_Assert(m.size[j] == sizes[j]); size 2446 modules/core/src/matrix.cpp size_t len = sizes[0]*sizes[1] > 0 ? sizes[0] + sizes[1] - 1 : 0, len0 = v.size(); size 2464 modules/core/src/matrix.cpp CV_Assert( i < (int)v.size() ); size 2491 modules/core/src/matrix.cpp CV_Assert(m.size[j] == sizes[j]); size 2604 modules/core/src/matrix.cpp CV_Assert( i < (int)v.size() ); size 2621 modules/core/src/matrix.cpp CV_Assert( i < (int)v.size() ); size 2761 modules/core/src/matrix.cpp hconcat(!src.empty() ? &src[0] : 0, src.size(), dst); size 2801 modules/core/src/matrix.cpp vconcat(!src.empty() ? &src[0] : 0, src.size(), dst); size 3114 modules/core/src/matrix.cpp CV_Assert( src.size() == dst.size() && (src.cols == 1 || src.rows == 1) ); size 3201 modules/core/src/matrix.cpp func( src.ptr(), src.step, dst.ptr(), dst.step, src.size() ); size 3231 modules/core/src/matrix.cpp CV_Assert( dims <= 2 && m.dims <= 2 && size() == m.size() && tp == m.type() && size 3271 modules/core/src/matrix.cpp Size size = srcmat.size(); size 3272 modules/core/src/matrix.cpp size.width *= srcmat.channels(); size 3273 modules/core/src/matrix.cpp AutoBuffer<WT> buffer(size.width); size 3281 modules/core/src/matrix.cpp for( i = 0; i < size.width; i++ ) size 3284 modules/core/src/matrix.cpp for( ; --size.height; ) size 3289 modules/core/src/matrix.cpp for(; i <= size.width - 4; i += 4 ) size 3301 modules/core/src/matrix.cpp for( ; i < size.width; i++ ) size 3305 modules/core/src/matrix.cpp for( i = 0; i < size.width; i++ ) size 3314 modules/core/src/matrix.cpp Size size = srcmat.size(); size 3316 modules/core/src/matrix.cpp size.width *= cn; size 3319 modules/core/src/matrix.cpp for( int y = 0; y < size.height; y++ ) size 3323 modules/core/src/matrix.cpp if( size.width == cn ) size 3331 modules/core/src/matrix.cpp for( i = 2*cn; i <= size.width - 4*cn; i += 4*cn ) size 3339 modules/core/src/matrix.cpp for( ; i < size.width; i += cn ) size 3381 modules/core/src/matrix.cpp cv::Size size = srcmat.size(); size 3382 modules/core/src/matrix.cpp IppiSize roisize = { size.width, 1 }; size 3420 modules/core/src/matrix.cpp for (int y = 0; y < size.height; ++y) size 3432 modules/core/src/matrix.cpp for (int y = 0; y < size.height; ++y) size 3473 modules/core/src/matrix.cpp cv::Size size = srcmat.size(); \ size 3474 modules/core/src/matrix.cpp IppiSize roisize = ippiSize(size.width, 1);\ size 3479 modules/core/src/matrix.cpp for (int y = 0; y < size.height; ++y) \ size 4049 modules/core/src/matrix.cpp _dst.create( src.size(), src.type() ); size 4068 modules/core/src/matrix.cpp _dst.create( src.size(), CV_32S ); size 4107 modules/core/src/matrix.cpp CV_Assert( srcA.size() == dst.size() && srcA.type() == dst.type() ); size 4205 modules/core/src/matrix.cpp CV_Assert( src.size() == idx.size() && idx.type() == CV_32S && src.data != idx.data ); size 4213 modules/core/src/matrix.cpp CV_Assert( src.size() == dst.size() && src.type() == dst.type() ); size 4270 modules/core/src/matrix.cpp : arrays(0), planes(0), ptrs(0), narrays(0), nplanes(0), size(0), iterdepth(0), idx(0) size 4275 modules/core/src/matrix.cpp : arrays(0), planes(0), ptrs(0), narrays(0), nplanes(0), size(0), iterdepth(0), idx(0) size 4281 modules/core/src/matrix.cpp : arrays(0), planes(0), ptrs(0), narrays(0), nplanes(0), size(0), iterdepth(0), idx(0) size 4296 modules/core/src/matrix.cpp size = 0; size 4326 modules/core/src/matrix.cpp if( A.size[d1] > 1 ) size 4330 modules/core/src/matrix.cpp CV_Assert( A.size == arrays[i0]->size ); size 4336 modules/core/src/matrix.cpp if( A.step[j]*A.size[j] < A.step[j-1] ) size 4344 modules/core/src/matrix.cpp size = arrays[i0]->size[d-1]; size 4347 modules/core/src/matrix.cpp int64 total1 = (int64)size*arrays[i0]->size[j-1]; size 4350 modules/core/src/matrix.cpp size = (int)total1; size 4359 modules/core/src/matrix.cpp nplanes *= arrays[i0]->size[j]; size 4380 modules/core/src/matrix.cpp planes[i] = Mat(1, (int)size, A.type(), A.data); size 4423 modules/core/src/matrix.cpp int szi = A.size[j], t = _idx/szi; size 4489 modules/core/src/matrix.cpp result = result*m->size[i] + v; size 4531 modules/core/src/matrix.cpp int szi = m->size[d-1]; size 4540 modules/core/src/matrix.cpp szi = m->size[i]; size 4547 modules/core/src/matrix.cpp sliceEnd = sliceStart + m->size[d-1]*elemSize; size 4561 modules/core/src/matrix.cpp ofs = _idx[0]*m->size[1] + _idx[1]; size 4565 modules/core/src/matrix.cpp ofs = ofs*m->size[i] + _idx[i]; size 4724 modules/core/src/matrix.cpp size[i] = _sizes[i]; size 4726 modules/core/src/matrix.cpp size[i] = 0; size 4743 modules/core/src/matrix.cpp create( m.dims, m.size, m.type() ); size 4745 modules/core/src/matrix.cpp int i, idx[CV_MAX_DIM] = {0}, d = m.dims, lastSize = m.size[d - 1]; size 4762 modules/core/src/matrix.cpp dptr += m.step[i] - m.size[i+1]*m.step[i+1]; size 4763 modules/core/src/matrix.cpp if( ++idx[i] < m.size[i] ) size 4782 modules/core/src/matrix.cpp if( _sizes[i] != hdr->size[i] ) size 4804 modules/core/src/matrix.cpp m.create( hdr->dims, hdr->size, type() ); size 4820 modules/core/src/matrix.cpp m.create( ndims, hdr->size, type() ); size 4850 modules/core/src/matrix.cpp m.create( hdr->dims, hdr->size, rtype ); size 4886 modules/core/src/matrix.cpp m.create( dims(), hdr->size, rtype ); size 4924 modules/core/src/matrix.cpp size_t hidx = h & (hdr->hashtab.size() - 1), nidx = hdr->hashtab[hidx]; size 4946 modules/core/src/matrix.cpp size_t hidx = h & (hdr->hashtab.size() - 1), nidx = hdr->hashtab[hidx]; size 4968 modules/core/src/matrix.cpp size_t hidx = h & (hdr->hashtab.size() - 1), nidx = hdr->hashtab[hidx]; size 4992 modules/core/src/matrix.cpp size_t hidx = h & (hdr->hashtab.size() - 1), nidx = hdr->hashtab[hidx]; size 5015 modules/core/src/matrix.cpp size_t hidx = h & (hdr->hashtab.size() - 1), nidx = hdr->hashtab[hidx], previdx=0; size 5034 modules/core/src/matrix.cpp size_t hidx = h & (hdr->hashtab.size() - 1), nidx = hdr->hashtab[hidx], previdx=0; size 5055 modules/core/src/matrix.cpp size_t hidx = h & (hdr->hashtab.size() - 1), nidx = hdr->hashtab[hidx], previdx=0; size 5082 modules/core/src/matrix.cpp size_t i, hsize = hdr->hashtab.size(); size 5108 modules/core/src/matrix.cpp size_t hsize = hdr->hashtab.size(); size 5112 modules/core/src/matrix.cpp hsize = hdr->hashtab.size(); size 5117 modules/core/src/matrix.cpp size_t i, nsz = hdr->nodeSize, psize = hdr->pool.size(), size 5174 modules/core/src/matrix.cpp size_t i, hsize = htab.size(); size 5198 modules/core/src/matrix.cpp size_t i = hashidx + 1, sz = hdr.hashtab.size(); size 5363 modules/core/src/matrix.cpp size = Size2f(_width, _height); size 5373 modules/core/src/matrix.cpp pt[0].x = center.x - a*size.height - b*size.width; size 5374 modules/core/src/matrix.cpp pt[0].y = center.y + b*size.height - a*size.width; size 5375 modules/core/src/matrix.cpp pt[1].x = center.x + a*size.height - b*size.width; size 5376 modules/core/src/matrix.cpp pt[1].y = center.y - b*size.height - a*size.width; size 5402 modules/core/src/matrix.cpp cvInitMatNDHeader(this, m.dims, m.size, m.type(), m.data ); size 5412 modules/core/src/matrix.cpp cvInitImageHeader(this, m.size(), cvIplDepth(m.flags), m.channels()); size 5421 modules/core/src/matrix.cpp CvSparseMat* m = cvCreateSparseMat(sm.hdr->dims, sm.hdr->size, sm.type()); size 5437 modules/core/src/matrix.cpp m.create( dims, &size[0], type ); size 107 modules/core/src/ocl.cpp for (; pos < value.size(); pos++) size 289 modules/core/src/ocl.cpp size_t size; size 893 modules/core/src/ocl.cpp size_t size, size 896 modules/core/src/ocl.cpp (context, flags, size, host_ptr, errcode_ret)) size 1187 modules/core/src/ocl.cpp size_t size, size 1192 modules/core/src/ocl.cpp (command_queue, buffer, blocking_read, offset, size, ptr, size 1219 modules/core/src/ocl.cpp size_t size, size 1224 modules/core/src/ocl.cpp (command_queue, buffer, blocking_write, offset, size, ptr, size 1265 modules/core/src/ocl.cpp size_t size, size 1270 modules/core/src/ocl.cpp size, num_events_in_wait_list, event_wait_list, event)) size 1296 modules/core/src/ocl.cpp size_t size, size 1301 modules/core/src/ocl.cpp (command_queue, buffer, blocking_map, map_flags, offset, size, size 1400 modules/core/src/ocl.cpp slices = (int)m.size.p[0]; size 1401 modules/core/src/ocl.cpp rows = m.size.p[1]; size 1402 modules/core/src/ocl.cpp cols = m.size.p[2]; size 1413 modules/core/src/ocl.cpp static uint64 crc64( const uchar* data, size_t size, uint64 crc0=0 ) size 1431 modules/core/src/ocl.cpp for( size_t idx = 0; idx < size; idx++ ) size 2204 modules/core/src/ocl.cpp if (s.size() == 0) size 2224 modules/core/src/ocl.cpp if (parts.size() > 3) size 2229 modules/core/src/ocl.cpp if (parts.size() > 2) size 2231 modules/core/src/ocl.cpp if (parts.size() > 1) size 2235 modules/core/src/ocl.cpp if (parts.size() > 0) size 2301 modules/core/src/ocl.cpp for (size_t i = 0; i < platforms.size(); i++) size 2317 modules/core/src/ocl.cpp if (deviceTypes.size() == 0) size 2328 modules/core/src/ocl.cpp for (size_t t = 0; t < deviceTypes.size(); t++) size 2350 modules/core/src/ocl.cpp (selectedPlatform >= 0 ? i == selectedPlatform : true) && (i < (int)platforms.size()); size 2358 modules/core/src/ocl.cpp size_t base = devices.size(); size 2365 modules/core/src/ocl.cpp (isID ? (i == (size_t)deviceID) : true) && (i < devices.size()); size 2392 modules/core/src/ocl.cpp for (size_t t = 0; t < deviceTypes.size(); t++) size 2584 modules/core/src/ocl.cpp HashKey k(src.hash(), crc64((const uchar*)prefix.c_str(), prefix.size())); size 2828 modules/core/src/ocl.cpp return p ? p->devices.size() : 0; size 2834 modules/core/src/ocl.cpp return !p || idx >= p->devices.size() ? dummy : p->devices[idx]; size 3481 modules/core/src/ocl.cpp size_t srclen = srcstr.size(); size 3711 modules/core/src/ocl.cpp h = crc64((uchar*)src.c_str(), src.size()); size 3778 modules/core/src/ocl.cpp virtual T allocate(size_t size) = 0; size 3814 modules/core/src/ocl.cpp bool _findAndRemoveEntryFromReservedList(CV_OUT BufferEntry& entry, const size_t size) size 3825 modules/core/src/ocl.cpp if (e.capacity_ >= size) size 3827 modules/core/src/ocl.cpp size_t diff = e.capacity_ - size; size 3828 modules/core/src/ocl.cpp if (diff < size / 8 && (result_pos == reservedEntries_.end() || diff < minDiff)) size 3864 modules/core/src/ocl.cpp inline size_t _allocationGranularity(size_t size) size 3867 modules/core/src/ocl.cpp if (size < 1024) size 3869 modules/core/src/ocl.cpp else if (size < 64*1024) size 3871 modules/core/src/ocl.cpp else if (size < 1024*1024) size 3873 modules/core/src/ocl.cpp else if (size < 16*1024*1024) size 3892 modules/core/src/ocl.cpp virtual T allocate(size_t size) size 3896 modules/core/src/ocl.cpp if (maxReservedSize > 0 && _findAndRemoveEntryFromReservedList(entry, size)) size 3898 modules/core/src/ocl.cpp CV_DbgAssert(size <= entry.capacity_); size 3903 modules/core/src/ocl.cpp derived()._allocateBufferEntry(entry, size); size 3926 modules/core/src/ocl.cpp virtual void setMaxReservedSize(size_t size) size 3930 modules/core/src/ocl.cpp maxReservedSize = size; size 3983 modules/core/src/ocl.cpp void _allocateBufferEntry(BufferEntry& entry, size_t size) size 3986 modules/core/src/ocl.cpp entry.capacity_ = alignSize(size, (int)_allocationGranularity(size)); size 4027 modules/core/src/ocl.cpp void _allocateBufferEntry(BufferEntry& entry, size_t size) size 4030 modules/core/src/ocl.cpp entry.capacity_ = alignSize(size, (int)_allocationGranularity(size)); size 4085 modules/core/src/ocl.cpp AlignedDataPtr(uchar* ptr, size_t size, size_t alignment) size 4086 modules/core/src/ocl.cpp : size_(size), originPtr_(ptr), alignment_(alignment), ptr_(ptr), allocatedPtr_(NULL) size 4241 modules/core/src/ocl.cpp u->size = total; size 4277 modules/core/src/ocl.cpp CV_OPENCL_SVM_TRACE_P("Use fine grain system: %d (%p)\n", (int)u->size, handle); size 4291 modules/core/src/ocl.cpp CV_OPENCL_SVM_TRACE_P("clSVMAlloc + copy: %d\n", (int)u->size); size 4292 modules/core/src/ocl.cpp handle = svmFns->fn_clSVMAlloc((cl_context)ctx.ptr(), memFlags, u->size, 0); size 4299 modules/core/src/ocl.cpp CV_OPENCL_SVM_TRACE_P("clEnqueueSVMMap: %p (%d)\n", handle, (int)u->size); size 4301 modules/core/src/ocl.cpp handle, u->size, size 4306 modules/core/src/ocl.cpp memcpy(handle, u->origdata, u->size); size 4324 modules/core/src/ocl.cpp u->size, u->origdata, &retval); size 4328 modules/core/src/ocl.cpp u->size, u->origdata, &retval); size 4407 modules/core/src/ocl.cpp CV_OPENCL_SVM_TRACE_P("clEnqueueSVMMap: %p (%d)\n", u->handle, (int)u->size); size 4409 modules/core/src/ocl.cpp u->handle, u->size, size 4414 modules/core/src/ocl.cpp memcpy(u->origdata, u->handle, u->size); size 4434 modules/core/src/ocl.cpp AlignedDataPtr<false, true> alignedPtr(u->origdata, u->size, CV_OPENCL_DATA_PTR_ALIGNMENT); size 4436 modules/core/src/ocl.cpp u->size, alignedPtr.getAlignedPtr(), 0, 0, 0) == CL_SUCCESS); size 4444 modules/core/src/ocl.cpp 0, u->size, 0, 0, 0, &retval); size 4561 modules/core/src/ocl.cpp CV_OPENCL_SVM_TRACE_P("clEnqueueSVMMap: %p (%d)\n", u->handle, (int)u->size); size 4563 modules/core/src/ocl.cpp u->handle, u->size, size 4585 modules/core/src/ocl.cpp 0, u->size, 0, 0, 0, &retval); size 4600 modules/core/src/ocl.cpp u->data = (uchar*)fastMalloc(u->size); size 4607 modules/core/src/ocl.cpp AlignedDataPtr<false, true> alignedPtr(u->data, u->size, CV_OPENCL_DATA_PTR_ALIGNMENT); size 4612 modules/core/src/ocl.cpp u->size, alignedPtr.getAlignedPtr(), 0, 0, 0) == CL_SUCCESS ); size 4673 modules/core/src/ocl.cpp AlignedDataPtr<true, false> alignedPtr(u->data, u->size, CV_OPENCL_DATA_PTR_ALIGNMENT); size 4678 modules/core/src/ocl.cpp u->size, alignedPtr.getAlignedPtr(), 0, 0, 0)) == CL_SUCCESS ); size 4795 modules/core/src/ocl.cpp CV_OPENCL_SVM_TRACE_P("clEnqueueSVMMap: %p (%d)\n", u->handle, (int)u->size); size 4797 modules/core/src/ocl.cpp u->handle, u->size, size 4827 modules/core/src/ocl.cpp size_t j, planesz = it.size; size 4885 modules/core/src/ocl.cpp if( u->data && (u->hostCopyObsolete() < u->deviceCopyObsolete() || total == u->size)) size 4907 modules/core/src/ocl.cpp CV_OPENCL_SVM_TRACE_P("clEnqueueSVMMap: %p (%d)\n", u->handle, (int)u->size); size 4909 modules/core/src/ocl.cpp u->handle, u->size, size 4939 modules/core/src/ocl.cpp size_t j, planesz = it.size; size 5079 modules/core/src/ocl.cpp size_t j, planesz = it.size; size 5248 modules/core/src/ocl.cpp return p ? (int)p->devices.size() : 0; size 5253 modules/core/src/ocl.cpp CV_Assert(p && d < (int)p->devices.size() ); size 5293 modules/core/src/ocl.cpp for (size_t i = 0; i < platforms.size(); i++) size 5426 modules/core/src/ocl.cpp Size csize = src.size(); \ size 5488 modules/core/src/ocl.cpp size_t size = offsets.size(); size 5490 modules/core/src/ocl.cpp for (size_t i = 0; i < size; ++i) size 206 modules/core/src/opencl/runtime/opencl_core.cpp void* (CL_API_CALL *clSVMAlloc)(cl_context context, cl_svm_mem_flags flags, size_t size, unsigned int alignment) = size 221 modules/core/src/opencl/runtime/opencl_core.cpp cl_int (CL_API_CALL *clEnqueueSVMMemcpy)(cl_command_queue command_queue, cl_bool blocking_copy, void* dst_ptr, const void* src_ptr, size_t size, cl_uint num_events_in_wait_list, const cl_event* event_wait_list, cl_event* event) = size 224 modules/core/src/opencl/runtime/opencl_core.cpp cl_int (CL_API_CALL *clEnqueueSVMMemFill)(cl_command_queue command_queue, void* svm_ptr, const void* pattern, size_t pattern_size, size_t size, cl_uint num_events_in_wait_list, const cl_event* event_wait_list, cl_event* event) = size 227 modules/core/src/opencl/runtime/opencl_core.cpp cl_int (CL_API_CALL *clEnqueueSVMMap)(cl_command_queue command_queue, cl_bool blocking_map, cl_map_flags map_flags, void* svm_ptr, size_t size, cl_uint num_events_in_wait_list, const cl_event* event_wait_list, cl_event* event) = size 230 modules/core/src/opengl.cpp size_t size; size 231 modules/core/src/opengl.cpp cudaSafeCall( cudaGraphicsResourceGetMappedPointer(&dst, &size, resource_) ); size 233 modules/core/src/opengl.cpp CV_DbgAssert( width * height == size ); size 249 modules/core/src/opengl.cpp size_t size; size 250 modules/core/src/opengl.cpp cudaSafeCall( cudaGraphicsResourceGetMappedPointer(&src, &size, resource_) ); size 252 modules/core/src/opengl.cpp CV_DbgAssert( width * height == size ); size 267 modules/core/src/opengl.cpp size_t size; size 268 modules/core/src/opengl.cpp cudaSafeCall( cudaGraphicsResourceGetMappedPointer(&ptr, &size, resource_) ); size 302 modules/core/src/opengl.cpp Impl(GLsizeiptr size, const GLvoid* data, GLenum target, bool autoRelease); size 307 modules/core/src/opengl.cpp void copyFrom(GLuint srcBuf, GLsizeiptr size); size 309 modules/core/src/opengl.cpp void copyFrom(GLsizeiptr size, const GLvoid* data); size 310 modules/core/src/opengl.cpp void copyTo(GLsizeiptr size, GLvoid* data) const; size 353 modules/core/src/opengl.cpp cv::ogl::Buffer::Impl::Impl(GLsizeiptr size, const GLvoid* data, GLenum target, bool autoRelease) : bufId_(0), autoRelease_(autoRelease) size 363 modules/core/src/opengl.cpp gl::BufferData(target, size, data, gl::DYNAMIC_DRAW); size 382 modules/core/src/opengl.cpp void cv::ogl::Buffer::Impl::copyFrom(GLuint srcBuf, GLsizeiptr size) size 390 modules/core/src/opengl.cpp gl::CopyBufferSubData(gl::COPY_READ_BUFFER, gl::COPY_WRITE_BUFFER, 0, 0, size); size 394 modules/core/src/opengl.cpp void cv::ogl::Buffer::Impl::copyFrom(GLsizeiptr size, const GLvoid* data) size 399 modules/core/src/opengl.cpp gl::BufferSubData(gl::COPY_WRITE_BUFFER, 0, size, data); size 403 modules/core/src/opengl.cpp void cv::ogl::Buffer::Impl::copyTo(GLsizeiptr size, GLvoid* data) const size 408 modules/core/src/opengl.cpp gl::GetBufferSubData(gl::COPY_READ_BUFFER, 0, size, data); size 584 modules/core/src/opengl.cpp const Size asize = arr.size(); size 637 modules/core/src/opengl.cpp create(dmat.size(), dmat.type(), target, autoRelease); size 992 modules/core/src/opengl.cpp const Size asize = arr.size(); size 1104 modules/core/src/opengl.cpp const Size asize = arr.size(); size 1251 modules/core/src/opengl.cpp size_ = vertex_.size().area(); size 1336 modules/core/src/opengl.cpp CV_Assert( texCoord_.empty() || texCoord_.size().area() == size_ ); size 1337 modules/core/src/opengl.cpp CV_Assert( normal_.empty() || normal_.size().area() == size_ ); size 1338 modules/core/src/opengl.cpp CV_Assert( color_.empty() || color_.size().area() == size_ ); size 1499 modules/core/src/opengl.cpp gl::DrawArrays(mode, 0, arr.size()); size 1542 modules/core/src/opengl.cpp gl::DrawElements(mode, buf.size().area(), type, 0); size 1569 modules/core/src/opengl.cpp gl::DrawElements(mode, mat.size().area(), type, mat.data); size 166 modules/core/src/out.cpp while(pos < prologue.size() && pos < sizeof(buf) - 2) size 420 modules/core/src/parallel_pthreads.cpp double min_stripes = double(range.end - range.start)/(4*m_threads.size()); size 434 modules/core/src/parallel_pthreads.cpp for(size_t i = 0; i < m_threads.size(); ++i) size 495 modules/core/src/parallel_pthreads.cpp for(size_t i = 0; i < m_threads.size(); ++i) size 104 modules/core/src/pca.cpp CV_Assert( _mean.size() == mean_sz ); size 177 modules/core/src/pca.cpp Mat g(eigenvalues.size(), DataType<T>::type); size 241 modules/core/src/pca.cpp CV_Assert( _mean.size() == mean_sz ); size 122 modules/core/src/persistence.cpp const char* ptr2 = filename + _filename.size(); size 124 modules/core/src/persistence.cpp cv::AutoBuffer<char> name_buf(_filename.size()+1); size 3056 modules/core/src/persistence.cpp int size = 0; size 3062 modules/core/src/persistence.cpp for( i = 0, size = initial_size; i < fmt_pair_count; i += 2 ) size 3065 modules/core/src/persistence.cpp size = cvAlign( size, comp_size ); size 3066 modules/core/src/persistence.cpp size += comp_size * fmt_pairs[i]; size 3071 modules/core/src/persistence.cpp size = cvAlign( size, comp_size ); size 3073 modules/core/src/persistence.cpp return size; size 3505 modules/core/src/persistence.cpp CvSize size; size 3516 modules/core/src/persistence.cpp size = cvGetSize(mat); size 3517 modules/core/src/persistence.cpp if( size.height > 0 && size.width > 0 && mat->data.ptr ) size 3521 modules/core/src/persistence.cpp size.width *= size.height; size 3522 modules/core/src/persistence.cpp size.height = 1; size 3525 modules/core/src/persistence.cpp for( y = 0; y < size.height; y++ ) size 3526 modules/core/src/persistence.cpp cvWriteRawData( fs, mat->data.ptr + (size_t)y*mat->step, size.width, dt ); size 3612 modules/core/src/persistence.cpp if( mat->dim[0].size > 0 && mat->data.ptr ) size 3617 modules/core/src/persistence.cpp cvWriteRawData( fs, iterator.ptr[0], iterator.size.width, dt ); size 3728 modules/core/src/persistence.cpp cvWriteRawData( fs, mat->size, dims, "i" ); size 3867 modules/core/src/persistence.cpp CvSize size; size 3899 modules/core/src/persistence.cpp size = cvSize(image->width, image->height); size 3900 modules/core/src/persistence.cpp if( size.width*image->nChannels*CV_ELEM_SIZE(depth) == image->widthStep ) size 3902 modules/core/src/persistence.cpp size.width *= size.height; size 3903 modules/core/src/persistence.cpp size.height = 1; size 3907 modules/core/src/persistence.cpp for( y = 0; y < size.height; y++ ) size 3908 modules/core/src/persistence.cpp cvWriteRawData( fs, image->imageData + y*image->widthStep, size.width, dt ); size 5153 modules/core/src/persistence.cpp while( structs.size() > 0 ) size 5238 modules/core/src/persistence.cpp cvStartWriteStruct( *fs, fs.elname.size() > 0 ? fs.elname.c_str() : 0, size 5271 modules/core/src/persistence.cpp cvWrite( fs, name.size() > 0 ? name.c_str() : 0, obj ); size 5333 modules/core/src/persistence.cpp remaining = FileNode(_fs, _node).size(); size 5385 modules/core/src/persistence.cpp if( remaining < FileNode(fs, container).size() ) size 5414 modules/core/src/persistence.cpp size_t count = FileNode(fs, container).size(); size 5454 modules/core/src/persistence.cpp { cvWriteInt( *fs, name.size() ? name.c_str() : 0, value ); } size 5457 modules/core/src/persistence.cpp { cvWriteReal( *fs, name.size() ? name.c_str() : 0, value ); } size 5460 modules/core/src/persistence.cpp { cvWriteReal( *fs, name.size() ? name.c_str() : 0, value ); } size 5463 modules/core/src/persistence.cpp { cvWriteString( *fs, name.size() ? name.c_str() : 0, value.c_str() ); } size 5483 modules/core/src/persistence.cpp cvWrite( *fs, name.size() ? name.c_str() : 0, &mat ); size 5488 modules/core/src/persistence.cpp cvWrite( *fs, name.size() ? name.c_str() : 0, &mat ); size 5496 modules/core/src/persistence.cpp cvWrite( *fs, name.size() ? name.c_str() : 0, mat ); size 5570 modules/core/src/persistence.cpp int i, npoints = (int)keypoints.size(); size 5576 modules/core/src/persistence.cpp cv::write(fs, kpt.size); size 5592 modules/core/src/persistence.cpp it >> kpt.pt.x >> kpt.pt.y >> kpt.size >> kpt.angle >> kpt.response >> kpt.octave >> kpt.class_id; size 5602 modules/core/src/persistence.cpp int i, n = (int)matches.size(); size 218 modules/core/src/precomp.hpp Size sz = sc.size(); size 232 modules/core/src/precomp.hpp Size sz = sc.size(); size 493 modules/core/src/rand.cpp (_param1.size() == Size(1, 4) && _param1.type() == CV_64F && cn <= 4))); size 497 modules/core/src/rand.cpp (_param1.size() == Size(1, 4) && _param1.type() == CV_64F && cn <= 4))) || size 519 modules/core/src/rand.cpp Mat tmp(_param1.size(), CV_64F, parambuf); size 529 modules/core/src/rand.cpp Mat tmp(_param2.size(), CV_64F, parambuf + cn); size 631 modules/core/src/rand.cpp Mat tmp(_param1.size(), ptype, parambuf); size 644 modules/core/src/rand.cpp Mat tmp(_param2.size(), ptype, parambuf + cn); size 663 modules/core/src/rand.cpp int total = (int)it.size, blockSize = std::min((BLOCK_SIZE + cn - 1)/cn, total); size 1159 modules/core/src/stat.cpp int rows = src.size[0], cols = rows ? (int)(total_size/rows) : 0; size 1209 modules/core/src/stat.cpp int total = (int)it.size, blockSize = total, intSumBlockSize = 0; size 1346 modules/core/src/stat.cpp int total = (int)it.size, nz = 0; size 1365 modules/core/src/stat.cpp int rows = src.size[0], cols = rows ? (int)(total_size/rows) : 0; size 1457 modules/core/src/stat.cpp int total = (int)it.size, blockSize = total, intSumBlockSize = 0; size 1635 modules/core/src/stat.cpp int rows = src.size[0], cols = rows ? (int)(total_size/rows) : 0; size 1751 modules/core/src/stat.cpp int total = (int)it.size, blockSize = total, intSumBlockSize = 0; size 1940 modules/core/src/stat.cpp int sz = a.size[i]; size 2194 modules/core/src/stat.cpp CV_OCL_RUN(OCL_PERFORMANCE_CHECK(_src.isUMat()) && _src.dims() <= 2 && (_mask.empty() || _src.size() == _mask.size()), size 2203 modules/core/src/stat.cpp int rows = src.size[0], cols = rows ? (int)(total_size/rows) : 0; size 2307 modules/core/src/stat.cpp int planeSize = (int)it.size*cn; size 2486 modules/core/src/stat.cpp Hamming::ResultType Hamming::operator()( const unsigned char* a, const unsigned char* b, int size ) const size 2488 modules/core/src/stat.cpp return cv::hal::normHamming(a, b, size); size 2637 modules/core/src/stat.cpp int rows = src.size[0], cols = rows ? (int)(total_size/rows) : 0; size 2865 modules/core/src/stat.cpp int total = (int)it.size; size 2890 modules/core/src/stat.cpp int j, total = (int)it.size, blockSize = total, intSumBlockSize = 0, count = 0; size 3017 modules/core/src/stat.cpp int rows = src1.size[0], cols = rows ? (int)(total_size/rows) : 0; size 3129 modules/core/src/stat.cpp int rows = src1.size[0], cols = rows ? (int)(total_size/rows) : 0; size 3349 modules/core/src/stat.cpp int total = (int)it.size; size 3375 modules/core/src/stat.cpp int j, total = (int)it.size, blockSize = total, intSumBlockSize = 0, count = 0; size 3670 modules/core/src/stat.cpp _nidx.create(dist.size(), CV_32S); size 217 modules/core/src/system.cpp if( func.size() > 0 ) size 529 modules/core/src/system.cpp int bsize = static_cast<int>(buf.size()), size 595 modules/core/src/system.cpp char ech = fname[fname.size() - 1]; size 640 modules/core/src/system.cpp errorStr, exc.err.c_str(), exc.func.size() > 0 ? size 934 modules/core/src/system.cpp return (key < (int)tlsData_.size()) ? tlsData_[key] : NULL; size 939 modules/core/src/system.cpp if (key >= (int)tlsData_.size()) size 1069 modules/core/src/system.cpp for (size_t i = 0; i < tlsContainers_.size(); i++) size 1080 modules/core/src/system.cpp return (int)tlsContainers_.size() - 1; size 1143 modules/core/src/system.cpp for (int i = 0; i < (int)tlsData_.size(); i++) size 1188 modules/core/src/system.cpp size_t index = getImplData().implCode.size(); size 55 modules/core/src/types.cpp u.f = size; _Val = (scale * _Val) ^ u.u; size 68 modules/core/src/types.cpp points2f.resize( keypoints.size() ); size 69 modules/core/src/types.cpp for( size_t i = 0; i < keypoints.size(); i++ ) size 74 modules/core/src/types.cpp points2f.resize( keypointIndexes.size() ); size 75 modules/core/src/types.cpp for( size_t i = 0; i < keypointIndexes.size(); i++ ) size 90 modules/core/src/types.cpp float size, float response, int octave, int class_id ) size 92 modules/core/src/types.cpp keypoints.resize(points2f.size()); size 93 modules/core/src/types.cpp for( size_t i = 0; i < points2f.size(); i++ ) size 94 modules/core/src/types.cpp keypoints[i] = KeyPoint(points2f[i], size, -1, response, octave, class_id); size 99 modules/core/src/types.cpp float a = kp1.size * 0.5f; size 100 modules/core/src/types.cpp float b = kp2.size * 0.5f; size 117 modules/core/src/types.cpp float cosAlpha = ( b_2 + c_2 - a_2 ) / ( kp2.size * c ); size 118 modules/core/src/types.cpp float cosBeta = ( a_2 + c_2 - b_2 ) / ( kp1.size * c ); size 58 modules/core/src/umatrix.cpp size = 0; size 70 modules/core/src/umatrix.cpp size = 0; size 107 modules/core/src/umatrix.cpp std::swap(a.size.p, b.size.p); size 115 modules/core/src/umatrix.cpp a.size.p = &a.rows; size 121 modules/core/src/umatrix.cpp b.size.p = &b.rows; size 136 modules/core/src/umatrix.cpp m.size.p = &m.rows; size 140 modules/core/src/umatrix.cpp m.step.p = (size_t*)fastMalloc(_dims*sizeof(m.step.p[0]) + (_dims+1)*sizeof(m.size.p[0])); size 141 modules/core/src/umatrix.cpp m.size.p = (int*)(m.step.p + _dims) + 1; size 142 modules/core/src/umatrix.cpp m.size.p[-1] = _dims; size 157 modules/core/src/umatrix.cpp m.size.p[i] = s; size 184 modules/core/src/umatrix.cpp if( m.size[i] > 1 ) size 190 modules/core/src/umatrix.cpp if( m.step[j]*m.size[j] < m.step[j-1] ) size 194 modules/core/src/umatrix.cpp uint64 total = (uint64)m.step[0]*m.size[0]; size 221 modules/core/src/umatrix.cpp temp_u = a->allocate(dims, size.p, type(), data, step.p, accessFlags, usageFlags); size 226 modules/core/src/umatrix.cpp setSize(hdr, dims, size.p, step.p); size 247 modules/core/src/umatrix.cpp if( size[i] != _sizes[i] ) size 249 modules/core/src/umatrix.cpp if( i == d && (d > 1 || size[1] == 1)) size 267 modules/core/src/umatrix.cpp u = a->allocate(dims, size, _type, 0, step.p, 0, usageFlags); size 273 modules/core/src/umatrix.cpp u = a0->allocate(dims, size, _type, 0, step.p, 0, usageFlags); size 288 modules/core/src/umatrix.cpp size[i] = m.size[i]; size 327 modules/core/src/umatrix.cpp rows = _rowRange.size(); size 335 modules/core/src/umatrix.cpp cols = _colRange.size(); size 388 modules/core/src/umatrix.cpp CV_Assert( r == Range::all() || (0 <= r.start && r.start < r.end && r.end <= m.size[i]) ); size 394 modules/core/src/umatrix.cpp if( r != Range::all() && r != Range(0, size.p[i])) size 396 modules/core/src/umatrix.cpp size.p[i] = r.end - r.start; size 423 modules/core/src/umatrix.cpp m.size[0] = m.rows = len; size 424 modules/core/src/umatrix.cpp m.size[1] = m.cols = 1; size 432 modules/core/src/umatrix.cpp if( size() != Size(1,1) ) size 442 modules/core/src/umatrix.cpp ptrdiff_t delta1 = (ptrdiff_t)offset, delta2 = (ptrdiff_t)u->size; size 470 modules/core/src/umatrix.cpp size.p[0] = rows; size.p[1] = cols; size 484 modules/core/src/umatrix.cpp if( dims > 2 && new_rows == 0 && new_cn != 0 && size[dims-1]*cn % new_cn == 0 ) size 488 modules/core/src/umatrix.cpp hdr.size[dims-1] = hdr.size[dims-1]*cn / new_cn; size 553 modules/core/src/umatrix.cpp (dims == 3 && channels() == 1 && size.p[2] == _elemChannels && (size.p[0] == 1 || size.p[1] == 1) && size 554 modules/core/src/umatrix.cpp (isContinuous() || step.p[1] == step.p[2]*size.p[2]))) size 580 modules/core/src/umatrix.cpp Mat hdr(dims, size.p, type(), u->data + offset, step.p); size 585 modules/core/src/umatrix.cpp hdr.datalimit = hdr.dataend = u->data + u->size; size 638 modules/core/src/umatrix.cpp sz[i] = size.p[i]; size 643 modules/core/src/umatrix.cpp _dst.create( dims, size.p, type() ); size 677 modules/core/src/umatrix.cpp _dst.create( dims, size, type() ); size 744 modules/core/src/umatrix.cpp _dst.create( size(), _type ); size 801 modules/core/src/umatrix.cpp CV_Assert( mask.size() == size() && mask.type() == CV_8UC1 ); size 924 modules/core/src/umatrix.cpp UMat UMat::zeros(Size size, int type) size 926 modules/core/src/umatrix.cpp return UMat(size, type, Scalar::all(0)); size 939 modules/core/src/umatrix.cpp UMat UMat::ones(Size size, int type) size 941 modules/core/src/umatrix.cpp return UMat(size, type, Scalar(1)); size 954 modules/core/src/umatrix.cpp UMat UMat::eye(Size size, int type) size 956 modules/core/src/umatrix.cpp UMat m(size, type); size 570 modules/core/test/ocl/test_arithm.cpp Size roiSize = src1_roi.size(); size 844 modules/core/test/ocl/test_arithm.cpp for (int k = 0, size = sizeof(pows) / sizeof(double); k < size; ++k) size 1018 modules/core/test/ocl/test_arithm.cpp Size size(5, 5); size 1019 modules/core/test/ocl/test_arithm.cpp UMat um(size, CV_32SC1), umask(size, CV_8UC1, Scalar::all(0)); size 1020 modules/core/test/ocl/test_arithm.cpp Mat m(size, CV_32SC1), mask(size, CV_8UC1, Scalar::all(0)); size 1466 modules/core/test/ocl/test_arithm.cpp for (int i = 0, size = sizeof(modes) / sizeof(modes[0]); i < size; ++i) size 359 modules/core/test/ocl/test_channels.cpp for (size_t i = 0, size = dst_roi.size(); i < size; ++i) size 123 modules/core/test/ocl/test_dft.cpp double eps = src.size().area() * 1e-4; size 139 modules/core/test/ocl/test_gemm.cpp double eps = D_roi.size().area() * 1e-4; size 21 modules/core/test/ocl/test_matrix_expr.cpp Size size; size 30 modules/core/test/ocl/test_matrix_expr.cpp size = randomSize(1, MAX_VALUE); size 42 modules/core/test/ocl/test_matrix_expr.cpp Mat m = Mat::eye(size, type); size 43 modules/core/test/ocl/test_matrix_expr.cpp UMat um = UMat::eye(size, type); size 57 modules/core/test/ocl/test_matrix_expr.cpp Mat m = Mat::zeros(size, type); size 58 modules/core/test/ocl/test_matrix_expr.cpp UMat um = UMat::zeros(size, type); size 72 modules/core/test/ocl/test_matrix_expr.cpp Mat m = Mat::ones(size, type); size 73 modules/core/test/ocl/test_matrix_expr.cpp UMat um = UMat::ones(size, type); size 31 modules/core/test/test_arithm.cpp virtual void getRandomSize(RNG& rng, vector<int>& size) size 33 modules/core/test/test_arithm.cpp cvtest::randomSize(rng, 2, ARITHM_MAX_NDIMS, cvtest::ARITHM_MAX_SIZE_LOG, size); size 106 modules/core/test/test_arithm.cpp cvtest::add(src[0], alpha, src.size() > 1 ? src[1] : Mat(), beta, gamma, temp, src[0].type()); size 110 modules/core/test/test_arithm.cpp cvtest::add(src[0], alpha, src.size() > 1 ? src[1] : Mat(), beta, gamma, dst, src[0].type()); size 553 modules/core/test/test_arithm.cpp src.size == lb.size && src.size == rb.size ); size 554 modules/core/test/test_arithm.cpp dst.create( src.dims, &src.size[0], CV_8U ); size 602 modules/core/test/test_arithm.cpp dst.create( src.dims, &src.size[0], CV_8U ); size 772 modules/core/test/test_arithm.cpp dst.create(src.size(), src.type()); size 812 modules/core/test/test_arithm.cpp void getRandomSize(RNG& rng, vector<int>& size) size 814 modules/core/test/test_arithm.cpp cvtest::randomSize(rng, 2, 2, cvtest::ARITHM_MAX_SIZE_LOG, size); size 838 modules/core/test/test_arithm.cpp void getRandomSize(RNG& rng, vector<int>& size) size 840 modules/core/test/test_arithm.cpp cvtest::randomSize(rng, 2, 2, cvtest::ARITHM_MAX_SIZE_LOG, size); size 859 modules/core/test/test_arithm.cpp void getRandomSize(RNG& rng, vector<int>& size) size 861 modules/core/test/test_arithm.cpp cvtest::randomSize(rng, 2, 2, cvtest::ARITHM_MAX_SIZE_LOG, size); size 897 modules/core/test/test_arithm.cpp dst.create( src.dims, &src.size[0], src.type() ); size 926 modules/core/test/test_arithm.cpp dst.create( src.dims, &src.size[0], src.type() ); size 1014 modules/core/test/test_arithm.cpp mx.type() == my.type() && mx.size == my.size ); size 1015 modules/core/test/test_arithm.cpp mmag.create( mx.dims, &mx.size[0], mx.type() ); size 1016 modules/core/test/test_arithm.cpp mangle.create( mx.dims, &mx.size[0], mx.type() ); size 1082 modules/core/test/test_arithm.cpp dst.create(src[0].dims, src[0].size, CV_MAKETYPE(src[0].depth(), 4)); size 1091 modules/core/test/test_arithm.cpp dst.create(src[0].dims, src[0].size, CV_MAKETYPE(src[0].depth(), 4)); size 1289 modules/core/test/test_arithm.cpp int i, ndims = (int)minidx.size(); size 1336 modules/core/test/test_arithm.cpp vector<int> size; size 1337 modules/core/test/test_arithm.cpp op->getRandomSize(rng, size); size 1347 modules/core/test/test_arithm.cpp src[i] = cvtest::randomMat(rng, size, type, minval, maxval, true); size 1350 modules/core/test/test_arithm.cpp mask = cvtest::randomMat(rng, size, CV_8U, 0, 2, true); size 1354 modules/core/test/test_arithm.cpp dst0 = cvtest::randomMat(rng, size, type, minval, maxval, false); size 1355 modules/core/test/test_arithm.cpp dst = cvtest::randomMat(rng, size, type, minval, maxval, true); size 1571 modules/core/test/test_arithm.cpp Size size = GetParam(); size 1572 modules/core/test/test_arithm.cpp cv::Mat src(size, CV_32FC1, cv::Scalar::all(2)), dst, size 1573 modules/core/test/test_arithm.cpp ref_dst(size, CV_32FC1, cv::Scalar::all(6)); size 1585 modules/core/test/test_arithm.cpp cv::Size size; size 1592 modules/core/test/test_arithm.cpp size = std::tr1::get<0>(GetParam()); size 1601 modules/core/test/test_arithm.cpp cv::Mat src1(size, src_type, cv::Scalar::all(16)); size 1602 modules/core/test/test_arithm.cpp cv::Mat src2(size, src_type, cv::Scalar::all(16)); size 1612 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(size, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src1.channels())); size 1619 modules/core/test/test_arithm.cpp ASSERT_EQ(src1.size(), dst.size()); size 1626 modules/core/test/test_arithm.cpp cv::Mat src1(size, src_type, cv::Scalar::all(16)); size 1627 modules/core/test/test_arithm.cpp cv::Mat src2(size, src_type, cv::Scalar::all(16)); size 1628 modules/core/test/test_arithm.cpp cv::Mat mask(size, CV_8UC1, cv::Scalar::all(255)); size 1638 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(size, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src1.channels())); size 1645 modules/core/test/test_arithm.cpp ASSERT_EQ(src1.size(), dst.size()); size 1652 modules/core/test/test_arithm.cpp cv::Mat src1(size, src_type, cv::Scalar::all(16)); size 1653 modules/core/test/test_arithm.cpp cv::Mat src2(size, src_type, cv::Scalar::all(16)); size 1658 modules/core/test/test_arithm.cpp ASSERT_EQ(src1.size(), dst.size()); size 1665 modules/core/test/test_arithm.cpp cv::Mat src(size, src_type, cv::Scalar::all(16)); size 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())); size 1682 modules/core/test/test_arithm.cpp ASSERT_EQ(src.size(), dst.size()); size 1689 modules/core/test/test_arithm.cpp cv::Mat src(size, src_type, cv::Scalar::all(16)); size 1690 modules/core/test/test_arithm.cpp cv::Mat mask(size, CV_8UC1, cv::Scalar::all(255)); size 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())); size 1707 modules/core/test/test_arithm.cpp ASSERT_EQ(src.size(), dst.size()); size 1714 modules/core/test/test_arithm.cpp cv::Mat src(size, src_type, cv::Scalar::all(16)); size 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())); size 1731 modules/core/test/test_arithm.cpp ASSERT_EQ(src.size(), dst.size()); size 1738 modules/core/test/test_arithm.cpp cv::Mat src(size, src_type, cv::Scalar::all(16)); size 1739 modules/core/test/test_arithm.cpp cv::Mat mask(size, CV_8UC1, cv::Scalar::all(255)); size 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())); size 1756 modules/core/test/test_arithm.cpp ASSERT_EQ(src.size(), dst.size()); size 1763 modules/core/test/test_arithm.cpp int dims[] = {5, size.height, size.width}; size 1784 modules/core/test/test_arithm.cpp ASSERT_EQ(src1.size, dst.size); size 136 modules/core/test/test_concatenation.cpp return m1.size() == m2.size() size 73 modules/core/test/test_countnonzero.cpp void generate_src_data(cv::Size size, int type); size 74 modules/core/test/test_countnonzero.cpp void generate_src_data(cv::Size size, int type, int count_non_zero); size 75 modules/core/test/test_countnonzero.cpp void generate_src_stat_data(cv::Size size, int type, int distribution); size 85 modules/core/test/test_countnonzero.cpp void CV_CountNonZeroTest::generate_src_data(cv::Size size, int type) size 87 modules/core/test/test_countnonzero.cpp src.create(size, CV_MAKETYPE(type, 1)); size 89 modules/core/test/test_countnonzero.cpp for (int j = 0; j < size.width; ++j) size 90 modules/core/test/test_countnonzero.cpp for (int i = 0; i < size.height; ++i) size 104 modules/core/test/test_countnonzero.cpp void CV_CountNonZeroTest::generate_src_data(cv::Size size, int type, int count_non_zero) size 106 modules/core/test/test_countnonzero.cpp src = Mat::zeros(size, CV_MAKETYPE(type, 1)); size 112 modules/core/test/test_countnonzero.cpp int i = rng.next()%size.height, j = rng.next()%size.width; size 130 modules/core/test/test_countnonzero.cpp void CV_CountNonZeroTest::generate_src_stat_data(cv::Size size, int type, int distribution) size 132 modules/core/test/test_countnonzero.cpp src.create(size, CV_MAKETYPE(type, 1)); size 512 modules/core/test/test_ds.cpp for( size_t i = 0; i < simple_struct.size(); i++ ) size 1225 modules/core/test/test_ds.cpp for( size_t i = 0; i < simple_struct.size(); i++ ) size 1436 modules/core/test/test_ds.cpp for( size_t i = 0; i < simple_struct.size(); i++ ) size 36 modules/core/test/test_dxt.cpp _dst.create(_src.size(), _src.type()); size 109 modules/core/test/test_dxt.cpp dst.create(src.size(), src.type()); size 160 modules/core/test/test_dxt.cpp _dst.create( _src.size(), _src.type() ); size 216 modules/core/test/test_dxt.cpp dst.create( src.size(), src.type() ); size 430 modules/core/test/test_dxt.cpp CV_Assert( src1.size == src2.size && src1.type() == src2.type() && size 541 modules/core/test/test_dxt.cpp Size size; size 549 modules/core/test/test_dxt.cpp size = sizes[INPUT][0]; size 556 modules/core/test/test_dxt.cpp size.width = 1; size 558 modules/core/test/test_dxt.cpp size.height = 1; size 565 modules/core/test/test_dxt.cpp size.width = (size.width / P2_MIN_SIZE)*P2_MIN_SIZE; size 566 modules/core/test/test_dxt.cpp size.width = MAX(size.width, 1); size 567 modules/core/test/test_dxt.cpp size.height = (size.height / P2_MIN_SIZE)*P2_MIN_SIZE; size 568 modules/core/test/test_dxt.cpp size.height = MAX(size.height, 1); size 573 modules/core/test/test_dxt.cpp if( size.width > 1 && (size.width&1) != 0 ) size 574 modules/core/test/test_dxt.cpp size.width = (size.width + 1) & -2; size 576 modules/core/test/test_dxt.cpp if( size.height > 1 && (size.height&1) != 0 && !(flags & CV_DXT_ROWS) ) size 577 modules/core/test/test_dxt.cpp size.height = (size.height + 1) & -2; size 580 modules/core/test/test_dxt.cpp sizes[INPUT][0] = sizes[OUTPUT][0] = size; size 588 modules/core/test/test_dxt.cpp sizes[TEMP][0] = size; size 590 modules/core/test/test_dxt.cpp sizes[INPUT][0] = sizes[INPUT][1] = size; size 596 modules/core/test/test_dxt.cpp sizes[TEMP][0] = size; size 597 modules/core/test/test_dxt.cpp size = cvSize(size.width/2+1, size.height); size 604 modules/core/test/test_dxt.cpp sizes[INPUT][0] = size; size 618 modules/core/test/test_dxt.cpp sizes[TEMP][1] = size; size 135 modules/core/test/test_hal_core.cpp int size = (hcase / 2) % 4; size 136 modules/core/test/test_hal_core.cpp size = size == 0 ? 3 : size == 1 ? 4 : size == 2 ? 6 : 15; size 140 modules/core/test/test_hal_core.cpp if( size == 3 ) size 143 modules/core/test/test_hal_core.cpp Mat a0(size, size, depth), a(size, size, depth), b(size, 1, depth), x(size, 1, depth), x0(size, 1, depth); size 149 modules/core/test/test_hal_core.cpp size_t asize = size*size*a.elemSize(); size 150 modules/core/test/test_hal_core.cpp size_t bsize = size*b.elemSize(); size 162 modules/core/test/test_hal_core.cpp hal::LU(a.ptr<float>(), a.step, size, x.ptr<float>(), x.step, 1); size 164 modules/core/test/test_hal_core.cpp hal::LU(a.ptr<double>(), a.step, size, x.ptr<double>(), x.step, 1); size 168 modules/core/test/test_hal_core.cpp hal::Cholesky(a.ptr<float>(), a.step, size, x.ptr<float>(), x.step, 1); size 170 modules/core/test/test_hal_core.cpp hal::Cholesky(a.ptr<double>(), a.step, size, x.ptr<double>(), x.step, 1); size 191 modules/core/test/test_hal_core.cpp size, size, size 122 modules/core/test/test_io.cpp Mat test_mat_scale(test_mat.size(), test_mat.type()); size 158 modules/core/test/test_io.cpp MatND test_mat_scale(test_mat_nd.dims, test_mat_nd.size, test_mat_nd.type()); size 298 modules/core/test/test_io.cpp if( tl.type() != FileNode::SEQ || tl.size() != 6 || size 304 modules/core/test/test_io.cpp tl[5].type() != FileNode::MAP || tl[5].size() != 3 || size 344 modules/core/test/test_io.cpp if( tm.type() != FileNode::MAP || tm.size() != 5 || size 350 modules/core/test/test_io.cpp tm_lbp.size() != 8 || size 492 modules/core/test/test_io.cpp CV_Assert( mv4.size() == 1 ); size 552 modules/core/test/test_io.cpp ASSERT_GT(lenas.size(), pngLenas.size()); size 554 modules/core/test/test_io.cpp for (size_t i = 0; i < pngLenas.size(); ++i) size 108 modules/core/test/test_ippasync.cpp hpp32u pitch, size; size 111 modules/core/test/test_ippasync.cpp sts = hppQueryMatrixAllocParams(accel, (hpp32u)(matrix_Size.width*cn), (hpp32u)matrix_Size.height, HPP_DATA_TYPE_8U, &pitch, &size); size 113 modules/core/test/test_ippasync.cpp if (pitch!=0 && size!=0) size 115 modules/core/test/test_ippasync.cpp uchar *pData = (uchar*)_aligned_malloc(size, 4096); size 462 modules/core/test/test_mat.cpp backPrjTestPoints.create(rPoints.size(), rPoints.type() ); size 746 modules/core/test/test_mat.cpp int i, k, size[MAX_DIM]={0}, idx[MAX_DIM]={0}; size 756 modules/core/test/test_mat.cpp size[k] = ((unsigned)rng % MAX_DIM_SZ) + 1; size 757 modules/core/test/test_mat.cpp p *= size[k]; size 759 modules/core/test/test_mat.cpp SparseMat M( dims, size, depth ); size 792 modules/core/test/test_mat.cpp idx[k] = (unsigned)rng % size[k]; size 858 modules/core/test/test_mat.cpp idx[k] = (unsigned)rng % size[k]; size 885 modules/core/test/test_mat.cpp idx[k] = (unsigned)rng % size[k]; size 950 modules/core/test/test_mat.cpp for(size_t i = 0; i < mv.size(); i++) size 993 modules/core/test/test_mat.cpp virtual int run_case(int depth, size_t channels, const Size& size, RNG& rng) = 0; size 1040 modules/core/test/test_mat.cpp virtual int run_case(int depth, size_t matCount, const Size& size, RNG& rng) size 1046 modules/core/test/test_mat.cpp for(size_t i = 0; i < src.size(); i++) size 1048 modules/core/test/test_mat.cpp Mat m(size, CV_MAKETYPE(depth, rng.uniform(1,maxMatChannels))); size 1066 modules/core/test/test_mat.cpp if(dst.size() != size) size 1069 modules/core/test/test_mat.cpp commonLog.str().c_str(), dst.rows, dst.cols, size.height, size.width); size 1083 modules/core/test/test_mat.cpp commonLog.str().c_str(), static_cast<float>(diffElemCount)/(channels*size.area())); size 1098 modules/core/test/test_mat.cpp virtual int run_case(int depth, size_t channels, const Size& size, RNG& rng) size 1100 modules/core/test/test_mat.cpp Mat src(size, CV_MAKETYPE(depth, (int)channels)); size 1109 modules/core/test/test_mat.cpp if(dst.size() != channels) size 1112 modules/core/test/test_mat.cpp commonLog.str().c_str(), dst.size(), channels); size 1115 modules/core/test/test_mat.cpp for(size_t i = 0; i < dst.size(); i++) size 1117 modules/core/test/test_mat.cpp if(dst[i].size() != size) size 1120 modules/core/test/test_mat.cpp commonLog.str().c_str(), i, dst[i].rows, dst[i].cols, size.height, size.width); size 1141 modules/core/test/test_mat.cpp commonLog.str().c_str(), static_cast<float>(diffElemCount)/(channels*size.area())); size 1260 modules/core/test/test_mat.cpp double dataSize0 = ((double)m.hdr->pool.size() + (double)m.hdr->hashtab.size()*sizeof(size_t))*1e-6; size 1268 modules/core/test/test_mat.cpp double dataSize1 = ((double)m.hdr->pool.size() + (double)m.hdr->hashtab.size()*sizeof(size_t))*1e-6; size 61 modules/core/test/test_math.cpp for( i = 0; i < test_array.size(); i++ ) size 63 modules/core/test/test_math.cpp size_t count = test_array[i].size(); size 116 modules/core/test/test_math.cpp for( i = 0; i < test_array.size(); i++ ) size 118 modules/core/test/test_math.cpp size_t count = test_array[i].size(); size 407 modules/core/test/test_math.cpp for( i = 0; i < test_array.size(); i++ ) size 409 modules/core/test/test_math.cpp size_t count = test_array[i].size(); size 2338 modules/core/test/test_math.cpp for (size_t j=0;j<ar2.size();++j) size 2342 modules/core/test/test_math.cpp for (size_t j=0;j<r.size();++j) size 2345 modules/core/test/test_math.cpp for (size_t j=0;j<ar.size();++j) size 2409 modules/core/test/test_math.cpp CV_Assert(resInRad.size() == x.size()); size 2412 modules/core/test/test_math.cpp CV_Assert(resInDeg.size() == x.size()); size 159 modules/core/test/test_operations.cpp CHECK_DIFF(mat4x4, mat4x4(Rect(Point(0,0), mat4x4.size()))); size 373 modules/core/test/test_operations.cpp m = mi.clone(); m*=(mt * 1.0 + Mat::eye(m.size(), m.type())); CHECK_DIFF_FLT(m, d1 + mi); size 450 modules/core/test/test_operations.cpp Mat bgr_exp( rgba.size(), CV_8UC3, Scalar(3,2,1)); size 451 modules/core/test/test_operations.cpp Mat alpha_exp( rgba.size(), CV_8UC1, Scalar(4)); size 536 modules/core/test/test_operations.cpp CHECK_DIFF(mat4x4, mat4x4(Rect(Point(0,0), mat4x4.size()))); size 802 modules/core/test/test_operations.cpp Size size(2, 5); size 803 modules/core/test/test_operations.cpp TestType<float>(size, 1.f); size 805 modules/core/test/test_operations.cpp TestType<cv::Vec3f>(size, val1); size 807 modules/core/test/test_operations.cpp TestType<cv::Matx31f>(size, val2); size 809 modules/core/test/test_operations.cpp TestType<cv::Matx41f>(size, val3); size 811 modules/core/test/test_operations.cpp TestType<cv::Matx32f>(size, val4); size 39 modules/core/test/test_rand.cpp Mat hist0(hist.size(), CV_32F); size 64 modules/core/test/test_umat.cpp Size size; size 73 modules/core/test/test_umat.cpp size = GET_PARAM(2); size 76 modules/core/test/test_umat.cpp a = randomMat(size, type, -100, 100); size 78 modules/core/test/test_umat.cpp int roi_shift_x = randomInt(0, size.width-1); size 79 modules/core/test/test_umat.cpp int roi_shift_y = randomInt(0, size.height-1); size 80 modules/core/test/test_umat.cpp roi_size = Size(size.width - roi_shift_x, size.height - roi_shift_y); size 104 modules/core/test/test_umat.cpp ASSERT_EQ(ua.size[i], sz[i]); size 110 modules/core/test/test_umat.cpp ASSERT_EQ( ua.size(), new_size); size 117 modules/core/test/test_umat.cpp Mat b = randomMat(size, type, -100, 100); size 154 modules/core/test/test_umat.cpp if(useRoi && a.size() != ua.size()) size 274 modules/core/test/test_umat.cpp Size size; size 281 modules/core/test/test_umat.cpp size = GET_PARAM(2); size 289 modules/core/test/test_umat.cpp a = randomMat(size,type, -100, 100); size 293 modules/core/test/test_umat.cpp int roi_shift_x = randomInt(0, size.width-1); size 294 modules/core/test/test_umat.cpp int roi_shift_y = randomInt(0, size.height-1); size 295 modules/core/test/test_umat.cpp roi_size = Size(size.width - roi_shift_x, size.height - roi_shift_y); size 330 modules/core/test/test_umat.cpp new_rows = (int)ua.total()*ua.channels()/(nChannels*randomInt(1, size.width*size.height)); size 362 modules/core/test/test_umat.cpp Size size; size 368 modules/core/test/test_umat.cpp size = GET_PARAM(2); size 375 modules/core/test/test_umat.cpp int roi_shift_x = randomInt(0, size.width-1); size 376 modules/core/test/test_umat.cpp int roi_shift_y = randomInt(0, size.height-1); size 377 modules/core/test/test_umat.cpp roi_size = Size(size.width - roi_shift_x, size.height - roi_shift_y); size 378 modules/core/test/test_umat.cpp a = randomMat(size, type, -100, 100); size 389 modules/core/test/test_umat.cpp int roi_shift_x = randomInt(0, size.width-1); size 390 modules/core/test/test_umat.cpp int roi_shift_y = randomInt(0, size.height-1); size 391 modules/core/test/test_umat.cpp roi_size = Size(size.width - roi_shift_x, size.height - roi_shift_y); size 392 modules/core/test/test_umat.cpp a = randomMat(size, type, -100, 100); size 407 modules/core/test/test_umat.cpp int roi_shift_x = randomInt(0, size.width-1); size 408 modules/core/test/test_umat.cpp int roi_shift_y = randomInt(0, size.height-1); size 409 modules/core/test/test_umat.cpp roi_size = Size(size.width - roi_shift_x, size.height - roi_shift_y); size 410 modules/core/test/test_umat.cpp a = randomMat(size, type, -100, 100); size 414 modules/core/test/test_umat.cpp int adjLeft = randomInt(-(roi_ua.cols/2), (size.width-1)/2); size 415 modules/core/test/test_umat.cpp int adjRight = randomInt(-(roi_ua.cols/2), (size.width-1)/2); size 416 modules/core/test/test_umat.cpp int adjTop = randomInt(-(roi_ua.rows/2), (size.height-1)/2); size 417 modules/core/test/test_umat.cpp int adjBot = randomInt(-(roi_ua.rows/2), (size.height-1)/2); size 421 modules/core/test/test_umat.cpp Rect new_roi( roi_shift_x, roi_shift_y, std::min(roi.width+adjRight+adjLeft, size.width-roi_shift_x), std::min(roi.height+adjBot+adjTop, size.height-roi_shift_y) ); size 437 modules/core/test/test_umat.cpp Size size; size 444 modules/core/test/test_umat.cpp size = GET_PARAM(2); size 453 modules/core/test/test_umat.cpp a = randomMat(size, type, -100, 100); size 459 modules/core/test/test_umat.cpp int roi_shift_x = randomInt(0, size.width-1); size 460 modules/core/test/test_umat.cpp int roi_shift_y = randomInt(0, size.height-1); size 461 modules/core/test/test_umat.cpp roi_size = Size(size.width - roi_shift_x, size.height - roi_shift_y); size 472 modules/core/test/test_umat.cpp ASSERT_EQ(ua.size, ub.size); size 486 modules/core/test/test_umat.cpp Size size; size 493 modules/core/test/test_umat.cpp size = GET_PARAM(2); size 501 modules/core/test/test_umat.cpp a = randomMat(size, type, -100, 100); size 506 modules/core/test/test_umat.cpp int roi_shift_x = randomInt(0, size.width-1); size 507 modules/core/test/test_umat.cpp int roi_shift_y = randomInt(0, size.height-1); size 508 modules/core/test/test_umat.cpp roi_size = Size(size.width - roi_shift_x, size.height - roi_shift_y); size 751 modules/core/test/test_umat.cpp EXPECT_EQ(0, cvtest::norm(um.getMat(ACCESS_READ), cv::Mat(um.size(), um.type(), 19), NORM_INF)); size 757 modules/core/test/test_umat.cpp Mat m(um.size(), um.type()); size 769 modules/core/test/test_umat.cpp EXPECT_EQ(0, cvtest::norm(um.getMat(ACCESS_READ), Mat(um.size(), um.type(), 17), NORM_INF)); size 65 modules/cudaarithm/perf/perf_arithm.cpp const cv::Size size = GET_PARAM(0); size 69 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat src1(size, type); size 72 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat src2(size, type); size 75 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat src3(size, type); size 116 modules/cudaarithm/perf/perf_arithm.cpp const cv::Size size = GET_PARAM(0); size 119 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat a(size, CV_32FC2); size 120 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat b(size, CV_32FC2); size 149 modules/cudaarithm/perf/perf_arithm.cpp const cv::Size size = GetParam(); size 151 modules/cudaarithm/perf/perf_arithm.cpp const float scale = 1.f / size.area(); size 153 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat src1(size, CV_32FC2); size 154 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat src2(size, CV_32FC2); size 182 modules/cudaarithm/perf/perf_arithm.cpp const cv::Size size = GET_PARAM(0); size 185 modules/cudaarithm/perf/perf_arithm.cpp cv::Mat src(size, CV_32FC2); size 193 modules/cudaarithm/perf/perf_arithm.cpp TEST_CYCLE() cv::cuda::dft(d_src, dst, size, flag); size 219 modules/cudaarithm/perf/perf_arithm.cpp const cv::Size size = GET_PARAM(0); size 223 modules/cudaarithm/perf/perf_arithm.cpp const cv::Mat image(size, CV_32FC1); size 229 modules/cudaarithm/perf/perf_arithm.cpp cv::cuda::GpuMat d_image = cv::cuda::createContinuous(size, CV_32FC1); size 59 modules/cudaarithm/perf/perf_core.cpp const cv::Size size = GET_PARAM(0); size 66 modules/cudaarithm/perf/perf_core.cpp src[i].create(size, depth); size 100 modules/cudaarithm/perf/perf_core.cpp const cv::Size size = GET_PARAM(0); size 104 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, CV_MAKE_TYPE(depth, channels)); size 141 modules/cudaarithm/perf/perf_core.cpp const cv::Size size = GET_PARAM(0); size 144 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, type); size 180 modules/cudaarithm/perf/perf_core.cpp const cv::Size size = GET_PARAM(0); size 187 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, type); size 216 modules/cudaarithm/perf/perf_core.cpp const cv::Size size = GET_PARAM(0); size 219 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, type); size 253 modules/cudaarithm/perf/perf_core.cpp const cv::Size size = GET_PARAM(0); size 256 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, type); size 294 modules/cudaarithm/perf/perf_core.cpp const cv::Size size = GET_PARAM(0); size 301 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, type); size 58 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 61 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); size 64 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); size 94 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 97 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); size 129 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 132 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); size 135 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); size 165 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 168 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); size 200 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 203 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); size 206 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); size 236 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 239 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); size 271 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 274 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); size 277 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); size 307 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 310 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); size 342 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 345 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); size 377 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 380 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); size 383 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); size 413 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 416 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); size 448 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 451 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); size 476 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 479 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); size 504 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 507 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); size 536 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 539 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); size 568 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 571 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); size 603 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 607 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); size 641 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 645 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); size 648 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); size 679 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 683 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); size 715 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 718 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); size 747 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 750 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); size 753 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); size 784 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 790 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, type); size 823 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 826 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); size 829 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); size 860 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 866 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, type); size 899 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 902 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); size 905 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); size 936 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 942 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, type); size 976 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 982 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, type); size 1010 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 1016 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, type); size 1043 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 1046 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); size 1049 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); size 1079 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 1082 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); size 1114 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 1117 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth); size 1120 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth); size 1150 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 1153 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); size 1189 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 1194 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, depth1); size 1197 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, depth2); size 1226 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GetParam(); size 1228 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, CV_32FC2); size 1259 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GetParam(); size 1261 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, CV_32FC2); size 1285 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GetParam(); size 1287 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, CV_32FC1); size 1290 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, CV_32FC1); size 1319 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GetParam(); size 1321 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, CV_32FC1); size 1324 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, CV_32FC1); size 1352 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 1355 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, CV_32FC1); size 1358 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, CV_32FC1); size 1388 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 1391 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src1(size, CV_32FC1); size 1394 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src2(size, CV_32FC1); size 1428 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 1431 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat magnitude(size, CV_32FC1); size 1434 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat angle(size, CV_32FC1); size 1473 modules/cudaarithm/perf/perf_element_operations.cpp const cv::Size size = GET_PARAM(0); size 1477 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat src(size, depth); size 59 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); size 63 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, depth); size 98 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); size 101 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src1(size, CV_8UC1); size 104 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src2(size, CV_8UC1); size 136 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); size 142 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, type); size 172 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); size 178 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, type); size 204 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); size 210 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, type); size 235 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); size 238 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, depth); size 272 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); size 275 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, depth); size 311 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); size 314 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, depth); size 353 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); size 361 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, type); size 396 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GET_PARAM(0); size 403 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, type); size 431 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GetParam(); size 433 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, CV_8UC1); size 466 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GetParam(); size 468 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, CV_8UC1); size 496 modules/cudaarithm/perf/perf_reductions.cpp const cv::Size size = GetParam(); size 498 modules/cudaarithm/perf/perf_reductions.cpp cv::Mat src(size, CV_8UC1); size 195 modules/cudaarithm/src/arithm.cpp Size src1Size = tr1 ? Size(src1.rows, src1.cols) : src1.size(); size 196 modules/cudaarithm/src/arithm.cpp Size src2Size = tr2 ? Size(src2.rows, src2.cols) : src2.size(); size 197 modules/cudaarithm/src/arithm.cpp Size src3Size = tr3 ? Size(src3.rows, src3.cols) : src3.size(); size 479 modules/cudaarithm/src/arithm.cpp create(image.size(), templ.size()); size 492 modules/cudaarithm/src/arithm.cpp GpuMat templ_roi(templ.size(), CV_32FC1, templ.data, templ.step); size 127 modules/cudaarithm/src/core.cpp _dst.create(src.size(), src.type()); size 128 modules/cudaarithm/src/core.cpp GpuMat dst = getOutputMat(_dst, src.size(), src.type(), stream); size 133 modules/cudaarithm/src/element_operations.cpp const Size size = src1.empty() ? src2.size() : src1.size(); size 141 modules/cudaarithm/src/element_operations.cpp CV_Assert( !scalar.empty() || (src2.type() == src1.type() && src2.size() == src1.size()) ); size 142 modules/cudaarithm/src/element_operations.cpp CV_Assert( mask.empty() || (cn == 1 && mask.size() == size && mask.type() == CV_8UC1) ); size 150 modules/cudaarithm/src/element_operations.cpp GpuMat dst = getOutputMat(_dst, size, CV_MAKE_TYPE(ddepth, cn), stream); size 203 modules/cudaarithm/src/element_operations.cpp CV_Assert( src1.size() == src2.size() ); size 205 modules/cudaarithm/src/element_operations.cpp GpuMat dst = getOutputMat(_dst, src1.size(), src1.type(), stream); size 216 modules/cudaarithm/src/element_operations.cpp CV_Assert( src1.size() == src2.size() ); size 218 modules/cudaarithm/src/element_operations.cpp GpuMat dst = getOutputMat(_dst, src1.size(), src1.type(), stream); size 246 modules/cudaarithm/src/element_operations.cpp CV_Assert( src1.size() == src2.size() ); size 248 modules/cudaarithm/src/element_operations.cpp GpuMat dst = getOutputMat(_dst, src1.size(), src1.type(), stream); size 259 modules/cudaarithm/src/element_operations.cpp CV_Assert( src1.size() == src2.size() ); size 261 modules/cudaarithm/src/element_operations.cpp GpuMat dst = getOutputMat(_dst, src1.size(), src1.type(), stream); size 402 modules/cudaarithm/src/element_operations.cpp GpuMat dst = getOutputMat(_dst, src.size(), src.type(), stream); size 426 modules/cudaarithm/src/element_operations.cpp GpuMat dst = getOutputMat(_dst, src.size(), src.type(), stream); size 487 modules/cudaarithm/src/element_operations.cpp GpuMat dst = getOutputMat(_dst, src.size(), CV_32FC1, stream); size 498 modules/cudaarithm/src/element_operations.cpp GpuMat dst = getOutputMat(_dst, src.size(), CV_32FC1, stream); size 193 modules/cudaarithm/src/reductions.cpp GpuMat dst = getOutputMat(_dst, src.size(), CV_32FC1, _stream); size 60 modules/cudaarithm/test/test_arithm.cpp cv::Size size; size 68 modules/cudaarithm/test/test_arithm.cpp size = GET_PARAM(1); size 79 modules/cudaarithm/test/test_arithm.cpp cv::Mat src1 = randomMat(size, type, -10.0, 10.0); size 80 modules/cudaarithm/test/test_arithm.cpp cv::Mat src2 = randomMat(size, type, -10.0, 10.0); size 81 modules/cudaarithm/test/test_arithm.cpp cv::Mat src3 = randomMat(size, type, -10.0, 10.0); size 111 modules/cudaarithm/test/test_arithm.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 136 modules/cudaarithm/test/test_arithm.cpp cv::Size size; size 144 modules/cudaarithm/test/test_arithm.cpp size = GET_PARAM(1); size 149 modules/cudaarithm/test/test_arithm.cpp a = randomMat(size, CV_32FC2); size 150 modules/cudaarithm/test/test_arithm.cpp b = randomMat(size, CV_32FC2); size 167 modules/cudaarithm/test/test_arithm.cpp float scale = 1.f / size.area(); size 214 modules/cudaarithm/test/test_arithm.cpp d_b_data.create(1, a.size().area(), CV_32FC2); size 273 modules/cudaarithm/test/test_arithm.cpp d_c_data.create(1, a.size().area(), CV_32F); size 365 modules/cudaarithm/test/test_arithm.cpp cv::Size size; size 372 modules/cudaarithm/test/test_arithm.cpp size = GET_PARAM(1); size 382 modules/cudaarithm/test/test_arithm.cpp cv::Mat src = randomMat(size, CV_32FC1, 0.0, 100.0); size 55 modules/cudaarithm/test/test_core.cpp cv::Size size; size 63 modules/cudaarithm/test/test_core.cpp size = GET_PARAM(1); size 77 modules/cudaarithm/test/test_core.cpp src.push_back(cv::Mat(size, depth, cv::Scalar::all(i))); size 120 modules/cudaarithm/test/test_core.cpp cv::Size size; size 130 modules/cudaarithm/test/test_core.cpp size = GET_PARAM(1); size 143 modules/cudaarithm/test/test_core.cpp cv::Mat src = randomMat(size, type); size 165 modules/cudaarithm/test/test_core.cpp ASSERT_EQ(dst_gold.size(), dst.size()); size 167 modules/cudaarithm/test/test_core.cpp for (size_t i = 0; i < dst_gold.size(); ++i) size 187 modules/cudaarithm/test/test_core.cpp cv::Size size; size 194 modules/cudaarithm/test/test_core.cpp size = GET_PARAM(1); size 204 modules/cudaarithm/test/test_core.cpp cv::Mat src = randomMat(size, type); size 220 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst = createMat(cv::Size(size.height, size.width), type, useRoi); size 252 modules/cudaarithm/test/test_core.cpp cv::Size size; size 260 modules/cudaarithm/test/test_core.cpp size = GET_PARAM(1); size 271 modules/cudaarithm/test/test_core.cpp cv::Mat src = randomMat(size, type); size 273 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 306 modules/cudaarithm/test/test_core.cpp cv::Size size; size 313 modules/cudaarithm/test/test_core.cpp size = GET_PARAM(1); size 323 modules/cudaarithm/test/test_core.cpp cv::Mat src = randomMat(size, type); size 328 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst = createMat(size, CV_MAKE_TYPE(lut.depth(), src.channels())); size 339 modules/cudaarithm/test/test_core.cpp cv::Mat src = randomMat(size, type); size 344 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst = createMat(size, CV_MAKE_TYPE(lut.depth(), src.channels()), useRoi); size 370 modules/cudaarithm/test/test_core.cpp cv::Size size; size 379 modules/cudaarithm/test/test_core.cpp size = GET_PARAM(1); size 391 modules/cudaarithm/test/test_core.cpp cv::Mat src = randomMat(size, type); size 394 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst = createMat(cv::Size(size.width + 2 * border, size.height + 2 * border), type, useRoi); size 55 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 66 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 80 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, stype); size 81 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, stype); size 97 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, dtype, useRoi); size 101 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, dtype, cv::Scalar::all(0)); size 118 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 128 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 141 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, stype); size 142 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, stype); size 143 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0, 2); size 159 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, dtype, useRoi); size 163 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, dtype, cv::Scalar::all(0)); size 182 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 189 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 199 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); size 216 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); size 220 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); size 229 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); size 231 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0.0, 2.0); size 247 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); size 251 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); size 270 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 277 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 287 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); size 304 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); size 308 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); size 317 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); size 319 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0.0, 2.0); size 335 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); size 339 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); size 358 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 369 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 383 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, stype); size 384 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, stype); size 400 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, dtype, useRoi); size 404 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, dtype, cv::Scalar::all(0)); size 421 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 431 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 444 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, stype); size 445 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, stype); size 446 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0.0, 2.0); size 462 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, dtype, useRoi); size 466 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, dtype, cv::Scalar::all(0)); size 485 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 492 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 502 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); size 519 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); size 523 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); size 532 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); size 534 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0.0, 2.0); size 550 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); size 554 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); size 573 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 580 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 590 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); size 607 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); size 611 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); size 620 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); size 622 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0.0, 2.0); size 638 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); size 642 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold(size, depth.second, cv::Scalar::all(0)); size 661 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 672 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 686 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, stype); size 687 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, stype); size 703 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, dtype, useRoi); size 715 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, stype); size 716 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, stype); size 733 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, dtype, useRoi); size 756 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 762 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 771 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, CV_8UC4); size 772 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, CV_32FC1); size 774 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_8UC4, useRoi); size 808 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, CV_16SC4); size 809 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, CV_32FC1); size 811 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_16SC4, useRoi); size 854 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 861 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 871 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); size 888 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); size 901 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); size 919 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); size 941 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 948 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 958 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); size 975 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); size 988 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); size 1006 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); size 1028 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 1039 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 1053 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, stype); size 1054 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, stype, 1.0, 255.0); size 1070 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, dtype, useRoi); size 1082 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, stype); size 1083 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, stype, 1.0, 255.0); size 1100 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, dtype, useRoi); size 1123 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 1129 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 1138 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, CV_8UC4); size 1139 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, CV_32FC1, 1.0, 255.0); size 1141 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_8UC4, useRoi); size 1175 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat1 = randomMat(size, CV_16SC4); size 1176 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat2 = randomMat(size, CV_32FC1, 1.0, 255.0); size 1178 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_16SC4, useRoi); size 1221 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 1228 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 1238 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); size 1255 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); size 1267 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first); size 1285 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); size 1307 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 1314 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 1325 modules/cudaarithm/test/test_element_operations.cpp cv::Mat mat = randomMat(size, depth.first, 1.0, 255.0); size 1341 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth.second, useRoi); size 1363 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 1370 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 1380 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src1 = randomMat(size, depth); size 1381 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src2 = randomMat(size, depth); size 1397 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); size 1409 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); size 1426 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); size 1438 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); size 1455 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); size 1477 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 1484 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 1494 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); size 1496 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); size 1516 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 1523 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 1533 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth, 0, depth == CV_8U ? 16 : 255); size 1535 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); size 1560 modules/cudaarithm/test/test_element_operations.cpp dst.create(src.size(), src.type()); size 1586 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 1593 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 1603 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); size 1605 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); size 1630 modules/cudaarithm/test/test_element_operations.cpp dst.create(src.size(), src.type()); size 1656 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 1663 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 1673 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth, 1.0, 255.0); size 1675 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); size 1700 modules/cudaarithm/test/test_element_operations.cpp dst.create(src.size(), src.type()); size 1710 modules/cudaarithm/test/test_element_operations.cpp dst.create(src.size(), src.type()); size 1736 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 1743 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 1753 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth, 0.0, 10.0); size 1755 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); size 1779 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 1786 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 1796 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth, 0.0, 10.0); size 1816 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); size 1841 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 1849 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 1860 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src1 = randomMat(size, depth); size 1861 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src2 = randomMat(size, depth); size 1877 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_8UC1, useRoi); size 1906 modules/cudaarithm/test/test_element_operations.cpp dst.create(src.size(), CV_MAKE_TYPE(CV_8U, cn)); size 1943 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 1951 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 1962 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, type); size 1987 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_MAKE_TYPE(CV_8U, src.channels()), useRoi); size 2011 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 2020 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 2025 modules/cudaarithm/test/test_element_operations.cpp src1 = randomMat(size, type, 0.0, std::numeric_limits<int>::max()); size 2026 modules/cudaarithm/test/test_element_operations.cpp src2 = randomMat(size, type, 0.0, std::numeric_limits<int>::max()); size 2081 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 2091 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 2097 modules/cudaarithm/test/test_element_operations.cpp src = randomMat(size, CV_MAKE_TYPE(depth, channels)); size 2151 modules/cudaarithm/test/test_element_operations.cpp dst.create(src.size(), src.type()); size 2179 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 2187 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 2199 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, type); size 2202 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 2231 modules/cudaarithm/test/test_element_operations.cpp dst.create(src.size(), src.type()); size 2259 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 2267 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 2279 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, type); size 2282 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 2304 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 2311 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 2321 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src1 = randomMat(size, depth); size 2322 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src2 = randomMat(size, depth); size 2338 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); size 2349 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); size 2366 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); size 2387 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 2394 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 2404 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src1 = randomMat(size, depth); size 2405 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src2 = randomMat(size, depth); size 2421 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); size 2432 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, depth); size 2449 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, depth, useRoi); size 2470 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 2479 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 2491 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src1 = randomMat(size, depth1); size 2492 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src2 = randomMat(size, depth2); size 2511 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, dst_depth, useRoi); size 2538 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 2546 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 2557 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, type); size 2561 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(src.size(), src.type(), useRoi); size 2583 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 2589 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 2598 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, CV_32FC2); size 2600 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_32FC1, useRoi); size 2613 modules/cudaarithm/test/test_element_operations.cpp cv::Mat src = randomMat(size, CV_32FC2); size 2615 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_32FC1, useRoi); size 2629 modules/cudaarithm/test/test_element_operations.cpp cv::Mat x = randomMat(size, CV_32FC1); size 2630 modules/cudaarithm/test/test_element_operations.cpp cv::Mat y = randomMat(size, CV_32FC1); size 2632 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_32FC1, useRoi); size 2643 modules/cudaarithm/test/test_element_operations.cpp cv::Mat x = randomMat(size, CV_32FC1); size 2644 modules/cudaarithm/test/test_element_operations.cpp cv::Mat y = randomMat(size, CV_32FC1); size 2646 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_32FC1, useRoi); size 2672 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 2679 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 2689 modules/cudaarithm/test/test_element_operations.cpp cv::Mat x = randomMat(size, CV_32FC1); size 2690 modules/cudaarithm/test/test_element_operations.cpp cv::Mat y = randomMat(size, CV_32FC1); size 2692 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_32FC1, useRoi); size 2713 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 2720 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 2730 modules/cudaarithm/test/test_element_operations.cpp cv::Mat x = randomMat(size, CV_32FC1); size 2731 modules/cudaarithm/test/test_element_operations.cpp cv::Mat y = randomMat(size, CV_32FC1); size 2733 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat mag = createMat(size, CV_32FC1, useRoi); size 2734 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat angle = createMat(size, CV_32FC1, useRoi); size 2757 modules/cudaarithm/test/test_element_operations.cpp cv::Size size; size 2764 modules/cudaarithm/test/test_element_operations.cpp size = GET_PARAM(1); size 2774 modules/cudaarithm/test/test_element_operations.cpp cv::Mat magnitude = randomMat(size, CV_32FC1); size 2775 modules/cudaarithm/test/test_element_operations.cpp cv::Mat angle = randomMat(size, CV_32FC1); size 2777 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat x = createMat(size, CV_32FC1, useRoi); size 2778 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat y = createMat(size, CV_32FC1, useRoi); size 58 modules/cudaarithm/test/test_gpumat.cpp cv::Size size; size 65 modules/cudaarithm/test/test_gpumat.cpp size = GET_PARAM(1); size 77 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat mat = createMat(size, type, useRoi); size 80 modules/cudaarithm/test/test_gpumat.cpp EXPECT_MAT_NEAR(cv::Mat::zeros(size, type), mat, 0.0); size 91 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat mat = createMat(size, type, useRoi); size 101 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat mat = createMat(size, type, useRoi); size 104 modules/cudaarithm/test/test_gpumat.cpp EXPECT_MAT_NEAR(cv::Mat(size, type, val), mat, 0.0); size 116 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat mat = createMat(size, type, useRoi); size 126 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat mat = createMat(size, type, useRoi); size 129 modules/cudaarithm/test/test_gpumat.cpp EXPECT_MAT_NEAR(cv::Mat(size, type, val), mat, 0.0); size 136 modules/cudaarithm/test/test_gpumat.cpp cv::Mat mat_gold = randomMat(size, type); size 137 modules/cudaarithm/test/test_gpumat.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0.0, 2.0); size 143 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat mat = createMat(size, type, useRoi); size 174 modules/cudaarithm/test/test_gpumat.cpp cv::Size size; size 182 modules/cudaarithm/test/test_gpumat.cpp size = GET_PARAM(1); size 192 modules/cudaarithm/test/test_gpumat.cpp cv::Mat src = randomMat(size, type); size 195 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 203 modules/cudaarithm/test/test_gpumat.cpp cv::Mat src = randomMat(size, type); size 204 modules/cudaarithm/test/test_gpumat.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0.0, 2.0); size 222 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat dst = loadMat(cv::Mat::zeros(size, type), useRoi); size 225 modules/cudaarithm/test/test_gpumat.cpp cv::Mat dst_gold = cv::Mat::zeros(size, type); size 244 modules/cudaarithm/test/test_gpumat.cpp cv::Size size; size 252 modules/cudaarithm/test/test_gpumat.cpp size = GET_PARAM(1); size 263 modules/cudaarithm/test/test_gpumat.cpp cv::Mat src = randomMat(size, depth1); size 281 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat dst = createMat(size, depth2, useRoi); size 293 modules/cudaarithm/test/test_gpumat.cpp cv::Mat src = randomMat(size, depth1); size 313 modules/cudaarithm/test/test_gpumat.cpp cv::cuda::GpuMat dst = createMat(size, depth2, useRoi); size 68 modules/cudaarithm/test/test_opengl.cpp cv::Size size; size 73 modules/cudaarithm/test/test_opengl.cpp size = GET_PARAM(0); size 80 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(size.height, size.width, type, cv::ogl::Buffer::ARRAY_BUFFER, true); size 82 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.height, buf.rows()); size 83 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.width, buf.cols()); size 89 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(size, type, cv::ogl::Buffer::ARRAY_BUFFER, true); size 91 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.height, buf.rows()); size 92 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.width, buf.cols()); size 98 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); size 110 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); size 123 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf_gold(size, type, cv::ogl::Buffer::ARRAY_BUFFER, true); size 136 modules/cudaarithm/test/test_opengl.cpp buf.create(size.height, size.width, type, cv::ogl::Buffer::ARRAY_BUFFER, true); size 138 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.height, buf.rows()); size 139 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.width, buf.cols()); size 145 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); size 158 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); size 172 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); size 188 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); size 200 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); size 218 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); size 234 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); size 247 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); size 249 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Buffer buf(size, type, cv::ogl::Buffer::ARRAY_BUFFER, true); size 264 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type); size 292 modules/cudaarithm/test/test_opengl.cpp cv::Size size; size 300 modules/cudaarithm/test/test_opengl.cpp size = GET_PARAM(0); size 311 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex(size.height, size.width, format, true); size 313 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.height, tex.rows()); size 314 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.width, tex.cols()); size 320 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex(size, format, true); size 322 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.height, tex.rows()); size 323 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.width, tex.cols()); size 329 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); size 341 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); size 354 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); size 367 modules/cudaarithm/test/test_opengl.cpp cv::ogl::Texture2D tex_gold(size, format, true); size 379 modules/cudaarithm/test/test_opengl.cpp tex.create(size.height, size.width, format, true); size 381 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.height, tex.rows()); size 382 modules/cudaarithm/test/test_opengl.cpp EXPECT_EQ(size.width, tex.cols()); size 388 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); size 401 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); size 415 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); size 429 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); size 441 modules/cudaarithm/test/test_opengl.cpp cv::Mat gold = randomMat(size, type, 0, depth == CV_8U ? 255 : 1); size 55 modules/cudaarithm/test/test_reductions.cpp cv::Size size; size 63 modules/cudaarithm/test/test_reductions.cpp size = GET_PARAM(1); size 74 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); size 75 modules/cudaarithm/test/test_reductions.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0, 2); size 86 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); size 87 modules/cudaarithm/test/test_reductions.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0, 2); size 122 modules/cudaarithm/test/test_reductions.cpp cv::Size size; size 129 modules/cudaarithm/test/test_reductions.cpp size = GET_PARAM(1); size 139 modules/cudaarithm/test/test_reductions.cpp cv::Mat src1 = randomMat(size, CV_8UC1); size 140 modules/cudaarithm/test/test_reductions.cpp cv::Mat src2 = randomMat(size, CV_8UC1); size 151 modules/cudaarithm/test/test_reductions.cpp cv::Mat src1 = randomMat(size, CV_8UC1); size 152 modules/cudaarithm/test/test_reductions.cpp cv::Mat src2 = randomMat(size, CV_8UC1); size 262 modules/cudaarithm/test/test_reductions.cpp cv::Size size; size 271 modules/cudaarithm/test/test_reductions.cpp size = GET_PARAM(1); size 277 modules/cudaarithm/test/test_reductions.cpp src = randomMat(size, type, -128.0, 128.0); size 300 modules/cudaarithm/test/test_reductions.cpp cv::Mat val_mat(dst.size(), CV_64FC(dst.channels()), val.val); size 327 modules/cudaarithm/test/test_reductions.cpp cv::Mat val_mat(dst.size(), CV_64FC(dst.channels()), val.val); size 354 modules/cudaarithm/test/test_reductions.cpp cv::Mat val_mat(dst.size(), CV_64FC(dst.channels()), val.val); size 374 modules/cudaarithm/test/test_reductions.cpp cv::Size size; size 381 modules/cudaarithm/test/test_reductions.cpp size = GET_PARAM(1); size 391 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); size 420 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); size 442 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); size 443 modules/cudaarithm/test/test_reductions.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0.0, 2.0); size 472 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); size 540 modules/cudaarithm/test/test_reductions.cpp cv::Size size; size 547 modules/cudaarithm/test/test_reductions.cpp size = GET_PARAM(1); size 557 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); size 592 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(cv::Size(size.width, 1), depth); size 611 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(cv::Size(1, size.height), depth); size 630 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); size 665 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); size 666 modules/cudaarithm/test/test_reductions.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0.0, 2.0); size 701 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, depth); size 752 modules/cudaarithm/test/test_reductions.cpp cv::Size size; size 761 modules/cudaarithm/test/test_reductions.cpp size = GET_PARAM(1); size 767 modules/cudaarithm/test/test_reductions.cpp cv::Mat srcBase = randomMat(size, CV_8U, 0.0, 1.5); size 828 modules/cudaarithm/test/test_reductions.cpp cv::Size size; size 841 modules/cudaarithm/test/test_reductions.cpp size = GET_PARAM(1); size 865 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, type); size 878 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, type); size 910 modules/cudaarithm/test/test_reductions.cpp cv::Size size; size 921 modules/cudaarithm/test/test_reductions.cpp size = GET_PARAM(1); size 936 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, type); size 938 modules/cudaarithm/test/test_reductions.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 949 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, type); size 950 modules/cudaarithm/test/test_reductions.cpp cv::Mat mask = randomMat(size, CV_8UC1, 0, 2); size 952 modules/cudaarithm/test/test_reductions.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 956 modules/cudaarithm/test/test_reductions.cpp cv::Mat dst_gold(size, type); size 976 modules/cudaarithm/test/test_reductions.cpp cv::Size size; size 982 modules/cudaarithm/test/test_reductions.cpp size = GET_PARAM(1); size 991 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, CV_8UC1); size 1023 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, CV_8UC1); size 1054 modules/cudaarithm/test/test_reductions.cpp cv::Size size; size 1060 modules/cudaarithm/test/test_reductions.cpp size = GET_PARAM(1); size 1069 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, CV_8UC1); size 1091 modules/cudaarithm/test/test_reductions.cpp cv::Size size; size 1097 modules/cudaarithm/test/test_reductions.cpp size = GET_PARAM(1); size 1106 modules/cudaarithm/test/test_reductions.cpp cv::Mat src = randomMat(size, CV_8UC1); size 83 modules/cudaarithm/test/test_stream.cpp cv::Mat dst_gold = cv::Mat::zeros(src.size(), src.type()); size 145 modules/cudabgsegm/src/mog.cpp if (nframes_ == 0 || learningRate >= 1.0 || frame.size() != frameSize_ || work_ch != mean_.channels()) size 146 modules/cudabgsegm/src/mog.cpp initialize(frame.size(), frame.type()); size 188 modules/cudabgsegm/src/mog2.cpp if (nframes_ == 0 || learningRate >= 1.0 || frame.size() != frameSize_ || work_ch != mean_.channels()) size 189 modules/cudabgsegm/src/mog2.cpp initialize(frame.size(), frame.type()); size 104 modules/cudabgsegm/test/test_bgsegm.cpp cv::cuda::GpuMat foreground = createMat(frame.size(), CV_8UC1, useRoi); size 165 modules/cudabgsegm/test/test_bgsegm.cpp cv::cuda::GpuMat background = createMat(frame.size(), frame.type(), useRoi); size 148 modules/cudacodec/include/opencv2/cudacodec.hpp virtual void releaseBitStream(unsigned char* data, int size) = 0; size 319 modules/cudacodec/include/opencv2/cudacodec.hpp virtual bool getNextPacket(unsigned char** data, int* size, bool* endOfFile) = 0; size 134 modules/cudacodec/perf/perf_video.cpp d_writer = cv::cudacodec::createVideoWriter(outputFile, frame.size(), FPS); size 151 modules/cudacodec/perf/perf_video.cpp writer.open(outputFile, CV_FOURCC('X', 'V', 'I', 'D'), FPS, frame.size()); size 129 modules/cudacodec/src/ffmpeg_video_source.cpp bool cv::cudacodec::detail::FFmpegVideoSource::getNextPacket(unsigned char** data, int* size, bool* bEndOfFile) size 133 modules/cudacodec/src/ffmpeg_video_source.cpp int res = read_InputMediaStream_FFMPEG_p(stream_, data, size, &endOfFile); size 59 modules/cudacodec/src/ffmpeg_video_source.hpp bool getNextPacket(unsigned char** data, int* size, bool* endOfFile); size 65 modules/cudacodec/src/video_parser.cpp bool cv::cudacodec::detail::VideoParser::parseVideoData(const unsigned char* data, size_t size, bool endOfStream) size 73 modules/cudacodec/src/video_parser.cpp packet.payload_size = static_cast<unsigned long>(size); size 67 modules/cudacodec/src/video_parser.hpp bool parseVideoData(const unsigned char* data, size_t size, bool endOfStream); size 52 modules/cudacodec/src/video_source.cpp bool cv::cudacodec::detail::VideoSource::parseVideoData(const unsigned char* data, size_t size, bool endOfStream) size 54 modules/cudacodec/src/video_source.cpp return videoParser_->parseVideoData(data, size, endOfStream); size 99 modules/cudacodec/src/video_source.cpp int size; size 102 modules/cudacodec/src/video_source.cpp if (!thiz->source_->getNextPacket(&data, &size, &endOfFile)) size 108 modules/cudacodec/src/video_source.cpp if (!thiz->parseVideoData(data, size)) size 70 modules/cudacodec/src/video_source.hpp bool parseVideoData(const uchar* data, size_t size, bool endOfStream = false); size 616 modules/cudacodec/src/video_writer.cpp CV_Assert( frame.size() == frameSize_ ); size 621 modules/cudacodec/src/video_writer.cpp CV_Assert( frame.size() == videoFrame_.size() ); size 708 modules/cudacodec/src/video_writer.cpp void releaseBitStream(unsigned char* data, int size); size 786 modules/cudacodec/src/video_writer.cpp *bufferSize = static_cast<int>(buf_.size()); size 790 modules/cudacodec/src/video_writer.cpp void EncoderCallBackFFMPEG::releaseBitStream(unsigned char* data, int size) size 792 modules/cudacodec/src/video_writer.cpp write_OutputMediaStream_FFMPEG_p(stream_, data, size, isKeyFrame_); size 101 modules/cudacodec/test/test_video.cpp d_writer = cv::cudacodec::createVideoWriter(outputFile, frame.size(), FPS); size 70 modules/cudafeatures2d/perf/perf_features2d.cpp 0.5 * img.size().area()); size 201 modules/cudafeatures2d/perf/perf_features2d.cpp for (size_t i = 0; i < src.size(); ++i) size 202 modules/cudafeatures2d/perf/perf_features2d.cpp for (size_t j = 0; j < src[i].size(); ++j) size 140 modules/cudafeatures2d/src/brute_force_matcher.cpp Mat trainCollectionCPU(1, static_cast<int>(trainDescCollection.size()), CV_8UC(sizeof(PtrStepSzb))); size 144 modules/cudafeatures2d/src/brute_force_matcher.cpp for (size_t i = 0, size = trainDescCollection.size(); i < size; ++i, ++trainCollectionCPU_ptr) size 152 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( masks.size() == trainDescCollection.size() ); size 154 modules/cudafeatures2d/src/brute_force_matcher.cpp Mat trainCollectionCPU(1, static_cast<int>(trainDescCollection.size()), CV_8UC(sizeof(PtrStepSzb))); size 155 modules/cudafeatures2d/src/brute_force_matcher.cpp Mat maskCollectionCPU(1, static_cast<int>(trainDescCollection.size()), CV_8UC(sizeof(PtrStepb))); size 160 modules/cudafeatures2d/src/brute_force_matcher.cpp for (size_t i = 0, size = trainDescCollection.size(); i < size; ++i, ++trainCollectionCPU_ptr, ++maskCollectionCPU_ptr) size 541 modules/cudafeatures2d/src/brute_force_matcher.cpp for (size_t i = 0; i < matches.size(); ++i) size 544 modules/cudafeatures2d/src/brute_force_matcher.cpp for (size_t imgIdx = 0; imgIdx < trainDescCollection_.size(); ++imgIdx) size 553 modules/cudafeatures2d/src/brute_force_matcher.cpp for (size_t i = 0; i < localMatch.size(); ++i) size 560 modules/cudafeatures2d/src/brute_force_matcher.cpp const size_t count = std::min(static_cast<size_t>(k), temp.size()); size 979 modules/cudafeatures2d/src/brute_force_matcher.cpp func(query, &trains_[0], static_cast<int>(trains_.size()), maxDistance, masks_.size() == 0 ? 0 : &masks_[0], size 121 modules/cudafeatures2d/src/fast.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.size() == img.size()) ); size 130 modules/cudafeatures2d/src/fast.cpp score = pool.getBuffer(img.size(), CV_32SC1); size 58 modules/cudafeatures2d/src/orb.cpp int cull_gpu(int* loc, float* response, int size, int n_points); size 535 modules/cudafeatures2d/src/orb.cpp CV_Assert( u_max.size() < 32 ); size 536 modules/cudafeatures2d/src/orb.cpp cv::cuda::device::orb::loadUMax(&u_max[0], static_cast<int>(u_max.size())); size 605 modules/cudafeatures2d/src/orb.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.size() == image.size()) ); size 690 modules/cudafeatures2d/src/orb.cpp fastDetector_->setMaxNumPoints(0.05 * imagePyr_[level].size().area()); size 752 modules/cudafeatures2d/src/orb.cpp ensureSizeIsEnough(imagePyr_[level].size(), imagePyr_[level].type(), buf_); size 847 modules/cudafeatures2d/src/orb.cpp kp.size = size_ptr[i]; size 162 modules/cudafeatures2d/test/test_features2d.cpp cv::Mat mask(image.size(), CV_8UC1, cv::Scalar::all(1)); size 199 modules/cudafeatures2d/test/test_features2d.cpp double matchedRatio = static_cast<double>(matchedCount) / keypoints.size(); size 301 modules/cudafeatures2d/test/test_features2d.cpp ASSERT_EQ(static_cast<size_t>(queryDescCount), matches.size()); size 304 modules/cudafeatures2d/test/test_features2d.cpp for (size_t i = 0; i < matches.size(); i++) size 340 modules/cudafeatures2d/test/test_features2d.cpp ASSERT_EQ(static_cast<size_t>(queryDescCount), matches.size()); size 344 modules/cudafeatures2d/test/test_features2d.cpp for (size_t i = 0; i < matches.size(); i++) size 386 modules/cudafeatures2d/test/test_features2d.cpp ASSERT_EQ(static_cast<size_t>(queryDescCount), matches.size()); size 389 modules/cudafeatures2d/test/test_features2d.cpp for (size_t i = 0; i < matches.size(); i++) size 391 modules/cudafeatures2d/test/test_features2d.cpp if ((int)matches[i].size() != knn) size 426 modules/cudafeatures2d/test/test_features2d.cpp ASSERT_EQ(static_cast<size_t>(queryDescCount), matches.size()); size 429 modules/cudafeatures2d/test/test_features2d.cpp for (size_t i = 0; i < matches.size(); i++) size 431 modules/cudafeatures2d/test/test_features2d.cpp if ((int)matches[i].size() != knn) size 478 modules/cudafeatures2d/test/test_features2d.cpp ASSERT_EQ(static_cast<size_t>(queryDescCount), matches.size()); size 482 modules/cudafeatures2d/test/test_features2d.cpp for (size_t i = 0; i < matches.size(); i++) size 484 modules/cudafeatures2d/test/test_features2d.cpp if ((int)matches[i].size() != knn) size 541 modules/cudafeatures2d/test/test_features2d.cpp ASSERT_EQ(static_cast<size_t>(queryDescCount), matches.size()); size 545 modules/cudafeatures2d/test/test_features2d.cpp for (size_t i = 0; i < matches.size(); i++) size 547 modules/cudafeatures2d/test/test_features2d.cpp if ((int)matches[i].size() != knn) size 606 modules/cudafeatures2d/test/test_features2d.cpp ASSERT_EQ(static_cast<size_t>(queryDescCount), matches.size()); size 609 modules/cudafeatures2d/test/test_features2d.cpp for (size_t i = 0; i < matches.size(); i++) size 611 modules/cudafeatures2d/test/test_features2d.cpp if ((int)matches[i].size() != 1) size 669 modules/cudafeatures2d/test/test_features2d.cpp ASSERT_EQ(static_cast<size_t>(queryDescCount), matches.size()); size 674 modules/cudafeatures2d/test/test_features2d.cpp for (size_t i = 0; i < matches.size(); i++) size 676 modules/cudafeatures2d/test/test_features2d.cpp if ((int)matches[i].size() != needMatchCount) size 61 modules/cudafilters/perf/perf_filters.cpp const cv::Size size = GET_PARAM(0); size 65 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); size 96 modules/cudafilters/perf/perf_filters.cpp const cv::Size size = GET_PARAM(0); size 100 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); size 134 modules/cudafilters/perf/perf_filters.cpp const cv::Size size = GET_PARAM(0); size 138 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); size 169 modules/cudafilters/perf/perf_filters.cpp const cv::Size size = GET_PARAM(0); size 173 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); size 204 modules/cudafilters/perf/perf_filters.cpp const cv::Size size = GET_PARAM(0); size 207 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); size 238 modules/cudafilters/perf/perf_filters.cpp const cv::Size size = GET_PARAM(0); size 242 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); size 273 modules/cudafilters/perf/perf_filters.cpp const cv::Size size = GET_PARAM(0); size 276 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); size 309 modules/cudafilters/perf/perf_filters.cpp const cv::Size size = GET_PARAM(0); size 312 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); size 349 modules/cudafilters/perf/perf_filters.cpp const cv::Size size = GET_PARAM(0); size 353 modules/cudafilters/perf/perf_filters.cpp cv::Mat src(size, type); size 136 modules/cudafilters/src/filtering.cpp _dst.create(src.size(), src.type()); size 225 modules/cudafilters/src/filtering.cpp kernel_ = cuda::createContinuous(kernel.size(), CV_32FC1); size 228 modules/cudafilters/src/filtering.cpp normalizeAnchor(anchor_, kernel.size()); size 258 modules/cudafilters/src/filtering.cpp _dst.create(src.size(), src.type()); size 406 modules/cudafilters/src/filtering.cpp _dst.create(src.size(), dstType_); size 409 modules/cudafilters/src/filtering.cpp ensureSizeIsEnough(src.size(), bufType_, buf_); size 535 modules/cudafilters/src/filtering.cpp Size ksize = !kernel.empty() ? _kernel.size() : Size(3, 3); size 560 modules/cudafilters/src/filtering.cpp kernel_ = cuda::createContinuous(kernel.size(), CV_8UC1); size 571 modules/cudafilters/src/filtering.cpp Size ksize = kernel_.size(); size 579 modules/cudafilters/src/filtering.cpp ensureSizeIsEnough(srcBorder_.size(), type_, buf_); size 584 modules/cudafilters/src/filtering.cpp _dst.create(src.size(), src.type()); size 835 modules/cudafilters/src/filtering.cpp _dst.create(src.size(), src.type()); size 911 modules/cudafilters/src/filtering.cpp _dst.create(src.size(), dstType_); size 972 modules/cudafilters/src/filtering.cpp _dst.create(src.size(), dstType_); size 76 modules/cudafilters/test/test_filters.cpp cv::Size size; size 86 modules/cudafilters/test/test_filters.cpp size = GET_PARAM(1); size 99 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); size 103 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 127 modules/cudafilters/test/test_filters.cpp cv::Size size; size 137 modules/cudafilters/test/test_filters.cpp size = GET_PARAM(1); size 150 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); size 155 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 179 modules/cudafilters/test/test_filters.cpp cv::Size size; size 187 modules/cudafilters/test/test_filters.cpp size = GET_PARAM(1); size 198 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); size 202 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 224 modules/cudafilters/test/test_filters.cpp cv::Size size; size 237 modules/cudafilters/test/test_filters.cpp size = GET_PARAM(1); size 253 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); size 259 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 293 modules/cudafilters/test/test_filters.cpp cv::Size size; size 307 modules/cudafilters/test/test_filters.cpp size = GET_PARAM(1); size 327 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); size 331 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 360 modules/cudafilters/test/test_filters.cpp cv::Size size; size 373 modules/cudafilters/test/test_filters.cpp size = GET_PARAM(1); size 392 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); size 396 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 424 modules/cudafilters/test/test_filters.cpp cv::Size size; size 436 modules/cudafilters/test/test_filters.cpp size = GET_PARAM(1); size 451 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); size 457 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 498 modules/cudafilters/test/test_filters.cpp cv::Size size; size 507 modules/cudafilters/test/test_filters.cpp size = GET_PARAM(1); size 519 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); size 524 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 549 modules/cudafilters/test/test_filters.cpp cv::Size size; size 558 modules/cudafilters/test/test_filters.cpp size = GET_PARAM(1); size 570 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); size 575 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 602 modules/cudafilters/test/test_filters.cpp cv::Size size; size 612 modules/cudafilters/test/test_filters.cpp size = GET_PARAM(1); size 625 modules/cudafilters/test/test_filters.cpp cv::Mat src = randomMat(size, type); size 630 modules/cudafilters/test/test_filters.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 62 modules/cudaimgproc/perf/perf_bilateral_filter.cpp const cv::Size size = GET_PARAM(0); size 73 modules/cudaimgproc/perf/perf_bilateral_filter.cpp cv::Mat src(size, type); size 57 modules/cudaimgproc/perf/perf_blend.cpp const cv::Size size = GET_PARAM(0); size 63 modules/cudaimgproc/perf/perf_blend.cpp cv::Mat img1(size, type); size 64 modules/cudaimgproc/perf/perf_blend.cpp cv::Mat img2(size, type); size 67 modules/cudaimgproc/perf/perf_blend.cpp const cv::Mat weights1(size, CV_32FC1, cv::Scalar::all(0.5)); size 68 modules/cudaimgproc/perf/perf_blend.cpp const cv::Mat weights2(size, CV_32FC1, cv::Scalar::all(0.5)); size 79 modules/cudaimgproc/perf/perf_color.cpp const cv::Size size = GET_PARAM(0); size 83 modules/cudaimgproc/perf/perf_color.cpp cv::Mat src(size, CV_MAKETYPE(depth, info.scn)); size 118 modules/cudaimgproc/perf/perf_color.cpp const cv::Size size = GET_PARAM(0); size 122 modules/cudaimgproc/perf/perf_color.cpp cv::Mat src(size, CV_MAKETYPE(depth, info.scn)); size 159 modules/cudaimgproc/perf/perf_color.cpp const cv::Size size = GET_PARAM(0); size 162 modules/cudaimgproc/perf/perf_color.cpp cv::Mat src(size, CV_8UC1); size 197 modules/cudaimgproc/perf/perf_color.cpp const cv::Size size = GetParam(); size 199 modules/cudaimgproc/perf/perf_color.cpp cv::Mat src(size, CV_8UC4); size 230 modules/cudaimgproc/perf/perf_color.cpp const cv::Size size = GET_PARAM(0); size 234 modules/cudaimgproc/perf/perf_color.cpp cv::Mat img1(size, type); size 235 modules/cudaimgproc/perf/perf_color.cpp cv::Mat img2(size, type); size 56 modules/cudaimgproc/perf/perf_histogram.cpp const cv::Size size = GET_PARAM(0); size 59 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat src(size, depth); size 94 modules/cudaimgproc/perf/perf_histogram.cpp const cv::Size size = GET_PARAM(0); size 97 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat src(size, CV_MAKE_TYPE(depth, 4)); size 133 modules/cudaimgproc/perf/perf_histogram.cpp const cv::Size size = GetParam(); size 135 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat src(size, CV_8UC1); size 159 modules/cudaimgproc/perf/perf_histogram.cpp const cv::Size size = GetParam(); size 161 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat src(size, CV_8UC1); size 192 modules/cudaimgproc/perf/perf_histogram.cpp const cv::Size size = GET_PARAM(0); size 195 modules/cudaimgproc/perf/perf_histogram.cpp cv::Mat src(size, CV_8UC1); size 88 modules/cudaimgproc/perf/perf_hough.cpp const cv::Size size = GetParam(); size 94 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat src(size, CV_8UC1, cv::Scalar::all(0)); size 188 modules/cudaimgproc/perf/perf_hough.cpp const cv::Size size = GET_PARAM(0); size 197 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat src(size, CV_8UC1, cv::Scalar::all(0)); size 307 modules/cudaimgproc/perf/perf_hough.cpp cv::Mat roi = image(cv::Rect(pos, obj.size())); size 64 modules/cudaimgproc/perf/perf_match_template.cpp const cv::Size size = GET_PARAM(0); size 69 modules/cudaimgproc/perf/perf_match_template.cpp cv::Mat image(size, CV_MAKE_TYPE(CV_8U, cn)); size 106 modules/cudaimgproc/perf/perf_match_template.cpp const cv::Size size = GET_PARAM(0); size 111 modules/cudaimgproc/perf/perf_match_template.cpp cv::Mat image(size, CV_MAKE_TYPE(CV_32F, cn)); size 93 modules/cudaimgproc/src/bilateral_filter.cpp _dst.create(src.size(), src.type()); size 79 modules/cudaimgproc/src/blend.cpp CV_Assert( img1.size() == img2.size() ); size 81 modules/cudaimgproc/src/blend.cpp CV_Assert( weights1.size() == img1.size() ); size 82 modules/cudaimgproc/src/blend.cpp CV_Assert( weights2.size() == img2.size() ); size 86 modules/cudaimgproc/src/blend.cpp const Size size = img1.size(); size 90 modules/cudaimgproc/src/blend.cpp _result.create(size, CV_MAKE_TYPE(depth, cn)); size 97 modules/cudaimgproc/src/blend.cpp blendLinearCaller<uchar>(size.height, size.width, cn, img1, img2, weights1, weights2, result, StreamAccessor::getStream(stream)); size 99 modules/cudaimgproc/src/blend.cpp blendLinearCaller8UC4(size.height, size.width, img1, img2, weights1, weights2, result, StreamAccessor::getStream(stream)); size 102 modules/cudaimgproc/src/blend.cpp blendLinearCaller<float>(size.height, size.width, cn, img1, img2, weights1, weights2, result, StreamAccessor::getStream(stream)); size 141 modules/cudaimgproc/src/canny.cpp createBuf(image.size()); size 143 modules/cudaimgproc/src/canny.cpp _edges.create(image.size(), CV_8UC1); size 176 modules/cudaimgproc/src/canny.cpp CV_Assert( dy.type() == dx.type() && dy.size() == dx.size() ); size 185 modules/cudaimgproc/src/canny.cpp createBuf(dx.size()); size 187 modules/cudaimgproc/src/canny.cpp _edges.create(dx.size(), CV_8UC1); size 94 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 3)); size 110 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 4)); size 126 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 4)); size 142 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 3)); size 158 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 3)); size 174 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 4)); size 187 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); size 200 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); size 213 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); size 226 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); size 239 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); size 252 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); size 265 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); size 278 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); size 291 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC3); size 304 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC3); size 317 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC3); size 330 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC3); size 343 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC4); size 356 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC4); size 369 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC4); size 382 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC4); size 398 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 3)); size 414 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKETYPE(src.depth(), 4)); size 427 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); size 440 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC2); size 453 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC1); size 466 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_8UC1); size 482 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 1)); size 498 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 1)); size 514 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 1)); size 530 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 1)); size 559 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 588 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 617 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 646 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 675 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 704 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 733 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 762 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 791 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 820 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 849 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 878 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 907 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 936 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 965 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 994 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1023 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1052 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1081 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1110 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1139 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1168 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1197 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1226 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1255 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1284 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1313 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1342 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1371 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1400 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1429 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1458 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1487 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1516 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1545 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1574 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1603 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1632 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1661 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1690 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1719 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1748 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1777 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1806 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1824 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), src.type()); size 1862 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); size 1899 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 1)); size 2136 modules/cudaimgproc/src/color.cpp _dst.create(_src.size(), CV_MAKE_TYPE(depth, dcn)); size 2164 modules/cudaimgproc/src/color.cpp _dst.create(_src.size(), CV_MAKE_TYPE(depth, 1)); size 2239 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), src.type()); size 2322 modules/cudaimgproc/src/color.cpp CV_Assert( img1.size() == img2.size() && img1.type() == img2.type() ); size 2324 modules/cudaimgproc/src/color.cpp _dst.create(img1.size(), img1.type()); size 144 modules/cudaimgproc/src/corners.cpp _dst.create(src.size(), CV_32FC1); size 172 modules/cudaimgproc/src/corners.cpp _dst.create(src.size(), CV_32FC1); size 187 modules/cudaimgproc/src/generalized_hough.cpp ensureSizeIsEnough(src.size(), CV_32SC1, dx); size 188 modules/cudaimgproc/src/generalized_hough.cpp ensureSizeIsEnough(src.size(), CV_32SC1, dy); size 193 modules/cudaimgproc/src/generalized_hough.cpp ensureSizeIsEnough(src.size(), CV_8UC1, edges); size 213 modules/cudaimgproc/src/generalized_hough.cpp templSize_ = templEdges_.size(); size 227 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( templDx_.type() == CV_32FC1 && templDx_.size() == templEdges_.size() ); size 228 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( templDy_.type() == templDx_.type() && templDy_.size() == templEdges_.size() ); size 233 modules/cudaimgproc/src/generalized_hough.cpp templSize_ = templEdges_.size(); size 249 modules/cudaimgproc/src/generalized_hough.cpp imageSize_ = imageEdges_.size(); size 277 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( imageDx_.type() == CV_32FC1 && imageDx_.size() == imageEdges_.size() ); size 278 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( imageDy_.type() == imageDx_.type() && imageDy_.size() == imageEdges_.size() ); size 280 modules/cudaimgproc/src/generalized_hough.cpp imageSize_ = imageEdges_.size(); size 317 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( dx.size() == edges.size() ); size 318 modules/cudaimgproc/src/generalized_hough.cpp CV_Assert( dy.type() == dx.type() && dy.size() == edges.size() ); size 324 modules/cudaimgproc/src/generalized_hough.cpp ensureSizeIsEnough(2, edges.size().area(), CV_32SC1, edgePointList_); size 395 modules/cudaimgproc/src/generalized_hough.cpp for(size_t j = 0; j < m.size(); ++j) size 419 modules/cudaimgproc/src/generalized_hough.cpp posCount_ = static_cast<int>(newPosBuf_.size()); size 739 modules/cudaimgproc/src/generalized_hough.cpp cudaSafeCall( cudaMemcpy(&h_buf_[0], templFeatures_.sizes.data, h_buf_.size() * sizeof(int), cudaMemcpyDeviceToHost) ); size 779 modules/cudaimgproc/src/generalized_hough.cpp for (size_t i = 0; i < angles_.size(); ++i) size 786 modules/cudaimgproc/src/generalized_hough.cpp for (size_t j = 0; j < scales_.size(); ++j) size 849 modules/cudaimgproc/src/generalized_hough.cpp cudaSafeCall( cudaMemcpy(&h_buf_[0], hist_.data, h_buf_.size() * sizeof(int), cudaMemcpyDeviceToHost) ); size 874 modules/cudaimgproc/src/generalized_hough.cpp cudaSafeCall( cudaMemcpy(&h_buf_[0], hist_.data, h_buf_.size() * sizeof(int), cudaMemcpyDeviceToHost) ); size 108 modules/cudaimgproc/src/gftt.cpp CV_Assert( mask.empty() || (mask.type() == CV_8UC1 && mask.size() == image.size()) ); size 110 modules/cudaimgproc/src/gftt.cpp ensureSizeIsEnough(image.size(), CV_32FC1, eig_); size 116 modules/cudaimgproc/src/gftt.cpp ensureSizeIsEnough(1, std::max(1000, static_cast<int>(image.size().area() * 0.05)), CV_32FC2, tmpCorners_); size 175 modules/cudaimgproc/src/gftt.cpp for(size_t j = 0; j < m.size(); j++) size 198 modules/cudaimgproc/src/gftt.cpp if (maxCorners_ > 0 && tmp2.size() == static_cast<size_t>(maxCorners_)) size 203 modules/cudaimgproc/src/gftt.cpp _corners.create(1, static_cast<int>(tmp2.size()), CV_32FC2); size 206 modules/cudaimgproc/src/gftt.cpp corners.upload(Mat(1, static_cast<int>(tmp2.size()), CV_32FC2, &tmp2[0])); size 102 modules/cudaimgproc/src/histogram.cpp _dst.create(src.size(), src.type()); size 179 modules/cudaimgproc/src/histogram.cpp _dst.create( src.size(), src.type() ); size 186 modules/cudaimgproc/src/hough_circles.cpp ensureSizeIsEnough(2, src.size().area(), CV_32SC1, list_); size 268 modules/cudaimgproc/src/hough_circles.cpp for(size_t j = 0; j < m.size(); ++j) size 142 modules/cudaimgproc/src/hough_lines.cpp ensureSizeIsEnough(1, src.size().area(), CV_32SC1, list_); size 146 modules/cudaimgproc/src/hough_segments.cpp ensureSizeIsEnough(1, src.size().area(), CV_32SC1, list_); size 199 modules/cudaimgproc/src/match_template.cpp if (templ.size().area() < getTemplateThreshold(TM_CCORR, CV_32F)) size 244 modules/cudaimgproc/src/match_template.cpp if (templ.size().area() < getTemplateThreshold(TM_CCORR, CV_8U)) size 351 modules/cudaimgproc/src/match_template.cpp if (templ.size().area() < getTemplateThreshold(TM_SQDIFF, CV_8U)) size 453 modules/cudaimgproc/src/match_template.cpp image_sums_.resize(images_.size()); size 541 modules/cudaimgproc/src/match_template.cpp image_sums_.resize(images_.size()); size 542 modules/cudaimgproc/src/match_template.cpp image_sqsums_.resize(images_.size()); size 74 modules/cudaimgproc/src/mean_shift.cpp _dst.create(src.size(), CV_8UC4); size 109 modules/cudaimgproc/src/mean_shift.cpp _dstr.create(src.size(), CV_8UC4); size 110 modules/cudaimgproc/src/mean_shift.cpp _dstsp.create(src.size(), CV_16SC2); size 67 modules/cudaimgproc/src/mssegmentation.cpp std::vector<int> size; size 165 modules/cudaimgproc/src/mssegmentation.cpp size[set2] += size[set1]; size 171 modules/cudaimgproc/src/mssegmentation.cpp size[set1] += size[set2]; size 176 modules/cudaimgproc/src/mssegmentation.cpp size[set2] += size[set1]; size 349 modules/cudaimgproc/src/mssegmentation.cpp for (size_t i = 0; i < edges.size(); ++i) size 353 modules/cudaimgproc/src/mssegmentation.cpp if (c1 != c2 && (comps.size[c1] < minsize || comps.size[c2] < minsize)) size 375 modules/cudaimgproc/src/mssegmentation.cpp _dst.create(src.size(), src.type()); size 386 modules/cudaimgproc/src/mssegmentation.cpp dstcol[0] = static_cast<uchar>(sumcol[0] / comps.size[parent]); size 387 modules/cudaimgproc/src/mssegmentation.cpp dstcol[1] = static_cast<uchar>(sumcol[1] / comps.size[parent]); size 388 modules/cudaimgproc/src/mssegmentation.cpp dstcol[2] = static_cast<uchar>(sumcol[2] / comps.size[parent]); size 55 modules/cudaimgproc/test/test_bilateral_filter.cpp cv::Size size; size 64 modules/cudaimgproc/test/test_bilateral_filter.cpp size = GET_PARAM(1); size 77 modules/cudaimgproc/test/test_bilateral_filter.cpp cv::Mat src = randomMat(size, type); size 57 modules/cudaimgproc/test/test_blend.cpp result_gold.create(img1.size(), img1.type()); size 82 modules/cudaimgproc/test/test_blend.cpp cv::Size size; size 89 modules/cudaimgproc/test/test_blend.cpp size = GET_PARAM(1); size 101 modules/cudaimgproc/test/test_blend.cpp cv::Mat img1 = randomMat(size, type, 0.0, depth == CV_8U ? 255.0 : 1.0); size 102 modules/cudaimgproc/test/test_blend.cpp cv::Mat img2 = randomMat(size, type, 0.0, depth == CV_8U ? 255.0 : 1.0); size 103 modules/cudaimgproc/test/test_blend.cpp cv::Mat weights1 = randomMat(size, CV_32F, 0, 1); size 104 modules/cudaimgproc/test/test_blend.cpp cv::Mat weights2 = randomMat(size, CV_32F, 0, 1); size 55 modules/cudaimgproc/test/test_color.cpp cv::Size size; size 64 modules/cudaimgproc/test/test_color.cpp size = GET_PARAM(1); size 70 modules/cudaimgproc/test/test_color.cpp img = randomMat(size, CV_MAKE_TYPE(depth, 3), 0.0, depth == CV_32F ? 1.0 : 255.0); size 680 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); size 699 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); size 815 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); size 834 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); size 1052 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); size 1074 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); size 1130 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); size 1152 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); size 1371 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); size 1393 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); size 1449 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); size 1471 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); size 1530 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); size 1549 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); size 2058 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, CV_MAKE_TYPE(depth, 4)); size 2060 modules/cudaimgproc/test/test_color.cpp cv::cuda::GpuMat dst = createMat(src.size(), src.type(), useRoi); size 2076 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); size 2092 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); size 2115 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); size 2131 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); size 2153 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); size 2169 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); size 2191 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); size 2207 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); size 2229 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); size 2245 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); size 2261 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); size 2277 modules/cudaimgproc/test/test_color.cpp cv::Mat src = randomMat(size, depth); size 2310 modules/cudaimgproc/test/test_color.cpp dst.create(src.size()); size 2477 modules/cudaimgproc/test/test_color.cpp cv::Size size; size 2483 modules/cudaimgproc/test/test_color.cpp size = GET_PARAM(1); size 93 modules/cudaimgproc/test/test_gftt.cpp ASSERT_EQ(pts_gold.size(), pts.size()); size 96 modules/cudaimgproc/test/test_gftt.cpp for (size_t i = 0; i < pts.size(); ++i) size 107 modules/cudaimgproc/test/test_gftt.cpp double bad_ratio = static_cast<double>(mistmatch) / pts.size(); size 55 modules/cudaimgproc/test/test_histogram.cpp cv::Size size; size 60 modules/cudaimgproc/test/test_histogram.cpp size = GET_PARAM(1); size 68 modules/cudaimgproc/test/test_histogram.cpp cv::Mat src = randomMat(size, CV_8UC1); size 100 modules/cudaimgproc/test/test_histogram.cpp cv::Size size; size 105 modules/cudaimgproc/test/test_histogram.cpp size = GET_PARAM(1); size 113 modules/cudaimgproc/test/test_histogram.cpp cv::Mat src = randomMat(size, CV_8UC1); size 143 modules/cudaimgproc/test/test_histogram.cpp cv::Size size; size 148 modules/cudaimgproc/test/test_histogram.cpp size = GET_PARAM(1); size 156 modules/cudaimgproc/test/test_histogram.cpp cv::Mat src = randomMat(size, CV_8UC1); size 182 modules/cudaimgproc/test/test_histogram.cpp cv::Size size; size 188 modules/cudaimgproc/test/test_histogram.cpp size = GET_PARAM(1); size 197 modules/cudaimgproc/test/test_histogram.cpp cv::Mat src = randomMat(size, CV_8UC1); size 68 modules/cudaimgproc/test/test_hough.cpp for (size_t i = 0; i < lines.size(); ++i) size 87 modules/cudaimgproc/test/test_hough.cpp const cv::Size size = GET_PARAM(1); size 94 modules/cudaimgproc/test/test_hough.cpp cv::Mat src(size, CV_8UC1); size 105 modules/cudaimgproc/test/test_hough.cpp cv::Mat dst(size, CV_8UC1); size 125 modules/cudaimgproc/test/test_hough.cpp for (size_t i = 0; i < circles.size(); ++i) size 134 modules/cudaimgproc/test/test_hough.cpp const cv::Size size = GET_PARAM(1); size 150 modules/cudaimgproc/test/test_hough.cpp cv::Mat src(size, CV_8UC1); size 163 modules/cudaimgproc/test/test_hough.cpp for (size_t i = 0; i < circles.size(); ++i) size 169 modules/cudaimgproc/test/test_hough.cpp for (size_t j = 0; j < circles_gold.size(); ++j) size 232 modules/cudaimgproc/test/test_hough.cpp ASSERT_EQ(gold_count, pos.size()); size 240 modules/cudaimgproc/test/test_hough.cpp for (size_t j = 0; j < pos.size(); ++j) size 63 modules/cudaimgproc/test/test_match_template.cpp cv::Size size; size 71 modules/cudaimgproc/test/test_match_template.cpp size = GET_PARAM(1); size 82 modules/cudaimgproc/test/test_match_template.cpp cv::Mat image = randomMat(size, CV_MAKETYPE(CV_8U, cn)); size 94 modules/cudaimgproc/test/test_match_template.cpp ASSERT_EQ(dst_gold.size(), h_dst.size()); size 120 modules/cudaimgproc/test/test_match_template.cpp cv::Size size; size 130 modules/cudaimgproc/test/test_match_template.cpp size = GET_PARAM(1); size 141 modules/cudaimgproc/test/test_match_template.cpp cv::Mat image = randomMat(size, CV_MAKETYPE(CV_32F, cn)); size 153 modules/cudaimgproc/test/test_match_template.cpp ASSERT_EQ(dst_gold.size(), h_dst.size()); size 453 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp size_t size; size 466 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp virtual NCVStatus alloc(NCVMemSegment &seg, size_t size) = 0; size 494 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp virtual NCVStatus alloc(NCVMemSegment &seg, size_t size); size 527 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp virtual NCVStatus alloc(NCVMemSegment &seg, size_t size); size 701 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp this->_length = memSegment.size / sizeof(T); size 713 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(length_ * sizeof(T) <= memSegment.size, \ size 949 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(pitchBytes * height_ <= memSegment.size, \ size 71 modules/cudalegacy/include/opencv2/cudalegacy/NCVPyramid.hpp const Ncv32u nElem = this->_arr.size(); size 116 modules/cudalegacy/include/opencv2/cudalegacy/NPP_staging.hpp NcvSize32u size; ///< frame size size 83 modules/cudalegacy/perf/perf_labeling.cpp : image(img), _labels(image.size(), CV_32SC1, cv::Scalar::all(-1)) {stack = new dot[image.cols * image.rows];} size 179 modules/cudalegacy/src/NCV.cpp size = 0; size 421 modules/cudalegacy/src/NCV.cpp NCVStatus NCVMemStackAllocator::alloc(NCVMemSegment &seg, size_t size) size 426 modules/cudalegacy/src/NCV.cpp size = alignUp(static_cast<Ncv32u>(size), this->_alignment); size 427 modules/cudalegacy/src/NCV.cpp this->currentSize += size; size 433 modules/cudalegacy/src/NCV.cpp ncvAssertReturn(size <= availSize, NCV_ALLOCATOR_INSUFFICIENT_CAPACITY); size 438 modules/cudalegacy/src/NCV.cpp seg.size = size; size 439 modules/cudalegacy/src/NCV.cpp begin += size; size 450 modules/cudalegacy/src/NCV.cpp ncvAssertReturn(seg.begin.ptr == begin - seg.size, NCV_ALLOCATOR_DEALLOC_ORDER); size 452 modules/cudalegacy/src/NCV.cpp currentSize -= seg.size; size 453 modules/cudalegacy/src/NCV.cpp begin -= seg.size; size 516 modules/cudalegacy/src/NCV.cpp NCVStatus NCVMemNativeAllocator::alloc(NCVMemSegment &seg, size_t size) size 524 modules/cudalegacy/src/NCV.cpp ncvAssertCUDAReturn(cudaMalloc(&seg.begin.ptr, size), NCV_CUDA_ERROR); size 527 modules/cudalegacy/src/NCV.cpp ncvAssertCUDAReturn(cudaMallocHost(&seg.begin.ptr, size), NCV_CUDA_ERROR); size 530 modules/cudalegacy/src/NCV.cpp seg.begin.ptr = (Ncv8u *)malloc(size); size 535 modules/cudalegacy/src/NCV.cpp this->currentSize += alignUp(static_cast<Ncv32u>(size), this->_alignment); size 539 modules/cudalegacy/src/NCV.cpp seg.size = size; size 551 modules/cudalegacy/src/NCV.cpp ncvAssertReturn(currentSize >= alignUp(static_cast<Ncv32u>(seg.size), this->_alignment), NCV_ALLOCATOR_BAD_DEALLOC); size 552 modules/cudalegacy/src/NCV.cpp currentSize -= alignUp(static_cast<Ncv32u>(seg.size), this->_alignment); size 747 modules/cudalegacy/src/NCV.cpp std::vector<cv::Rect> rects(hypotheses.size()); size 761 modules/cudalegacy/src/NCV.cpp hypotheses.resize(rects.size()); size 799 modules/cudalegacy/src/NCV.cpp numHypotheses = (Ncv32u)rects.size(); size 63 modules/cudalegacy/src/bm.cpp CV_Assert( curr.size() == prev.size() && curr.type() == prev.type() ); size 65 modules/cudalegacy/src/bm_fast.cpp CV_Assert( I1.size() == I0.size() && I1.type() == I0.type() ); size 68 modules/cudalegacy/src/bm_fast.cpp Size esize = I0.size() + Size(border_size, border_size) * 2; size 76 modules/cudalegacy/src/bm_fast.cpp GpuMat I0_hdr = extended_I0(Rect(Point2i(border_size, border_size), I0.size())); size 77 modules/cudalegacy/src/bm_fast.cpp GpuMat I1_hdr = extended_I1(Rect(Point2i(border_size, border_size), I0.size())); size 84 modules/cudalegacy/src/bm_fast.cpp flowx.create(I0.size(), CV_32FC1); size 85 modules/cudalegacy/src/bm_fast.cpp flowy.create(I0.size(), CV_32FC1); size 88 modules/cudalegacy/src/calib3d.cpp CV_Assert(rvec.size() == Size(3, 1) && rvec.type() == CV_32F); size 89 modules/cudalegacy/src/calib3d.cpp CV_Assert(tvec.size() == Size(3, 1) && tvec.type() == CV_32F); size 95 modules/cudalegacy/src/calib3d.cpp dst.create(src.size(), src.type()); size 110 modules/cudalegacy/src/calib3d.cpp CV_Assert(rvec.size() == Size(3, 1) && rvec.type() == CV_32F); size 111 modules/cudalegacy/src/calib3d.cpp CV_Assert(tvec.size() == Size(3, 1) && tvec.type() == CV_32F); size 112 modules/cudalegacy/src/calib3d.cpp CV_Assert(camera_mat.size() == Size(3, 3) && camera_mat.type() == CV_32F); size 119 modules/cudalegacy/src/calib3d.cpp dst.create(src.size(), CV_32FC2); size 220 modules/cudalegacy/src/calib3d.cpp CV_Assert(camera_mat.size() == Size(3, 3) && camera_mat.type() == CV_32F); size 81 modules/cudalegacy/src/cuda/NCVColorConversion.hpp ncvAssertReturn(h_imgIn.size() == h_imgOut.size(), NCV_DIMENSIONS_INVALID); size 179 modules/cudalegacy/src/cuda/NCVRuntimeTemplates.hpp NcvBool val = templateParamList[templateParamList.size() - 1]; size 125 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(src.size(), CV_MAKE_TYPE(src.depth(), dst_cn), dst); size 352 modules/cudalegacy/src/fgd.cpp size_t total = all_contours.size(); size 470 modules/cudalegacy/src/fgd.cpp void create(Size size, const FGDParams& params); size 492 modules/cudalegacy/src/fgd.cpp void BGPixelStat::create(Size size, const FGDParams& params) size 494 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(size, CV_32FC1, Pbc_); size 497 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(size, CV_32FC1, Pbcc_); size 500 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(size, CV_8UC1, is_trained_st_model_); size 503 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(size, CV_8UC1, is_trained_dyn_model_); size 506 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(params.N2c * size.height, size.width, CV_32FC1, ctable_Pv_); size 509 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(params.N2c * size.height, size.width, CV_32FC1, ctable_Pvb_); size 512 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(params.N2c * size.height, size.width, CV_8UC4, ctable_v_); size 515 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(params.N2cc * size.height, size.width, CV_32FC1, cctable_Pv_); size 518 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(params.N2cc * size.height, size.width, CV_32FC1, cctable_Pvb_); size 521 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(params.N2cc * size.height, size.width, CV_8UC4, cctable_v1_); size 524 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(params.N2cc * size.height, size.width, CV_8UC4, cctable_v2_); size 634 modules/cudalegacy/src/fgd.cpp if (curFrame.size() != frameSize_) size 641 modules/cudalegacy/src/fgd.cpp CV_Assert( curFrame.size() == prevFrame_.size() ); size 662 modules/cudalegacy/src/fgd.cpp if (static_cast<double>(FG_pixels_count) / Ftd_.size().area() > BGFG_FGD_BG_UPDATE_TRESH) size 679 modules/cudalegacy/src/fgd.cpp size_t total = foreground_regions_.size(); size 687 modules/cudalegacy/src/fgd.cpp dst.create((int) c.size(), 1, CV_32SC2, (int) i, true); size 690 modules/cudalegacy/src/fgd.cpp Mat(ci.size(), ci.type(), &c[0]).copyTo(ci); size 698 modules/cudalegacy/src/fgd.cpp frameSize_ = firstFrame.size(); size 700 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(firstFrame.size(), CV_8UC1, foreground_); size 705 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(firstFrame.size(), CV_8UC1, Ftd_); size 706 modules/cudalegacy/src/fgd.cpp cuda::ensureSizeIsEnough(firstFrame.size(), CV_8UC1, Fbd_); size 708 modules/cudalegacy/src/fgd.cpp stat_.create(firstFrame.size(), params_); size 195 modules/cudalegacy/src/gmg.cpp if (frame.size() != frameSize_) size 206 modules/cudalegacy/src/gmg.cpp initialize(frame.size(), (float) minVal, (float) maxVal); size 97 modules/cudalegacy/src/graphcuts.cpp if (image.size() != mask.size() || mask.type() != CV_8UC1) size 98 modules/cudalegacy/src/graphcuts.cpp mask.create(image.size(), CV_8UC1); size 112 modules/cudalegacy/src/graphcuts.cpp components.create(mask.size(), CV_32SC1); size 153 modules/cudalegacy/src/graphcuts.cpp Size src_size = terminals.size(); size 155 modules/cudalegacy/src/graphcuts.cpp CV_Assert(leftTransp.size() == Size(src_size.height, src_size.width)); size 158 modules/cudalegacy/src/graphcuts.cpp CV_Assert(rightTransp.size() == Size(src_size.height, src_size.width)); size 161 modules/cudalegacy/src/graphcuts.cpp CV_Assert(top.size() == src_size); size 164 modules/cudalegacy/src/graphcuts.cpp CV_Assert(bottom.size() == src_size); size 213 modules/cudalegacy/src/graphcuts.cpp Size src_size = terminals.size(); size 215 modules/cudalegacy/src/graphcuts.cpp CV_Assert(leftTransp.size() == Size(src_size.height, src_size.width)); size 218 modules/cudalegacy/src/graphcuts.cpp CV_Assert(rightTransp.size() == Size(src_size.height, src_size.width)); size 221 modules/cudalegacy/src/graphcuts.cpp CV_Assert(top.size() == src_size); size 224 modules/cudalegacy/src/graphcuts.cpp CV_Assert(topLeft.size() == src_size); size 227 modules/cudalegacy/src/graphcuts.cpp CV_Assert(topRight.size() == src_size); size 230 modules/cudalegacy/src/graphcuts.cpp CV_Assert(bottom.size() == src_size); size 233 modules/cudalegacy/src/graphcuts.cpp CV_Assert(bottomLeft.size() == src_size); size 236 modules/cudalegacy/src/graphcuts.cpp CV_Assert(bottomRight.size() == src_size); size 77 modules/cudalegacy/src/image_pyramid.cpp Size szLastLayer = img.size(); size 58 modules/cudalegacy/src/interpolate_frames.cpp CV_Assert(frame1.size() == frame0.size() && frame1.type() == frame0.type()); size 59 modules/cudalegacy/src/interpolate_frames.cpp CV_Assert(fu.size() == frame0.size() && fu.type() == frame0.type()); size 60 modules/cudalegacy/src/interpolate_frames.cpp CV_Assert(fv.size() == frame0.size() && fv.type() == frame0.type()); size 61 modules/cudalegacy/src/interpolate_frames.cpp CV_Assert(bu.size() == frame0.size() && bu.type() == frame0.type()); size 62 modules/cudalegacy/src/interpolate_frames.cpp CV_Assert(bv.size() == frame0.size() && bv.type() == frame0.type()); size 64 modules/cudalegacy/src/interpolate_frames.cpp newFrame.create(frame0.size(), frame0.type()); size 90 modules/cudalegacy/src/interpolate_frames.cpp state.size = NcvSize32u(frame0.cols, frame0.rows); size 68 modules/cudalegacy/src/needle_map.cpp CV_Assert(v.type() == u.type() && v.size() == u.size()); size 78 modules/cudalegacy/test/NCVAutoTestLister.hpp (int)(this->tests.size())); size 81 modules/cudalegacy/test/NCVAutoTestLister.hpp for (Ncv32u i=0; i<this->tests.size(); i++) size 140 modules/cudalegacy/test/NCVAutoTestLister.hpp (int)(this->tests.size()), size 152 modules/cudalegacy/test/NCVAutoTestLister.hpp for (Ncv32u i=0; i<this->tests.size(); i++) size 112 modules/cudalegacy/test/NCVTestSourceProvider.hpp cv::Mat hdr(image.size(), CV_8UC1, data.get()->ptr(), data.get()->pitch()); size 75 modules/cudalegacy/test/test_calib3d.cpp ASSERT_EQ(src.size(), dst.size()); size 134 modules/cudalegacy/test/test_calib3d.cpp ASSERT_EQ(dst_gold.size(), static_cast<size_t>(dst.cols)); size 138 modules/cudalegacy/test/test_calib3d.cpp for (size_t i = 0; i < dst_gold.size(); ++i) size 182 modules/cudalegacy/test/test_calib3d.cpp cv::cuda::solvePnPRansac(object, cv::Mat(1, (int)image_vec.size(), CV_32FC2, &image_vec[0]), size 76 modules/cudalegacy/test/test_labeling.cpp : image(img), _labels(image.size(), CV_32SC1, cv::Scalar::all(-1)) {} size 319 modules/cudaobjdetect/src/cascadeclassifier.cpp calculateMemReqsAndAllocate(src.size()); size 327 modules/cudaobjdetect/src/cascadeclassifier.cpp src_seg.size = src.step * src.rows; size 340 modules/cudaobjdetect/src/cascadeclassifier.cpp objects_seg.size = objects.step * objects.rows; size 543 modules/cudaobjdetect/src/cascadeclassifier.cpp maxObjectSize_ = image.size(); size 545 modules/cudaobjdetect/src/cascadeclassifier.cpp allocateBuffers(image.size()); size 551 modules/cudaobjdetect/src/cascadeclassifier.cpp PyrLavel level(0, scaleFactor_, image.size(), NxM, minObjectSize_); size 578 modules/cudaobjdetect/src/cascadeclassifier.cpp level = level.next(scaleFactor_, image.size(), NxM, minObjectSize_); size 682 modules/cudaobjdetect/src/cascadeclassifier.cpp stages.reserve(fn.size()); size 700 modules/cudaobjdetect/src/cascadeclassifier.cpp st.ntrees = (int)fns.size(); size 701 modules/cudaobjdetect/src/cascadeclassifier.cpp st.first = (int)cl_trees.size(); size 718 modules/cudaobjdetect/src/cascadeclassifier.cpp int nodeCount = (int)internalNodes.size()/nodeStep; size 721 modules/cudaobjdetect/src/cascadeclassifier.cpp cl_nodes.reserve((cl_nodes.size() + nodeCount) * 3); size 722 modules/cudaobjdetect/src/cascadeclassifier.cpp cl_leaves.reserve(cl_leaves.size() + leafValues.size()); size 725 modules/cudaobjdetect/src/cascadeclassifier.cpp subsets.reserve(subsets.size() + nodeCount * subsetSize); size 752 modules/cudaobjdetect/src/cascadeclassifier.cpp features.reserve(fn.size() * 4); size 765 modules/cudaobjdetect/src/cascadeclassifier.cpp stage_mat.upload(cv::Mat(1, (int) (stages.size() * sizeof(Stage)), CV_8UC1, (uchar*)&(stages[0]) )); size 216 modules/cudaobjdetect/src/hog.cpp static int numPartsWithin(int size, int part_size, int stride) size 218 modules/cudaobjdetect/src/hog.cpp return (size - part_size + stride) / stride; size 221 modules/cudaobjdetect/src/hog.cpp static Size numPartsWithin(Size size, Size part_size, Size stride) size 223 modules/cudaobjdetect/src/hog.cpp return Size(numPartsWithin(size.width, part_size.width, stride.width), size 224 modules/cudaobjdetect/src/hog.cpp numPartsWithin(size.height, part_size.height, stride.height)); size 299 modules/cudaobjdetect/src/hog.cpp GpuMat block_hists = pool.getBuffer(1, getTotalHistSize(img.size()), CV_32FC1); size 302 modules/cudaobjdetect/src/hog.cpp Size wins_per_img = numPartsWithin(img.size(), win_size_, win_stride_); size 397 modules/cudaobjdetect/src/hog.cpp for (size_t i = 0; i < level_scale.size(); i++) size 404 modules/cudaobjdetect/src/hog.cpp if (sz == img.size()) size 424 modules/cudaobjdetect/src/hog.cpp for (size_t j = 0; j < level_hits.size(); j++) size 450 modules/cudaobjdetect/src/hog.cpp GpuMat block_hists = pool.getBuffer(1, getTotalHistSize(img.size()), CV_32FC1); size 455 modules/cudaobjdetect/src/hog.cpp Size wins_per_img = numPartsWithin(img.size(), win_size_, win_stride_); size 497 modules/cudaobjdetect/src/hog.cpp GpuMat grad = pool.getBuffer(img.size(), CV_32FC2); size 498 modules/cudaobjdetect/src/hog.cpp GpuMat qangle = pool.getBuffer(img.size(), CV_8UC2); size 501 modules/cudaobjdetect/src/hog.cpp block_hists.create(1, getTotalHistSize(img.size()), CV_32FC1); size 519 modules/cudaobjdetect/src/hog.cpp grad.create(img.size(), CV_32FC2); size 520 modules/cudaobjdetect/src/hog.cpp qangle.create(img.size(), CV_8UC2); size 80 modules/cudaobjdetect/test/test_objdetect.cpp int nlocations = locations.size(); size 83 modules/cudaobjdetect/test/test_objdetect.cpp for (int i = 0; i < locations.size(); ++i) size 104 modules/cudaobjdetect/test/test_objdetect.cpp ASSERT_EQ(nlocations, static_cast<int>(locations.size())); size 204 modules/cudaobjdetect/test/test_objdetect.cpp ASSERT_EQ(descr_size_expected, descriptors.size()); size 253 modules/cudaobjdetect/test/test_objdetect.cpp for (int i = 0; i < (int)found_locations.size(); i++) size 349 modules/cudaobjdetect/test/test_objdetect.cpp for (size_t i = 0; i < gpu_rects.size(); i++) size 133 modules/cudaoptflow/src/brox.cpp CV_Assert( frame1.size() == frame0.size() && frame1.type() == frame0.type() ); size 138 modules/cudaoptflow/src/brox.cpp GpuMat u = pool.getBuffer(frame0.size(), CV_32FC1); size 139 modules/cudaoptflow/src/brox.cpp GpuMat v = pool.getBuffer(frame0.size(), CV_32FC1); size 152 modules/cudaoptflow/src/brox.cpp frame0MemSeg.size = frame0.step * frame0.rows; size 157 modules/cudaoptflow/src/brox.cpp frame1MemSeg.size = frame1.step * frame1.rows; size 162 modules/cudaoptflow/src/brox.cpp uMemSeg.size = u.step * u.rows; size 167 modules/cudaoptflow/src/brox.cpp vMemSeg.size = v.step * v.rows; size 170 modules/cudaoptflow/src/farneback.cpp GpuMat flowx = pool.getBuffer(frame0.size(), CV_32FC1); size 171 modules/cudaoptflow/src/farneback.cpp GpuMat flowy = pool.getBuffer(frame0.size(), CV_32FC1); size 295 modules/cudaoptflow/src/farneback.cpp CV_Assert(frame0.size() == frame1.size()); size 303 modules/cudaoptflow/src/farneback.cpp Size size = frame0.size(); size 306 modules/cudaoptflow/src/farneback.cpp flowx.create(size, CV_32F); size 307 modules/cudaoptflow/src/farneback.cpp flowy.create(size, CV_32F); size 317 modules/cudaoptflow/src/farneback.cpp if (size.width*scale < MIN_SIZE || size.height*scale < MIN_SIZE) size 353 modules/cudaoptflow/src/farneback.cpp int width = cvRound(size.width*scale); size 354 modules/cudaoptflow/src/farneback.cpp int height = cvRound(size.height*scale); size 413 modules/cudaoptflow/src/farneback.cpp allocMatFromBuf(size.height, size.width, CV_32F, blurredFrame_[0]), size 414 modules/cudaoptflow/src/farneback.cpp allocMatFromBuf(size.height, size.width, CV_32F, blurredFrame_[1]) size 130 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( prevImg.size() == nextImg.size() && prevImg.type() == nextImg.type() ); size 137 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( nextPts.size() == prevPts.size() && nextPts.type() == prevPts.type() ); size 167 modules/cudaoptflow/src/pyrlk.cpp GpuMat buf = pool.getBuffer(prevImg.size(), CV_MAKE_TYPE(prevImg.depth(), 4)); size 210 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( prevImg.size() == nextImg.size() && prevImg.type() == nextImg.type() ); size 231 modules/cudaoptflow/src/pyrlk.cpp pool.getBuffer(prevImg.size(), CV_32FC1), size 232 modules/cudaoptflow/src/pyrlk.cpp pool.getBuffer(prevImg.size(), CV_32FC1), size 235 modules/cudaoptflow/src/pyrlk.cpp pool.getBuffer(prevImg.size(), CV_32FC1), size 236 modules/cudaoptflow/src/pyrlk.cpp pool.getBuffer(prevImg.size(), CV_32FC1), size 329 modules/cudaoptflow/src/pyrlk.cpp GpuMat u = pool.getBuffer(prevImg.size(), CV_32FC1); size 330 modules/cudaoptflow/src/pyrlk.cpp GpuMat v = pool.getBuffer(prevImg.size(), CV_32FC1); size 167 modules/cudaoptflow/src/tvl1flow.cpp GpuMat flowx = pool.getBuffer(frame0.size(), CV_32FC1); size 168 modules/cudaoptflow/src/tvl1flow.cpp GpuMat flowy = pool.getBuffer(frame0.size(), CV_32FC1); size 179 modules/cudaoptflow/src/tvl1flow.cpp CV_Assert( I0.size() == I1.size() ); size 181 modules/cudaoptflow/src/tvl1flow.cpp CV_Assert( !useInitialFlow_ || (flowx.size() == I0.size() && flowx.type() == CV_32FC1 && flowy.size() == flowx.size() && flowy.type() == flowx.type()) ); size 196 modules/cudaoptflow/src/tvl1flow.cpp flowx.create(I0.size(), CV_32FC1); size 197 modules/cudaoptflow/src/tvl1flow.cpp flowy.create(I0.size(), CV_32FC1); size 204 modules/cudaoptflow/src/tvl1flow.cpp u3s[0].create(I0.size(), CV_32FC1); size 207 modules/cudaoptflow/src/tvl1flow.cpp I1x_buf.create(I0.size(), CV_32FC1); size 208 modules/cudaoptflow/src/tvl1flow.cpp I1y_buf.create(I0.size(), CV_32FC1); size 210 modules/cudaoptflow/src/tvl1flow.cpp I1w_buf.create(I0.size(), CV_32FC1); size 211 modules/cudaoptflow/src/tvl1flow.cpp I1wx_buf.create(I0.size(), CV_32FC1); size 212 modules/cudaoptflow/src/tvl1flow.cpp I1wy_buf.create(I0.size(), CV_32FC1); size 214 modules/cudaoptflow/src/tvl1flow.cpp grad_buf.create(I0.size(), CV_32FC1); size 215 modules/cudaoptflow/src/tvl1flow.cpp rho_c_buf.create(I0.size(), CV_32FC1); size 217 modules/cudaoptflow/src/tvl1flow.cpp p11_buf.create(I0.size(), CV_32FC1); size 218 modules/cudaoptflow/src/tvl1flow.cpp p12_buf.create(I0.size(), CV_32FC1); size 219 modules/cudaoptflow/src/tvl1flow.cpp p21_buf.create(I0.size(), CV_32FC1); size 220 modules/cudaoptflow/src/tvl1flow.cpp p22_buf.create(I0.size(), CV_32FC1); size 223 modules/cudaoptflow/src/tvl1flow.cpp p31_buf.create(I0.size(), CV_32FC1); size 224 modules/cudaoptflow/src/tvl1flow.cpp p32_buf.create(I0.size(), CV_32FC1); size 226 modules/cudaoptflow/src/tvl1flow.cpp diff_buf.create(I0.size(), CV_32FC1); size 250 modules/cudaoptflow/src/tvl1flow.cpp u1s[s].create(I0s[s].size(), CV_32FC1); size 251 modules/cudaoptflow/src/tvl1flow.cpp u2s[s].create(I0s[s].size(), CV_32FC1); size 255 modules/cudaoptflow/src/tvl1flow.cpp u3s[s].create(I0s[s].size(), CV_32FC1); size 282 modules/cudaoptflow/src/tvl1flow.cpp cuda::resize(u1s[s], u1s[s - 1], I0s[s - 1].size(), 0, 0, INTER_LINEAR, stream); size 283 modules/cudaoptflow/src/tvl1flow.cpp cuda::resize(u2s[s], u2s[s - 1], I0s[s - 1].size(), 0, 0, INTER_LINEAR, stream); size 286 modules/cudaoptflow/src/tvl1flow.cpp cuda::resize(u3s[s], u3s[s - 1], I0s[s - 1].size(), 0, 0, INTER_LINEAR, stream); size 301 modules/cudaoptflow/src/tvl1flow.cpp const double scaledEpsilon = epsilon_ * epsilon_ * I0.size().area(); size 303 modules/cudaoptflow/src/tvl1flow.cpp CV_DbgAssert( I1.size() == I0.size() ); size 305 modules/cudaoptflow/src/tvl1flow.cpp CV_DbgAssert( u1.size() == I0.size() ); size 306 modules/cudaoptflow/src/tvl1flow.cpp CV_DbgAssert( u2.size() == u1.size() ); size 205 modules/cudaoptflow/test/test_optflow.cpp cv::Mat pts_mat(1, (int) pts.size(), CV_32FC2, (void*) &pts[0]); size 227 modules/cudaoptflow/test/test_optflow.cpp ASSERT_EQ(nextPts_gold.size(), nextPts.size()); size 228 modules/cudaoptflow/test/test_optflow.cpp ASSERT_EQ(status_gold.size(), status.size()); size 231 modules/cudaoptflow/test/test_optflow.cpp for (size_t i = 0; i < nextPts.size(); ++i) size 251 modules/cudaoptflow/test/test_optflow.cpp double bad_ratio = static_cast<double>(mistmatch) / nextPts.size(); size 199 modules/cudastereo/perf/perf_stereo.cpp const cv::Size size = GET_PARAM(0); size 202 modules/cudastereo/perf/perf_stereo.cpp cv::Mat src(size, depth); size 234 modules/cudastereo/perf/perf_stereo.cpp const cv::Size size = GET_PARAM(0); size 237 modules/cudastereo/perf/perf_stereo.cpp cv::Mat src(size, type); size 161 modules/cudastereo/src/disparity_bilateral_filter.cpp _dst.create(disp.size(), disp.type()); size 185 modules/cudastereo/src/disparity_bilateral_filter.cpp CV_Assert( disp.size() == img.size() ); size 149 modules/cudastereo/src/stereobm.cpp CV_Assert( left.size() == right.size() && left.type() == right.type() ); size 151 modules/cudastereo/src/stereobm.cpp _disparity.create(left.size(), CV_8UC1); size 156 modules/cudastereo/src/stereobm.cpp cuda::ensureSizeIsEnough(left.size(), CV_32SC1, minSSD_); size 163 modules/cudastereo/src/stereobm.cpp cuda::ensureSizeIsEnough(left.size(), left.type(), leBuf_); size 164 modules/cudastereo/src/stereobm.cpp cuda::ensureSizeIsEnough(right.size(), right.type(), riBuf_); size 186 modules/cudastereo/src/stereobp.cpp CV_Assert( left.size() == right.size() && left.type() == right.type() ); size 161 modules/cudastereo/src/stereocsbp.cpp CV_Assert( left.size() == right.size() && left.type() == right.type() ); size 216 modules/cudastereo/src/stereocsbp.cpp Size temp_size = data_cost.size(); size 82 modules/cudastereo/src/util.cpp _xyz.create(disp.size(), CV_MAKE_TYPE(CV_32F, dst_cn)); size 104 modules/cudastereo/src/util.cpp _dst.create(src.size(), CV_8UC4); size 177 modules/cudastereo/test/test_stereo.cpp cv::Size size; size 184 modules/cudastereo/test/test_stereo.cpp size = GET_PARAM(1); size 194 modules/cudastereo/test/test_stereo.cpp cv::Mat disp = randomMat(size, depth, 5.0, 30.0); size 104 modules/cudawarping/perf/perf_warping.cpp const cv::Size size = GET_PARAM(0); size 113 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); size 116 modules/cudawarping/perf/perf_warping.cpp cv::Mat xmap(size, CV_32FC1); size 117 modules/cudawarping/perf/perf_warping.cpp cv::Mat ymap(size, CV_32FC1); size 155 modules/cudawarping/perf/perf_warping.cpp const cv::Size size = GET_PARAM(0); size 163 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); size 198 modules/cudawarping/perf/perf_warping.cpp const cv::Size size = GET_PARAM(0); size 206 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); size 242 modules/cudawarping/perf/perf_warping.cpp const cv::Size size = GET_PARAM(0); size 250 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); size 266 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::cuda::warpAffine(d_src, dst, M, size, interpolation, borderMode); size 274 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::warpAffine(src, dst, M, size, interpolation, borderMode); size 292 modules/cudawarping/perf/perf_warping.cpp const cv::Size size = GET_PARAM(0); size 300 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); size 314 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::cuda::warpPerspective(d_src, dst, M, size, interpolation, borderMode); size 322 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::warpPerspective(src, dst, M, size, interpolation, borderMode); size 339 modules/cudawarping/perf/perf_warping.cpp const cv::Size size = GET_PARAM(0); size 346 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); size 354 modules/cudawarping/perf/perf_warping.cpp TEST_CYCLE() cv::cuda::rotate(d_src, dst, size, 30.0, 0, 0, interpolation); size 372 modules/cudawarping/perf/perf_warping.cpp const cv::Size size = GET_PARAM(0); size 378 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); size 408 modules/cudawarping/perf/perf_warping.cpp const cv::Size size = GET_PARAM(0); size 414 modules/cudawarping/perf/perf_warping.cpp cv::Mat src(size, type); size 82 modules/cudawarping/src/remap.cpp CV_Assert( xmap.type() == CV_32F && ymap.type() == CV_32F && xmap.size() == ymap.size() ); size 90 modules/cudawarping/src/remap.cpp _dst.create(xmap.size(), src.type()); size 89 modules/cudawarping/src/resize.cpp if (dsize == src.size()) size 55 modules/cudawarping/test/test_pyramids.cpp cv::Size size; size 62 modules/cudawarping/test/test_pyramids.cpp size = GET_PARAM(1); size 72 modules/cudawarping/test/test_pyramids.cpp cv::Mat src = randomMat(size, type); size 74 modules/cudawarping/test/test_pyramids.cpp cv::cuda::GpuMat dst = createMat(cv::Size((size.width + 1) / 2, (size.height + 1) / 2), type, useRoi); size 95 modules/cudawarping/test/test_pyramids.cpp cv::Size size; size 102 modules/cudawarping/test/test_pyramids.cpp size = GET_PARAM(1); size 112 modules/cudawarping/test/test_pyramids.cpp cv::Mat src = randomMat(size, type); size 114 modules/cudawarping/test/test_pyramids.cpp cv::cuda::GpuMat dst = createMat(cv::Size(size.width * 2, size.height * 2), type, useRoi); size 58 modules/cudawarping/test/test_remap.cpp cv::Size dsize = xmap.size(); size 118 modules/cudawarping/test/test_remap.cpp cv::Size size; size 130 modules/cudawarping/test/test_remap.cpp size = GET_PARAM(1); size 141 modules/cudawarping/test/test_remap.cpp static double M[2][3] = { {std::cos(aplha), -std::sin(aplha), size.width / 2.0}, size 144 modules/cudawarping/test/test_remap.cpp xmap.create(size, CV_32FC1); size 145 modules/cudawarping/test/test_remap.cpp ymap.create(size, CV_32FC1); size 147 modules/cudawarping/test/test_remap.cpp for (int y = 0; y < size.height; ++y) size 149 modules/cudawarping/test/test_remap.cpp for (int x = 0; x < size.width; ++x) size 160 modules/cudawarping/test/test_remap.cpp cv::Mat src = randomMat(size, type); size 163 modules/cudawarping/test/test_remap.cpp cv::cuda::GpuMat dst = createMat(xmap.size(), type, useRoi); size 123 modules/cudawarping/test/test_resize.cpp cv::Size size; size 132 modules/cudawarping/test/test_resize.cpp size = GET_PARAM(1); size 144 modules/cudawarping/test/test_resize.cpp cv::Mat src = randomMat(size, type); size 168 modules/cudawarping/test/test_resize.cpp cv::Size size; size 177 modules/cudawarping/test/test_resize.cpp size = GET_PARAM(1); size 190 modules/cudawarping/test/test_resize.cpp cv::Mat src = randomMat(size, type); size 68 modules/cudawarping/test/test_warp_affine.cpp cv::Size size; size 74 modules/cudawarping/test/test_warp_affine.cpp size = GET_PARAM(1); size 83 modules/cudawarping/test/test_warp_affine.cpp cv::Mat M = createTransfomMatrix(size, CV_PI / 4); size 87 modules/cudawarping/test/test_warp_affine.cpp cv::cuda::buildWarpAffineMaps(M, inverse, size, xmap, ymap); size 99 modules/cudawarping/test/test_warp_affine.cpp cv::warpAffine(src, dst_gold, M, size, flags, borderMode); size 186 modules/cudawarping/test/test_warp_affine.cpp cv::Size size; size 196 modules/cudawarping/test/test_warp_affine.cpp size = GET_PARAM(1); size 209 modules/cudawarping/test/test_warp_affine.cpp cv::Mat src = randomMat(size, type); size 210 modules/cudawarping/test/test_warp_affine.cpp cv::Mat M = createTransfomMatrix(size, CV_PI / 3); size 216 modules/cudawarping/test/test_warp_affine.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 217 modules/cudawarping/test/test_warp_affine.cpp cv::cuda::warpAffine(loadMat(src, useRoi), dst, M, size, flags, borderType, val); size 220 modules/cudawarping/test/test_warp_affine.cpp warpAffineGold(src, M, inverse, size, dst_gold, interpolation, borderType, val); size 260 modules/cudawarping/test/test_warp_affine.cpp cv::Mat M = createTransfomMatrix(src.size(), CV_PI / 4); size 266 modules/cudawarping/test/test_warp_affine.cpp cv::cuda::warpAffine(loadMat(src), dst, M, src.size(), flags); size 269 modules/cudawarping/test/test_warp_affine.cpp warpAffineGold(src, M, inverse, src.size(), dst_gold, interpolation, cv::BORDER_CONSTANT, cv::Scalar::all(0)); size 69 modules/cudawarping/test/test_warp_perspective.cpp cv::Size size; size 75 modules/cudawarping/test/test_warp_perspective.cpp size = GET_PARAM(1); size 84 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat M = createTransfomMatrix(size, CV_PI / 4); size 87 modules/cudawarping/test/test_warp_perspective.cpp cv::cuda::buildWarpPerspectiveMaps(M, inverse, size, xmap, ymap); size 100 modules/cudawarping/test/test_warp_perspective.cpp cv::warpPerspective(src, dst_gold, M, size, flags, borderMode); size 189 modules/cudawarping/test/test_warp_perspective.cpp cv::Size size; size 199 modules/cudawarping/test/test_warp_perspective.cpp size = GET_PARAM(1); size 212 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat src = randomMat(size, type); size 213 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat M = createTransfomMatrix(size, CV_PI / 3); size 219 modules/cudawarping/test/test_warp_perspective.cpp cv::cuda::GpuMat dst = createMat(size, type, useRoi); size 220 modules/cudawarping/test/test_warp_perspective.cpp cv::cuda::warpPerspective(loadMat(src, useRoi), dst, M, size, flags, borderType, val); size 223 modules/cudawarping/test/test_warp_perspective.cpp warpPerspectiveGold(src, M, inverse, size, dst_gold, interpolation, borderType, val); size 263 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat M = createTransfomMatrix(src.size(), CV_PI / 4); size 269 modules/cudawarping/test/test_warp_perspective.cpp cv::cuda::warpPerspective(loadMat(src), dst, M, src.size(), flags); size 272 modules/cudawarping/test/test_warp_perspective.cpp warpPerspectiveGold(src, M, inverse, src.size(), dst_gold, interpolation, cv::BORDER_CONSTANT, cv::Scalar::all(0)); size 293 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __host__ static bool isAligned(const T* ptr, size_t size) size 295 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp return reinterpret_cast<size_t>(ptr) % size == 0; size 298 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp __host__ static bool isAligned(size_t step, size_t size) size 300 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp return step % size == 0; size 695 modules/features2d/include/opencv2/features2d.hpp ResultType operator()( const T* a, const T* b, int size ) const size 697 modules/features2d/include/opencv2/features2d.hpp return normL2Sqr<ValueType, ResultType>(a, b, size); size 711 modules/features2d/include/opencv2/features2d.hpp ResultType operator()( const T* a, const T* b, int size ) const size 713 modules/features2d/include/opencv2/features2d.hpp return (ResultType)std::sqrt((double)normL2Sqr<ValueType, ResultType>(a, b, size)); size 727 modules/features2d/include/opencv2/features2d.hpp ResultType operator()( const T* a, const T* b, int size ) const size 729 modules/features2d/include/opencv2/features2d.hpp return normL1<ValueType, ResultType>(a, b, size); size 932 modules/features2d/include/opencv2/features2d.hpp int size() const; size 1188 modules/features2d/include/opencv2/features2d.hpp int size; size 27 modules/features2d/misc/java/src/cpp/features2d_converters.cpp int count = (int)v_kp.size(); size 32 modules/features2d/misc/java/src/cpp/features2d_converters.cpp mat.at< Vec<float, 7> >(i, 0) = Vec<float, 7>(kp.pt.x, kp.pt.y, kp.size, kp.angle, kp.response, (float)kp.octave, (float)kp.class_id); size 53 modules/features2d/misc/java/src/cpp/features2d_converters.cpp int count = (int)v_dm.size(); size 67 modules/features2d/misc/java/src/cpp/features2d_converters.cpp for(size_t i=0; i<vm.size(); i++) size 78 modules/features2d/misc/java/src/cpp/features2d_converters.cpp vm.reserve( vv_kp.size() ); size 79 modules/features2d/misc/java/src/cpp/features2d_converters.cpp for(size_t i=0; i<vv_kp.size(); i++) size 93 modules/features2d/misc/java/src/cpp/features2d_converters.cpp for(size_t i=0; i<vm.size(); i++) size 104 modules/features2d/misc/java/src/cpp/features2d_converters.cpp vm.reserve( vv_dm.size() ); size 105 modules/features2d/misc/java/src/cpp/features2d_converters.cpp for(size_t i=0; i<vv_dm.size(); i++) size 120 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java assertEquals(1, descriptors.size()); size 148 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java assertEquals(1, descriptors.size()); size 181 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java assertEquals(query.rows(), matches.size()); size 182 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java for(int i = 0; i<matches.size(); i++) size 104 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java assertEquals(1, descriptors.size()); size 132 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java assertEquals(1, descriptors.size()); size 215 modules/features2d/misc/java/test/BruteForceHammingDescriptorMatcherTest.java assertEquals(matches.size(), 4); size 103 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java assertEquals(1, descriptors.size()); size 131 modules/features2d/misc/java/test/BruteForceHammingLUTDescriptorMatcherTest.java assertEquals(1, descriptors.size()); size 120 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java assertEquals(1, descriptors.size()); size 148 modules/features2d/misc/java/test/BruteForceL1DescriptorMatcherTest.java assertEquals(1, descriptors.size()); size 125 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java assertEquals(1, descriptors.size()); size 153 modules/features2d/misc/java/test/BruteForceSL2DescriptorMatcherTest.java assertEquals(1, descriptors.size()); size 219 modules/features2d/misc/java/test/FlannBasedDescriptorMatcherTest.java assertEquals(1, descriptors.size()); size 85 modules/features2d/misc/java/test/SURFFeatureDetectorTest.java assertEquals(3, keypoints.size()); size 7564 modules/features2d/src/agast.cpp size_t num_Corners = keypoints.size(); size 7663 modules/features2d/src/agast.cpp for (j = keypoints.size(); j > 0; j--) size 47 modules/features2d/src/bagofwords.cpp BOWTrainer::BOWTrainer() : size(0) size 60 modules/features2d/src/bagofwords.cpp size += _descriptors.rows; size 64 modules/features2d/src/bagofwords.cpp size = _descriptors.rows; size 77 modules/features2d/src/bagofwords.cpp return descriptors.empty() ? 0 : size; size 95 modules/features2d/src/bagofwords.cpp for( size_t i = 0; i < descriptors.size(); i++ ) size 99 modules/features2d/src/bagofwords.cpp for( size_t i = 0, start = 0; i < descriptors.size(); i++ ) size 196 modules/features2d/src/bagofwords.cpp for( size_t i = 0; i < matches.size(); i++ ) size 208 modules/features2d/src/bagofwords.cpp imgDescriptor /= keypointDescriptors.size().height; size 210 modules/features2d/src/blobdetector.cpp for (size_t contourIdx = 0; contourIdx < contours.size(); contourIdx++) size 282 modules/features2d/src/blobdetector.cpp for (size_t pointIdx = 0; pointIdx < contours[contourIdx].size(); pointIdx++) size 288 modules/features2d/src/blobdetector.cpp center.radius = (dists[(dists.size() - 1) / 2] + dists[dists.size() / 2]) / 2.; size 323 modules/features2d/src/blobdetector.cpp for (size_t i = 0; i < curCenters.size(); i++) size 326 modules/features2d/src/blobdetector.cpp for (size_t j = 0; j < centers.size(); j++) size 328 modules/features2d/src/blobdetector.cpp double dist = norm(centers[j][ centers[j].size() / 2 ].location - curCenters[i].location); size 329 modules/features2d/src/blobdetector.cpp isNew = dist >= params.minDistBetweenBlobs && dist >= centers[j][ centers[j].size() / 2 ].radius && dist >= curCenters[i].radius; size 334 modules/features2d/src/blobdetector.cpp size_t k = centers[j].size() - 1; size 351 modules/features2d/src/blobdetector.cpp for (size_t i = 0; i < centers.size(); i++) size 353 modules/features2d/src/blobdetector.cpp if (centers[i].size() < params.minRepeatability) size 357 modules/features2d/src/blobdetector.cpp for (size_t j = 0; j < centers[i].size(); j++) size 363 modules/features2d/src/blobdetector.cpp KeyPoint kpt(sumPoint, (float)(centers[i][centers[i].size() / 2].radius) * 2.0f); size 333 modules/features2d/src/brisk.cpp const int rings = (int)radiusList.size(); size 334 modules/features2d/src/brisk.cpp CV_Assert(radiusList.size() != 0 && radiusList.size() == numberList.size()); size 382 modules/features2d/src/brisk.cpp const unsigned int size = cvCeil(((scaleList_[scale] * radiusList[ring]) + patternIterator->sigma)) + 1; size 383 modules/features2d/src/brisk.cpp if (sizeList_[scale] < size) size 385 modules/features2d/src/brisk.cpp sizeList_[scale] = size; size 402 modules/features2d/src/brisk.cpp unsigned int indSize = (unsigned int)indexChange.size(); size 406 modules/features2d/src/brisk.cpp indSize = (unsigned int)indexChange.size(); size 645 modules/features2d/src/brisk.cpp size_t ksize = keypoints.size(); size 656 modules/features2d/src/brisk.cpp scale = std::max((int) (scales_ / lb_scalerange * (std::log(keypoints[k].size / (basicSize06)) / log2) + 0.5), 0); size 886 modules/features2d/src/brisk.cpp const size_t num = agastPoints[0].size(); size 920 modules/features2d/src/brisk.cpp const size_t num = agastPoints[i].size(); size 1213 modules/features2d/src/brisk.cpp const unsigned int deltasize = (unsigned int)delta.size(); size 2111 modules/features2d/src/brisk.cpp const size_t num = keypoints.size(); size 2296 modules/features2d/src/brisk.cpp resize(srcimg, dstimg, dstimg.size(), 0, 0, INTER_AREA); size 2306 modules/features2d/src/brisk.cpp resize(srcimg, dstimg, dstimg.size(), 0, 0, INTER_AREA); size 60 modules/features2d/src/draw.cpp int radius = cvRound(p.size/2 * draw_multiplier); // KeyPoint::size is a diameter size 129 modules/features2d/src/draw.cpp Size img1size = img1.size(), img2size = img2.size(); size 130 modules/features2d/src/draw.cpp Size size( img1size.width + img2size.width, MAX(img1size.height, img2size.height) ); size 134 modules/features2d/src/draw.cpp if( size.width > outImg.cols || size.height > outImg.rows ) size 141 modules/features2d/src/draw.cpp _outImg.create( size, CV_MAKETYPE(img1.depth(), 3) ); size 181 modules/features2d/src/draw.cpp dpt2 = Point2f( std::min(pt2.x+outImg1.size().width, float(outImg.size().width-1)), pt2.y ); size 195 modules/features2d/src/draw.cpp if( !matchesMask.empty() && matchesMask.size() != matches1to2.size() ) size 203 modules/features2d/src/draw.cpp for( size_t m = 0; m < matches1to2.size(); m++ ) size 209 modules/features2d/src/draw.cpp CV_Assert(i1 >= 0 && i1 < static_cast<int>(keypoints1.size())); size 210 modules/features2d/src/draw.cpp CV_Assert(i2 >= 0 && i2 < static_cast<int>(keypoints2.size())); size 224 modules/features2d/src/draw.cpp if( !matchesMask.empty() && matchesMask.size() != matches1to2.size() ) size 232 modules/features2d/src/draw.cpp for( size_t i = 0; i < matches1to2.size(); i++ ) size 234 modules/features2d/src/draw.cpp for( size_t j = 0; j < matches1to2[i].size(); j++ ) size 184 modules/features2d/src/evaluation.cpp dst.resize(src.size()); size 185 modules/features2d/src/evaluation.cpp for( size_t i = 0; i < src.size(); i++ ) size 187 modules/features2d/src/evaluation.cpp float rad = src[i].size/2; size 199 modules/features2d/src/evaluation.cpp dst.resize(src.size()); size 200 modules/features2d/src/evaluation.cpp for( size_t i = 0; i < src.size(); i++ ) size 214 modules/features2d/src/evaluation.cpp dst.resize(src.size()); size 227 modules/features2d/src/evaluation.cpp filtered.reserve(keypoints.size()); size 326 modules/features2d/src/evaluation.cpp overlaps.reserve(cvRound(keypoints1.size() * keypoints2t.size() * 0.01)); size 328 modules/features2d/src/evaluation.cpp for( size_t i1 = 0; i1 < keypoints1.size(); i1++ ) size 341 modules/features2d/src/evaluation.cpp for( size_t i2 = 0; i2 < keypoints2t.size(); i2++ ) size 412 modules/features2d/src/evaluation.cpp Size sz1 = img1.size(), sz2 = img2.size(); size 422 modules/features2d/src/evaluation.cpp thresholdedOverlapMask->create( (int)keypoints1.size(), (int)keypoints2t.size(), CV_8UC1 ); size 425 modules/features2d/src/evaluation.cpp size_t size1 = keypoints1.size(), size2 = keypoints2t.size(); size 440 modules/features2d/src/evaluation.cpp correspondencesCount = (int)overlaps.size(); size 445 modules/features2d/src/evaluation.cpp for( size_t i = 0; i < overlaps.size(); i++ ) size 495 modules/features2d/src/evaluation.cpp CV_Assert( matches1to2.size() == correctMatches1to2Mask.size() ); size 499 modules/features2d/src/evaluation.cpp for( size_t i = 0; i < matches1to2.size(); i++ ) size 501 modules/features2d/src/evaluation.cpp for( size_t j = 0; j < matches1to2[i].size(); j++ ) size 513 modules/features2d/src/evaluation.cpp recallPrecisionCurve.resize( allMatches.size() ); size 514 modules/features2d/src/evaluation.cpp for( size_t i = 0; i < allMatches.size(); i++ ) size 546 modules/features2d/src/evaluation.cpp for( size_t i = 0; i < recallPrecisionCurve.size(); i++ ) size 79 modules/features2d/src/feature2d.cpp size_t i, nimages = images.size(); size 84 modules/features2d/src/feature2d.cpp CV_Assert(masks.size() == nimages); size 123 modules/features2d/src/feature2d.cpp size_t i, nimages = images.size(); size 125 modules/features2d/src/feature2d.cpp CV_Assert( keypoints.size() == nimages ); size 101 modules/features2d/src/gftt.cpp keypoints.resize(corners.size()); size 82 modules/features2d/src/kaze/AKAZEFeatures.cpp for (size_t i = 1; i < evolution_.size(); i++) { size 102 modules/features2d/src/kaze/AKAZEFeatures.cpp CV_Assert(evolution_.size() > 0); size 117 modules/features2d/src/kaze/AKAZEFeatures.cpp for (size_t i = 1; i < evolution_.size(); i++) { size 222 modules/features2d/src/kaze/AKAZEFeatures.cpp parallel_for_(Range(0, (int)evolution_.size()), size 236 modules/features2d/src/kaze/AKAZEFeatures.cpp for (size_t i = 0; i < evolution_.size(); i++) size 275 modules/features2d/src/kaze/AKAZEFeatures.cpp for (size_t i = 0; i < evolution_.size(); i++) { size 300 modules/features2d/src/kaze/AKAZEFeatures.cpp point.size = evolution_[i].esigma*options_.derivative_factor; size 304 modules/features2d/src/kaze/AKAZEFeatures.cpp sigma_size_ = fRound(point.size / ratio); size 309 modules/features2d/src/kaze/AKAZEFeatures.cpp for (size_t ik = 0; ik < kpts_aux.size(); ik++) { size 316 modules/features2d/src/kaze/AKAZEFeatures.cpp if (dist <= point.size * point.size) { size 365 modules/features2d/src/kaze/AKAZEFeatures.cpp for (size_t i = 0; i < kpts_aux.size(); i++) { size 369 modules/features2d/src/kaze/AKAZEFeatures.cpp for (size_t j = i + 1; j < kpts_aux.size(); j++) { size 376 modules/features2d/src/kaze/AKAZEFeatures.cpp if (dist <= pt.size * pt.size) { size 404 modules/features2d/src/kaze/AKAZEFeatures.cpp for (size_t i = 0; i < kpts.size(); i++) { size 447 modules/features2d/src/kaze/AKAZEFeatures.cpp kpts[i].size *= 2.0f; size 710 modules/features2d/src/kaze/AKAZEFeatures.cpp for(size_t i = 0; i < kpts.size(); i++) size 712 modules/features2d/src/kaze/AKAZEFeatures.cpp CV_Assert(0 <= kpts[i].class_id && kpts[i].class_id < static_cast<int>(evolution_.size())); size 717 modules/features2d/src/kaze/AKAZEFeatures.cpp desc = Mat::zeros((int)kpts.size(), 64, CV_32FC1); size 723 modules/features2d/src/kaze/AKAZEFeatures.cpp desc = Mat::zeros((int)kpts.size(), (int)ceil(t / 8.), CV_8UC1); size 727 modules/features2d/src/kaze/AKAZEFeatures.cpp desc = Mat::zeros((int)kpts.size(), (int)ceil(options_.descriptor_size / 8.), CV_8UC1); size 735 modules/features2d/src/kaze/AKAZEFeatures.cpp parallel_for_(Range(0, (int)kpts.size()), MSURF_Upright_Descriptor_64_Invoker(kpts, desc, evolution_)); size 740 modules/features2d/src/kaze/AKAZEFeatures.cpp parallel_for_(Range(0, (int)kpts.size()), MSURF_Descriptor_64_Invoker(kpts, desc, evolution_)); size 746 modules/features2d/src/kaze/AKAZEFeatures.cpp parallel_for_(Range(0, (int)kpts.size()), Upright_MLDB_Full_Descriptor_Invoker(kpts, desc, evolution_, options_)); size 748 modules/features2d/src/kaze/AKAZEFeatures.cpp parallel_for_(Range(0, (int)kpts.size()), Upright_MLDB_Descriptor_Subset_Invoker(kpts, desc, evolution_, options_, descriptorSamples_, descriptorBits_)); size 754 modules/features2d/src/kaze/AKAZEFeatures.cpp parallel_for_(Range(0, (int)kpts.size()), MLDB_Full_Descriptor_Invoker(kpts, desc, evolution_, options_)); size 756 modules/features2d/src/kaze/AKAZEFeatures.cpp parallel_for_(Range(0, (int)kpts.size()), MLDB_Descriptor_Subset_Invoker(kpts, desc, evolution_, options_, descriptorSamples_, descriptorBits_)); size 796 modules/features2d/src/kaze/AKAZEFeatures.cpp s = fRound(0.5f*kpt.size / ratio); size 879 modules/features2d/src/kaze/AKAZEFeatures.cpp scale = fRound(0.5f*kpt.size / ratio); size 1002 modules/features2d/src/kaze/AKAZEFeatures.cpp scale = fRound(0.5f*kpt.size / ratio); size 1123 modules/features2d/src/kaze/AKAZEFeatures.cpp scale = fRound(0.5f*kpt.size / ratio); size 1406 modules/features2d/src/kaze/AKAZEFeatures.cpp float scale = (float)fRound(0.5f*kpt.size / ratio); size 1443 modules/features2d/src/kaze/AKAZEFeatures.cpp int scale = fRound(0.5f*kpt.size / ratio); size 1537 modules/features2d/src/kaze/AKAZEFeatures.cpp int scale = fRound(0.5f*kpt.size / ratio); size 79 modules/features2d/src/kaze/KAZEFeatures.cpp for (size_t i = 1; i < evolution_.size(); i++) size 100 modules/features2d/src/kaze/KAZEFeatures.cpp CV_Assert(evolution_.size() > 0); size 115 modules/features2d/src/kaze/KAZEFeatures.cpp for (size_t i = 1; i < evolution_.size(); i++) size 163 modules/features2d/src/kaze/KAZEFeatures.cpp for (size_t i = 0; i < evolution_.size(); i++) size 228 modules/features2d/src/kaze/KAZEFeatures.cpp parallel_for_(Range(0, (int)evolution_.size()), size 284 modules/features2d/src/kaze/KAZEFeatures.cpp point.size = evolution[i].esigma; size 321 modules/features2d/src/kaze/KAZEFeatures.cpp for (size_t i = 0; i < kpts_par_.size(); i++) { size 328 modules/features2d/src/kaze/KAZEFeatures.cpp for (size_t i = 1; i < evolution_.size() - 1; i++) { size 332 modules/features2d/src/kaze/KAZEFeatures.cpp parallel_for_(Range(1, (int)evolution_.size()-1), size 336 modules/features2d/src/kaze/KAZEFeatures.cpp for (int i = 0; i < (int)kpts_par_.size(); i++) size 338 modules/features2d/src/kaze/KAZEFeatures.cpp for (int j = 0; j < (int)kpts_par_[i].size(); j++) size 346 modules/features2d/src/kaze/KAZEFeatures.cpp for (int ik = 0; ik < (int)kpts.size(); ik++) { size 366 modules/features2d/src/kaze/KAZEFeatures.cpp left_x = fRound(kpts_par_[i][j].pt.x - smax*kpts_par_[i][j].size); size 367 modules/features2d/src/kaze/KAZEFeatures.cpp right_x = fRound(kpts_par_[i][j].pt.x + smax*kpts_par_[i][j].size); size 368 modules/features2d/src/kaze/KAZEFeatures.cpp up_y = fRound(kpts_par_[i][j].pt.y - smax*kpts_par_[i][j].size); size 369 modules/features2d/src/kaze/KAZEFeatures.cpp down_y = fRound(kpts_par_[i][j].pt.y + smax*kpts_par_[i][j].size); size 409 modules/features2d/src/kaze/KAZEFeatures.cpp for (size_t i = 0; i < kpts_.size(); i++) { size 471 modules/features2d/src/kaze/KAZEFeatures.cpp kpts_[i].size = 2.0f*options_.soffset*pow((float)2.0f, dsc); size 483 modules/features2d/src/kaze/KAZEFeatures.cpp for (size_t i = 0; i < kpts_.size(); i++) { size 554 modules/features2d/src/kaze/KAZEFeatures.cpp for(size_t i = 0; i < kpts.size(); i++) size 556 modules/features2d/src/kaze/KAZEFeatures.cpp CV_Assert(0 <= kpts[i].class_id && kpts[i].class_id < static_cast<int>(evolution_.size())); size 561 modules/features2d/src/kaze/KAZEFeatures.cpp desc = Mat::zeros((int)kpts.size(), 128, CV_32FC1); size 564 modules/features2d/src/kaze/KAZEFeatures.cpp desc = Mat::zeros((int)kpts.size(), 64, CV_32FC1); size 567 modules/features2d/src/kaze/KAZEFeatures.cpp parallel_for_(Range(0, (int)kpts.size()), KAZE_Descriptor_Invoker(kpts, desc, evolution_, options_)); size 590 modules/features2d/src/kaze/KAZEFeatures.cpp s = fRound(kpt.size / 2.0f); size 620 modules/features2d/src/kaze/KAZEFeatures.cpp for (size_t k = 0; k < Ang.size(); ++k) { size 679 modules/features2d/src/kaze/KAZEFeatures.cpp scale = fRound(kpt.size / 2.0f); size 807 modules/features2d/src/kaze/KAZEFeatures.cpp scale = fRound(kpt.size / 2.0f); size 938 modules/features2d/src/kaze/KAZEFeatures.cpp scale = fRound(kpt.size / 2.0f); size 1090 modules/features2d/src/kaze/KAZEFeatures.cpp scale = fRound(kpt.size / 2.0f); size 96 modules/features2d/src/kaze/nldiffusion_functions.cpp Size sz = Lx.size(); size 123 modules/features2d/src/kaze/nldiffusion_functions.cpp Size sz = Lx.size(); size 149 modules/features2d/src/kaze/nldiffusion_functions.cpp Size sz = Lx.size(); size 182 modules/features2d/src/kaze/nldiffusion_functions.cpp Size sz = Lx.size(); size 479 modules/features2d/src/kaze/nldiffusion_functions.cpp resize(src, dst, dst.size(), 0, 0, cv::INTER_AREA); size 72 modules/features2d/src/keypoint.cpp if( n_points >= 0 && keypoints.size() > (size_t)n_points ) size 126 modules/features2d/src/keypoint.cpp float size = keyPt.size; size 127 modules/features2d/src/keypoint.cpp return (size < minSize) || (size > maxSize); size 176 modules/features2d/src/keypoint.cpp if( kp1.size != kp2.size ) size 177 modules/features2d/src/keypoint.cpp return kp1.size > kp2.size; size 194 modules/features2d/src/keypoint.cpp int i, j, n = (int)keypoints.size(); size 206 modules/features2d/src/keypoint.cpp kp1.size != kp2.size || kp1.angle != kp2.angle ) size 100 modules/features2d/src/matchers.cpp size_t globalSize[] = {(query.size().height + block_size - 1) / block_size * block_size, block_size}; size 224 modules/features2d/src/matchers.cpp if(distance.size() != trainIdx.size()) return false; size 337 modules/features2d/src/matchers.cpp (distance.type() != CV_32FC1 || distance.size() != trainIdx.size()) || size 413 modules/features2d/src/matchers.cpp size_t imageCount = descriptors.size(); size 466 modules/features2d/src/matchers.cpp CV_Assert( imgIdx < (int)startIdxs.size() ); size 468 modules/features2d/src/matchers.cpp CV_Assert( globalIdx < (int)size() ); size 480 modules/features2d/src/matchers.cpp CV_Assert( globalDescIdx < size() ); size 486 modules/features2d/src/matchers.cpp CV_Assert( (globalDescIdx>=0) && (globalDescIdx < size()) ); size 504 modules/features2d/src/matchers.cpp matches.reserve( knnMatches.size() ); size 505 modules/features2d/src/matchers.cpp for( size_t i = 0; i < knnMatches.size(); i++ ) size 507 modules/features2d/src/matchers.cpp CV_Assert( knnMatches[i].size() <= 1 ); size 604 modules/features2d/src/matchers.cpp size_t imageCount = std::max(trainDescCollection.size(), utrainDescCollection.size() ); size 605 modules/features2d/src/matchers.cpp CV_Assert( masks.size() == imageCount ); size 627 modules/features2d/src/matchers.cpp checkMasks( masks, queryDescriptors.size().height ); size 642 modules/features2d/src/matchers.cpp checkMasks( masks, queryDescriptors.size().height ); size 666 modules/features2d/src/matchers.cpp for( size_t i = 0; i < masks.size(); i++ ) size 672 modules/features2d/src/matchers.cpp return !masks.empty() && outCount == masks.size() ; size 689 modules/features2d/src/matchers.cpp matcher->trainDescCollection.resize(trainDescCollection.size()); size 738 modules/features2d/src/matchers.cpp for(int i = 0; i < (int)utrainDescCollection.size(); i++) size 747 modules/features2d/src/matchers.cpp int trainDescVectorSize = trainDescCollection.empty() ? (int)utrainDescCollection.size() : (int)trainDescCollection.size(); size 748 modules/features2d/src/matchers.cpp Size trainDescSize = trainDescCollection.empty() ? utrainDescCollection[0].size() : trainDescCollection[0].size(); size 753 modules/features2d/src/matchers.cpp trainDescSize.width == _queryDescriptors.size().width && masks.size() == 1 && masks[0].total() == 0 ) size 798 modules/features2d/src/matchers.cpp for(int i = 0; i < (int)utrainDescCollection.size(); i++) size 811 modules/features2d/src/matchers.cpp int iIdx, imgCount = (int)trainDescCollection.size(), update = 0; size 882 modules/features2d/src/matchers.cpp for(int i = 0; i < (int)utrainDescCollection.size(); i++) size 891 modules/features2d/src/matchers.cpp int trainDescVectorSize = trainDescCollection.empty() ? (int)utrainDescCollection.size() : (int)trainDescCollection.size(); size 892 modules/features2d/src/matchers.cpp Size trainDescSize = trainDescCollection.empty() ? utrainDescCollection[0].size() : trainDescCollection[0].size(); size 897 modules/features2d/src/matchers.cpp trainDescSize.width == _queryDescriptors.size().width && masks.size() == 1 && masks[0].total() == 0 ) size 920 modules/features2d/src/matchers.cpp for(int i = 0; i < (int)utrainDescCollection.size(); i++) size 932 modules/features2d/src/matchers.cpp int iIdx, imgCount = (int)trainDescCollection.size(); size 1028 modules/features2d/src/matchers.cpp for( size_t i = 0; i < descriptors.size(); i++ ) size 1046 modules/features2d/src/matchers.cpp if( !flannIndex || mergedDescriptors.size() < addedDescCount ) size 1051 modules/features2d/src/matchers.cpp CV_Assert(trainDescCollection.size() == 0); size 1052 modules/features2d/src/matchers.cpp for (size_t i = 0; i < utrainDescCollection.size(); ++i) size 1068 modules/features2d/src/matchers.cpp for(int i = 0; i < (int)ip.size(); ++i) size 1107 modules/features2d/src/matchers.cpp for(int i = 0; i < (int)sp.size(); ++i) size 1156 modules/features2d/src/matchers.cpp for(size_t i = 0; i < names.size(); ++i) size 1207 modules/features2d/src/matchers.cpp for(size_t i = 0; i < names.size(); ++i) size 1309 modules/features2d/src/matchers.cpp const int count = mergedDescriptors.size(); // TODO do count as param? size 139 modules/features2d/src/mser.cpp val = size = 0; size 152 modules/features2d/src/mser.cpp if( size >= wp.p.minArea ) size 167 modules/features2d/src/mser.cpp CompHistory* h0 = this, *h1 = h1_ && h1_->size > size ? h1_ : this; size 190 modules/features2d/src/mser.cpp var = (float)(h1->size - h0->size)/size; size 203 modules/features2d/src/mser.cpp if( size < wp.p.minArea || size > wp.p.maxArea || var < 0.f || var > wp.p.maxVariation ) size 219 modules/features2d/src/mser.cpp region.resize(size); size 223 modules/features2d/src/mser.cpp for( PPixel pix = head; j < size; j++, pix = pix0[pix].getNext() ) size 243 modules/features2d/src/mser.cpp int size; size 260 modules/features2d/src/mser.cpp size = 0; size 270 modules/features2d/src/mser.cpp if( !history || (history->size != size && size > 0 && size 280 modules/features2d/src/mser.cpp h->size = size; size 286 modules/features2d/src/mser.cpp if( h->size >= wp.p.minArea ) size 305 modules/features2d/src/mser.cpp if( comp1->size < comp2->size ) size 308 modules/features2d/src/mser.cpp if( comp2->size == 0 ) size 313 modules/features2d/src/mser.cpp size = comp1->size; size 327 modules/features2d/src/mser.cpp size = comp1->size + comp2->size; size 328 modules/features2d/src/mser.cpp bool keep_2nd = h2->size > wp.p.minArea; size 341 modules/features2d/src/mser.cpp int size; size 403 modules/features2d/src/mser.cpp Size size, const int* level_size, int mask ) size 406 modules/features2d/src/mser.cpp int step = size.width; size 477 modules/features2d/src/mser.cpp comptr->size++; size 653 modules/features2d/src/mser.cpp int size; size 671 modules/features2d/src/mser.cpp int size, sizei; size 695 modules/features2d/src/mser.cpp node->sizei = node->size = 1; size 886 modules/features2d/src/mser.cpp if ( x->size <= params.minArea || x->size >= params.maxArea ) size 890 modules/features2d/src/mser.cpp double div = (double)(x->size-x->gmsr->size)/(double)x->size; size 936 modules/features2d/src/mser.cpp if ( lr->size > rr->size ) size 944 modules/features2d/src/mser.cpp lr->size += rr->size; size 951 modules/features2d/src/mser.cpp if ( lr->size > (lr->size-rr->size)*params.areaThreshold ) size 953 modules/features2d/src/mser.cpp lr->sizei = lr->size; size 966 modules/features2d/src/mser.cpp double s = (double)(lr->size-lr->sizei)/(lr->dt-lr->di); size 977 modules/features2d/src/mser.cpp lr->tmsr->size = lr->size; size 1000 modules/features2d/src/mser.cpp for ( int i = 0; i < ptr->size; i++ ) size 1031 modules/features2d/src/mser.cpp Size size = src.size(); size 1045 modules/features2d/src/mser.cpp pass( src, msers, bboxes, size, level_size, 0 ); size 1048 modules/features2d/src/mser.cpp pass( src, msers, bboxes, size, level_size, 255 ); size 1064 modules/features2d/src/mser.cpp int i, ncomps = (int)msers.size(); size 1072 modules/features2d/src/mser.cpp float diam = std::sqrt(rect.size.height*rect.size.width); size 57 modules/features2d/src/orb.cpp Mat(1, (int)(v.size()*sizeof(v[0])), CV_8U, (void*)&v[0]).copyTo(um); size 135 modules/features2d/src/orb.cpp size_t ptidx, ptsize = pts.size(); size 179 modules/features2d/src/orb.cpp size_t ptidx, ptsize = pts.size(); size 219 modules/features2d/src/orb.cpp int j, i, nkeypoints = (int)keypoints.size(); size 731 modules/features2d/src/orb.cpp size_t i, n = src.size(); size 732 modules/features2d/src/orb.cpp buf.resize(std::max(buf.size(), n)); size 749 modules/features2d/src/orb.cpp size_t i, n = src.size(); size 750 modules/features2d/src/orb.cpp buf.resize(std::max(buf.size(), n)); size 779 modules/features2d/src/orb.cpp int i, nkeypoints, level, nlevels = (int)layerInfo.size(); size 834 modules/features2d/src/orb.cpp KeyPointsFilter::runByImageBorder(keypoints, img.size(), edgeThreshold); size 839 modules/features2d/src/orb.cpp nkeypoints = (int)keypoints.size(); size 846 modules/features2d/src/orb.cpp keypoints[i].size = patchSize*sf; size 854 modules/features2d/src/orb.cpp nkeypoints = (int)allKeypoints.size(); size 904 modules/features2d/src/orb.cpp nkeypoints = (int)allKeypoints.size(); size 968 modules/features2d/src/orb.cpp int i, level, nLevels = this->nlevels, nkeypoints = (int)keypoints.size(); size 1089 modules/features2d/src/orb.cpp KeyPointsFilter::runByImageBorder(keypoints, image.size(), edgeThreshold); size 1094 modules/features2d/src/orb.cpp nkeypoints = (int)keypoints.size(); size 1111 modules/features2d/src/orb.cpp nkeypoints = (int)keypoints.size(); size 125 modules/features2d/test/ocl/test_brute_force_matcher.cpp ASSERT_EQ(static_cast<size_t>(queryDescCount), matches.size()); size 128 modules/features2d/test/ocl/test_brute_force_matcher.cpp for (size_t i = 0; i < matches.size(); i++) size 151 modules/features2d/test/ocl/test_brute_force_matcher.cpp ASSERT_EQ(static_cast<size_t>(queryDescCount), matches.size()); size 154 modules/features2d/test/ocl/test_brute_force_matcher.cpp for (size_t i = 0; i < matches.size(); i++) size 156 modules/features2d/test/ocl/test_brute_force_matcher.cpp if ((int)matches[i].size() != knn) size 187 modules/features2d/test/ocl/test_brute_force_matcher.cpp ASSERT_EQ(static_cast<size_t>(queryDescCount), matches.size()); size 190 modules/features2d/test/ocl/test_brute_force_matcher.cpp for (size_t i = 0; i < matches.size(); i++) size 192 modules/features2d/test/ocl/test_brute_force_matcher.cpp if ((int)matches[i].size() != 1) size 82 modules/features2d/test/test_agast.cpp for(size_t i = 0; i < keypoints1.size(); ++i) size 85 modules/features2d/test/test_agast.cpp cv::circle(image1, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); size 88 modules/features2d/test/test_agast.cpp for(size_t i = 0; i < keypoints2.size(); ++i) size 91 modules/features2d/test/test_agast.cpp cv::circle(image2, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); size 94 modules/features2d/test/test_agast.cpp Mat kps1(1, (int)(keypoints1.size() * sizeof(KeyPoint)), CV_8U, &keypoints1[0]); size 95 modules/features2d/test/test_agast.cpp Mat kps2(1, (int)(keypoints2.size() * sizeof(KeyPoint)), CV_8U, &keypoints2[0]); size 122 modules/features2d/test/test_agast.cpp if ( exp_kps1.size != kps1.size || 0 != cvtest::norm(exp_kps1, kps1, NORM_L2) || size 123 modules/features2d/test/test_agast.cpp exp_kps2.size != kps2.size || 0 != cvtest::norm(exp_kps2, kps2, NORM_L2)) size 82 modules/features2d/test/test_brisk.cpp for(size_t i = 0; i < keypoints1.size(); ++i) size 88 modules/features2d/test/test_brisk.cpp for(size_t i = 0; i < keypoints2.size(); ++i) size 115 modules/features2d/test/test_descriptors_regression.cpp if( validDescriptors.size != calcDescriptors.size || validDescriptors.type() != calcDescriptors.type() ) size 218 modules/features2d/test/test_descriptors_regression.cpp if( calcDescriptors.rows != (int)keypoints.size() ) size 221 modules/features2d/test/test_descriptors_regression.cpp ts->printf( cvtest::TS::LOG, "Count of keypoints is %d.\n", (int)keypoints.size() ); size 369 modules/features2d/test/test_descriptors_regression.cpp ASSERT_EQ((int)keypoints.size(), n); size 370 modules/features2d/test/test_descriptors_regression.cpp ASSERT_EQ((int)descriptors.size(), n); size 374 modules/features2d/test/test_descriptors_regression.cpp EXPECT_GT((int)keypoints[i].size(), 100); size 390 modules/features2d/test/test_descriptors_regression.cpp size_t i, n = fnames.size(); size 405 modules/features2d/test/test_descriptors_regression.cpp printf("(%d keypoints) ", (int)keypoints.size()); fflush(stdout); size 408 modules/features2d/test/test_descriptors_regression.cpp EXPECT_GT((int)keypoints.size(), 0); size 410 modules/features2d/test/test_descriptors_regression.cpp ASSERT_EQ(descriptors.rows, (int)keypoints.size()); size 415 modules/features2d/test/test_descriptors_regression.cpp printf("(%d keypoints) ", (int)keypoints.size()); fflush(stdout); size 418 modules/features2d/test/test_descriptors_regression.cpp EXPECT_GT((int)keypoints.size(), 0); size 420 modules/features2d/test/test_descriptors_regression.cpp ASSERT_EQ(descriptors.rows, (int)keypoints.size()); size 425 modules/features2d/test/test_descriptors_regression.cpp printf("(%d keypoints) ", (int)keypoints.size()); fflush(stdout); size 428 modules/features2d/test/test_descriptors_regression.cpp EXPECT_GT((int)keypoints.size(), 0); size 430 modules/features2d/test/test_descriptors_regression.cpp ASSERT_EQ(descriptors.rows, (int)keypoints.size()); size 435 modules/features2d/test/test_descriptors_regression.cpp printf("(%d keypoints) ", (int)keypoints.size()); fflush(stdout); size 438 modules/features2d/test/test_descriptors_regression.cpp EXPECT_GT((int)keypoints.size(), 0); size 440 modules/features2d/test/test_descriptors_regression.cpp ASSERT_EQ(descriptors.rows, (int)keypoints.size()); size 120 modules/features2d/test/test_detectors_regression.cpp fabs(p1.size - p2.size) < maxSizeDif && size 132 modules/features2d/test/test_detectors_regression.cpp float countRatio = (float)validKeypoints.size() / (float)calcKeypoints.size(); size 136 modules/features2d/test/test_detectors_regression.cpp validKeypoints.size(), calcKeypoints.size() ); size 141 modules/features2d/test/test_detectors_regression.cpp int progress = 0, progressCount = (int)(validKeypoints.size() * calcKeypoints.size()); size 142 modules/features2d/test/test_detectors_regression.cpp int badPointCount = 0, commonPointCount = max((int)validKeypoints.size(), (int)calcKeypoints.size()); size 143 modules/features2d/test/test_detectors_regression.cpp for( size_t v = 0; v < validKeypoints.size(); v++ ) size 148 modules/features2d/test/test_detectors_regression.cpp for( size_t c = 0; c < calcKeypoints.size(); c++ ) size 150 modules/features2d/test/test_detectors_regression.cpp progress = update_progress( progress, (int)(v*calcKeypoints.size() + c), progressCount, 0 ); size 164 modules/features2d/test/test_detectors_regression.cpp badPointCount, validKeypoints.size(), calcKeypoints.size() ); size 82 modules/features2d/test/test_fast.cpp for(size_t i = 0; i < keypoints1.size(); ++i) size 85 modules/features2d/test/test_fast.cpp cv::circle(image1, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); size 88 modules/features2d/test/test_fast.cpp for(size_t i = 0; i < keypoints2.size(); ++i) size 91 modules/features2d/test/test_fast.cpp cv::circle(image2, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); size 94 modules/features2d/test/test_fast.cpp Mat kps1(1, (int)(keypoints1.size() * sizeof(KeyPoint)), CV_8U, &keypoints1[0]); size 95 modules/features2d/test/test_fast.cpp Mat kps2(1, (int)(keypoints2.size() * sizeof(KeyPoint)), CV_8U, &keypoints2[0]); size 122 modules/features2d/test/test_fast.cpp if ( exp_kps1.size != kps1.size || 0 != cvtest::norm(exp_kps1, kps1, NORM_L2) || size 123 modules/features2d/test/test_fast.cpp exp_kps2.size != kps2.size || 0 != cvtest::norm(exp_kps2, kps2, NORM_L2)) size 88 modules/features2d/test/test_keypoints.cpp for(size_t i = 0; i < keypoints.size(); i++) size 99 modules/features2d/test/test_keypoints.cpp if(kp.size <= 0.f) size 101 modules/features2d/test/test_keypoints.cpp ts->printf(cvtest::TS::LOG, "KeyPoint::size is not positive (%f).\n", kp.size); size 202 modules/features2d/test/test_matchers_algorithmic.cpp if( (int)matches.size() != queryDescCount ) size 210 modules/features2d/test/test_matchers_algorithmic.cpp for( size_t i = 0; i < matches.size(); i++ ) size 230 modules/features2d/test/test_matchers_algorithmic.cpp if( (int)matches.size() != query.rows ) size 237 modules/features2d/test/test_matchers_algorithmic.cpp for( size_t i = 0; i < matches.size(); i++ ) size 269 modules/features2d/test/test_matchers_algorithmic.cpp if( (int)matches.size() != queryDescCount ) size 277 modules/features2d/test/test_matchers_algorithmic.cpp for( size_t i = 0; i < matches.size(); i++ ) size 315 modules/features2d/test/test_matchers_algorithmic.cpp if( (int)matches.size() != queryDescCount ) size 323 modules/features2d/test/test_matchers_algorithmic.cpp for( size_t i = 0; i < matches.size(); i++ ) size 325 modules/features2d/test/test_matchers_algorithmic.cpp if( (int)matches[i].size() != knn ) size 366 modules/features2d/test/test_matchers_algorithmic.cpp if( (int)matches.size() != queryDescCount ) size 375 modules/features2d/test/test_matchers_algorithmic.cpp for( size_t i = 0; i < matches.size(); i++ ) size 377 modules/features2d/test/test_matchers_algorithmic.cpp if( (int)matches[i].size() != knn ) size 422 modules/features2d/test/test_matchers_algorithmic.cpp if( (int)matches.size() != queryDescCount ) size 430 modules/features2d/test/test_matchers_algorithmic.cpp for( size_t i = 0; i < matches.size(); i++ ) size 432 modules/features2d/test/test_matchers_algorithmic.cpp if( (int)matches[i].size() != 1 ) size 470 modules/features2d/test/test_matchers_algorithmic.cpp if( (int)matches.size() != queryDescCount ) size 479 modules/features2d/test/test_matchers_algorithmic.cpp for( size_t i = 0; i < matches.size(); i++ ) size 481 modules/features2d/test/test_matchers_algorithmic.cpp if( (int)matches[i].size() != needMatchCount ) size 59 modules/features2d/test/test_mser.cpp for( int i = 0; i < (int)msers.size(); i++ ) size 67 modules/features2d/test/test_mser.cpp size_t j, n = msers[i].size(); size 140 modules/features2d/test/test_mser.cpp int nmsers = (int)msers.size(); size 141 modules/features2d/test/test_mser.cpp ASSERT_EQ(nmsers, (int)boxes.size()); size 187 modules/features2d/test/test_nearestneighbors.cpp Mat neighbors1( neighbors.size(), CV_32SC1 ); size 210 modules/features2d/test/test_nearestneighbors.cpp Mat neighbors1( neighbors.size(), CV_32SC1 ); size 56 modules/features2d/test/test_orb.cpp Mat roi(image.size(), CV_8UC1, Scalar(0)); size 79 modules/features2d/test/test_rotation_and_scale_invariance.cpp Mat srcMask(srcImage.size(), CV_8UC1, Scalar(255)); size 97 modules/features2d/test/test_rotation_and_scale_invariance.cpp for(size_t i = 0; i < dst.size(); i++) size 109 modules/features2d/test/test_rotation_and_scale_invariance.cpp dst.resize(src.size()); size 110 modules/features2d/test/test_rotation_and_scale_invariance.cpp for(size_t i = 0; i < src.size(); i++) size 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); size 162 modules/features2d/test/test_rotation_and_scale_invariance.cpp vector<uchar> usedMask(keypoints1.size(), 0); size 163 modules/features2d/test/test_rotation_and_scale_invariance.cpp for(int i0 = 0; i0 < static_cast<int>(keypoints0.size()); i0++) size 167 modules/features2d/test/test_rotation_and_scale_invariance.cpp const float r0 = 0.5f * keypoints0[i0].size; size 168 modules/features2d/test/test_rotation_and_scale_invariance.cpp for(size_t i1 = 0; i1 < keypoints1.size(); i1++) size 173 modules/features2d/test/test_rotation_and_scale_invariance.cpp float r1 = 0.5f * keypoints1[i1].size; size 219 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(keypoints0.size() < 15) size 237 modules/features2d/test/test_rotation_and_scale_invariance.cpp for(size_t m = 0; m < matches.size(); m++) size 265 modules/features2d/test/test_rotation_and_scale_invariance.cpp float keyPointMatchesRatio = static_cast<float>(keyPointMatchesCount) / keypoints0.size(); size 332 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(keypoints0.size() < 15) size 353 modules/features2d/test/test_rotation_and_scale_invariance.cpp for(size_t m = 0; m < descMatches.size(); m++) size 357 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(calcIntersectRatio(transformed_p0.pt, 0.5f * transformed_p0.size, size 358 modules/features2d/test/test_rotation_and_scale_invariance.cpp p1.pt, 0.5f * p1.size) >= minIntersectRatio) size 364 modules/features2d/test/test_rotation_and_scale_invariance.cpp float descInliersRatio = static_cast<float>(descInliersCount) / keypoints0.size(); size 373 modules/features2d/test/test_rotation_and_scale_invariance.cpp std::cout << "descInliersRatio " << static_cast<float>(descInliersCount) / keypoints0.size() << std::endl; size 415 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(keypoints0.size() < 15) size 426 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(keypoints1.size() < 15) size 429 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(keypoints1.size() > keypoints0.size()) size 435 modules/features2d/test/test_rotation_and_scale_invariance.cpp image0.cols, image0.rows, keypoints0.size(), size 436 modules/features2d/test/test_rotation_and_scale_invariance.cpp image1.cols, image1.rows, keypoints1.size()); size 452 modules/features2d/test/test_rotation_and_scale_invariance.cpp for(size_t m = 0; m < matches.size(); m++) size 461 modules/features2d/test/test_rotation_and_scale_invariance.cpp float size0 = keypoints0[matches[m].trainIdx].size; size 462 modules/features2d/test/test_rotation_and_scale_invariance.cpp float size1 = osiKeypoints1[matches[m].queryIdx].size; size 468 modules/features2d/test/test_rotation_and_scale_invariance.cpp float keyPointMatchesRatio = static_cast<float>(keyPointMatchesCount) / keypoints1.size(); size 534 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(keypoints0.size() < 15) size 557 modules/features2d/test/test_rotation_and_scale_invariance.cpp for(size_t m = 0; m < descMatches.size(); m++) size 561 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(calcIntersectRatio(transformed_p0.pt, 0.5f * transformed_p0.size, size 562 modules/features2d/test/test_rotation_and_scale_invariance.cpp p1.pt, 0.5f * p1.size) >= minIntersectRatio) size 568 modules/features2d/test/test_rotation_and_scale_invariance.cpp float descInliersRatio = static_cast<float>(descInliersCount) / keypoints0.size(); size 577 modules/features2d/test/test_rotation_and_scale_invariance.cpp std::cout << "descInliersRatio " << static_cast<float>(descInliersCount) / keypoints0.size() << std::endl; size 229 modules/flann/include/opencv2/flann.hpp int size() const { return nnIndex->size(); } size 273 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<ElementType> m_query((ElementType*)&query[0], 1, query.size()); size 274 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<int> m_indices(&indices[0], 1, indices.size()); size 275 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<DistanceType> m_dists(&dists[0], 1, dists.size()); size 306 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<ElementType> m_query((ElementType*)&query[0], 1, query.size()); size 307 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<int> m_indices(&indices[0], 1, indices.size()); size 308 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<DistanceType> m_dists(&dists[0], 1, dists.size()); size 372 modules/flann/include/opencv2/flann.hpp int size() const size 374 modules/flann/include/opencv2/flann.hpp if (nnIndex_L1) return nnIndex_L1->size(); size 375 modules/flann/include/opencv2/flann.hpp if (nnIndex_L2) return nnIndex_L2->size(); size 440 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<ElementType> m_query((ElementType*)&query[0], 1, query.size()); size 441 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<int> m_indices(&indices[0], 1, indices.size()); size 442 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<DistanceType> m_dists(&dists[0], 1, dists.size()); size 471 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<ElementType> m_query((ElementType*)&query[0], 1, query.size()); size 472 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<int> m_indices(&indices[0], 1, indices.size()); size 473 modules/flann/include/opencv2/flann.hpp ::cvflann::Matrix<DistanceType> m_dists(&dists[0], 1, dists.size()); size 123 modules/flann/include/opencv2/flann/allocator.h void* allocateMemory(int size) size 131 modules/flann/include/opencv2/flann/allocator.h size = (size + (WORDSIZE - 1)) & ~(WORDSIZE - 1); size 136 modules/flann/include/opencv2/flann/allocator.h if (size > remaining) { size 141 modules/flann/include/opencv2/flann/allocator.h blockSize = (size + sizeof(void*) + (WORDSIZE-1) > BLOCKSIZE) ? size 142 modules/flann/include/opencv2/flann/allocator.h size + sizeof(void*) + (WORDSIZE-1) : BLOCKSIZE; size 162 modules/flann/include/opencv2/flann/allocator.h loc = (char*)loc + size; size 163 modules/flann/include/opencv2/flann/allocator.h remaining -= size; size 165 modules/flann/include/opencv2/flann/allocator.h usedMemory += size; size 182 modules/flann/include/opencv2/flann/autotuned_index.h virtual size_t size() const size 184 modules/flann/include/opencv2/flann/autotuned_index.h return bestIndex_->size(); size 331 modules/flann/include/opencv2/flann/autotuned_index.h costs.reserve(costs.size() + kmeansParamSpaceSize); size 455 modules/flann/include/opencv2/flann/autotuned_index.h for (size_t i = 0; i < costs.size(); ++i) { size 465 modules/flann/include/opencv2/flann/autotuned_index.h for (size_t i = 0; i < costs.size(); ++i) { size 112 modules/flann/include/opencv2/flann/composite_index.h size_t size() const size 114 modules/flann/include/opencv2/flann/composite_index.h return kdtree_index_->size(); size 112 modules/flann/include/opencv2/flann/dist.h ResultType operator()(Iterator1 a, Iterator2 b, size_t size, ResultType /*worst_dist*/ = -1) const size 116 modules/flann/include/opencv2/flann/dist.h for(size_t i = 0; i < size; ++i ) { size 154 modules/flann/include/opencv2/flann/dist.h ResultType operator()(Iterator1 a, Iterator2 b, size_t size, ResultType worst_dist = -1) const size 158 modules/flann/include/opencv2/flann/dist.h Iterator1 last = a + size; size 216 modules/flann/include/opencv2/flann/dist.h ResultType operator()(Iterator1 a, Iterator2 b, size_t size, ResultType worst_dist = -1) const size 220 modules/flann/include/opencv2/flann/dist.h Iterator1 last = a + size; size 280 modules/flann/include/opencv2/flann/dist.h ResultType operator()(Iterator1 a, Iterator2 b, size_t size, ResultType worst_dist = -1) const size 284 modules/flann/include/opencv2/flann/dist.h Iterator1 last = a + size; size 336 modules/flann/include/opencv2/flann/dist.h ResultType operator()(Iterator1 a, Iterator2 b, size_t size, ResultType worst_dist = -1) const size 340 modules/flann/include/opencv2/flann/dist.h Iterator1 last = a + size; size 389 modules/flann/include/opencv2/flann/dist.h ResultType operator()(const unsigned char* a, const unsigned char* b, size_t size) const size 403 modules/flann/include/opencv2/flann/dist.h for (size_t i = 0; i < size; i++) { size 425 modules/flann/include/opencv2/flann/dist.h ResultType operator()(Iterator1 a, Iterator2 b, size_t size, ResultType /*worst_dist*/ = -1) const size 431 modules/flann/include/opencv2/flann/dist.h for (size_t i = 0; i < size; i += 16) { size 448 modules/flann/include/opencv2/flann/dist.h const size_t modulo = size % sizeof(pop_t); size 451 modules/flann/include/opencv2/flann/dist.h const pop_t* a2_end = a2 + (size / sizeof(pop_t)); size 468 modules/flann/include/opencv2/flann/dist.h reinterpret_cast<const unsigned char*> (b), size * sizeof(pop_t)); size 502 modules/flann/include/opencv2/flann/dist.h ResultType operator()(Iterator1 a, Iterator2 b, size_t size, ResultType /*worst_dist*/ = -1) const size 508 modules/flann/include/opencv2/flann/dist.h size /= (sizeof(uint64_t)/sizeof(unsigned char)); size 509 modules/flann/include/opencv2/flann/dist.h for(size_t i = 0; i < size; ++i ) { size 518 modules/flann/include/opencv2/flann/dist.h size /= (sizeof(uint32_t)/sizeof(unsigned char)); size 519 modules/flann/include/opencv2/flann/dist.h for(size_t i = 0; i < size; ++i ) { size 546 modules/flann/include/opencv2/flann/dist.h ResultType operator()(Iterator1 a, Iterator2 b, size_t size, ResultType worst_dist = -1) const size 550 modules/flann/include/opencv2/flann/dist.h Iterator1 last = a + size; size 601 modules/flann/include/opencv2/flann/dist.h ResultType operator()(Iterator1 a, Iterator2 b, size_t size, ResultType /*worst_dist*/ = -1) const size 605 modules/flann/include/opencv2/flann/dist.h Iterator1 last = a + size; size 650 modules/flann/include/opencv2/flann/dist.h ResultType operator()(Iterator1 a, Iterator2 b, size_t size, ResultType worst_dist = -1) const size 654 modules/flann/include/opencv2/flann/dist.h Iterator1 last = a + size; size 704 modules/flann/include/opencv2/flann/dist.h ResultType operator()(Iterator1 a, Iterator2 b, size_t size, ResultType worst_dist = -1) const size 707 modules/flann/include/opencv2/flann/dist.h Iterator1 last = a + size; size 135 modules/flann/include/opencv2/flann/dynamic_bitset.h size_t size() const size 178 modules/flann/include/opencv2/flann/flann_base.hpp return nnIndex_->size(); size 84 modules/flann/include/opencv2/flann/heap.h int size() size 96 modules/flann/include/opencv2/flann/heap.h return size()==0; size 438 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h size_t size() const size 592 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h int size; size 683 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h node->size = indices_length; size 753 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h for (int i=0; i<node->size; ++i) { size 168 modules/flann/include/opencv2/flann/kdtree_index.h size_t size() const size 181 modules/flann/include/opencv2/flann/kdtree_single_index.h size_t size() const size 401 modules/flann/include/opencv2/flann/kmeans_index.h size_t size() const size 586 modules/flann/include/opencv2/flann/kmeans_index.h int size; size 716 modules/flann/include/opencv2/flann/kmeans_index.h node->size = indices_length; size 914 modules/flann/include/opencv2/flann/kmeans_index.h checks += node->size; size 915 modules/flann/include/opencv2/flann/kmeans_index.h for (int i=0; i<node->size; ++i) { size 988 modules/flann/include/opencv2/flann/kmeans_index.h for (int i=0; i<node->size; ++i) { size 1065 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType meanVariance = root->variance*root->size; size 1074 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType variance = meanVariance - clusters[i]->variance*clusters[i]->size; size 1077 modules/flann/include/opencv2/flann/kmeans_index.h variance += clusters[i]->childs[j]->variance*clusters[i]->childs[j]->size; size 1099 modules/flann/include/opencv2/flann/kmeans_index.h varianceValue = meanVariance/root->size; size 72 modules/flann/include/opencv2/flann/linear_index.h size_t size() const size 154 modules/flann/include/opencv2/flann/lsh_index.h size_t size() const size 295 modules/flann/include/opencv2/flann/lsh_index.h if (score_index_heap.size() > (unsigned int)k_nn) { size 198 modules/flann/include/opencv2/flann/lsh_table.h buckets_space_.rehash((buckets_space_.size() + dataset.rows) * 1.2); size 286 modules/flann/include/opencv2/flann/lsh_table.h if (buckets_space_.size() > ((size_t(1) << key_size_) / 2)) { size 299 modules/flann/include/opencv2/flann/lsh_table.h if (((std::max(buckets_space_.size(), buckets_speed_.size()) * CHAR_BIT * 3 * sizeof(BucketKey)) / 10 size 375 modules/flann/include/opencv2/flann/lsh_table.h out << "mask size : " << mask_.size() << std::endl; size 432 modules/flann/include/opencv2/flann/lsh_table.h stats.bucket_sizes_.push_back((lsh::FeatureIndex)pbucket->size()); size 433 modules/flann/include/opencv2/flann/lsh_table.h stats.bucket_size_mean_ += pbucket->size(); size 435 modules/flann/include/opencv2/flann/lsh_table.h stats.bucket_size_mean_ /= buckets_speed_.size(); size 436 modules/flann/include/opencv2/flann/lsh_table.h stats.n_buckets_ = buckets_speed_.size(); size 440 modules/flann/include/opencv2/flann/lsh_table.h stats.bucket_sizes_.push_back((lsh::FeatureIndex)x->second.size()); size 441 modules/flann/include/opencv2/flann/lsh_table.h stats.bucket_size_mean_ += x->second.size(); size 443 modules/flann/include/opencv2/flann/lsh_table.h stats.bucket_size_mean_ /= buckets_space_.size(); size 444 modules/flann/include/opencv2/flann/lsh_table.h stats.n_buckets_ = buckets_space_.size(); size 452 modules/flann/include/opencv2/flann/lsh_table.h stats.bucket_size_median_ = stats.bucket_sizes_[stats.bucket_sizes_.size() / 2]; size 128 modules/flann/include/opencv2/flann/nn_index.h return (int)resultSet.size(); size 146 modules/flann/include/opencv2/flann/nn_index.h virtual size_t size() const = 0; size 107 modules/flann/include/opencv2/flann/result_set.h size_t size() const size 174 modules/flann/include/opencv2/flann/result_set.h size_t size() const size 253 modules/flann/include/opencv2/flann/result_set.h size_t size() const size 359 modules/flann/include/opencv2/flann/result_set.h size_t size() const size 361 modules/flann/include/opencv2/flann/result_set.h return dist_indices_.size(); size 412 modules/flann/include/opencv2/flann/result_set.h if (dist_indices_.size() > capacity_) { size 417 modules/flann/include/opencv2/flann/result_set.h else if (dist_indices_.size() == capacity_) { size 40 modules/flann/include/opencv2/flann/sampling.h Matrix<T> random_sample(Matrix<T>& srcMatrix, long size, bool remove = false) size 42 modules/flann/include/opencv2/flann/sampling.h Matrix<T> newSet(new T[size * srcMatrix.cols], size,srcMatrix.cols); size 45 modules/flann/include/opencv2/flann/sampling.h for (long i=0; i<size; ++i) { size 57 modules/flann/include/opencv2/flann/sampling.h srcMatrix.rows -= size; size 63 modules/flann/include/opencv2/flann/sampling.h Matrix<T> random_sample(const Matrix<T>& srcMatrix, size_t size) size 66 modules/flann/include/opencv2/flann/sampling.h Matrix<T> newSet(new T[size * srcMatrix.cols], size,srcMatrix.cols); size 69 modules/flann/include/opencv2/flann/sampling.h for (size_t i=0; i<size; ++i) { size 95 modules/flann/include/opencv2/flann/saving.h header.rows = index.size(); size 141 modules/flann/include/opencv2/flann/saving.h size_t size = value.size(); size 142 modules/flann/include/opencv2/flann/saving.h fwrite(&size, sizeof(size_t), 1, stream); size 143 modules/flann/include/opencv2/flann/saving.h fwrite(&value[0], sizeof(T), size, stream); size 173 modules/flann/include/opencv2/flann/saving.h size_t size; size 174 modules/flann/include/opencv2/flann/saving.h size_t read_cnt = fread(&size, sizeof(size_t), 1, stream); size 178 modules/flann/include/opencv2/flann/saving.h value.resize(size); size 179 modules/flann/include/opencv2/flann/saving.h read_cnt = fread(&value[0], sizeof(T), size, stream); size 180 modules/flann/include/opencv2/flann/saving.h if (read_cnt != size) { size 1315 modules/highgui/src/ppltasks_winrt.h _Result.reserve(_type.size()); size 1327 modules/highgui/src/ppltasks_winrt.h _Return.reserve(_Result.size()); size 269 modules/highgui/src/window.cpp const Size size = _img.size(); size 271 modules/highgui/src/window.cpp CV_Assert(size.width>0 && size.height>0); size 279 modules/highgui/src/window.cpp CV_Assert(size.width>0 && size.height>0); size 293 modules/highgui/src/window.cpp resizeWindow(winname, size.width, size.height); size 342 modules/highgui/src/window.cpp Size size = _tex.size(); size 343 modules/highgui/src/window.cpp resizeWindow(winname, size.width, size.height); size 1660 modules/highgui/src/window_QT.cpp settings.setValue("size", size()); size 2302 modules/highgui/src/window_QT.cpp positionCorners = QRect(0, 0, size().width(), size().height()); size 2491 modules/highgui/src/window_QT.cpp scaleView((threshold_zoom_img_region / param_matrixWorld.m11() - 1) * 5, QPointF(size().width() / 2, size().height() / 2)); size 2504 modules/highgui/src/window_QT.cpp scaleView(0.5, QPointF(size().width() / 2, size().height() / 2)); size 2510 modules/highgui/src/window_QT.cpp scaleView(-0.5, QPointF(size().width() / 2, size().height() / 2)); size 2528 modules/highgui/src/window_QT.cpp QPixmap viewportPixmap(viewport()->size()); size 2563 modules/highgui/src/window_QT.cpp if (centralWidget->vect_QActions.size() > 0) size 2586 modules/highgui/src/window_QT.cpp newSize.scale(evnt->size(), Qt::KeepAspectRatio); size 2597 modules/highgui/src/window_QT.cpp newSize = (evnt->size() - newSize) / 2; size 2759 modules/highgui/src/window_QT.cpp QSize sizeImage = size(); size 2948 modules/highgui/src/window_QT.cpp QSize view = size(); size 3021 modules/highgui/src/window_QT.cpp painter->drawLines(linesX.data(), linesX.size()); size 3022 modules/highgui/src/window_QT.cpp painter->drawLines(linesY.data(), linesY.size()); size 3032 modules/highgui/src/window_QT.cpp QSize viewSize = size(); size 3044 modules/highgui/src/window_QT.cpp qreal ratioWindow = (qreal)(viewSize.height())/(qreal)(size().height()); size 3267 modules/highgui/src/window_QT.cpp if (size.width() > 0 && size.height() > 0) size 3268 modules/highgui/src/window_QT.cpp return size; size 3275 modules/highgui/src/window_QT.cpp size = size_; size 319 modules/highgui/src/window_QT.h void setViewportSize(QSize size); size 448 modules/highgui/src/window_QT.h QSize size; size 233 modules/highgui/src/window_carbon.cpp CGSize size = {portrect.right-portrect.left, portrect.bottom-portrect.top-window->trackbarheight}; size 234 modules/highgui/src/window_carbon.cpp rect.origin = origin; rect.size = size; size 239 modules/highgui/src/window_carbon.cpp CGSize size = {width, height}; size 240 modules/highgui/src/window_carbon.cpp rect.origin = origin; rect.size = size; size 266 modules/highgui/src/window_carbon.cpp int size = 8; size 276 modules/highgui/src/window_carbon.cpp window->imageRef = CGImageCreate( width, height, size , size*nbChannels , window->image->step, colorspace, kCGImageAlphaNone , provider, NULL, true, kCGRenderingIntentDefault ); size 1021 modules/highgui/src/window_w32.cpp static bool icvGetBitmapData( CvWindow* window, SIZE* size, int* channels, void** data ) size 1026 modules/highgui/src/window_w32.cpp if( size ) size 1027 modules/highgui/src/window_w32.cpp size->cx = size->cy = 0; size 1036 modules/highgui/src/window_w32.cpp if( size ) size 1038 modules/highgui/src/window_w32.cpp size->cx = abs(bmp.bmWidth); size 1039 modules/highgui/src/window_w32.cpp size->cy = abs(bmp.bmHeight); size 1060 modules/highgui/src/window_w32.cpp SIZE size = {0,0}; size 1061 modules/highgui/src/window_w32.cpp icvGetBitmapData( window, &size, 0, 0 ); size 1074 modules/highgui/src/window_w32.cpp rmw.right - rmw.left + size.cx - rw.right + rw.left, size 1075 modules/highgui/src/window_w32.cpp rmw.bottom - rmw.top + size.cy - rw.bottom + rw.top, TRUE ); size 1093 modules/highgui/src/window_w32.cpp SIZE size = { 0, 0 }; size 1129 modules/highgui/src/window_w32.cpp if (icvGetBitmapData( window, &size, &channels, &dst_ptr )) size 1132 modules/highgui/src/window_w32.cpp if( size.cx != image->width || size.cy != image->height || channels != channels0 ) size 1142 modules/highgui/src/window_w32.cpp size.cx = image->width; size 1143 modules/highgui/src/window_w32.cpp size.cy = image->height; size 1146 modules/highgui/src/window_w32.cpp FillBitmapInfo( binfo, size.cx, size.cy, channels*8, 1 ); size 1152 modules/highgui/src/window_w32.cpp cvInitMatHeader( &dst, size.cy, size.cx, CV_8UC3, size 1153 modules/highgui/src/window_w32.cpp dst_ptr, (size.cx * channels + 3) & -4 ); size 1174 modules/highgui/src/window_w32.cpp SIZE size = { 0, 0 }; size 1212 modules/highgui/src/window_w32.cpp if( size.cx != image->width || size.cy != image->height || channels != channels0 ) size 1222 modules/highgui/src/window_w32.cpp size.cx = image->width; size 1223 modules/highgui/src/window_w32.cpp size.cy = image->height; size 1226 modules/highgui/src/window_w32.cpp FillBitmapInfo( binfo, size.cx, size.cy, channels*8, 1 ); size 1231 modules/highgui/src/window_w32.cpp cvInitMatHeader( &dst, size.cy, size.cx, CV_8UC3, dst_ptr, (size.cx * channels + 3) & -4 ); size 1426 modules/highgui/src/window_w32.cpp SIZE size = {0,0}; size 1427 modules/highgui/src/window_w32.cpp icvGetBitmapData( window, &size, 0, 0 ); size 1429 modules/highgui/src/window_w32.cpp window->on_mouse( event, pt.x*size.cx/MAX(rect.right - rect.left,1), size 1430 modules/highgui/src/window_w32.cpp pt.y*size.cy/MAX(rect.bottom - rect.top,1), flags, size 1513 modules/highgui/src/window_w32.cpp SIZE size = {0,0}; size 1514 modules/highgui/src/window_w32.cpp icvGetBitmapData( window, &size, &nchannels, 0 ); size 1517 modules/highgui/src/window_w32.cpp if (0 == (memBM = ::CreateCompatibleBitmap ( hDC, size.cx, size.cy))) size 1543 modules/highgui/src/window_w32.cpp if (!::BitBlt( memDC, 0, 0, size.cx, size.cy, window->dc, 0, 0, SRCCOPY )) size 1616 modules/highgui/src/window_w32.cpp SIZE size = {0, 0}; size 1619 modules/highgui/src/window_w32.cpp icvGetBitmapData( window, &size, 0, 0 ); size 1621 modules/highgui/src/window_w32.cpp window->on_mouse( event, pt.x*size.cx/MAX(rect.right - rect.left,1), size 1622 modules/highgui/src/window_w32.cpp pt.y*size.cy/MAX(rect.bottom - rect.top,1), flags, size 1632 modules/highgui/src/window_w32.cpp SIZE size = {0,0}; size 1638 modules/highgui/src/window_w32.cpp icvGetBitmapData( window, &size, &nchannels, 0 ); size 1657 modules/highgui/src/window_w32.cpp BitBlt( hdc, 0, 0, size.cx, size.cy, window->dc, 0, 0, SRCCOPY ); size 1664 modules/highgui/src/window_w32.cpp window->dc, 0, 0, size.cx, size.cy, SRCCOPY ); size 370 modules/imgcodecs/src/bitstrm.cpp int size = (int)(m_current - m_start); size 373 modules/imgcodecs/src/bitstrm.cpp if( size == 0 ) size 378 modules/imgcodecs/src/bitstrm.cpp size_t sz = m_buf->size(); size 379 modules/imgcodecs/src/bitstrm.cpp m_buf->resize( sz + size ); size 380 modules/imgcodecs/src/bitstrm.cpp memcpy( &(*m_buf)[sz], m_start, size ); size 384 modules/imgcodecs/src/bitstrm.cpp fwrite( m_start, 1, size, m_file ); size 387 modules/imgcodecs/src/bitstrm.cpp m_block_pos += size; size 75 modules/imgcodecs/src/grfmt_base.cpp return m_signature.size(); size 81 modules/imgcodecs/src/grfmt_base.cpp return signature.size() >= len && memcmp( signature.c_str(), m_signature.c_str(), len ) == 0; size 94 modules/imgcodecs/src/grfmt_bmp.cpp int size = m_strm.getDWord(); size 96 modules/imgcodecs/src/grfmt_bmp.cpp if( size >= 36 ) size 104 modules/imgcodecs/src/grfmt_bmp.cpp m_strm.skip( size - 36 ); size 139 modules/imgcodecs/src/grfmt_bmp.cpp else if( size == 12 ) size 617 modules/imgcodecs/src/grfmt_exr.cpp int size; size 622 modules/imgcodecs/src/grfmt_exr.cpp size = 4; size 628 modules/imgcodecs/src/grfmt_exr.cpp size = 4; size 634 modules/imgcodecs/src/grfmt_exr.cpp size = 2; size 641 modules/imgcodecs/src/grfmt_exr.cpp frame.insert( "B", Slice( type, buffer, size * 3, bufferstep )); size 642 modules/imgcodecs/src/grfmt_exr.cpp frame.insert( "G", Slice( type, buffer + size, size * 3, bufferstep )); size 643 modules/imgcodecs/src/grfmt_exr.cpp frame.insert( "R", Slice( type, buffer + size * 2, size * 3, bufferstep )); size 646 modules/imgcodecs/src/grfmt_exr.cpp frame.insert( "Y", Slice( type, buffer, size, bufferstep )); size 346 modules/imgcodecs/src/grfmt_gdal.cpp if( img.size().height != m_height ){ size 349 modules/imgcodecs/src/grfmt_gdal.cpp if( img.size().width != m_width ){ size 64 modules/imgcodecs/src/grfmt_hdr.cpp return m_signature.size() > m_signature_alt.size() ? size 65 modules/imgcodecs/src/grfmt_hdr.cpp m_signature.size() : m_signature_alt.size(); size 104 modules/imgcodecs/src/grfmt_hdr.cpp if(signature.size() >= m_signature.size() && size 105 modules/imgcodecs/src/grfmt_hdr.cpp (!memcmp(signature.c_str(), m_signature.c_str(), m_signature.size()) || size 106 modules/imgcodecs/src/grfmt_hdr.cpp !memcmp(signature.c_str(), m_signature_alt.c_str(), m_signature_alt.size()))) size 498 modules/imgcodecs/src/grfmt_jpeg.cpp size_t sz = dest->dst->size(), bufsz = dest->buf->size() - dest->pub.free_in_buffer; size 510 modules/imgcodecs/src/grfmt_jpeg.cpp size_t sz = dest->dst->size(), bufsz = dest->buf->size(); size 587 modules/imgcodecs/src/grfmt_jpeg.cpp dest.pub.free_in_buffer = out_buf.size(); size 607 modules/imgcodecs/src/grfmt_jpeg.cpp for( size_t i = 0; i < params.size(); i += 2 ) size 171 modules/imgcodecs/src/grfmt_jpeg2000.cpp clr.create(img.size().height, img.size().width, this->type()); size 126 modules/imgcodecs/src/grfmt_png.cpp void PngDecoder::readDataFromBuf( void* _png_ptr, uchar* dst, size_t size ) size 132 modules/imgcodecs/src/grfmt_png.cpp if( decoder->m_buf_pos + size > buf.cols*buf.rows*buf.elemSize() ) size 137 modules/imgcodecs/src/grfmt_png.cpp memcpy( dst, decoder->m_buf.ptr() + decoder->m_buf_pos, size ); size 138 modules/imgcodecs/src/grfmt_png.cpp decoder->m_buf_pos += size; size 324 modules/imgcodecs/src/grfmt_png.cpp void PngEncoder::writeDataToBuf(void* _png_ptr, uchar* src, size_t size) size 326 modules/imgcodecs/src/grfmt_png.cpp if( size == 0 ) size 331 modules/imgcodecs/src/grfmt_png.cpp size_t cursz = encoder->m_buf->size(); size 332 modules/imgcodecs/src/grfmt_png.cpp encoder->m_buf->resize(cursz + size); size 333 modules/imgcodecs/src/grfmt_png.cpp memcpy( &(*encoder->m_buf)[cursz], src, size ); size 378 modules/imgcodecs/src/grfmt_png.cpp for( size_t i = 0; i < params.size(); i += 2 ) size 69 modules/imgcodecs/src/grfmt_png.hpp static void readDataFromBuf(void* png_ptr, uchar* dst, size_t size); size 93 modules/imgcodecs/src/grfmt_png.hpp static void writeDataToBuf(void* png_ptr, uchar* src, size_t size); size 112 modules/imgcodecs/src/grfmt_pxm.cpp return signature.size() >= 3 && signature[0] == 'P' && size 380 modules/imgcodecs/src/grfmt_pxm.cpp for( size_t i = 0; i < params.size(); i += 2 ) size 103 modules/imgcodecs/src/grfmt_tiff.cpp return signature.size() >= 4 && size 443 modules/imgcodecs/src/grfmt_tiff.cpp int size = 3 * m_width * m_height * sizeof (float); size 448 modules/imgcodecs/src/grfmt_tiff.cpp TIFFReadEncodedStrip(tif, i, ptr, size); size 449 modules/imgcodecs/src/grfmt_tiff.cpp size -= strip_size * sizeof(float); size 509 modules/imgcodecs/src/grfmt_tiff.cpp for(size_t i = 0; i + 1 < params.size(); i += 2) size 78 modules/imgcodecs/src/grfmt_webp.cpp if(signature.size() >= WEBP_HEADER_SIZE) size 214 modules/imgcodecs/src/grfmt_webp.cpp size_t size = 0; size 219 modules/imgcodecs/src/grfmt_webp.cpp if (params.size() > 1) size 258 modules/imgcodecs/src/grfmt_webp.cpp size = WebPEncodeLosslessBGR(image->ptr(), width, height, (int)image->step, &out); size 262 modules/imgcodecs/src/grfmt_webp.cpp size = WebPEncodeLosslessBGRA(image->ptr(), width, height, (int)image->step, &out); size 269 modules/imgcodecs/src/grfmt_webp.cpp size = WebPEncodeBGR(image->ptr(), width, height, (int)image->step, quality, &out); size 273 modules/imgcodecs/src/grfmt_webp.cpp size = WebPEncodeBGRA(image->ptr(), width, height, (int)image->step, quality, &out); size 277 modules/imgcodecs/src/grfmt_webp.cpp if(size > 0) size 281 modules/imgcodecs/src/grfmt_webp.cpp m_buf->resize(size); size 282 modules/imgcodecs/src/grfmt_webp.cpp memcpy(&(*m_buf)[0], out, size); size 289 modules/imgcodecs/src/grfmt_webp.cpp fwrite(out, size, sizeof(uint8_t), fd); size 301 modules/imgcodecs/src/grfmt_webp.cpp return size > 0; size 129 modules/imgcodecs/src/loadsave.cpp for( i = 0; i < codecs.decoders.size(); i++ ) size 149 modules/imgcodecs/src/loadsave.cpp for( i = 0; i < codecs.decoders.size(); i++ ) size 166 modules/imgcodecs/src/loadsave.cpp for( i = 0; i < codecs.decoders.size(); i++ ) size 177 modules/imgcodecs/src/loadsave.cpp for( i = 0; i < codecs.decoders.size(); i++ ) size 188 modules/imgcodecs/src/loadsave.cpp if( _ext.size() <= 1 ) size 198 modules/imgcodecs/src/loadsave.cpp for( size_t i = 0; i < codecs.encoders.size(); i++ ) size 272 modules/imgcodecs/src/loadsave.cpp CvSize size; size 273 modules/imgcodecs/src/loadsave.cpp size.width = decoder->width(); size 274 modules/imgcodecs/src/loadsave.cpp size.height = decoder->height(); size 294 modules/imgcodecs/src/loadsave.cpp matrix = cvCreateMat( size.height, size.width, type ); size 299 modules/imgcodecs/src/loadsave.cpp mat->create( size.height, size.width, type ); size 305 modules/imgcodecs/src/loadsave.cpp image = cvCreateImage( size, cvIplDepth(type), CV_MAT_CN(type) ); size 499 modules/imgcodecs/src/loadsave.cpp CvSize size; size 500 modules/imgcodecs/src/loadsave.cpp size.width = decoder->width(); size 501 modules/imgcodecs/src/loadsave.cpp size.height = decoder->height(); size 520 modules/imgcodecs/src/loadsave.cpp matrix = cvCreateMat( size.height, size.width, type ); size 525 modules/imgcodecs/src/loadsave.cpp mat->create( size.height, size.width, type ); size 531 modules/imgcodecs/src/loadsave.cpp image = cvCreateImage( size, cvIplDepth(type), CV_MAT_CN(type) ); size 611 modules/imgcodecs/src/loadsave.cpp buf.resize(fread( &buf[0], 1, buf.size(), f )); size 702 modules/imgcodecs/src/loadsave.cpp CvMat* _buf = cvCreateMat(1, (int)buf.size(), CV_8U); size 703 modules/imgcodecs/src/loadsave.cpp memcpy( _buf->data.ptr, &buf[0], buf.size() ); size 52 modules/imgcodecs/src/utils.cpp CvSize size, int _swap_rb ) size 56 modules/imgcodecs/src/utils.cpp for( ; size.height--; gray += gray_step ) size 58 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, rgb += 3 ) size 64 modules/imgcodecs/src/utils.cpp rgb += rgb_step - size.width*3; size 71 modules/imgcodecs/src/utils.cpp CvSize size, int ncn, int _swap_rb ) size 75 modules/imgcodecs/src/utils.cpp for( ; size.height--; gray += gray_step ) size 77 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, rgb += ncn ) size 83 modules/imgcodecs/src/utils.cpp rgb += rgb_step - size.width*ncn; size 90 modules/imgcodecs/src/utils.cpp CvSize size, int _swap_rb ) size 94 modules/imgcodecs/src/utils.cpp for( ; size.height--; gray += gray_step ) size 96 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, rgba += 4 ) size 102 modules/imgcodecs/src/utils.cpp rgba += rgba_step - size.width*4; size 108 modules/imgcodecs/src/utils.cpp uchar* bgr, int bgr_step, CvSize size ) size 111 modules/imgcodecs/src/utils.cpp for( ; size.height--; gray += gray_step ) size 113 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgr += 3 ) size 117 modules/imgcodecs/src/utils.cpp bgr += bgr_step - size.width*3; size 123 modules/imgcodecs/src/utils.cpp ushort* bgr, int bgr_step, CvSize size ) size 126 modules/imgcodecs/src/utils.cpp for( ; size.height--; gray += gray_step/sizeof(gray[0]) ) size 128 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgr += 3 ) size 132 modules/imgcodecs/src/utils.cpp bgr += bgr_step/sizeof(bgr[0]) - size.width*3; size 139 modules/imgcodecs/src/utils.cpp CvSize size, int _swap_rb ) size 143 modules/imgcodecs/src/utils.cpp for( ; size.height--; ) size 145 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgr += 3, bgra += 4 ) size 151 modules/imgcodecs/src/utils.cpp bgr += bgr_step - size.width*3; size 152 modules/imgcodecs/src/utils.cpp bgra += bgra_step - size.width*4; size 159 modules/imgcodecs/src/utils.cpp CvSize size, int _swap_rb ) size 163 modules/imgcodecs/src/utils.cpp for( ; size.height--; ) size 165 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgr += 3, bgra += 4 ) size 171 modules/imgcodecs/src/utils.cpp bgr += bgr_step/sizeof(bgr[0]) - size.width*3; size 172 modules/imgcodecs/src/utils.cpp bgra += bgra_step/sizeof(bgra[0]) - size.width*4; size 178 modules/imgcodecs/src/utils.cpp uchar* rgba, int rgba_step, CvSize size ) size 181 modules/imgcodecs/src/utils.cpp for( ; size.height--; ) size 183 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgra += 4, rgba += 4 ) size 190 modules/imgcodecs/src/utils.cpp bgra += bgra_step - size.width*4; size 191 modules/imgcodecs/src/utils.cpp rgba += rgba_step - size.width*4; size 196 modules/imgcodecs/src/utils.cpp ushort* rgba, int rgba_step, CvSize size ) size 199 modules/imgcodecs/src/utils.cpp for( ; size.height--; ) size 201 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgra += 4, rgba += 4 ) size 209 modules/imgcodecs/src/utils.cpp bgra += bgra_step/sizeof(bgra[0]) - size.width*4; size 210 modules/imgcodecs/src/utils.cpp rgba += rgba_step/sizeof(rgba[0]) - size.width*4; size 216 modules/imgcodecs/src/utils.cpp uchar* rgb, int rgb_step, CvSize size ) size 219 modules/imgcodecs/src/utils.cpp for( ; size.height--; ) size 221 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgr += 3, rgb += 3 ) size 226 modules/imgcodecs/src/utils.cpp bgr += bgr_step - size.width*3; size 227 modules/imgcodecs/src/utils.cpp rgb += rgb_step - size.width*3; size 233 modules/imgcodecs/src/utils.cpp ushort* rgb, int rgb_step, CvSize size ) size 236 modules/imgcodecs/src/utils.cpp for( ; size.height--; ) size 238 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgr += 3, rgb += 3 ) size 243 modules/imgcodecs/src/utils.cpp bgr += bgr_step - size.width*3; size 244 modules/imgcodecs/src/utils.cpp rgb += rgb_step - size.width*3; size 252 modules/imgcodecs/src/utils.cpp uchar* gray, int gray_step, CvSize size ) size 255 modules/imgcodecs/src/utils.cpp for( ; size.height--; gray += gray_step, bgr555 += bgr555_step ) size 257 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++ ) size 269 modules/imgcodecs/src/utils.cpp uchar* gray, int gray_step, CvSize size ) size 272 modules/imgcodecs/src/utils.cpp for( ; size.height--; gray += gray_step, bgr565 += bgr565_step ) size 274 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++ ) size 286 modules/imgcodecs/src/utils.cpp uchar* bgr, int bgr_step, CvSize size ) size 289 modules/imgcodecs/src/utils.cpp for( ; size.height--; bgr555 += bgr555_step ) size 291 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgr += 3 ) size 298 modules/imgcodecs/src/utils.cpp bgr += bgr_step - size.width*3; size 304 modules/imgcodecs/src/utils.cpp uchar* bgr, int bgr_step, CvSize size ) size 307 modules/imgcodecs/src/utils.cpp for( ; size.height--; bgr565 += bgr565_step ) size 309 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgr += 3 ) size 316 modules/imgcodecs/src/utils.cpp bgr += bgr_step - size.width*3; size 322 modules/imgcodecs/src/utils.cpp uchar* bgr, int bgr_step, CvSize size ) size 325 modules/imgcodecs/src/utils.cpp for( ; size.height--; ) size 327 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, bgr += 3, cmyk += 4 ) size 335 modules/imgcodecs/src/utils.cpp bgr += bgr_step - size.width*3; size 336 modules/imgcodecs/src/utils.cpp cmyk += cmyk_step - size.width*4; size 342 modules/imgcodecs/src/utils.cpp uchar* gray, int gray_step, CvSize size ) size 345 modules/imgcodecs/src/utils.cpp for( ; size.height--; ) size 347 modules/imgcodecs/src/utils.cpp for( i = 0; i < size.width; i++, cmyk += 4 ) size 357 modules/imgcodecs/src/utils.cpp cmyk += cmyk_step - size.width*4; size 644 modules/imgcodecs/src/utils.cpp CvSize size(src->cols, src->rows); size 648 modules/imgcodecs/src/utils.cpp size.width *= size.height; size 649 modules/imgcodecs/src/utils.cpp size.height = 1; size 656 modules/imgcodecs/src/utils.cpp icvCvt_Gray2BGR_8u_C1C3R( s, s_step, d, d_step, size ); size 659 modules/imgcodecs/src/utils.cpp icvCvt_BGR2Gray_8u_C3C1R( s, s_step, d, d_step, size, swap_rb ); size 663 modules/imgcodecs/src/utils.cpp icvCvt_RGB2BGR_8u_C3R( s, s_step, d, d_step, size ); size 666 modules/imgcodecs/src/utils.cpp icvCvt_BGRA2Gray_8u_C4C1R( s, s_step, d, d_step, size, swap_rb ); size 669 modules/imgcodecs/src/utils.cpp icvCvt_BGRA2BGR_8u_C4C3R( s, s_step, d, d_step, size, swap_rb ); size 60 modules/imgcodecs/src/utils.hpp CvSize size, int swap_rb=0 ); size 63 modules/imgcodecs/src/utils.hpp CvSize size, int swap_rb=0 ); size 66 modules/imgcodecs/src/utils.hpp CvSize size, int ncn, int swap_rb=0 ); size 69 modules/imgcodecs/src/utils.hpp uchar* bgr, int bgr_step, CvSize size ); size 71 modules/imgcodecs/src/utils.hpp ushort* bgr, int bgr_step, CvSize size ); size 75 modules/imgcodecs/src/utils.hpp CvSize size, int swap_rb=0 ); size 78 modules/imgcodecs/src/utils.hpp CvSize size, int _swap_rb ); size 81 modules/imgcodecs/src/utils.hpp uchar* rgb, int rgb_step, CvSize size ); size 84 modules/imgcodecs/src/utils.hpp ushort* rgb, int rgb_step, CvSize size ); size 88 modules/imgcodecs/src/utils.hpp uchar* rgba, int rgba_step, CvSize size ); size 92 modules/imgcodecs/src/utils.hpp ushort* rgba, int rgba_step, CvSize size ); size 96 modules/imgcodecs/src/utils.hpp uchar* gray, int gray_step, CvSize size ); size 98 modules/imgcodecs/src/utils.hpp uchar* gray, int gray_step, CvSize size ); size 100 modules/imgcodecs/src/utils.hpp uchar* bgr, int bgr_step, CvSize size ); size 102 modules/imgcodecs/src/utils.hpp uchar* bgr, int bgr_step, CvSize size ); size 104 modules/imgcodecs/src/utils.hpp uchar* bgr, int bgr_step, CvSize size ); size 106 modules/imgcodecs/src/utils.hpp uchar* gray, int gray_step, CvSize size ); size 114 modules/imgcodecs/test/test_drawing.cpp int n = (int)polyline.size(); size 138 modules/imgcodecs/test/test_drawing.cpp n = (int)polyline.size(); size 141 modules/imgcodecs/test/test_drawing.cpp for( vector<Point>::const_iterator it = polyline.begin(); n < (int)polyline.size()-1; ++it, n++ ) size 149 modules/imgcodecs/test/test_drawing.cpp n = (int)polyline.size(); size 264 modules/imgcodecs/test/test_drawing.cpp int n = (int)polyline.size(); size 287 modules/imgcodecs/test/test_drawing.cpp box.size.width = 200; size 288 modules/imgcodecs/test/test_drawing.cpp box.size.height = 100; size 294 modules/imgcodecs/test/test_drawing.cpp n = (int)polyline.size(); size 299 modules/imgcodecs/test/test_drawing.cpp for( vector<CvPoint>::const_iterator it = polyline.begin(); n < (int)polyline.size()-1; ++it, n++ ) size 306 modules/imgcodecs/test/test_drawing.cpp n = (int)polyline.size(); size 509 modules/imgcodecs/test/test_drawing.cpp bigSize.width = max(bigSize.width, img.size().width); size 510 modules/imgcodecs/test/test_drawing.cpp bigSize.height += img.size().height + 1; size 519 modules/imgcodecs/test/test_drawing.cpp Rect roi(Point(0, shift), img->size()); size 522 modules/imgcodecs/test/test_drawing.cpp shift += img->size().height + 1; size 55 modules/imgcodecs/test/test_grfmt.cpp lhs.size().height != rhs.size().height || size 56 modules/imgcodecs/test/test_grfmt.cpp lhs.size().width != rhs.size().width) size 203 modules/imgcodecs/test/test_grfmt.cpp CV_Assert(img.size() == img_test.size()); size 231 modules/imgcodecs/test/test_grfmt.cpp CV_Assert(img.size() == img_test.size()); size 237 modules/imgcodecs/test/test_grfmt.cpp double expected = 0.05 * img.size().area(); size 262 modules/imgcodecs/test/test_grfmt.cpp CV_Assert(img.size() == img_test.size()); size 719 modules/imgcodecs/test/test_grfmt.cpp ASSERT_EQ(static_cast<size_t>(page_count), pages.size()); size 835 modules/imgcodecs/test/test_grfmt.cpp imgs[imgs.size() - 1] = cv::Scalar::all(128); size 1019 modules/imgproc/include/opencv2/imgproc.hpp CV_WRAP virtual int compareSegments(const Size& size, InputArray lines1, InputArray lines2, InputOutputArray _image = noArray()) = 0; size 2627 modules/imgproc/include/opencv2/imgproc.hpp Size size, int m1type, OutputArray map1, OutputArray map2 ); size 1041 modules/imgproc/include/opencv2/imgproc/imgproc_c.h axes.width = cvRound(box.size.width*0.5); size 1042 modules/imgproc/include/opencv2/imgproc/imgproc_c.h axes.height = cvRound(box.size.height*0.5); size 28 modules/imgproc/misc/java/test/ImgprocTest.java Size size; size 36 modules/imgproc/misc/java/test/ImgprocTest.java size = new Size(3, 3); size 186 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.blur(gray0, dst, size); size 189 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.blur(gray255, dst, size); size 195 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.blur(gray0, dst, size, anchorPoint); size 201 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.blur(gray0, dst, size, anchorPoint, Core.BORDER_REFLECT); size 218 modules/imgproc/misc/java/test/ImgprocTest.java Size size = new Size(3, 3); size 219 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.boxFilter(gray0, dst, 8, size); size 225 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.boxFilter(gray255, dst, 8, size, anchorPoint, false); size 231 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.boxFilter(gray255, dst, 8, size, anchorPoint, false, Core.BORDER_REFLECT); size 248 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(grayChess.size(), dst.size()); size 758 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(contours.size(), 0); size 759 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(contours.size(), hierarchy.total()); size 767 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(contours.size(), 2); size 768 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(contours.size(), hierarchy.total()); size 784 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(contours.size(), contours2.size()); size 801 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(2.828, rrect.size.width, EPS); size 802 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(2.828, rrect.size.height, EPS); size 858 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.GaussianBlur(gray0, dst, size, 1); size 861 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.GaussianBlur(gray2, dst, size, 1); size 866 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.GaussianBlur(gray2, dst, size, 0, 0); size 873 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.GaussianBlur(gray2, dst, size, 1, 3, Core.BORDER_REFLECT); size 902 modules/imgproc/misc/java/test/ImgprocTest.java Mat mtx = Imgproc.getDefaultNewCameraMatrix(gray0, size, true); size 966 modules/imgproc/misc/java/test/ImgprocTest.java Size size = new Size(3, 3); size 969 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.getRectSubPix(gray255, size, center, dst); size 1002 modules/imgproc/misc/java/test/ImgprocTest.java dst = Imgproc.getStructuringElement(Imgproc.MORPH_RECT, size); size 1009 modules/imgproc/misc/java/test/ImgprocTest.java dst = Imgproc.getStructuringElement(Imgproc.MORPH_CROSS, size, anchorPoint); size 1157 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.initUndistortRectifyMap(cameraMatrix, distCoeffs, R, newCameraMatrix, size, CvType.CV_32F, map1, map2); size 1404 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(new Size(2, 5), rrect.size); size 1809 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(src.size(), dst.size()); size 1810 modules/imgproc/misc/java/test/ImgprocTest.java for(int i=0; i<src.toList().size(); i++) { size 2070 modules/imgproc/misc/java/test/ImgprocTest.java Size size = new Size(matSize / 4, matSize / 2); size 2071 modules/imgproc/misc/java/test/ImgprocTest.java RotatedRect box = new RotatedRect(center, size, 45); size 2096 modules/imgproc/misc/java/test/ImgprocTest.java Size size = new Size(matSize / 4, matSize / 2); size 2097 modules/imgproc/misc/java/test/ImgprocTest.java RotatedRect box = new RotatedRect(center, size, 45); size 2107 modules/imgproc/misc/java/test/ImgprocTest.java Size size = new Size(2, matSize * 2 / 3); size 2108 modules/imgproc/misc/java/test/ImgprocTest.java RotatedRect box = new RotatedRect(center, size, 20); size 59 modules/imgproc/perf/opencl/perf_3vs4.cpp for (size_t i = 0; i < srcs.size(); ++i) size 113 modules/imgproc/perf/opencl/perf_3vs4.cpp for (size_t i = 0; i < srcs.size(); ++i) size 72 modules/imgproc/perf/opencl/perf_gftt.cpp checkDeviceMaxMemoryAllocSize(img.size(), img.type()); size 74 modules/imgproc/perf/opencl/perf_gftt.cpp UMat src(img.size(), img.type()), dst(1, maxCorners, CV_32FC2); size 316 modules/imgproc/perf/opencl/perf_imgproc.cpp UMat edges(img.size(), CV_8UC1); size 20 modules/imgproc/perf/perf_blur.cpp Size size = get<0>(GetParam()); size 24 modules/imgproc/perf/perf_blur.cpp Mat src(size, type); size 25 modules/imgproc/perf/perf_blur.cpp Mat dst(size, type); size 54 modules/imgproc/perf/perf_blur.cpp Size size = get<0>(GetParam()); size 58 modules/imgproc/perf/perf_blur.cpp Mat src(size, type); size 59 modules/imgproc/perf/perf_blur.cpp Mat dst(size, type); size 76 modules/imgproc/perf/perf_blur.cpp Size size = get<0>(GetParam()); size 80 modules/imgproc/perf/perf_blur.cpp Mat src(size, type); size 81 modules/imgproc/perf/perf_blur.cpp Mat dst(size, type); size 98 modules/imgproc/perf/perf_blur.cpp Size size = get<0>(GetParam()); size 107 modules/imgproc/perf/perf_blur.cpp Mat src(size, type); size 108 modules/imgproc/perf/perf_blur.cpp Mat dst(size, type); size 125 modules/imgproc/perf/perf_blur.cpp Size size = get<0>(GetParam()); size 129 modules/imgproc/perf/perf_blur.cpp Mat src(size, type); size 130 modules/imgproc/perf/perf_blur.cpp Mat dst(size, type); size 147 modules/imgproc/perf/perf_blur.cpp Size size = get<0>(GetParam()); size 151 modules/imgproc/perf/perf_blur.cpp Mat src(size, type); size 152 modules/imgproc/perf/perf_blur.cpp Mat dst(size, type); size 175 modules/imgproc/perf/perf_blur.cpp Size size = get<0>(GetParam()); size 179 modules/imgproc/perf/perf_blur.cpp Mat src(size, type); size 180 modules/imgproc/perf/perf_blur.cpp Mat dst(size, type); size 197 modules/imgproc/perf/perf_blur.cpp Size size = get<0>(GetParam()); size 201 modules/imgproc/perf/perf_blur.cpp Mat src(size, type); size 202 modules/imgproc/perf/perf_blur.cpp Mat dst(size, type); size 30 modules/imgproc/perf/perf_canny.cpp Mat edges(img.size(), img.type()); size 37 modules/imgproc/perf/perf_goodFeaturesToTrack.cpp if (corners.size() > 50) size 22 modules/imgproc/perf/perf_histogram.cpp Size size = get<0>(GetParam()); size 24 modules/imgproc/perf/perf_histogram.cpp Mat source(size.height, size.width, type); size 51 modules/imgproc/perf/perf_histogram.cpp Size size = get<0>(GetParam()); size 53 modules/imgproc/perf/perf_histogram.cpp Mat source(size.height, size.width, type); size 79 modules/imgproc/perf/perf_histogram.cpp Size size = get<0>(GetParam()); size 86 modules/imgproc/perf/perf_histogram.cpp Mat source(size.height, size.width, type); size 107 modules/imgproc/perf/perf_histogram.cpp Size size = GetParam(); size 108 modules/imgproc/perf/perf_histogram.cpp Mat source(size.height, size.width, CV_8U); size 129 modules/imgproc/perf/perf_histogram.cpp const Size size = get<0>(GetParam()); size 132 modules/imgproc/perf/perf_histogram.cpp Mat src(size, CV_8UC1); size 14 modules/imgproc/perf/perf_phasecorr.cpp const Size size = GetParam(); size 15 modules/imgproc/perf/perf_phasecorr.cpp Mat dst(size, CV_32FC1); size 19 modules/imgproc/perf/perf_phasecorr.cpp TEST_CYCLE() cv::createHanningWindow(dst, size, CV_32FC1); size 89 modules/imgproc/perf/perf_resize.cpp TEST_CYCLE_MULTIRUN(runs) resize(src, dst, dst.size(), 0, 0, INTER_AREA); size 118 modules/imgproc/perf/perf_resize.cpp TEST_CYCLE() resize(src, dst, dst.size(), 0, 0, INTER_AREA); size 41 modules/imgproc/perf/perf_sepfilters.cpp Size size = get<0>(GetParam()); size 47 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size, CV_8U); size 48 modules/imgproc/perf/perf_sepfilters.cpp Mat dst(size, ddepth); size 66 modules/imgproc/perf/perf_sepfilters.cpp Size size = get<0>(GetParam()); size 72 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size.height + 10, size.width + 10, CV_8U); size 73 modules/imgproc/perf/perf_sepfilters.cpp Mat dst(size, ddepth); size 76 modules/imgproc/perf/perf_sepfilters.cpp src = src(Range(5, 5 + size.height), Range(5, 5 + size.width)); size 94 modules/imgproc/perf/perf_sepfilters.cpp Size size = get<0>(GetParam()); size 100 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size, CV_8U); size 101 modules/imgproc/perf/perf_sepfilters.cpp Mat dst(size, ddepth); size 119 modules/imgproc/perf/perf_sepfilters.cpp Size size = get<0>(GetParam()); size 125 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size.height + 10, size.width + 10, CV_8U); size 126 modules/imgproc/perf/perf_sepfilters.cpp Mat dst(size, ddepth); size 129 modules/imgproc/perf/perf_sepfilters.cpp src = src(Range(5, 5 + size.height), Range(5, 5 + size.width)); size 149 modules/imgproc/perf/perf_sepfilters.cpp Size size = get<0>(GetParam()); size 155 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size, CV_8U); size 156 modules/imgproc/perf/perf_sepfilters.cpp Mat dst(size, ddepth); size 174 modules/imgproc/perf/perf_sepfilters.cpp Size size = get<0>(GetParam()); size 180 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size.height + 10, size.width + 10, CV_8U); size 181 modules/imgproc/perf/perf_sepfilters.cpp Mat dst(size, ddepth); size 184 modules/imgproc/perf/perf_sepfilters.cpp src = src(Range(5, 5 + size.height), Range(5, 5 + size.width)); size 202 modules/imgproc/perf/perf_sepfilters.cpp Size size = get<0>(GetParam()); size 208 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size, CV_8U); size 209 modules/imgproc/perf/perf_sepfilters.cpp Mat dst(size, ddepth); size 227 modules/imgproc/perf/perf_sepfilters.cpp Size size = get<0>(GetParam()); size 233 modules/imgproc/perf/perf_sepfilters.cpp Mat src(size.height + 10, size.width + 10, CV_8U); size 234 modules/imgproc/perf/perf_sepfilters.cpp Mat dst(size, ddepth); size 237 modules/imgproc/perf/perf_sepfilters.cpp src = src(Range(5, 5 + size.height), Range(5, 5 + size.width)); size 100 modules/imgproc/perf/perf_warp.cpp Size size; size 102 modules/imgproc/perf/perf_warp.cpp size = get<0>(GetParam()); size 108 modules/imgproc/perf/perf_warp.cpp Mat src(size, type), dst(size, type); size 113 modules/imgproc/perf/perf_warp.cpp Vec2f(static_cast<float>(size.width-1), 0), size 114 modules/imgproc/perf/perf_warp.cpp Vec2f(static_cast<float>(size.width-1), static_cast<float>(size.height-1)), size 115 modules/imgproc/perf/perf_warp.cpp Vec2f(0, static_cast<float>(size.height-1))); size 117 modules/imgproc/perf/perf_warp.cpp Vec2f(static_cast<float>(size.width-shift/2), 0), size 118 modules/imgproc/perf/perf_warp.cpp Vec2f(static_cast<float>(size.width-shift), static_cast<float>(size.height-shift)), size 119 modules/imgproc/perf/perf_warp.cpp Vec2f(static_cast<float>(shift/2), static_cast<float>(size.height-1))); size 127 modules/imgproc/perf/perf_warp.cpp warpPerspective( src, dst, warpMat, size, interType, borderMode, borderColor ); size 148 modules/imgproc/perf/perf_warp.cpp Size size = get<1>(GetParam()); size 152 modules/imgproc/perf/perf_warp.cpp unsigned int height = size.height; size 153 modules/imgproc/perf/perf_warp.cpp unsigned int width = size.width; size 210 modules/imgproc/perf/perf_warp.cpp unsigned int size = 8; size 211 modules/imgproc/perf/perf_warp.cpp Mat source(1, size/2, CV_32FC2); size 212 modules/imgproc/perf/perf_warp.cpp Mat destination(1, size/2, CV_32FC2); size 889 modules/imgproc/src/accum.cpp Size size = src.size(); size 896 modules/imgproc/src/accum.cpp size.width = static_cast<int>(src.total()); size 897 modules/imgproc/src/accum.cpp size.height = 1; size 899 modules/imgproc/src/accum.cpp size.width *= scn; size 902 modules/imgproc/src/accum.cpp status = ippFunc(src.ptr(), srcstep, dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height)); size 905 modules/imgproc/src/accum.cpp dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height)); size 925 modules/imgproc/src/accum.cpp int len = (int)it.size; size 972 modules/imgproc/src/accum.cpp Size size = src.size(); size 979 modules/imgproc/src/accum.cpp size.width = static_cast<int>(src.total()); size 980 modules/imgproc/src/accum.cpp size.height = 1; size 982 modules/imgproc/src/accum.cpp size.width *= scn; size 985 modules/imgproc/src/accum.cpp status = ippFunc(src.ptr(), srcstep, dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height)); size 988 modules/imgproc/src/accum.cpp dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height)); size 1008 modules/imgproc/src/accum.cpp int len = (int)it.size; size 1058 modules/imgproc/src/accum.cpp Size size = src1.size(); size 1066 modules/imgproc/src/accum.cpp size.width = static_cast<int>(src1.total()); size 1067 modules/imgproc/src/accum.cpp size.height = 1; size 1069 modules/imgproc/src/accum.cpp size.width *= scn; size 1073 modules/imgproc/src/accum.cpp dststep, ippiSize(size.width, size.height)); size 1076 modules/imgproc/src/accum.cpp dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height)); size 1096 modules/imgproc/src/accum.cpp int len = (int)it.size; size 1146 modules/imgproc/src/accum.cpp Size size = src.size(); size 1153 modules/imgproc/src/accum.cpp size.width = static_cast<int>((int)src.total()); size 1154 modules/imgproc/src/accum.cpp size.height = 1; size 1156 modules/imgproc/src/accum.cpp size.width *= scn; size 1159 modules/imgproc/src/accum.cpp status = ippFunc(src.ptr(), srcstep, dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height), (Ipp32f)alpha); size 1162 modules/imgproc/src/accum.cpp dst.ptr<Ipp32f>(), dststep, ippiSize(size.width, size.height), (Ipp32f)alpha); size 1182 modules/imgproc/src/accum.cpp int len = (int)it.size; size 484 modules/imgproc/src/approx.cpp stacksz = _stack->size(); \ size 506 modules/imgproc/src/approx.cpp size_t top = 0, stacksz = _stack->size(); size 125 modules/imgproc/src/blend.cpp Size size = _src1.size(); size 128 modules/imgproc/src/blend.cpp CV_Assert(size == _src2.size() && size == _weights1.size() && size == _weights2.size()); size 131 modules/imgproc/src/blend.cpp _dst.create(size, type); size 60 modules/imgproc/src/canny.cpp int size = 0, size1 = 0; size 63 modules/imgproc/src/canny.cpp if (ippiFilterSobelNegVertGetBufferSize_8u16s_C1R(roi, ippMskSize3x3, &size) < 0) size 67 modules/imgproc/src/canny.cpp size = std::max(size, size1); size 71 modules/imgproc/src/canny.cpp size = std::max(size, size1); size 73 modules/imgproc/src/canny.cpp AutoBuffer<uchar> buf(size + 64); size 99 modules/imgproc/src/canny.cpp int aperture_size, bool L2gradient, int cn, const Size & size) size 152 modules/imgproc/src/canny.cpp map.create(size, CV_32S); size 157 modules/imgproc/src/canny.cpp size_t globalsize[2] = { size.width, size.height }, size 181 modules/imgproc/src/canny.cpp map.create(size, CV_32S); size 186 modules/imgproc/src/canny.cpp size_t globalsize[2] = { size.width, size.height }, size 203 modules/imgproc/src/canny.cpp size_t globalsize[2] = { size.width, (size.height + PIX_PER_WI - 1) / PIX_PER_WI }, localsize[2] = { lSizeX, sizey }; size 223 modules/imgproc/src/canny.cpp _dst.create(size, CV_8UC1); size 585 modules/imgproc/src/canny.cpp const Size size = _src.size(); size 588 modules/imgproc/src/canny.cpp _dst.create(size, CV_8U); size 604 modules/imgproc/src/canny.cpp ocl_Canny(_src, _dst, (float)low_thresh, (float)high_thresh, aperture_size, L2gradient, cn, size)) size 967 modules/imgproc/src/canny.cpp CV_Assert( src.size == dst.size && src.depth() == CV_8U && dst.type() == CV_8U ); size 105 modules/imgproc/src/clahe.cpp _dst.create(src.size(), src.type()); size 365 modules/imgproc/src/clahe.cpp if (_src.size().width % tilesX_ == 0 && _src.size().height % tilesY_ == 0) size 367 modules/imgproc/src/clahe.cpp tileSize = cv::Size(_src.size().width / tilesX_, _src.size().height / tilesY_); size 375 modules/imgproc/src/clahe.cpp cv::copyMakeBorder(_src, usrcExt_, 0, tilesY_ - (_src.size().height % tilesY_), 0, tilesX_ - (_src.size().width % tilesX_), cv::BORDER_REFLECT_101); size 376 modules/imgproc/src/clahe.cpp tileSize = cv::Size(usrcExt_.size().width / tilesX_, usrcExt_.size().height / tilesY_); size 382 modules/imgproc/src/clahe.cpp cv::copyMakeBorder(_src, srcExt_, 0, tilesY_ - (_src.size().height % tilesY_), 0, tilesX_ - (_src.size().width % tilesX_), cv::BORDER_REFLECT_101); size 383 modules/imgproc/src/clahe.cpp tileSize = cv::Size(srcExt_.size().width / tilesX_, srcExt_.size().height / tilesY_); size 408 modules/imgproc/src/clahe.cpp _dst.create( src.size(), src.type() ); size 6682 modules/imgproc/src/color.cpp Size sz = src.size(), dstSz = sz; size 7341 modules/imgproc/src/color.cpp Size sz = src.size(); size 48 modules/imgproc/src/colormap.cpp for(size_t idx = 0; idx < indices.size(); idx++) { size 84 modules/imgproc/src/colormap.cpp Mat yi = Mat::zeros(XI.size(), XI.type()); size 369 modules/imgproc/src/connectedcomponents.cpp _labels.create(img.size(), CV_MAT_DEPTH(ltype)); size 386 modules/imgproc/src/connectedcomponents.cpp _labels.create(img.size(), CV_MAT_DEPTH(ltype)); size 200 modules/imgproc/src/contours.cpp CvSize size = cvSize( mat->width, mat->height ); size 217 modules/imgproc/src/contours.cpp scanner->img_size.width = size.width - 1; /* exclude rightest column */ size 218 modules/imgproc/src/contours.cpp scanner->img_size.height = size.height - 1; /* exclude bottomost row */ size 230 modules/imgproc/src/contours.cpp scanner->frame_info.rect = cvRect( 0, 0, size.width, size.height ); size 291 modules/imgproc/src/contours.cpp memset( img, 0, size.width*esz ); size 292 modules/imgproc/src/contours.cpp memset( img + step * (size.height - 1), 0, size.width*esz ); size 295 modules/imgproc/src/contours.cpp for( int y = 1; y < size.height - 1; y++, img += step ) size 298 modules/imgproc/src/contours.cpp img[k] = img[(size.width - 1)*esz + k] = (schar)0; size 1727 modules/imgproc/src/contours.cpp int i, total = (int)all_contours.size(); size 53 modules/imgproc/src/corner.cpp Size size = _cov.size(); size 60 modules/imgproc/src/corner.cpp size.width *= size.height; size 61 modules/imgproc/src/corner.cpp size.height = 1; size 64 modules/imgproc/src/corner.cpp for( i = 0; i < size.height; i++ ) size 73 modules/imgproc/src/corner.cpp for( ; j <= size.width - 4; j += 4 ) size 96 modules/imgproc/src/corner.cpp for( ; j <= size.width - 4; j += 4 ) size 108 modules/imgproc/src/corner.cpp for( ; j < size.width; j++ ) size 122 modules/imgproc/src/corner.cpp Size size = _cov.size(); size 129 modules/imgproc/src/corner.cpp size.width *= size.height; size 130 modules/imgproc/src/corner.cpp size.height = 1; size 133 modules/imgproc/src/corner.cpp for( i = 0; i < size.height; i++ ) size 143 modules/imgproc/src/corner.cpp for( ; j <= size.width - 4; j += 4 ) size 166 modules/imgproc/src/corner.cpp for( ; j <= size.width - 4; j += 4 ) size 176 modules/imgproc/src/corner.cpp for( ; j < size.width; j++ ) size 246 modules/imgproc/src/corner.cpp Size size = _cov.size(); size 249 modules/imgproc/src/corner.cpp size.width *= size.height; size 250 modules/imgproc/src/corner.cpp size.height = 1; size 253 modules/imgproc/src/corner.cpp for( int i = 0; i < size.height; i++ ) size 258 modules/imgproc/src/corner.cpp eigen2x2(cov, dst, size.width); size 301 modules/imgproc/src/corner.cpp Size size = src.size(); size 302 modules/imgproc/src/corner.cpp Mat cov( size, CV_32FC3 ); size 305 modules/imgproc/src/corner.cpp for( i = 0; i < size.height; i++ ) size 313 modules/imgproc/src/corner.cpp for( ; j <= size.width - 4; j += 4 ) size 328 modules/imgproc/src/corner.cpp for( ; j <= size.width - 8; j += 8 ) size 354 modules/imgproc/src/corner.cpp for( ; j < size.width; j++ ) size 394 modules/imgproc/src/corner.cpp Dx.create(src.size(), CV_32FC1); size 395 modules/imgproc/src/corner.cpp Dy.create(src.size(), CV_32FC1); size 502 modules/imgproc/src/corner.cpp _dst.create( _src.size(), CV_32FC1 ); size 532 modules/imgproc/src/corner.cpp _dst.create( src.size(), CV_32FC1 ); size 603 modules/imgproc/src/corner.cpp _dst.create( src.size(), CV_32FC1 ); size 661 modules/imgproc/src/corner.cpp Size dsz = _dst.size(); size 665 modules/imgproc/src/corner.cpp _dst.create( src.size(), CV_32FC(6) ); size 680 modules/imgproc/src/corner.cpp _dst.create( src.size(), CV_32FC1 ); size 702 modules/imgproc/src/corner.cpp Size size = src.size(); size 704 modules/imgproc/src/corner.cpp for( i = 0; i < size.height; i++ ) size 718 modules/imgproc/src/corner.cpp for( ; j <= size.width - 4; j += 4 ) size 731 modules/imgproc/src/corner.cpp for( ; j <= size.width - 4; j += 4 ) size 741 modules/imgproc/src/corner.cpp for( ; j < size.width; j++ ) size 756 modules/imgproc/src/corner.cpp CV_Assert( src.size() == dst.size() && dst.type() == CV_32FC1 ); size 766 modules/imgproc/src/corner.cpp CV_Assert( src.size() == dst.size() && dst.type() == CV_32FC1 ); size 787 modules/imgproc/src/corner.cpp CV_Assert( src.size() == dst.size() && dst.type() == CV_32FC1 ); size 510 modules/imgproc/src/demosaicing.cpp Brow(_brow), size(_size), Bcoeff(_bcoeff), Rcoeff(_rcoeff) size 545 modules/imgproc/src/demosaicing.cpp const T* bayer_end = bayer + size.width; size 547 modules/imgproc/src/demosaicing.cpp if( size.width <= 0 ) size 549 modules/imgproc/src/demosaicing.cpp dst[-1] = dst[size.width] = 0; size 564 modules/imgproc/src/demosaicing.cpp int delta = vecOp.bayer2Gray(bayer, bayer_step, dst, size.width, bcoeff, G2Y, rcoeff); size 592 modules/imgproc/src/demosaicing.cpp dst0[size.width] = dst0[size.width-1]; size 605 modules/imgproc/src/demosaicing.cpp Size size; size 615 modules/imgproc/src/demosaicing.cpp Size size = srcmat.size(); size 625 modules/imgproc/src/demosaicing.cpp size.height -= 2; size 626 modules/imgproc/src/demosaicing.cpp size.width -= 2; size 628 modules/imgproc/src/demosaicing.cpp if (size.height > 0) size 630 modules/imgproc/src/demosaicing.cpp Range range(0, size.height); size 632 modules/imgproc/src/demosaicing.cpp start_with_green, brow, size, bcoeff, rcoeff); size 636 modules/imgproc/src/demosaicing.cpp size = dstmat.size(); size 639 modules/imgproc/src/demosaicing.cpp if( size.height > 2 ) size 640 modules/imgproc/src/demosaicing.cpp for( int i = 0; i < size.width; i++ ) size 643 modules/imgproc/src/demosaicing.cpp dst0[i + (size.height-1)*dst_step] = dst0[i + (size.height-2)*dst_step]; size 646 modules/imgproc/src/demosaicing.cpp for( int i = 0; i < size.width; i++ ) size 647 modules/imgproc/src/demosaicing.cpp dst0[i] = dst0[i + (size.height-1)*dst_step] = 0; size 698 modules/imgproc/src/demosaicing.cpp const T* bayer_end = bayer + size.width; size 701 modules/imgproc/src/demosaicing.cpp if( size.width <= 0 ) size 705 modules/imgproc/src/demosaicing.cpp dst[-4] = dst[-3] = dst[-2] = dst[size.width*dcn-1] = size 706 modules/imgproc/src/demosaicing.cpp dst[size.width*dcn] = dst[size.width*dcn+1] = 0; size 710 modules/imgproc/src/demosaicing.cpp dst[-5] = dst[-4] = dst[-3] = dst[size.width*dcn-1] = size 711 modules/imgproc/src/demosaicing.cpp dst[size.width*dcn] = dst[size.width*dcn+1] = 0; size 712 modules/imgproc/src/demosaicing.cpp dst[-2] = dst[size.width*dcn+2] = alpha; size 734 modules/imgproc/src/demosaicing.cpp vecOp.bayer2RGBA(bayer, bayer_step, dst, size.width, blue) : size 735 modules/imgproc/src/demosaicing.cpp vecOp.bayer2RGB(bayer, bayer_step, dst, size.width, blue); size 849 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn-1] = dst0[size.width*dcn-4]; size 850 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn] = dst0[size.width*dcn-3]; size 851 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn+1] = dst0[size.width*dcn-2]; size 859 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn-1] = dst0[size.width*dcn-5]; size 860 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn] = dst0[size.width*dcn-4]; size 861 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn+1] = dst0[size.width*dcn-3]; size 862 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn+2] = dst0[size.width*dcn-2]; // alpha channel size 874 modules/imgproc/src/demosaicing.cpp Size size; size 881 modules/imgproc/src/demosaicing.cpp Size size = srcmat.size(); size 886 modules/imgproc/src/demosaicing.cpp size.height -= 2; size 887 modules/imgproc/src/demosaicing.cpp size.width -= 2; size 889 modules/imgproc/src/demosaicing.cpp if (size.height > 0) size 891 modules/imgproc/src/demosaicing.cpp Range range(0, size.height); size 892 modules/imgproc/src/demosaicing.cpp Bayer2RGB_Invoker<T, SIMDInterpolator> invoker(srcmat, dstmat, start_with_green, blue, size); size 897 modules/imgproc/src/demosaicing.cpp size = dstmat.size(); size 899 modules/imgproc/src/demosaicing.cpp if( size.height > 2 ) size 900 modules/imgproc/src/demosaicing.cpp for( int i = 0; i < size.width*dcn; i++ ) size 903 modules/imgproc/src/demosaicing.cpp dst0[i + (size.height-1)*dst_step] = dst0[i + (size.height-2)*dst_step]; size 906 modules/imgproc/src/demosaicing.cpp for( int i = 0; i < size.width*dcn; i++ ) size 907 modules/imgproc/src/demosaicing.cpp dst0[i] = dst0[i + (size.height-1)*dst_step] = 0; size 919 modules/imgproc/src/demosaicing.cpp Size size = srcmat.size(); size 925 modules/imgproc/src/demosaicing.cpp if( MIN(size.width, size.height) < 8 ) size 932 modules/imgproc/src/demosaicing.cpp int N = size.width, N2 = N*2, N3 = N*3, N4 = N*4, N5 = N*5, N6 = N*6, N7 = N*7; size 944 modules/imgproc/src/demosaicing.cpp for( int y = 2; y < size.height - 4; y++ ) size 1455 modules/imgproc/src/demosaicing.cpp for( i = 0; i < size.width*3; i++ ) size 1458 modules/imgproc/src/demosaicing.cpp dst[i + dststep*(size.height-4)] = size 1459 modules/imgproc/src/demosaicing.cpp dst[i + dststep*(size.height-3)] = size 1460 modules/imgproc/src/demosaicing.cpp dst[i + dststep*(size.height-2)] = size 1461 modules/imgproc/src/demosaicing.cpp dst[i + dststep*(size.height-1)] = dst[i + dststep*(size.height-5)]; size 1475 modules/imgproc/src/demosaicing.cpp src(_src), dst(_dst), size(_size), Blue(_blue), Start_with_green(_start_with_green) size 1510 modules/imgproc/src/demosaicing.cpp int delta = vecOp.bayer2RGB_EA(S - sstep - 1, sstep, D, size.width, blue); size 1516 modules/imgproc/src/demosaicing.cpp for (; x < size.width; x += 2, S += 2, D += dcn2) size 1527 modules/imgproc/src/demosaicing.cpp for (; x < size.width; x += 2, S += 2, D += dcn2) size 1538 modules/imgproc/src/demosaicing.cpp if (x <= size.width) size 1563 modules/imgproc/src/demosaicing.cpp Size size; size 1570 modules/imgproc/src/demosaicing.cpp Size size = src.size(); size 1573 modules/imgproc/src/demosaicing.cpp if (size.width <= 2 || size.height <= 2) size 1579 modules/imgproc/src/demosaicing.cpp size.width -= 2; size 1580 modules/imgproc/src/demosaicing.cpp size.height -= 2; size 1585 modules/imgproc/src/demosaicing.cpp if (size.height > 0) size 1587 modules/imgproc/src/demosaicing.cpp Bayer2RGB_EdgeAware_T_Invoker<T, SIMDInterpolator> invoker(src, dst, size, blue, start_with_green); size 1588 modules/imgproc/src/demosaicing.cpp Range range(0, size.height); size 1591 modules/imgproc/src/demosaicing.cpp size = dst.size(); size 1592 modules/imgproc/src/demosaicing.cpp size.width *= dst.channels(); size 1595 modules/imgproc/src/demosaicing.cpp T* lastRow = dst.ptr<T>() + (size.height-1) * dstep; size 1597 modules/imgproc/src/demosaicing.cpp if (size.height > 2) size 1599 modules/imgproc/src/demosaicing.cpp for (int x = 0; x < size.width; ++x) size 1606 modules/imgproc/src/demosaicing.cpp for (int x = 0; x < size.width; ++x) size 1619 modules/imgproc/src/demosaicing.cpp Size sz = src.size(); size 212 modules/imgproc/src/deriv.cpp Size size; Point offset; size 213 modules/imgproc/src/deriv.cpp src.locateROI(size, offset); size 218 modules/imgproc/src/deriv.cpp if (offset.x + src.cols < size.width) size 220 modules/imgproc/src/deriv.cpp if (offset.y + src.rows < size.height) size 227 modules/imgproc/src/deriv.cpp _dst.create( _src.size(), dtype); size 325 modules/imgproc/src/deriv.cpp dst.create( src.size(), CV_MAKETYPE(ddepth, src.channels()) ); size 562 modules/imgproc/src/deriv.cpp _dst.create( _src.size(), dtype ); size 620 modules/imgproc/src/deriv.cpp _dst.create( _src.size(), dtype ); size 705 modules/imgproc/src/deriv.cpp Size size = _src.size(), wholeSize; size 716 modules/imgproc/src/deriv.cpp size_t gt2[2] = { lt2[0] * (1 + (size.width - 1) / lt2[0]), lt2[1] }; size 743 modules/imgproc/src/deriv.cpp _dst.create(size, dtype); size 808 modules/imgproc/src/deriv.cpp _dst.create( _src.size(), CV_MAKETYPE(ddepth, cn) ); size 949 modules/imgproc/src/deriv.cpp CV_Assert( src.size() == dst.size() && src.channels() == dst.channels() ); size 962 modules/imgproc/src/deriv.cpp CV_Assert( src.size() == dst.size() && src.channels() == dst.channels() ); size 54 modules/imgproc/src/distransform.cpp Size size = temp.size(); size 58 modules/imgproc/src/distransform.cpp int* tbottom = temp.ptr<int>(size.height - i - 1); size 60 modules/imgproc/src/distransform.cpp for( int j = 0; j < size.width; j++ ) size 84 modules/imgproc/src/distransform.cpp Size size = _src.size(); size 89 modules/imgproc/src/distransform.cpp for( i = 0; i < size.height; i++ ) size 95 modules/imgproc/src/distransform.cpp tmp[-j-1] = tmp[size.width + j] = INIT_DIST0; size 97 modules/imgproc/src/distransform.cpp for( j = 0; j < size.width; j++ ) size 116 modules/imgproc/src/distransform.cpp for( i = size.height - 1; i >= 0; i-- ) size 121 modules/imgproc/src/distransform.cpp for( j = size.width - 1; j >= 0; j-- ) size 158 modules/imgproc/src/distransform.cpp Size size = _src.size(); size 163 modules/imgproc/src/distransform.cpp for( i = 0; i < size.height; i++ ) size 169 modules/imgproc/src/distransform.cpp tmp[-j-1] = tmp[size.width + j] = INIT_DIST0; size 171 modules/imgproc/src/distransform.cpp for( j = 0; j < size.width; j++ ) size 198 modules/imgproc/src/distransform.cpp for( i = size.height - 1; i >= 0; i-- ) size 203 modules/imgproc/src/distransform.cpp for( j = size.width - 1; j >= 0; j-- ) size 251 modules/imgproc/src/distransform.cpp Size size = _src.size(); size 256 modules/imgproc/src/distransform.cpp for( i = 0; i < size.height; i++ ) size 263 modules/imgproc/src/distransform.cpp tmp[-j-1] = tmp[size.width + j] = INIT_DIST0; size 265 modules/imgproc/src/distransform.cpp for( j = 0; j < size.width; j++ ) size 333 modules/imgproc/src/distransform.cpp for( i = size.height - 1; i >= 0; i-- ) size 339 modules/imgproc/src/distransform.cpp for( j = size.width - 1; j >= 0; j-- ) size 560 modules/imgproc/src/distransform.cpp CV_Assert( src.size() == dst.size() ); size 618 modules/imgproc/src/distransform.cpp CV_Assert( src.size() == dst.size() ); size 688 modules/imgproc/src/distransform.cpp _dst.create( src.size(), CV_8UC1); size 718 modules/imgproc/src/distransform.cpp _dst.create( src.size(), CV_32F); size 725 modules/imgproc/src/distransform.cpp _labels.create(src.size(), CV_32S); size 779 modules/imgproc/src/distransform.cpp Size size = src.size(); size 782 modules/imgproc/src/distransform.cpp Mat temp( size.height + border*2, size.width + border*2, CV_32SC1 ); size 143 modules/imgproc/src/drawing.cpp bool inside = clipLine(img_rect.size(), pt1, pt2); size 165 modules/imgproc/src/drawing.cpp if( !clipLine( img.size(), pt1, pt2 ) ) size 298 modules/imgproc/src/drawing.cpp Size size = img.size(); size 312 modules/imgproc/src/drawing.cpp size.width = ((size.width - 5) << XY_SHIFT) + 1; size 313 modules/imgproc/src/drawing.cpp size.height = ((size.height - 5) << XY_SHIFT) + 1; size 315 modules/imgproc/src/drawing.cpp if( !clipLine( size, pt1, pt2 )) size 648 modules/imgproc/src/drawing.cpp Size size = img.size(), sizeScaled(size.width*XY_ONE, size.height*XY_ONE); size 701 modules/imgproc/src/drawing.cpp if( 0 <= x && x < size.width && \ size 702 modules/imgproc/src/drawing.cpp 0 <= y && y < size.height ) \ size 744 modules/imgproc/src/drawing.cpp if( 0 <= x && x < size.width && \ size 745 modules/imgproc/src/drawing.cpp 0 <= y && y < size.height ) \ size 785 modules/imgproc/src/drawing.cpp if( 0 <= x && x < size.width && \ size 786 modules/imgproc/src/drawing.cpp 0 <= y && y < size.height ) \ size 981 modules/imgproc/src/drawing.cpp if( pts.size() == 1) { size 1000 modules/imgproc/src/drawing.cpp PolyLine( img, &v[0], (int)v.size(), false, color, thickness, line_type, XY_SHIFT ); size 1002 modules/imgproc/src/drawing.cpp FillConvexPoly( img, &v[0], (int)v.size(), color, line_type, XY_SHIFT ); size 1007 modules/imgproc/src/drawing.cpp CollectPolyEdges( img, &v[0], (int)v.size(), edges, color, line_type, XY_SHIFT ); size 1050 modules/imgproc/src/drawing.cpp Size size = img.size(); size 1108 modules/imgproc/src/drawing.cpp if( npts < 3 || xmax < 0 || ymax < 0 || xmin >= size.width || ymin >= size.height ) size 1111 modules/imgproc/src/drawing.cpp ymax = MIN( ymax, size.height - 1 ); size 1172 modules/imgproc/src/drawing.cpp if( xx2 >= 0 && xx1 < size.width ) size 1176 modules/imgproc/src/drawing.cpp if( xx2 >= size.width ) size 1177 modules/imgproc/src/drawing.cpp xx2 = size.width - 1; size 1204 modules/imgproc/src/drawing.cpp edges.reserve( edges.size() + count ); size 1265 modules/imgproc/src/drawing.cpp int i, y, total = (int)edges.size(); size 1266 modules/imgproc/src/drawing.cpp Size size = img.size(); size 1289 modules/imgproc/src/drawing.cpp if( y_max < 0 || y_min >= size.height || x_max < 0 || x_min >= (size.width<<XY_SHIFT) ) size 1301 modules/imgproc/src/drawing.cpp y_max = MIN( y_max, size.height ); size 1360 modules/imgproc/src/drawing.cpp if( x1 < size.width && x2 >= 0 ) size 1364 modules/imgproc/src/drawing.cpp if( x2 >= size.width ) size 1365 modules/imgproc/src/drawing.cpp x2 = size.width - 1; size 1413 modules/imgproc/src/drawing.cpp Size size = img.size(); size 1418 modules/imgproc/src/drawing.cpp int inside = center.x >= radius && center.x < size.width - radius && size 1419 modules/imgproc/src/drawing.cpp center.y >= radius && center.y < size.height - radius; size 1464 modules/imgproc/src/drawing.cpp else if( x11 < size.width && x12 >= 0 && y21 < size.height && y22 >= 0 ) size 1469 modules/imgproc/src/drawing.cpp x12 = MIN( x12, size.width - 1 ); size 1472 modules/imgproc/src/drawing.cpp if( (unsigned)y11 < (unsigned)size.height ) size 1480 modules/imgproc/src/drawing.cpp if( x12 < size.width ) size 1487 modules/imgproc/src/drawing.cpp if( (unsigned)y12 < (unsigned)size.height ) size 1495 modules/imgproc/src/drawing.cpp if( x12 < size.width ) size 1502 modules/imgproc/src/drawing.cpp if( x21 < size.width && x22 >= 0 ) size 1507 modules/imgproc/src/drawing.cpp x22 = MIN( x22, size.width - 1 ); size 1510 modules/imgproc/src/drawing.cpp if( (unsigned)y21 < (unsigned)size.height ) size 1518 modules/imgproc/src/drawing.cpp if( x22 < size.width ) size 1525 modules/imgproc/src/drawing.cpp if( (unsigned)y22 < (unsigned)size.height ) size 1533 modules/imgproc/src/drawing.cpp if( x22 < size.width ) size 1799 modules/imgproc/src/drawing.cpp CV_Assert( box.size.width >= 0 && box.size.height >= 0 && size 1808 modules/imgproc/src/drawing.cpp Size axes(cvRound(box.size.width*(1 << (XY_SHIFT - 1))), size 1809 modules/imgproc/src/drawing.cpp cvRound(box.size.height*(1 << (XY_SHIFT - 1)))); size 2132 modules/imgproc/src/drawing.cpp if( pts.size() > 1 ) size 2133 modules/imgproc/src/drawing.cpp PolyLine( img, &pts[0], (int)pts.size(), false, buf, thickness, line_type, XY_SHIFT ); size 2152 modules/imgproc/src/drawing.cpp Size size; size 2159 modules/imgproc/src/drawing.cpp size.height = cvRound((cap_line + base_line)*fontScale + (thickness+1)/2); size 2174 modules/imgproc/src/drawing.cpp size.width = cvRound(view_x + thickness); size 2177 modules/imgproc/src/drawing.cpp return size; size 2444 modules/imgproc/src/drawing.cpp cv::CollectPolyEdges(img, &pts[0], (int)pts.size(), size 2470 modules/imgproc/src/drawing.cpp cv::CollectPolyEdges( img, &pts[0], (int)pts.size(), size 2483 modules/imgproc/src/drawing.cpp cvClipLine( CvSize size, CvPoint* pt1, CvPoint* pt2 ) size 2486 modules/imgproc/src/drawing.cpp return cv::clipLine( size, *(cv::Point*)pt1, *(cv::Point*)pt2 ); size 2496 modules/imgproc/src/drawing.cpp memcpy( _pts, &pts[0], pts.size()*sizeof(_pts[0]) ); size 2497 modules/imgproc/src/drawing.cpp return (int)pts.size(); size 2686 modules/imgproc/src/drawing.cpp cv::Size size = cv::getTextSize( text, _font->font_face, (_font->hscale + _font->vscale)*0.5, size 2689 modules/imgproc/src/drawing.cpp *_size = size; size 83 modules/imgproc/src/featureselect.cpp Size imgsize = _image.size(); size 214 modules/imgproc/src/featureselect.cpp if( m.size() ) size 216 modules/imgproc/src/featureselect.cpp for(j = 0; j < m.size(); j++) size 294 modules/imgproc/src/featureselect.cpp Size imgsize = image.size(); size 315 modules/imgproc/src/featureselect.cpp size_t i, j, total = tmpCorners.size(), ncorners = 0; size 358 modules/imgproc/src/featureselect.cpp if( m.size() ) size 360 modules/imgproc/src/featureselect.cpp for(j = 0; j < m.size(); j++) size 423 modules/imgproc/src/featureselect.cpp size_t i, ncorners = corners.size(); size 179 modules/imgproc/src/filter.cpp if( maxWidth < roi.width || _maxBufRows != (int)rows.size() ) size 189 modules/imgproc/src/filter.cpp int n = (int)constBorderValue.size(), N; size 206 modules/imgproc/src/filter.cpp ringBuf.resize(maxBufStep*rows.size()+VEC_ALIGN); size 220 modules/imgproc/src/filter.cpp int nr = isSeparable() ? 1 : (int)rows.size(); size 304 modules/imgproc/src/filter.cpp int bufRows = (int)rows.size(); size 1982 modules/imgproc/src/filter.cpp _nz = (int)coords.size(); size 2065 modules/imgproc/src/filter.cpp _nz = (int)coords.size(); size 2146 modules/imgproc/src/filter.cpp _nz = (int)coords.size(); size 3910 modules/imgproc/src/filter.cpp ksize = _kernel.size(); size 3916 modules/imgproc/src/filter.cpp ptrs.resize( coords.size() ); size 3925 modules/imgproc/src/filter.cpp int i, k, nz = (int)coords.size(); size 4016 modules/imgproc/src/filter.cpp Size ksize = _kernel.size(); size 4033 modules/imgproc/src/filter.cpp cv::Size sz = _src.size(), wholeSize; size 4195 modules/imgproc/src/filter.cpp Size bufSize = buf.size(); size 4274 modules/imgproc/src/filter.cpp Size sz = dst.size(); size 4310 modules/imgproc/src/filter.cpp Size size = _src.size(), wholeSize; size 4325 modules/imgproc/src/filter.cpp size_t gt2[2] = { lt2[0] * (1 + (size.width - 1) / lt2[0]), lt2[1]}; size 4348 modules/imgproc/src/filter.cpp _dst.create(size, dtype); size 4368 modules/imgproc/src/filter.cpp Size imgSize = _src.size(); size 4432 modules/imgproc/src/filter.cpp Size srcSize = src.size(); size 4457 modules/imgproc/src/filter.cpp anchor = normalizeAnchor(anchor, _kernel.size()); size 4578 modules/imgproc/src/filter.cpp _dst.create( src.size(), CV_MAKETYPE(ddepth, src.channels()) ); size 4580 modules/imgproc/src/filter.cpp Point anchor = normalizeAnchor(anchor0, kernel.size()); size 4678 modules/imgproc/src/filter.cpp temp.create( dst.size(), CV_MAKETYPE(corrDepth, dst.channels()) ); size 4680 modules/imgproc/src/filter.cpp crossCorr( src, kernel, temp, src.size(), size 4694 modules/imgproc/src/filter.cpp temp.create(dst.size(), dst.type()); size 4695 modules/imgproc/src/filter.cpp crossCorr( src, kernel, temp, src.size(), size 4722 modules/imgproc/src/filter.cpp _dst.create( src.size(), CV_MAKETYPE(ddepth, src.channels()) ); size 4737 modules/imgproc/src/filter.cpp CV_Assert( src.size() == dst.size() && src.channels() == dst.channels() ); size 78 modules/imgproc/src/floodfill.cpp buffer->resize(buffer->size() * 3/2); \ size 81 modules/imgproc/src/floodfill.cpp buffer_end = head + buffer->size(); \ size 135 modules/imgproc/src/floodfill.cpp Size roi = image.size(); size 140 modules/imgproc/src/floodfill.cpp FFillSegment* buffer_end = &buffer->front() + buffer->size(), *head = &buffer->front(), *tail = &buffer->front(); size 297 modules/imgproc/src/floodfill.cpp FFillSegment* buffer_end = &buffer->front() + buffer->size(), *head = &buffer->front(), *tail = &buffer->front(); size 481 modules/imgproc/src/floodfill.cpp Size size = img.size(); size 506 modules/imgproc/src/floodfill.cpp if( (unsigned)seedPoint.x >= (unsigned)size.width || size 507 modules/imgproc/src/floodfill.cpp (unsigned)seedPoint.y >= (unsigned)size.height ) size 511 modules/imgproc/src/floodfill.cpp size_t buffer_size = MAX( size.width, size.height ) * 2; size 548 modules/imgproc/src/floodfill.cpp Mat tempMask( size.height + 2, size.width + 2, CV_8UC1 ); size 554 modules/imgproc/src/floodfill.cpp CV_Assert( mask.rows == size.height+2 && mask.cols == size.width+2 ); size 561 modules/imgproc/src/floodfill.cpp for( i = 1; i <= size.height; i++ ) size 110 modules/imgproc/src/gcgraph.hpp return (int)vtcs.size() - 1; size 116 modules/imgproc/src/gcgraph.hpp CV_Assert( i>=0 && i<(int)vtcs.size() ); size 117 modules/imgproc/src/gcgraph.hpp CV_Assert( j>=0 && j<(int)vtcs.size() ); size 121 modules/imgproc/src/gcgraph.hpp if( !edges.size() ) size 128 modules/imgproc/src/gcgraph.hpp vtcs[i].first = (int)edges.size(); size 134 modules/imgproc/src/gcgraph.hpp vtcs[j].first = (int)edges.size(); size 141 modules/imgproc/src/gcgraph.hpp CV_Assert( i>=0 && i<(int)vtcs.size() ); size 165 modules/imgproc/src/gcgraph.hpp for( int i = 0; i < (int)vtcs.size(); i++ ) size 381 modules/imgproc/src/gcgraph.hpp CV_Assert( i>=0 && i<(int)vtcs.size() ); size 129 modules/imgproc/src/generalized_hough.cpp templSize_ = templEdges_.size(); size 142 modules/imgproc/src/generalized_hough.cpp CV_Assert( templDx_.type() == CV_32FC1 && templDx_.size() == templEdges_.size() ); size 143 modules/imgproc/src/generalized_hough.cpp CV_Assert( templDy_.type() == templDx_.type() && templDy_.size() == templEdges_.size() ); size 148 modules/imgproc/src/generalized_hough.cpp templSize_ = templEdges_.size(); size 158 modules/imgproc/src/generalized_hough.cpp imageSize_ = imageEdges_.size(); size 186 modules/imgproc/src/generalized_hough.cpp CV_Assert( imageDx_.type() == CV_32FC1 && imageDx_.size() == imageEdges_.size() ); size 187 modules/imgproc/src/generalized_hough.cpp CV_Assert( imageDy_.type() == imageDx_.type() && imageDy_.size() == imageEdges_.size() ); size 189 modules/imgproc/src/generalized_hough.cpp imageSize_ = imageEdges_.size(); size 220 modules/imgproc/src/generalized_hough.cpp size_t oldSize = posOutBuf_.size(); size 223 modules/imgproc/src/generalized_hough.cpp CV_Assert( !hasVotes || voteOutBuf_.size() == oldSize ); size 272 modules/imgproc/src/generalized_hough.cpp for(size_t j = 0; j < m.size(); ++j) size 300 modules/imgproc/src/generalized_hough.cpp const int total = static_cast<int>(posOutBuf_.size()); size 303 modules/imgproc/src/generalized_hough.cpp CV_Assert( !hasVotes || voteOutBuf_.size() == posOutBuf_.size() ); size 419 modules/imgproc/src/generalized_hough.cpp CV_Assert( imageDx_.type() == CV_32FC1 && imageDx_.size() == imageSize_); size 420 modules/imgproc/src/generalized_hough.cpp CV_Assert( imageDy_.type() == imageDx_.type() && imageDy_.size() == imageSize_); size 421 modules/imgproc/src/generalized_hough.cpp CV_Assert( levels_ > 0 && r_table_.size() == static_cast<size_t>(levels_ + 1) ); size 450 modules/imgproc/src/generalized_hough.cpp for (size_t j = 0; j < r_row.size(); ++j) size 664 modules/imgproc/src/generalized_hough.cpp for (size_t i = 0; i < angles_.size(); ++i) size 671 modules/imgproc/src/generalized_hough.cpp for (size_t j = 0; j < scales_.size(); ++j) size 696 modules/imgproc/src/generalized_hough.cpp for (size_t i = 0; i < points.size(); ++i) size 700 modules/imgproc/src/generalized_hough.cpp for (size_t j = 0; j < points.size(); ++j) size 724 modules/imgproc/src/generalized_hough.cpp if (features[n].size() < static_cast<size_t>(maxBufferSize_)) size 734 modules/imgproc/src/generalized_hough.cpp CV_Assert( dx.type() == CV_32FC1 && dx.size == edges.size ); size 735 modules/imgproc/src/generalized_hough.cpp CV_Assert( dy.type() == dx.type() && dy.size == edges.size ); size 738 modules/imgproc/src/generalized_hough.cpp points.reserve(edges.size().area()); size 764 modules/imgproc/src/generalized_hough.cpp CV_Assert( templFeatures_.size() == static_cast<size_t>(levels_ + 1) ); size 765 modules/imgproc/src/generalized_hough.cpp CV_Assert( imageFeatures_.size() == templFeatures_.size() ); size 779 modules/imgproc/src/generalized_hough.cpp for (size_t j = 0; j < templRow.size(); ++j) size 783 modules/imgproc/src/generalized_hough.cpp for (size_t k = 0; k < imageRow.size(); ++k) size 812 modules/imgproc/src/generalized_hough.cpp CV_Assert( templFeatures_.size() == static_cast<size_t>(levels_ + 1) ); size 813 modules/imgproc/src/generalized_hough.cpp CV_Assert( imageFeatures_.size() == templFeatures_.size() ); size 828 modules/imgproc/src/generalized_hough.cpp for (size_t j = 0; j < templRow.size(); ++j) size 834 modules/imgproc/src/generalized_hough.cpp for (size_t k = 0; k < imageRow.size(); ++k) size 866 modules/imgproc/src/generalized_hough.cpp CV_Assert( templFeatures_.size() == static_cast<size_t>(levels_ + 1) ); size 867 modules/imgproc/src/generalized_hough.cpp CV_Assert( imageFeatures_.size() == templFeatures_.size() ); size 885 modules/imgproc/src/generalized_hough.cpp for (size_t j = 0; j < templRow.size(); ++j) size 897 modules/imgproc/src/generalized_hough.cpp for (size_t k = 0; k < imageRow.size(); ++k) size 533 modules/imgproc/src/geometry.cpp Mat temp(p.size(), CV_MAKETYPE(CV_32F, p.channels()), dst); size 380 modules/imgproc/src/grabcut.cpp Mat _bgdSamples( (int)bgdSamples.size(), 3, CV_32FC1, &bgdSamples[0][0] ); size 383 modules/imgproc/src/grabcut.cpp Mat _fgdSamples( (int)fgdSamples.size(), 3, CV_32FC1, &fgdSamples[0][0] ); size 388 modules/imgproc/src/grabcut.cpp for( int i = 0; i < (int)bgdSamples.size(); i++ ) size 393 modules/imgproc/src/grabcut.cpp for( int i = 0; i < (int)fgdSamples.size(); i++ ) size 543 modules/imgproc/src/grabcut.cpp Mat compIdxs( img.size(), CV_32SC1 ); size 548 modules/imgproc/src/grabcut.cpp initMaskWithRect( mask, img.size(), rect ); size 68 modules/imgproc/src/histogram.cpp int sz = !issparse ? hist.size[i] : shist.size(i); size 89 modules/imgproc/src/histogram.cpp int idx = -1, sz = !issparse ? hist.size[i] : shist.size(i); size 124 modules/imgproc/src/histogram.cpp imsize = images[0].size(); size 149 modules/imgproc/src/histogram.cpp CV_Assert( images[j].size() == imsize && images[j].depth() == depth ); size 159 modules/imgproc/src/histogram.cpp CV_Assert( mask.size() == imsize && mask.channels() == 1 ); size 223 modules/imgproc/src/histogram.cpp histogramSize_(hist.size()), histogramType_(hist.type()), size 292 modules/imgproc/src/histogram.cpp Mat& hist, const double* _uniranges, const int* size, size 297 modules/imgproc/src/histogram.cpp histogramSize_(hist.size()), histogramType_(hist.type()), size 305 modules/imgproc/src/histogram.cpp size_[0] = size[0]; size_[1] = size[1]; size 369 modules/imgproc/src/histogram.cpp size_t* hstep, int* size ) size 380 modules/imgproc/src/histogram.cpp size_[0] = size[0]; size_[1] = size[1]; size_[2] = size[2]; size 462 modules/imgproc/src/histogram.cpp histSize_(hist.size()), histType_(hist.type()), size 582 modules/imgproc/src/histogram.cpp histSize_(hist.size()), histType_(hist.type()), size 665 modules/imgproc/src/histogram.cpp histogramSize_(hist.size.p), histogramType_(hist.type()), size 760 modules/imgproc/src/histogram.cpp int size[CV_MAX_DIM]; size 765 modules/imgproc/src/histogram.cpp size[i] = hist.size[i]; size 776 modules/imgproc/src/histogram.cpp calcHist1D_Invoker<T> body(_ptrs, _deltas, hist, _uniranges, size[0], dims, imsize); size 780 modules/imgproc/src/histogram.cpp int sz = size[0], d0 = deltas[0], step0 = deltas[1]; size 807 modules/imgproc/src/histogram.cpp calcHist2D_Invoker<T> body(_ptrs, _deltas, hist, _uniranges, size, dims, imsize, hstep); size 811 modules/imgproc/src/histogram.cpp int sz0 = size[0], sz1 = size[1]; size 846 modules/imgproc/src/histogram.cpp calcHist3D_Invoker<T> body(_ptrs, _deltas, imsize, hist, uniranges, dims, hstep, size); size 854 modules/imgproc/src/histogram.cpp int sz0 = size[0], sz1 = size[1], sz2 = size[2]; size 901 modules/imgproc/src/histogram.cpp if( (unsigned)idx >= (unsigned)size[i] ) size 922 modules/imgproc/src/histogram.cpp if( (unsigned)idx >= (unsigned)size[i] ) size 958 modules/imgproc/src/histogram.cpp int idx = -1, sz = size[i]; size 1192 modules/imgproc/src/histogram.cpp Mat phist(hist->size(), hist->type(), Scalar::all(0)); size 1278 modules/imgproc/src/histogram.cpp histPrepareImages( images, nimages, channels, mask, dims, hist.size, ranges, size 1310 modules/imgproc/src/histogram.cpp const int* size = hist.hdr->size; size 1326 modules/imgproc/src/histogram.cpp if( (unsigned)idx[i] >= (unsigned)size[i] ) size 1359 modules/imgproc/src/histogram.cpp int j = -1, sz = size[i]; size 1451 modules/imgproc/src/histogram.cpp histPrepareImages( images, nimages, channels, mask, dims, hist.hdr->size, ranges, size 1488 modules/imgproc/src/histogram.cpp Size size = _src.size(); size 1489 modules/imgproc/src/histogram.cpp bool use16 = size.width % 16 == 0 && _src.offset() % 16 == 0 && _src.step() % 16 == 0; size 1553 modules/imgproc/src/histogram.cpp CV_OCL_RUN(images.total() == 1 && channels.size() == 1 && images.channels(0) == 1 && size 1555 modules/imgproc/src/histogram.cpp histSize.size() == 1 && histSize[0] == BINS && ranges.size() == 2 && size 1559 modules/imgproc/src/histogram.cpp int i, dims = (int)histSize.size(), rsz = (int)ranges.size(), csz = (int)channels.size(); size 1598 modules/imgproc/src/histogram.cpp int size[CV_MAX_DIM]; size 1603 modules/imgproc/src/histogram.cpp size[i] = hist.size[i]; size 1614 modules/imgproc/src/histogram.cpp int sz = size[0], d0 = deltas[0], step0 = deltas[1]; size 1630 modules/imgproc/src/histogram.cpp int sz0 = size[0], sz1 = size[1]; size 1654 modules/imgproc/src/histogram.cpp int sz0 = size[0], sz1 = size[1], sz2 = size[2]; size 1687 modules/imgproc/src/histogram.cpp if( (unsigned)idx >= (unsigned)size[i] || (_ranges && *ptrs[i] >= _ranges[i][1])) size 1723 modules/imgproc/src/histogram.cpp int idx = -1, sz = size[i]; size 1885 modules/imgproc/src/histogram.cpp int dims = hist.dims == 2 && hist.size[1] == 1 ? 1 : hist.dims; size 1888 modules/imgproc/src/histogram.cpp _backProject.create( images[0].size(), images[0].depth() ); size 1890 modules/imgproc/src/histogram.cpp histPrepareImages( images, nimages, channels, backProject, dims, hist.size, ranges, size 1919 modules/imgproc/src/histogram.cpp const int* size = hist.hdr->size; size 1933 modules/imgproc/src/histogram.cpp if( (unsigned)idx[i] >= (unsigned)size[i] ) size 1966 modules/imgproc/src/histogram.cpp int j = -1, sz = size[i]; size 2050 modules/imgproc/src/histogram.cpp _backProject.create( images[0].size(), images[0].depth() ); size 2053 modules/imgproc/src/histogram.cpp dims, hist.hdr->size, ranges, size 2078 modules/imgproc/src/histogram.cpp for (size_t i = 0, size = um.size(); i < size; ++i) size 2108 modules/imgproc/src/histogram.cpp size_t nimages = images.size(), totalcn = images[0].channels(); size 2111 modules/imgproc/src/histogram.cpp Size size = images[0].size(); size 2122 modules/imgproc/src/histogram.cpp CV_Assert(size == m.size() && depth == m.depth()); size 2153 modules/imgproc/src/histogram.cpp _dst.create(size, depth); size 2160 modules/imgproc/src/histogram.cpp size_t globalsize[2] = { size.width, size.height }; size 2199 modules/imgproc/src/histogram.cpp _dst.create(size, depth); size 2207 modules/imgproc/src/histogram.cpp size_t globalsize[2] = { size.width, size.height }; size 2223 modules/imgproc/src/histogram.cpp Size histSize = hist.size(); size 2229 modules/imgproc/src/histogram.cpp histdims <= 2 && ranges.size() == histdims * 2 && histdims == channels.size(), size 2239 modules/imgproc/src/histogram.cpp memcpy(hsz, &H0.size[0], H0.dims*sizeof(hsz[0])); size 2247 modules/imgproc/src/histogram.cpp int i, dims = H.dims, rsz = (int)ranges.size(), csz = (int)channels.size(); size 2279 modules/imgproc/src/histogram.cpp int j, len = (int)it.size; size 2485 modules/imgproc/src/histogram.cpp CV_Assert( H1.size(i) == H2.size(i) ); size 2530 modules/imgproc/src/histogram.cpp total *= H1.size(i); size 2772 modules/imgproc/src/histogram.cpp int dims, size[CV_MAX_DIM]; size 2777 modules/imgproc/src/histogram.cpp dims = cvGetDims( hist->bins, size ); size 2810 modules/imgproc/src/histogram.cpp int t = imin / size[i]; size 2811 modules/imgproc/src/histogram.cpp idx_min[i] = imin - t*size[i]; size 2817 modules/imgproc/src/histogram.cpp int t = imax / size[i]; size 2818 modules/imgproc/src/histogram.cpp idx_max[i] = imax - t*size[i]; size 3114 modules/imgproc/src/histogram.cpp int dims, size[CV_MAX_DIM], total = 0; size 3123 modules/imgproc/src/histogram.cpp dims = cvGetDims( hist->bins, size ); size 3125 modules/imgproc/src/histogram.cpp total += size[i]+1; size 3158 modules/imgproc/src/histogram.cpp for( j = 0; j <= size[i]; j++ ) size 3167 modules/imgproc/src/histogram.cpp dim_ranges += size[i] + 1; size 3185 modules/imgproc/src/histogram.cpp int size[CV_MAX_DIM]; size 3186 modules/imgproc/src/histogram.cpp int i, dims = cvGetDims( hist->bins, size); size 3214 modules/imgproc/src/histogram.cpp cv::calcHist( &images[0], (int)images.size(), 0, _mask, size 3215 modules/imgproc/src/histogram.cpp H, cvGetDims(hist->bins), H.size, ranges, uniform, accumulate != 0 ); size 3225 modules/imgproc/src/histogram.cpp cv::calcHist( &images[0], (int)images.size(), 0, _mask, sH, sH.dims(), size 3226 modules/imgproc/src/histogram.cpp sH.dims() > 0 ? sH.hdr->size : 0, ranges, uniform, accumulate != 0, true ); size 3248 modules/imgproc/src/histogram.cpp int size[CV_MAX_DIM]; size 3249 modules/imgproc/src/histogram.cpp int i, dims = cvGetDims( hist->bins, size ); size 3272 modules/imgproc/src/histogram.cpp CV_Assert( _dst.size() == images[0].size() && _dst.depth() == images[0].depth() ); size 3277 modules/imgproc/src/histogram.cpp cv::calcBackProject( &images[0], (int)images.size(), size 3284 modules/imgproc/src/histogram.cpp cv::calcBackProject( &images[0], (int)images.size(), size 3303 modules/imgproc/src/histogram.cpp CvSize size; size 3341 modules/imgproc/src/histogram.cpp size = cvGetMatSize(dstmat); size 3346 modules/imgproc/src/histogram.cpp for( y = 0; y < size.height; y++ ) size 3348 modules/imgproc/src/histogram.cpp for( x = 0; x < size.width; x++ ) size 3426 modules/imgproc/src/histogram.cpp for( i = 0; i < iterator.size.width; i++ ) size 3580 modules/imgproc/src/histogram.cpp Size size = _src.size(); size 3581 modules/imgproc/src/histogram.cpp bool use16 = size.width % 16 == 0 && _src.offset() % 16 == 0 && _src.step() % 16 == 0; size 3633 modules/imgproc/src/histogram.cpp _dst.create( src.size(), src.type() ); size 3719 modules/imgproc/src/histogram.cpp sizes[i] = mat->dim[i].size; size 3744 modules/imgproc/src/histogram.cpp int i, dims, size[CV_MAX_DIM], total = 0; size 3748 modules/imgproc/src/histogram.cpp dims = cvGetDims( h->bins, size ); size 3750 modules/imgproc/src/histogram.cpp total += size[i]+1; size 3773 modules/imgproc/src/histogram.cpp cvReadRawDataSlice( fs, &reader, size[i]+1, dim_ranges, "f" ); size 3774 modules/imgproc/src/histogram.cpp dim_ranges += size[i] + 1; size 169 modules/imgproc/src/hough.cpp linesMax = std::min(linesMax, (int)_sort_buf.size()); size 379 modules/imgproc/src/hough.cpp int pos = (int)(lst.size() - 1); size 393 modules/imgproc/src/hough.cpp if( (int)lst.size() > linesMax ) size 401 modules/imgproc/src/hough.cpp for( size_t idx = 0; idx < lst.size(); idx++ ) size 491 modules/imgproc/src/hough.cpp int count = (int)nzloc.size(); size 655 modules/imgproc/src/hough.cpp if( (int)lines.size() >= linesMax ) size 965 modules/imgproc/src/hough.cpp int nlines = (int)(l2.size() + l4.size()); size 71 modules/imgproc/src/imgwarp.cpp bool IPPSetSimple(cv::Scalar value, void *dataPointer, int step, IppiSize &size, ippiSetFunc func) size 76 modules/imgproc/src/imgwarp.cpp return func(values, dataPointer, step, size) >= 0; size 79 modules/imgproc/src/imgwarp.cpp static bool IPPSet(const cv::Scalar &value, void *dataPointer, int step, IppiSize &size, int channels, int depth) size 86 modules/imgproc/src/imgwarp.cpp return ippiSet_8u_C1R(saturate_cast<Ipp8u>(value[0]), (Ipp8u *)dataPointer, step, size) >= 0; size 88 modules/imgproc/src/imgwarp.cpp return ippiSet_16u_C1R(saturate_cast<Ipp16u>(value[0]), (Ipp16u *)dataPointer, step, size) >= 0; size 90 modules/imgproc/src/imgwarp.cpp return ippiSet_32f_C1R(saturate_cast<Ipp32f>(value[0]), (Ipp32f *)dataPointer, step, size) >= 0; size 100 modules/imgproc/src/imgwarp.cpp return IPPSetSimple<3, Ipp8u>(value, dataPointer, step, size, (ippiSetFunc)ippiSet_8u_C3R); size 102 modules/imgproc/src/imgwarp.cpp return IPPSetSimple<3, Ipp16u>(value, dataPointer, step, size, (ippiSetFunc)ippiSet_16u_C3R); size 104 modules/imgproc/src/imgwarp.cpp return IPPSetSimple<3, Ipp32f>(value, dataPointer, step, size, (ippiSetFunc)ippiSet_32f_C3R); size 112 modules/imgproc/src/imgwarp.cpp return IPPSetSimple<4, Ipp8u>(value, dataPointer, step, size, (ippiSetFunc)ippiSet_8u_C4R); size 114 modules/imgproc/src/imgwarp.cpp return IPPSetSimple<4, Ipp16u>(value, dataPointer, step, size, (ippiSetFunc)ippiSet_16u_C4R); size 116 modules/imgproc/src/imgwarp.cpp return IPPSetSimple<4, Ipp32f>(value, dataPointer, step, size, (ippiSetFunc)ippiSet_32f_C4R); size 338 modules/imgproc/src/imgwarp.cpp Size ssize = src.size(), dsize = dst.size(); size 425 modules/imgproc/src/imgwarp.cpp Size ssize = src.size(), dsize = dst.size(); size 1778 modules/imgproc/src/imgwarp.cpp Size ssize = src.size(), dsize = dst.size(); size 2421 modules/imgproc/src/imgwarp.cpp Size ssize = src.size(), dsize = dst.size(); size 2531 modules/imgproc/src/imgwarp.cpp Size dsize = dst->size(); size 2905 modules/imgproc/src/imgwarp.cpp Size ssize = src.size(); size 2983 modules/imgproc/src/imgwarp.cpp Mat(1, static_cast<int>(_buffer.size()), CV_8UC1, (uchar *)_buffer).copyTo(coeffs); size 3206 modules/imgproc/src/imgwarp.cpp Size ssize = _src.size(); size 3488 modules/imgproc/src/imgwarp.cpp Size ssize = _src.size(), dsize = _dst.size(); size 3807 modules/imgproc/src/imgwarp.cpp Size ssize = _src.size(), dsize = _dst.size(); size 4019 modules/imgproc/src/imgwarp.cpp Size ssize = _src.size(), dsize = _dst.size(); size 4124 modules/imgproc/src/imgwarp.cpp Size ssize = _src.size(), dsize = _dst.size(); size 4509 modules/imgproc/src/imgwarp.cpp _dst.create(map1.size(), type); size 4592 modules/imgproc/src/imgwarp.cpp IppiSize dstRoiSize = ippiSize(dstRoi.size()); size 4602 modules/imgproc/src/imgwarp.cpp if (ippFunc(src.ptr(), ippiSize(src.size()), (int)src.step, srcRoiRect, size 4661 modules/imgproc/src/imgwarp.cpp CV_Assert( _map1.size().area() > 0 ); size 4662 modules/imgproc/src/imgwarp.cpp CV_Assert( _map2.empty() || (_map2.size() == _map1.size())); size 4668 modules/imgproc/src/imgwarp.cpp _dst.create( map1.size(), src.type() ); size 4771 modules/imgproc/src/imgwarp.cpp Size size = map1.size(); size 4789 modules/imgproc/src/imgwarp.cpp _dstmap1.create( size, dstm1type ); size 4794 modules/imgproc/src/imgwarp.cpp _dstmap2.create( size, dstm1type == CV_16SC2 ? CV_16UC1 : CV_32FC1 ); size 4827 modules/imgproc/src/imgwarp.cpp size.width *= size.height; size 4828 modules/imgproc/src/imgwarp.cpp size.height = 1; size 4840 modules/imgproc/src/imgwarp.cpp for( y = 0; y < size.height; y++ ) size 4858 modules/imgproc/src/imgwarp.cpp for( ; x <= size.width - 8; x += 8 ) size 4871 modules/imgproc/src/imgwarp.cpp for( ; x <= size.width - 16; x += 16 ) size 4892 modules/imgproc/src/imgwarp.cpp for( ; x < size.width; x++ ) size 4904 modules/imgproc/src/imgwarp.cpp for( ; x <= size.width - 8; x += 8 ) size 4931 modules/imgproc/src/imgwarp.cpp for( ; x <= size.width - 16; x += 16 ) size 4972 modules/imgproc/src/imgwarp.cpp for( ; x < size.width; x++ ) size 4987 modules/imgproc/src/imgwarp.cpp for( ; x <= (size.width << 1) - 8; x += 8 ) size 4991 modules/imgproc/src/imgwarp.cpp for( ; x <= (size.width << 1) - 8; x += 8 ) size 4997 modules/imgproc/src/imgwarp.cpp for( ; x < size.width; x++ ) size 5009 modules/imgproc/src/imgwarp.cpp for( ; x <= size.width - 8; x += 8 ) size 5038 modules/imgproc/src/imgwarp.cpp for( ; x <= size.width - 4; x += 4 ) size 5056 modules/imgproc/src/imgwarp.cpp for( ; x < size.width; x++ ) size 5073 modules/imgproc/src/imgwarp.cpp for( ; x <= size.width - 8; x += 8) size 5105 modules/imgproc/src/imgwarp.cpp for( ; x <= size.width - 16; x += 16) size 5139 modules/imgproc/src/imgwarp.cpp for( ; x < size.width; x++ ) size 5153 modules/imgproc/src/imgwarp.cpp for( ; x <= size.width - 8; x += 8) size 5186 modules/imgproc/src/imgwarp.cpp for ( ; x <= size.width - 8; x += 8) size 5201 modules/imgproc/src/imgwarp.cpp for( ; x < size.width; x++ ) size 5522 modules/imgproc/src/imgwarp.cpp _dst.create( dsize.area() == 0 ? src.size() : dsize, src.type() ); size 5571 modules/imgproc/src/imgwarp.cpp _dst.create( dsize.area() == 0 ? src.size() : dsize, src.type() ); size 6097 modules/imgproc/src/imgwarp.cpp _dst.create( dsize.area() == 0 ? src.size() : dsize, src.type() ); size 6358 modules/imgproc/src/imgwarp.cpp cv::resize( src, dst, dst.size(), (double)dst.cols/src.cols, size 6370 modules/imgproc/src/imgwarp.cpp cv::warpAffine( src, dst, matrix, dst.size(), flags, size 6382 modules/imgproc/src/imgwarp.cpp cv::warpPerspective( src, dst, matrix, dst.size(), flags, size 6394 modules/imgproc/src/imgwarp.cpp CV_Assert( src.type() == dst.type() && dst.size() == mapx.size() ); size 6407 modules/imgproc/src/imgwarp.cpp CV_Assert( M.size() == M0.size() ); size 6420 modules/imgproc/src/imgwarp.cpp CV_Assert( M.size() == M0.size() ); size 6433 modules/imgproc/src/imgwarp.cpp CV_Assert( M.size() == M0.size() ); size 6451 modules/imgproc/src/imgwarp.cpp dstmap2 = cv::Mat(dstmap2.size(), CV_16UC1, dstmap2.ptr(), dstmap2.step); size 6578 modules/imgproc/src/imgwarp.cpp _dst.create( src.size(), src.type() ); size 6681 modules/imgproc/src/imgwarp.cpp _dst.create( src.size(), src.type() ); size 221 modules/imgproc/src/intersection.cpp for( int i = 0; i < (int)intersection.size()-1; i++ ) size 223 modules/imgproc/src/intersection.cpp for( size_t j = i+1; j < intersection.size(); j++ ) size 245 modules/imgproc/src/intersection.cpp CV_Assert( intersection.size() <= 8 ); size 229 modules/imgproc/src/lsd.cpp int compareSegments(const Size& size, InputArray lines1, InputArray lines2, InputOutputArray _image = noArray()); size 471 modules/imgproc/src/lsd.cpp used = Mat_<uchar>::zeros(scaled_image.size()); // zeros = NOTUSED size 476 modules/imgproc/src/lsd.cpp for(size_t i = 0, list_size = list.size(); i < list_size; ++i) size 541 modules/imgproc/src/lsd.cpp angles = Mat_<double>(scaled_image.size()); size 542 modules/imgproc/src/lsd.cpp modgrad = Mat_<double>(scaled_image.size()); size 1192 modules/imgproc/src/lsd.cpp int LineSegmentDetectorImpl::compareSegments(const Size& size, InputArray lines1, InputArray lines2, InputOutputArray _image) size 1194 modules/imgproc/src/lsd.cpp Size sz = size; size 1195 modules/imgproc/src/lsd.cpp if (_image.needed() && _image.size() != size) sz = _image.size(); size 360 modules/imgproc/src/min_enclosing_triangle.cpp if (polygon.size() > 3) { size 412 modules/imgproc/src/min_enclosing_triangle.cpp nrOfPoints = static_cast<unsigned int>(polygon.size()); size 454 modules/imgproc/src/min_enclosing_triangle.cpp unsigned int nrOfPoints = static_cast<unsigned int>(polygon.size()); size 399 modules/imgproc/src/moments.cpp Size size = img.size(); size 404 modules/imgproc/src/moments.cpp for( y = 0; y < size.height; y++ ) size 409 modules/imgproc/src/moments.cpp x = vop(ptr, size.width, x0, x1, x2, x3); size 411 modules/imgproc/src/moments.cpp for( ; x < size.width; x++ ) size 496 modules/imgproc/src/moments.cpp Size sz = src.size(); size 563 modules/imgproc/src/moments.cpp Size size = _src.size(); size 565 modules/imgproc/src/moments.cpp if( size.width <= 0 || size.height <= 0 ) size 661 modules/imgproc/src/moments.cpp for( int y = 0; y < size.height; y += TILE_SIZE ) size 664 modules/imgproc/src/moments.cpp tileSize.height = std::min(TILE_SIZE, size.height - y); size 666 modules/imgproc/src/moments.cpp for( int x = 0; x < size.width; x += TILE_SIZE ) size 668 modules/imgproc/src/moments.cpp tileSize.width = std::min(TILE_SIZE, size.width - x); size 790 modules/imgproc/src/morph.cpp ksize = _kernel.size(); size 796 modules/imgproc/src/morph.cpp ptrs.resize( coords.size() ); size 803 modules/imgproc/src/morph.cpp int i, k, nz = (int)coords.size(); size 950 modules/imgproc/src/morph.cpp anchor = normalizeAnchor(anchor, kernel.size()); size 989 modules/imgproc/src/morph.cpp anchor = normalizeAnchor(anchor, kernel.size()); size 1272 modules/imgproc/src/morph.cpp kernel.size() == Size(3,3)) ) || !( op == MORPH_DILATE || op == MORPH_ERODE) || _src.isSubmatrix() ) size 1301 modules/imgproc/src/morph.cpp Size ksize = !kernel.empty() ? kernel.size() : Size(3,3); size 1303 modules/imgproc/src/morph.cpp _dst.create( src.size(), src.type() ); size 1356 modules/imgproc/src/morph.cpp Size ksize = _kernel.size(); size 1362 modules/imgproc/src/morph.cpp Size size = _src.size(), wholeSize; size 1375 modules/imgproc/src/morph.cpp size_t globalsize[2] = { size.width, size.height }; size 1384 modules/imgproc/src/morph.cpp int h = isolated ? size.height : wholeSize.height; size 1385 modules/imgproc/src/morph.cpp int w = isolated ? size.width : wholeSize.width; size 1390 modules/imgproc/src/morph.cpp int pxLoadNumPixels = cn != 1 || size.width % 4 ? 1 : 4; size 1398 modules/imgproc/src/morph.cpp pxPerWorkItemX = size.width % 8 ? size.width % 4 ? size.width % 2 ? 1 : 2 : 4 : 8; size 1399 modules/imgproc/src/morph.cpp pxPerWorkItemY = size.height % 2 ? 1 : 2; size 1403 modules/imgproc/src/morph.cpp pxPerWorkItemX = size.width % 2 ? 1 : 2; size 1404 modules/imgproc/src/morph.cpp pxPerWorkItemY = size.height % 2 ? 1 : 2; size 1406 modules/imgproc/src/morph.cpp globalsize[0] = size.width / pxPerWorkItemX; size 1407 modules/imgproc/src/morph.cpp globalsize[1] = size.height / pxPerWorkItemY; size 1456 modules/imgproc/src/morph.cpp _dst.create(size, type); size 1481 modules/imgproc/src/morph.cpp int srcEndX = isolated ? srcOffsetX + size.width : wholeSize.width; size 1482 modules/imgproc/src/morph.cpp int srcEndY = isolated ? srcOffsetY + size.height : wholeSize.height; size 1506 modules/imgproc/src/morph.cpp Size ksize = !kernel.empty() ? kernel.size() : Size(3, 3), ssize = _src.size(); size 1609 modules/imgproc/src/morph.cpp _dst.create(src.size(), src.type()); size 1683 modules/imgproc/src/morph.cpp Size ksize = !kernel.empty() ? kernel.size() : Size(3,3); size 1726 modules/imgproc/src/morph.cpp _dst.create( src.size(), src.type() ); size 1832 modules/imgproc/src/morph.cpp Size ksize = kernel.size(); size 1842 modules/imgproc/src/morph.cpp _dst.create(src.size(), src.type()); size 1895 modules/imgproc/src/morph.cpp int i, size = rows * cols; size 1896 modules/imgproc/src/morph.cpp int element_size = sizeof(IplConvKernel) + size*sizeof(int); size 1908 modules/imgproc/src/morph.cpp for( i = 0; i < size; i++ ) size 1914 modules/imgproc/src/morph.cpp for( i = 0; i < size; i++ ) size 1942 modules/imgproc/src/morph.cpp int i, size = src->nRows*src->nCols; size 1943 modules/imgproc/src/morph.cpp for( i = 0; i < size; i++ ) size 1952 modules/imgproc/src/morph.cpp CV_Assert( src.size() == dst.size() && src.type() == dst.type() ); size 1963 modules/imgproc/src/morph.cpp CV_Assert( src.size() == dst.size() && src.type() == dst.type() ); size 1975 modules/imgproc/src/morph.cpp CV_Assert( src.size() == dst.size() && src.type() == dst.type() ); size 164 modules/imgproc/src/phasecorr.cpp CV_Assert( type == srcB.type() && srcA.size() == srcB.size() ); size 374 modules/imgproc/src/phasecorr.cpp for(size_t i = 0; i < planes.size(); i++) size 387 modules/imgproc/src/phasecorr.cpp for(size_t i = 0; i < planes.size(); i++) size 499 modules/imgproc/src/phasecorr.cpp CV_Assert( src1.size == src2.size); size 504 modules/imgproc/src/phasecorr.cpp CV_Assert( src1.size == window.size); size 857 modules/imgproc/src/pyramids.cpp Size ssize = _src.size(), dsize = _dst.size(); size 981 modules/imgproc/src/pyramids.cpp Size ssize = _src.size(), dsize = _dst.size(); size 1074 modules/imgproc/src/pyramids.cpp Size ssize = _src.size(); size 1126 modules/imgproc/src/pyramids.cpp Size ssize = _src.size(); size 1444 modules/imgproc/src/pyramids.cpp cv::pyrDown( src, dst, dst.size() ); size 1452 modules/imgproc/src/pyramids.cpp cv::pyrUp( src, dst, dst.size() ); size 1484 modules/imgproc/src/pyramids.cpp CvSize layer_size, size = cvGetMatSize(src); size 1493 modules/imgproc/src/pyramids.cpp layer_size = size; size 1515 modules/imgproc/src/pyramids.cpp pyramid[0] = cvCreateMatHeader( size.height, size.width, src->type ); size 1517 modules/imgproc/src/pyramids.cpp layer_size = size; size 366 modules/imgproc/src/rotcalipers.cpp box.size.width = (float)std::sqrt((double)out[1].x*out[1].x + (double)out[1].y*out[1].y); size 367 modules/imgproc/src/rotcalipers.cpp box.size.height = (float)std::sqrt((double)out[2].x*out[2].x + (double)out[2].y*out[2].y); size 376 modules/imgproc/src/rotcalipers.cpp box.size.width = (float)std::sqrt(dx*dx + dy*dy); size 377 modules/imgproc/src/rotcalipers.cpp box.size.height = 0; size 410 modules/imgproc/src/samplers.cpp (image.ptr(), image.step, image.size(), patch.ptr(), patch.step, patch.size(), center, cn); size 413 modules/imgproc/src/samplers.cpp (image.ptr(), image.step, image.size(), patch.ptr<float>(), patch.step, patch.size(), center, cn); size 416 modules/imgproc/src/samplers.cpp (image.ptr<float>(), image.step, image.size(), patch.ptr<float>(), patch.step, patch.size(), center, cn); size 429 modules/imgproc/src/samplers.cpp cv::getRectSubPix(src, dst.size(), center, dst, dst.type()); size 441 modules/imgproc/src/samplers.cpp cv::Size win_size = dst.size(); size 451 modules/imgproc/src/samplers.cpp cv::getQuadrangleSubPix_8u32f_CnR( src.ptr(), src.step, src.size(), size 452 modules/imgproc/src/samplers.cpp dst.ptr<float>(), dst.step, dst.size(), size 457 modules/imgproc/src/samplers.cpp cv::warpAffine(src, dst, M, dst.size(), size 70 modules/imgproc/src/segmentation.cpp int sz = (int)storage.size(); size 98 modules/imgproc/src/segmentation.cpp Size size = src.size(); size 160 modules/imgproc/src/segmentation.cpp CV_Assert( src.size() == dst.size() ); size 178 modules/imgproc/src/segmentation.cpp for( j = 0; j < size.width; j++ ) size 179 modules/imgproc/src/segmentation.cpp mask[j] = mask[j + mstep*(size.height-1)] = WSHED; size 183 modules/imgproc/src/segmentation.cpp for( i = 1; i < size.height-1; i++ ) size 186 modules/imgproc/src/segmentation.cpp mask[0] = mask[size.width-1] = WSHED; // boundary pixels size 188 modules/imgproc/src/segmentation.cpp for( j = 1; j < size.width-1; j++ ) size 340 modules/imgproc/src/segmentation.cpp _dst.create( src0.size(), src0.type() ); size 369 modules/imgproc/src/segmentation.cpp if( src0.size() != dst0.size() ) size 392 modules/imgproc/src/segmentation.cpp cv::pyrDown( src_pyramid[level-1], src_pyramid[level], src_pyramid[level].size() ); size 403 modules/imgproc/src/segmentation.cpp cv::Size size = src.size(); size 415 modules/imgproc/src/segmentation.cpp cv::Size size1 = dst_pyramid[level+1].size(); size 416 modules/imgproc/src/segmentation.cpp cv::Mat m( size.height, size.width, CV_8UC1, mask0.ptr() ); size 422 modules/imgproc/src/segmentation.cpp cv::pyrUp( dst_pyramid[level+1], dst_pyramid[level], dst_pyramid[level].size() ); size 442 modules/imgproc/src/segmentation.cpp for( i = 0; i < size.height; i++, sptr += sstep - size.width*3, size 443 modules/imgproc/src/segmentation.cpp dptr += dstep - size.width*3, size 446 modules/imgproc/src/segmentation.cpp for( j = 0; j < size.width; j++, sptr += 3, dptr += 3 ) size 469 modules/imgproc/src/segmentation.cpp maxx = cvRound(x0 + sp); maxx = MIN(maxx, size.width-1); size 470 modules/imgproc/src/segmentation.cpp maxy = cvRound(y0 + sp); maxy = MIN(maxy, size.height-1); size 462 modules/imgproc/src/shapedescr.cpp box.size.width = (float)(rp[2]*2); size 463 modules/imgproc/src/shapedescr.cpp box.size.height = (float)(rp[3]*2); size 464 modules/imgproc/src/shapedescr.cpp if( box.size.width > box.size.height ) size 467 modules/imgproc/src/shapedescr.cpp CV_SWAP( box.size.width, box.size.height, tmp ); size 607 modules/imgproc/src/shapedescr.cpp Size size = img.size(); size 608 modules/imgproc/src/shapedescr.cpp int xmin = size.width, ymin = -1, xmax = -1, ymax = -1, i, j, k; size 610 modules/imgproc/src/shapedescr.cpp for( i = 0; i < size.height; i++ ) size 616 modules/imgproc/src/shapedescr.cpp offset = MIN(offset, size.width); size 630 modules/imgproc/src/shapedescr.cpp if( offset < size.width ) size 634 modules/imgproc/src/shapedescr.cpp size.width -= offset; size 649 modules/imgproc/src/shapedescr.cpp k = size.width - 1; size 681 modules/imgproc/src/shapedescr.cpp size.width += offset; size 691 modules/imgproc/src/shapedescr.cpp if( xmin >= size.width ) size 127 modules/imgproc/src/smooth.cpp if( width != (int)sum.size() ) size 234 modules/imgproc/src/smooth.cpp if( width != (int)sum.size() ) size 409 modules/imgproc/src/smooth.cpp if( width != (int)sum.size() ) size 577 modules/imgproc/src/smooth.cpp if( width != (int)sum.size() ) size 743 modules/imgproc/src/smooth.cpp if( width != (int)sum.size() ) size 893 modules/imgproc/src/smooth.cpp if( width != (int)sum.size() ) size 1053 modules/imgproc/src/smooth.cpp Size size = _src.size(), wholeSize; size 1060 modules/imgproc/src/smooth.cpp size_t globalsize[2] = { size.width, size.height }; size 1070 modules/imgproc/src/smooth.cpp int h = isolated ? size.height : wholeSize.height; size 1071 modules/imgproc/src/smooth.cpp int w = isolated ? size.width : wholeSize.width; size 1087 modules/imgproc/src/smooth.cpp int pxLoadNumPixels = cn != 1 || size.width % 4 ? 1 : 4; size 1095 modules/imgproc/src/smooth.cpp pxPerWorkItemX = size.width % 8 ? size.width % 4 ? size.width % 2 ? 1 : 2 : 4 : 8; size 1096 modules/imgproc/src/smooth.cpp pxPerWorkItemY = size.height % 2 ? 1 : 2; size 1100 modules/imgproc/src/smooth.cpp pxPerWorkItemX = size.width % 2 ? 1 : 2; size 1101 modules/imgproc/src/smooth.cpp pxPerWorkItemY = size.height % 2 ? 1 : 2; size 1103 modules/imgproc/src/smooth.cpp globalsize[0] = size.width / pxPerWorkItemX; size 1104 modules/imgproc/src/smooth.cpp globalsize[1] = size.height / pxPerWorkItemY; size 1144 modules/imgproc/src/smooth.cpp int BLOCK_SIZE_X = tryWorkItems, BLOCK_SIZE_Y = std::min(ksize.height * 10, size.height); size 1146 modules/imgproc/src/smooth.cpp while (BLOCK_SIZE_X > 32 && BLOCK_SIZE_X >= ksize.width * 2 && BLOCK_SIZE_X > size.width * 2) size 1148 modules/imgproc/src/smooth.cpp while (BLOCK_SIZE_Y < BLOCK_SIZE_X / 8 && BLOCK_SIZE_Y * computeUnits * 32 < size.height) size 1168 modules/imgproc/src/smooth.cpp globalsize[0] = DIVUP(size.width, BLOCK_SIZE_X - (ksize.width - 1)) * BLOCK_SIZE_X; size 1169 modules/imgproc/src/smooth.cpp globalsize[1] = DIVUP(size.height, BLOCK_SIZE_Y); size 1185 modules/imgproc/src/smooth.cpp _dst.create(size, CV_MAKETYPE(ddepth, cn)); size 1192 modules/imgproc/src/smooth.cpp int srcEndX = isolated ? srcOffsetX + size.width : wholeSize.width; size 1193 modules/imgproc/src/smooth.cpp int srcEndY = isolated ? srcOffsetY + size.height : wholeSize.height; size 1317 modules/imgproc/src/smooth.cpp _dst.create( src.size(), CV_MAKETYPE(ddepth, cn) ); size 1495 modules/imgproc/src/smooth.cpp Size size = _src.size(); size 1502 modules/imgproc/src/smooth.cpp if( size.height == 1 ) size 1504 modules/imgproc/src/smooth.cpp if( size.width == 1 ) size 1517 modules/imgproc/src/smooth.cpp _dst.create( size, dstType ); size 1633 modules/imgproc/src/smooth.cpp Size size = _src.size(); size 1634 modules/imgproc/src/smooth.cpp _dst.create( size, type ); size 1638 modules/imgproc/src/smooth.cpp if( size.height == 1 ) size 1640 modules/imgproc/src/smooth.cpp if( size.width == 1 ) size 2033 modules/imgproc/src/smooth.cpp Size size = _dst.size(); size 2038 modules/imgproc/src/smooth.cpp const uchar* src_max = src + size.height*src_step; size 2048 modules/imgproc/src/smooth.cpp for( x = 0; x < size.width; x++, src += cn, dst += cn ) size 2058 modules/imgproc/src/smooth.cpp src_bottom = src_top += src_step*(size.height-1); size 2059 modules/imgproc/src/smooth.cpp dst_cur += dst_step*(size.height-1); size 2084 modules/imgproc/src/smooth.cpp if( (src_step1 > 0 && y < size.height-1) || size 2085 modules/imgproc/src/smooth.cpp (src_step1 < 0 && size.height-y-1 > 0) ) size 2089 modules/imgproc/src/smooth.cpp for( y = 0; y < size.height; y++, dst_cur += dst_step1 ) size 2111 modules/imgproc/src/smooth.cpp if( y+1 == size.height ) size 2380 modules/imgproc/src/smooth.cpp Size size = _dst.size(); size 2388 modules/imgproc/src/smooth.cpp if( size.width == 1 || size.height == 1 ) size 2390 modules/imgproc/src/smooth.cpp int len = size.width + size.height - 1; size 2391 modules/imgproc/src/smooth.cpp int sdelta = size.height == 1 ? cn : sstep; size 2392 modules/imgproc/src/smooth.cpp int sdelta0 = size.height == 1 ? 0 : sstep - cn; size 2393 modules/imgproc/src/smooth.cpp int ddelta = size.height == 1 ? cn : dstep; size 2408 modules/imgproc/src/smooth.cpp size.width *= cn; size 2409 modules/imgproc/src/smooth.cpp for( i = 0; i < size.height; i++, dst += dstep ) size 2413 modules/imgproc/src/smooth.cpp const T* row2 = src + std::min(i + 1, size.height-1)*sstep; size 2414 modules/imgproc/src/smooth.cpp int limit = useSIMD ? cn : size.width; size 2421 modules/imgproc/src/smooth.cpp int j2 = j < size.width - cn ? j + cn : j; size 2434 modules/imgproc/src/smooth.cpp if( limit == size.width ) size 2437 modules/imgproc/src/smooth.cpp for( ; j <= size.width - VecOp::SIZE - cn; j += VecOp::SIZE ) size 2451 modules/imgproc/src/smooth.cpp limit = size.width; size 2457 modules/imgproc/src/smooth.cpp if( size.width == 1 || size.height == 1 ) size 2459 modules/imgproc/src/smooth.cpp int len = size.width + size.height - 1; size 2460 modules/imgproc/src/smooth.cpp int sdelta = size.height == 1 ? cn : sstep; size 2461 modules/imgproc/src/smooth.cpp int sdelta0 = size.height == 1 ? 0 : sstep - cn; size 2462 modules/imgproc/src/smooth.cpp int ddelta = size.height == 1 ? cn : dstep; size 2480 modules/imgproc/src/smooth.cpp size.width *= cn; size 2481 modules/imgproc/src/smooth.cpp for( i = 0; i < size.height; i++, dst += dstep ) size 2487 modules/imgproc/src/smooth.cpp row[3] = src + std::min(i + 1, size.height-1)*sstep; size 2488 modules/imgproc/src/smooth.cpp row[4] = src + std::min(i + 2, size.height-1)*sstep; size 2489 modules/imgproc/src/smooth.cpp int limit = useSIMD ? cn*2 : size.width; size 2498 modules/imgproc/src/smooth.cpp int j3 = j < size.width - cn ? j + cn : j; size 2499 modules/imgproc/src/smooth.cpp int j4 = j < size.width - cn*2 ? j + cn*2 : j3; size 2534 modules/imgproc/src/smooth.cpp if( limit == size.width ) size 2537 modules/imgproc/src/smooth.cpp for( ; j <= size.width - VecOp::SIZE - cn*2; j += VecOp::SIZE ) size 2574 modules/imgproc/src/smooth.cpp limit = size.width; size 2591 modules/imgproc/src/smooth.cpp Size imgSize = _src.size(); size 2612 modules/imgproc/src/smooth.cpp _dst.create(src.size(), type); size 2649 modules/imgproc/src/smooth.cpp _dst.create( src0.size(), src0.type() ); size 2769 modules/imgproc/src/smooth.cpp Size size = dest->size(); size 2784 modules/imgproc/src/smooth.cpp for( j = 0; j < size.width; j++ ) size 2832 modules/imgproc/src/smooth.cpp for( j = 0; j < size.width*3; j += 3 ) size 3064 modules/imgproc/src/smooth.cpp Size size = src.size(); size 3132 modules/imgproc/src/smooth.cpp parallel_for_(Range(0, size.height), body, dst.total()/(double)(1<<16)); size 3151 modules/imgproc/src/smooth.cpp Size size = dest->size(); size 3166 modules/imgproc/src/smooth.cpp for( j = 0; j < size.width; j++ ) size 3225 modules/imgproc/src/smooth.cpp for( j = 0; j < size.width*3; j += 3 ) size 3330 modules/imgproc/src/smooth.cpp Size size = src.size(); size 3404 modules/imgproc/src/smooth.cpp parallel_for_(Range(0, size.height), body, dst.total()/(double)(1<<16)); size 3413 modules/imgproc/src/smooth.cpp _dst.create( _src.size(), _src.type() ); size 3437 modules/imgproc/src/smooth.cpp CV_Assert( dst.size() == src.size() && size 48 modules/imgproc/src/subdivision2d.cpp CV_DbgAssert((size_t)(edge >> 2) < qedges.size()); size 64 modules/imgproc/src/subdivision2d.cpp CV_DbgAssert((size_t)(edge >> 2) < qedges.size()); size 71 modules/imgproc/src/subdivision2d.cpp CV_DbgAssert((size_t)(edge >> 2) < qedges.size()); size 75 modules/imgproc/src/subdivision2d.cpp CV_DbgAssert((size_t)vidx < vtx.size()); size 83 modules/imgproc/src/subdivision2d.cpp CV_DbgAssert((size_t)(edge >> 2) < qedges.size()); size 87 modules/imgproc/src/subdivision2d.cpp CV_DbgAssert((size_t)vidx < vtx.size()); size 96 modules/imgproc/src/subdivision2d.cpp CV_DbgAssert((size_t)vertex < vtx.size()); size 233 modules/imgproc/src/subdivision2d.cpp freeQEdge = (int)(qedges.size()-1); size 243 modules/imgproc/src/subdivision2d.cpp CV_DbgAssert((size_t)(edge >> 2) < (size_t)qedges.size()); size 259 modules/imgproc/src/subdivision2d.cpp freePoint = (int)(vtx.size()-1); size 270 modules/imgproc/src/subdivision2d.cpp CV_DbgAssert( (size_t)vidx < vtx.size() ); size 280 modules/imgproc/src/subdivision2d.cpp int i, maxEdges = (int)(qedges.size() * 4); size 282 modules/imgproc/src/subdivision2d.cpp if( qedges.size() < (size_t)4 ) size 453 modules/imgproc/src/subdivision2d.cpp int i, max_edges = (int)(qedges.size()*4); size 482 modules/imgproc/src/subdivision2d.cpp for( size_t i = 0; i < ptvec.size(); i++ ) size 533 modules/imgproc/src/subdivision2d.cpp size_t i, total = qedges.size(); size 538 modules/imgproc/src/subdivision2d.cpp total = vtx.size(); size 579 modules/imgproc/src/subdivision2d.cpp int i, total = (int)qedges.size(); size 664 modules/imgproc/src/subdivision2d.cpp int i, total = (int)vtx.size(); size 713 modules/imgproc/src/subdivision2d.cpp for( size_t i = 4; i < qedges.size(); i++ ) size 729 modules/imgproc/src/subdivision2d.cpp int i, total = (int)(qedges.size()*4); size 762 modules/imgproc/src/subdivision2d.cpp i = 4, total = vtx.size(); size 764 modules/imgproc/src/subdivision2d.cpp i = 0, total = idx.size(); size 791 modules/imgproc/src/subdivision2d.cpp int i, j, total = (int)qedges.size(); size 81 modules/imgproc/src/sumpixels.cpp Size size, int cn) const size 87 modules/imgproc/src/sumpixels.cpp memset(sum, 0, (size.width + 1) * sizeof(int)); size 93 modules/imgproc/src/sumpixels.cpp for (int i = 0; i < size.height; ++i) size 104 modules/imgproc/src/sumpixels.cpp for ( ; j + 7 < size.width; j += 8) size 135 modules/imgproc/src/sumpixels.cpp for (int v = sum_row[j - 1] - prev_sum_row[j - 1]; j < size.width; ++j) size 150 modules/imgproc/src/sumpixels.cpp Size size, int cn ) size 158 modules/imgproc/src/sumpixels.cpp size, cn)) size 166 modules/imgproc/src/sumpixels.cpp size.width *= cn; size 168 modules/imgproc/src/sumpixels.cpp memset( sum, 0, (size.width+cn)*sizeof(sum[0])); size 173 modules/imgproc/src/sumpixels.cpp memset( sqsum, 0, (size.width+cn)*sizeof(sqsum[0])); size 179 modules/imgproc/src/sumpixels.cpp memset( tilted, 0, (size.width+cn)*sizeof(tilted[0])); size 185 modules/imgproc/src/sumpixels.cpp for( y = 0; y < size.height; y++, src += srcstep - cn, sum += sumstep - cn ) size 190 modules/imgproc/src/sumpixels.cpp for( x = 0; x < size.width; x += cn ) size 200 modules/imgproc/src/sumpixels.cpp for( y = 0; y < size.height; y++, src += srcstep - cn, size 207 modules/imgproc/src/sumpixels.cpp for( x = 0; x < size.width; x += cn ) size 222 modules/imgproc/src/sumpixels.cpp AutoBuffer<ST> _buf(size.width+cn); size 230 modules/imgproc/src/sumpixels.cpp for( x = 0, s = 0, sq = 0; x < size.width; x += cn ) size 241 modules/imgproc/src/sumpixels.cpp if( size.width == cn ) size 251 modules/imgproc/src/sumpixels.cpp for( y = 1; y < size.height; y++ ) size 277 modules/imgproc/src/sumpixels.cpp for( x = cn; x < size.width - cn; x += cn ) size 292 modules/imgproc/src/sumpixels.cpp if( size.width > cn ) size 317 modules/imgproc/src/sumpixels.cpp ST* tilted, size_t tiltedstep, Size size, int cn ) \ size 318 modules/imgproc/src/sumpixels.cpp { integral_(src, srcstep, sum, sumstep, sqsum, sqsumstep, tilted, tiltedstep, size, cn); } size 336 modules/imgproc/src/sumpixels.cpp Size size, int cn ); size 359 modules/imgproc/src/sumpixels.cpp Size src_size = src.size(); size 399 modules/imgproc/src/sumpixels.cpp Size src_size = src.size(); size 449 modules/imgproc/src/sumpixels.cpp Size ssize = _src.size(), isize(ssize.width + 1, ssize.height + 1); size 533 modules/imgproc/src/sumpixels.cpp tilted.ptr(), tilted.step, src.size(), cn ); size 111 modules/imgproc/src/templmatch.cpp static bool useNaive(Size size) size 114 modules/imgproc/src/templmatch.cpp return size.height < dft_size && size.width < dft_size; size 175 modules/imgproc/src/templmatch.cpp buf.create(_image.size(), _templ.size()); size 296 modules/imgproc/src/templmatch.cpp if (useNaive(_templ.size())) size 372 modules/imgproc/src/templmatch.cpp if (useNaive(_templ.size())) size 487 modules/imgproc/src/templmatch.cpp Size size = _image.size(), tsize = templ.size(); size 488 modules/imgproc/src/templmatch.cpp _result.create(size.height - templ.rows + 1, size.width - templ.cols + 1, CV_32F); size 711 modules/imgproc/src/templmatch.cpp src = tdepth == maxDepth ? dst1 : Mat(templ.size(), tdepth, &buf[0]); size 731 modules/imgproc/src/templmatch.cpp Size wholeSize = img.size(); size 871 modules/imgproc/src/templmatch.cpp crossCorr( img, mask2_templ, corr, corr.size(), corr.type(), Point(0,0), 0, 0 ); size 872 modules/imgproc/src/templmatch.cpp crossCorr( img2, mask, result, result.size(), result.type(), Point(0,0), 0, 0 ); size 886 modules/imgproc/src/templmatch.cpp crossCorr( img2, mask2, corr, corr.size(), corr.type(), Point(0,0), 0, 0 ); size 887 modules/imgproc/src/templmatch.cpp crossCorr( img, mask_templ, result, result.size(), result.type(), Point(0,0), 0, 0 ); size 912 modules/imgproc/src/templmatch.cpp bool needswap = _img.size().height < _templ.size().height || _img.size().width < _templ.size().width; size 915 modules/imgproc/src/templmatch.cpp CV_Assert(_img.size().height <= _templ.size().height && _img.size().width <= _templ.size().width); size 964 modules/imgproc/src/templmatch.cpp crossCorr( img, templ, result, result.size(), result.type(), Point(0,0), 0, 0); size 973 modules/imgproc/src/templmatch.cpp crossCorr( img, templ, result, result.size(), result.type(), Point(0,0), 0, 0); size 1091 modules/imgproc/src/templmatch.cpp CV_Assert( result.size() == cv::Size(std::abs(img.cols - templ.cols) + 1, size 54 modules/imgproc/src/thresh.cpp Size roi = _src.size(); size 392 modules/imgproc/src/thresh.cpp Size roi = _src.size(); size 661 modules/imgproc/src/thresh.cpp Size roi = _src.size(); size 911 modules/imgproc/src/thresh.cpp Size size = _src.size(); size 915 modules/imgproc/src/thresh.cpp size.width *= size.height; size 916 modules/imgproc/src/thresh.cpp size.height = 1; size 917 modules/imgproc/src/thresh.cpp step = size.width; size 923 modules/imgproc/src/thresh.cpp IppiSize srcSize = { size.width, size.height }; size 939 modules/imgproc/src/thresh.cpp for( i = 0; i < size.height; i++ ) size 944 modules/imgproc/src/thresh.cpp for( ; j <= size.width - 4; j += 4 ) size 952 modules/imgproc/src/thresh.cpp for( ; j < size.width; j++ ) size 956 modules/imgproc/src/thresh.cpp double mu = 0, scale = 1./(size.width*size.height); size 992 modules/imgproc/src/thresh.cpp Size size = _src.size(); size 996 modules/imgproc/src/thresh.cpp size.width *= size.height; size 997 modules/imgproc/src/thresh.cpp size.height = 1; size 998 modules/imgproc/src/thresh.cpp step = size.width; size 1003 modules/imgproc/src/thresh.cpp for( i = 0; i < size.height; i++ ) size 1008 modules/imgproc/src/thresh.cpp for( ; j <= size.width - 4; j += 4 ) size 1016 modules/imgproc/src/thresh.cpp for( ; j < size.width; j++ ) size 1163 modules/imgproc/src/thresh.cpp _dst.create(src.size(), type); size 1207 modules/imgproc/src/thresh.cpp _dst.create( src.size(), src.type() ); size 1282 modules/imgproc/src/thresh.cpp Size size = src.size(); size 1284 modules/imgproc/src/thresh.cpp _dst.create( size, src.type() ); size 1322 modules/imgproc/src/thresh.cpp size.width *= size.height; size 1323 modules/imgproc/src/thresh.cpp size.height = 1; size 1326 modules/imgproc/src/thresh.cpp for( i = 0; i < size.height; i++ ) size 1332 modules/imgproc/src/thresh.cpp for( j = 0; j < size.width; j++ ) size 1342 modules/imgproc/src/thresh.cpp CV_Assert( src.size == dst.size && src.channels() == dst.channels() && size 1357 modules/imgproc/src/thresh.cpp CV_Assert( src.size == dst.size && src.type() == dst.type() ); size 64 modules/imgproc/src/undistort.cpp Size size, int m1type, OutputArray _map1, OutputArray _map2 ) size 72 modules/imgproc/src/undistort.cpp _map1.create( size, m1type ); size 76 modules/imgproc/src/undistort.cpp _map2.create( size, m1type == CV_16SC2 ? CV_16UC1 : CV_32FC1 ); size 88 modules/imgproc/src/undistort.cpp Ar = getDefaultNewCameraMatrix( A, size, true ); size 101 modules/imgproc/src/undistort.cpp CV_Assert( A.size() == Size(3,3) && A.size() == R.size() ); size 102 modules/imgproc/src/undistort.cpp CV_Assert( Ar.size() == Size(3,3) || Ar.size() == Size(4, 3)); size 109 modules/imgproc/src/undistort.cpp CV_Assert( distCoeffs.size() == Size(1, 4) || distCoeffs.size() == Size(4, 1) || size 110 modules/imgproc/src/undistort.cpp distCoeffs.size() == Size(1, 5) || distCoeffs.size() == Size(5, 1) || size 111 modules/imgproc/src/undistort.cpp distCoeffs.size() == Size(1, 8) || distCoeffs.size() == Size(8, 1) || size 112 modules/imgproc/src/undistort.cpp distCoeffs.size() == Size(1, 12) || distCoeffs.size() == Size(12, 1)); size 131 modules/imgproc/src/undistort.cpp for( int i = 0; i < size.height; i++ ) size 139 modules/imgproc/src/undistort.cpp for( int j = 0; j < size.width; j++, _x += ir[0], _y += ir[3], _w += ir[6] ) size 176 modules/imgproc/src/undistort.cpp _dst.create( src.size(), src.type() ); size 224 modules/imgproc/src/undistort.cpp CV_Assert( src.size() == dst.size() && src.type() == dst.type() ); size 239 modules/imgproc/src/undistort.cpp mapx.size(), mapx.type(), mapx, mapy ); size 260 modules/imgproc/src/undistort.cpp cv::initUndistortRectifyMap( A, distCoeffs, R, Ar, mapx.size(), mapx.type(), mapx, mapy ); size 403 modules/imgproc/src/undistort.cpp _dst.create(src.size(), src.type(), -1, true); size 517 modules/imgproc/src/undistort.cpp CV_Assert(cameraMatrix0.size() == Size(3,3)); size 568 modules/imgproc/src/undistort.cpp _map1.create(mapxy.size(), mapxy.type()); size 82 modules/imgproc/test/ocl/test_canny.cpp Size roiSize = img.size(); size 60 modules/imgproc/test/ocl/test_filter2d.cpp Size size; size 84 modules/imgproc/test/ocl/test_filter2d.cpp size = randomSize(1, MAX_VALUE); size 86 modules/imgproc/test/ocl/test_filter2d.cpp size.width &= ~((widthMultiple * 2) - 1); size 87 modules/imgproc/test/ocl/test_filter2d.cpp size.width += widthMultiple; size 90 modules/imgproc/test/ocl/test_filter2d.cpp randomSubMat(src, src_roi, size, srcBorder, type, -MAX_VALUE, MAX_VALUE); size 93 modules/imgproc/test/ocl/test_filter2d.cpp randomSubMat(dst, dst_roi, size, dstBorder, type, -MAX_VALUE, MAX_VALUE); size 95 modules/imgproc/test/ocl/test_filter2d.cpp anchor.x = randomInt(-1, kernel.size[0]); size 96 modules/imgproc/test/ocl/test_filter2d.cpp anchor.y = randomInt(-1, kernel.size[1]); size 69 modules/imgproc/test/ocl/test_filters.cpp Size size; size 81 modules/imgproc/test/ocl/test_filters.cpp size = GET_PARAM(2); size 176 modules/imgproc/test/ocl/test_filters.cpp int dx = size.width, dy = size.height; size 197 modules/imgproc/test/ocl/test_filters.cpp int dx = size.width, dy = size.height; size 77 modules/imgproc/test/ocl/test_gftt.cpp Size roiSize = frame.size(); size 87 modules/imgproc/test/ocl/test_gftt.cpp v.resize(um.size().area()); size 88 modules/imgproc/test/ocl/test_gftt.cpp um.copyTo(Mat(um.size(), CV_32FC2, &v[0])); size 111 modules/imgproc/test/ocl/test_gftt.cpp ASSERT_EQ(upts.size(), pts.size()); size 114 modules/imgproc/test/ocl/test_gftt.cpp for (size_t i = 0; i < pts.size(); ++i) size 124 modules/imgproc/test/ocl/test_gftt.cpp double bad_ratio = static_cast<double>(mistmatch) / pts.size(); size 130 modules/imgproc/test/ocl/test_histogram.cpp randomSubMat(hist, hist_roi, tmpHist.size(), histBorder, tmpHist.type(), 0, MAX_VALUE); size 184 modules/imgproc/test/ocl/test_histogram.cpp Size dstSize = dst1.size(); size 208 modules/imgproc/test/ocl/test_histogram.cpp Size dstSize = dst_roi.size(); size 68 modules/imgproc/test/ocl/test_houghlines.cpp EXPECT_EQ(dst.size(), udst.size()); size 141 modules/imgproc/test/ocl/test_houghlines.cpp Mat result_cpu(src.size(), CV_8UC1, Scalar::all(0)); size 142 modules/imgproc/test/ocl/test_houghlines.cpp Mat result_gpu(src.size(), CV_8UC1, Scalar::all(0)); size 209 modules/imgproc/test/ocl/test_imgproc.cpp Size roiSize = image.size(); size 107 modules/imgproc/test/test_bilateral_filter.cpp Size size = src.size(); size 109 modules/imgproc/test/test_bilateral_filter.cpp dst.create(size, src.type()); size 112 modules/imgproc/test/test_bilateral_filter.cpp src.type() == dst.type() && src.size() == dst.size() && size 181 modules/imgproc/test/test_bilateral_filter.cpp for( i = 0; i < size.height; i++ ) size 188 modules/imgproc/test/test_bilateral_filter.cpp for( j = 0; j < size.width; j++ ) size 208 modules/imgproc/test/test_bilateral_filter.cpp for( j = 0; j < size.width*3; j += 3 ) size 238 modules/imgproc/test/test_bilateral_filter.cpp Size size(getRandInt(rng, MIN_WIDTH, MAX_WIDTH), getRandInt(rng, MIN_HEIGHT, MAX_HEIGHT)); size 243 modules/imgproc/test/test_bilateral_filter.cpp _src.create(size, type); size 80 modules/imgproc/test/test_boundingrect.cpp int n = (int)src.size(); size 144 modules/imgproc/test/test_color.cpp if( test_array[OUTPUT].size() > 1 ) size 1742 modules/imgproc/test/test_color.cpp Size ssize = src.size(); size 1837 modules/imgproc/test/test_color.cpp reference.size() != dst.size()) size 1896 modules/imgproc/test/test_color.cpp Size ssize = reference.size(); size 1935 modules/imgproc/test/test_color.cpp Size ssize = src.size(); size 1957 modules/imgproc/test/test_color.cpp dst.create(src.size(), CV_MAKETYPE(src.depth(), 3)); size 1958 modules/imgproc/test/test_color.cpp Size size = src.size(); size 1959 modules/imgproc/test/test_color.cpp size.width -= 1; size 1960 modules/imgproc/test/test_color.cpp size.height -= 1; size 1972 modules/imgproc/test/test_color.cpp for (int y = 1; y < size.height; ++y) size 1979 modules/imgproc/test/test_color.cpp for (int x = 1; x < size.width; x += 2, S += 2, D += 2*dcn) size 1992 modules/imgproc/test/test_color.cpp for (int x = 2; x < size.width; x += 2, S += 2, D += 2*dcn) size 2004 modules/imgproc/test/test_color.cpp for (int x = 1; x < size.width; x += 2, S += 2, D += 2*dcn) size 2016 modules/imgproc/test/test_color.cpp for (int x = 2; x < size.width; x += 2, S += 2, D += 2*dcn) size 2037 modules/imgproc/test/test_color.cpp ++size.width; size 2038 modules/imgproc/test/test_color.cpp uchar* firstRow = dst.ptr(), *lastRow = dst.ptr(size.height); size 2039 modules/imgproc/test/test_color.cpp size.width *= dcn; size 2040 modules/imgproc/test/test_color.cpp for (int x = 0; x < size.width; ++x) size 2051 modules/imgproc/test/test_color.cpp EXPECT_EQ(actual.size(), reference.size()); size 2055 modules/imgproc/test/test_color.cpp Size size = reference.size(); size 2057 modules/imgproc/test/test_color.cpp size.width *= dcn; size 2059 modules/imgproc/test/test_color.cpp for (int y = 0; y < size.height && next; ++y) size 2064 modules/imgproc/test/test_color.cpp for (int x = 0; x < size.width && next; ++x) size 2161 modules/imgproc/test/test_color.cpp EXPECT_EQ(reference.size(), actual.size()); size 2165 modules/imgproc/test/test_color.cpp Size ssize = raw.size(); size 88 modules/imgproc/test/test_connectedcomponents.cpp if( exp.empty() || orig.size() != exp.size() ) size 153 modules/imgproc/test/test_contours.cpp CvSize size; size 161 modules/imgproc/test/test_contours.cpp size = cvGetSize( img ); size 170 modules/imgproc/test/test_contours.cpp center.x = cvtest::randInt(rng) % size.width; size 171 modules/imgproc/test/test_contours.cpp center.y = cvtest::randInt(rng) % size.height; size 483 modules/imgproc/test/test_contours.cpp printf("ncontours = %d, contour[0].npoints=%d\n", (int)contours.size(), (int)contours[0].size()); size 489 modules/imgproc/test/test_contours.cpp ASSERT_EQ(1, (int)contours.size()); size 490 modules/imgproc/test/test_contours.cpp ASSERT_EQ(9832, (int)contours[0].size()); size 336 modules/imgproc/test/test_convhull.cpp int size; size 345 modules/imgproc/test/test_convhull.cpp size = cvRound( exp((cvtest::randReal(rng) * (max_log_size - min_log_size) + min_log_size)*CV_LOG2) ); size 354 modules/imgproc/test/test_convhull.cpp cvSeqPushMulti( points1, 0, size ); size 359 modules/imgproc/test/test_convhull.cpp int rows = 1, cols = size; size 361 modules/imgproc/test/test_convhull.cpp rows = size, cols = 1; size 515 modules/imgproc/test/test_convhull.cpp n = _hull.size(); size 522 modules/imgproc/test/test_convhull.cpp n = _hull.size(); size 529 modules/imgproc/test/test_convhull.cpp n = _hull.size(); size 648 modules/imgproc/test/test_convhull.cpp if( cvtest::norm( _mask, Mat::zeros(_mask.dims, _mask.size, _mask.type()), NORM_L1 ) != hull_count ) size 861 modules/imgproc/test/test_convhull.cpp int polygonVertices = (int) convexPolygon.size(); size 1167 modules/imgproc/test/test_convhull.cpp box0.size.width = (float)(MAX(high.val[0] - low.val[0], min_ellipse_size)*2); size 1168 modules/imgproc/test/test_convhull.cpp box0.size.height = (float)(MAX(high.val[1] - low.val[1], min_ellipse_size)*2); size 1173 modules/imgproc/test/test_convhull.cpp if( box0.size.width > box0.size.height ) size 1176 modules/imgproc/test/test_convhull.cpp CV_SWAP( box0.size.width, box0.size.height, t ); size 1203 modules/imgproc/test/test_convhull.cpp double x = box0.size.height*0.5*(cos(angle) + (cvtest::randReal(rng)-0.5)*2*max_noise); size 1204 modules/imgproc/test/test_convhull.cpp double y = box0.size.width*0.5*(sin(angle) + (cvtest::randReal(rng)-0.5)*2*max_noise); size 1249 modules/imgproc/test/test_convhull.cpp cvIsNaN(box.size.width) || cvIsInf(box.size.width) || size 1250 modules/imgproc/test/test_convhull.cpp cvIsNaN(box.size.height) || cvIsInf(box.size.height) || size 1254 modules/imgproc/test/test_convhull.cpp box.center.x, box.center.y, box.size.width, box.size.height, box.angle ); size 1267 modules/imgproc/test/test_convhull.cpp fabs(box.size.width - box0.size.width) > 0.1*fabs(box0.size.width) || size 1268 modules/imgproc/test/test_convhull.cpp fabs(box.size.height - box0.size.height) > 0.1*fabs(box0.size.height) ) size 1272 modules/imgproc/test/test_convhull.cpp box.center.x, box.center.y, box.size.width, box.size.height, size 1273 modules/imgproc/test/test_convhull.cpp box0.center.x, box0.center.y, box0.size.width, box0.size.height ); size 1282 modules/imgproc/test/test_convhull.cpp if( box0.size.height >= 1.3*box0.size.width && diff_angle > 30 ) size 1351 modules/imgproc/test/test_convhull.cpp fabs(e.size.width - 9) <= 1. && size 1352 modules/imgproc/test/test_convhull.cpp fabs(e.size.height - 9) <= 1. ); size 1396 modules/imgproc/test/test_convhull.cpp box0.size.width = (float)width*2; size 1397 modules/imgproc/test/test_convhull.cpp box0.size.height = (float)height*2; size 25 modules/imgproc/test/test_cvtyuv.cpp virtual Size size(Size imgSize) = 0; size 76 modules/imgproc/test/test_cvtyuv.cpp virtual Size size(Size imgSize) = 0; size 572 modules/imgproc/test/test_cvtyuv.cpp return (yuvReader_ != 0) ? yuvReader_->size(imgSize) : imgSize; size 577 modules/imgproc/test/test_cvtyuv.cpp return (yuvWriter_ != 0) ? yuvWriter_->size(imgSize) : imgSize; size 674 modules/imgproc/test/test_cvtyuv.cpp Mat gold_full(dst_full.size(), CV_8UC(dcn), Scalar::all(0)); size 112 modules/imgproc/test/test_distancetransform.cpp Size sz = test_mat[INPUT][0].size(); size 1004 modules/imgproc/test/test_filter.cpp dst.create(src0.size(), src0.depth()); size 1171 modules/imgproc/test/test_filter.cpp Mat temp(dst.size(), dst.type()); size 1310 modules/imgproc/test/test_filter.cpp Mat dx2, dy2, dxdy(src.size(), CV_32F), kernel; size 1678 modules/imgproc/test/test_filter.cpp Size size = img.size(); size 1680 modules/imgproc/test/test_filter.cpp memset( sdata, 0, (size.width+1)*sizeof(sdata[0]) ); size 1682 modules/imgproc/test/test_filter.cpp memset( sqdata, 0, (size.width+1)*sizeof(sqdata[0]) ); size 1684 modules/imgproc/test/test_filter.cpp memset( tdata, 0, (size.width+1)*sizeof(tdata[0]) ); size 1686 modules/imgproc/test/test_filter.cpp for( ; size.height--; data += step ) size 1694 modules/imgproc/test/test_filter.cpp for( x = 0; x <= size.width; x++ ) size 1715 modules/imgproc/test/test_filter.cpp if( x < size.width ) size 1918 modules/imgproc/test/test_filter.cpp EXPECT_EQ(expected_dst.size(), dst.size()); size 170 modules/imgproc/test/test_floodfill.cpp tmp.create(arr.size(), CV_MAKETYPE(CV_8U, arr.channels())); size 84 modules/imgproc/test/test_grabcut.cpp if (img.empty() || (!mask_prob.empty() && img.size() != mask_prob.size()) || size 85 modules/imgproc/test/test_grabcut.cpp (!exp_mask1.empty() && img.size() != exp_mask1.size()) || size 86 modules/imgproc/test/test_grabcut.cpp (!exp_mask2.empty() && img.size() != exp_mask2.size()) ) size 114 modules/imgproc/test/test_histograms.cpp for( size_t i = 0; i < hist.size(); i++ ) size 1685 modules/imgproc/test/test_histograms.cpp CvSize size = cvGetSize(dst); size 1702 modules/imgproc/test/test_histograms.cpp for( y = 0; y < size.height; y++ ) size 1704 modules/imgproc/test/test_histograms.cpp for( x = 0; x < size.width; x++ ) size 109 modules/imgproc/test/test_imgwarp.cpp if( test_array[INPUT].size() > 1 ) size 541 modules/imgproc/test/test_imgwarp.cpp Mat mapx(dst.size(), CV_32F), mapy(dst.size(), CV_32F); size 562 modules/imgproc/test/test_imgwarp.cpp Mat mask( dst.size(), CV_8U ); size 662 modules/imgproc/test/test_imgwarp.cpp Mat mapx(dst.size(), CV_32F), mapy(dst.size(), CV_32F); size 688 modules/imgproc/test/test_imgwarp.cpp Mat mask( dst.size(), CV_8U ); size 776 modules/imgproc/test/test_imgwarp.cpp cvtest::initUndistortMap( _a, _k, test_mat[INPUT][1].size(), test_mat[INPUT][1], test_mat[INPUT][2] ); size 785 modules/imgproc/test/test_imgwarp.cpp Mat mask( dst.size(), CV_8U ); size 959 modules/imgproc/test/test_imgwarp.cpp cvtest::initUndistortMap( test_mat[INPUT][1], test_mat[INPUT][2], dst.size(), mapx, mapy ); size 960 modules/imgproc/test/test_imgwarp.cpp Mat mask( dst.size(), CV_8U ); size 1085 modules/imgproc/test/test_imgwarp.cpp cvtest::initUndistortMap( test_mat[INPUT][0], test_mat[INPUT][1], test_mat[REF_OUTPUT][0].size(), mapx, mapy ); size 1207 modules/imgproc/test/test_imgwarp.cpp cv::getRectSubPix( cv::cvarrToMat(test_array[INPUT][0]), _out.size(), center, _out, _out.type()); size 1239 modules/imgproc/test/test_imgwarp.cpp dst.create(dst0.size(), ftype); size 1364 modules/imgproc/test/test_imgwarp.cpp dst.create(dst0.size(), ftype); size 1402 modules/imgproc/test/test_imgwarp.cpp ASSERT_EQ(line.size(), (size_t)6); size 1422 modules/imgproc/test/test_imgwarp.cpp ASSERT_EQ(line.size(), (size_t)4); size 1432 modules/imgproc/test/test_imgwarp.cpp ASSERT_EQ(line1.size(), (size_t)4); size 1442 modules/imgproc/test/test_imgwarp.cpp ASSERT_EQ(line2.size(), (size_t)4); size 1452 modules/imgproc/test/test_imgwarp.cpp ASSERT_EQ(line1.size(), (size_t)6); size 1462 modules/imgproc/test/test_imgwarp.cpp ASSERT_EQ(line2.size(), (size_t)6); size 1495 modules/imgproc/test/test_imgwarp.cpp cv::Mat actual(expected.size(), expected.type()); size 1500 modules/imgproc/test/test_imgwarp.cpp ASSERT_EQ(actual.size(), expected.size()); size 1508 modules/imgproc/test/test_imgwarp.cpp Size dsize = actual.size(); size 1597 modules/imgproc/test/test_imgwarp.cpp const int size = 1000; size 1613 modules/imgproc/test/test_imgwarp.cpp cv::Mat src(size, size, type), dst_actual(size >> 1, size >> 1, type), size 1614 modules/imgproc/test/test_imgwarp.cpp dst_reference(size >> 1, size >> 1, type); size 1629 modules/imgproc/test/test_imgwarp.cpp cv::resize(src, dst_actual, dst_actual.size(), 0, 0, cv::INTER_AREA); size 1648 modules/imgproc/test/test_imgwarp.cpp warpAffine(src, dst, rot, src.size()); size 1652 modules/imgproc/test/test_imgwarp.cpp warpPerspective(src, dst, rot2, src.size()); size 1678 modules/imgproc/test/test_imgwarp.cpp dst.create( src.size(), src.type() ); size 1679 modules/imgproc/test/test_imgwarp.cpp map_x.create( src.size(), CV_32FC1 ); size 1680 modules/imgproc/test/test_imgwarp.cpp map_y.create( src.size(), CV_32FC1 ); size 139 modules/imgproc/test/test_imgwarp_strict.cpp Size size; size 140 modules/imgproc/test/test_imgwarp_strict.cpp size.width = static_cast<int>(std::exp(rng.uniform(1.0f, 7.0f))); size 141 modules/imgproc/test/test_imgwarp_strict.cpp size.height = static_cast<int>(std::exp(rng.uniform(1.0f, 7.0f))); size 143 modules/imgproc/test/test_imgwarp_strict.cpp return size; size 211 modules/imgproc/test/test_imgwarp_strict.cpp reference_dst = Mat::zeros(dst.size(), CV_MAKE_TYPE(CV_32F, dst.channels())); size 242 modules/imgproc/test/test_imgwarp_strict.cpp Size dsize = dst.size(), ssize = src.size(); size 438 modules/imgproc/test/test_imgwarp_strict.cpp cv::resize(src, dst, dst.size(), 0, 0, interpolation); size 460 modules/imgproc/test/test_imgwarp_strict.cpp Size ssize = src.size(), dsize = reference_dst.size(); size 514 modules/imgproc/test/test_imgwarp_strict.cpp Size dsize = _dst.size(); size 576 modules/imgproc/test/test_imgwarp_strict.cpp size_t length = _dim.size(); size 587 modules/imgproc/test/test_imgwarp_strict.cpp Size dsize = reference_dst.size(), ssize = src.size(); size 675 modules/imgproc/test/test_imgwarp_strict.cpp mapx.create(dst.size(), mapx_types[rng.uniform(0, sizeof(mapx_types) / sizeof(int))]); size 695 modules/imgproc/test/test_imgwarp_strict.cpp mapy.create(dst.size(), mapy_types[rng.uniform(0, sizeof(mapy_types) / sizeof(int))]); size 721 modules/imgproc/test/test_imgwarp_strict.cpp mapy.create(dst.size(), CV_32FC1); size 832 modules/imgproc/test/test_imgwarp_strict.cpp Size ssize = _src.size(), dsize = _dst.size(); size 888 modules/imgproc/test/test_imgwarp_strict.cpp Size ssize = _src.size(), dsize = _dst.size(); size 1036 modules/imgproc/test/test_imgwarp_strict.cpp cv::warpAffine(src, dst, M, dst.size(), interpolation, borderType, borderValue); size 1053 modules/imgproc/test/test_imgwarp_strict.cpp Size dsize = _dst.size(); size 1055 modules/imgproc/test/test_imgwarp_strict.cpp CV_Assert(_src.size().area() > 0); size 1157 modules/imgproc/test/test_imgwarp_strict.cpp cv::warpPerspective(src, dst, M, dst.size(), interpolation, borderType, borderValue); size 1169 modules/imgproc/test/test_imgwarp_strict.cpp Size ssize = _src.size(), dsize = _dst.size(); size 106 modules/imgproc/test/test_intersection.cpp rect1.size.width = 2; size 107 modules/imgproc/test/test_intersection.cpp rect1.size.height = 2; size 112 modules/imgproc/test/test_intersection.cpp rect2.size.width = 2; size 113 modules/imgproc/test/test_intersection.cpp rect2.size.height = 2; size 132 modules/imgproc/test/test_intersection.cpp rect1.size.width = 2; size 133 modules/imgproc/test/test_intersection.cpp rect1.size.height = 2; size 138 modules/imgproc/test/test_intersection.cpp rect2.size.width = 2; size 139 modules/imgproc/test/test_intersection.cpp rect2.size.height = 2; size 147 modules/imgproc/test/test_intersection.cpp CV_Assert(vertices.size() == 4); size 156 modules/imgproc/test/test_intersection.cpp for( size_t i = 0; i < vertices.size(); i++ ) size 160 modules/imgproc/test/test_intersection.cpp for( size_t j = 0; j < possibleVertices.size(); j++ ) size 180 modules/imgproc/test/test_intersection.cpp rect1.size.width = 2; size 181 modules/imgproc/test/test_intersection.cpp rect1.size.height = 2; size 186 modules/imgproc/test/test_intersection.cpp rect2.size.width = sqrt(2.0f); size 187 modules/imgproc/test/test_intersection.cpp rect2.size.height = 20; size 195 modules/imgproc/test/test_intersection.cpp CV_Assert(vertices.size() == 3); size 203 modules/imgproc/test/test_intersection.cpp for( size_t i = 0; i < vertices.size(); i++ ) size 207 modules/imgproc/test/test_intersection.cpp for( size_t j = 0; j < possibleVertices.size(); j++ ) size 228 modules/imgproc/test/test_intersection.cpp rect1.size.width = 2; size 229 modules/imgproc/test/test_intersection.cpp rect1.size.height = 2; size 234 modules/imgproc/test/test_intersection.cpp rect2.size.width = 2; size 235 modules/imgproc/test/test_intersection.cpp rect2.size.height = 2; size 243 modules/imgproc/test/test_intersection.cpp CV_Assert(vertices.size() == 4); size 252 modules/imgproc/test/test_intersection.cpp for( size_t i = 0; i < vertices.size(); i++ ) size 256 modules/imgproc/test/test_intersection.cpp for( size_t j = 0; j < possibleVertices.size(); j++ ) size 277 modules/imgproc/test/test_intersection.cpp rect1.size.width = 2; size 278 modules/imgproc/test/test_intersection.cpp rect1.size.height = 2; size 283 modules/imgproc/test/test_intersection.cpp rect2.size.width = 2; size 284 modules/imgproc/test/test_intersection.cpp rect2.size.height = 2; size 292 modules/imgproc/test/test_intersection.cpp CV_Assert(vertices.size() == 8); size 305 modules/imgproc/test/test_intersection.cpp for( size_t i = 0; i < vertices.size(); i++ ) size 309 modules/imgproc/test/test_intersection.cpp for( size_t j = 0; j < possibleVertices.size(); j++ ) size 330 modules/imgproc/test/test_intersection.cpp rect1.size.width = 2; size 331 modules/imgproc/test/test_intersection.cpp rect1.size.height = 2; size 336 modules/imgproc/test/test_intersection.cpp rect2.size.width = 2; size 337 modules/imgproc/test/test_intersection.cpp rect2.size.height = 10; size 345 modules/imgproc/test/test_intersection.cpp CV_Assert(vertices.size() == 4); size 354 modules/imgproc/test/test_intersection.cpp for( size_t i = 0; i < vertices.size(); i++ ) size 358 modules/imgproc/test/test_intersection.cpp for( size_t j = 0; j < possibleVertices.size(); j++ ) size 379 modules/imgproc/test/test_intersection.cpp rect1.size.width = 12.34f; size 380 modules/imgproc/test/test_intersection.cpp rect1.size.height = 56.78f; size 385 modules/imgproc/test/test_intersection.cpp rect2.size.width = 2; size 386 modules/imgproc/test/test_intersection.cpp rect2.size.height = 2; size 394 modules/imgproc/test/test_intersection.cpp CV_Assert(vertices.size() == 4); size 403 modules/imgproc/test/test_intersection.cpp for( size_t i = 0; i < vertices.size(); i++ ) size 407 modules/imgproc/test/test_intersection.cpp for( size_t j = 0; j < possibleVertices.size(); j++ ) size 428 modules/imgproc/test/test_intersection.cpp rect1.size.width = 2; size 429 modules/imgproc/test/test_intersection.cpp rect1.size.height = 2; size 434 modules/imgproc/test/test_intersection.cpp rect2.size.width = 2; size 435 modules/imgproc/test/test_intersection.cpp rect2.size.height = 2; size 443 modules/imgproc/test/test_intersection.cpp CV_Assert(vertices.size() == 1); size 460 modules/imgproc/test/test_intersection.cpp rect1.size.width = 2; size 461 modules/imgproc/test/test_intersection.cpp rect1.size.height = 2; size 466 modules/imgproc/test/test_intersection.cpp rect2.size.width = 2; size 467 modules/imgproc/test/test_intersection.cpp rect2.size.height = 123.45f; size 475 modules/imgproc/test/test_intersection.cpp CV_Assert(vertices.size() == 2); size 482 modules/imgproc/test/test_intersection.cpp for( size_t i = 0; i < vertices.size(); i++ ) size 486 modules/imgproc/test/test_intersection.cpp for( size_t j = 0; j < possibleVertices.size(); j++ ) size 116 modules/imgproc/test/test_lsd.cpp if(40u >= lines.size()) ++passedtests; size 129 modules/imgproc/test/test_lsd.cpp if(0u == lines.size()) ++passedtests; size 143 modules/imgproc/test/test_lsd.cpp if(numOfLines * 2 == lines.size()) ++passedtests; // * 2 because of Gibbs effect size 156 modules/imgproc/test/test_lsd.cpp if(2u <= lines.size()) ++passedtests; size 169 modules/imgproc/test/test_lsd.cpp if(50u >= lines.size()) ++passedtests; size 182 modules/imgproc/test/test_lsd.cpp if(0u == lines.size()) ++passedtests; size 196 modules/imgproc/test/test_lsd.cpp if(numOfLines * 2 == lines.size()) ++passedtests; // * 2 because of Gibbs effect size 209 modules/imgproc/test/test_lsd.cpp if(4u <= lines.size()) ++passedtests; size 222 modules/imgproc/test/test_lsd.cpp if(50u >= lines.size()) ++passedtests; size 235 modules/imgproc/test/test_lsd.cpp if(0u == lines.size()) ++passedtests; size 249 modules/imgproc/test/test_lsd.cpp if(numOfLines * 2 == lines.size()) ++passedtests; // * 2 because of Gibbs effect size 262 modules/imgproc/test/test_lsd.cpp if(8u <= lines.size()) ++passedtests; size 77 modules/imgproc/test/test_pc.cpp createHanningWindow(hann, r1.size(), CV_64F); size 76 modules/imgproc/test/test_watershed.cpp Mat markers(orig.size(), CV_32SC1); size 92 modules/imgproc/test/test_watershed.cpp const int compNum = (int)(colors.size() - 1); size 118 modules/imgproc/test/test_watershed.cpp if( exp.empty() || orig.size() != exp.size() ) size 209 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java if (list1.size() != list2.size()) { size 219 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java for (int i = 0; i < list1.size(); i++) size 224 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java if (list1.size() != list2.size()) { size 228 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java for (int i = 0; i < list1.size(); i++) size 253 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java if (list1.size() != list2.size()) { size 257 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java for (int i = 0; i < list1.size(); i++) size 262 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java if (list1.size() != list2.size()) { size 266 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java for (int i = 0; i < list1.size(); i++) size 279 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java if (list1.size() != list2.size()) { size 283 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java for (int i = 0; i < list1.size(); i++) size 288 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java if (list1.size() != list2.size()) { size 292 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java for (int i = 0; i < list1.size(); i++) size 323 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.size - actual.size) < eps); size 331 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertEquals(expected.size(), actual.size()); size 332 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java for (int i = 0; i < expected.size(); i++) size 134 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java final int size = 256; size 135 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java Bitmap bmp = Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888); size 136 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java Mat mOrig = new Mat(size, size, CvType.CV_8UC4); size 137 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java Mat mUnPre = new Mat(size, size, CvType.CV_8UC4); size 138 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java for(int y=0; y<size; y++) { size 140 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java for(int x=0; x<size; x++) { size 161 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java Bitmap bmp1 = Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888); size 169 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java assertTrue(numDiff < size * 4); size 92 modules/java/generator/src/cpp/Mat.cpp Size size((int)size_width, (int)size_height); size 93 modules/java/generator/src/cpp/Mat.cpp return (jlong) new Mat( size, type ); size 145 modules/java/generator/src/cpp/Mat.cpp Size size((int)size_width, (int)size_height); size 147 modules/java/generator/src/cpp/Mat.cpp return (jlong) new Mat( size, type, s ); size 661 modules/java/generator/src/cpp/Mat.cpp Size size((int)size_width, (int)size_height); size 662 modules/java/generator/src/cpp/Mat.cpp me->create( size, type ); size 941 modules/java/generator/src/cpp/Mat.cpp Size size((int)size_width, (int)size_height); size 942 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = Mat::eye( size, type ); size 1174 modules/java/generator/src/cpp/Mat.cpp Size size((int)size_width, (int)size_height); size 1175 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = Mat::ones( size, type ); size 1490 modules/java/generator/src/cpp/Mat.cpp Size _retval_ = me->size( ); size 1727 modules/java/generator/src/cpp/Mat.cpp Size size((int)size_width, (int)size_height); size 1728 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = Mat::zeros( size, type ); size 198 modules/java/generator/src/cpp/converters.cpp int count = (int)v_mat.size(); size 212 modules/java/generator/src/cpp/converters.cpp for(size_t i=0; i<vm.size(); i++) size 225 modules/java/generator/src/cpp/converters.cpp for(size_t i=0; i<vm.size(); i++) size 238 modules/java/generator/src/cpp/converters.cpp for(size_t i=0; i<vm.size(); i++) size 251 modules/java/generator/src/cpp/converters.cpp for(size_t i=0; i<vm.size(); i++) size 262 modules/java/generator/src/cpp/converters.cpp vm.reserve( vv_ch.size() ); size 263 modules/java/generator/src/cpp/converters.cpp for(size_t i=0; i<vv_ch.size(); i++) size 275 modules/java/generator/src/cpp/converters.cpp vm.reserve( vv_pt.size() ); size 276 modules/java/generator/src/cpp/converters.cpp for(size_t i=0; i<vv_pt.size(); i++) size 288 modules/java/generator/src/cpp/converters.cpp vm.reserve( vv_pt.size() ); size 289 modules/java/generator/src/cpp/converters.cpp for(size_t i=0; i<vv_pt.size(); i++) size 301 modules/java/generator/src/cpp/converters.cpp vm.reserve( vv_pt.size() ); size 302 modules/java/generator/src/cpp/converters.cpp for(size_t i=0; i<vv_pt.size(); i++) size 481 modules/java/generator/src/java/android+CameraBridgeViewBase.java for (Object size : supportedSizes) { size 482 modules/java/generator/src/java/android+CameraBridgeViewBase.java int width = accessor.getWidth(size); size 483 modules/java/generator/src/java/android+CameraBridgeViewBase.java int height = accessor.getHeight(size); size 48 modules/java/generator/src/java/android+JavaCameraView.java Camera.Size size = (Camera.Size) obj; size 49 modules/java/generator/src/java/android+JavaCameraView.java return size.width; size 54 modules/java/generator/src/java/android+JavaCameraView.java Camera.Size size = (Camera.Size) obj; size 55 modules/java/generator/src/java/android+JavaCameraView.java return size.height; size 175 modules/java/generator/src/java/android+JavaCameraView.java int size = mFrameWidth * mFrameHeight; size 176 modules/java/generator/src/java/android+JavaCameraView.java size = size * ImageFormat.getBitsPerPixel(params.getPreviewFormat()) / 8; size 177 modules/java/generator/src/java/android+JavaCameraView.java mBuffer = new byte[size]; size 66 modules/java/generator/src/java/android+Utils.java Mat encoded = new Mat(1, os.size(), CvType.CV_8U); size 36 modules/java/generator/src/java/utils+Converters.java int count = (pts != null) ? pts.size() : 0; size 98 modules/java/generator/src/java/utils+Converters.java int count = (pts != null) ? pts.size() : 0; size 237 modules/java/generator/src/java/utils+Converters.java int count = (mats != null) ? mats.size() : 0; size 272 modules/java/generator/src/java/utils+Converters.java int count = (fs != null) ? fs.size() : 0; size 305 modules/java/generator/src/java/utils+Converters.java int count = (bs != null) ? bs.size() : 0; size 338 modules/java/generator/src/java/utils+Converters.java int count = (bs != null) ? bs.size() : 0; size 355 modules/java/generator/src/java/utils+Converters.java int count = (is != null) ? is.size() : 0; size 404 modules/java/generator/src/java/utils+Converters.java int count = (rs != null) ? rs.size() : 0; size 440 modules/java/generator/src/java/utils+Converters.java int count = (kps != null) ? kps.size() : 0; size 448 modules/java/generator/src/java/utils+Converters.java buff[7 * i + 2] = kp.size; size 481 modules/java/generator/src/java/utils+Converters.java int lCount = (pts != null) ? pts.size() : 0; size 530 modules/java/generator/src/java/utils+Converters.java int lCount = (pts != null) ? pts.size() : 0; size 562 modules/java/generator/src/java/utils+Converters.java int lCount = (pts != null) ? pts.size() : 0; size 576 modules/java/generator/src/java/utils+Converters.java int lCount = (kps != null) ? kps.size() : 0; size 606 modules/java/generator/src/java/utils+Converters.java int count = (ds != null) ? ds.size() : 0; size 639 modules/java/generator/src/java/utils+Converters.java int count = (matches != null) ? matches.size() : 0; size 676 modules/java/generator/src/java/utils+Converters.java int lCount = (lvdm != null) ? lvdm.size() : 0; size 708 modules/java/generator/src/java/utils+Converters.java int lCount = (lvb != null) ? lvb.size() : 0; size 239 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java if (list1.size() != list2.size()) { size 249 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java for (int i = 0; i < list1.size(); i++) size 254 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java if (list1.size() != list2.size()) { size 258 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java for (int i = 0; i < list1.size(); i++) size 283 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java if (list1.size() != list2.size()) { size 287 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java for (int i = 0; i < list1.size(); i++) size 292 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java if (list1.size() != list2.size()) { size 296 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java for (int i = 0; i < list1.size(); i++) size 309 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java if (list1.size() != list2.size()) { size 313 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java for (int i = 0; i < list1.size(); i++) size 318 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java if (list1.size() != list2.size()) { size 322 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java for (int i = 0; i < list1.size(); i++) size 353 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.size - actual.size) < eps); size 361 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertEquals(expected.size(), actual.size()); size 362 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java for (int i = 0; i < expected.size(); i++) size 106 modules/ml/src/ann_mlp.cpp int layer_count() const { return (int)layer_sizes.size(); } size 742 modules/ml/src/ann_mlp.cpp dw[i] = Mat::zeros(weights[i].size(), CV_64F); size 919 modules/ml/src/ann_mlp.cpp Mat _df( x2.size(), CV_64F, &df[i][0] ); size 1009 modules/ml/src/ann_mlp.cpp dw[i].create(weights[i].size(), CV_64F); size 1011 modules/ml/src/ann_mlp.cpp prev_dEdw_sign[i] = Mat::zeros(weights[i].size(), CV_8S); size 1012 modules/ml/src/ann_mlp.cpp dEdw[i] = Mat::zeros(weights[i].size(), CV_64F); size 1055 modules/ml/src/ann_mlp.cpp CV_Assert(weights[i].size() == Size(n2, n1+1)); size 1278 modules/ml/src/ann_mlp.cpp CV_Assert( 0 <= layerIdx && layerIdx < (int)weights.size() ); size 92 modules/ml/src/boost.cpp sumResult.assign(w->sidx.size(), 0.); size 97 modules/ml/src/boost.cpp int i, n = (int)w->cat_responses.size(); size 114 modules/ml/src/boost.cpp int i, n = (int)w->sidx.size(); size 204 modules/ml/src/boost.cpp int i, n = (int)w->sidx.size(); size 205 modules/ml/src/boost.cpp int nvars = (int)varIdx.size(); size 392 modules/ml/src/boost.cpp int k, ntrees = (int)roots.size(); size 434 modules/ml/src/boost.cpp CV_Assert( ntrees == (int)trees_node.size() ); size 334 modules/ml/src/data.cpp CV_Assert( missing.size() == samples.size() && missing.type() == CV_8U ); size 349 modules/ml/src/data.cpp int j, m = (int)labels.size(); size 377 modules/ml/src/data.cpp ofs[0] = (int)tempCatMap.size(); size 433 modules/ml/src/data.cpp normdata->create(data.size(), CV_32S); size 571 modules/ml/src/data.cpp nvars = (int)rowvals.size(); size 572 modules/ml/src/data.cpp if( !varTypeSpec.empty() && varTypeSpec.size() > 0 ) size 587 modules/ml/src/data.cpp CV_Assert( nvars == (int)rowvals.size() ); size 273 modules/ml/src/em.cpp static_cast<int>(covs->size()) == nclusters)); size 277 modules/ml/src/em.cpp for(size_t i = 0; i < covs->size(); i++) size 280 modules/ml/src/em.cpp CV_Assert(!m.empty() && m.size() == covSize && (m.channels() == 1)); size 357 modules/ml/src/em.cpp for(size_t i = 0; i < covs0->size(); i++) size 568 modules/ml/src/em.cpp CV_Assert(sample.size() == Size(means.cols, 1)); size 778 modules/ml/src/em.cpp size_t i, n = covs.size(); size 807 modules/ml/src/em.cpp int i, n = (int)cfn.size(); size 821 modules/ml/src/em.cpp _covs.resize(covs.size()); size 175 modules/ml/src/kdtree.cpp points.create(_points.size(), _points.type()); size 245 modules/ml/src/kdtree.cpp int left = (int)nodes.size(), right = left + 1; size 406 modules/ml/src/kdtree.cpp Mat(nidx.size(), CV_32S, &idx[0]).copyTo(nidx); size 425 modules/ml/src/kdtree.cpp CV_Assert( lowerBound.size == upperBound.size && size 466 modules/ml/src/kdtree.cpp _neighborsIdx.create((int)idx.size(), 1, CV_32S, -1, true); size 468 modules/ml/src/kdtree.cpp Mat(nidx.size(), CV_32S, &idx[0]).copyTo(nidx); size 156 modules/ml/src/lr.cpp int num_classes = (int) this->forward_mapper.size(); size 99 modules/ml/src/nbayes.cpp var_idx.size() != __var_idx.size() || size 101 modules/ml/src/nbayes.cpp cls_labels.size() != __cls_labels.size() || size 296 modules/ml/src/precomp.hpp int getVarCount() const { return varType.empty() ? 0 : (int)(varType.size() - 1); } size 94 modules/ml/src/rtrees.cpp int i, nvars = (int)allVars.size(), m = (int)activeVars.size(); size 131 modules/ml/src/rtrees.cpp int i, j, k, vi, vi_, n = (int)w->sidx.size(); size 132 modules/ml/src/rtrees.cpp int nclasses = (int)classLabels.size(); size 193 modules/ml/src/rtrees.cpp int n_oob = (int)oobidx.size(); size 303 modules/ml/src/rtrees.cpp int k, ntrees = (int)roots.size(); size 341 modules/ml/src/rtrees.cpp CV_Assert( ntrees == (int)trees_node.size() ); size 492 modules/ml/src/svm.cpp alpha_count = (int)alpha_vec->size(); size 1122 modules/ml/src/svm.cpp CV_Assert( (int)_yf.size() == sample_count ); size 1162 modules/ml/src/svm.cpp CV_Assert( (int)_yf.size() == sample_count ); size 1353 modules/ml/src/svm.cpp return (i < (int)(decision_func.size()-1) ? decision_func[i+1].ofs : size 1354 modules/ml/src/svm.cpp (int)df_index.size()) - decision_func[i].ofs; size 1498 modules/ml/src/svm.cpp df.ofs = (int)df_index.size(); size 1532 modules/ml/src/svm.cpp int n = (int)df_index.size(); size 1550 modules/ml/src/svm.cpp int i, df_count = (int)decision_func.size(); size 1730 modules/ml/src/svm.cpp int n0 = (int)sidx0.size(), n1 = (int)sidx1.size(); size 1736 modules/ml/src/svm.cpp int a = (int)sidx.size(), b = a + (b0 - a0) + (b1 - a1); size 1942 modules/ml/src/svm.cpp CV_Assert( 0 <= i && i < (int)decision_func.size()); size 2057 modules/ml/src/svm.cpp int df_count = (int)decision_func.size(); size 2167 modules/ml/src/svm.cpp CV_Assert((int)sv_node.size() == sv_total); size 2180 modules/ml/src/svm.cpp CV_Assert((int)df_node.size() == df_count); size 2188 modules/ml/src/svm.cpp int ofs = (int)df_index.size(); size 161 modules/ml/src/tree.cpp int i, nvars = (int)varIdx.size(); size 175 modules/ml/src/tree.cpp int nclasses = (int)classLabels.size(); size 188 modules/ml/src/tree.cpp int nsamples = (int)w->cat_responses.size(); size 190 modules/ml/src/tree.cpp CV_Assert( (int)w->sample_weights.size() == nsamples ); size 207 modules/ml/src/tree.cpp int nallvars = (int)varType.size(); size 209 modules/ml/src/tree.cpp int i, nvars = (int)varIdx.size(), prevIdx = -1; size 240 modules/ml/src/tree.cpp size_t n = (params.getMaxDepth() > 0 ? (1 << params.getMaxDepth()) : 1024) + w->wnodes.size(); size 263 modules/ml/src/tree.cpp int root = (int)nodes.size(); size 287 modules/ml/src/tree.cpp split.subsetOfs = (int)subsets.size(); size 298 modules/ml/src/tree.cpp node.split = (int)splits.size(); size 301 modules/ml/src/tree.cpp int nidx = (int)nodes.size(); size 354 modules/ml/src/tree.cpp int nidx = (int)(w->wnodes.size() - 1); size 368 modules/ml/src/tree.cpp int i, n = node.sample_count = (int)sidx.size(); size 418 modules/ml/src/tree.cpp int vi_, nv = (int)activeVars.size(); size 452 modules/ml/src/tree.cpp int i, prevsz = (int)w->wsubsets.size(), ssize = getSubsetSize(best_vi); size 458 modules/ml/src/tree.cpp splitidx = (int)(w->wsplits.size()-1); size 467 modules/ml/src/tree.cpp int i, j, k, n = (int)_sidx.size(), cv_n = params.getCVFolds(); size 468 modules/ml/src/tree.cpp int m = (int)classLabels.size(); size 474 modules/ml/src/tree.cpp size_t sz = w->cv_Tn.size(); size 642 modules/ml/src/tree.cpp int n = (int)_sidx.size(); size 643 modules/ml/src/tree.cpp int m = (int)classLabels.size(); size 811 modules/ml/src/tree.cpp int n = (int)_sidx.size(); size 812 modules/ml/src/tree.cpp int m = (int)classLabels.size(); size 990 modules/ml/src/tree.cpp int n = (int)_sidx.size(); size 1051 modules/ml/src/tree.cpp int n = (int)_sidx.size(); size 1136 modules/ml/src/tree.cpp int i, si, n = (int)_sidx.size(), vi = split.varIdx; size 1190 modules/ml/src/tree.cpp CV_Assert( (int)_sleft.size() < n && (int)_sright.size() < n ); size 1368 modules/ml/src/tree.cpp int nvars = (int)varIdx.size(); size 1370 modules/ml/src/tree.cpp nvars = (int)varType.size(); size 1371 modules/ml/src/tree.cpp int i, ncats = (int)catOfs.size(), nclasses = (int)classLabels.size(); size 1392 modules/ml/src/tree.cpp predictType = !_isClassifier || (classLabels.size() == 2 && (flags & RAW_OUTPUT) != 0) ? size 1503 modules/ml/src/tree.cpp float scale = !iscls ? 1.f/(int)roots.size() : 1.f; size 1518 modules/ml/src/tree.cpp float val = predictTrees( Range(0, (int)roots.size()), samples.row(i), flags )*scale; size 1552 modules/ml/src/tree.cpp fs << "var_all" << (int)varType.size(); size 1556 modules/ml/src/tree.cpp int i, n = (int)varType.size(); size 1725 modules/ml/src/tree.cpp if (isLegacy && (int)varType.size() <= varAll) size 1732 modules/ml/src/tree.cpp n = (int)varIdx.size(); size 1741 modules/ml/src/tree.cpp n = (int)varType.size(); size 1760 modules/ml/src/tree.cpp unsigned int i = 0, j = 0, curShift = 0, size = (int)varType.size() - 1; size 1761 modules/ml/src/tree.cpp for (; i < size; ++i) size 1774 modules/ml/src/tree.cpp if (curShift < catMap.size()) size 1791 modules/ml/src/tree.cpp setRangeVector(varMapping, (int)varType.size()); size 1804 modules/ml/src/tree.cpp CV_Assert( 0 <= vi && vi <= (int)varType.size() ); size 1811 modules/ml/src/tree.cpp split.subsetOfs = (int)subsets.size(); size 1830 modules/ml/src/tree.cpp int n = (int)fns.size(); size 1861 modules/ml/src/tree.cpp return (int)(splits.size() - 1); size 1875 modules/ml/src/tree.cpp int i, n = (int)sfn.size(), prevsplit = -1; size 1891 modules/ml/src/tree.cpp return (int)(nodes.size() - 1); size 1896 modules/ml/src/tree.cpp int i, n = (int)fn.size(), root = -1, pidx = -1; size 83 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( _means.rows == (int)sizes.size() && covs.size() == sizes.size() ); size 90 modules/ml/test/test_emknearestkmeans.cpp vector<Mat> means(sizes.size()); size 139 modules/ml/test/test_emknearestkmeans.cpp size_t total = 0, nclusters = sizes.size(); size 140 modules/ml/test/test_emknearestkmeans.cpp for(size_t i = 0; i < sizes.size(); i++) size 153 modules/ml/test/test_emknearestkmeans.cpp for( size_t clusterIndex = 0; clusterIndex < sizes.size(); clusterIndex++ ) size 175 modules/ml/test/test_emknearestkmeans.cpp for(size_t i = 0; i < buzy.size(); i++) size 632 modules/ml/test/test_emknearestkmeans.cpp for(size_t i = 0; i < trainSamplesMask.size(); i++) size 634 modules/ml/test/test_emknearestkmeans.cpp int i1 = rng(static_cast<unsigned>(trainSamplesMask.size())); size 635 modules/ml/test/test_emknearestkmeans.cpp int i2 = rng(static_cast<unsigned>(trainSamplesMask.size())); size 231 modules/ml/test/test_gbttest.cpp CV_Assert( test_resps1.size() == test_resps2.size() ); size 156 modules/ml/test/test_mltests2.cpp int cls_count = (int)cls_map.size(); size 231 modules/ml/test/test_mltests2.cpp test_case_count = (int)fn.size(); size 356 modules/ml/test/test_mltests2.cpp int layer_sz[] = { data->getNAllVars(), 100, 100, (int)cls_map.size() }; size 136 modules/ml/test/test_save_load.cpp CV_Assert( test_resps1.size() == test_resps2.size() ); size 174 modules/ml/test/test_save_load.cpp if (idx >= suffixes.size()) size 181 modules/ml/test/test_save_load.cpp idx += (unsigned int)piece.size() + 1; size 236 modules/ml/test/test_save_load.cpp uint var = 0, varCount = (uint)varTypes.size(); size 241 modules/ml/test/test_save_load.cpp int size = catCount.at<int>(0, countOffset); size 244 modules/ml/test/test_save_load.cpp int randomChosenIndex = offset + ((uint)ts->get_rng()) % size; size 248 modules/ml/test/test_save_load.cpp offset += size; size 56 modules/objdetect/src/cascadedetect.cpp Mat(1, (int)(v.size()*sizeof(v[0])), CV_8U, (void*)&v[0]).copyTo(um); size 66 modules/objdetect/src/cascadedetect.cpp size_t i, sz = rectList.size(); size 81 modules/objdetect/src/cascadedetect.cpp int i, j, nlabels = (int)labels.size(); size 178 modules/objdetect/src/cascadedetect.cpp positionsCount = (int)posV.size(); size 184 modules/objdetect/src/cascadedetect.cpp for (unsigned i = 0; i<positionsV.size(); i++) size 194 modules/objdetect/src/cascadedetect.cpp for (size_t i=0; i <distanceV.size(); i++) size 197 modules/objdetect/src/cascadedetect.cpp for(size_t j=0; j<modesV.size(); j++) size 211 modules/objdetect/src/cascadedetect.cpp resWeightsV.resize(modesV.size()); size 213 modules/objdetect/src/cascadedetect.cpp for (size_t i=0; i<modesV.size(); i++) size 235 modules/objdetect/src/cascadedetect.cpp for (size_t i=0; i<positionsV.size(); i++) size 269 modules/objdetect/src/cascadedetect.cpp for (size_t i=0; i<positionsV.size(); i++) size 319 modules/objdetect/src/cascadedetect.cpp int detectionCount = (int)rectList.size(); size 342 modules/objdetect/src/cascadedetect.cpp for (unsigned i=0; i < resultHits.size(); ++i) size 430 modules/objdetect/src/cascadedetect.cpp size_t i, nscales = _scales.size(); size 431 modules/objdetect/src/cascadedetect.cpp bool recalcOptFeatures = nscales != scaleData->size(); size 476 modules/objdetect/src/cascadedetect.cpp Size imgsz = _image.size(); size 479 modules/objdetect/src/cascadedetect.cpp size_t i, nscales = scaleData->size(); size 502 modules/objdetect/src/cascadedetect.cpp resize(_image, dst, dst.size(), 1. / s.scale, 1. / s.scale, INTER_LINEAR); size 517 modules/objdetect/src/cascadedetect.cpp resize(image, dst, dst.size(), 1. / s.scale, 1. / s.scale, INTER_LINEAR); size 569 modules/objdetect/src/cascadedetect.cpp size_t i, n = node.size(); size 642 modules/objdetect/src/cascadedetect.cpp CV_Assert(sqsum.u == u && sqsum.size() == s.szi && sqsum.type()==CV_32S); size 668 modules/objdetect/src/cascadedetect.cpp size_t fi, nfeatures = features->size(); size 773 modules/objdetect/src/cascadedetect.cpp features->resize(node.size()); size 819 modules/objdetect/src/cascadedetect.cpp size_t fi, nfeatures = features->size(); size 847 modules/objdetect/src/cascadedetect.cpp CV_Assert(0 <= scaleIdx && scaleIdx < (int)scaleData->size()); size 1000 modules/objdetect/src/cascadedetect.cpp result = -(int)classifier->data.stages.size(); size 1001 modules/objdetect/src/cascadedetect.cpp if( classifier->data.stages.size() + result == 0 ) size 1075 modules/objdetect/src/cascadedetect.cpp int nstages = (int)data.stages.size(); size 1101 modules/objdetect/src/cascadedetect.cpp haarKernel.args((int)scales.size(), size 1139 modules/objdetect/src/cascadedetect.cpp lbpKernel.args((int)scales.size(), size 1209 modules/objdetect/src/cascadedetect.cpp objects.resize(vecAvgComp.size()); size 1219 modules/objdetect/src/cascadedetect.cpp Size imgsz = _image.size(); size 1278 modules/objdetect/src/cascadedetect.cpp if( scales.size() == 0 || !featureEvaluator->setImage(gray, scales) ) size 1293 modules/objdetect/src/cascadedetect.cpp size_t i, nscales = scales.size(); size 1376 modules/objdetect/src/cascadedetect.cpp numDetections.resize(vecAvgComp.size()); size 1435 modules/objdetect/src/cascadedetect.cpp stages.reserve(fn.size()); size 1452 modules/objdetect/src/cascadedetect.cpp stage.ntrees = (int)fns.size(); size 1453 modules/objdetect/src/cascadedetect.cpp stage.first = (int)classifiers.size(); size 1467 modules/objdetect/src/cascadedetect.cpp tree.nodeCount = (int)internalNodes.size()/nodeStep; size 1473 modules/objdetect/src/cascadedetect.cpp nodes.reserve(nodes.size() + tree.nodeCount); size 1474 modules/objdetect/src/cascadedetect.cpp leaves.reserve(leaves.size() + leafValues.size()); size 1476 modules/objdetect/src/cascadedetect.cpp subsets.reserve(subsets.size() + tree.nodeCount*subsetSize); size 1509 modules/objdetect/src/cascadedetect.cpp size_t nstages = stages.size(); size 1593 modules/objdetect/src/cascadedetect.cpp size_t i, j = 0, n = objects.size(); size 1597 modules/objdetect/src/cascadedetect.cpp CV_Assert(a->size() == n); size 1601 modules/objdetect/src/cascadedetect.cpp CV_Assert(b->size() == n); size 1636 modules/objdetect/src/cascadedetect.cpp clipObjects(image.size(), objects, 0, 0); size 1649 modules/objdetect/src/cascadedetect.cpp clipObjects(image.size(), objects, &numDetections, 0); size 1665 modules/objdetect/src/cascadedetect.cpp clipObjects(image.size(), objects, &rejectLevels, &levelWeights); size 46 modules/objdetect/src/cascadedetect.hpp CV_Assert( 0 <= scaleIdx && scaleIdx < (int)scaleData->size()); size 489 modules/objdetect/src/cascadedetect.hpp int nstages = (int)cascade.data.stages.size(); size 529 modules/objdetect/src/cascadedetect.hpp int nstages = (int)cascade.data.stages.size(); size 576 modules/objdetect/src/cascadedetect.hpp int nstages = (int)cascade.data.stages.size(); size 609 modules/objdetect/src/cascadedetect.hpp int nstages = (int)cascade.data.stages.size(); size 132 modules/objdetect/src/cascadedetect_convert.cpp int nstages = (int)stages_seq.size(); size 141 modules/objdetect/src/cascadedetect_convert.cpp int nweaks = (int)weaks_seq.size(); size 148 modules/objdetect/src/cascadedetect_convert.cpp int nnodes = (int)weaknode.size(); size 156 modules/objdetect/src/cascadedetect_convert.cpp node.f = (int)features.size(); size 159 modules/objdetect/src/cascadedetect_convert.cpp int nrects = (int)rects_seq.size(); size 175 modules/objdetect/src/cascadedetect_convert.cpp node.left = -(int)weak.leaves.size(); size 185 modules/objdetect/src/cascadedetect_convert.cpp node.right = -(int)weak.leaves.size(); size 201 modules/objdetect/src/cascadedetect_convert.cpp int maxWeakCount = 0, nfeatures = (int)features.size(); size 203 modules/objdetect/src/cascadedetect_convert.cpp maxWeakCount = std::max(maxWeakCount, (int)stages[i].weaks.size()); size 221 modules/objdetect/src/cascadedetect_convert.cpp int nweaks = (int)stages[i].weaks.size(); size 229 modules/objdetect/src/cascadedetect_convert.cpp int nnodes = (int)c.nodes.size(), nleaves = (int)c.leaves.size(); size 270 modules/objdetect/src/cascadedetect_convert.cpp if( !ok && newcascade.size() > 0 ) size 395 modules/objdetect/src/detection_based_tracker.cpp imageSeparateDetecting.size().width, imageSeparateDetecting.size().height, (void*)imageSeparateDetecting.data); size 423 modules/objdetect/src/detection_based_tracker.cpp LOGI("DetectionBasedTracker::SeparateDetectionWork::workcycleObjectDetector() --- objects num==%d, t_ms=%.4f", (int)objects.size(), dt_detect_ms); size 551 modules/objdetect/src/detection_based_tracker.cpp imageSeparateDetecting.create(imageGray.size(), CV_8UC1); size 649 modules/objdetect/src/detection_based_tracker.cpp for(size_t i = 0; i < trackedObjects.size(); i++) { size 650 modules/objdetect/src/detection_based_tracker.cpp size_t n = trackedObjects[i].lastPositions.size(); size 673 modules/objdetect/src/detection_based_tracker.cpp LOGI("DetectionBasedTracker::process: tracked objects num==%d", (int)trackedObjects.size()); size 677 modules/objdetect/src/detection_based_tracker.cpp LOGD("DetectionBasedTracker::process: rectsWhereRegions.size()=%d", (int)rectsWhereRegions.size()); size 678 modules/objdetect/src/detection_based_tracker.cpp for(size_t i=0; i < rectsWhereRegions.size(); i++) { size 683 modules/objdetect/src/detection_based_tracker.cpp LOGD("DetectionBasedTracker::process: detectedObjectsInRegions.size()=%d", (int)detectedObjectsInRegions.size()); size 692 modules/objdetect/src/detection_based_tracker.cpp for(size_t i=0; i < trackedObjects.size(); i++) { size 706 modules/objdetect/src/detection_based_tracker.cpp for(size_t i=0; i < trackedObjects.size(); i++) { size 719 modules/objdetect/src/detection_based_tracker.cpp for(size_t i=0; i < trackedObjects.size(); i++) { size 757 modules/objdetect/src/detection_based_tracker.cpp int N1=(int)trackedObjects.size(); size 758 modules/objdetect/src/detection_based_tracker.cpp int N2=(int)detectedObjects.size(); size 765 modules/objdetect/src/detection_based_tracker.cpp std::vector<int> correspondence(detectedObjects.size(), NEW_RECTANGLE); size 767 modules/objdetect/src/detection_based_tracker.cpp correspondence.resize(detectedObjects.size(), NEW_RECTANGLE); size 776 modules/objdetect/src/detection_based_tracker.cpp int numpositions=(int)curObject.lastPositions.size(); size 835 modules/objdetect/src/detection_based_tracker.cpp while ((int)trackedObjects[i].lastPositions.size() > (int) innerParameters.numLastPositionsToTrack) { size 858 modules/objdetect/src/detection_based_tracker.cpp int numpos=(int)it->lastPositions.size(); size 887 modules/objdetect/src/detection_based_tracker.cpp if ( (i < 0) || (i >= (int)trackedObjects.size()) ) { size 905 modules/objdetect/src/detection_based_tracker.cpp int N=(int)lastPositions.size(); size 912 modules/objdetect/src/detection_based_tracker.cpp int Nsize=std::min(N, (int)weightsSizesSmoothing.size()); size 913 modules/objdetect/src/detection_based_tracker.cpp int Ncenter= std::min(N, (int)weightsPositionsSmoothing.size()); size 973 modules/objdetect/src/detection_based_tracker.cpp Rect r0(Point(), img.size()); size 988 modules/objdetect/src/detection_based_tracker.cpp img1.size().width, img1.size().height, d); size 1002 modules/objdetect/src/detection_based_tracker.cpp for(size_t i=0; i < tmpobjects.size(); i++) { size 1003 modules/objdetect/src/detection_based_tracker.cpp Rect curres(tmpobjects[i].tl() + r1.tl(), tmpobjects[i].size()); size 1726 modules/objdetect/src/haar.cpp rectList.resize(allCandidates.size()); size 1733 modules/objdetect/src/haar.cpp size_t i, sz = rectList.size(); size 1760 modules/objdetect/src/haar.cpp rectList.resize(allCandidates.size()); size 1776 modules/objdetect/src/haar.cpp rweights.resize(rectList.size(),0); size 1778 modules/objdetect/src/haar.cpp if( findBiggestObject && rectList.size() ) size 1782 modules/objdetect/src/haar.cpp for( size_t i = 0; i < rectList.size(); i++ ) size 1795 modules/objdetect/src/haar.cpp for( size_t i = 0; i < rectList.size(); i++ ) size 1947 modules/objdetect/src/haar.cpp int size = 0; size 1957 modules/objdetect/src/haar.cpp size += ftell( f ) + 1; size 1967 modules/objdetect/src/haar.cpp size += (n+1)*sizeof(char*); size 1968 modules/objdetect/src/haar.cpp const char** input_cascade = (const char**)cvAlloc( size ); size 1982 modules/objdetect/src/haar.cpp size = (int)ftell( f ); size 1984 modules/objdetect/src/haar.cpp size_t elements_read = fread( ptr, 1, size, f ); size 1985 modules/objdetect/src/haar.cpp CV_Assert(elements_read == (size_t)(size)); size 1988 modules/objdetect/src/haar.cpp ptr += size; size 68 modules/objdetect/src/hog.cpp static int numPartsWithin(int size, int part_size, int stride) size 70 modules/objdetect/src/hog.cpp return (size - part_size + stride) / stride; size 73 modules/objdetect/src/hog.cpp static Size numPartsWithin(cv::Size size, cv::Size part_size, size 76 modules/objdetect/src/hog.cpp return Size(numPartsWithin(size.width, part_size.width, stride.width), size 77 modules/objdetect/src/hog.cpp numPartsWithin(size.height, part_size.height, stride.height)); size 108 modules/objdetect/src/hog.cpp size_t detectorSize = svmDetector.size(), descriptorSize = getDescriptorSize(); size 119 modules/objdetect/src/hog.cpp Mat detector_reordered(1, (int)svmDetector.size(), CV_32FC1); size 133 modules/objdetect/src/hog.cpp free_coef = svmDetector.size() > descriptor_size ? svmDetector[descriptor_size] : 0; size 1329 modules/objdetect/src/hog.cpp Size imgSize = _img.size(); size 1403 modules/objdetect/src/hog.cpp Size imgSize = _img.size(); size 1405 modules/objdetect/src/hog.cpp size_t nwindows = locations.size(); size 1473 modules/objdetect/src/hog.cpp size_t nwindows = locations.size(); size 1489 modules/objdetect/src/hog.cpp double rho = svmDetector.size() > dsize ? svmDetector[dsize] : 0; size 1596 modules/objdetect/src/hog.cpp if( sz == img.size() ) size 1604 modules/objdetect/src/hog.cpp for( size_t j = 0; j < locations.size(); j++ ) size 1617 modules/objdetect/src/hog.cpp for (size_t j = 0; j < locations.size(); j++) size 1732 modules/objdetect/src/hog.cpp Size imgSize = img.size(); size 1801 modules/objdetect/src/hog.cpp Size imgSize = _img.size(); size 1804 modules/objdetect/src/hog.cpp for (size_t i = 0; i<level_scale.size() ; i++) size 1823 modules/objdetect/src/hog.cpp for (size_t j = 0; j < locations.size(); j++) size 1842 modules/objdetect/src/hog.cpp Size imgSize = _img.size(); size 1871 modules/objdetect/src/hog.cpp Range range(0, (int)levelScale.size()); size 3301 modules/objdetect/src/hog.cpp if( sz == img.size() ) size 3309 modules/objdetect/src/hog.cpp for( size_t j = 0; j < dets.size(); j++ ) size 3341 modules/objdetect/src/hog.cpp size_t nwindows = locations.size(); size 3357 modules/objdetect/src/hog.cpp double rho = svmDetector.size() > dsize ? svmDetector[dsize] : 0; size 3426 modules/objdetect/src/hog.cpp parallel_for_(Range(0, (int)locations.size()), size 3430 modules/objdetect/src/hog.cpp foundLocations.resize(allCandidates.size()); size 3534 modules/objdetect/src/hog.cpp CV_Assert(rectList.size() == weights.size()); size 3542 modules/objdetect/src/hog.cpp int i, j, nlabels = (int)labels.size(); size 113 modules/objdetect/test/opencl/test_hogdetector.cpp EXPECT_LT(checkRectSimilarity(img.size(), cpu_found, gpu_found), 0.05); size 121 modules/objdetect/test/test_cascadeandhog.cpp if( fn[DETECTOR_NAMES].size() != 0 ) size 132 modules/objdetect/test/test_cascadeandhog.cpp test_case_count = (int)detectorNames.size(); size 136 modules/objdetect/test/test_cascadeandhog.cpp if( fn[IMAGE_FILENAMES].size() != 0 ) size 197 modules/objdetect/test/test_cascadeandhog.cpp assert( detectorNames.size() == detectorFilenames.size() ); size 247 modules/objdetect/test/test_cascadeandhog.cpp if ( test_case_count <= 0 || imageFilenames.size() <= 0 ) size 262 modules/objdetect/test/test_cascadeandhog.cpp for( int ii = 0; ii < (int)imageFilenames.size(); ++ii ) size 301 modules/objdetect/test/test_cascadeandhog.cpp assert( imageFilenames.size() == objects.size() ); size 308 modules/objdetect/test/test_cascadeandhog.cpp Size imgSize = images[imageIdx].size(); size 321 modules/objdetect/test/test_cascadeandhog.cpp if( node.size() != 0 ) size 330 modules/objdetect/test/test_cascadeandhog.cpp totalValRectCount += (int)valRects.size(); size 333 modules/objdetect/test/test_cascadeandhog.cpp vector<uchar> map(valRects.size(), 0); size 369 modules/objdetect/test/test_cascadeandhog.cpp EXPECT_LE(noPair, cvRound(valRects.size()*eps.noPair)+1) size 462 modules/objdetect/test/test_cascadeandhog.cpp if( filename.size() >= pattern.size() && size 463 modules/objdetect/test/test_cascadeandhog.cpp strcmp(filename.c_str() + (filename.size() - pattern.size()), size 499 modules/objdetect/test/test_cascadeandhog.cpp if( fn[FILENAME].size() != 0 ) size 1017 modules/objdetect/test/test_cascadeandhog.cpp size_t nwindows = locations.size(); size 1033 modules/objdetect/test/test_cascadeandhog.cpp double rho = svmDetector.size() > dsize ? svmDetector[dsize] : 0; size 1119 modules/objdetect/test/test_cascadeandhog.cpp size_t nwindows = locations.size(); size 21 modules/photo/perf/opencl/perf_denoising.cpp UMat result(_original.size(), _original.type()), original; size 37 modules/photo/perf/opencl/perf_denoising.cpp UMat result(_original.size(), _original.type()), original; size 62 modules/photo/perf/opencl/perf_denoising.cpp UMat result(tmp.size(), tmp.type()); size 86 modules/photo/perf/opencl/perf_denoising.cpp UMat result(tmp.size(), tmp.type()); size 72 modules/photo/perf/perf_cuda.cpp const cv::Size size = GET_PARAM(0); size 83 modules/photo/perf/perf_cuda.cpp cv::Mat src(size, type); size 116 modules/photo/perf/perf_cuda.cpp const cv::Size size = GET_PARAM(0); size 124 modules/photo/perf/perf_cuda.cpp cv::Mat src(size, type); size 159 modules/photo/perf/perf_cuda.cpp const cv::Size size = GET_PARAM(0); size 167 modules/photo/perf/perf_cuda.cpp cv::Mat src(size, type); size 26 modules/photo/perf/perf_inpaint.cpp Mat mask(src.size(), CV_8UC1, Scalar(0)); size 27 modules/photo/perf/perf_inpaint.cpp Mat result(src.size(), src.type()); size 73 modules/photo/src/align.cpp dst.resize(src.size()); size 75 modules/photo/src/align.cpp size_t pivot = src.size() / 2; size 81 modules/photo/src/align.cpp for(size_t i = 0; i < src.size(); i++) { size 94 modules/photo/src/align.cpp for(size_t i = 0; i < shifts.size(); i++) { size 108 modules/photo/src/align.cpp Point size = dst[0].size(); size 109 modules/photo/src/align.cpp for(size_t i = 0; i < dst.size(); i++) { size 110 modules/photo/src/align.cpp dst[i] = dst[i](Rect(max, min + size)); size 120 modules/photo/src/align.cpp CV_Assert(img0.size() == img0.size()); size 164 modules/photo/src/align.cpp _dst.create(src.size(), src.type()); size 167 modules/photo/src/align.cpp Mat res = Mat::zeros(src.size(), src.type()); size 206 modules/photo/src/align.cpp _tb.create(img.size(), CV_8U); size 207 modules/photo/src/align.cpp _eb.create(img.size(), CV_8U); size 70 modules/photo/src/calibrate.cpp CV_Assert(images.size() == times.total()); size 102 modules/photo/src/calibrate.cpp Mat A = Mat::zeros((int)sample_points.size() * (int)images.size() + LDR_SIZE + 1, LDR_SIZE + (int)sample_points.size(), CV_32F); size 106 modules/photo/src/calibrate.cpp for(size_t i = 0; i < sample_points.size(); i++) { size 107 modules/photo/src/calibrate.cpp for(size_t j = 0; j < images.size(); j++) { size 190 modules/photo/src/calibrate.cpp CV_Assert(images.size() == times.total()); size 202 modules/photo/src/calibrate.cpp for(size_t i = 0; i < images.size(); i++) { size 215 modules/photo/src/calibrate.cpp radiance = Mat::zeros(images[0].size(), CV_32FCC); size 219 modules/photo/src/calibrate.cpp for(size_t i = 0; i < images.size(); i++) { size 56 modules/photo/src/contrast_preserve.cpp _dst.create(I.size(), CV_8UC1); size 59 modules/photo/src/contrast_preserve.cpp _color_boost.create(I.size(), CV_8UC3); size 75 modules/photo/src/contrast_preserve.cpp img = Mat(I.size(),CV_32FC3); size 91 modules/photo/src/contrast_preserve.cpp Mat Mt = Mat((int)polyGrad.size(),(int)polyGrad[0].size(), CV_32FC1); size 111 modules/photo/src/contrast_preserve.cpp for(unsigned int i=0;i< polyGrad[0].size();i++) size 114 modules/photo/src/contrast_preserve.cpp for(unsigned int j =0;j<polyGrad.size();j++) size 122 modules/photo/src/contrast_preserve.cpp for(unsigned int i =0;i<alf.size();i++) size 133 modules/photo/src/contrast_preserve.cpp for(unsigned int i = 0;i<G_pos.size();i++) size 138 modules/photo/src/contrast_preserve.cpp for(unsigned int i=0;i<EXPsum.size();i++) size 146 modules/photo/src/contrast_preserve.cpp for(unsigned int i =0; i < G_pos.size();i++) size 152 modules/photo/src/contrast_preserve.cpp for(unsigned int i=0;i< polyGrad.size();i++) size 155 modules/photo/src/contrast_preserve.cpp for(unsigned int j =0;j<polyGrad[0].size();j++) size 162 modules/photo/src/contrast_preserve.cpp for(unsigned int i =0;i<wei.size();i++) size 180 modules/photo/src/contrast_preserve.cpp Mat Gray = Mat::zeros(img.size(),CV_32FC1); size 187 modules/photo/src/contrast_preserve.cpp Mat lab = Mat(img.size(),CV_8UC3); size 188 modules/photo/src/contrast_preserve.cpp Mat color = Mat(img.size(),CV_8UC3); size 91 modules/photo/src/contrast_preserve.hpp for(unsigned int i=0;i< polyGrad[0].size();i++) size 94 modules/photo/src/contrast_preserve.hpp for(unsigned int j =0;j<polyGrad.size();j++) size 100 modules/photo/src/contrast_preserve.hpp for(unsigned int i=0;i<polyGrad[0].size();i++) size 104 modules/photo/src/contrast_preserve.hpp for(unsigned int i=0;i<polyGrad[0].size();i++) size 107 modules/photo/src/contrast_preserve.hpp return (sum/polyGrad[0].size()); size 127 modules/photo/src/contrast_preserve.hpp for (unsigned int i=0;i<comb.size();i++) size 139 modules/photo/src/contrast_preserve.hpp int w=img.size().width; size 140 modules/photo/src/contrast_preserve.hpp int h=img.size().height; size 149 modules/photo/src/contrast_preserve.hpp int w=img.size().width; size 150 modules/photo/src/contrast_preserve.hpp int h=img.size().height; size 159 modules/photo/src/contrast_preserve.hpp Mat dest= Mat(img.size().height,img.size().width, CV_32FC1); size 160 modules/photo/src/contrast_preserve.hpp Mat dest1= Mat(img.size().height,img.size().width, CV_32FC1); size 167 modules/photo/src/contrast_preserve.hpp int height = d_trans.size().height; size 168 modules/photo/src/contrast_preserve.hpp int width = d_trans.size().width; size 184 modules/photo/src/contrast_preserve.hpp Mat lab = Mat(img.size(),CV_32FC3); size 200 modules/photo/src/contrast_preserve.hpp for(unsigned int i=0;i<ImL.size();i++) size 223 modules/photo/src/contrast_preserve.hpp for(unsigned int i=0;i<curGrad.size();i++) size 230 modules/photo/src/contrast_preserve.hpp int h = img.size().height; size 231 modules/photo/src/contrast_preserve.hpp int w = img.size().width; size 239 modules/photo/src/contrast_preserve.hpp Mat curIm = Mat(img.size(),CV_32FC1); size 253 modules/photo/src/contrast_preserve.hpp for(unsigned int i=0;i<Rg.size();i++) size 285 modules/photo/src/contrast_preserve.hpp for(unsigned int i =0 ;i < Rg.size();i++) size 288 modules/photo/src/contrast_preserve.hpp for(unsigned int i =0 ;i < Rg.size();i++) size 292 modules/photo/src/contrast_preserve.hpp for(unsigned int i=0;i<alf.size();i++) size 295 modules/photo/src/contrast_preserve.hpp sum = (double)100*sum/alf.size(); size 305 modules/photo/src/contrast_preserve.hpp int h = img.size().height; size 306 modules/photo/src/contrast_preserve.hpp int w = img.size().width; size 315 modules/photo/src/contrast_preserve.hpp h = img.size().height; size 316 modules/photo/src/contrast_preserve.hpp w = img.size().width; size 319 modules/photo/src/contrast_preserve.hpp Mat curIm = Mat(img.size(),CV_32FC1); size 345 modules/photo/src/contrast_preserve.hpp int size = static_cast<int>(poly.size()), size0 = static_cast<int>(poly[0].size()); size 346 modules/photo/src/contrast_preserve.hpp Mat P = Mat(size, size0, CV_32FC1); size 347 modules/photo/src/contrast_preserve.hpp Mat A = Mat(size, size, CV_32FC1); size 349 modules/photo/src/contrast_preserve.hpp for (int i = 0; i < size; i++) size 354 modules/photo/src/contrast_preserve.hpp Mat B = Mat(size, size0, CV_32FC1); size 355 modules/photo/src/contrast_preserve.hpp for(int i =0;i < size;i++) size 357 modules/photo/src/contrast_preserve.hpp for(int j = 0, end = (int)Cg.size(); j < end;j++) size 377 modules/photo/src/contrast_preserve.hpp for(unsigned int i=0;i<comb.size();i++) size 380 modules/photo/src/contrast_preserve.hpp for(unsigned int i=0;i<sum.size();i++) size 395 modules/photo/src/contrast_preserve.hpp int h=img.size().height; size 396 modules/photo/src/contrast_preserve.hpp int w=img.size().width; size 76 modules/photo/src/denoise_tvl1.cpp CV_Assert(observations.size()>0 && niters>0 && lambda>0); size 84 modules/photo/src/denoise_tvl1.cpp for(i=1;i<(int)observations.size();i++){ size 90 modules/photo/src/denoise_tvl1.cpp std::vector< Mat_<double> > Rs(observations.size()); size 91 modules/photo/src/denoise_tvl1.cpp for(count=0;count<(int)Rs.size();count++){ size 123 modules/photo/src/denoise_tvl1.cpp for(count=0;count<(int)Rs.size();count++){ size 141 modules/photo/src/denoise_tvl1.cpp for(count=0;count<(int)Rs.size();count++){ size 152 modules/photo/src/denoise_tvl1.cpp for(count=0;count<(int)Rs.size();count++){ size 52 modules/photo/src/denoising.cpp int hn = (int)h.size(); size 114 modules/photo/src/denoising.cpp int hn = (int)h.size(), type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); size 117 modules/photo/src/denoising.cpp Size src_size = _src.size(); size 173 modules/photo/src/denoising.cpp Size src_size = _src.size(); size 213 modules/photo/src/denoising.cpp int src_imgs_size = static_cast<int>(srcImgs.size()); size 235 modules/photo/src/denoising.cpp if (srcImgs[0].size() != srcImgs[i].size() || srcImgs[0].type() != srcImgs[i].type()) size 247 modules/photo/src/denoising.cpp int hn = (int)h.size(); size 327 modules/photo/src/denoising.cpp int hn = (int)h.size(); size 331 modules/photo/src/denoising.cpp _dst.create(srcImgs[0].size(), srcImgs[0].type()); size 388 modules/photo/src/denoising.cpp _dst.create(srcImgs[0].size(), srcImgs[0].type()); size 392 modules/photo/src/denoising.cpp int src_imgs_size = static_cast<int>(srcImgs.size()); size 408 modules/photo/src/denoising.cpp src_lab[i] = Mat::zeros(srcImgs[0].size(), type); size 409 modules/photo/src/denoising.cpp l[i] = Mat::zeros(srcImgs[0].size(), CV_MAKE_TYPE(depth, 1)); size 410 modules/photo/src/denoising.cpp ab[i] = Mat::zeros(srcImgs[0].size(), CV_MAKE_TYPE(depth, 2)); size 429 modules/photo/src/denoising.cpp Mat dst_lab(srcImgs[0].size(), srcImgs[0].type()); size 98 modules/photo/src/denoising.cuda.cpp _dst.create(src.size(), src.type()); size 126 modules/photo/src/denoising.cuda.cpp Size esize = src.size() + Size(border_size, border_size) * 2; size 132 modules/photo/src/denoising.cuda.cpp GpuMat src_hdr = extended_src(Rect(Point2i(border_size, border_size), src.size())); size 142 modules/photo/src/denoising.cuda.cpp _dst.create(src.size(), src.type()); size 156 modules/photo/src/denoising.cuda.cpp GpuMat lab = pool.getBuffer(src.size(), src.type()); size 159 modules/photo/src/denoising.cuda.cpp GpuMat l = pool.getBuffer(src.size(), CV_8U); size 160 modules/photo/src/denoising.cuda.cpp GpuMat ab = pool.getBuffer(src.size(), CV_8UC2); size 145 modules/photo/src/fast_nlmeans_denoising_invoker.hpp dst_ = Mat::zeros(src_.size(), src_.type()); size 89 modules/photo/src/fast_nlmeans_denoising_opencl.hpp Size size = _src.size(); size 99 modules/photo/src/fast_nlmeans_denoising_opencl.hpp int nblocksx = divUp(size.width, BLOCK_COLS), nblocksy = divUp(size.height, BLOCK_ROWS); size 148 modules/photo/src/fast_nlmeans_denoising_opencl.hpp srcex.create(size.height + 2*borderSize, size.width + 2*borderSize, CV_MAKE_TYPE(depth, 4)); size 149 modules/photo/src/fast_nlmeans_denoising_opencl.hpp UMat src(srcex, Rect(borderSize, borderSize, size.width, size.height)); size 158 modules/photo/src/fast_nlmeans_denoising_opencl.hpp _dst.create(size, type); size 161 modules/photo/src/fast_nlmeans_denoising_opencl.hpp dst.create(size, CV_MAKE_TYPE(depth, 4)); size 166 modules/photo/src/fast_nlmeans_denoising_opencl.hpp Size upColSumSize(size.width, searchWindowSizeSq * nblocksy); size 170 modules/photo/src/fast_nlmeans_denoising_opencl.hpp srcex = srcex(Rect(Point(borderSize, borderSize), size)); size 191 modules/photo/src/fast_nlmeans_denoising_opencl.hpp _dst.create(src.size(), src.type()); size 197 modules/photo/src/fast_nlmeans_denoising_opencl.hpp UMat l(src.size(), CV_8U); size 198 modules/photo/src/fast_nlmeans_denoising_opencl.hpp UMat ab(src.size(), CV_8UC2); size 202 modules/photo/src/fast_nlmeans_denoising_opencl.hpp l_ab_denoised[0].create(src.size(), CV_8U); size 203 modules/photo/src/fast_nlmeans_denoising_opencl.hpp l_ab_denoised[1].create(src.size(), CV_8UC2); size 211 modules/photo/src/fast_nlmeans_denoising_opencl.hpp UMat dst_lab(src.size(), CV_8UC3); size 106 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp dst_(dst), extended_srcs_(srcImgs.size()) size 108 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp CV_Assert(srcImgs.size() > 0); size 156 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp dst_ = Mat::zeros(srcImgs[0].size(), srcImgs[0].type()); size 56 modules/photo/src/hdr_common.cpp for(size_t i = 0; i < images.size(); i++) { size 814 modules/photo/src/inpaint.cpp _dst.create( src.size(), src.type() ); size 65 modules/photo/src/merge.cpp CV_Assert(images.size() == times.total()); size 70 modules/photo/src/merge.cpp Size size = images[0].size(); size 73 modules/photo/src/merge.cpp dst.create(images[0].size(), CV_32FCC); size 89 modules/photo/src/merge.cpp result = Mat::zeros(size, CV_32FCC); size 92 modules/photo/src/merge.cpp Mat weight_sum = Mat::zeros(size, CV_32F); size 94 modules/photo/src/merge.cpp for(size_t i = 0; i < images.size(); i++) { size 98 modules/photo/src/merge.cpp Mat w = Mat::zeros(size, CV_32F); size 160 modules/photo/src/merge.cpp Size size = images[0].size(); size 163 modules/photo/src/merge.cpp std::vector<Mat> weights(images.size()); size 164 modules/photo/src/merge.cpp Mat weight_sum = Mat::zeros(size, CV_32F); size 166 modules/photo/src/merge.cpp for(size_t i = 0; i < images.size(); i++) { size 181 modules/photo/src/merge.cpp Mat mean = Mat::zeros(size, CV_32F); size 187 modules/photo/src/merge.cpp saturation = Mat::zeros(size, CV_32F); size 195 modules/photo/src/merge.cpp wellexp = Mat::ones(size, CV_32F); size 214 modules/photo/src/merge.cpp int maxlevel = static_cast<int>(logf(static_cast<float>(min(size.width, size.height))) / logf(2.0f)); size 217 modules/photo/src/merge.cpp for(size_t i = 0; i < images.size(); i++) { size 228 modules/photo/src/merge.cpp pyrUp(img_pyr[lvl + 1], up, img_pyr[lvl].size()); size 247 modules/photo/src/merge.cpp pyrUp(res_pyr[lvl], up, res_pyr[lvl - 1].size()); size 250 modules/photo/src/merge.cpp dst.create(size, CV_32FCC); size 305 modules/photo/src/merge.cpp CV_Assert(images.size() == times.total()); size 312 modules/photo/src/merge.cpp dst.create(images[0].size(), CV_32FCC); size 323 modules/photo/src/merge.cpp result = Mat::zeros(images[0].size(), CV_32FCC); size 324 modules/photo/src/merge.cpp Mat wsum = Mat::zeros(images[0].size(), CV_32FCC); size 325 modules/photo/src/merge.cpp for(size_t i = 0; i < images.size(); i++) { size 55 modules/photo/src/npr.cpp _dst.create(I.size(), CV_8UC3); size 58 modules/photo/src/npr.cpp int h = I.size().height; size 59 modules/photo/src/npr.cpp int w = I.size().width; size 66 modules/photo/src/npr.cpp Mat img = Mat(I.size(),CV_32FC3); size 77 modules/photo/src/npr.cpp _dst.create(I.size(), CV_8UC3); size 80 modules/photo/src/npr.cpp int h = I.size().height; size 81 modules/photo/src/npr.cpp int w = I.size().width; size 84 modules/photo/src/npr.cpp Mat img = Mat(I.size(),CV_32FC3); size 90 modules/photo/src/npr.cpp Mat result = Mat(img.size(),CV_32FC3); size 91 modules/photo/src/npr.cpp Mat lab = Mat(img.size(),CV_32FC3); size 97 modules/photo/src/npr.cpp Mat L = Mat(img.size(),CV_32FC1); size 122 modules/photo/src/npr.cpp _dst1.create(I.size(), CV_8UC1); size 125 modules/photo/src/npr.cpp _dst2.create(I.size(), CV_8UC3); size 128 modules/photo/src/npr.cpp Mat img = Mat(I.size(),CV_32FC3); size 133 modules/photo/src/npr.cpp Mat sketch = Mat(I.size(),CV_32FC1); size 134 modules/photo/src/npr.cpp Mat color_sketch = Mat(I.size(),CV_32FC3); size 146 modules/photo/src/npr.cpp _dst.create(I.size(), CV_8UC3); size 149 modules/photo/src/npr.cpp Mat img = Mat(I.size(),CV_32FC3); size 152 modules/photo/src/npr.cpp int h = img.size().height; size 153 modules/photo/src/npr.cpp int w = img.size().width; size 77 modules/photo/src/npr.hpp for(int i = 0; i < img.size().height; i++) size 78 modules/photo/src/npr.hpp for(int j = 0; j < img.size().width-1; j++) size 92 modules/photo/src/npr.hpp for(int i = 0; i < img.size().height-1; i++) size 93 modules/photo/src/npr.hpp for(int j = 0; j < img.size().width; j++) size 399 modules/photo/src/npr.hpp int h = img.size().height; size 400 modules/photo/src/npr.hpp int w = img.size().width; size 481 modules/photo/src/npr.hpp int h = img.size().height; size 482 modules/photo/src/npr.hpp int w = img.size().width; size 538 modules/photo/src/npr.hpp int h = img.size().height; size 539 modules/photo/src/npr.hpp int w = img.size().width; size 55 modules/photo/src/seamless_cloning.cpp _blend.create(dest.size(), CV_8UC3); size 59 modules/photo/src/seamless_cloning.cpp int h = mask.size().height; size 60 modules/photo/src/seamless_cloning.cpp int w = mask.size().width; size 62 modules/photo/src/seamless_cloning.cpp Mat gray = Mat(mask.size(),CV_8UC1); size 63 modules/photo/src/seamless_cloning.cpp Mat dst_mask = Mat::zeros(dest.size(),CV_8UC1); size 64 modules/photo/src/seamless_cloning.cpp Mat cs_mask = Mat::zeros(src.size(),CV_8UC3); size 65 modules/photo/src/seamless_cloning.cpp Mat cd_mask = Mat::zeros(dest.size(),CV_8UC3); size 121 modules/photo/src/seamless_cloning.cpp _dst.create(src.size(), src.type()); size 128 modules/photo/src/seamless_cloning.cpp Mat gray = Mat::zeros(mask.size(),CV_8UC1); size 135 modules/photo/src/seamless_cloning.cpp Mat cs_mask = Mat::zeros(src.size(),CV_8UC3); size 148 modules/photo/src/seamless_cloning.cpp _dst.create(src.size(), src.type()); size 153 modules/photo/src/seamless_cloning.cpp Mat gray = Mat::zeros(mask.size(),CV_8UC1); size 160 modules/photo/src/seamless_cloning.cpp Mat cs_mask = Mat::zeros(src.size(),CV_8UC3); size 175 modules/photo/src/seamless_cloning.cpp _dst.create(src.size(), src.type()); size 178 modules/photo/src/seamless_cloning.cpp Mat gray = Mat::zeros(mask.size(),CV_8UC1); size 185 modules/photo/src/seamless_cloning.cpp Mat cs_mask = Mat::zeros(src.size(),CV_8UC3); size 124 modules/photo/src/seamless_cloning_impl.cpp Mat planes[] = {temp, Mat::zeros(temp.size(), CV_32F)}; size 143 modules/photo/src/seamless_cloning_impl.cpp Mat planes2[] = {temp, Mat::zeros(temp.size(), CV_32F)}; size 150 modules/photo/src/seamless_cloning_impl.cpp dest = Mat::zeros(src.size(), CV_32F); size 224 modules/photo/src/seamless_cloning_impl.cpp Mat lap = Mat(img.size(),CV_32FC1); size 243 modules/photo/src/seamless_cloning_impl.cpp destinationGradientX = Mat(destination.size(),CV_32FC3); size 244 modules/photo/src/seamless_cloning_impl.cpp destinationGradientY = Mat(destination.size(),CV_32FC3); size 245 modules/photo/src/seamless_cloning_impl.cpp patchGradientX = Mat(destination.size(),CV_32FC3); size 246 modules/photo/src/seamless_cloning_impl.cpp patchGradientY = Mat(destination.size(),CV_32FC3); size 248 modules/photo/src/seamless_cloning_impl.cpp binaryMaskFloat = Mat(binaryMask.size(),CV_32FC1); size 249 modules/photo/src/seamless_cloning_impl.cpp binaryMaskFloatInverted = Mat(binaryMask.size(),CV_32FC1); size 306 modules/photo/src/seamless_cloning_impl.cpp Mat laplacianX = Mat(destination.size(),CV_32FC3); size 307 modules/photo/src/seamless_cloning_impl.cpp Mat laplacianY = Mat(destination.size(),CV_32FC3); size 393 modules/photo/src/seamless_cloning_impl.cpp Mat gray = Mat(patch.size(),CV_8UC1); size 428 modules/photo/src/seamless_cloning_impl.cpp Mat mag = Mat(I.size(),CV_32FC3); size 456 modules/photo/src/seamless_cloning_impl.cpp Mat out = Mat(mask.size(),CV_8UC1); size 459 modules/photo/src/seamless_cloning_impl.cpp Mat zeros(patchGradientX.size(), CV_32FC3); size 67 modules/photo/src/tonemap.cpp _dst.create(src.size(), CV_32FC3); size 122 modules/photo/src/tonemap.cpp _dst.create(src.size(), CV_32FC3); size 206 modules/photo/src/tonemap.cpp _dst.create(src.size(), CV_32FC3); size 290 modules/photo/src/tonemap.cpp _dst.create(src.size(), CV_32FC3); size 384 modules/photo/src/tonemap.cpp _dst.create(src.size(), CV_32FC3); size 397 modules/photo/src/tonemap.cpp for(size_t i = 0; i < x_contrast.size(); i++) { size 402 modules/photo/src/tonemap.cpp Mat right(src.size(), CV_32F); size 487 modules/photo/src/tonemap.cpp dst = Mat::zeros(src.size(), CV_32F); size 513 modules/photo/src/tonemap.cpp sum = Mat::zeros(x_contrast[x_contrast.size() - 1].size(), CV_32F); size 514 modules/photo/src/tonemap.cpp for(int i = (int)x_contrast.size() - 1; i >= 0; i--) size 519 modules/photo/src/tonemap.cpp resize(sum, sum, x_contrast[i].size()); size 51 modules/photo/test/ocl/test_denoising.cpp Size roiSize = use_image ? image.size() : randomSize(1, MAX_VALUE); size 79 modules/photo/test/test_cloning.cpp p.x = destination.size().width/2; size 80 modules/photo/test/test_cloning.cpp p.y = destination.size().height/2; size 110 modules/photo/test/test_cloning.cpp p.x = destination.size().width/2; size 111 modules/photo/test/test_cloning.cpp p.y = destination.size().height/2; size 142 modules/photo/test/test_cloning.cpp p.x = destination.size().width/2; size 143 modules/photo/test/test_cloning.cpp p.y = destination.size().height/2; size 45 modules/photo/test/test_denoise_tvl1.cpp noisy.create(img.size(), img.type()); size 46 modules/photo/test/test_denoise_tvl1.cpp cv::Mat noise(img.size(), img.type()), mask(img.size(), CV_8U); size 86 modules/photo/test/test_denoise_tvl1.cpp for(int i=0;i<(int)images.size();i++) size 152 modules/python/src2/cv2.cpp u->size = sizes[0]*step[0]; size 305 modules/python/src2/cv2.cpp int size[CV_MAX_DIM+1]; size 348 modules/python/src2/cv2.cpp size[i] = (int)_sizes[i]; size 354 modules/python/src2/cv2.cpp size[ndims] = 1; size 362 modules/python/src2/cv2.cpp type |= CV_MAKETYPE(0, size[2]); size 371 modules/python/src2/cv2.cpp m = Mat(ndims, size, type, PyArray_DATA(oarr), step); size 372 modules/python/src2/cv2.cpp m.u = g_numpyAllocator.allocate(o, ndims, size, type, step); size 848 modules/python/src2/cv2.cpp Mat src((int)value.size(), DataType<_Tp>::channels, DataType<_Tp>::depth, (uchar*)&value[0]); size 891 modules/python/src2/cv2.cpp int i, n = (int)value.size(); size 995 modules/python/src2/cv2.cpp return PyArg_ParseTuple(obj, "(ff)(ff)f", &dst.center.x, &dst.center.y, &dst.size.width, &dst.size.height, &dst.angle) > 0; size 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); size 105 modules/shape/src/aff_trans.cpp warpAffine(transformingImage, output, affineMat, transformingImage.getMat().size(), flags, borderMode, borderValue); size 113 modules/shape/src/aff_trans.cpp int siz=2*(int)shape1.size(); size 188 modules/shape/src/aff_trans.cpp CV_Assert(_matches.size()>1); size 197 modules/shape/src/aff_trans.cpp for (size_t i=0; i<_matches.size(); i++) size 209 modules/shape/src/aff_trans.cpp for (size_t i=0; i<matches.size(); i++) size 127 modules/shape/src/sc_dis.cpp _image1.create(image1.size(), image1.type()); size 128 modules/shape/src/sc_dis.cpp _image2.create(image2.size(), image2.type()); size 275 modules/shape/src/sc_dis.cpp resize(warpedImage, warpedImage, image1.size()); size 281 modules/shape/src/sc_dis.cpp resize(warpedImage, warpedImage, image2.size()); size 344 modules/shape/src/sc_dis.cpp if ((int)queryInliers.size()>0) size 414 modules/shape/src/sc_dis.cpp if (queryInliers.size()>0) size 764 modules/shape/src/sc_dis.cpp for (size_t kc = 0; kc<inliers1.size(); kc++) size 772 modules/shape/src/sc_dis.cpp for (size_t kc = 0; kc<inliers2.size(); kc++) size 194 modules/shape/src/tps_trans.cpp CV_Assert(_matches.size()>1); size 203 modules/shape/src/tps_trans.cpp for (size_t i=0; i<_matches.size(); i++) size 213 modules/shape/src/tps_trans.cpp Mat shape1((int)matches.size(),2,CV_32F); // transforming shape size 214 modules/shape/src/tps_trans.cpp Mat shape2((int)matches.size(),2,CV_32F); // target shape size 215 modules/shape/src/tps_trans.cpp for (int i=0, end = (int)matches.size(); i<end; i++) size 230 modules/shape/src/tps_trans.cpp Mat matK((int)matches.size(),(int)matches.size(),CV_32F); size 231 modules/shape/src/tps_trans.cpp Mat matP((int)matches.size(),3,CV_32F); size 232 modules/shape/src/tps_trans.cpp for (int i=0, end=(int)matches.size(); i<end; i++) size 252 modules/shape/src/tps_trans.cpp Mat matL=Mat::zeros((int)matches.size()+3,(int)matches.size()+3,CV_32F); size 253 modules/shape/src/tps_trans.cpp Mat matLroi(matL, Rect(0,0,(int)matches.size(),(int)matches.size())); //roi for K size 255 modules/shape/src/tps_trans.cpp matLroi = Mat(matL,Rect((int)matches.size(),0,3,(int)matches.size())); //roi for P size 259 modules/shape/src/tps_trans.cpp matLroi = Mat(matL,Rect(0,(int)matches.size(),(int)matches.size(),3)); //roi for P' size 263 modules/shape/src/tps_trans.cpp Mat matB = Mat::zeros((int)matches.size()+3,2,CV_32F); size 264 modules/shape/src/tps_trans.cpp for (int i=0, end = (int)matches.size(); i<end; i++) size 73 modules/shape/test/test_shape.cpp const int totalCount = (int)filenames.size(); size 90 modules/shape/test/test_shape.cpp for (size_t border=0; border<_contoursQuery.size(); border++) size 92 modules/shape/test/test_shape.cpp for (size_t p=0; p<_contoursQuery[border].size(); p++) size 100 modules/shape/test/test_shape.cpp for (int add=(int)contoursQuery.size()-1; add<NP; add++) size 102 modules/shape/test/test_shape.cpp contoursQuery.push_back(contoursQuery[contoursQuery.size()-add+1]); //adding dummy values size 120 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp CV_Assert(mask.type() == CV_8U && mask.size() == Size(3, 3)); size 111 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp virtual void find(const std::vector<Size> &size, const std::vector<Point> &corners, size 115 modules/stitching/include/opencv2/stitching/detail/util.hpp std::vector<int> size; size 140 modules/stitching/include/opencv2/stitching/detail/util.hpp int numVertices() const { return static_cast<int>(edges_.size()); } size 160 modules/stitching/include/opencv2/stitching/detail/util.hpp CV_EXPORTS void selectRandomSubset(int count, int size, std::vector<int> &subset); size 98 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp Rect dst_roi = buildMaps(src.size(), K, R, xmap, ymap); size 116 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp Size size = src.size(); size 117 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp CV_Assert(src_br.x - src_tl.x + 1 == size.width && src_br.y - src_tl.y + 1 == size.height); size 61 modules/stitching/perf/opencl/perf_stitch.cpp EXPECT_NEAR(pano.size().width, 1182, 50); size 62 modules/stitching/perf/opencl/perf_stitch.cpp EXPECT_NEAR(pano.size().height, 682, 30); size 98 modules/stitching/perf/opencl/perf_stitch.cpp EXPECT_NEAR(pano.size().width, 1124, 50); size 99 modules/stitching/perf/opencl/perf_stitch.cpp EXPECT_NEAR(pano.size().height, 644, 30); size 140 modules/stitching/perf/opencl/perf_stitch.cpp EXPECT_NEAR(pano.size().width, 10789, 200); size 141 modules/stitching/perf/opencl/perf_stitch.cpp EXPECT_NEAR(pano.size().height, 2663, 100); size 150 modules/stitching/perf/opencl/perf_warpers.cpp std::cout << dst.size() << " " << dst.size().area() << std::endl; size 59 modules/stitching/perf/perf_stich.cpp EXPECT_NEAR(pano.size().width, 1182, 50); size 60 modules/stitching/perf/perf_stich.cpp EXPECT_NEAR(pano.size().height, 682, 30); size 148 modules/stitching/perf/perf_stich.cpp for(size_t q = 0; q < matches.size(); ++q) size 207 modules/stitching/perf/perf_stich.cpp for(size_t q = 0; q < matches.size(); ++q) size 68 modules/stitching/src/autocalib.cpp CV_Assert(H.type() == CV_64F && H.size() == Size(3, 3)); size 100 modules/stitching/src/autocalib.cpp const int num_images = static_cast<int>(features.size()); size 120 modules/stitching/src/autocalib.cpp if (static_cast<int>(all_focals.size()) >= num_images - 1) size 125 modules/stitching/src/autocalib.cpp if (all_focals.size() % 2 == 1) size 126 modules/stitching/src/autocalib.cpp median = all_focals[all_focals.size() / 2]; size 128 modules/stitching/src/autocalib.cpp median = (all_focals[all_focals.size() / 2 - 1] + all_focals[all_focals.size() / 2]) * 0.5; size 147 modules/stitching/src/autocalib.cpp int m = static_cast<int>(Hs.size()); size 153 modules/stitching/src/autocalib.cpp CV_Assert(Hs[i].size() == Size(3, 3) && Hs[i].type() == CV_64F); size 72 modules/stitching/src/blenders.cpp dst_.create(dst_roi.size(), CV_16SC3); size 74 modules/stitching/src/blenders.cpp dst_mask_.create(dst_roi.size(), CV_8U); size 124 modules/stitching/src/blenders.cpp dst_weight_map_.create(dst_roi.size(), CV_32F); size 173 modules/stitching/src/blenders.cpp weight_maps.resize(masks.size()); size 174 modules/stitching/src/blenders.cpp for (size_t i = 0; i < masks.size(); ++i) size 178 modules/stitching/src/blenders.cpp Mat weights_sum(dst_roi.size(), CV_32F); size 181 modules/stitching/src/blenders.cpp for (size_t i = 0; i < weight_maps.size(); ++i) size 188 modules/stitching/src/blenders.cpp for (size_t i = 0; i < weight_maps.size(); ++i) size 235 modules/stitching/src/blenders.cpp dst_band_weights_[0].create(dst_roi.size(), weight_type_); size 579 modules/stitching/src/blenders.cpp pyrUp(downNext, lvl_up, current.size()); size 588 modules/stitching/src/blenders.cpp pyrUp(downNext, lvl_up, current.size()); size 602 modules/stitching/src/blenders.cpp pyrUp(pyr[i + 1], tmp, pyr[i].size()); size 642 modules/stitching/src/blenders.cpp for (size_t i = pyr.size() - 1; i > 0; --i) size 644 modules/stitching/src/blenders.cpp pyrUp(pyr[i], tmp, pyr[i - 1].size()); size 656 modules/stitching/src/blenders.cpp std::vector<cuda::GpuMat> gpu_pyr(pyr.size()); size 657 modules/stitching/src/blenders.cpp for (size_t i = 0; i < pyr.size(); ++i) size 661 modules/stitching/src/blenders.cpp for (size_t i = pyr.size() - 1; i > 0; --i) size 65 modules/stitching/src/exposure_compensate.cpp for (size_t i = 0; i < masks.size(); ++i) size 79 modules/stitching/src/exposure_compensate.cpp CV_Assert(corners.size() == images.size() && images.size() == masks.size()); size 81 modules/stitching/src/exposure_compensate.cpp const int num_images = static_cast<int>(images.size()); size 94 modules/stitching/src/exposure_compensate.cpp if (overlapRoi(corners[i], corners[j], images[i].size(), images[j].size(), roi)) size 166 modules/stitching/src/exposure_compensate.cpp CV_Assert(corners.size() == images.size() && images.size() == masks.size()); size 168 modules/stitching/src/exposure_compensate.cpp const int num_images = static_cast<int>(images.size()); size 231 modules/stitching/src/exposure_compensate.cpp if (gain_maps_[index].size() == _image.size()) size 234 modules/stitching/src/exposure_compensate.cpp resize(gain_maps_[index], u_gain_map, _image.size(), 0, 0, INTER_LINEAR); size 73 modules/stitching/src/matchers.cpp const int num_images = static_cast<int>(features.size()); size 93 modules/stitching/src/matchers.cpp for (size_t j = 0; j < pairwise_matches[dual_pair_idx].matches.size(); ++j) size 182 modules/stitching/src/matchers.cpp for (size_t i = 0; i < pair_matches.size(); ++i) size 184 modules/stitching/src/matchers.cpp if (pair_matches[i].size() < 2) size 194 modules/stitching/src/matchers.cpp LOG("\n1->2 matches: " << matches_info.matches.size() << endl); size 199 modules/stitching/src/matchers.cpp for (size_t i = 0; i < pair_matches.size(); ++i) size 201 modules/stitching/src/matchers.cpp if (pair_matches[i].size() < 2) size 209 modules/stitching/src/matchers.cpp LOG("1->2 & 2->1 matches: " << matches_info.matches.size() << endl); size 217 modules/stitching/src/matchers.cpp ensureSizeIsEnough(features1.descriptors.size(), features1.descriptors.type(), descriptors1_); size 218 modules/stitching/src/matchers.cpp ensureSizeIsEnough(features2.descriptors.size(), features2.descriptors.type(), descriptors2_); size 230 modules/stitching/src/matchers.cpp for (size_t i = 0; i < pair_matches.size(); ++i) size 232 modules/stitching/src/matchers.cpp if (pair_matches[i].size() < 2) size 246 modules/stitching/src/matchers.cpp for (size_t i = 0; i < pair_matches.size(); ++i) size 248 modules/stitching/src/matchers.cpp if (pair_matches[i].size() < 2) size 278 modules/stitching/src/matchers.cpp features.img_size = image.size(); size 284 modules/stitching/src/matchers.cpp std::vector<ImageFeatures> roi_features(rois.size()); size 288 modules/stitching/src/matchers.cpp for (size_t i = 0; i < rois.size(); ++i) size 291 modules/stitching/src/matchers.cpp total_kps_count += roi_features[i].keypoints.size(); size 295 modules/stitching/src/matchers.cpp features.img_size = image.size(); size 303 modules/stitching/src/matchers.cpp for (size_t i = 0; i < rois.size(); ++i) size 305 modules/stitching/src/matchers.cpp for (size_t j = 0; j < roi_features[i].keypoints.size(); ++j, ++kp_idx) size 382 modules/stitching/src/matchers.cpp features.descriptors = descriptors.reshape(1, (int)features.keypoints.size()); size 441 modules/stitching/src/matchers.cpp features.keypoints.reserve(features.keypoints.size() + points.size()); size 475 modules/stitching/src/matchers.cpp ensureSizeIsEnough(image.size(), image.type(), image_); size 478 modules/stitching/src/matchers.cpp ensureSizeIsEnough(image.size(), CV_8UC1, gray_image_); size 530 modules/stitching/src/matchers.cpp const int num_images = static_cast<int>(features.size()); size 540 modules/stitching/src/matchers.cpp if (features[i].keypoints.size() > 0 && features[j].keypoints.size() > 0 && mask_(i, j)) size 547 modules/stitching/src/matchers.cpp parallel_for_(Range(0, static_cast<int>(near_pairs.size())), body); size 549 modules/stitching/src/matchers.cpp body(Range(0, static_cast<int>(near_pairs.size()))); size 583 modules/stitching/src/matchers.cpp if (matches_info.matches.size() < static_cast<size_t>(num_matches_thresh1_)) size 587 modules/stitching/src/matchers.cpp Mat src_points(1, static_cast<int>(matches_info.matches.size()), CV_32FC2); size 588 modules/stitching/src/matchers.cpp Mat dst_points(1, static_cast<int>(matches_info.matches.size()), CV_32FC2); size 589 modules/stitching/src/matchers.cpp for (size_t i = 0; i < matches_info.matches.size(); ++i) size 611 modules/stitching/src/matchers.cpp for (size_t i = 0; i < matches_info.inliers_mask.size(); ++i) size 617 modules/stitching/src/matchers.cpp matches_info.confidence = matches_info.num_inliers / (8 + 0.3 * matches_info.matches.size()); size 631 modules/stitching/src/matchers.cpp for (size_t i = 0; i < matches_info.matches.size(); ++i) size 670 modules/stitching/src/matchers.cpp const int num_images = static_cast<int>(features.size()); size 680 modules/stitching/src/matchers.cpp if (features[i].keypoints.size() > 0 && features[j].keypoints.size() > 0 && mask_(i, j)) size 687 modules/stitching/src/matchers.cpp parallel_for_(Range(0, static_cast<int>(near_pairs.size())), body); size 689 modules/stitching/src/matchers.cpp body(Range(0, static_cast<int>(near_pairs.size()))); size 115 modules/stitching/src/motion_estimators.cpp const int num_images = static_cast<int>(features.size()); size 122 modules/stitching/src/motion_estimators.cpp int len = 2 + rand()%(pairwise_matches.size() - 1); size 124 modules/stitching/src/motion_estimators.cpp selectRandomSubset(len, pairwise_matches.size(), subset); size 126 modules/stitching/src/motion_estimators.cpp for (size_t i = 0; i < subset.size(); ++i) size 130 modules/stitching/src/motion_estimators.cpp if (Hs.size() >= 2) size 185 modules/stitching/src/motion_estimators.cpp num_images_ = static_cast<int>(features.size()); size 205 modules/stitching/src/motion_estimators.cpp for (size_t i = 0; i < edges_.size(); ++i) size 335 modules/stitching/src/motion_estimators.cpp for (size_t edge_idx = 0; edge_idx < edges_.size(); ++edge_idx) size 377 modules/stitching/src/motion_estimators.cpp for (size_t k = 0; k < matches_info.matches.size(); ++k) size 510 modules/stitching/src/motion_estimators.cpp for (size_t edge_idx = 0; edge_idx < edges_.size(); ++edge_idx) size 547 modules/stitching/src/motion_estimators.cpp for (size_t k = 0; k < matches_info.matches.size(); ++k) size 610 modules/stitching/src/motion_estimators.cpp if (rmats.size() <= 1) size 617 modules/stitching/src/motion_estimators.cpp for (size_t i = 0; i < rmats.size(); ++i) size 634 modules/stitching/src/motion_estimators.cpp for (size_t i = 0; i < rmats.size(); ++i) size 651 modules/stitching/src/motion_estimators.cpp for (size_t i = 0; i < rmats.size(); ++i) size 661 modules/stitching/src/motion_estimators.cpp for (size_t i = 0; i < rmats.size(); ++i) size 678 modules/stitching/src/motion_estimators.cpp for (size_t i = 0; i < rmats.size(); ++i) size 693 modules/stitching/src/motion_estimators.cpp const int num_images = static_cast<int>(pathes.size()); size 722 modules/stitching/src/motion_estimators.cpp name_src = name_src.substr(prefix_len, name_src.size() - prefix_len); size 727 modules/stitching/src/motion_estimators.cpp name_dst = name_dst.substr(prefix_len, name_dst.size() - prefix_len); size 731 modules/stitching/src/motion_estimators.cpp << "[label=\"Nm=" << pairwise_matches[pos].matches.size() size 737 modules/stitching/src/motion_estimators.cpp for (size_t i = 0; i < comps.size.size(); ++i) size 739 modules/stitching/src/motion_estimators.cpp if (comps.size[comps.findSetByElem((int)i)] == 1) size 744 modules/stitching/src/motion_estimators.cpp name = name.substr(prefix_len, name.size() - prefix_len); size 756 modules/stitching/src/motion_estimators.cpp const int num_images = static_cast<int>(features.size()); size 772 modules/stitching/src/motion_estimators.cpp int max_comp = static_cast<int>(std::max_element(comps.size.begin(), comps.size.end()) - comps.size.begin()); size 784 modules/stitching/src/motion_estimators.cpp for (size_t i = 0; i < indices.size(); ++i) size 787 modules/stitching/src/motion_estimators.cpp for (size_t j = 0; j < indices.size(); ++j) size 795 modules/stitching/src/motion_estimators.cpp if (static_cast<int>(features_subset.size()) == num_images) size 800 modules/stitching/src/motion_estimators.cpp for (size_t i = 1; i < indices_removed.size(); ++i) size 837 modules/stitching/src/motion_estimators.cpp for (size_t i = 0; i < edges.size(); ++i) size 860 modules/stitching/src/motion_estimators.cpp for (size_t i = 0; i < span_tree_leafs.size(); ++i) size 879 modules/stitching/src/motion_estimators.cpp CV_Assert(centers.size() > 0 && centers.size() <= 2); size 53 modules/stitching/src/seam_finders.cpp if (src.size() == 0) size 61 modules/stitching/src/seam_finders.cpp sizes_.resize(src.size()); size 62 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < src.size(); ++i) size 63 modules/stitching/src/seam_finders.cpp sizes_[i] = src[i].size(); size 74 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < sizes_.size() - 1; ++i) size 76 modules/stitching/src/seam_finders.cpp for (size_t j = i + 1; j < sizes_.size(); ++j) size 95 modules/stitching/src/seam_finders.cpp if (sizes.size() == 0) size 175 modules/stitching/src/seam_finders.cpp if (src.size() == 0) size 180 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i+1 < src.size(); ++i) size 181 modules/stitching/src/seam_finders.cpp for (size_t j = i+1; j < src.size(); ++j) size 185 modules/stitching/src/seam_finders.cpp std::vector<Mat> _src(src.size()); size 186 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < src.size(); ++i) _src[i] = src[i].getMat(ACCESS_READ); size 191 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < pairs.size(); ++i) size 206 modules/stitching/src/seam_finders.cpp CV_Assert(image1.size() == mask1.size()); size 207 modules/stitching/src/seam_finders.cpp CV_Assert(image2.size() == mask2.size()); size 349 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < contours_[ci].size(); ++i) size 593 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < contours_[comp1].size(); ++i) size 609 modules/stitching/src/seam_finders.cpp if (specialPoints.size() < 2) size 624 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < specialPoints.size(); ++i) size 639 modules/stitching/src/seam_finders.cpp double size1 = static_cast<double>(points[i].size()), size2 = static_cast<double>(points[j].size()); size 659 modules/stitching/src/seam_finders.cpp double size = static_cast<double>(points[idx[i]].size()); size 660 modules/stitching/src/seam_finders.cpp double cx = cvRound(sum[idx[i]].x / size); size 661 modules/stitching/src/seam_finders.cpp double cy = cvRound(sum[idx[i]].y / size); size 663 modules/stitching/src/seam_finders.cpp size_t closest = points[idx[i]].size(); size 666 modules/stitching/src/seam_finders.cpp for (size_t j = 0; j < points[idx[i]].size(); ++j) size 825 modules/stitching/src/seam_finders.cpp Mat_<uchar> control = Mat::zeros(roi.size(), CV_8U); size 826 modules/stitching/src/seam_finders.cpp Mat_<uchar> reachable = Mat::zeros(roi.size(), CV_8U); size 827 modules/stitching/src/seam_finders.cpp Mat_<float> cost = Mat::zeros(roi.size(), CV_32F); size 939 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < contours_[comp1].size(); ++i) size 942 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < seam.size(); ++i) size 956 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < contours_[comp1].size(); ++i) size 984 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < seam.size(); ++i) size 997 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < seam.size(); ++i) size 1021 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < contours_[comp1].size(); ++i) size 1047 modules/stitching/src/seam_finders.cpp double len = static_cast<double>(contours_[comp1].size()); size 1089 modules/stitching/src/seam_finders.cpp dx_.resize(src.size()); size 1090 modules/stitching/src/seam_finders.cpp dy_.resize(src.size()); size 1092 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < src.size(); ++i) size 1097 modules/stitching/src/seam_finders.cpp dx_[i].create(src[i].size(), CV_32F); size 1098 modules/stitching/src/seam_finders.cpp dy_[i].create(src[i].size(), CV_32F); size 1119 modules/stitching/src/seam_finders.cpp const Size img_size = img1.size(); size 1169 modules/stitching/src/seam_finders.cpp const Size img_size = img1.size(); size 1334 modules/stitching/src/seam_finders.cpp dx_.resize(src.size()); size 1335 modules/stitching/src/seam_finders.cpp dy_.resize(src.size()); size 1337 modules/stitching/src/seam_finders.cpp for (size_t i = 0; i < src.size(); ++i) size 1342 modules/stitching/src/seam_finders.cpp dx_[i].create(src[i].size(), CV_32F); size 1343 modules/stitching/src/seam_finders.cpp dy_[i].create(src[i].size(), CV_32F); size 1468 modules/stitching/src/seam_finders.cpp const Size img_size = img1.size(); size 1560 modules/stitching/src/seam_finders.cpp const Size img_size = img1.size(); size 127 modules/stitching/src/stitcher.cpp CV_Assert(imgs.size() == imgs_.size()); size 130 modules/stitching/src/stitcher.cpp seam_est_imgs_.resize(imgs.size()); size 132 modules/stitching/src/stitcher.cpp for (size_t i = 0; i < imgs.size(); ++i) size 142 modules/stitching/src/stitcher.cpp for (size_t i = 0; i < indices_.size(); ++i) size 158 modules/stitching/src/stitcher.cpp std::vector<Point> corners(imgs_.size()); size 159 modules/stitching/src/stitcher.cpp std::vector<UMat> masks_warped(imgs_.size()); size 160 modules/stitching/src/stitcher.cpp std::vector<UMat> images_warped(imgs_.size()); size 161 modules/stitching/src/stitcher.cpp std::vector<Size> sizes(imgs_.size()); size 162 modules/stitching/src/stitcher.cpp std::vector<UMat> masks(imgs_.size()); size 165 modules/stitching/src/stitcher.cpp for (size_t i = 0; i < imgs_.size(); ++i) size 167 modules/stitching/src/stitcher.cpp masks[i].create(seam_est_imgs_[i].size(), CV_8U); size 173 modules/stitching/src/stitcher.cpp for (size_t i = 0; i < imgs_.size(); ++i) size 183 modules/stitching/src/stitcher.cpp sizes[i] = images_warped[i].size(); size 188 modules/stitching/src/stitcher.cpp std::vector<UMat> images_warped_f(imgs_.size()); size 189 modules/stitching/src/stitcher.cpp for (size_t i = 0; i < imgs_.size(); ++i) size 220 modules/stitching/src/stitcher.cpp for (size_t img_idx = 0; img_idx < imgs_.size(); ++img_idx) size 232 modules/stitching/src/stitcher.cpp compose_scale = std::min(1.0, std::sqrt(compose_resol_ * 1e6 / full_img.size().area())); size 244 modules/stitching/src/stitcher.cpp for (size_t i = 0; i < imgs_.size(); ++i) size 263 modules/stitching/src/stitcher.cpp sizes[i] = roi.size(); size 277 modules/stitching/src/stitcher.cpp Size img_size = img.size(); size 317 modules/stitching/src/stitcher.cpp resize(dilated_mask, seam_mask, mask_warped.size()); size 381 modules/stitching/src/stitcher.cpp if ((int)imgs_.size() < 2) size 393 modules/stitching/src/stitcher.cpp features_.resize(imgs_.size()); size 394 modules/stitching/src/stitcher.cpp seam_est_imgs_.resize(imgs_.size()); size 395 modules/stitching/src/stitcher.cpp full_img_sizes_.resize(imgs_.size()); size 402 modules/stitching/src/stitcher.cpp for (size_t i = 0; i < imgs_.size(); ++i) size 405 modules/stitching/src/stitcher.cpp full_img_sizes_[i] = full_img.size(); size 417 modules/stitching/src/stitcher.cpp work_scale_ = std::min(1.0, std::sqrt(registr_resol_ * 1e6 / full_img.size().area())); size 424 modules/stitching/src/stitcher.cpp seam_scale_ = std::min(1.0, std::sqrt(seam_est_resol_ * 1e6 / full_img.size().area())); size 433 modules/stitching/src/stitcher.cpp std::vector<Rect> rois(rois_[i].size()); size 434 modules/stitching/src/stitcher.cpp for (size_t j = 0; j < rois_[i].size(); ++j) size 443 modules/stitching/src/stitcher.cpp LOGLN("Features in image #" << i+1 << ": " << features_[i].keypoints.size()); size 469 modules/stitching/src/stitcher.cpp for (size_t i = 0; i < indices_.size(); ++i) size 479 modules/stitching/src/stitcher.cpp if ((int)imgs_.size() < 2) size 495 modules/stitching/src/stitcher.cpp for (size_t i = 0; i < cameras_.size(); ++i) size 509 modules/stitching/src/stitcher.cpp for (size_t i = 0; i < cameras_.size(); ++i) size 516 modules/stitching/src/stitcher.cpp if (focals.size() % 2 == 1) size 517 modules/stitching/src/stitcher.cpp warped_image_scale_ = static_cast<float>(focals[focals.size() / 2]); size 519 modules/stitching/src/stitcher.cpp warped_image_scale_ = static_cast<float>(focals[focals.size() / 2 - 1] + focals[focals.size() / 2]) * 0.5f; size 524 modules/stitching/src/stitcher.cpp for (size_t i = 0; i < cameras_.size(); ++i) size 527 modules/stitching/src/stitcher.cpp for (size_t i = 0; i < cameras_.size(); ++i) size 63 modules/stitching/src/timelapsers.cpp dst_.create(dst_roi_.size(), CV_16SC3); size 102 modules/stitching/src/timelapsers.cpp dst_.create(dst_roi_.size(), CV_16SC3); size 51 modules/stitching/src/util.cpp size.assign(n, 1); size 79 modules/stitching/src/util.cpp size[set2] += size[set1]; size 85 modules/stitching/src/util.cpp size[set1] += size[set2]; size 90 modules/stitching/src/util.cpp size[set2] += size[set1]; size 118 modules/stitching/src/util.cpp std::vector<Size> sizes(images.size()); size 119 modules/stitching/src/util.cpp for (size_t i = 0; i < images.size(); ++i) size 120 modules/stitching/src/util.cpp sizes[i] = images[i].size(); size 127 modules/stitching/src/util.cpp CV_Assert(sizes.size() == corners.size()); size 130 modules/stitching/src/util.cpp for (size_t i = 0; i < corners.size(); ++i) size 142 modules/stitching/src/util.cpp CV_Assert(sizes.size() == corners.size()); size 145 modules/stitching/src/util.cpp for (size_t i = 0; i < corners.size(); ++i) size 159 modules/stitching/src/util.cpp for (size_t i = 0; i < corners.size(); ++i) size 168 modules/stitching/src/util.cpp void selectRandomSubset(int count, int size, std::vector<int> &subset) size 171 modules/stitching/src/util.cpp for (int i = 0; i < size; ++i) size 173 modules/stitching/src/util.cpp if (randu<int>() % (size - i) < count) size 53 modules/stitching/src/warpers.cpp CV_Assert(K.size() == Size(3, 3) && K.type() == CV_32F); size 54 modules/stitching/src/warpers.cpp CV_Assert(R.size() == Size(3, 3) && R.type() == CV_32F); size 55 modules/stitching/src/warpers.cpp CV_Assert((T.size() == Size(1, 3) || T.size() == Size(3, 1)) && T.type() == CV_32F); size 157 modules/stitching/src/warpers.cpp Rect dst_roi = buildMaps(src.size(), K, R, T, uxmap, uymap); size 349 modules/stitching/src/warpers.cpp Rect dst_roi = buildMaps(src.size(), K, R, uxmap, uymap); size 398 modules/stitching/src/warpers.cpp Rect dst_roi = buildMaps(src.size(), K, R, uxmap, uymap); size 78 modules/stitching/src/warpers_cuda.cpp CV_Assert( K.size() == Size(3,3) && K.type() == CV_32FC1 ); size 79 modules/stitching/src/warpers_cuda.cpp CV_Assert( R.size() == Size(3,3) && R.type() == CV_32FC1 ); size 80 modules/stitching/src/warpers_cuda.cpp CV_Assert( (T.size() == Size(3,1) || T.size() == Size(1,3)) && T.type() == CV_32FC1 && T.isContinuous() ); size 87 modules/stitching/src/warpers_cuda.cpp _map_x.create(dst_roi.size(), CV_32FC1); size 88 modules/stitching/src/warpers_cuda.cpp _map_y.create(dst_roi.size(), CV_32FC1); size 105 modules/stitching/src/warpers_cuda.cpp CV_Assert( K.size() == Size(3,3) && K.type() == CV_32FC1 ); size 106 modules/stitching/src/warpers_cuda.cpp CV_Assert( R.size() == Size(3,3) && R.type() == CV_32FC1 ); size 113 modules/stitching/src/warpers_cuda.cpp _map_x.create(dst_roi.size(), CV_32FC1); size 114 modules/stitching/src/warpers_cuda.cpp _map_y.create(dst_roi.size(), CV_32FC1); size 130 modules/stitching/src/warpers_cuda.cpp CV_Assert( K.size() == Size(3,3) && K.type() == CV_32FC1 ); size 131 modules/stitching/src/warpers_cuda.cpp CV_Assert( R.size() == Size(3,3) && R.type() == CV_32FC1 ); size 138 modules/stitching/src/warpers_cuda.cpp _map_x.create(dst_roi.size(), CV_32FC1); size 139 modules/stitching/src/warpers_cuda.cpp _map_y.create(dst_roi.size(), CV_32FC1); size 203 modules/stitching/src/warpers_cuda.cpp Rect dst_roi = buildMaps(src.size(), K, R, T, d_xmap_, d_ymap_); size 247 modules/stitching/src/warpers_cuda.cpp Rect dst_roi = buildMaps(src.size(), K, R, d_xmap_, d_ymap_); size 293 modules/stitching/src/warpers_cuda.cpp Rect dst_roi = buildMaps(src.size(), K, R, d_xmap_, d_ymap_); size 60 modules/stitching/test/ocl/test_warpers.cpp Size size = randomSize(1, MAX_VALUE); size 62 modules/stitching/test/ocl/test_warpers.cpp src = randomMat(size, CV_32FC1, -500, 500); size 94 modules/stitching/test/ocl/test_warpers.cpp OCL_OFF(warper->buildMaps(src.size(), K, R, xmap, ymap)); size 95 modules/stitching/test/ocl/test_warpers.cpp OCL_ON(warper->buildMaps(usrc.size(), K, R, uxmap, uymap)); size 115 modules/stitching/test/ocl/test_warpers.cpp OCL_OFF(warper->buildMaps(src.size(), K, R, xmap, ymap)); size 116 modules/stitching/test/ocl/test_warpers.cpp OCL_ON(warper->buildMaps(usrc.size(), K, R, uxmap, uymap)); size 136 modules/stitching/test/ocl/test_warpers.cpp OCL_OFF(warper->buildMaps(src.size(), K, R, xmap, ymap)); size 137 modules/stitching/test/ocl/test_warpers.cpp OCL_ON(warper->buildMaps(usrc.size(), K, R, uxmap, uymap)); size 57 modules/stitching/test/test_blenders.cpp Mat mask1(image1s.size(), CV_8U); size 61 modules/stitching/test/test_blenders.cpp Mat mask2(image2s.size(), CV_8U); size 62 modules/stitching/test/test_matchers.cpp for (size_t i = 0; i < roi_features.keypoints.size(); ++i) size 97 modules/superres/perf/perf_superres.cpp cv::Size size = frame0.size(); size 101 modules/superres/perf/perf_superres.cpp flow1.create(size, CV_32FC2); size 106 modules/superres/perf/perf_superres.cpp flow1.create(size, CV_32FC1); size 107 modules/superres/perf/perf_superres.cpp flow2.create(size, CV_32FC1); size 126 modules/superres/perf/perf_superres.cpp const Size size = get<0>(GetParam()); size 129 modules/superres/perf/perf_superres.cpp Mat frame(size, type); size 187 modules/superres/perf/perf_superres.cpp const Size size = get<0>(params); size 190 modules/superres/perf/perf_superres.cpp Mat frame(size, type); size 59 modules/superres/src/btv_l1.cpp int baseIdx, const Size & size) size 66 modules/superres/src/btv_l1.cpp const int count = static_cast<int>(forwardMotions.size()); size 69 modules/superres/src/btv_l1.cpp relForwardMotions[baseIdx].create(size, CV_32FC2); size 73 modules/superres/src/btv_l1.cpp relBackwardMotions[baseIdx].create(size, CV_32FC2); size 95 modules/superres/src/btv_l1.cpp int baseIdx, const Size & size) size 100 modules/superres/src/btv_l1.cpp _relBackwardMotions, baseIdx, size)) size 107 modules/superres/src/btv_l1.cpp const int count = static_cast<int>(forwardMotions.size()); size 110 modules/superres/src/btv_l1.cpp relForwardMotions[baseIdx].create(size, CV_32FC2); size 114 modules/superres/src/btv_l1.cpp relBackwardMotions[baseIdx].create(size, CV_32FC2); size 136 modules/superres/src/btv_l1.cpp highResMotions.resize(lowResMotions.size()); size 138 modules/superres/src/btv_l1.cpp for (size_t i = 0; i < lowResMotions.size(); ++i) size 157 modules/superres/src/btv_l1.cpp highResMotions.resize(lowResMotions.size()); size 159 modules/superres/src/btv_l1.cpp for (size_t i = 0; i < lowResMotions.size(); ++i) size 176 modules/superres/src/btv_l1.cpp Size size = forwardMotion.size(); size 178 modules/superres/src/btv_l1.cpp _forwardMap.create(size, CV_32FC2); size 179 modules/superres/src/btv_l1.cpp _backwardMap.create(size, CV_32FC2); size 188 modules/superres/src/btv_l1.cpp size_t globalsize[2] = { size.width, size.height }; size 203 modules/superres/src/btv_l1.cpp _forwardMap.create(forwardMotion.size(), CV_32FC2); size 204 modules/superres/src/btv_l1.cpp _backwardMap.create(forwardMotion.size(), CV_32FC2); size 311 modules/superres/src/btv_l1.cpp _dst.create(src1.size(), src1.type()); size 331 modules/superres/src/btv_l1.cpp _dst.create(src1.size(), src1.type()); size 349 modules/superres/src/btv_l1.cpp const size_t size = btvKernelSize * btvKernelSize; size 351 modules/superres/src/btv_l1.cpp btvWeights.resize(size); size 403 modules/superres/src/btv_l1.cpp _dst.create(src.size(), src.type()); size 430 modules/superres/src/btv_l1.cpp _dst.create(src.size(), src.type()); size 593 modules/superres/src/btv_l1.cpp calcRelativeMotions(forwardMotions, backwardMotions, ulowResForwardMotions_, ulowResBackwardMotions_, baseIdx, src[0].size()); size 598 modules/superres/src/btv_l1.cpp uforwardMaps_.resize(uhighResForwardMotions_.size()); size 599 modules/superres/src/btv_l1.cpp ubackwardMaps_.resize(uhighResForwardMotions_.size()); size 600 modules/superres/src/btv_l1.cpp for (size_t i = 0; i < uhighResForwardMotions_.size(); ++i) size 604 modules/superres/src/btv_l1.cpp const Size lowResSize = src[0].size(); size 619 modules/superres/src/btv_l1.cpp for (size_t k = 0; k < src.size(); ++k) size 694 modules/superres/src/btv_l1.cpp calcRelativeMotions(forwardMotions, backwardMotions, lowResForwardMotions_, lowResBackwardMotions_, baseIdx, src[0].size()); size 699 modules/superres/src/btv_l1.cpp forwardMaps_.resize(highResForwardMotions_.size()); size 700 modules/superres/src/btv_l1.cpp backwardMaps_.resize(highResForwardMotions_.size()); size 701 modules/superres/src/btv_l1.cpp for (size_t i = 0; i < highResForwardMotions_.size(); ++i) size 705 modules/superres/src/btv_l1.cpp const Size lowResSize = src[0].size(); size 720 modules/superres/src/btv_l1.cpp for (size_t k = 0; k < src.size(); ++k) size 83 modules/superres/src/btv_l1_cuda.cpp int baseIdx, Size size) size 85 modules/superres/src/btv_l1_cuda.cpp const int count = static_cast<int>(forwardMotions.size()); size 88 modules/superres/src/btv_l1_cuda.cpp relForwardMotions[baseIdx].first.create(size, CV_32FC1); size 90 modules/superres/src/btv_l1_cuda.cpp relForwardMotions[baseIdx].second.create(size, CV_32FC1); size 94 modules/superres/src/btv_l1_cuda.cpp relBackwardMotions[baseIdx].first.create(size, CV_32FC1); size 96 modules/superres/src/btv_l1_cuda.cpp relBackwardMotions[baseIdx].second.create(size, CV_32FC1); size 120 modules/superres/src/btv_l1_cuda.cpp highResMotions.resize(lowResMotions.size()); size 122 modules/superres/src/btv_l1_cuda.cpp for (size_t i = 0; i < lowResMotions.size(); ++i) size 135 modules/superres/src/btv_l1_cuda.cpp forwardMap.first.create(forwardMotion.first.size(), CV_32FC1); size 136 modules/superres/src/btv_l1_cuda.cpp forwardMap.second.create(forwardMotion.first.size(), CV_32FC1); size 138 modules/superres/src/btv_l1_cuda.cpp backwardMap.first.create(forwardMotion.first.size(), CV_32FC1); size 139 modules/superres/src/btv_l1_cuda.cpp backwardMap.second.create(forwardMotion.first.size(), CV_32FC1); size 167 modules/superres/src/btv_l1_cuda.cpp dst.create(src1.size(), src1.type()); size 174 modules/superres/src/btv_l1_cuda.cpp const size_t size = btvKernelSize * btvKernelSize; size 176 modules/superres/src/btv_l1_cuda.cpp btvWeights.resize(size); size 187 modules/superres/src/btv_l1_cuda.cpp btv_l1_cudev::loadBtvWeights(&btvWeights[0], size); size 202 modules/superres/src/btv_l1_cuda.cpp dst.create(src.size(), src.type()); size 311 modules/superres/src/btv_l1_cuda.cpp if (filters_.size() != src.size() || blurKernelSize_ != curBlurKernelSize_ || blurSigma_ != curBlurSigma_ || src[0].type() != curSrcType_) size 313 modules/superres/src/btv_l1_cuda.cpp filters_.resize(src.size()); size 314 modules/superres/src/btv_l1_cuda.cpp for (size_t i = 0; i < src.size(); ++i) size 330 modules/superres/src/btv_l1_cuda.cpp calcRelativeMotions(forwardMotions, backwardMotions, lowResForwardMotions_, lowResBackwardMotions_, baseIdx, src[0].size()); size 335 modules/superres/src/btv_l1_cuda.cpp forwardMaps_.resize(highResForwardMotions_.size()); size 336 modules/superres/src/btv_l1_cuda.cpp backwardMaps_.resize(highResForwardMotions_.size()); size 337 modules/superres/src/btv_l1_cuda.cpp for (size_t i = 0; i < highResForwardMotions_.size(); ++i) size 342 modules/superres/src/btv_l1_cuda.cpp const Size lowResSize = src[0].size(); size 349 modules/superres/src/btv_l1_cuda.cpp streams_.resize(src.size()); size 350 modules/superres/src/btv_l1_cuda.cpp diffTerms_.resize(src.size()); size 351 modules/superres/src/btv_l1_cuda.cpp a_.resize(src.size()); size 352 modules/superres/src/btv_l1_cuda.cpp b_.resize(src.size()); size 353 modules/superres/src/btv_l1_cuda.cpp c_.resize(src.size()); size 357 modules/superres/src/btv_l1_cuda.cpp for (size_t k = 0; k < src.size(); ++k) size 382 modules/superres/src/btv_l1_cuda.cpp for (size_t k = 0; k < src.size(); ++k) size 120 modules/superres/src/input_array_utility.cpp dst.create(d.size(), d.type()); size 94 modules/superres/src/optical_flow.cpp CV_Assert( frame1.size() == frame0.size() ); size 129 modules/superres/src/optical_flow.cpp CV_Assert( frame1.size() == frame0.size() ); size 441 modules/superres/src/optical_flow.cpp CV_Assert( frame1.size() == frame0.size() ); size 57 modules/superres/src/ring_buffer.hpp const int len = static_cast<int>(items.size()); size 68 modules/superres/src/ring_buffer.hpp const int len = static_cast<int>(items.size()); size 113 modules/superres/test/test_superres.cpp cv::Mat noise(_image.size(), CV_32FC(cn)); size 121 modules/superres/test/test_superres.cpp cv::Mat_<uchar> mask(_image.size(), 0); size 92 modules/ts/include/opencv2/ts.hpp CV_EXPORTS Mat randomMat(RNG& rng, Size size, int type, double minVal, double maxVal, bool useRoi); size 93 modules/ts/include/opencv2/ts.hpp CV_EXPORTS Mat randomMat(RNG& rng, const vector<int>& size, int type, double minVal, double maxVal, bool useRoi); size 64 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS cv::Mat randomMat(cv::Size size, int type, double minVal = 0.0, double maxVal = 255.0); size 69 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS cv::cuda::GpuMat createMat(cv::Size size, int type, bool useRoi = false); size 159 modules/ts/include/opencv2/ts/cuda_test.hpp ASSERT_EQ(mat1.size(), mat2.size()); \ size 165 modules/ts/include/opencv2/ts/cuda_test.hpp ASSERT_EQ(mat1.size(), mat2.size()); \ size 113 modules/ts/include/opencv2/ts/ocl_perf.hpp CV_EXPORTS void checkDeviceMaxMemoryAllocSize(const Size& size, int type, int factor = 1); size 65 modules/ts/include/opencv2/ts/ocl_test.hpp dst.resize(src.size()); size 66 modules/ts/include/opencv2/ts/ocl_test.hpp for (size_t i = 0; i < src.size(); ++i) size 101 modules/ts/include/opencv2/ts/ocl_test.hpp ASSERT_EQ(mat1.size(), mat2.size()); \ size 103 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << mat1.size() << std::endl; \ size 110 modules/ts/include/opencv2/ts/ocl_test.hpp ASSERT_EQ(mat1.size(), mat2.size()); \ size 112 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << mat1.size() << std::endl; \ size 119 modules/ts/include/opencv2/ts/ocl_test.hpp ASSERT_EQ(mat1.size(), mat2.size()); \ size 123 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << mat1.size() << std::endl; \ size 130 modules/ts/include/opencv2/ts/ocl_test.hpp ASSERT_EQ(name ## _roi.size(), u ## name ## _roi.size()); \ size 132 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << name ## _roi.size() << std::endl; \ size 136 modules/ts/include/opencv2/ts/ocl_test.hpp Mat _mask(name.size(), CV_8UC1, Scalar::all(255)); \ size 137 modules/ts/include/opencv2/ts/ocl_test.hpp _mask(Rect(_offset, name ## _roi.size())).setTo(Scalar::all(0)); \ size 139 modules/ts/include/opencv2/ts/ocl_test.hpp ASSERT_EQ(name.size(), u ## name.size()); \ size 141 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << name ## _roi.size() << std::endl; \ size 148 modules/ts/include/opencv2/ts/ocl_test.hpp ASSERT_EQ(name ## _roi.size(), u ## name ## _roi.size()); \ size 150 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << name ## _roi.size() << std::endl; \ size 154 modules/ts/include/opencv2/ts/ocl_test.hpp Mat _mask(name.size(), CV_8UC1, Scalar::all(255)); \ size 155 modules/ts/include/opencv2/ts/ocl_test.hpp _mask(Rect(_offset, name ## _roi.size())).setTo(Scalar::all(0)); \ size 157 modules/ts/include/opencv2/ts/ocl_test.hpp ASSERT_EQ(name.size(), u ## name.size()); \ size 159 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << name ## _roi.size() << std::endl; \ size 167 modules/ts/include/opencv2/ts/ocl_test.hpp ASSERT_EQ(name ## _roi.size(), u ## name ## _roi.size()); \ size 169 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << name ## _roi.size() << std::endl; \ size 173 modules/ts/include/opencv2/ts/ocl_test.hpp Mat _mask(name.size(), CV_8UC1, Scalar::all(255)); \ size 174 modules/ts/include/opencv2/ts/ocl_test.hpp _mask(Rect(_offset, name ## _roi.size())).setTo(Scalar::all(0)); \ size 176 modules/ts/include/opencv2/ts/ocl_test.hpp ASSERT_EQ(name.size(), u ## name.size()); \ size 178 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << name ## _roi.size() << std::endl; \ size 185 modules/ts/include/opencv2/ts/ocl_test.hpp ASSERT_EQ(mat1.size(), mat2.size()); \ size 187 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << mat1.size() << std::endl; \ size 247 modules/ts/include/opencv2/ts/ocl_test.hpp Mat randomMat(Size size, int type, double minVal, double maxVal, bool useRoi = false) size 250 modules/ts/include/opencv2/ts/ocl_test.hpp return cvtest::randomMat(dataRng, size, type, minVal, maxVal, useRoi); size 316 modules/ts/include/opencv2/ts/ocl_test.hpp u ## name ## _roi = u ## name(Rect(ofs.x, ofs.y, name ## _roi.size().width, name ## _roi.size().height)); \ size 2986 modules/ts/include/opencv2/ts/ts_gtest.h # define GTEST_SNPRINTF_(buffer, size, format, ...) \ size 2987 modules/ts/include/opencv2/ts/ts_gtest.h _snprintf_s(buffer, size, size, format, __VA_ARGS__) size 3024 modules/ts/include/opencv2/ts/ts_gtest.h template <size_t size> size 7906 modules/ts/include/opencv2/ts/ts_gtest.h bool ArrayEq(const T* lhs, size_t size, const U* rhs); size 7922 modules/ts/include/opencv2/ts/ts_gtest.h bool ArrayEq(const T* lhs, size_t size, const U* rhs) { size 7923 modules/ts/include/opencv2/ts/ts_gtest.h for (size_t i = 0; i != size; i++) { size 7946 modules/ts/include/opencv2/ts/ts_gtest.h void CopyArray(const T* from, size_t size, U* to); size 7962 modules/ts/include/opencv2/ts/ts_gtest.h void CopyArray(const T* from, size_t size, U* to) { size 7963 modules/ts/include/opencv2/ts/ts_gtest.h for (size_t i = 0; i != size; i++) { size 8012 modules/ts/include/opencv2/ts/ts_gtest.h size_t size() const { return size_; } size 8016 modules/ts/include/opencv2/ts/ts_gtest.h return size() == rhs.size() && size 8017 modules/ts/include/opencv2/ts/ts_gtest.h ArrayEq(begin(), size(), rhs.begin()); size 17241 modules/ts/include/opencv2/ts/ts_gtest.h int size() const; size 303 modules/ts/include/opencv2/ts/ts_perf.hpp for(int i = 0; i < implCode.size(); i++) size 317 modules/ts/include/opencv2/ts/ts_perf.hpp for(int i = 0; i < implCode.size(); i++) size 320 modules/ts/include/opencv2/ts/ts_perf.hpp for(int j = 0; j < savedCode.size(); j++) size 677 modules/ts/include/opencv2/ts/ts_perf.hpp if (kp1.size > kp2.size) return true; size 678 modules/ts/include/opencv2/ts/ts_perf.hpp if (kp1.size < kp2.size) return false; size 291 modules/ts/src/cuda_perf.cpp std::vector<size_t> indexies(keypoints.size()); size 292 modules/ts/src/cuda_perf.cpp for (size_t i = 0; i < indexies.size(); ++i) size 300 modules/ts/src/cuda_perf.cpp new_keypoints.resize(keypoints.size()); size 306 modules/ts/src/cuda_perf.cpp new_descriptors.create(descriptors.size(), descriptors.type()); size 309 modules/ts/src/cuda_perf.cpp for (size_t i = 0; i < indexies.size(); ++i) size 84 modules/ts/src/cuda_test.cpp Mat randomMat(Size size, int type, double minVal, double maxVal) size 86 modules/ts/src/cuda_test.cpp return randomMat(TS::ptr()->get_rng(), size, type, minVal, maxVal, false); size 92 modules/ts/src/cuda_test.cpp GpuMat createMat(Size size, int type, bool useRoi) size 94 modules/ts/src/cuda_test.cpp Size size0 = size; size 104 modules/ts/src/cuda_test.cpp if (size0 != size) size 105 modules/ts/src/cuda_test.cpp d_m = d_m(Rect((size0.width - size.width) / 2, (size0.height - size.height) / 2, size.width, size.height)); size 112 modules/ts/src/cuda_test.cpp GpuMat d_m = createMat(m.size(), m.type(), useRoi); size 323 modules/ts/src/cuda_test.cpp if (m1.size() != m2.size()) size 326 modules/ts/src/cuda_test.cpp << expr1 << "\" [" << PrintToString(m1.size()) << "] vs \"" size 327 modules/ts/src/cuda_test.cpp << expr2 << "\" [" << PrintToString(m2.size()) << "]"; size 447 modules/ts/src/cuda_test.cpp fabs(p1.size - p2.size) < maxSizeDif && size 470 modules/ts/src/cuda_test.cpp if (gold.size() != actual.size()) size 473 modules/ts/src/cuda_test.cpp << "\"" << gold_expr << "\" : " << gold.size() << "\n" size 474 modules/ts/src/cuda_test.cpp << "\"" << actual_expr << "\" : " << actual.size(); size 480 modules/ts/src/cuda_test.cpp for (size_t i = 0; i < gold.size(); ++i) size 490 modules/ts/src/cuda_test.cpp << "size : " << p1.size << " vs " << p2.size << "\n" size 508 modules/ts/src/cuda_test.cpp for (size_t i = 0; i < gold.size(); ++i) size 524 modules/ts/src/cuda_test.cpp for (size_t i = 0; i < matches.size(); ++i) size 51 modules/ts/src/ocl_perf.cpp void checkDeviceMaxMemoryAllocSize(const Size& size, int type, int factor) size 58 modules/ts/src/ocl_perf.cpp size_t memSize = size.area() * CV_ELEM_SIZE(type); size 110 modules/ts/src/ocl_test.cpp if (platforms.size() > 0) size 113 modules/ts/src/ocl_test.cpp for (size_t i = 0; i < platforms.size(); i++) size 258 modules/ts/src/ocl_test.cpp size_t sz1 = ob1.size(); size 259 modules/ts/src/ocl_test.cpp size_t sz2 = ob2.size(); size 230 modules/ts/src/ts.cpp errorStr, exc.err.c_str(), exc.func.size() > 0 ? size 314 modules/ts/src/ts.cpp int width = 60 - (int)get_name().size(); size 74 modules/ts/src/ts_arrtest.cpp for( size_t i = 0; i < test_array.size(); i++ ) size 76 modules/ts/src/ts_arrtest.cpp for( size_t j = 0; j < test_array[i].size(); j++ ) size 105 modules/ts/src/ts_arrtest.cpp Size size; size 110 modules/ts/src/ts_arrtest.cpp size.width = cvRound( exp(val*CV_LOG2) ); size 112 modules/ts/src/ts_arrtest.cpp size.height = cvRound( exp(val*CV_LOG2) ); size 114 modules/ts/src/ts_arrtest.cpp for( i = 0; i < test_array.size(); i++ ) size 116 modules/ts/src/ts_arrtest.cpp size_t sizei = test_array[i].size(); size 119 modules/ts/src/ts_arrtest.cpp sizes[i][j] = size; size 136 modules/ts/src/ts_arrtest.cpp size_t max_arr = test_array.size(); size 146 modules/ts/src/ts_arrtest.cpp size_t sizei = std::max(test_array[i].size(), (size_t)1); size 156 modules/ts/src/ts_arrtest.cpp size_t sizei = test_array[i].size(); size 161 modules/ts/src/ts_arrtest.cpp CvSize size = sizes[i][j], whole_size = size; size 174 modules/ts/src/ts_arrtest.cpp if( size.width > 0 && size.height > 0 && size 179 modules/ts/src/ts_arrtest.cpp roi.width = size.width; size 180 modules/ts/src/ts_arrtest.cpp roi.height = size.height; size 181 modules/ts/src/ts_arrtest.cpp if( whole_size.width > size.width ) size 182 modules/ts/src/ts_arrtest.cpp roi.x = randInt(rng) % (whole_size.width - size.width); size 184 modules/ts/src/ts_arrtest.cpp if( whole_size.height > size.height ) size 185 modules/ts/src/ts_arrtest.cpp roi.y = randInt(rng) % (whole_size.height - size.height); size 210 modules/ts/src/ts_arrtest.cpp test_mat.resize(test_array.size()); size 213 modules/ts/src/ts_arrtest.cpp size_t sizei = test_array[i].size(); size 294 modules/ts/src/ts_arrtest.cpp size_t sizei = test_array[i0].size(); size 296 modules/ts/src/ts_arrtest.cpp assert( sizei == test_array[i1].size() ); size 310 modules/ts/src/ts_arrtest.cpp for( i0 = 0; i0 < (int)test_array.size(); i0++ ) size 312 modules/ts/src/ts_arrtest.cpp size_t sizei0 = test_array[i0].size(); size 320 modules/ts/src/ts_arrtest.cpp string sizestr = vec2str(", ", &arr.size[0], arr.dims); size 108 modules/ts/src/ts_func.cpp Mat randomMat(RNG& rng, Size size, int type, double minVal, double maxVal, bool useRoi) size 110 modules/ts/src/ts_func.cpp Size size0 = size; size 120 modules/ts/src/ts_func.cpp if( size0 == size ) size 122 modules/ts/src/ts_func.cpp return m(Rect((size0.width-size.width)/2, (size0.height-size.height)/2, size.width, size.height)); size 125 modules/ts/src/ts_func.cpp Mat randomMat(RNG& rng, const vector<int>& size, int type, double minVal, double maxVal, bool useRoi) size 127 modules/ts/src/ts_func.cpp int i, dims = (int)size.size(); size 133 modules/ts/src/ts_func.cpp size0[i] = size[i]; size 138 modules/ts/src/ts_func.cpp r[i] = Range((size0[i] - size[i])/2, (size0[i] - size[i])/2 + size[i]); size 140 modules/ts/src/ts_func.cpp eqsize = eqsize && size[i] == size0[i]; size 174 modules/ts/src/ts_func.cpp CV_Assert(a.size == b.size); size 179 modules/ts/src/ts_func.cpp c.create(a.dims, &a.size[0], ctype); size 284 modules/ts/src/ts_func.cpp _dst.create(src.dims, &src.size[0], dtype); size 339 modules/ts/src/ts_func.cpp dst.create(src.dims, &src.size[0], src.type()); size 355 modules/ts/src/ts_func.cpp CV_Assert( src.size == mask.size && mask.type() == CV_8U ); size 416 modules/ts/src/ts_func.cpp CV_Assert( dst.size == mask.size && mask.type() == CV_8U ); size 442 modules/ts/src/ts_func.cpp CV_Assert( dst.size == src.size && src.depth() == dst.depth() && size 467 modules/ts/src/ts_func.cpp dst.create( src.dims, &src.size[0], src.depth() ); size 596 modules/ts/src/ts_func.cpp int width = dst.cols*src.channels(), n = (int)ofsvec.size(); size 618 modules/ts/src/ts_func.cpp int width = dst.cols*src.channels(), n = (int)ofsvec.size(); size 657 modules/ts/src/ts_func.cpp dst.create( _src.size(), src.type() ); size 714 modules/ts/src/ts_func.cpp dst.create( _src.size(), src.type() ); size 759 modules/ts/src/ts_func.cpp int width = dst.cols*dst.channels(), ncoeffs = (int)ofsvec.size(); size 790 modules/ts/src/ts_func.cpp _dst.create( _src.size(), CV_MAKETYPE(CV_64F, src.channels()) ); size 1028 modules/ts/src/ts_func.cpp int sz = mtx.size[i]*(i == mtx.dims-1 ? mtx.channels() : 1); size 1271 modules/ts/src/ts_func.cpp CV_Assert( mask.empty() || (src.size == mask.size && mask.type() == CV_8U) ); size 1352 modules/ts/src/ts_func.cpp CV_Assert( src1.type() == src2.type() && src1.size == src2.size ); size 1353 modules/ts/src/ts_func.cpp CV_Assert( mask.empty() || (src1.size == mask.size && mask.type() == CV_8U) ); size 1420 modules/ts/src/ts_func.cpp CV_Assert( src1.size == src2.size && src1.type() == src2.type() ); size 1518 modules/ts/src/ts_func.cpp CV_Assert( src1.type() == src2.type() && src1.size == src2.size ); size 1519 modules/ts/src/ts_func.cpp dst.create( src1.dims, &src1.size[0], src1.type() ); size 1541 modules/ts/src/ts_func.cpp dst.create( src.dims, &src.size[0], src.type() ); size 1635 modules/ts/src/ts_func.cpp CV_Assert( src1.type() == src2.type() && src1.channels() == 1 && src1.size == src2.size ); size 1636 modules/ts/src/ts_func.cpp dst.create( src1.dims, &src1.size[0], CV_8U ); size 1683 modules/ts/src/ts_func.cpp dst.create( src.dims, &src.size[0], CV_8U ); size 1813 modules/ts/src/ts_func.cpp CV_Assert( src1.type() == src2.type() && src1.size == src2.size ); size 1968 modules/ts/src/ts_func.cpp CV_Assert( arr.type() == refarr.type() && arr.size == refarr.size ); size 2134 modules/ts/src/ts_func.cpp string idxstr = vec2str(", ", &idx[0], idx.size()); size 2380 modules/ts/src/ts_func.cpp dst.create(src1.dims, src1.size, src1.type()); size 2381 modules/ts/src/ts_func.cpp CV_Assert( src1.type() == src2.type() && src1.size == src2.size ); size 2449 modules/ts/src/ts_func.cpp dst.create(src1.dims, src1.size, src1.type()); size 2520 modules/ts/src/ts_func.cpp dst.create(src2.dims, src2.size, src2.type()); size 2521 modules/ts/src/ts_func.cpp CV_Assert( src1.empty() || (src1.type() == src2.type() && src1.size == src2.size) ); size 2603 modules/ts/src/ts_func.cpp CV_Assert(mask.empty() || (mask.type() == CV_8U && mask.size == src.size)); size 2678 modules/ts/src/ts_func.cpp static void calcSobelKernel1D( int order, int _aperture_size, int size, vector<int>& kernel ) size 2681 modules/ts/src/ts_func.cpp kernel.resize(size + 1); size 2686 modules/ts/src/ts_func.cpp assert( size == 3 ); size 2687 modules/ts/src/ts_func.cpp for( i = 0; i < size; i++ ) size 2692 modules/ts/src/ts_func.cpp for( i = 1; i <= size; i++ ) size 2696 modules/ts/src/ts_func.cpp for( i = 0; i < size - order - 1; i++ ) size 2699 modules/ts/src/ts_func.cpp for( j = 1; j <= size; j++ ) size 2710 modules/ts/src/ts_func.cpp for( j = 1; j <= size; j++ ) size 2813 modules/ts/src/ts_func.cpp out << m.m->size[i] << (i < m.m->dims-1 ? " x " : ")"); size 2821 modules/ts/src/ts_func.cpp ofs.resize(ofs0.size()); size 2828 modules/ts/src/ts_func.cpp CV_Assert(d == (int)ofs.size()); size 2833 modules/ts/src/ts_func.cpp r[i].end = std::min(ofs0[i] + 1 + border, m.size[i]); size 2895 modules/ts/src/ts_func.cpp CV_Assert( !m.loc || ((int)m.loc->size() == m.m->dims && m.m->dims <= 2) ); size 2917 modules/ts/src/ts_func.cpp if( m1.type() != m2.type() || m1.size != m2.size ) size 713 modules/ts/src/ts_gtest.cpp return (i < 0 || i >= static_cast<int>(v.size())) ? default_value : v[i]; size 723 modules/ts/src/ts_gtest.cpp const int size = static_cast<int>(v->size()); size 724 modules/ts/src/ts_gtest.cpp GTEST_CHECK_(0 <= begin && begin <= size) size 726 modules/ts/src/ts_gtest.cpp << size << "]."; size 727 modules/ts/src/ts_gtest.cpp GTEST_CHECK_(begin <= end && end <= size) size 729 modules/ts/src/ts_gtest.cpp << begin << ", " << size << "]."; size 743 modules/ts/src/ts_gtest.cpp ShuffleRange(random, 0, static_cast<int>(v->size()), v); size 1824 modules/ts/src/ts_gtest.cpp for (size_t i = 0; i < case_list.size(); i++) { size 2119 modules/ts/src/ts_gtest.cpp if (results.size() != 1) { size 2121 modules/ts/src/ts_gtest.cpp << " Actual: " << results.size() << " failures"; size 2122 modules/ts/src/ts_gtest.cpp for (int i = 0; i < results.size(); i++) { size 2219 modules/ts/src/ts_gtest.cpp return static_cast<int>(test_cases_.size()); size 3306 modules/ts/src/ts_gtest.cpp for (size_t i = 0; i < words.size(); ++i) { size 3307 modules/ts/src/ts_gtest.cpp if (i > 0 && words.size() > 2) { size 3310 modules/ts/src/ts_gtest.cpp if (i == words.size() - 1) { size 3378 modules/ts/src/ts_gtest.cpp return static_cast<int>(test_part_results_.size()); size 3383 modules/ts/src/ts_gtest.cpp return static_cast<int>(test_properties_.size()); size 3878 modules/ts/src/ts_gtest.cpp return static_cast<int>(test_info_list_.size()); size 3925 modules/ts/src/ts_gtest.cpp test_indices_.push_back(static_cast<int>(test_indices_.size())); size 3969 modules/ts/src/ts_gtest.cpp for (size_t i = 0; i < test_indices_.size(); i++) { size 4453 modules/ts/src/ts_gtest.cpp for (size_t i = 0; i < listeners_.size(); ++i) { size 4468 modules/ts/src/ts_gtest.cpp for (size_t i = 0; i < listeners_.size(); i++) { \ size 4478 modules/ts/src/ts_gtest.cpp for (int i = static_cast<int>(listeners_.size()) - 1; i >= 0; i--) { \ size 4502 modules/ts/src/ts_gtest.cpp for (size_t i = 0; i < listeners_.size(); i++) { size 4511 modules/ts/src/ts_gtest.cpp for (int i = static_cast<int>(listeners_.size()) - 1; i >= 0; i--) { size 4651 modules/ts/src/ts_gtest.cpp for (size_t i = 0; i < str.size(); ++i) { size 4696 modules/ts/src/ts_gtest.cpp output.reserve(str.size()); size 5295 modules/ts/src/ts_gtest.cpp if (impl_->gtest_trace_stack().size() > 0) { size 5298 modules/ts/src/ts_gtest.cpp for (int i = static_cast<int>(impl_->gtest_trace_stack().size()); size 5712 modules/ts/src/ts_gtest.cpp test_case_indices_.push_back(static_cast<int>(test_case_indices_.size())); size 5975 modules/ts/src/ts_gtest.cpp for (size_t i = 0; i < test_cases_.size(); i++) { size 5980 modules/ts/src/ts_gtest.cpp for (size_t j = 0; j < test_case->test_info_list().size(); j++) { size 6049 modules/ts/src/ts_gtest.cpp for (size_t i = 0; i < test_cases_.size(); i++) { size 6053 modules/ts/src/ts_gtest.cpp for (size_t j = 0; j < test_case->test_info_list().size(); j++) { size 6121 modules/ts/src/ts_gtest.cpp static_cast<int>(test_cases_.size()), &test_case_indices_); size 6124 modules/ts/src/ts_gtest.cpp for (size_t i = 0; i < test_cases_.size(); i++) { size 6131 modules/ts/src/ts_gtest.cpp for (size_t i = 0; i < test_cases_.size(); i++) { size 7848 modules/ts/src/ts_gtest.cpp if (fields.size() != 6 size 7862 modules/ts/src/ts_gtest.cpp if (fields.size() != 4 size 9394 modules/ts/src/ts_gtest.cpp PrintCharsAsStringTo(s.data(), s.size(), os); size 9399 modules/ts/src/ts_gtest.cpp PrintCharsAsStringTo(s.data(), s.size(), os); size 9405 modules/ts/src/ts_gtest.cpp PrintCharsAsStringTo(s.data(), s.size(), os); size 9411 modules/ts/src/ts_gtest.cpp PrintCharsAsStringTo(s.data(), s.size(), os); size 9489 modules/ts/src/ts_gtest.cpp if (index < 0 || index >= size()) { size 9499 modules/ts/src/ts_gtest.cpp return static_cast<int>(array_.size()); size 145 modules/ts/src/ts_perf.cpp int len = (int)array.size(); size 147 modules/ts/src/ts_perf.cpp cv::Mat size (len, 1, CV_32FC1, len ? (void*)&array[0].size : 0, sizeof(cv::KeyPoint)); size 154 modules/ts/src/ts_perf.cpp (name + "-size", size, eps, ERROR_ABSOLUTE) size 163 modules/ts/src/ts_perf.cpp int len = (int)array.size(); size 323 modules/ts/src/ts_perf.cpp write() << "last" << "{" << "x" << m.size.p[1] - 1 << "y" << m.size.p[0] - 1 size 324 modules/ts/src/ts_perf.cpp << "val" << getElem(m, m.size.p[0] - 1, m.size.p[1] - 1, m.channels() - 1) << "}"; size 327 modules/ts/src/ts_perf.cpp x = regRNG.uniform(0, m.size.p[1]); size 328 modules/ts/src/ts_perf.cpp y = regRNG.uniform(0, m.size.p[0]); size 334 modules/ts/src/ts_perf.cpp x = regRNG.uniform(0, m.size.p[1]); size 335 modules/ts/src/ts_perf.cpp y = regRNG.uniform(0, m.size.p[0]); size 361 modules/ts/src/ts_perf.cpp double actual_last = getElem(actual, actual.size.p[0] - 1, actual.size.p[1] - 1, actual.channels() - 1); size 364 modules/ts/src/ts_perf.cpp ASSERT_EQ(expect_cols, actual.size.p[1]) size 366 modules/ts/src/ts_perf.cpp ASSERT_EQ(expect_rows, actual.size.p[0]) size 483 modules/ts/src/ts_perf.cpp ASSERT_EQ(expected.size(), actual.size()) size 540 modules/ts/src/ts_perf.cpp ASSERT_EQ(expected.size(), actual.size()) size 686 modules/ts/src/ts_perf.cpp if (!name.empty() && name[name.size() - 1] == '\r') // CRLF processing on Linux size 687 modules/ts/src/ts_perf.cpp name.resize(name.size() - 1); size 690 modules/ts/src/ts_perf.cpp std::cout << "Performance validation results loaded from " << fileName << " (" << perf_validation_results.size() << " entries)" << std::endl; size 710 modules/ts/src/ts_perf.cpp std::cout << "Performance validation results saved (" << perf_validation_results.size() << " entries)" << std::endl; size 832 modules/ts/src/ts_perf.cpp for (size_t i = 0; i < available_impls.size(); ++i) { size 861 modules/ts/src/ts_perf.cpp if (available_impls.size() > 1) size 1053 modules/ts/src/ts_perf.cpp int size = 0; size 1055 modules/ts/src/ts_perf.cpp size += (int)a.total(i) * CV_ELEM_SIZE(a.type(i)); size 1057 modules/ts/src/ts_perf.cpp return size; size 1063 modules/ts/src/ts_perf.cpp return a.size(); size 1081 modules/ts/src/ts_perf.cpp if (currentIter + 1 != times.size()) size 1096 modules/ts/src/ts_perf.cpp assert(currentIter == times.size()); size 1160 modules/ts/src/ts_perf.cpp printf("Performance is changed (samples = %d, median):\n %.2f ms (current)\n %.2f ms (previous)\n", (int)times.size(), median_ms, prev_result); size 1290 modules/ts/src/ts_perf.cpp if ((metrics.samples == (unsigned int)currentIter) || times.size() == 0) size 1296 modules/ts/src/ts_perf.cpp metrics.samples = (unsigned int)times.size(); size 1347 modules/ts/src/ts_perf.cpp metrics.outliers = static_cast<int>(times.size() * param_max_outliers / 100); size 1468 modules/ts/src/ts_perf.cpp for(int i=0; i<rec.size();i++ ){rec_line += rec[i].c_str(); rec_line += " ";} size 1470 modules/ts/src/ts_perf.cpp for(int i=0; i<rec.size();i++ ){rec_line += rec[i].c_str(); rec_line += " ";} size 1475 modules/ts/src/ts_perf.cpp for(int i=0; i<rec.size();i++ ){rec_line += rec[i].c_str(); rec_line += " ";} size 1524 modules/ts/src/ts_perf.cpp for(int i=0; i<rec.size();i++ ){rec_line += rec[i].c_str(); rec_line += " ";} size 1526 modules/ts/src/ts_perf.cpp for(int i=0; i<rec.size();i++ ){rec_line += rec[i].c_str(); rec_line += " ";} size 1531 modules/ts/src/ts_perf.cpp for(int i=0; i<rec.size();i++ ){rec_line += rec[i].c_str(); rec_line += " ";} size 1611 modules/ts/src/ts_perf.cpp if(implConf.icv) {printf("ICV_MT "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_IPP|CV_IMPL_MT); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } size 1612 modules/ts/src/ts_perf.cpp if(implConf.ipp) {printf("IPP_MT "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_IPP|CV_IMPL_MT); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } size 1616 modules/ts/src/ts_perf.cpp if(implConf.icv) {printf("ICV "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_IPP); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } size 1617 modules/ts/src/ts_perf.cpp if(implConf.ipp) {printf("IPP "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_IPP); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } size 1619 modules/ts/src/ts_perf.cpp if(implConf.ocl) {printf("OCL "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_OCL); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } size 1853 modules/ts/src/ts_perf.cpp CV_Assert(pts.size() == (size_t)desc.rows); size 1861 modules/ts/src/ts_perf.cpp std::vector<cv::KeyPoint> spts(pts.size()); size 1862 modules/ts/src/ts_perf.cpp cv::Mat sdesc(desc.size(), desc.type()); size 31 modules/video/perf/opencl/perf_bgfg_mog2.cpp for(int i = 0; i< (int)(input.size()); i++) size 41 modules/video/perf/opencl/perf_bgfg_mog2.cpp int nFrame = (int)frame_buffer.size(); size 22 modules/video/perf/opencl/perf_motempl.cpp const Size size = GetParam(); size 23 modules/video/perf/opencl/perf_motempl.cpp checkDeviceMaxMemoryAllocSize(size, CV_32FC1); size 25 modules/video/perf/opencl/perf_motempl.cpp UMat silhouette(size, CV_8UC1), mhi(size, CV_32FC1); size 75 modules/video/perf/opencl/perf_optflow_dualTVL1.cpp const Size srcSize = frame0.size(); size 80 modules/video/perf/opencl/perf_optflow_farneback.cpp const Size srcSize = frame0.size(); size 88 modules/video/perf/opencl/perf_optflow_pyrlk.cpp Mat ptsMat(1, static_cast<int>(pts.size()), CV_32FC2, (void *)&pts[0]); size 82 modules/video/perf/perf_optflowpyrlk.cpp outPoints.resize(inPoints.size()); size 83 modules/video/perf/perf_optflowpyrlk.cpp status.resize(inPoints.size()); size 84 modules/video/perf/perf_optflowpyrlk.cpp err.resize(inPoints.size()); size 156 modules/video/perf/perf_optflowpyrlk.cpp outPoints.resize(inPoints.size()); size 157 modules/video/perf/perf_optflowpyrlk.cpp status.resize(inPoints.size()); size 158 modules/video/perf/perf_optflowpyrlk.cpp err.resize(inPoints.size()); size 136 modules/video/src/bgfg_KNN.cpp int size=frameSize.height*frameSize.width; size 139 modules/video/src/bgfg_KNN.cpp bgmodel.create( 1,(nN * 3) * (nchannels+1)* size,CV_8U); size 142 modules/video/src/bgfg_KNN.cpp aModelIndexShort.create(1,size,CV_8U); size 143 modules/video/src/bgfg_KNN.cpp aModelIndexMid.create(1,size,CV_8U); size 144 modules/video/src/bgfg_KNN.cpp aModelIndexLong.create(1,size,CV_8U); size 146 modules/video/src/bgfg_KNN.cpp nNextShortUpdate.create(1,size,CV_8U); size 147 modules/video/src/bgfg_KNN.cpp nNextMidUpdate.create(1,size,CV_8U); size 148 modules/video/src/bgfg_KNN.cpp nNextLongUpdate.create(1,size,CV_8U); size 563 modules/video/src/bgfg_KNN.cpp bool needToInitialize = nframes == 0 || learningRate >= 1 || image.size() != frameSize || image.type() != frameType; size 566 modules/video/src/bgfg_KNN.cpp initialize(image.size(), image.type()); size 568 modules/video/src/bgfg_KNN.cpp _fgmask.create( image.size(), CV_8U ); size 758 modules/video/src/bgfg_gaussmix2.cpp _fgmask.create(_image.size(), CV_8U); size 824 modules/video/src/bgfg_gaussmix2.cpp bool needToInitialize = nframes == 0 || learningRate >= 1 || _image.size() != frameSize || _image.type() != frameType; size 827 modules/video/src/bgfg_gaussmix2.cpp initialize(_image.size(), _image.type()); size 834 modules/video/src/bgfg_gaussmix2.cpp initialize(_image.size(), _image.type()); size 838 modules/video/src/bgfg_gaussmix2.cpp _fgmask.create( image.size(), CV_8U ); size 46 modules/video/src/camshift.cpp Size size; size 53 modules/video/src/camshift.cpp umat = _probImage.getUMat(), cn = umat.channels(), size = umat.size(); size 55 modules/video/src/camshift.cpp mat = _probImage.getMat(), cn = mat.channels(), size = mat.size(); size 64 modules/video/src/camshift.cpp window = window & Rect(0, 0, size.width, size.height); size 72 modules/video/src/camshift.cpp cur_rect = cur_rect & Rect(0, 0, size.width, size.height); size 75 modules/video/src/camshift.cpp cur_rect.x = size.width/2; size 76 modules/video/src/camshift.cpp cur_rect.y = size.height/2; size 90 modules/video/src/camshift.cpp int nx = std::min(std::max(cur_rect.x + dx, 0), size.width - cur_rect.width); size 91 modules/video/src/camshift.cpp int ny = std::min(std::max(cur_rect.y + dy, 0), size.height - cur_rect.height); size 112 modules/video/src/camshift.cpp Size size; size 118 modules/video/src/camshift.cpp umat = _probImage.getUMat(), size = umat.size(); size 120 modules/video/src/camshift.cpp mat = _probImage.getMat(), size = mat.size(); size 133 modules/video/src/camshift.cpp if( window.x + window.width > size.width ) size 134 modules/video/src/camshift.cpp window.width = size.width - window.x; size 137 modules/video/src/camshift.cpp if( window.y + window.height > size.height ) size 138 modules/video/src/camshift.cpp window.height = size.height - window.y; size 185 modules/video/src/camshift.cpp window.width = MIN( t0, (size.width - _xc) * 2 ); size 191 modules/video/src/camshift.cpp window.height = MIN( t0, (size.height - _yc) * 2 ); size 196 modules/video/src/camshift.cpp window.width = MIN( size.width - window.x, window.width ); size 197 modules/video/src/camshift.cpp window.height = MIN( size.height - window.y, window.height ); size 200 modules/video/src/camshift.cpp box.size.height = (float)length; size 201 modules/video/src/camshift.cpp box.size.width = (float)width; size 87 modules/video/src/compat_video.cpp return rr.size.width*rr.size.height > 0.f ? 1 : -1; size 298 modules/video/src/compat_video.cpp CV_Assert( flow.size() == prev.size() && flow.type() == CV_32FC2 ); size 57 modules/video/src/ecc.cpp CV_Assert(src1.size() == src2.size()); size 58 modules/video/src/ecc.cpp CV_Assert(src1.size() == src3.size()); size 59 modules/video/src/ecc.cpp CV_Assert(src1.size() == src4.size()); size 130 modules/video/src/ecc.cpp CV_Assert( src1.size()==src2.size()); size 131 modules/video/src/ecc.cpp CV_Assert( src1.size()==src3.size()); size 132 modules/video/src/ecc.cpp CV_Assert( src1.size()==src4.size()); size 167 modules/video/src/ecc.cpp CV_Assert(src1.size() == src2.size()); size 168 modules/video/src/ecc.cpp CV_Assert(src1.size() == src3.size()); size 169 modules/video/src/ecc.cpp CV_Assert(src1.size() == src4.size()); size 193 modules/video/src/ecc.cpp CV_Assert( src1.size()==src2.size()); size 468 modules/video/src/ecc.cpp warpAffine(imageFloat, imageWarped, map, imageWarped.size(), imageFlags); size 469 modules/video/src/ecc.cpp warpAffine(gradientX, gradientXWarped, map, gradientXWarped.size(), imageFlags); size 470 modules/video/src/ecc.cpp warpAffine(gradientY, gradientYWarped, map, gradientYWarped.size(), imageFlags); size 471 modules/video/src/ecc.cpp warpAffine(preMask, imageMask, map, imageMask.size(), maskFlags); size 475 modules/video/src/ecc.cpp warpPerspective(imageFloat, imageWarped, map, imageWarped.size(), imageFlags); size 476 modules/video/src/ecc.cpp warpPerspective(gradientX, gradientXWarped, map, gradientXWarped.size(), imageFlags); size 477 modules/video/src/ecc.cpp warpPerspective(gradientY, gradientYWarped, map, gradientYWarped.size(), imageFlags); size 478 modules/video/src/ecc.cpp warpPerspective(preMask, imageMask, map, imageMask.size(), maskFlags); size 787 modules/video/src/lkpyramid.cpp Size sz = img.size(); size 1033 modules/video/src/lkpyramid.cpp if (_nextImg.size() != _prevImg.size()) size 1044 modules/video/src/lkpyramid.cpp if ((1 != _prevPts.size().height) && (1 != _prevPts.size().width)) size 1052 modules/video/src/lkpyramid.cpp if ((1 != _nextPts.size().height) && (1 != _nextPts.size().width)) size 1059 modules/video/src/lkpyramid.cpp _nextPts.create(_prevPts.size(), _prevPts.type()); size 1121 modules/video/src/lkpyramid.cpp _nextPts.create(prevPtsMat.size(), prevPtsMat.type(), -1, true); size 1156 modules/video/src/lkpyramid.cpp levels1 = int(prevPyr.size()) - 1; size 1184 modules/video/src/lkpyramid.cpp levels2 = int(nextPyr.size()) - 1; size 1234 modules/video/src/lkpyramid.cpp Size imgSize = prevPyr[level * lvlStep1].size(); size 1244 modules/video/src/lkpyramid.cpp CV_Assert(prevPyr[level * lvlStep1].size() == nextPyr[level * lvlStep2].size()); size 1370 modules/video/src/lkpyramid.cpp if( A.size() != B.size() ) size 1387 modules/video/src/lkpyramid.cpp Size sz0 = A.size(); size 615 modules/video/src/optflowgf.cpp CV_Assert(frame0.size() == frame1.size()); size 621 modules/video/src/optflowgf.cpp Size size = frame0.size(); size 624 modules/video/src/optflowgf.cpp flowx.create(size, CV_32F); size 625 modules/video/src/optflowgf.cpp flowy.create(size, CV_32F); size 635 modules/video/src/optflowgf.cpp if (size.width*scale < min_size || size.height*scale < min_size) size 668 modules/video/src/optflowgf.cpp int width = cvRound(size.width*scale); size 669 modules/video/src/optflowgf.cpp int height = cvRound(size.height*scale); size 730 modules/video/src/optflowgf.cpp allocMatFromBuf(size.height, size.width, CV_32F, blurredFrame_[0]), size 731 modules/video/src/optflowgf.cpp allocMatFromBuf(size.height, size.width, CV_32F, blurredFrame_[1]) size 854 modules/video/src/optflowgf.cpp CV_Assert(dst.size() == src.size()); size 1046 modules/video/src/optflowgf.cpp if (_next0.size() != _prev0.size()) size 1097 modules/video/src/optflowgf.cpp CV_Assert( prev0.size() == next0.size() && prev0.channels() == next0.channels() && size 1099 modules/video/src/optflowgf.cpp _flow0.create( prev0.size(), CV_32FC2 ); size 383 modules/video/src/tvl1flow.cpp CV_Assert( I0.size() == I1.size() ); size 385 modules/video/src/tvl1flow.cpp CV_Assert( !useInitialFlow || (_flow.size() == I0.size() && _flow.type() == CV_32FC2) ); size 398 modules/video/src/tvl1flow.cpp dm.u1s[0].create(I0.size()); size 399 modules/video/src/tvl1flow.cpp dm.u2s[0].create(I0.size()); size 400 modules/video/src/tvl1flow.cpp if (use_gamma) dm.u3s[0].create(I0.size()); size 408 modules/video/src/tvl1flow.cpp dm.I1x_buf.create(I0.size()); size 409 modules/video/src/tvl1flow.cpp dm.I1y_buf.create(I0.size()); size 411 modules/video/src/tvl1flow.cpp dm.flowMap1_buf.create(I0.size()); size 412 modules/video/src/tvl1flow.cpp dm.flowMap2_buf.create(I0.size()); size 414 modules/video/src/tvl1flow.cpp dm.I1w_buf.create(I0.size()); size 415 modules/video/src/tvl1flow.cpp dm.I1wx_buf.create(I0.size()); size 416 modules/video/src/tvl1flow.cpp dm.I1wy_buf.create(I0.size()); size 418 modules/video/src/tvl1flow.cpp dm.grad_buf.create(I0.size()); size 419 modules/video/src/tvl1flow.cpp dm.rho_c_buf.create(I0.size()); size 421 modules/video/src/tvl1flow.cpp dm.v1_buf.create(I0.size()); size 422 modules/video/src/tvl1flow.cpp dm.v2_buf.create(I0.size()); size 423 modules/video/src/tvl1flow.cpp dm.v3_buf.create(I0.size()); size 425 modules/video/src/tvl1flow.cpp dm.p11_buf.create(I0.size()); size 426 modules/video/src/tvl1flow.cpp dm.p12_buf.create(I0.size()); size 427 modules/video/src/tvl1flow.cpp dm.p21_buf.create(I0.size()); size 428 modules/video/src/tvl1flow.cpp dm.p22_buf.create(I0.size()); size 429 modules/video/src/tvl1flow.cpp dm.p31_buf.create(I0.size()); size 430 modules/video/src/tvl1flow.cpp dm.p32_buf.create(I0.size()); size 432 modules/video/src/tvl1flow.cpp dm.div_p1_buf.create(I0.size()); size 433 modules/video/src/tvl1flow.cpp dm.div_p2_buf.create(I0.size()); size 434 modules/video/src/tvl1flow.cpp dm.div_p3_buf.create(I0.size()); size 436 modules/video/src/tvl1flow.cpp dm.u1x_buf.create(I0.size()); size 437 modules/video/src/tvl1flow.cpp dm.u1y_buf.create(I0.size()); size 438 modules/video/src/tvl1flow.cpp dm.u2x_buf.create(I0.size()); size 439 modules/video/src/tvl1flow.cpp dm.u2y_buf.create(I0.size()); size 440 modules/video/src/tvl1flow.cpp dm.u3x_buf.create(I0.size()); size 441 modules/video/src/tvl1flow.cpp dm.u3y_buf.create(I0.size()); size 465 modules/video/src/tvl1flow.cpp dm.u1s[s].create(dm.I0s[s].size()); size 466 modules/video/src/tvl1flow.cpp dm.u2s[s].create(dm.I0s[s].size()); size 468 modules/video/src/tvl1flow.cpp if (use_gamma) dm.u3s[s].create(dm.I0s[s].size()); size 489 modules/video/src/tvl1flow.cpp resize(dm.u1s[s], dm.u1s[s - 1], dm.I0s[s - 1].size()); size 490 modules/video/src/tvl1flow.cpp resize(dm.u2s[s], dm.u2s[s - 1], dm.I0s[s - 1].size()); size 491 modules/video/src/tvl1flow.cpp if (use_gamma) resize(dm.u3s[s], dm.u3s[s - 1], dm.I0s[s - 1].size()); size 508 modules/video/src/tvl1flow.cpp CV_Assert(I0.size() == I1.size()); size 510 modules/video/src/tvl1flow.cpp CV_Assert(!useInitialFlow || (_flow.size() == I0.size() && _flow.type() == CV_32FC2)); size 524 modules/video/src/tvl1flow.cpp dum.u1s[0].create(I0.size(), CV_32FC1); size 525 modules/video/src/tvl1flow.cpp dum.u2s[0].create(I0.size(), CV_32FC1); size 535 modules/video/src/tvl1flow.cpp dum.I1x_buf.create(I0.size(), CV_32FC1); size 536 modules/video/src/tvl1flow.cpp dum.I1y_buf.create(I0.size(), CV_32FC1); size 538 modules/video/src/tvl1flow.cpp dum.I1w_buf.create(I0.size(), CV_32FC1); size 539 modules/video/src/tvl1flow.cpp dum.I1wx_buf.create(I0.size(), CV_32FC1); size 540 modules/video/src/tvl1flow.cpp dum.I1wy_buf.create(I0.size(), CV_32FC1); size 542 modules/video/src/tvl1flow.cpp dum.grad_buf.create(I0.size(), CV_32FC1); size 543 modules/video/src/tvl1flow.cpp dum.rho_c_buf.create(I0.size(), CV_32FC1); size 545 modules/video/src/tvl1flow.cpp dum.p11_buf.create(I0.size(), CV_32FC1); size 546 modules/video/src/tvl1flow.cpp dum.p12_buf.create(I0.size(), CV_32FC1); size 547 modules/video/src/tvl1flow.cpp dum.p21_buf.create(I0.size(), CV_32FC1); size 548 modules/video/src/tvl1flow.cpp dum.p22_buf.create(I0.size(), CV_32FC1); size 550 modules/video/src/tvl1flow.cpp dum.diff_buf.create(I0.size(), CV_32FC1); size 587 modules/video/src/tvl1flow.cpp resize(dum.u1s[s], dum.u1s[s - 1], dum.I0s[s - 1].size()); size 588 modules/video/src/tvl1flow.cpp resize(dum.u2s[s], dum.u2s[s - 1], dum.I0s[s - 1].size()); size 635 modules/video/src/tvl1flow.cpp CV_DbgAssert( u2.size() == u1.size() ); size 636 modules/video/src/tvl1flow.cpp CV_DbgAssert( map1.size() == u1.size() ); size 637 modules/video/src/tvl1flow.cpp CV_DbgAssert( map2.size() == u1.size() ); size 685 modules/video/src/tvl1flow.cpp CV_DbgAssert( dx.size() == src.size() ); size 686 modules/video/src/tvl1flow.cpp CV_DbgAssert( dy.size() == src.size() ); size 771 modules/video/src/tvl1flow.cpp CV_DbgAssert( dx.size() == src.size() ); size 772 modules/video/src/tvl1flow.cpp CV_DbgAssert( dy.size() == src.size() ); size 841 modules/video/src/tvl1flow.cpp CV_DbgAssert( v2.size() == v1.size() ); size 842 modules/video/src/tvl1flow.cpp CV_DbgAssert( div.size() == v1.size() ); size 913 modules/video/src/tvl1flow.cpp CV_DbgAssert( I1w.size() == I0.size() ); size 914 modules/video/src/tvl1flow.cpp CV_DbgAssert( I1wx.size() == I0.size() ); size 915 modules/video/src/tvl1flow.cpp CV_DbgAssert( I1wy.size() == I0.size() ); size 916 modules/video/src/tvl1flow.cpp CV_DbgAssert( u1.size() == I0.size() ); size 917 modules/video/src/tvl1flow.cpp CV_DbgAssert( u2.size() == I0.size() ); size 918 modules/video/src/tvl1flow.cpp CV_DbgAssert( grad.size() == I0.size() ); size 919 modules/video/src/tvl1flow.cpp CV_DbgAssert( rho_c.size() == I0.size() ); size 1010 modules/video/src/tvl1flow.cpp CV_DbgAssert( I1wy.size() == I1wx.size() ); size 1011 modules/video/src/tvl1flow.cpp CV_DbgAssert( u1.size() == I1wx.size() ); size 1012 modules/video/src/tvl1flow.cpp CV_DbgAssert( u2.size() == I1wx.size() ); size 1013 modules/video/src/tvl1flow.cpp CV_DbgAssert( grad.size() == I1wx.size() ); size 1014 modules/video/src/tvl1flow.cpp CV_DbgAssert( rho_c.size() == I1wx.size() ); size 1015 modules/video/src/tvl1flow.cpp CV_DbgAssert( v1.size() == I1wx.size() ); size 1016 modules/video/src/tvl1flow.cpp CV_DbgAssert( v2.size() == I1wx.size() ); size 1043 modules/video/src/tvl1flow.cpp CV_DbgAssert( v2.size() == v1.size() ); size 1044 modules/video/src/tvl1flow.cpp CV_DbgAssert( div_p1.size() == v1.size() ); size 1045 modules/video/src/tvl1flow.cpp CV_DbgAssert( div_p2.size() == v1.size() ); size 1046 modules/video/src/tvl1flow.cpp CV_DbgAssert( u1.size() == v1.size() ); size 1047 modules/video/src/tvl1flow.cpp CV_DbgAssert( u2.size() == v1.size() ); size 1151 modules/video/src/tvl1flow.cpp CV_DbgAssert( u1y.size() == u1x.size() ); size 1152 modules/video/src/tvl1flow.cpp CV_DbgAssert( u2x.size() == u1x.size() ); size 1153 modules/video/src/tvl1flow.cpp CV_DbgAssert( u3x.size() == u1x.size() ); size 1154 modules/video/src/tvl1flow.cpp CV_DbgAssert( u2y.size() == u1x.size() ); size 1155 modules/video/src/tvl1flow.cpp CV_DbgAssert( u3y.size() == u1x.size() ); size 1156 modules/video/src/tvl1flow.cpp CV_DbgAssert( p11.size() == u1x.size() ); size 1157 modules/video/src/tvl1flow.cpp CV_DbgAssert( p12.size() == u1x.size() ); size 1158 modules/video/src/tvl1flow.cpp CV_DbgAssert( p21.size() == u1x.size() ); size 1159 modules/video/src/tvl1flow.cpp CV_DbgAssert( p22.size() == u1x.size() ); size 1160 modules/video/src/tvl1flow.cpp CV_DbgAssert( p31.size() == u1x.size() ); size 1161 modules/video/src/tvl1flow.cpp CV_DbgAssert( p32.size() == u1x.size() ); size 1187 modules/video/src/tvl1flow.cpp const double scaledEpsilon = epsilon * epsilon * I0.size().area(); size 1189 modules/video/src/tvl1flow.cpp CV_DbgAssert(I1.size() == I0.size()); size 1191 modules/video/src/tvl1flow.cpp CV_DbgAssert(u1.empty() || u1.size() == I0.size()); size 1192 modules/video/src/tvl1flow.cpp CV_DbgAssert(u2.size() == u1.size()); size 1196 modules/video/src/tvl1flow.cpp u1.create(I0.size(), CV_32FC1); size 1199 modules/video/src/tvl1flow.cpp u2.create(I0.size(), CV_32FC1); size 1273 modules/video/src/tvl1flow.cpp const float scaledEpsilon = static_cast<float>(epsilon * epsilon * I0.size().area()); size 1275 modules/video/src/tvl1flow.cpp CV_DbgAssert( I1.size() == I0.size() ); size 1277 modules/video/src/tvl1flow.cpp CV_DbgAssert( u1.size() == I0.size() ); size 1278 modules/video/src/tvl1flow.cpp CV_DbgAssert( u2.size() == u1.size() ); size 103 modules/video/test/ocl/test_optflowpyrlk.cpp ASSERT_EQ(cpuNextPts.size(), nextPts.size()); size 104 modules/video/test/ocl/test_optflowpyrlk.cpp ASSERT_EQ(cpuStatusCPU.size(), status.size()); size 107 modules/video/test/ocl/test_optflowpyrlk.cpp for (size_t i = 0; i < nextPts.size(); ++i) size 128 modules/video/test/ocl/test_optflowpyrlk.cpp double bad_ratio = static_cast<double>(mistmatch) / (nextPts.size()); size 77 modules/video/test/test_accum.cpp int i, input_count = (int)test_array[INPUT].size(); size 120 modules/video/test/test_camshift.cpp double width = box0.size.width*0.5; size 121 modules/video/test/test_camshift.cpp double height = box0.size.height*0.5; size 161 modules/video/test/test_camshift.cpp box0.size.width = (float)exp((cvtest::randReal(rng) * (max_log_size - min_log_size) + min_log_size)*CV_LOG2); size 162 modules/video/test/test_camshift.cpp box0.size.height = (float)exp((cvtest::randReal(rng) * (max_log_size - min_log_size) + min_log_size)*CV_LOG2); size 165 modules/video/test/test_camshift.cpp if( box0.size.width > box0.size.height ) size 168 modules/video/test/test_camshift.cpp CV_SWAP( box0.size.width, box0.size.height, t ); size 171 modules/video/test/test_camshift.cpp m = MAX( box0.size.width, box0.size.height ); size 241 modules/video/test/test_camshift.cpp m = MAX(box0.size.width,box0.size.height)*0.8; size 273 modules/video/test/test_camshift.cpp double m = MAX(box0.size.width, box0.size.height), delta; size 276 modules/video/test/test_camshift.cpp if( cvIsNaN(box.size.width) || cvIsInf(box.size.width) || box.size.width <= 0 || size 277 modules/video/test/test_camshift.cpp cvIsNaN(box.size.height) || cvIsInf(box.size.height) || box.size.height <= 0 || size 290 modules/video/test/test_camshift.cpp if( fabs(box.size.width - box0.size.width) > box0.size.width*0.2 || size 291 modules/video/test/test_camshift.cpp fabs(box.size.height - box0.size.height) > box0.size.height*0.3 ) size 294 modules/video/test/test_camshift.cpp box.size.width, box.size.height, box0.size.width, box0.size.height ); size 314 modules/video/test/test_camshift.cpp if( fabs(diff_angle) > 30 && box0.size.height > box0.size.width*1.2 ) size 408 modules/video/test/test_camshift.cpp m = (box0.size.width + box0.size.height)*0.5; size 440 modules/video/test/test_camshift.cpp double m = MAX(box0.size.width, box0.size.height), delta; size 152 modules/video/test/test_estimaterigid.cpp warpAffine(img, rotated, aff, img.size()); size 92 modules/video/test/test_tvl1optflow.cpp Size size; size 94 modules/video/test/test_tvl1optflow.cpp file.read((char*) &size.width, sizeof(int)); size 95 modules/video/test/test_tvl1optflow.cpp file.read((char*) &size.height, sizeof(int)); size 97 modules/video/test/test_tvl1optflow.cpp flow.create(size); size 300 modules/videoio/src/cap_cmu.cpp CvSize size; size 329 modules/videoio/src/cap_cmu.cpp for (int size=CV_CAP_IEEE1394_SIZE_1600X1200; size>=0 && !found_format; size--) size 331 modules/videoio/src/cap_cmu.cpp int format = CV_CAP_IEEE1394_FORMAT[size][color]; size 332 modules/videoio/src/cap_cmu.cpp int mode = CV_CAP_IEEE1394_MODE[size][color]; size 356 modules/videoio/src/cap_cmu.cpp size = getSize(); size 358 modules/videoio/src/cap_cmu.cpp image = cvCreateImage( size, 8, 3 ); size 532 modules/videoio/src/cap_cmu.cpp CvSize size = getSize(); size 533 modules/videoio/src/cap_cmu.cpp if( !image || image->width != size.width || image->height != size.height ) size 536 modules/videoio/src/cap_cmu.cpp image = cvCreateImage( size, 8, 3 ); size 67 modules/videoio/src/cap_dc1394_v2.cpp out->size[0] = in->size[0]; size 68 modules/videoio/src/cap_dc1394_v2.cpp out->size[1] = in->size[1] * 2; size 105 modules/videoio/src/cap_dc1394_v2.cpp out->image_bytes = (out->size[0] * out->size[1] * bpp) / 8; size 149 modules/videoio/src/cap_dc1394_v2.cpp dc1394_deinterlace_stereo(in->image, out->image, out->size[0], out->size[1]); size 581 modules/videoio/src/cap_dc1394_v2.cpp f.size[1] /= nimages; size 582 modules/videoio/src/cap_dc1394_v2.cpp f.image += f.size[0] * f.size[1] * i; // TODO: make it more universal size 602 modules/videoio/src/cap_dc1394_v2.cpp img[i] = cvCreateImage(cvSize(fc->size[0], fc->size[1]), 8, nch); size 603 modules/videoio/src/cap_dc1394_v2.cpp cvInitImageHeader(&fhdr, cvSize(fc->size[0], fc->size[1]), 8, nch); size 604 modules/videoio/src/cap_dc1394_v2.cpp cvSetData(&fhdr, fc->image, fc->size[0]*nch); size 614 modules/videoio/src/cap_dc1394_v2.cpp CvSize size = cvGetSize(img[i]); size 619 modules/videoio/src/cap_dc1394_v2.cpp maps[0][0] = cvCreateImage(size, IPL_DEPTH_16S, 2); size 620 modules/videoio/src/cap_dc1394_v2.cpp maps[0][1] = cvCreateImage(size, IPL_DEPTH_16S, 1); size 621 modules/videoio/src/cap_dc1394_v2.cpp maps[1][0] = cvCreateImage(size, IPL_DEPTH_16S, 2); size 622 modules/videoio/src/cap_dc1394_v2.cpp maps[1][1] = cvCreateImage(size, IPL_DEPTH_16S, 1); size 76 modules/videoio/src/cap_ffmpeg_api.hpp OPENCV_FFMPEG_API void write_OutputMediaStream_FFMPEG(struct OutputMediaStream_FFMPEG* stream, unsigned char* data, int size, int keyFrame); size 80 modules/videoio/src/cap_ffmpeg_api.hpp typedef void (*Write_OutputMediaStream_FFMPEG_Plugin)(struct OutputMediaStream_FFMPEG* stream, unsigned char* data, int size, int keyFrame); size 88 modules/videoio/src/cap_ffmpeg_api.hpp OPENCV_FFMPEG_API int read_InputMediaStream_FFMPEG(struct InputMediaStream_FFMPEG* stream, unsigned char** data, int* size, int* endOfFile); size 92 modules/videoio/src/cap_ffmpeg_api.hpp typedef int (*Read_InputMediaStream_FFMPEG_Plugin)(struct InputMediaStream_FFMPEG* stream, unsigned char** data, int* size, int* endOfFile); size 701 modules/videoio/src/cap_ffmpeg_impl.hpp packet.data, packet.size); size 705 modules/videoio/src/cap_ffmpeg_impl.hpp packet.data, packet.size); size 1108 modules/videoio/src/cap_ffmpeg_impl.hpp int size; size 1113 modules/videoio/src/cap_ffmpeg_impl.hpp size = avpicture_get_size( (PixelFormat) pix_fmt, width, height); size 1115 modules/videoio/src/cap_ffmpeg_impl.hpp picture_buf = (uint8_t *) malloc(size); size 1297 modules/videoio/src/cap_ffmpeg_impl.hpp pkt.size= sizeof(AVPicture); size 1307 modules/videoio/src/cap_ffmpeg_impl.hpp pkt.size = 0; size 1338 modules/videoio/src/cap_ffmpeg_impl.hpp pkt.size= out_size; size 1919 modules/videoio/src/cap_ffmpeg_impl.hpp void write(unsigned char* data, int size, int keyFrame); size 2156 modules/videoio/src/cap_ffmpeg_impl.hpp void OutputMediaStream_FFMPEG::write(unsigned char* data, int size, int keyFrame) size 2159 modules/videoio/src/cap_ffmpeg_impl.hpp if (size > 0) size 2169 modules/videoio/src/cap_ffmpeg_impl.hpp pkt.size = size; size 2195 modules/videoio/src/cap_ffmpeg_impl.hpp void write_OutputMediaStream_FFMPEG(struct OutputMediaStream_FFMPEG* stream, unsigned char* data, int size, int keyFrame) size 2197 modules/videoio/src/cap_ffmpeg_impl.hpp stream->write(data, size, keyFrame); size 2237 modules/videoio/src/cap_ffmpeg_impl.hpp bool read(unsigned char** data, int* size, int* endOfFile); size 2363 modules/videoio/src/cap_ffmpeg_impl.hpp bool InputMediaStream_FFMPEG::read(unsigned char** data, int* size, int* endOfFile) size 2394 modules/videoio/src/cap_ffmpeg_impl.hpp *size = pkt_.size; size 2419 modules/videoio/src/cap_ffmpeg_impl.hpp int read_InputMediaStream_FFMPEG(InputMediaStream_FFMPEG* stream, unsigned char** data, int* size, int* endOfFile) size 2421 modules/videoio/src/cap_ffmpeg_impl.hpp return stream->read(data, size, endOfFile); size 394 modules/videoio/src/cap_giganetix.cpp for (int i = 0; i < (int) DevicesList.size() && !b_ret; i++) size 483 modules/videoio/src/cap_gphoto2.cpp if (int frames = grabbedFrames.size() > 0) size 872 modules/videoio/src/cap_gphoto2.cpp if (grabbedFrames.size() > 0) size 1006 modules/videoio/src/cap_gphoto2.cpp unsigned long int size; size 1007 modules/videoio/src/cap_gphoto2.cpp CR(gp_file_get_data_and_size(file, &data, &size)); size 1008 modules/videoio/src/cap_gphoto2.cpp if (size > 0) size 1010 modules/videoio/src/cap_gphoto2.cpp Mat buf = Mat(1, size, CV_8UC1, (void *) data); size 1488 modules/videoio/src/cap_gstreamer.cpp int size; size 1511 modules/videoio/src/cap_gstreamer.cpp size = image->imageSize; size 1517 modules/videoio/src/cap_gstreamer.cpp buffer = gst_buffer_try_new_and_alloc (size); size 1523 modules/videoio/src/cap_gstreamer.cpp memcpy(GST_BUFFER_DATA (buffer), (guint8*)image->imageData, size); size 1527 modules/videoio/src/cap_gstreamer.cpp buffer = gst_buffer_new_allocate (NULL, size, NULL); size 1530 modules/videoio/src/cap_gstreamer.cpp memcpy(info.data, (guint8*)image->imageData, size); size 223 modules/videoio/src/cap_images.cpp int size = (int)strlen(filename) + 20; size 224 modules/videoio/src/cap_images.cpp name = (char *)malloc(size); size 55 modules/videoio/src/cap_intelperc.cpp ret = (double)m_profiles.size(); size 58 modules/videoio/src/cap_intelperc.cpp if ((0 <= m_profileIdx) && (m_profileIdx < m_profiles.size())) size 62 modules/videoio/src/cap_intelperc.cpp if ((0 <= m_profileIdx) && (m_profileIdx < m_profiles.size())) size 66 modules/videoio/src/cap_intelperc.cpp if ((0 <= m_profileIdx) && (m_profileIdx < m_profiles.size())) size 94 modules/videoio/src/cap_intelperc.cpp else if (propValInt < m_profiles.size()) size 991 modules/videoio/src/cap_libv4l.cpp capture->memoryBuffer.size, size 1817 modules/videoio/src/cap_libv4l.cpp v4l1_munmap(capture->memoryMap, capture->memoryBuffer.size); size 386 modules/videoio/src/cap_mjpeg_decoder.cpp return m_frame_list.size(); size 674 modules/videoio/src/cap_mjpeg_decoder.cpp return in_frame_list.size() > 0; size 730 modules/videoio/src/cap_mjpeg_decoder.cpp return m_mjpeg_frames.size(); size 745 modules/videoio/src/cap_mjpeg_decoder.cpp else if(m_mjpeg_frames.size() > value) size 763 modules/videoio/src/cap_mjpeg_decoder.cpp return double(getFramePos())/m_mjpeg_frames.size(); size 773 modules/videoio/src/cap_mjpeg_decoder.cpp return (double)m_mjpeg_frames.size(); size 822 modules/videoio/src/cap_mjpeg_decoder.cpp if(data.size()) size 847 modules/videoio/src/cap_mjpeg_decoder.cpp return m_mjpeg_frames.size() > 0; size 274 modules/videoio/src/cap_mjpeg_encoder.cpp int size; size 291 modules/videoio/src/cap_mjpeg_encoder.cpp size = max_val - min_val + 3; size 293 modules/videoio/src/cap_mjpeg_encoder.cpp if( size > max_size ) size 299 modules/videoio/src/cap_mjpeg_encoder.cpp memset( table, 0, size*sizeof(table[0])); size 302 modules/videoio/src/cap_mjpeg_encoder.cpp table[1] = size - 2; size 357 modules/videoio/src/cap_mjpeg_encoder.cpp MotionJpegWriter(const String& filename, double fps, Size size, bool iscolor) size 360 modules/videoio/src/cap_mjpeg_encoder.cpp open(filename, fps, size, iscolor); size 382 modules/videoio/src/cap_mjpeg_encoder.cpp bool open(const String& filename, double fps, Size size, bool iscolor) size 400 modules/videoio/src/cap_mjpeg_encoder.cpp width = size.width; size 401 modules/videoio/src/cap_mjpeg_encoder.cpp height = size.height; size 546 modules/videoio/src/cap_mjpeg_encoder.cpp int nframes = (int)frameOffset.size(); size 559 modules/videoio/src/cap_mjpeg_encoder.cpp int nframes = (int)frameOffset.size(); size 360 modules/videoio/src/cap_msmf.cpp static long CreateInstance(RawImage **ppRImage,unsigned int size); size 370 modules/videoio/src/cap_msmf.cpp RawImage(unsigned int size); size 610 modules/videoio/src/cap_msmf.cpp int findType(unsigned int size, unsigned int frameRate = 0); size 1936 modules/videoio/src/cap_msmf.cpp RawImage::RawImage(unsigned int size): ri_new(false), ri_pixels(NULL) size 1938 modules/videoio/src/cap_msmf.cpp ri_size = size; size 1939 modules/videoio/src/cap_msmf.cpp ri_pixels = new unsigned char[size]; size 1959 modules/videoio/src/cap_msmf.cpp long RawImage::CreateInstance(RawImage **ppRImage,unsigned int size) size 1961 modules/videoio/src/cap_msmf.cpp *ppRImage = new (std::nothrow) RawImage(size); size 2363 modules/videoio/src/cap_msmf.cpp if(id < vd_CurrentFormats.size()) size 2371 modules/videoio/src/cap_msmf.cpp return (int)vd_CurrentFormats.size(); size 2455 modules/videoio/src/cap_msmf.cpp int videoDevice::findType(unsigned int size, unsigned int frameRate) size 2461 modules/videoio/src/cap_msmf.cpp fmt = vd_CaptureFormats.find(size); size 2514 modules/videoio/src/cap_msmf.cpp unsigned int size; size 2523 modules/videoio/src/cap_msmf.cpp size = (*i).MF_MT_FRAME_SIZE; size 2525 modules/videoio/src/cap_msmf.cpp FrameRateMap FRM = vd_CaptureFormats[size]; size 2532 modules/videoio/src/cap_msmf.cpp vd_CaptureFormats[size] = FRM; size 2854 modules/videoio/src/cap_msmf.cpp if(i >= vds_Devices.size()) size 2931 modules/videoio/src/cap_msmf.cpp return (unsigned int)vds_Devices.size(); size 3489 modules/videoio/src/cap_msmf.cpp const unsigned int size = bytes * width * height; size 3490 modules/videoio/src/cap_msmf.cpp if(size == RIOut->getSize()) size 3953 modules/videoio/src/cap_msmf.cpp unsigned int size = bytes * width * height; size 3957 modules/videoio/src/cap_msmf.cpp if(RIOut && size == RIOut->getSize()) size 272 modules/videoio/src/cap_openni.cpp return (maxBufferSize <= 0) || (static_cast<int>(depthQueue.size()) < maxBufferSize && size 273 modules/videoio/src/cap_openni.cpp static_cast<int>(imageQueue.size()) < maxBufferSize); // "<" to may push size 1229 modules/videoio/src/cap_openni.cpp disp.create( depth.size(), CV_32FC1); size 783 modules/videoio/src/cap_openni2.cpp disp.create( depth.size(), CV_32FC1); size 78 modules/videoio/src/cap_qt.cpp CvSize size; // dimensions of the movie size 153 modules/videoio/src/cap_qt.cpp capture->size = cvSize (-1,-1); size 214 modules/videoio/src/cap_qt.cpp capture->size = cvSize (myRect.right - myRect.left, myRect.bottom - myRect.top); size 223 modules/videoio/src/cap_qt.cpp capture->image_rgb = cvCreateImageHeader (capture->size, IPL_DEPTH_8U, 4); size 226 modules/videoio/src/cap_qt.cpp capture->image_bgr = cvCreateImage (capture->size, IPL_DEPTH_8U, 3); size 293 modules/videoio/src/cap_qt.cpp return static_cast<double> (capture->size.width); size 296 modules/videoio/src/cap_qt.cpp return static_cast<double> (capture->size.height); size 544 modules/videoio/src/cap_qt.cpp CvSize size; size 564 modules/videoio/src/cap_qt.cpp CvSize size; size 738 modules/videoio/src/cap_qt.cpp capture->size = cvSize (myRect.right - myRect.left, myRect.bottom - myRect.top); size 767 modules/videoio/src/cap_qt.cpp capture->size = cvSize (myRect.right - myRect.left, myRect.bottom - myRect.top); size 770 modules/videoio/src/cap_qt.cpp capture->image_rgb = cvCreateImageHeader (capture->size, IPL_DEPTH_8U, 4); size 774 modules/videoio/src/cap_qt.cpp capture->image_bgr = cvCreateImage (capture->size, IPL_DEPTH_8U, 3); size 999 modules/videoio/src/cap_qt.cpp capture->size = cvSize (capture->bounds.right - capture->bounds.left, capture->bounds.bottom - capture->bounds.top); size 1005 modules/videoio/src/cap_qt.cpp capture->image_rgb = cvCreateImageHeader (capture->size, IPL_DEPTH_8U, 4); size 1013 modules/videoio/src/cap_qt.cpp capture->image_bgr = cvCreateImage (capture->size, IPL_DEPTH_8U, 3); size 158 modules/videoio/src/cap_unicap.cpp format.size.width = format.sizes[i].width; size 159 modules/videoio/src/cap_unicap.cpp format.size.height = format.sizes[i].height; size 168 modules/videoio/src/cap_unicap.cpp raw_frame = cvCreateImage(cvSize(format.size.width, size 169 modules/videoio/src/cap_unicap.cpp format.size.height), size 173 modules/videoio/src/cap_unicap.cpp raw_buffer.buffer_size = format.size.width * size 174 modules/videoio/src/cap_unicap.cpp format.size.height * format.bpp / 8; size 185 modules/videoio/src/cap_unicap.cpp frame = cvCreateImage(cvSize(buffer.format.size.width, size 186 modules/videoio/src/cap_unicap.cpp buffer.format.size.height), size 189 modules/videoio/src/cap_unicap.cpp buffer.buffer_size = buffer.format.size.width * size 190 modules/videoio/src/cap_unicap.cpp buffer.format.size.height * buffer.format.bpp / 8; size 1074 modules/videoio/src/cap_v4l.cpp capture->memoryBuffer.size, size 1767 modules/videoio/src/cap_v4l.cpp long int size; size 1771 modules/videoio/src/cap_v4l.cpp size = WIDTH*HEIGHT; size 1773 modules/videoio/src/cap_v4l.cpp for ( i = 0; i < size; i++ ) { size 1845 modules/videoio/src/cap_v4l.cpp long int size; size 1849 modules/videoio/src/cap_v4l.cpp size = WIDTH*HEIGHT; size 1851 modules/videoio/src/cap_v4l.cpp for ( i = 0; i < size; i++ ) size 1927 modules/videoio/src/cap_v4l.cpp const int size = width * height; size 1928 modules/videoio/src/cap_v4l.cpp for(int i = 0; i < size; ++i, src += 3, dst += 3) size 2835 modules/videoio/src/cap_v4l.cpp munmap(capture->memoryMap, capture->memoryBuffer.size); size 120 modules/videoio/src/cap_vfw.cpp CvSize size; size 135 modules/videoio/src/cap_vfw.cpp size = cvSize(0,0); size 174 modules/videoio/src/cap_vfw.cpp size.width = aviinfo.rcFrame.right - aviinfo.rcFrame.left; size 175 modules/videoio/src/cap_vfw.cpp size.height = aviinfo.rcFrame.bottom - aviinfo.rcFrame.top; size 176 modules/videoio/src/cap_vfw.cpp BITMAPINFOHEADER bmihdr = icvBitmapHeader( size.width, size.height, 24 ); size 187 modules/videoio/src/cap_vfw.cpp bmihdr = icvBitmapHeader( size.width, size.height, 8); size 253 modules/videoio/src/cap_vfw.cpp return size.width; size 255 modules/videoio/src/cap_vfw.cpp return size.height; size 428 modules/videoio/src/cap_vfw.cpp const DWORD size = capGetVideoFormatSize(capWnd); size 429 modules/videoio/src/cap_vfw.cpp if( size > 0 ) size 431 modules/videoio/src/cap_vfw.cpp unsigned char *pbi = new unsigned char[size]; size 434 modules/videoio/src/cap_vfw.cpp if( capGetVideoFormat(capWnd, pbi, size) == size ) size 603 modules/videoio/src/cap_vfw.cpp const DWORD size = capGetVideoFormatSize(capWnd); size 604 modules/videoio/src/cap_vfw.cpp if( size == 0 ) size 607 modules/videoio/src/cap_vfw.cpp unsigned char *pbi = new unsigned char[size]; size 611 modules/videoio/src/cap_vfw.cpp if( capGetVideoFormat(capWnd, pbi, size) != size ) size 626 modules/videoio/src/cap_vfw.cpp success = capSetVideoFormat(capWnd, pbi, size) == TRUE; size 160 modules/videoio/src/cap_winrt_capture.cpp width = outArray.size().width; size 161 modules/videoio/src/cap_winrt_capture.cpp height = outArray.size().height; size 188 modules/videoio/src/cap_winrt_capture.cpp size.width = (int)value; size 191 modules/videoio/src/cap_winrt_capture.cpp size.height = (int)value; size 66 modules/videoio/src/cap_winrt_capture.hpp CvSize size; size 175 modules/videoio/src/cap_ximea.cpp image.size = sizeof(XI_IMG); size 79 modules/videoio/src/cap_xine.cpp CvSize size; size 132 modules/videoio/src/cap_xine.cpp int w_Y = capture->size.width; size 133 modules/videoio/src/cap_xine.cpp int h_Y = capture->size.height; size 277 modules/videoio/src/cap_xine.cpp capture->size = cvSize( capture->xine_frame.width, capture->xine_frame.height ); size 278 modules/videoio/src/cap_xine.cpp capture->yuv_frame = cvCreateImage( capture->size, IPL_DEPTH_8U, 3 ); size 279 modules/videoio/src/cap_xine.cpp capture->bgr_frame = cvCreateImage( capture->size, IPL_DEPTH_8U, 3 ); size 686 modules/videoio/src/cap_xine.cpp return capture->size.width; size 690 modules/videoio/src/cap_xine.cpp return capture->size.height; size 1315 modules/videoio/src/ppltasks_winrt.hpp _Result.reserve(_type.size()); size 1327 modules/videoio/src/ppltasks_winrt.hpp _Return.reserve(_Result.size()); size 70 modules/videoio/test/test_ffmpeg.cpp long int size = ftell(p_file); size 72 modules/videoio/test/test_ffmpeg.cpp return size; size 154 modules/videoio/test/test_positioning.cpp int N = (int)idx.size(), failed_frames = 0, failed_positions = 0, failed_iterations = 0; size 218 modules/videoio/test/test_video_io.cpp from_file.resize(fread(&from_file[0], 1, from_file.size(), f)); size 391 modules/videoio/test/test_video_io.cpp from_file.resize(fread(&from_file[0], 1, from_file.size(), f)); size 63 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp flag_.create(mask.size()); size 64 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp dist_.create(mask.size()); size 65 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp index_.create(mask.size()); size 75 modules/videostab/include/opencv2/videostab/motion_core.hpp int size; //!< subset size size 80 modules/videostab/include/opencv2/videostab/motion_core.hpp RansacParams() : size(0), thresh(0), eps(0), prob(0) {} size 87 modules/videostab/include/opencv2/videostab/motion_core.hpp RansacParams(int size, float thresh, float eps, float prob); size 95 modules/videostab/include/opencv2/videostab/motion_core.hpp std::ceil(std::log(1 - prob) / std::log(1 - std::pow(1 - eps, size)))); size 122 modules/videostab/include/opencv2/videostab/motion_core.hpp : size(_size), thresh(_thresh), eps(_eps), prob(_prob) {} size 66 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp int size, const std::vector<Mat> &motions, std::pair<int,int> range, size 77 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp int size, const std::vector<Mat> &motions, std::pair<int,int> range, size 93 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp int size, const std::vector<Mat> &motions, std::pair<int,int> range, size 144 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp int size, const std::vector<Mat> &motions, std::pair<int,int> range, size 165 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp CV_EXPORTS Mat ensureInclusionConstraint(const Mat &M, Size size, float trimRatio); size 167 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp CV_EXPORTS float estimateOptimalTrimRatio(const Mat &M, Size size); size 59 modules/videostab/include/opencv2/videostab/ring_buffer.hpp return items[cv::borderInterpolate(idx, static_cast<int>(items.size()), cv::BORDER_WRAP)]; size 64 modules/videostab/include/opencv2/videostab/ring_buffer.hpp return items[cv::borderInterpolate(idx, static_cast<int>(items.size()), cv::BORDER_WRAP)]; size 61 modules/videostab/src/deblurring.cpp return static_cast<float>(1. / (sumSq / frame.size().area() + 1e-6)); size 75 modules/videostab/src/deblurring.cpp bSum_.create(frame.size()); size 76 modules/videostab/src/deblurring.cpp gSum_.create(frame.size()); size 77 modules/videostab/src/deblurring.cpp rSum_.create(frame.size()); size 78 modules/videostab/src/deblurring.cpp wSum_.create(frame.size()); size 121 modules/videostab/src/fast_marching.cpp if (static_cast<int>(narrowBand_.size()) < size_ + 1) size 388 modules/videostab/src/global_motion.cpp if (npoints < params.size) size 396 modules/videostab/src/global_motion.cpp std::vector<int> indices(params.size); size 397 modules/videostab/src/global_motion.cpp std::vector<Point2f> subset0(params.size); size 398 modules/videostab/src/global_motion.cpp std::vector<Point2f> subset1(params.size); size 401 modules/videostab/src/global_motion.cpp std::vector<Point2f> subset0best(params.size); size 402 modules/videostab/src/global_motion.cpp std::vector<Point2f> subset1best(params.size); size 412 modules/videostab/src/global_motion.cpp for (int i = 0; i < params.size; ++i) size 424 modules/videostab/src/global_motion.cpp for (int i = 0; i < params.size; ++i) size 451 modules/videostab/src/global_motion.cpp if (ninliersMax < params.size) size 629 modules/videostab/src/global_motion.cpp CoinPackedMatrix A(true, &rows_[0], &cols_[0], &elems_[0], elems_.size()); size 716 modules/videostab/src/global_motion.cpp pointsPrev_.resize(keypointsPrev_.size()); size 717 modules/videostab/src/global_motion.cpp for (size_t i = 0; i < keypointsPrev_.size(); ++i) size 725 modules/videostab/src/global_motion.cpp pointsPrevGood_.clear(); pointsPrevGood_.reserve(points_.size()); size 726 modules/videostab/src/global_motion.cpp pointsGood_.clear(); pointsGood_.reserve(points_.size()); size 728 modules/videostab/src/global_motion.cpp for (size_t i = 0; i < points_.size(); ++i) size 745 modules/videostab/src/global_motion.cpp outlierRejector_->process(frame0.size(), pointsPrev_, points_, status_); size 748 modules/videostab/src/global_motion.cpp pointsPrevGood_.reserve(points_.size()); size 751 modules/videostab/src/global_motion.cpp pointsGood_.reserve(points_.size()); size 753 modules/videostab/src/global_motion.cpp for (size_t i = 0; i < points_.size(); ++i) size 817 modules/videostab/src/global_motion.cpp outlierRejector_->process(frame0.size(), hostPointsPrev_, hostPoints_, rejectionStatus_); size 834 modules/videostab/src/global_motion.cpp hostPointsPrev_ = Mat(1, (int)hostPointsPrevTmp_.size(), CV_32FC2, &hostPointsPrevTmp_[0]); size 835 modules/videostab/src/global_motion.cpp hostPoints_ = Mat(1, (int)hostPointsTmp_.size(), CV_32FC2, &hostPointsTmp_[0]); size 58 modules/videostab/src/inpainting.cpp for (size_t i = 0; i < inpainters_.size(); ++i) size 66 modules/videostab/src/inpainting.cpp for (size_t i = 0; i < inpainters_.size(); ++i) size 74 modules/videostab/src/inpainting.cpp for (size_t i = 0; i < inpainters_.size(); ++i) size 82 modules/videostab/src/inpainting.cpp for (size_t i = 0; i < inpainters_.size(); ++i) size 90 modules/videostab/src/inpainting.cpp for (size_t i = 0; i < inpainters_.size(); ++i) size 98 modules/videostab/src/inpainting.cpp for (size_t i = 0; i < inpainters_.size(); ++i) size 106 modules/videostab/src/inpainting.cpp for (size_t i = 0; i < inpainters_.size(); ++i) size 128 modules/videostab/src/inpainting.cpp CV_Assert(mask.size() == frame.size() && mask.type() == CV_8U); size 203 modules/videostab/src/inpainting.cpp CV_Assert(mask0.type() == CV_8U && mask0.size() == frame0.size()); size 204 modules/videostab/src/inpainting.cpp CV_Assert(frame0.size() == frame1.size()); size 205 modules/videostab/src/inpainting.cpp CV_Assert(M.size() == Size(3,3) && M.type() == CV_32F); size 354 modules/videostab/src/inpainting.cpp if (mask1_.size() != mask.size()) size 356 modules/videostab/src/inpainting.cpp mask1_.create(mask.size()); size 379 modules/videostab/src/inpainting.cpp frame1_, transformedFrame1_, motion1to0(Rect(0,0,3,2)), frame1_.size(), size 383 modules/videostab/src/inpainting.cpp frame1_, transformedFrame1_, motion1to0, frame1_.size(), INTER_LINEAR, size 392 modules/videostab/src/inpainting.cpp mask1_, transformedMask1_, motion1to0(Rect(0,0,3,2)), mask1_.size(), size 395 modules/videostab/src/inpainting.cpp warpPerspective(mask1_, transformedMask1_, motion1to0, mask1_.size(), INTER_NEAREST); size 477 modules/videostab/src/inpainting.cpp CV_Assert(flowX.type() == CV_32F && flowX.size() == mask0.size()); size 478 modules/videostab/src/inpainting.cpp CV_Assert(flowY.type() == CV_32F && flowY.size() == mask0.size()); size 479 modules/videostab/src/inpainting.cpp CV_Assert(errors.type() == CV_32F && errors.size() == mask0.size()); size 481 modules/videostab/src/inpainting.cpp CV_Assert(mask1.type() == CV_8U && mask1.size() == mask0.size()); size 486 modules/videostab/src/inpainting.cpp flowMask.create(mask0.size(), CV_8U); size 512 modules/videostab/src/inpainting.cpp CV_Assert(flowX.type() == CV_32F && flowX.size() == flowMask.size()); size 513 modules/videostab/src/inpainting.cpp CV_Assert(flowY.type() == CV_32F && flowY.size() == flowMask.size()); size 514 modules/videostab/src/inpainting.cpp CV_Assert(frame1.type() == CV_8UC3 && frame1.size() == flowMask.size()); size 515 modules/videostab/src/inpainting.cpp CV_Assert(mask1.type() == CV_8U && mask1.size() == flowMask.size()); size 516 modules/videostab/src/inpainting.cpp CV_Assert(frame0.type() == CV_8UC3 && frame0.size() == flowMask.size()); size 517 modules/videostab/src/inpainting.cpp CV_Assert(mask0.type() == CV_8U && mask0.size() == flowMask.size()); size 55 modules/videostab/src/motion_stabilizing.cpp int size, const std::vector<Mat> &motions, std::pair<int,int> range, Mat *stabilizationMotions) size 57 modules/videostab/src/motion_stabilizing.cpp std::vector<Mat> updatedMotions(motions.size()); size 58 modules/videostab/src/motion_stabilizing.cpp for (size_t i = 0; i < motions.size(); ++i) size 61 modules/videostab/src/motion_stabilizing.cpp std::vector<Mat> stabilizationMotions_(size); size 63 modules/videostab/src/motion_stabilizing.cpp for (int i = 0; i < size; ++i) size 66 modules/videostab/src/motion_stabilizing.cpp for (size_t i = 0; i < stabilizers_.size(); ++i) size 68 modules/videostab/src/motion_stabilizing.cpp stabilizers_[i]->stabilize(size, updatedMotions, range, &stabilizationMotions_[0]); size 70 modules/videostab/src/motion_stabilizing.cpp for (int k = 0; k < size; ++k) size 73 modules/videostab/src/motion_stabilizing.cpp for (int j = 0; j + 1 < size; ++j) size 84 modules/videostab/src/motion_stabilizing.cpp int size, const std::vector<Mat> &motions, std::pair<int,int> range, Mat *stabilizationMotions) size 86 modules/videostab/src/motion_stabilizing.cpp for (int i = 0; i < size; ++i) size 108 modules/videostab/src/motion_stabilizing.cpp Mat res = Mat::zeros(cur.size(), cur.type()); size 117 modules/videostab/src/motion_stabilizing.cpp return sum > 0.f ? res / sum : Mat::eye(cur.size(), cur.type()); size 143 modules/videostab/src/motion_stabilizing.cpp int size, const std::vector<Mat> &motions, std::pair<int,int> /*range*/, Mat *stabilizationMotions) size 147 modules/videostab/src/motion_stabilizing.cpp int N = size; size 520 modules/videostab/src/motion_stabilizing.cpp CoinPackedMatrix A(true, &rows_[0], &cols_[0], &elems_[0], elems_.size()); size 639 modules/videostab/src/motion_stabilizing.cpp Mat ensureInclusionConstraint(const Mat &M, Size size, float trimRatio) size 641 modules/videostab/src/motion_stabilizing.cpp CV_Assert(M.size() == Size(3,3) && M.type() == CV_32F); size 643 modules/videostab/src/motion_stabilizing.cpp const float w = static_cast<float>(size.width); size 644 modules/videostab/src/motion_stabilizing.cpp const float h = static_cast<float>(size.height); size 674 modules/videostab/src/motion_stabilizing.cpp float estimateOptimalTrimRatio(const Mat &M, Size size) size 676 modules/videostab/src/motion_stabilizing.cpp CV_Assert(M.size() == Size(3,3) && M.type() == CV_32F); size 678 modules/videostab/src/motion_stabilizing.cpp const float w = static_cast<float>(size.width); size 679 modules/videostab/src/motion_stabilizing.cpp const float h = static_cast<float>(size.height); size 110 modules/videostab/src/outlier_rejection.cpp for (size_t ci = 0; ci < grid_.size(); ++ci) size 124 modules/videostab/src/outlier_rejection.cpp idx = cell[static_cast<unsigned>(rng) % cell.size()]; size 129 modules/videostab/src/outlier_rejection.cpp for (size_t i = 0; i < cell.size(); ++i) size 153 modules/videostab/src/outlier_rejection.cpp for (size_t i = 0; i < cell.size(); ++i) size 167 modules/videostab/src/outlier_rejection.cpp for (size_t i = 0; i < inliers.size(); ++i) size 174 modules/videostab/src/outlier_rejection.cpp dxBest /= inliers.size(); size 175 modules/videostab/src/outlier_rejection.cpp dyBest /= inliers.size(); size 180 modules/videostab/src/outlier_rejection.cpp for (size_t i = 0; i < cell.size(); ++i) size 268 modules/videostab/src/stabilizer.cpp frameSize_ = firstFrame.size(); size 409 modules/videostab/src/stabilizer.cpp frameSize_ = frame.size(); size 66 modules/videostab/src/wobble_suppression.cpp int left, int idx, int right, Size size, const Mat &ml, const Mat &mr, size 69 modules/videostab/src/wobble_suppression.cpp CV_Assert(ml.size() == Size(3, 3) && ml.type() == CV_32F && ml.isContinuous()); size 70 modules/videostab/src/wobble_suppression.cpp CV_Assert(mr.size() == Size(3, 3) && mr.type() == CV_32F && mr.isContinuous()); size 72 modules/videostab/src/wobble_suppression.cpp mapx.create(size, CV_32F); size 73 modules/videostab/src/wobble_suppression.cpp mapy.create(size, CV_32F); size 76 modules/videostab/src/wobble_suppression.cpp left, idx, right, size.width, size.height, size 118 modules/videostab/src/wobble_suppression.cpp mapx_.create(frame.size()); size 119 modules/videostab/src/wobble_suppression.cpp mapy_.create(frame.size()); size 146 modules/videostab/src/wobble_suppression.cpp result = Mat(frame.size(), frame.type()); size 170 modules/videostab/src/wobble_suppression.cpp cuda::calcWobbleSuppressionMaps(k1, idx, k2, frame.size(), ML, MR, mapx_, mapy_); size 173 modules/videostab/src/wobble_suppression.cpp result = cuda::GpuMat(frame.size(), frame.type()); size 254 modules/viz/include/opencv2/viz/widgets.hpp WPlane(const Size2d& size = Size2d(1.0, 1.0), const Color &color = Color::white()); size 265 modules/viz/include/opencv2/viz/widgets.hpp const Size2d& size = Size2d(1.0, 1.0), const Color &color = Color::white()); size 480 modules/viz/include/opencv2/viz/widgets.hpp WImage3D(InputArray image, const Size2d &size); size 490 modules/viz/include/opencv2/viz/widgets.hpp WImage3D(InputArray image, const Size2d &size, const Vec3d ¢er, const Vec3d &normal, const Vec3d &up_vector); size 59 modules/viz/src/clouds.cpp WCloud cloud_widget(cloud, Mat(cloud.size(), CV_8UC3, color)); size 65 modules/viz/src/clouds.cpp WCloud cloud_widget(cloud, Mat(cloud.size(), CV_8UC3, color), normals); size 246 modules/viz/src/clouds.cpp addCloud(cloud, Mat(cloud.size(), CV_8UC3, color), pose); size 281 modules/viz/src/clouds.cpp CV_Assert(cloud.size() == normals.size() && cloud.type() == normals.type()); size 274 modules/viz/src/precomp.hpp static vtkSmartPointer<vtkUnsignedCharArray> FillScalars(size_t size, const Color& color) size 277 modules/viz/src/precomp.hpp Vec3b* color_data = new Vec3b[size]; size 278 modules/viz/src/precomp.hpp std::fill(color_data, color_data + size, rgb); size 283 modules/viz/src/precomp.hpp scalars->SetNumberOfTuples((vtkIdType)size); size 284 modules/viz/src/precomp.hpp scalars->SetArray(color_data->val, (vtkIdType)(size * 3), 0); size 109 modules/viz/src/shapes.cpp cv::viz::WPlane::WPlane(const Size2d& size, const Color &color) size 112 modules/viz/src/shapes.cpp plane->SetOrigin(-0.5 * size.width, -0.5 * size.height, 0.0); size 113 modules/viz/src/shapes.cpp plane->SetPoint1( 0.5 * size.width, -0.5 * size.height, 0.0); size 114 modules/viz/src/shapes.cpp plane->SetPoint2(-0.5 * size.width, 0.5 * size.height, 0.0); size 130 modules/viz/src/shapes.cpp cv::viz::WPlane::WPlane(const Point3d& center, const Vec3d& normal, const Vec3d& new_yaxis, const Size2d& size, const Color &color) size 136 modules/viz/src/shapes.cpp WPlane plane(size, color); size 421 modules/viz/src/shapes.cpp WPolyLine polyline(points, Mat(points.size(), CV_8UC3, color)); size 598 modules/viz/src/shapes.cpp Size sz = image.size(); size 638 modules/viz/src/shapes.cpp Size size(extent[1], extent[3]); size 643 modules/viz/src/shapes.cpp Size sz = image.size(); size 647 modules/viz/src/shapes.cpp transform->Scale(sz.width/(double)size.width, sz.height/(double)size.height, 1.0); size 670 modules/viz/src/shapes.cpp cv::viz::WImage3D::WImage3D(InputArray image, const Size2d &size) size 681 modules/viz/src/shapes.cpp plane->SetOrigin(-0.5 * size.width, -0.5 * size.height, 0.0); size 682 modules/viz/src/shapes.cpp plane->SetPoint1( 0.5 * size.width, -0.5 * size.height, 0.0); size 683 modules/viz/src/shapes.cpp plane->SetPoint2(-0.5 * size.width, 0.5 * size.height, 0.0); size 700 modules/viz/src/shapes.cpp cv::viz::WImage3D::WImage3D(InputArray image, const Size2d &size, const Vec3d ¢er, const Vec3d &normal, const Vec3d &up_vector) size 710 modules/viz/src/shapes.cpp WImage3D image3d(image, size); size 771 modules/viz/src/shapes.cpp Mat color(image.size(), CV_8UC3); size 852 modules/viz/src/shapes.cpp WImage3D image_widget(image, Size2d(image.size()) * image_scale); size 884 modules/viz/src/shapes.cpp WImage3D image_widget(image, Size2d(image.size()) * image_scale); size 172 modules/viz/src/vizcore.cpp CV_Assert(file.size() > 4 && "Extention is required"); size 173 modules/viz/src/vizcore.cpp String extention = file.substr(file.size()-4); size 205 modules/viz/src/vizcore.cpp CV_Assert(file.size() > 4 && "Extention is required"); size 206 modules/viz/src/vizcore.cpp String extention = file.substr(file.size()-4); size 301 modules/viz/src/vizcore.cpp for(size_t i = 0, index = max(0, start); i < v.size(); ++i, ++index) size 101 modules/viz/src/vtk/vtkCloudMatSink.cpp Mat buffer(cloud.size(), CV_64FC(channels)); size 121 modules/viz/src/vtk/vtkCloudMatSink.cpp Mat buffer(cloud.size(), CV_64FC(channels)); size 140 modules/viz/src/vtk/vtkCloudMatSink.cpp Mat buffer(cloud.size(), CV_64FC2); size 95 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_colors.size() == _cloud.size()); size 117 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_normals.size() == _cloud.size()); size 144 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_tcoords.channels() == 2 && _tcoords.size() == _cloud.size()); size 107 modules/viz/src/vtk/vtkVizInteractorStyle.cpp if (file.size() > 5 && file.substr(file.size() - 5) == ".vrml") size 553 modules/viz/src/vtk/vtkVizInteractorStyle.cpp Vec2i size(Interactor->GetSize()); size 554 modules/viz/src/vtk/vtkVizInteractorStyle.cpp double scalefactor = 5*cam->GetViewAngle()/size[0]; size 815 modules/viz/src/vtk/vtkVizInteractorStyle.cpp Vec2i size(CurrentRenderer->GetRenderWindow()->GetSize()); size 817 modules/viz/src/vtk/vtkVizInteractorStyle.cpp double delta_elevation = -20.0 / size[1]; size 818 modules/viz/src/vtk/vtkVizInteractorStyle.cpp double delta_azimuth = -20.0 / size[0]; size 11 modules/viz/test/test_precomp.cpp char last = item1[item1.size()-1]; size 67 modules/viz/test/tests_simple.cpp Mat colors(dragon_cloud.size(), CV_8UC3); size 196 modules/viz/test/tests_simple.cpp for(int i = 0; i < (int)points.size()/2-1; ++i) size 270 modules/viz/test/tests_simple.cpp int size =(int)path.size(); size 272 modules/viz/test/tests_simple.cpp Mat(path).rowRange(0, size/10+1).copyTo(sub0); size 273 modules/viz/test/tests_simple.cpp Mat(path).rowRange(size/10, size/5+1).copyTo(sub1); size 274 modules/viz/test/tests_simple.cpp Mat(path).rowRange(size/5, 11*size/12).copyTo(sub2); size 275 modules/viz/test/tests_simple.cpp Mat(path).rowRange(11*size/12, size).copyTo(sub3); size 276 modules/viz/test/tests_simple.cpp Mat(path).rowRange(3*size/4, 33*size/40).copyTo(sub4); size 277 modules/viz/test/tests_simple.cpp Mat(path).rowRange(33*size/40, 9*size/10).copyTo(sub5); size 308 modules/viz/test/tests_simple.cpp viz.showWidget("sub3", WTrajectory(Mat(path).rowRange(0, (int)path.size()/3), WTrajectory::BOTH, 0.2, Color::brown()), path.front().inv()); size 342 modules/viz/test/tests_simple.cpp Size2d half_lsize = Size2d(lena.size()) * 0.5; size 377 modules/viz/test/tests_simple.cpp viz.showImage(lena, lena.size()); size 104 platforms/android/service/engine/src/org/opencv/engine/OpenCVEngineService.java && lib.files.size() != 0 size 62 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java for (int i = 1; i < mCornersBuffer.size(); i++) { size 104 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java float viewErrors[] = new float[objectPoints.size()]; size 108 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java for (int i = 0; i < objectPoints.size(); i++) { size 119 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java perViewErrors.create(objectPoints.size(), 1, CvType.CV_32FC1); size 143 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java Imgproc.putText(rgbaFrame, "Captured: " + mCornersBuffer.size(), new Point(rgbaFrame.cols() / 3 * 2, rgbaFrame.rows() * 0.1), size 156 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java return mCornersBuffer.size(); size 52 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/OnCameraFrameRender.java Mat renderedFrame = new Mat(inputFrame.rgba().size(), inputFrame.rgba().type()); size 73 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/OnCameraFrameRender.java Mat undistortedFrame = new Mat(inputFrame.rgba().size(), inputFrame.rgba().type()); size 176 samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java Log.e(TAG, "Contours count: " + contours.size()); size 20 samples/android/face-detection/src/org/opencv/samples/facedetect/DetectionBasedTracker.java public void setMinFaceSize(int size) { size 21 samples/android/face-detection/src/org/opencv/samples/facedetect/DetectionBasedTracker.java nativeSetFaceSize(mNativeObj, size); size 39 samples/android/face-detection/src/org/opencv/samples/facedetect/DetectionBasedTracker.java private static native void nativeSetFaceSize(long thiz, int size); size 203 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Size sizeRgba = rgba.size(); size 288 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Imgproc.resize(mZoomWindow, zoomCorner, zoomCorner.size()); size 289 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Size wsize = mZoomWindow.size(); size 298 samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java Imgproc.resize(mIntermediateMat, rgbaInnerWindow, rgbaInnerWindow.size(), 0., 0., Imgproc.INTER_NEAREST); size 21 samples/android/tutorial-2-mixedprocessing/jni/jni_part.cpp for( unsigned int i = 0; i < v.size(); i++ ) size 126 samples/android/tutorial-3-cameracontrol/src/org/opencv/samples/tutorial3/Tutorial3Activity.java mEffectMenuItems = new MenuItem[effects.size()]; size 138 samples/android/tutorial-3-cameracontrol/src/org/opencv/samples/tutorial3/Tutorial3Activity.java mResolutionMenuItems = new MenuItem[mResolutionList.size()]; size 69 samples/cpp/3calibration.cpp for( i = 0; i < (int)imgpt0.size(); i++ ) size 73 samples/cpp/3calibration.cpp N += (int)imgpt0[i].size(); size 76 samples/cpp/3calibration.cpp if( imgpt.size() < 3 ) size 82 samples/cpp/3calibration.cpp objpt.resize(imgpt.size(),objpt[0]); size 120 samples/cpp/3calibration.cpp for( i = 0; i < (int)std::min(imagePoints1.size(), imgpt0.size()); i++ ) size 125 samples/cpp/3calibration.cpp N += (int)imgpt0[i].size(); size 128 samples/cpp/3calibration.cpp if( imgpt.size() < 3 ) size 134 samples/cpp/3calibration.cpp objpt.resize(imgpt.size(),objpt[0]); size 240 samples/cpp/3calibration.cpp imageList.size() == 0 || imageList.size() % 3 != 0 ) size 261 samples/cpp/3calibration.cpp imgpt[k].resize(imageList.size()/3); size 263 samples/cpp/3calibration.cpp for( i = 0; i < (int)(imageList.size()/3); i++ ) size 274 samples/cpp/3calibration.cpp imageSize = view.size(); size 281 samples/cpp/3calibration.cpp imgpt[k1][i].resize(ptvec.size()); size 350 samples/cpp/3calibration.cpp for( i = 0; i < (int)(imageList.size()/3); i++ ) size 132 samples/cpp/autofocus.cpp unsigned long int size = frame.cols * frame.rows; size 144 samples/cpp/autofocus.cpp return (double) sum / (double) size; size 76 samples/cpp/bgfg_segm.cpp fgimg.create(img.size(), img.type()); size 95 samples/cpp/calibration.cpp perViewErrors.resize(objectPoints.size()); size 97 samples/cpp/calibration.cpp for( i = 0; i < (int)objectPoints.size(); i++ ) size 102 samples/cpp/calibration.cpp int n = (int)objectPoints[i].size(); size 154 samples/cpp/calibration.cpp objectPoints.resize(imagePoints.size(),objectPoints[0]); size 190 samples/cpp/calibration.cpp fs << "nframes" << (int)std::max(rvecs.size(), reprojErrs.size()); size 222 samples/cpp/calibration.cpp Mat bigmat((int)rvecs.size(), 6, rvecs[0].type()); size 223 samples/cpp/calibration.cpp for( int i = 0; i < (int)rvecs.size(); i++ ) size 240 samples/cpp/calibration.cpp Mat imagePtMat((int)imagePoints.size(), (int)imagePoints[0].size(), CV_32FC2); size 241 samples/cpp/calibration.cpp for( int i = 0; i < (int)imagePoints.size(); i++ ) size 430 samples/cpp/calibration.cpp nframes = (int)imageList.size(); size 448 samples/cpp/calibration.cpp else if( i < (int)imageList.size() ) size 453 samples/cpp/calibration.cpp if( imagePoints.size() > 0 ) size 461 samples/cpp/calibration.cpp imageSize = view.size(); size 510 samples/cpp/calibration.cpp msg = format( "%d/%d Undist", (int)imagePoints.size(), nframes ); size 512 samples/cpp/calibration.cpp msg = format( "%d/%d", (int)imagePoints.size(), nframes ); size 542 samples/cpp/calibration.cpp if( mode == CAPTURING && imagePoints.size() >= (unsigned)nframes ) size 563 samples/cpp/calibration.cpp for( i = 0; i < (int)imageList.size(); i++ ) size 127 samples/cpp/camshiftdemo.cpp hue.create(hsv.size(), hsv.depth()); size 120 samples/cpp/cloning_demo.cpp p.x = destination.size().width/2; size 121 samples/cpp/cloning_demo.cpp p.y = destination.size().height/2; size 157 samples/cpp/cloning_demo.cpp p.x = destination.size().width/2; size 158 samples/cpp/cloning_demo.cpp p.y = destination.size().height/2; size 140 samples/cpp/cloning_gui.cpp final = Mat::zeros(img0.size(),CV_8UC3); size 141 samples/cpp/cloning_gui.cpp res1 = Mat::zeros(img0.size(),CV_8UC1); size 231 samples/cpp/cloning_gui.cpp if(maxxd > im1.size().width || maxyd > im1.size().height || minxd < 0 || minyd < 0) size 237 samples/cpp/cloning_gui.cpp final1 = Mat::zeros(img2.size(),CV_8UC3); size 238 samples/cpp/cloning_gui.cpp res = Mat::zeros(img2.size(),CV_8UC1); size 335 samples/cpp/cloning_gui.cpp res = Mat::zeros(img2.size(),CV_8UC1); size 336 samples/cpp/cloning_gui.cpp res1 = Mat::zeros(img0.size(),CV_8UC1); size 337 samples/cpp/cloning_gui.cpp final = Mat::zeros(img0.size(),CV_8UC3); size 338 samples/cpp/cloning_gui.cpp final1 = Mat::zeros(img2.size(),CV_8UC3); size 376 samples/cpp/cloning_gui.cpp res1 = Mat::zeros(img0.size(),CV_8UC1); size 377 samples/cpp/cloning_gui.cpp final = Mat::zeros(img0.size(),CV_8UC3); size 406 samples/cpp/cloning_gui.cpp res1 = Mat::zeros(img0.size(),CV_8UC1); size 407 samples/cpp/cloning_gui.cpp final = Mat::zeros(img0.size(),CV_8UC3); size 439 samples/cpp/cloning_gui.cpp res1 = Mat::zeros(img0.size(),CV_8UC1); size 440 samples/cpp/cloning_gui.cpp final = Mat::zeros(img0.size(),CV_8UC3); size 493 samples/cpp/cloning_gui.cpp final = Mat::zeros(img0.size(),CV_8UC3); size 494 samples/cpp/cloning_gui.cpp res1 = Mat::zeros(img0.size(),CV_8UC1); size 16 samples/cpp/connected_components.cpp Mat labelImage(img.size(), CV_32S); size 23 samples/cpp/connected_components.cpp Mat dst(img.size(), CV_8UC3); size 83 samples/cpp/contours2.cpp contours.resize(contours0.size()); size 84 samples/cpp/contours2.cpp for( size_t k = 0; k < contours0.size(); k++ ) size 46 samples/cpp/convexhull.cpp int hullcount = (int)hull.size(); size 59 samples/cpp/cout_mat.cpp for (size_t i = 0; i < points.size(); ++i) size 97 samples/cpp/create_mask.cpp final = Mat::zeros(img0.size(),CV_8UC3); size 98 samples/cpp/create_mask.cpp res1 = Mat::zeros(img0.size(),CV_8UC1); size 141 samples/cpp/create_mask.cpp res1 = Mat::zeros(img0.size(),CV_8UC1); size 142 samples/cpp/create_mask.cpp final = Mat::zeros(img0.size(),CV_8UC3); size 81 samples/cpp/dbt_face_detection.cpp for (size_t i = 0; i < Faces.size(); i++) size 31 samples/cpp/delaunay2.cpp for( size_t i = 0; i < triangleList.size(); i++ ) size 44 samples/cpp/delaunay2.cpp for( size_t i = 0; i < edgeList.size(); i++ ) size 87 samples/cpp/delaunay2.cpp for( size_t i = 0; i < facets.size(); i++ ) size 89 samples/cpp/delaunay2.cpp ifacet.resize(facets[i].size()); size 90 samples/cpp/delaunay2.cpp for( size_t j = 0; j < facets[i].size(); j++ ) size 114 samples/cpp/delaunay2.cpp Mat img(rect.size(), CV_8UC3); size 191 samples/cpp/detect_blob.cpp circle(result, k->pt, (int)k->size, palette[i % 65536]); size 518 samples/cpp/detect_mser.cpp cout << "Number of MSER region " << region.size()<<" Number of pixels in all MSER region : "<<nbPixelInMSER<<"\n"; size 43 samples/cpp/dft.cpp Mat planes[] = {Mat_<float>(padded), Mat::zeros(padded.size(), CV_32F)}; size 67 samples/cpp/distrans.cpp dist8u.create(labels.size(), CV_8UC3); size 53 samples/cpp/edge.cpp cedge.create(image.size(), image.type()); size 110 samples/cpp/facedetect.cpp else if( inputName.size() ) size 216 samples/cpp/facedetect.cpp resize( gray, smallImg, smallImg.size(), 0, 0, INTER_LINEAR ); size 138 samples/cpp/facial_features.cpp for(unsigned int i = 0; i < faces.size(); ++i) size 160 samples/cpp/facial_features.cpp for(unsigned int j = 0; j < eyes.size(); ++j) size 177 samples/cpp/facial_features.cpp for(unsigned int j = 0; j < nose.size(); ++j) size 192 samples/cpp/facial_features.cpp for(unsigned int j = 0; j < mouth.size(); ++j) size 70 samples/cpp/fitellipse.cpp Mat cimage = Mat::zeros(bimage.size(), CV_8UC3); size 72 samples/cpp/fitellipse.cpp for(size_t i = 0; i < contours.size(); i++) size 74 samples/cpp/fitellipse.cpp size_t count = contours[i].size(); size 82 samples/cpp/fitellipse.cpp if( MAX(box.size.width, box.size.height) > MIN(box.size.width, box.size.height)*30 ) size 87 samples/cpp/fitellipse.cpp ellipse(cimage, box.center, box.size*0.5f, box.angle, 0, 360, Scalar(0,255,255), 1, LINE_AA); size 45 samples/cpp/grabcut.cpp binMask.create( comMask.size(), CV_8UC1 ); size 99 samples/cpp/grabcut.cpp mask.create( image->size(), CV_8UC1); size 38 samples/cpp/houghcircles.cpp for( size_t i = 0; i < circles.size(); i++ ) size 37 samples/cpp/houghlines.cpp for( size_t i = 0; i < lines.size(); i++ ) size 52 samples/cpp/houghlines.cpp for( size_t i = 0; i < lines.size(); i++ ) size 85 samples/cpp/image.cpp Mat noise(img.size(), CV_8U); // another Mat constructor; allocates a matrix of the specified size and type size 336 samples/cpp/image_alignment.cpp warpAffine (target_image, warped_image, warp_matrix, warped_image.size(), size 339 samples/cpp/image_alignment.cpp warpPerspective (target_image, warped_image, warp_matrix, warped_image.size(), size 63 samples/cpp/inpaint.cpp inpaintMask = Mat::zeros(img.size(), CV_8U); size 202 samples/cpp/letter_recog.cpp cout << "Number of trees: " << model->getRoots().size() << endl; size 334 samples/cpp/letter_recog.cpp cout << "Number of trees: " << model->getRoots().size() << endl; size 95 samples/cpp/lkdemo.cpp for( i = k = 0; i < points[1].size(); i++ ) size 115 samples/cpp/lkdemo.cpp if( addRemovePt && points[1].size() < (size_t)MAX_COUNT ) size 62 samples/cpp/mask_tmpl.cpp rect = Rect(minLoc, tmpl.size()); size 64 samples/cpp/mask_tmpl.cpp rect = Rect(maxLoc, tmpl.size()); size 118 samples/cpp/matchmethod_orb_akaze_brisk.cpp int nbMatch=int(matches.size()); size 38 samples/cpp/openni_capture.cpp rgb.create( gray.size(), CV_8UC3 ); size 145 samples/cpp/openni_capture.cpp if( mask.size() != 5) size 68 samples/cpp/pca.cpp Mat dst(static_cast<int>(data.size()), data[0].rows*data[0].cols, CV_32F); size 69 samples/cpp/pca.cpp for(unsigned int i = 0; i < data.size(); i++) size 144 samples/cpp/pca.cpp if(images.size() <= 1) { size 22 samples/cpp/phase_corr.cpp createHanningWindow(hann, curr.size(), CV_64F); size 62 samples/cpp/points_classifier.cpp for( size_t i = 0; i < trainedPoints.size(); i++ ) size 75 samples/cpp/points_classifier.cpp Mat(pts).reshape(1, (int)pts.size()).convertTo(samples, CV_32F); size 218 samples/cpp/points_classifier.cpp Mat trainClasses = Mat::zeros( (int)trainedPoints.size(), (int)classColors.size(), CV_32FC1 ); size 244 samples/cpp/points_classifier.cpp int i, j, nmodels = (int)classColors.size(); size 391 samples/cpp/points_classifier.cpp layer_sizes1.at<int>(2) = (int)classColors.size(); size 36 samples/cpp/segment_objects.cpp dst = Mat::zeros(img.size(), CV_8UC3); size 38 samples/cpp/segment_objects.cpp if( contours.size() == 0 ) size 130 samples/cpp/select3dobj.cpp selectedObjFrame = Mat::zeros(frame.size(), frame.type()); size 179 samples/cpp/select3dobj.cpp Mat selectedObjMask = Mat::zeros(frame.size(), CV_8U); size 180 samples/cpp/select3dobj.cpp fillConvexPoly(selectedObjMask, &hull[0], (int)hull.size(), Scalar::all(255), 8, 0); size 181 samples/cpp/select3dobj.cpp Rect roi = boundingRect(Mat(hull)) & Rect(Point(), frame.size()); size 186 samples/cpp/select3dobj.cpp fillConvexPoly(selectedObjMask, &hull[0], (int)hull.size(), Scalar::all(GC_PR_FGD), 8, 0); size 350 samples/cpp/select3dobj.cpp size_t i, nviews = imagelist.size(); size 352 samples/cpp/select3dobj.cpp CV_Assert( nviews == roiList.size() && nviews == poseList.size() ); size 532 samples/cpp/select3dobj.cpp if( i < (int)imageList.size() ) size 541 samples/cpp/select3dobj.cpp if( frame0.size() != calibratedImageSize ) size 554 samples/cpp/select3dobj.cpp cameraMatrix, frame0.size(), size 569 samples/cpp/select3dobj.cpp selectedObjFrame = Mat::zeros(frame.size(), frame.type()); size 30 samples/cpp/shape_example.cpp for (size_t border=0; border<_contoursQuery.size(); border++) size 32 samples/cpp/shape_example.cpp for (size_t p=0; p<_contoursQuery[border].size(); p++) size 40 samples/cpp/shape_example.cpp for (int add=(int)contoursQuery.size()-1; add<n; add++) size 111 samples/cpp/smiledetect.cpp else if( inputName.size() ) size 174 samples/cpp/smiledetect.cpp resize( gray, smallImg, smallImg.size(), 0, 0, INTER_LINEAR ); size 237 samples/cpp/smiledetect.cpp const int smile_neighbors = (int)nestedObjects.size(); size 52 samples/cpp/squares.cpp Mat pyr, timg, gray0(image.size(), CV_8U), gray; size 56 samples/cpp/squares.cpp pyrUp(pyr, timg, image.size()); size 92 samples/cpp/squares.cpp for( size_t i = 0; i < contours.size(); i++ ) size 104 samples/cpp/squares.cpp if( approx.size() == 4 && size 132 samples/cpp/squares.cpp for( size_t i = 0; i < squares.size(); i++ ) size 135 samples/cpp/squares.cpp int n = (int)squares[i].size(); size 51 samples/cpp/starter_imagelist.cpp for (size_t i = 0; i < images.size(); i++) size 61 samples/cpp/stereo_calib.cpp if( imagelist.size() % 2 != 0 ) size 76 samples/cpp/stereo_calib.cpp int i, j, k, nimages = (int)imagelist.size()/2; size 91 samples/cpp/stereo_calib.cpp imageSize = img.size(); size 92 samples/cpp/stereo_calib.cpp else if( img.size() != imageSize ) size 194 samples/cpp/stereo_calib.cpp int npt = (int)imagePoints[0][i].size(); size 308 samples/cpp/stereo_calib.cpp resize(cimg, canvasPart, canvasPart.size(), 0, 0, INTER_AREA); size 183 samples/cpp/stereo_match.cpp Size img_size = img1.size(); size 230 samples/cpp/stitching_detailed.cpp if (ba_refine_mask.size() != 5) size 369 samples/cpp/stitching_detailed.cpp int num_images = static_cast<int>(img_names.size()); size 413 samples/cpp/stitching_detailed.cpp full_img_sizes[i] = full_img.size(); size 430 samples/cpp/stitching_detailed.cpp work_scale = min(1.0, sqrt(work_megapix * 1e6 / full_img.size().area())); size 437 samples/cpp/stitching_detailed.cpp seam_scale = min(1.0, sqrt(seam_megapix * 1e6 / full_img.size().area())); size 444 samples/cpp/stitching_detailed.cpp LOGLN("Features in image #" << i+1 << ": " << features[i].keypoints.size()); size 489 samples/cpp/stitching_detailed.cpp for (size_t i = 0; i < indices.size(); ++i) size 501 samples/cpp/stitching_detailed.cpp num_images = static_cast<int>(img_names.size()); size 516 samples/cpp/stitching_detailed.cpp for (size_t i = 0; i < cameras.size(); ++i) size 549 samples/cpp/stitching_detailed.cpp for (size_t i = 0; i < cameras.size(); ++i) size 557 samples/cpp/stitching_detailed.cpp if (focals.size() % 2 == 1) size 558 samples/cpp/stitching_detailed.cpp warped_image_scale = static_cast<float>(focals[focals.size() / 2]); size 560 samples/cpp/stitching_detailed.cpp warped_image_scale = static_cast<float>(focals[focals.size() / 2 - 1] + focals[focals.size() / 2]) * 0.5f; size 565 samples/cpp/stitching_detailed.cpp for (size_t i = 0; i < cameras.size(); ++i) size 568 samples/cpp/stitching_detailed.cpp for (size_t i = 0; i < cameras.size(); ++i) size 586 samples/cpp/stitching_detailed.cpp masks[i].create(images[i].size(), CV_8U); size 655 samples/cpp/stitching_detailed.cpp sizes[i] = images_warped[i].size(); size 731 samples/cpp/stitching_detailed.cpp compose_scale = min(1.0, sqrt(compose_megapix * 1e6 / full_img.size().area())); size 762 samples/cpp/stitching_detailed.cpp sizes[i] = roi.size(); size 770 samples/cpp/stitching_detailed.cpp Size img_size = img.size(); size 792 samples/cpp/stitching_detailed.cpp resize(dilated_mask, seam_mask, mask_warped.size()); size 798 samples/cpp/stitching_detailed.cpp Size dst_sz = resultRoi(corners, sizes).size(); size 826 samples/cpp/stitching_detailed.cpp timelapser->process(img_warped_s, Mat::ones(img_warped_s.size(), CV_8UC1), corners[img_idx]); size 17 samples/cpp/train_HOG.cpp void sample_neg( const vector< Mat > & full_neg_lst, vector< Mat > & neg_lst, const Size & size ); size 18 samples/cpp/train_HOG.cpp Mat get_hogdescriptor_visu(const Mat& color_origImg, vector<float>& descriptorValues, const Size & size ); size 19 samples/cpp/train_HOG.cpp void compute_hog( const vector< Mat > & img_lst, vector< Mat > & gradient_lst, const Size & size ); size 22 samples/cpp/train_HOG.cpp void test_it( const Size & size ); size 53 samples/cpp/train_HOG.cpp const int rows = (int)train_samples.size(); size 107 samples/cpp/train_HOG.cpp void sample_neg( const vector< Mat > & full_neg_lst, vector< Mat > & neg_lst, const Size & size ) size 110 samples/cpp/train_HOG.cpp box.width = size.width; size 111 samples/cpp/train_HOG.cpp box.height = size.height; size 134 samples/cpp/train_HOG.cpp Mat get_hogdescriptor_visu(const Mat& color_origImg, vector<float>& descriptorValues, const Size & size ) size 136 samples/cpp/train_HOG.cpp const int DIMX = size.width; size 137 samples/cpp/train_HOG.cpp const int DIMY = size.height; size 292 samples/cpp/train_HOG.cpp void compute_hog( const vector< Mat > & img_lst, vector< Mat > & gradient_lst, const Size & size ) size 295 samples/cpp/train_HOG.cpp hog.winSize = size; size 308 samples/cpp/train_HOG.cpp imshow( "gradient", get_hogdescriptor_visu( img->clone(), descriptors, size ) ); size 351 samples/cpp/train_HOG.cpp void test_it( const Size & size ) size 360 samples/cpp/train_HOG.cpp my_hog.winSize = size; size 420 samples/cpp/train_HOG.cpp labels.assign( pos_lst.size(), +1 ); size 421 samples/cpp/train_HOG.cpp const unsigned int old = (unsigned int)labels.size(); size 424 samples/cpp/train_HOG.cpp labels.insert( labels.end(), neg_lst.size(), -1 ); size 425 samples/cpp/train_HOG.cpp CV_Assert( old < labels.size() ); size 28 samples/cpp/tutorial_code/HighGUI/BasicLinearTransformsTrackbar.cpp Mat new_image = Mat::zeros( image.size(), image.type() ); size 89 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp for( int x=0; x<(int)(color_range.size()-1); x++ ){ size 128 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d pixel2world( const int& x, const int& y, const cv::Size& size ){ size 131 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp double rx = (double)x / size.width; size 132 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp double ry = (double)y / size.height; size 175 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Mat output_dem( image.size(), CV_8UC3 ); size 176 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Mat output_dem_flood( image.size(), CV_8UC3 ); size 199 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d coordinate = pixel2world( x, y, image.size() ); size 202 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d dem_coordinate = world2dem( coordinate, dem.size() ); size 35 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp hue.create( hsv.size(), hsv.depth() ); size 24 samples/cpp/tutorial_code/ImgProc/BasicLinearTransforms.cpp Mat new_image = Mat::zeros( image.size(), image.type() ); size 90 samples/cpp/tutorial_code/ImgProc/Smoothing.cpp dst = Mat::zeros( src.size(), src.type() ); size 59 samples/cpp/tutorial_code/ImgTrans/CannyDetector_Demo.cpp dst.create( src.size(), src.type() ); size 52 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp warpAffine( src, warp_dst, warp_mat, warp_dst.size() ); size 65 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp warpAffine( warp_dst, warp_rotate_dst, rot_mat, warp_dst.size() ); size 38 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp for( size_t i = 0; i < circles.size(); i++ ) size 95 samples/cpp/tutorial_code/ImgTrans/HoughLines_Demo.cpp for( size_t i = 0; i < s_lines.size(); i++ ) size 122 samples/cpp/tutorial_code/ImgTrans/HoughLines_Demo.cpp for( size_t i = 0; i < p_lines.size(); i++ ) size 33 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp dst.create( src.size(), src.type() ); size 34 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp map_x.create( src.size(), CV_32FC1 ); size 35 samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp map_y.create( src.size(), CV_32FC1 ); size 114 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp Mat markers = Mat::zeros(dist.size(), CV_32SC1); size 117 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp for (size_t i = 0; i < contours.size(); i++) size 129 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp Mat mark = Mat::zeros(markers.size(), CV_8UC1); size 137 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp for (size_t i = 0; i < contours.size(); i++) size 147 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp Mat dst = Mat::zeros(markers.size(), CV_8UC3); size 155 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp if (index > 0 && index <= static_cast<int>(contours.size())) size 69 samples/cpp/tutorial_code/ShapeDescriptors/findContours_demo.cpp Mat drawing = Mat::zeros( canny_output.size(), CV_8UC3 ); size 70 samples/cpp/tutorial_code/ShapeDescriptors/findContours_demo.cpp for( size_t i = 0; i< contours.size(); i++ ) size 64 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo1.cpp vector<vector<Point> > contours_poly( contours.size() ); size 65 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo1.cpp vector<Rect> boundRect( contours.size() ); size 66 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo1.cpp vector<Point2f>center( contours.size() ); size 67 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo1.cpp vector<float>radius( contours.size() ); size 69 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo1.cpp for( size_t i = 0; i < contours.size(); i++ ) size 77 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo1.cpp Mat drawing = Mat::zeros( threshold_output.size(), CV_8UC3 ); size 78 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo1.cpp for( size_t i = 0; i< contours.size(); i++ ) size 64 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo2.cpp vector<RotatedRect> minRect( contours.size() ); size 65 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo2.cpp vector<RotatedRect> minEllipse( contours.size() ); size 67 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo2.cpp for( size_t i = 0; i < contours.size(); i++ ) size 69 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo2.cpp if( contours[i].size() > 5 ) size 74 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo2.cpp Mat drawing = Mat::zeros( threshold_output.size(), CV_8UC3 ); size 75 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo2.cpp for( size_t i = 0; i< contours.size(); i++ ) size 66 samples/cpp/tutorial_code/ShapeDescriptors/hull_demo.cpp vector<vector<Point> >hull( contours.size() ); size 67 samples/cpp/tutorial_code/ShapeDescriptors/hull_demo.cpp for( size_t i = 0; i < contours.size(); i++ ) size 71 samples/cpp/tutorial_code/ShapeDescriptors/hull_demo.cpp Mat drawing = Mat::zeros( threshold_output.size(), CV_8UC3 ); size 72 samples/cpp/tutorial_code/ShapeDescriptors/hull_demo.cpp for( size_t i = 0; i< contours.size(); i++ ) size 64 samples/cpp/tutorial_code/ShapeDescriptors/moments_demo.cpp vector<Moments> mu(contours.size() ); size 65 samples/cpp/tutorial_code/ShapeDescriptors/moments_demo.cpp for( size_t i = 0; i < contours.size(); i++ ) size 69 samples/cpp/tutorial_code/ShapeDescriptors/moments_demo.cpp vector<Point2f> mc( contours.size() ); size 70 samples/cpp/tutorial_code/ShapeDescriptors/moments_demo.cpp for( size_t i = 0; i < contours.size(); i++ ) size 74 samples/cpp/tutorial_code/ShapeDescriptors/moments_demo.cpp Mat drawing = Mat::zeros( canny_output.size(), CV_8UC3 ); size 75 samples/cpp/tutorial_code/ShapeDescriptors/moments_demo.cpp for( size_t i = 0; i< contours.size(); i++ ) size 88 samples/cpp/tutorial_code/ShapeDescriptors/moments_demo.cpp for( size_t i = 0; i< contours.size(); i++ ) size 46 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp Mat raw_dist( src.size(), CV_32FC1 ); size 58 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp Mat drawing = Mat::zeros( src.size(), CV_8UC3 ); size 50 samples/cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp myHarris_dst = Mat::zeros( src_gray.size(), CV_32FC(6) ); size 51 samples/cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp Mc = Mat::zeros( src_gray.size(), CV_32FC1 ); size 73 samples/cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp myShiTomasi_dst = Mat::zeros( src_gray.size(), CV_32FC1 ); size 56 samples/cpp/tutorial_code/TrackingMotion/cornerHarris_Demo.cpp dst = Mat::zeros( src.size(), CV_32FC1 ); size 85 samples/cpp/tutorial_code/TrackingMotion/cornerSubPix_Demo.cpp cout<<"** Number of corners detected: "<<corners.size()<<endl; size 87 samples/cpp/tutorial_code/TrackingMotion/cornerSubPix_Demo.cpp for( size_t i = 0; i < corners.size(); i++ ) size 103 samples/cpp/tutorial_code/TrackingMotion/cornerSubPix_Demo.cpp for( size_t i = 0; i < corners.size(); i++ ) size 85 samples/cpp/tutorial_code/TrackingMotion/goodFeaturesToTrack_Demo.cpp cout<<"** Number of corners detected: "<<corners.size()<<endl; size 87 samples/cpp/tutorial_code/TrackingMotion/goodFeaturesToTrack_Demo.cpp for( size_t i = 0; i < corners.size(); i++ ) size 111 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp nrFrames = (nrFrames < (int)imageList.size()) ? nrFrames : (int)imageList.size(); size 156 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp else if( atImageList < imageList.size() ) size 267 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if( mode == CAPTURING && imagePoints.size() >= (size_t)s.nrFrames ) size 283 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp imageSize = view.size(); // Format input image. size 342 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp msg = format( "%d/%d Undist", (int)imagePoints.size(), s.nrFrames ); size 344 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp msg = format( "%d/%d", (int)imagePoints.size(), s.nrFrames ); size 388 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp for(size_t i = 0; i < s.imageList.size(); i++ ) size 415 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp perViewErrors.resize(objectPoints.size()); size 417 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp for(size_t i = 0; i < objectPoints.size(); ++i ) size 422 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp size_t n = objectPoints[i].size(); size 470 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp objectPoints.resize(imagePoints.size(),objectPoints[0]); size 503 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp fs << "nr_of_frames" << (int)std::max(rvecs.size(), reprojErrs.size()); size 535 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp Mat bigmat((int)rvecs.size(), 6, rvecs[0].type()); size 536 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp for( size_t i = 0; i < rvecs.size(); i++ ) size 553 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp Mat imagePtMat((int)imagePoints.size(), (int)imagePoints[0].size(), CV_32FC2); size 554 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp for( size_t i = 0; i < imagePoints.size(); i++ ) size 17 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.cpp for(unsigned int i = 0; i < list_points3d.size(); ++i) size 31 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.cpp for(unsigned int i = 0; i < list_points3d.size(); ++i) size 79 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.cpp num_vertexs_ = (int)list_vertex_.size(); size 80 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.cpp num_triangles_ = (int)list_triangles_.size(); size 232 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp for (unsigned int i = 0; i < triangles_list.size(); i++) size 36 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp if (matchIterator->size() > 1) size 65 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp if (matchIterator1->empty() || matchIterator1->size() < 2) size 73 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp if (matchIterator2->empty() || matchIterator2->size() < 2) size 78 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp for (unsigned int i = 0; i < list_points_2d.size(); ++i) size 101 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp for( size_t i = 0; i < list_points.size(); i++) size 154 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp for( size_t i = 0; i < list_triangles.size(); i++) size 102 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp video_read_path = parser.get<string>("video").size() > 0 ? parser.get<string>("video") : video_read_path; size 103 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp yml_read_path = parser.get<string>("model").size() > 0 ? parser.get<string>("model") : yml_read_path; size 104 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp ply_read_path = parser.get<string>("mesh").size() > 0 ? parser.get<string>("mesh") : ply_read_path; size 210 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp for(unsigned int match_index = 0; match_index < good_matches.size(); ++match_index) size 225 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp if(good_matches.size() > 0) // None matches, then RANSAC crashes size 313 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp double detection_ratio = ((double)inliers_idx.rows/(double)good_matches.size())*100; size 321 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp int outliers_int = (int)good_matches.size() - inliers_int; size 324 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp string n = IntToString((int)good_matches.size()); size 202 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_registration.cpp for (unsigned int i = 0; i < keypoints_model.size(); ++i) { size 229 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_registration.cpp string num = IntToString((int)list_points_in.size()); size 234 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_registration.cpp num = IntToString((int)list_points_out.size()); size 35 samples/cpp/tutorial_code/core/discrete_fourier_transform/discrete_fourier_transform.cpp Mat planes[] = {Mat_<float>(padded), Mat::zeros(padded.size(), CV_32F)}; size 95 samples/cpp/tutorial_code/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.cpp Mat noisyI(I.size(), CV_8U); // Create a matrix of the specified size and type size 67 samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp Result.create(myImage.size(),myImage.type()); size 108 samples/cpp/tutorial_code/core/mat_the_basic_image_container/mat_the_basic_image_container.cpp for (size_t i = 0; i < vPoints.size(); ++i) size 35 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp for(size_t i = 0; i < nn_matches.size(); i++) { size 46 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp for(unsigned i = 0; i < matched1.size(); i++) { size 57 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp int new_i = static_cast<int>(inliers1.size()); size 68 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp double inlier_ratio = inliers1.size() * 1.0 / matched1.size(); size 71 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp cout << "# Keypoints 1: \t" << kpts1.size() << endl; size 72 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp cout << "# Keypoints 2: \t" << kpts2.size() << endl; size 73 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp cout << "# Matches: \t" << matched1.size() << endl; size 74 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp cout << "# Inliers: \t" << inliers1.size() << endl; size 45 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp stats.keypoints = (int)first_kp.size(); size 56 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp stats.keypoints = (int)kp.size(); size 61 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp for(unsigned i = 0; i < matches.size(); i++) { size 67 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp stats.matches = (int)matched1.size(); size 72 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp if(matched1.size() >= 4) { size 77 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp if(matched1.size() < 4 || homography.empty()) { size 84 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp for(unsigned i = 0; i < matched1.size(); i++) { size 86 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp int new_i = static_cast<int>(inliers1.size()); size 92 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp stats.inliers = (int)inliers1.size(); size 18 samples/cpp/tutorial_code/features2D/AKAZE_tracking/utils.h for(unsigned i = 0; i < bb.size() - 1; i++) { size 21 samples/cpp/tutorial_code/features2D/AKAZE_tracking/utils.h line(image, bb[bb.size() - 1], bb[0], Scalar(0, 0, 255), 2); size 53 samples/cpp/tutorial_code/features2D/AKAZE_tracking/utils.h for(unsigned i = 0; i < keypoints.size(); i++) { size 53 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp int sz = static_cast<int>(pts.size()); size 128 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp for (size_t i = 0; i < contours.size(); ++i) size 65 samples/cpp/tutorial_code/objectDetection/objectDetection.cpp for ( size_t i = 0; i < faces.size(); i++ ) size 76 samples/cpp/tutorial_code/objectDetection/objectDetection.cpp for ( size_t j = 0; j < eyes.size(); j++ ) size 74 samples/cpp/tutorial_code/objectDetection/objectDetection2.cpp for( size_t i = 0; i < faces.size(); i++ ) size 81 samples/cpp/tutorial_code/objectDetection/objectDetection2.cpp if( eyes.size() == 2) size 87 samples/cpp/tutorial_code/objectDetection/objectDetection2.cpp for( size_t j = 0; j < eyes.size(); j++ ) size 33 samples/cpp/tutorial_code/photo/decolorization/decolor.cpp Mat gray = Mat(I.size(),CV_8UC1); size 34 samples/cpp/tutorial_code/photo/decolorization/decolor.cpp Mat color_boost = Mat(I.size(),CV_8UC3); size 119 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp p.x = destination.size().width/2; size 120 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp p.y = destination.size().height/2; size 156 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp p.x = destination.size().width/2; size 157 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp p.y = destination.size().height/2; size 139 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp final = Mat::zeros(img0.size(),CV_8UC3); size 140 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp res1 = Mat::zeros(img0.size(),CV_8UC1); size 230 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp if(maxxd > im1.size().width || maxyd > im1.size().height || minxd < 0 || minyd < 0) size 236 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp final1 = Mat::zeros(img2.size(),CV_8UC3); size 237 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp res = Mat::zeros(img2.size(),CV_8UC1); size 334 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp res = Mat::zeros(img2.size(),CV_8UC1); size 335 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp res1 = Mat::zeros(img0.size(),CV_8UC1); size 336 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp final = Mat::zeros(img0.size(),CV_8UC3); size 337 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp final1 = Mat::zeros(img2.size(),CV_8UC3); size 375 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp res1 = Mat::zeros(img0.size(),CV_8UC1); size 376 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp final = Mat::zeros(img0.size(),CV_8UC3); size 405 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp res1 = Mat::zeros(img0.size(),CV_8UC1); size 406 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp final = Mat::zeros(img0.size(),CV_8UC3); size 438 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp res1 = Mat::zeros(img0.size(),CV_8UC1); size 439 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp final = Mat::zeros(img0.size(),CV_8UC3); size 492 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp final = Mat::zeros(img0.size(),CV_8UC3); size 493 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp res1 = Mat::zeros(img0.size(),CV_8UC1); size 53 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp for (size_t i = 0; i < nn_matches.size(); i++) { size 64 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp for (unsigned i = 0; i < matched1.size(); i++) { size 75 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp int new_i = static_cast<int>(inliers1.size()); size 87 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp double inlier_ratio = inliers1.size() * 1.0 / matched1.size(); size 90 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp cout << "# Keypoints 1: \t" << kpts1.size() << endl; size 91 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp cout << "# Keypoints 2: \t" << kpts2.size() << endl; size 92 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp cout << "# Matches: \t" << matched1.size() << endl; size 93 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp cout << "# Inliers: \t" << inliers1.size() << endl; size 89 samples/cpp/tvl1_optical_flow.cpp dst.create(flow.size(), CV_8UC3); size 171 samples/cpp/tvl1_optical_flow.cpp if (frame1.size() != frame0.size()) size 53 samples/cpp/videostab.cpp outputFps, stabilizedFrame.size()); size 201 samples/cpp/videostab.cpp ransac.size = argi(prefix + "subset"); size 93 samples/cpp/watershed.cpp Mat markers(markerMask.size(), CV_32S); size 117 samples/cpp/watershed.cpp Mat wshed(markers.size(), CV_8UC3); size 60 samples/directx/d3dsample.hpp if (time_queue.size() >= 2) size 63 samples/directx/d3dsample.hpp if (time_queue.size() >= 25) size 66 samples/directx/d3dsample.hpp size_t sz = time_queue.size(); size 149 samples/gpu/bgfg_segm.cpp d_fgimg.create(d_frame.size(), d_frame.type()); size 256 samples/gpu/cascadeclassifier.cpp for (size_t i = 0; i < faces.size(); ++i) size 267 samples/gpu/cascadeclassifier.cpp cout << setw(6) << fixed << fps << " FPS, " << faces.size() << " det"; size 270 samples/gpu/cascadeclassifier.cpp for (size_t i = 0; i < faces.size(); ++i) size 340 samples/gpu/cascadeclassifier_nvidia_api.cpp for (size_t rt = 0; rt < rectsOpenCV.size(); ++rt) size 33 samples/gpu/farneback_optical_flow.cpp dst.create(u.size(), CV_8UC3); size 154 samples/gpu/generalized_hough.cpp cout << "Found : " << position.size() << " objects" << endl; size 160 samples/gpu/generalized_hough.cpp for (size_t i = 0; i < position.size(); ++i) size 168 samples/gpu/generalized_hough.cpp rect.size = Size2f(templ.cols * scale, templ.rows * scale); size 335 samples/gpu/hog.cpp for (size_t i = 0; i < found.size(); i++) size 358 samples/gpu/hog.cpp img_to_show.size(), true); size 48 samples/gpu/houghlines.cpp cout << "CPU Found : " << lines_cpu.size() << endl; size 51 samples/gpu/houghlines.cpp for (size_t i = 0; i < lines_cpu.size(); ++i) size 78 samples/gpu/houghlines.cpp for (size_t i = 0; i < lines_gpu.size(); ++i) size 91 samples/gpu/optical_flow.cpp dst.create(flowx.size(), CV_8UC3); size 169 samples/gpu/optical_flow.cpp if (frame1.size() != frame0.size()) size 178 samples/gpu/optical_flow.cpp GpuMat d_flow(frame0.size(), CV_32FC2); size 538 samples/gpu/opticalflow_nvidia_api.cpp state.size = NcvSize32u (width, height); size 633 samples/gpu/opticalflow_nvidia_api.cpp if (currentFrame < frames.size()-1) ++currentFrame; size 80 samples/gpu/performance/performance.cpp if (samples.size() > 1) size 81 samples/gpu/performance/performance.cpp return (sum - samples[0]) / (samples.size() - 1); size 211 samples/gpu/performance/performance.cpp if (workdir[workdir.size() - 1] != '/' && workdir[workdir.size() - 1] != '\\') size 70 samples/gpu/performance/tests.cpp for (int size = 2000; size <= 8000; size *= 2) size 72 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", 32F"; size 74 samples/gpu/performance/tests.cpp gen(src, size, size, CV_32F, 0, 1); size 97 samples/gpu/performance/tests.cpp for (int size = 1000; size <= 4000; size *= 2) size 99 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", 8UC4, INTER_LINEAR, BORDER_REPLICATE"; size 101 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, 0, 256); size 103 samples/gpu/performance/tests.cpp xmap.create(size, size, CV_32F); size 104 samples/gpu/performance/tests.cpp ymap.create(size, size, CV_32F); size 105 samples/gpu/performance/tests.cpp for (int i = 0; i < size; ++i) size 109 samples/gpu/performance/tests.cpp for (int j = 0; j < size; ++j) size 111 samples/gpu/performance/tests.cpp xmap_row[j] = (j - size * 0.5f) * 0.75f + size * 0.5f; size 112 samples/gpu/performance/tests.cpp ymap_row[j] = (i - size * 0.5f) * 0.75f + size * 0.5f; size 140 samples/gpu/performance/tests.cpp for (int size = 1000; size <= 4000; size *= 2) size 142 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", 32FC2, complex-to-complex"; size 144 samples/gpu/performance/tests.cpp gen(src, size, size, CV_32FC2, Scalar::all(0), Scalar::all(1)); size 154 samples/gpu/performance/tests.cpp cuda::dft(d_src, d_dst, Size(size, size)); size 157 samples/gpu/performance/tests.cpp cuda::dft(d_src, d_dst, Size(size, size)); size 168 samples/gpu/performance/tests.cpp for (int size = 1000; size <= 4000; size *= 2) size 170 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", 32FC1, BORDER_REFLECT101"; size 172 samples/gpu/performance/tests.cpp gen(src, size, size, CV_32F, 0, 1); size 198 samples/gpu/performance/tests.cpp for (int size = 1000; size <= 4000; size *= 2) size 200 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", 8UC1"; size 202 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8U, 0, 256); size 226 samples/gpu/performance/tests.cpp for (int size = 2000; size <= 4000; size += 1000) size 228 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", 32FC4, NORM_INF"; size 230 samples/gpu/performance/tests.cpp gen(src, size, size, CV_32FC4, Scalar::all(0), Scalar::all(1)); size 256 samples/gpu/performance/tests.cpp for (int size = 400; size <= 800; size *= 2) size 258 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", 8UC3 vs 8UC4"; size 260 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC3, Scalar::all(0), Scalar::all(256)); size 268 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, Scalar::all(0), Scalar::all(256)); size 442 samples/gpu/performance/tests.cpp for (int size = 2000; size <= 4000; size += 1000) size 444 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", 32FC1"; size 446 samples/gpu/performance/tests.cpp gen(x, size, size, CV_32F, 0, 1); size 447 samples/gpu/performance/tests.cpp gen(y, size, size, CV_32F, 0, 1); size 472 samples/gpu/performance/tests.cpp for (int size = 2000; size <= 4000; size += 1000) size 474 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", 32FC1"; size 476 samples/gpu/performance/tests.cpp gen(src1, size, size, CV_32F, 0, 1); size 477 samples/gpu/performance/tests.cpp gen(src2, size, size, CV_32F, 0, 1); size 502 samples/gpu/performance/tests.cpp for (int size = 2000; size <= 4000; size += 1000) size 504 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", 32F"; size 506 samples/gpu/performance/tests.cpp gen(src, size, size, CV_32F, 1, 10); size 530 samples/gpu/performance/tests.cpp for (int size = 2000; size <= 4000; size += 1000) size 532 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size; size 534 samples/gpu/performance/tests.cpp gen(src1, size, size, CV_32FC2, Scalar::all(0), Scalar::all(1)); size 535 samples/gpu/performance/tests.cpp gen(src2, size, size, CV_32FC2, Scalar::all(0), Scalar::all(1)); size 560 samples/gpu/performance/tests.cpp for (int size = 1000; size <= 3000; size += 1000) size 562 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", 8UC4, up"; size 564 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, 0, 256); size 581 samples/gpu/performance/tests.cpp for (int size = 1000; size <= 3000; size += 1000) size 583 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", 8UC4, down"; size 585 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, 0, 256); size 738 samples/gpu/performance/tests.cpp for (int size = 2000; size <= 4000; size += 1000) size 740 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size; size 742 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, Scalar::all(0), Scalar::all(256)); size 768 samples/gpu/performance/tests.cpp for (int size = 2000; size <= 4000; size += 1000) size 770 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", 8UC1, THRESH_BINARY"; size 772 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8U, 0, 100); size 789 samples/gpu/performance/tests.cpp for (int size = 2000; size <= 4000; size += 1000) size 791 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", 32FC1, THRESH_TRUNC [NPP]"; size 793 samples/gpu/performance/tests.cpp gen(src, size, size, CV_32FC1, 0, 100); size 816 samples/gpu/performance/tests.cpp for (int size = 1000; size <= 4000; size += 1000) size 818 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", 32F"; size 820 samples/gpu/performance/tests.cpp gen(src, size, size, CV_32F, 0, 100); size 853 samples/gpu/performance/tests.cpp for (int size = (int)1e6, count = 0; size >= 1e5 && count < 5; size = int(size / 1.4), count++) size 855 samples/gpu/performance/tests.cpp SUBTEST << size; size 857 samples/gpu/performance/tests.cpp gen(src, 1, size, CV_32FC3, Scalar::all(0), Scalar::all(10)); size 920 samples/gpu/performance/tests.cpp for (int size = 1000; size <= 4000; size += 1000) size 922 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", 8UC4"; size 926 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, 0, 256); size 935 samples/gpu/performance/tests.cpp cuda::GpuMat d_dst(src.size(), src.type()); size 950 samples/gpu/performance/tests.cpp for (int size = 512; size <= 2048; size *= 2) size 953 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, 0, 256); size 957 samples/gpu/performance/tests.cpp SUBTEST << "ksize = " << ksize << ", " << size << 'x' << size << ", 8UC4"; size 984 samples/gpu/performance/tests.cpp for (int size = 4000; size >= 1000; size -= 1000) size 986 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", 8UC4"; size 989 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, 0, 256); size 1010 samples/gpu/performance/tests.cpp for (int size = 2000; size >= 1000; size -= 1000) size 1012 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", 8UC4"; size 1016 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC4, 0, 256); size 1038 samples/gpu/performance/tests.cpp for (int size = 1000; size < 4000; size += 1000) size 1040 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size; size 1044 samples/gpu/performance/tests.cpp gen(src, size, size, CV_8UC1, 0, 256); size 1070 samples/gpu/performance/tests.cpp Mat edges(img.size(), CV_8UC1); size 1091 samples/gpu/performance/tests.cpp for (int size = 1000; size < 4000; size += 1000) size 1094 samples/gpu/performance/tests.cpp gen(src, size, size, CV_32F, 0, 255); size 1103 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", dim = 0"; size 1117 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size << ", dim = 1"; size 1139 samples/gpu/performance/tests.cpp for (int size = 512; size <= 1024; size *= 2) size 1141 samples/gpu/performance/tests.cpp SUBTEST << size << 'x' << size; size 1143 samples/gpu/performance/tests.cpp gen(src1, size, size, CV_32FC1, Scalar::all(-10), Scalar::all(10)); size 1144 samples/gpu/performance/tests.cpp gen(src2, size, size, CV_32FC1, Scalar::all(-10), Scalar::all(10)); size 1145 samples/gpu/performance/tests.cpp gen(src3, size, size, CV_32FC1, Scalar::all(-10), Scalar::all(10)); size 32 samples/gpu/pyrlk_optical_flow.cpp for (size_t i = 0; i < prevPts.size(); ++i) size 181 samples/gpu/stereo_match.cpp Mat disp(left.size(), CV_8U); size 182 samples/gpu/stereo_match.cpp cuda::GpuMat d_disp(left.size(), CV_8U); size 222 samples/gpu/stereo_multi.cpp disparity.create(leftFrame.size(), CV_8UC1); size 321 samples/gpu/stereo_multi.cpp disparity.create(leftFrame.size(), CV_8UC1); size 437 samples/gpu/stereo_multi.cpp if (leftFrame.size() != rightFrame.size()) size 443 samples/gpu/stereo_multi.cpp leftGrayFrame.create(leftFrame.size(), CV_8UC1); size 444 samples/gpu/stereo_multi.cpp rightGrayFrame.create(leftFrame.size(), CV_8UC1); size 127 samples/gpu/super_resolution.cpp cout << "Input : " << inputVideoName << " " << frame.size() << endl; size 157 samples/gpu/super_resolution.cpp writer.open(outputVideoName, VideoWriter::fourcc('X', 'V', 'I', 'D'), 25.0, result.size()); size 68 samples/gpu/video_reader.cpp double cpu_avg = std::accumulate(cpu_times.begin(), cpu_times.end(), 0.0) / cpu_times.size(); size 69 samples/gpu/video_reader.cpp double gpu_avg = std::accumulate(gpu_times.begin(), gpu_times.end(), 0.0) / gpu_times.size(); size 64 samples/gpu/video_writer.cpp if (!writer.open("output_cpu.avi", cv::VideoWriter::fourcc('X', 'V', 'I', 'D'), FPS, frame.size())) size 73 samples/gpu/video_writer.cpp d_writer = cv::cudacodec::createVideoWriter(outputFilename, frame.size(), FPS); size 96 samples/gpu/video_writer.cpp double cpu_avg = std::accumulate(cpu_times.begin(), cpu_times.end(), 0.0) / cpu_times.size(); size 97 samples/gpu/video_writer.cpp double gpu_avg = std::accumulate(gpu_times.begin(), gpu_times.end(), 0.0) / gpu_times.size(); size 60 samples/tapi/bgfg_segm.cpp fgimg.create(frame.size(), frame.type()); size 100 samples/tapi/bgfg_segm.cpp std::cout << fgimg.size() << std::endl; size 128 samples/tapi/camshift.cpp hue.create(hsv.size(), hsv.depth()); size 222 samples/tapi/hog.cpp for (size_t i = 0; i < found.size(); i++) size 248 samples/tapi/hog.cpp img_to_show.size(), true); size 37 samples/tapi/pyrlk_optical_flow.cpp for (size_t i = 0; i < prevPts.size(); ++i) size 174 samples/tapi/pyrlk_optical_flow.cpp if(pts.size() == 0) size 38 samples/tapi/squares.cpp UMat pyr, timg, gray0(image.size(), CV_8U), gray; size 42 samples/tapi/squares.cpp pyrUp(pyr, timg, image.size()); size 78 samples/tapi/squares.cpp for( size_t i = 0; i < contours.size(); i++ ) size 91 samples/tapi/squares.cpp if( approx.size() == 4 && size 119 samples/tapi/squares.cpp for( size_t i = 0; i < squares.size(); i++ ) size 122 samples/tapi/squares.cpp int n = (int)squares[i].size(); size 62 samples/tapi/tvl1_optical_flow.cpp flowField.create(u.size(), CV_8UC4); size 67 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.cpp for (unsigned int i = 0; i < facesColl.size(); i++) size 264 samples/winrt/ImageManipulations/common/suspensionmanager.cpp auto size = unsigned int(stateFileProperties->Size); size 265 samples/winrt/ImageManipulations/common/suspensionmanager.cpp if (size != stateFileProperties->Size) throw ref new FailureException("Session state larger than 4GB"); size 270 samples/winrt/ImageManipulations/common/suspensionmanager.cpp return task<unsigned int>(stateReader->LoadAsync(size)).then([=](unsigned int bytesRead) size 426 samples/winrt/ImageManipulations/common/suspensionmanager.cpp auto size = reader->ReadUInt32(); size 427 samples/winrt/ImageManipulations/common/suspensionmanager.cpp for (unsigned int index = 0; index < size; index++) size 142 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp int size = WideCharToMultiByte(CP_UTF8, 0, &input[0], (int)input.size(), NULL, 0, NULL, NULL); size 143 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp std::string result(size, 0); size 145 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp WideCharToMultiByte(CP_UTF8, 0, &input[0], (int)input.size(), &result[0], size, NULL, NULL); size 219 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp for( unsigned int i = 0; i < std::min(features.size(), (size_t)50); i++ ) size 135 samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Shared/main.cpp for (unsigned int i = 0; i < facesColl.size(); i++) size 46 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DContentProvider.cpp HRESULT Direct3DContentProvider::GetTexture(_In_ const DrawingSurfaceSizeF* size, _Out_ IDrawingSurfaceSynchronizedTextureNative** synchronizedTexture, _Out_ DrawingSurfaceRectF* textureSubRectangle) size 58 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DContentProvider.cpp textureSubRectangle->right = static_cast<FLOAT>(size->width); size 59 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DContentProvider.cpp textureSubRectangle->bottom = static_cast<FLOAT>(size->height); size 70 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DContentProvider.cpp hr = m_controller->GetTexture(size, synchronizedTexture, textureSubRectangle); size 25 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DContentProvider.h HRESULT STDMETHODCALLTYPE GetTexture(_In_ const DrawingSurfaceSizeF* size, _Out_ IDrawingSurfaceSynchronizedTextureNative** synchronizedTexture, _Out_ DrawingSurfaceRectF* textureSubRectangle); size 28 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DContentProvider.h HRESULT InitializeTexture(_In_ const DrawingSurfaceSizeF* size); size 166 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp for( unsigned int i = 0; i < std::min(features.size(), (size_t)50); i++ ) size 340 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp HRESULT Direct3DInterop::GetTexture(_In_ const DrawingSurfaceSizeF* size, _Out_ IDrawingSurfaceSynchronizedTextureNative** synchronizedTexture, _Out_ DrawingSurfaceRectF* textureSubRectangle) size 71 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h HRESULT STDMETHODCALLTYPE GetTexture(_In_ const DrawingSurfaceSizeF* size, _Out_ IDrawingSurfaceSynchronizedTextureNative** synchronizedTexture, _Out_ DrawingSurfaceRectF* textureSubRectangle); size 46 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DContentProvider.cpp HRESULT Direct3DContentProvider::GetTexture(_In_ const DrawingSurfaceSizeF* size, _Out_ IDrawingSurfaceSynchronizedTextureNative** synchronizedTexture, _Out_ DrawingSurfaceRectF* textureSubRectangle) size 58 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DContentProvider.cpp textureSubRectangle->right = static_cast<FLOAT>(size->width); size 59 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DContentProvider.cpp textureSubRectangle->bottom = static_cast<FLOAT>(size->height); size 70 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DContentProvider.cpp hr = m_controller->GetTexture(size, synchronizedTexture, textureSubRectangle); size 25 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DContentProvider.h HRESULT STDMETHODCALLTYPE GetTexture(_In_ const DrawingSurfaceSizeF* size, _Out_ IDrawingSurfaceSynchronizedTextureNative** synchronizedTexture, _Out_ DrawingSurfaceRectF* textureSubRectangle); size 28 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DContentProvider.h HRESULT InitializeTexture(_In_ const DrawingSurfaceSizeF* size); size 129 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp HRESULT Direct3DInterop::GetTexture(_In_ const DrawingSurfaceSizeF* size, _Out_ IDrawingSurfaceSynchronizedTextureNative** synchronizedTexture, _Out_ DrawingSurfaceRectF* textureSubRectangle) size 62 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h HRESULT STDMETHODCALLTYPE GetTexture(_In_ const DrawingSurfaceSizeF* size, _Out_ IDrawingSurfaceSynchronizedTextureNative** synchronizedTexture, _Out_ DrawingSurfaceRectF* textureSubRectangle); size 17 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp void CopyIVectorToMatrix(IVector<int>^ input, cv::Mat& mat, int size); size 18 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp void CopyMatrixToVector(const cv::Mat& mat, std::vector<int>& vector, int size); size 26 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp int size = input->Size; size 28 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp CopyIVectorToMatrix(input, mat, size); size 40 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp CopyMatrixToVector(mat, output, size); size 48 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp void CopyIVectorToMatrix(IVector<int>^ input, cv::Mat& mat, int size) size 51 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp for (int i = 0; i < size; i++) size 59 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp void CopyMatrixToVector(const cv::Mat& mat, std::vector<int>& vector, int size) size 62 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp for (int i = 0; i < size; i++)