s 73 3rdparty/include/dshow/_mingw_dxhelper.h # define DUMMYSTRUCTNAME s s 1383 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void (*draw_horiz_band)(struct AVCodecContext *s, s 1396 3rdparty/include/ffmpeg_/libavcodec/avcodec.h enum AVPixelFormat (*get_format)(struct AVCodecContext *s, const enum AVPixelFormat * fmt); s 2142 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int (*get_buffer2)(struct AVCodecContext *s, AVFrame *frame, int flags); s 3232 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void avcodec_get_context_defaults(AVCodecContext *s); s 3237 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void avcodec_get_context_defaults2(AVCodecContext *s, enum AVMediaType); s 3266 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int avcodec_get_context_defaults3(AVCodecContext *s, const AVCodec *codec); s 3583 3rdparty/include/ffmpeg_/libavcodec/avcodec.h attribute_deprecated int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic); s 3584 3rdparty/include/ffmpeg_/libavcodec/avcodec.h attribute_deprecated void avcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic); s 3585 3rdparty/include/ffmpeg_/libavcodec/avcodec.h attribute_deprecated int avcodec_default_reget_buffer(AVCodecContext *s, AVFrame *pic); s 3593 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int avcodec_default_get_buffer2(AVCodecContext *s, AVFrame *frame, int flags); s 3613 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void avcodec_align_dimensions(AVCodecContext *s, int *width, int *height); s 3624 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, s 3963 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int (*parser_init)(AVCodecParserContext *s); s 3964 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int (*parser_parse)(AVCodecParserContext *s, s 3968 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void (*parser_close)(AVCodecParserContext *s); s 4006 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int av_parser_parse2(AVCodecParserContext *s, s 4017 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int av_parser_change(AVCodecParserContext *s, s 4021 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void av_parser_close(AVCodecParserContext *s); s 4224 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int audio_resample(ReSampleContext *s, short *output, short *input, int nb_samples); s 4233 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void audio_resample_close(ReSampleContext *s); s 4503 3rdparty/include/ffmpeg_/libavcodec/avcodec.h enum AVPixelFormat avcodec_default_get_format(struct AVCodecContext *s, const enum AVPixelFormat * fmt); s 4509 3rdparty/include/ffmpeg_/libavcodec/avcodec.h void avcodec_set_dimensions(AVCodecContext *s, int width, int height); s 4742 3rdparty/include/ffmpeg_/libavcodec/avcodec.h unsigned int av_xiphlacing(unsigned char *s, unsigned int v); s 4827 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int avcodec_is_open(AVCodecContext *s); s 53 3rdparty/include/ffmpeg_/libavcodec/avfft.h void av_fft_permute(FFTContext *s, FFTComplex *z); s 59 3rdparty/include/ffmpeg_/libavcodec/avfft.h void av_fft_calc(FFTContext *s, FFTComplex *z); s 61 3rdparty/include/ffmpeg_/libavcodec/avfft.h void av_fft_end(FFTContext *s); s 64 3rdparty/include/ffmpeg_/libavcodec/avfft.h void av_imdct_calc(FFTContext *s, FFTSample *output, const FFTSample *input); s 65 3rdparty/include/ffmpeg_/libavcodec/avfft.h void av_imdct_half(FFTContext *s, FFTSample *output, const FFTSample *input); s 66 3rdparty/include/ffmpeg_/libavcodec/avfft.h void av_mdct_calc(FFTContext *s, FFTSample *output, const FFTSample *input); s 67 3rdparty/include/ffmpeg_/libavcodec/avfft.h void av_mdct_end(FFTContext *s); s 86 3rdparty/include/ffmpeg_/libavcodec/avfft.h void av_rdft_calc(RDFTContext *s, FFTSample *data); s 87 3rdparty/include/ffmpeg_/libavcodec/avfft.h void av_rdft_end(RDFTContext *s); s 109 3rdparty/include/ffmpeg_/libavcodec/avfft.h void av_dct_calc(DCTContext *s, FFTSample *data); s 110 3rdparty/include/ffmpeg_/libavcodec/avfft.h void av_dct_end (DCTContext *s); s 297 3rdparty/include/ffmpeg_/libavformat/avformat.h int av_get_packet(AVIOContext *s, AVPacket *pkt, int size); s 313 3rdparty/include/ffmpeg_/libavformat/avformat.h int av_append_packet(AVIOContext *s, AVPacket *pkt, int size); s 454 3rdparty/include/ffmpeg_/libavformat/avformat.h void (*get_output_timestamp)(struct AVFormatContext *s, int stream, s 562 3rdparty/include/ffmpeg_/libavformat/avformat.h int64_t (*read_timestamp)(struct AVFormatContext *s, int stream_index, s 583 3rdparty/include/ffmpeg_/libavformat/avformat.h int (*read_seek2)(struct AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags); s 893 3rdparty/include/ffmpeg_/libavformat/avformat.h AVRational av_stream_get_r_frame_rate(const AVStream *s); s 894 3rdparty/include/ffmpeg_/libavformat/avformat.h void av_stream_set_r_frame_rate(AVStream *s, AVRational r); s 1389 3rdparty/include/ffmpeg_/libavformat/avformat.h void avformat_free_context(AVFormatContext *s); s 1414 3rdparty/include/ffmpeg_/libavformat/avformat.h AVStream *avformat_new_stream(AVFormatContext *s, const AVCodec *c); s 1416 3rdparty/include/ffmpeg_/libavformat/avformat.h AVProgram *av_new_program(AVFormatContext *s, int id); s 1594 3rdparty/include/ffmpeg_/libavformat/avformat.h AVProgram *av_find_program_from_stream(AVFormatContext *ic, AVProgram *last, int s); s 1642 3rdparty/include/ffmpeg_/libavformat/avformat.h int av_read_packet(AVFormatContext *s, AVPacket *pkt); s 1669 3rdparty/include/ffmpeg_/libavformat/avformat.h int av_read_frame(AVFormatContext *s, AVPacket *pkt); s 1682 3rdparty/include/ffmpeg_/libavformat/avformat.h int av_seek_frame(AVFormatContext *s, int stream_index, int64_t timestamp, s 1712 3rdparty/include/ffmpeg_/libavformat/avformat.h int avformat_seek_file(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags); s 1718 3rdparty/include/ffmpeg_/libavformat/avformat.h int av_read_play(AVFormatContext *s); s 1725 3rdparty/include/ffmpeg_/libavformat/avformat.h int av_read_pause(AVFormatContext *s); s 1735 3rdparty/include/ffmpeg_/libavformat/avformat.h void av_close_input_file(AVFormatContext *s); s 1742 3rdparty/include/ffmpeg_/libavformat/avformat.h void avformat_close_input(AVFormatContext **s); s 1759 3rdparty/include/ffmpeg_/libavformat/avformat.h AVStream *av_new_stream(AVFormatContext *s, int id); s 1767 3rdparty/include/ffmpeg_/libavformat/avformat.h void av_set_pts_info(AVStream *s, int pts_wrap_bits, s 1795 3rdparty/include/ffmpeg_/libavformat/avformat.h int avformat_write_header(AVFormatContext *s, AVDictionary **options); s 1813 3rdparty/include/ffmpeg_/libavformat/avformat.h int av_write_frame(AVFormatContext *s, AVPacket *pkt); s 1841 3rdparty/include/ffmpeg_/libavformat/avformat.h int av_interleaved_write_frame(AVFormatContext *s, AVPacket *pkt); s 1852 3rdparty/include/ffmpeg_/libavformat/avformat.h int av_write_trailer(AVFormatContext *s); s 1892 3rdparty/include/ffmpeg_/libavformat/avformat.h int av_get_output_timestamp(struct AVFormatContext *s, int stream, s 1990 3rdparty/include/ffmpeg_/libavformat/avformat.h int av_find_default_stream_index(AVFormatContext *s); s 2171 3rdparty/include/ffmpeg_/libavformat/avformat.h int avformat_match_stream_specifier(AVFormatContext *s, AVStream *st, s 2174 3rdparty/include/ffmpeg_/libavformat/avformat.h int avformat_queue_attached_pictures(AVFormatContext *s); s 194 3rdparty/include/ffmpeg_/libavformat/avio.h void avio_w8(AVIOContext *s, int b); s 195 3rdparty/include/ffmpeg_/libavformat/avio.h void avio_write(AVIOContext *s, const unsigned char *buf, int size); s 196 3rdparty/include/ffmpeg_/libavformat/avio.h void avio_wl64(AVIOContext *s, uint64_t val); s 197 3rdparty/include/ffmpeg_/libavformat/avio.h void avio_wb64(AVIOContext *s, uint64_t val); s 198 3rdparty/include/ffmpeg_/libavformat/avio.h void avio_wl32(AVIOContext *s, unsigned int val); s 199 3rdparty/include/ffmpeg_/libavformat/avio.h void avio_wb32(AVIOContext *s, unsigned int val); s 200 3rdparty/include/ffmpeg_/libavformat/avio.h void avio_wl24(AVIOContext *s, unsigned int val); s 201 3rdparty/include/ffmpeg_/libavformat/avio.h void avio_wb24(AVIOContext *s, unsigned int val); s 202 3rdparty/include/ffmpeg_/libavformat/avio.h void avio_wl16(AVIOContext *s, unsigned int val); s 203 3rdparty/include/ffmpeg_/libavformat/avio.h void avio_wb16(AVIOContext *s, unsigned int val); s 209 3rdparty/include/ffmpeg_/libavformat/avio.h int avio_put_str(AVIOContext *s, const char *str); s 215 3rdparty/include/ffmpeg_/libavformat/avio.h int avio_put_str16le(AVIOContext *s, const char *str); s 236 3rdparty/include/ffmpeg_/libavformat/avio.h int64_t avio_seek(AVIOContext *s, int64_t offset, int whence); s 242 3rdparty/include/ffmpeg_/libavformat/avio.h int64_t avio_skip(AVIOContext *s, int64_t offset); s 248 3rdparty/include/ffmpeg_/libavformat/avio.h static av_always_inline int64_t avio_tell(AVIOContext *s) s 250 3rdparty/include/ffmpeg_/libavformat/avio.h return avio_seek(s, 0, SEEK_CUR); s 257 3rdparty/include/ffmpeg_/libavformat/avio.h int64_t avio_size(AVIOContext *s); s 263 3rdparty/include/ffmpeg_/libavformat/avio.h int url_feof(AVIOContext *s); s 266 3rdparty/include/ffmpeg_/libavformat/avio.h int avio_printf(AVIOContext *s, const char *fmt, ...) av_printf_format(2, 3); s 274 3rdparty/include/ffmpeg_/libavformat/avio.h void avio_flush(AVIOContext *s); s 280 3rdparty/include/ffmpeg_/libavformat/avio.h int avio_read(AVIOContext *s, unsigned char *buf, int size); s 289 3rdparty/include/ffmpeg_/libavformat/avio.h int avio_r8 (AVIOContext *s); s 290 3rdparty/include/ffmpeg_/libavformat/avio.h unsigned int avio_rl16(AVIOContext *s); s 291 3rdparty/include/ffmpeg_/libavformat/avio.h unsigned int avio_rl24(AVIOContext *s); s 292 3rdparty/include/ffmpeg_/libavformat/avio.h unsigned int avio_rl32(AVIOContext *s); s 293 3rdparty/include/ffmpeg_/libavformat/avio.h uint64_t avio_rl64(AVIOContext *s); s 294 3rdparty/include/ffmpeg_/libavformat/avio.h unsigned int avio_rb16(AVIOContext *s); s 295 3rdparty/include/ffmpeg_/libavformat/avio.h unsigned int avio_rb24(AVIOContext *s); s 296 3rdparty/include/ffmpeg_/libavformat/avio.h unsigned int avio_rb32(AVIOContext *s); s 297 3rdparty/include/ffmpeg_/libavformat/avio.h uint64_t avio_rb64(AVIOContext *s); s 374 3rdparty/include/ffmpeg_/libavformat/avio.h int avio_open(AVIOContext **s, const char *url, int flags); s 393 3rdparty/include/ffmpeg_/libavformat/avio.h int avio_open2(AVIOContext **s, const char *url, int flags, s 406 3rdparty/include/ffmpeg_/libavformat/avio.h int avio_close(AVIOContext *s); s 419 3rdparty/include/ffmpeg_/libavformat/avio.h int avio_closep(AVIOContext **s); s 428 3rdparty/include/ffmpeg_/libavformat/avio.h int avio_open_dyn_buf(AVIOContext **s); s 439 3rdparty/include/ffmpeg_/libavformat/avio.h int avio_close_dyn_buf(AVIOContext *s, uint8_t **pbuffer); s 186 3rdparty/include/ffmpeg_/libavutil/avstring.h char *av_strtok(char *s, const char *delim, char **saveptr); s 37 3rdparty/include/ffmpeg_/libavutil/blowfish.h uint32_t s[4][256]; s 55 3rdparty/include/ffmpeg_/libavutil/bswap.h #define AV_BSWAPC(s, x) AV_BSWAP##s##C(x) s 89 3rdparty/include/ffmpeg_/libavutil/bswap.h #define AV_BE2NEC(s, x) (x) s 90 3rdparty/include/ffmpeg_/libavutil/bswap.h #define AV_LE2NEC(s, x) AV_BSWAPC(s, x) s 98 3rdparty/include/ffmpeg_/libavutil/bswap.h #define AV_BE2NEC(s, x) AV_BSWAPC(s, x) s 99 3rdparty/include/ffmpeg_/libavutil/bswap.h #define AV_LE2NEC(s, x) (x) s 94 3rdparty/include/ffmpeg_/libavutil/cpu.h int av_parse_cpu_flags(const char *s); s 101 3rdparty/include/ffmpeg_/libavutil/cpu.h int av_parse_cpu_caps(unsigned *flags, const char *s); s 51 3rdparty/include/ffmpeg_/libavutil/eval.h int av_expr_parse_and_eval(double *res, const char *s, s 74 3rdparty/include/ffmpeg_/libavutil/eval.h int av_expr_parse(AVExpr **expr, const char *s, s 216 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_RN(s, p) (((const union unaligned_##s *) (p))->l) s 217 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_WN(s, p, v) ((((union unaligned_##s *) (p))->l) = (v)) s 221 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_RN(s, p) (*((const __unaligned uint##s##_t*)(p))) s 222 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_WN(s, p, v) (*((__unaligned uint##s##_t*)(p)) = (v)) s 226 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_RN(s, p) (((const av_alias##s*)(p))->u##s) s 227 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_WN(s, p, v) (((av_alias##s*)(p))->u##s = (v)) s 342 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_RN(s, p) AV_RB##s(p) s 343 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_WN(s, p, v) AV_WB##s(p, v) s 345 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_RN(s, p) AV_RL##s(p) s 346 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_WN(s, p, v) AV_WL##s(p, v) s 376 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_RB(s, p) AV_RN##s(p) s 377 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_WB(s, p, v) AV_WN##s(p, v) s 378 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_RL(s, p) av_bswap##s(AV_RN##s(p)) s 379 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_WL(s, p, v) AV_WN##s(p, av_bswap##s(v)) s 381 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_RB(s, p) av_bswap##s(AV_RN##s(p)) s 382 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_WB(s, p, v) AV_WN##s(p, av_bswap##s(v)) s 383 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_RL(s, p) AV_RN##s(p) s 384 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_WL(s, p, v) AV_WN##s(p, v) s 510 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h #define AV_RNA(s, p) (((const av_alias##s*)(p))->u##s) s 511 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h #define AV_WNA(s, p, v) (((av_alias##s*)(p))->u##s = (v)) s 542 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h #define AV_COPYU(n, d, s) AV_WN##n(d, AV_RN##n(s)); s 545 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_COPY16U(d, s) AV_COPYU(16, d, s) s 549 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_COPY32U(d, s) AV_COPYU(32, d, s) s 553 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_COPY64U(d, s) AV_COPYU(64, d, s) s 557 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_COPY128U(d, s) \ s 559 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h AV_COPY64U(d, s); \ s 560 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h AV_COPY64U((char *)(d) + 8, (const char *)(s) + 8); \ s 570 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h #define AV_COPY(n, d, s) \ s 571 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h (((av_alias##n*)(d))->u##n = ((const av_alias##n*)(s))->u##n) s 574 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_COPY16(d, s) AV_COPY(16, d, s) s 578 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_COPY32(d, s) AV_COPY(32, d, s) s 582 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_COPY64(d, s) AV_COPY(64, d, s) s 586 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h # define AV_COPY128(d, s) \ s 588 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h AV_COPY64(d, s); \ s 589 3rdparty/include/ffmpeg_/libavutil/intreadwrite.h AV_COPY64((char*)(d)+8, (char*)(s)+8); \ s 206 3rdparty/include/ffmpeg_/libavutil/mem.h char *av_strdup(const char *s) av_malloc_attrib; s 394 3rdparty/include/ffmpeg_/libavutil/opt.h void av_opt_set_defaults(void *s); s 398 3rdparty/include/ffmpeg_/libavutil/opt.h void av_opt_set_defaults2(void *s, int mask, int flags); s 32 3rdparty/include/ffmpeg_/libavutil/version.h #define AV_STRINGIFY(s) AV_TOSTRING(s) s 33 3rdparty/include/ffmpeg_/libavutil/version.h #define AV_TOSTRING(s) #s s 38 3rdparty/include/ffmpeg_/libavutil/version.h #define AV_PRAGMA(s) _Pragma(#s) s 5029 3rdparty/include/opencl/1.2/CL/cl.hpp for (VECTOR_CLASS< ::size_t>::iterator s = sizes.begin(); s != sizes.end(); ++s) s 5032 3rdparty/include/opencl/1.2/CL/cl.hpp if (*s != 0) s 5033 3rdparty/include/opencl/1.2/CL/cl.hpp ptr = new char[*s]; s 481 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_char CL_ALIGNED(2) s[2]; s 494 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_char CL_ALIGNED(4) s[4]; s 513 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_char CL_ALIGNED(8) s[8]; s 532 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_char CL_ALIGNED(16) s[16]; s 556 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_uchar CL_ALIGNED(2) s[2]; s 569 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_uchar CL_ALIGNED(4) s[4]; s 588 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_uchar CL_ALIGNED(8) s[8]; s 607 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_uchar CL_ALIGNED(16) s[16]; s 631 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_short CL_ALIGNED(4) s[2]; s 644 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_short CL_ALIGNED(8) s[4]; s 663 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_short CL_ALIGNED(16) s[8]; s 682 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_short CL_ALIGNED(32) s[16]; s 706 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_ushort CL_ALIGNED(4) s[2]; s 719 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_ushort CL_ALIGNED(8) s[4]; s 738 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_ushort CL_ALIGNED(16) s[8]; s 757 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_ushort CL_ALIGNED(32) s[16]; s 780 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_int CL_ALIGNED(8) s[2]; s 793 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_int CL_ALIGNED(16) s[4]; s 812 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_int CL_ALIGNED(32) s[8]; s 831 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_int CL_ALIGNED(64) s[16]; s 855 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_uint CL_ALIGNED(8) s[2]; s 868 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_uint CL_ALIGNED(16) s[4]; s 887 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_uint CL_ALIGNED(32) s[8]; s 906 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_uint CL_ALIGNED(64) s[16]; s 929 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_long CL_ALIGNED(16) s[2]; s 942 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_long CL_ALIGNED(32) s[4]; s 961 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_long CL_ALIGNED(64) s[8]; s 980 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_long CL_ALIGNED(128) s[16]; s 1004 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_ulong CL_ALIGNED(16) s[2]; s 1017 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_ulong CL_ALIGNED(32) s[4]; s 1036 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_ulong CL_ALIGNED(64) s[8]; s 1055 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_ulong CL_ALIGNED(128) s[16]; s 1080 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_float CL_ALIGNED(8) s[2]; s 1093 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_float CL_ALIGNED(16) s[4]; s 1112 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_float CL_ALIGNED(32) s[8]; s 1131 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_float CL_ALIGNED(64) s[16]; s 1155 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_double CL_ALIGNED(16) s[2]; s 1168 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_double CL_ALIGNED(32) s[4]; s 1187 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_double CL_ALIGNED(64) s[8]; s 1206 3rdparty/include/opencl/1.2/CL/cl_platform.h cl_double CL_ALIGNED(128) s[16]; s 110 3rdparty/libjasper/jas_getopt.c char *s; s 116 3rdparty/libjasper/jas_getopt.c s = cp = argv[jas_optind]; s 129 3rdparty/libjasper/jas_getopt.c jas_eprintf("unknown long option %s\n", s); s 140 3rdparty/libjasper/jas_getopt.c jas_eprintf("unknown short option %s\n", s); s 151 3rdparty/libjasper/jas_getopt.c jas_eprintf("missing argument for option %s\n", s); s 196 3rdparty/libjasper/jas_seq.c void jas_seq2d_bindsub(jas_matrix_t *s, jas_matrix_t *s1, int xstart, int ystart, s 199 3rdparty/libjasper/jas_seq.c jas_matrix_bindsub(s, s1, ystart - s1->ystart_, xstart - s1->xstart_, s 98 3rdparty/libjasper/jas_stream.c static int jas_strtoopenmode(const char *s); s 571 3rdparty/libjasper/jas_stream.c int jas_stream_puts(jas_stream_t *stream, const char *s) s 573 3rdparty/libjasper/jas_stream.c while (*s != '\0') { s 574 3rdparty/libjasper/jas_stream.c if (jas_stream_putc_macro(stream, *s) == EOF) { s 577 3rdparty/libjasper/jas_stream.c ++s; s 852 3rdparty/libjasper/jas_stream.c static int jas_strtoopenmode(const char *s) s 855 3rdparty/libjasper/jas_stream.c while (*s != '\0') { s 856 3rdparty/libjasper/jas_stream.c switch (*s) { s 875 3rdparty/libjasper/jas_stream.c ++s; s 86 3rdparty/libjasper/jas_string.c char *jas_strdup(const char *s) s 90 3rdparty/libjasper/jas_string.c n = strlen(s) + 1; s 94 3rdparty/libjasper/jas_string.c strcpy(p, s); s 93 3rdparty/libjasper/jas_tvp.c jas_tvparser_t *jas_tvparser_create(const char *s) s 99 3rdparty/libjasper/jas_tvp.c if (!(tvp->buf = jas_strdup(s))) { s 465 3rdparty/libjasper/jasper/jas_image.h int jas_image_strtofmt(char *s); s 247 3rdparty/libjasper/jasper/jas_seq.h #define jas_seq2d_destroy(s) \ s 248 3rdparty/libjasper/jasper/jas_seq.h jas_matrix_destroy(s) s 250 3rdparty/libjasper/jasper/jas_seq.h #define jas_seq2d_xstart(s) \ s 251 3rdparty/libjasper/jasper/jas_seq.h ((s)->xstart_) s 252 3rdparty/libjasper/jasper/jas_seq.h #define jas_seq2d_ystart(s) \ s 253 3rdparty/libjasper/jasper/jas_seq.h ((s)->ystart_) s 254 3rdparty/libjasper/jasper/jas_seq.h #define jas_seq2d_xend(s) \ s 255 3rdparty/libjasper/jasper/jas_seq.h ((s)->xend_) s 256 3rdparty/libjasper/jasper/jas_seq.h #define jas_seq2d_yend(s) \ s 257 3rdparty/libjasper/jasper/jas_seq.h ((s)->yend_) s 258 3rdparty/libjasper/jasper/jas_seq.h #define jas_seq2d_getref(s, x, y) \ s 259 3rdparty/libjasper/jasper/jas_seq.h (jas_matrix_getref(s, (y) - (s)->ystart_, (x) - (s)->xstart_)) s 260 3rdparty/libjasper/jasper/jas_seq.h #define jas_seq2d_get(s, x, y) \ s 261 3rdparty/libjasper/jasper/jas_seq.h (jas_matrix_get(s, (y) - (s)->ystart_, (x) - (s)->xstart_)) s 262 3rdparty/libjasper/jasper/jas_seq.h #define jas_seq2d_rowstep(s) \ s 263 3rdparty/libjasper/jasper/jas_seq.h jas_matrix_rowstep(s) s 264 3rdparty/libjasper/jasper/jas_seq.h #define jas_seq2d_width(s) \ s 265 3rdparty/libjasper/jasper/jas_seq.h ((s)->xend_ - (s)->xstart_) s 266 3rdparty/libjasper/jasper/jas_seq.h #define jas_seq2d_height(s) \ s 267 3rdparty/libjasper/jasper/jas_seq.h ((s)->yend_ - (s)->ystart_) s 268 3rdparty/libjasper/jasper/jas_seq.h #define jas_seq2d_setshift(s, x, y) \ s 269 3rdparty/libjasper/jasper/jas_seq.h ((s)->xstart_ = (x), (s)->ystart_ = (y), \ s 270 3rdparty/libjasper/jasper/jas_seq.h (s)->xend_ = (s)->xstart_ + (s)->numcols_, \ s 271 3rdparty/libjasper/jasper/jas_seq.h (s)->yend_ = (s)->ystart_ + (s)->numrows_) s 273 3rdparty/libjasper/jasper/jas_seq.h void jas_seq2d_bindsub(jas_matrix_t *s, jas_matrix_t *s1, int xstart, s 371 3rdparty/libjasper/jasper/jas_stream.h int jas_stream_puts(jas_stream_t *stream, const char *s); s 133 3rdparty/libjasper/jasper/jas_tvp.h jas_tvparser_t *jas_tvparser_create(const char *s); s 105 3rdparty/libjasper/jp2_cod.c static int jp2_getint(jas_stream_t *in, int s, int n, int_fast32_t *val); s 937 3rdparty/libjasper/jp2_cod.c static int jp2_getint(jas_stream_t *in, int s, int n, int_fast32_t *val) s 954 3rdparty/libjasper/jp2_cod.c if (s) { s 88 3rdparty/libjasper/jp2_cod.h #define JP2_SPTOBPC(s, p) \ s 89 3rdparty/libjasper/jp2_cod.h ((((p) - 1) & 0x7f) | (((s) & 1) << 7)) s 140 3rdparty/libjasper/jpc_enc.c int ratestrtosize(char *s, uint_fast32_t rawsize, uint_fast32_t *size); s 782 3rdparty/libjasper/jpc_enc.c int ratestrtosize(char *s, uint_fast32_t rawsize, uint_fast32_t *size) s 788 3rdparty/libjasper/jpc_enc.c if ((cp = strchr(s, 'B'))) { s 789 3rdparty/libjasper/jpc_enc.c *size = atoi(s); s 791 3rdparty/libjasper/jpc_enc.c f = atof(s); s 240 3rdparty/libjasper/jpc_t1cod.h #define JPC_UPDATEFLAGS4(fp, rowstep, s, vcausalflag) \ s 247 3rdparty/libjasper/jpc_t1cod.h if (s) { \ s 261 3rdparty/libjasper/jpc_t1cod.h if (s) { \ s 91 3rdparty/libjasper/jpc_util.c int jpc_atoaf(char *s, int *numvalues, double **values) s 99 3rdparty/libjasper/jpc_util.c strncpy(buf, s, sizeof(buf)); s 116 3rdparty/libjasper/jpc_util.c strncpy(buf, s, sizeof(buf)); s 156 3rdparty/libjasper/jpc_util.c jpc_fix_t s; s 159 3rdparty/libjasper/jpc_util.c s = jpc_inttofix(0); s 161 3rdparty/libjasper/jpc_util.c s = jpc_fix_add(s, jpc_fix_mul(jas_seq_get(x, i), jas_seq_get(x, i))); s 164 3rdparty/libjasper/jpc_util.c return jpc_dbltofix(sqrt(jpc_fixtodbl(s))); s 173 3rdparty/libjasper/jpc_util.c jpc_fix_t s; s 180 3rdparty/libjasper/jpc_util.c s = jpc_inttofix(0); s 188 3rdparty/libjasper/jpc_util.c s = jpc_fix_add(s, jpc_fix_mul(jas_seq_get(y, j), v)); s 190 3rdparty/libjasper/jpc_util.c *jas_seq_getref(z, i) = s; s 66 3rdparty/libjasper/jpc_util.h int jpc_atoaf(char *s, int *numvalues, double **values); s 573 3rdparty/libjpeg/jdhuff.c #define HUFF_EXTEND(x,s) ((x) < (1<<((s)-1)) ? (x) - ((1<<(s))-1) : (x)) s 578 3rdparty/libjpeg/jdhuff.c #define HUFF_EXTEND(x,s) ((x) <= bmask[(s) - 1] ? (x) - bmask[s] : (x)) s 699 3rdparty/libjpeg/jdhuff.c register int s, r; s 734 3rdparty/libjpeg/jdhuff.c HUFF_DECODE(s, br_state, tbl, return FALSE, label1); s 735 3rdparty/libjpeg/jdhuff.c if (s) { s 736 3rdparty/libjpeg/jdhuff.c CHECK_BIT_BUFFER(br_state, s, return FALSE); s 737 3rdparty/libjpeg/jdhuff.c r = GET_BITS(s); s 738 3rdparty/libjpeg/jdhuff.c s = HUFF_EXTEND(r, s); s 742 3rdparty/libjpeg/jdhuff.c s += state.last_dc_val[ci]; s 743 3rdparty/libjpeg/jdhuff.c state.last_dc_val[ci] = s; s 745 3rdparty/libjpeg/jdhuff.c (*block)[0] = (JCOEF) (s << Al); s 769 3rdparty/libjpeg/jdhuff.c register int s, k, r; s 808 3rdparty/libjpeg/jdhuff.c HUFF_DECODE(s, br_state, tbl, return FALSE, label2); s 809 3rdparty/libjpeg/jdhuff.c r = s >> 4; s 810 3rdparty/libjpeg/jdhuff.c s &= 15; s 811 3rdparty/libjpeg/jdhuff.c if (s) { s 813 3rdparty/libjpeg/jdhuff.c CHECK_BIT_BUFFER(br_state, s, return FALSE); s 814 3rdparty/libjpeg/jdhuff.c r = GET_BITS(s); s 815 3rdparty/libjpeg/jdhuff.c s = HUFF_EXTEND(r, s); s 817 3rdparty/libjpeg/jdhuff.c (*block)[natural_order[k]] = (JCOEF) (s << Al); s 906 3rdparty/libjpeg/jdhuff.c register int s, k, r; s 954 3rdparty/libjpeg/jdhuff.c HUFF_DECODE(s, br_state, tbl, goto undoit, label3); s 955 3rdparty/libjpeg/jdhuff.c r = s >> 4; s 956 3rdparty/libjpeg/jdhuff.c s &= 15; s 957 3rdparty/libjpeg/jdhuff.c if (s) { s 958 3rdparty/libjpeg/jdhuff.c if (s != 1) /* size of new coef should always be 1 */ s 962 3rdparty/libjpeg/jdhuff.c s = p1; /* newly nonzero coef is positive */ s 964 3rdparty/libjpeg/jdhuff.c s = m1; /* newly nonzero coef is negative */ s 999 3rdparty/libjpeg/jdhuff.c if (s) { s 1002 3rdparty/libjpeg/jdhuff.c (*block)[pos] = (JCOEF) s; s 1092 3rdparty/libjpeg/jdhuff.c register int s, k, r; s 1099 3rdparty/libjpeg/jdhuff.c HUFF_DECODE(s, br_state, htbl, return FALSE, label1); s 1106 3rdparty/libjpeg/jdhuff.c if (s) { s 1107 3rdparty/libjpeg/jdhuff.c CHECK_BIT_BUFFER(br_state, s, return FALSE); s 1108 3rdparty/libjpeg/jdhuff.c r = GET_BITS(s); s 1109 3rdparty/libjpeg/jdhuff.c s = HUFF_EXTEND(r, s); s 1112 3rdparty/libjpeg/jdhuff.c s += state.last_dc_val[ci]; s 1113 3rdparty/libjpeg/jdhuff.c state.last_dc_val[ci] = s; s 1115 3rdparty/libjpeg/jdhuff.c (*block)[0] = (JCOEF) s; s 1120 3rdparty/libjpeg/jdhuff.c HUFF_DECODE(s, br_state, htbl, return FALSE, label2); s 1122 3rdparty/libjpeg/jdhuff.c r = s >> 4; s 1123 3rdparty/libjpeg/jdhuff.c s &= 15; s 1125 3rdparty/libjpeg/jdhuff.c if (s) { s 1127 3rdparty/libjpeg/jdhuff.c CHECK_BIT_BUFFER(br_state, s, return FALSE); s 1128 3rdparty/libjpeg/jdhuff.c r = GET_BITS(s); s 1129 3rdparty/libjpeg/jdhuff.c s = HUFF_EXTEND(r, s); s 1134 3rdparty/libjpeg/jdhuff.c (*block)[natural_order[k]] = (JCOEF) s; s 1142 3rdparty/libjpeg/jdhuff.c if (s) { s 1143 3rdparty/libjpeg/jdhuff.c CHECK_BIT_BUFFER(br_state, s, return FALSE); s 1144 3rdparty/libjpeg/jdhuff.c DROP_BITS(s); s 1151 3rdparty/libjpeg/jdhuff.c HUFF_DECODE(s, br_state, htbl, return FALSE, label3); s 1153 3rdparty/libjpeg/jdhuff.c r = s >> 4; s 1154 3rdparty/libjpeg/jdhuff.c s &= 15; s 1156 3rdparty/libjpeg/jdhuff.c if (s) { s 1158 3rdparty/libjpeg/jdhuff.c CHECK_BIT_BUFFER(br_state, s, return FALSE); s 1159 3rdparty/libjpeg/jdhuff.c DROP_BITS(s); s 1216 3rdparty/libjpeg/jdhuff.c register int s, k, r; s 1223 3rdparty/libjpeg/jdhuff.c HUFF_DECODE(s, br_state, htbl, return FALSE, label1); s 1230 3rdparty/libjpeg/jdhuff.c if (s) { s 1231 3rdparty/libjpeg/jdhuff.c CHECK_BIT_BUFFER(br_state, s, return FALSE); s 1232 3rdparty/libjpeg/jdhuff.c r = GET_BITS(s); s 1233 3rdparty/libjpeg/jdhuff.c s = HUFF_EXTEND(r, s); s 1236 3rdparty/libjpeg/jdhuff.c s += state.last_dc_val[ci]; s 1237 3rdparty/libjpeg/jdhuff.c state.last_dc_val[ci] = s; s 1239 3rdparty/libjpeg/jdhuff.c (*block)[0] = (JCOEF) s; s 1244 3rdparty/libjpeg/jdhuff.c HUFF_DECODE(s, br_state, htbl, return FALSE, label2); s 1246 3rdparty/libjpeg/jdhuff.c r = s >> 4; s 1247 3rdparty/libjpeg/jdhuff.c s &= 15; s 1249 3rdparty/libjpeg/jdhuff.c if (s) { s 1251 3rdparty/libjpeg/jdhuff.c CHECK_BIT_BUFFER(br_state, s, return FALSE); s 1252 3rdparty/libjpeg/jdhuff.c r = GET_BITS(s); s 1253 3rdparty/libjpeg/jdhuff.c s = HUFF_EXTEND(r, s); s 1258 3rdparty/libjpeg/jdhuff.c (*block)[jpeg_natural_order[k]] = (JCOEF) s; s 1266 3rdparty/libjpeg/jdhuff.c if (s) { s 1267 3rdparty/libjpeg/jdhuff.c CHECK_BIT_BUFFER(br_state, s, return FALSE); s 1268 3rdparty/libjpeg/jdhuff.c DROP_BITS(s); s 1275 3rdparty/libjpeg/jdhuff.c HUFF_DECODE(s, br_state, htbl, return FALSE, label3); s 1277 3rdparty/libjpeg/jdhuff.c r = s >> 4; s 1278 3rdparty/libjpeg/jdhuff.c s &= 15; s 1280 3rdparty/libjpeg/jdhuff.c if (s) { s 1282 3rdparty/libjpeg/jdhuff.c CHECK_BIT_BUFFER(br_state, s, return FALSE); s 1283 3rdparty/libjpeg/jdhuff.c DROP_BITS(s); s 194 3rdparty/libjpeg/jerror.c sprintf(buffer, msgtext, err->msg_parm.s); s 245 3rdparty/libjpeg/jerror.h strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \ s 301 3rdparty/libjpeg/jerror.h strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \ s 715 3rdparty/libjpeg/jpeglib.h char s[JMSG_STR_PARM_MAX]; s 598 3rdparty/libpng/pngpriv.h #define png_float(png_ptr, fixed, s) (.00001 * (fixed)) s 617 3rdparty/libpng/pngpriv.h #define png_fixed(png_ptr, fp, s) ((fp) <= 21474 && (fp) >= -21474 ?\ s 618 3rdparty/libpng/pngpriv.h ((png_fixed_point)(100000 * (fp))) : (png_fixed_error(png_ptr, s),0)) s 638 3rdparty/libpng/pngpriv.h #define PNG_32b(b,s) ((png_uint_32)(b) << (s)) s 668 3rdparty/libpng/pngpriv.h #define PNG_CHUNK_FROM_STRING(s)\ s 669 3rdparty/libpng/pngpriv.h PNG_CHUNK(0xff&(s)[0], 0xff&(s)[1], 0xff&(s)[2], 0xff&(s)[3]) s 675 3rdparty/libpng/pngpriv.h #define PNG_STRING_FROM_CHUNK(s,c)\ s 676 3rdparty/libpng/pngpriv.h (void)(((char*)(s))[0]=(char)((c)>>24), ((char*)(s))[1]=(char)((c)>>16),\ s 677 3rdparty/libpng/pngpriv.h ((char*)(s))[2]=(char)((c)>>8), ((char*)(s))[3]=(char)((c))) s 680 3rdparty/libpng/pngpriv.h #define PNG_CSTRING_FROM_CHUNK(s,c)\ s 681 3rdparty/libpng/pngpriv.h (void)(PNG_STRING_FROM_CHUNK(s,c), ((char*)(s))[4] = 0) s 2893 3rdparty/libpng/pngrutil.c # define PNG_LSR(x,s) ((x)>>((s) & 0x1f)) s 2894 3rdparty/libpng/pngrutil.c # define PNG_LSL(x,s) ((x)<<((s) & 0x1f)) s 2896 3rdparty/libpng/pngrutil.c # define PNG_LSR(x,s) ((x)>>(s)) s 2897 3rdparty/libpng/pngrutil.c # define PNG_LSL(x,s) ((x)<<(s)) s 2910 3rdparty/libpng/pngrutil.c # define PIXEL_MASK(p,x,d,s) \ s 2911 3rdparty/libpng/pngrutil.c (PNG_LSL(((PNG_LSL(1U,(d)))-1),(((x)*(d))^((s)?8-(d):0)))) s 2915 3rdparty/libpng/pngrutil.c # define S_MASKx(p,x,d,s) (S_COPY(p,x)?PIXEL_MASK(p,x,d,s):0) s 2916 3rdparty/libpng/pngrutil.c # define B_MASKx(p,x,d,s) (B_COPY(p,x)?PIXEL_MASK(p,x,d,s):0) s 2924 3rdparty/libpng/pngrutil.c # define S_MASK(p,d,s) MASK_EXPAND(S_MASKx(p,0,d,s) + S_MASKx(p,1,d,s) +\ s 2925 3rdparty/libpng/pngrutil.c S_MASKx(p,2,d,s) + S_MASKx(p,3,d,s) + S_MASKx(p,4,d,s) +\ s 2926 3rdparty/libpng/pngrutil.c S_MASKx(p,5,d,s) + S_MASKx(p,6,d,s) + S_MASKx(p,7,d,s), d) s 2928 3rdparty/libpng/pngrutil.c # define B_MASK(p,d,s) MASK_EXPAND(B_MASKx(p,0,d,s) + B_MASKx(p,1,d,s) +\ s 2929 3rdparty/libpng/pngrutil.c B_MASKx(p,2,d,s) + B_MASKx(p,3,d,s) + B_MASKx(p,4,d,s) +\ s 2930 3rdparty/libpng/pngrutil.c B_MASKx(p,5,d,s) + B_MASKx(p,6,d,s) + B_MASKx(p,7,d,s), d) s 2938 3rdparty/libpng/pngrutil.c # define S_MASKS(d,s) { S_MASK(0,d,s), S_MASK(1,d,s), S_MASK(2,d,s),\ s 2939 3rdparty/libpng/pngrutil.c S_MASK(3,d,s), S_MASK(4,d,s), S_MASK(5,d,s) } s 2941 3rdparty/libpng/pngrutil.c # define B_MASKS(d,s) { B_MASK(1,d,s), S_MASK(3,d,s), S_MASK(5,d,s) } s 52 3rdparty/libtiff/tif_compress.c _TIFFNoRowEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) s 54 3rdparty/libtiff/tif_compress.c (void) pp; (void) cc; (void) s; s 59 3rdparty/libtiff/tif_compress.c _TIFFNoStripEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) s 61 3rdparty/libtiff/tif_compress.c (void) pp; (void) cc; (void) s; s 66 3rdparty/libtiff/tif_compress.c _TIFFNoTileEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) s 68 3rdparty/libtiff/tif_compress.c (void) pp; (void) cc; (void) s; s 96 3rdparty/libtiff/tif_compress.c _TIFFNoRowDecode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) s 98 3rdparty/libtiff/tif_compress.c (void) pp; (void) cc; (void) s; s 103 3rdparty/libtiff/tif_compress.c _TIFFNoStripDecode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) s 105 3rdparty/libtiff/tif_compress.c (void) pp; (void) cc; (void) s; s 110 3rdparty/libtiff/tif_compress.c _TIFFNoTileDecode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) s 112 3rdparty/libtiff/tif_compress.c (void) pp; (void) cc; (void) s; s 126 3rdparty/libtiff/tif_compress.c _TIFFNoPreCode(TIFF* tif, uint16 s) s 128 3rdparty/libtiff/tif_compress.c (void) tif; (void) s; s 130 3rdparty/libtiff/tif_dir.c checkInkNamesString(TIFF* tif, uint32 slen, const char* s) s 136 3rdparty/libtiff/tif_dir.c const char* ep = s+slen; s 137 3rdparty/libtiff/tif_dir.c const char* cp = s; s 144 3rdparty/libtiff/tif_dir.c return ((uint32)(cp-s)); s 163 3rdparty/libtiff/tif_dir.c char* s; s 424 3rdparty/libtiff/tif_dir.c s = va_arg(ap, char*); s 425 3rdparty/libtiff/tif_dir.c v = checkInkNamesString(tif, v, s); s 428 3rdparty/libtiff/tif_dir.c _TIFFsetNString(&td->td_inknames, s, v); s 174 3rdparty/libtiff/tif_dirread.c uint16 s[4]; s 45 3rdparty/libtiff/tif_dumpmode.c DumpModeEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) s 47 3rdparty/libtiff/tif_dumpmode.c (void) s; s 78 3rdparty/libtiff/tif_dumpmode.c DumpModeDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) s 81 3rdparty/libtiff/tif_dumpmode.c (void) s; s 147 3rdparty/libtiff/tif_fax3.c Fax3PreDecode(TIFF* tif, uint16 s) s 151 3rdparty/libtiff/tif_fax3.c (void) s; s 227 3rdparty/libtiff/tif_fax3.c Fax3Decode1D(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) s 230 3rdparty/libtiff/tif_fax3.c (void) s; s 270 3rdparty/libtiff/tif_fax3.c Fax3Decode2D(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) s 274 3rdparty/libtiff/tif_fax3.c (void) s; s 717 3rdparty/libtiff/tif_fax3.c Fax3PreEncode(TIFF* tif, uint16 s) s 721 3rdparty/libtiff/tif_fax3.c (void) s; s 1038 3rdparty/libtiff/tif_fax3.c Fax3Encode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) s 1042 3rdparty/libtiff/tif_fax3.c (void) s; s 1381 3rdparty/libtiff/tif_fax3.c Fax4Decode(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) s 1384 3rdparty/libtiff/tif_fax3.c (void) s; s 1433 3rdparty/libtiff/tif_fax3.c Fax4Encode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) s 1437 3rdparty/libtiff/tif_fax3.c (void) s; s 1505 3rdparty/libtiff/tif_fax3.c Fax3DecodeRLE(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) s 1509 3rdparty/libtiff/tif_fax3.c (void) s; s 51 3rdparty/libtiff/tif_jbig.c static int JBIGDecode(TIFF* tif, uint8* buffer, tmsize_t size, uint16 s) s 56 3rdparty/libtiff/tif_jbig.c (void) size, (void) s; s 117 3rdparty/libtiff/tif_jbig.c static int JBIGCopyEncodedData(TIFF* tif, unsigned char* pp, size_t cc, uint16 s) s 119 3rdparty/libtiff/tif_jbig.c (void) s; s 157 3rdparty/libtiff/tif_jbig.c static int JBIGEncode(TIFF* tif, uint8* buffer, tmsize_t size, uint16 s) s 162 3rdparty/libtiff/tif_jbig.c (void) size, (void) s; s 182 3rdparty/libtiff/tif_jpeg.c static int JPEGDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s); s 183 3rdparty/libtiff/tif_jpeg.c static int JPEGDecodeRaw(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s); s 184 3rdparty/libtiff/tif_jpeg.c static int JPEGEncode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s); s 185 3rdparty/libtiff/tif_jpeg.c static int JPEGEncodeRaw(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s); s 187 3rdparty/libtiff/tif_jpeg.c static int DecodeRowError(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s); s 996 3rdparty/libtiff/tif_jpeg.c JPEGPreDecode(TIFF* tif, uint16 s) s 1043 3rdparty/libtiff/tif_jpeg.c if (td->td_planarconfig == PLANARCONFIG_SEPARATE && s > 0) { s 1169 3rdparty/libtiff/tif_jpeg.c JPEGDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) s 1173 3rdparty/libtiff/tif_jpeg.c (void) s; s 1283 3rdparty/libtiff/tif_jpeg.c DecodeRowError(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) s 1288 3rdparty/libtiff/tif_jpeg.c (void) s; s 1300 3rdparty/libtiff/tif_jpeg.c JPEGDecodeRaw(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) s 1304 3rdparty/libtiff/tif_jpeg.c (void) s; s 1633 3rdparty/libtiff/tif_jpeg.c JPEGPreEncode(TIFF* tif, uint16 s) s 1663 3rdparty/libtiff/tif_jpeg.c if (td->td_planarconfig == PLANARCONFIG_SEPARATE && s > 0) { s 1713 3rdparty/libtiff/tif_jpeg.c sp->cinfo.c.comp_info[0].component_id = s; s 1715 3rdparty/libtiff/tif_jpeg.c if (sp->photometric == PHOTOMETRIC_YCBCR && s > 0) { s 1767 3rdparty/libtiff/tif_jpeg.c JPEGEncode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) s 1775 3rdparty/libtiff/tif_jpeg.c (void) s; s 1838 3rdparty/libtiff/tif_jpeg.c JPEGEncodeRaw(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) s 1850 3rdparty/libtiff/tif_jpeg.c (void) s; s 2115 3rdparty/libtiff/tif_jpeg.c JPEGDefaultStripSize(TIFF* tif, uint32 s) s 2120 3rdparty/libtiff/tif_jpeg.c s = (*sp->defsparent)(tif, s); s 2121 3rdparty/libtiff/tif_jpeg.c if (s < td->td_imagelength) s 2122 3rdparty/libtiff/tif_jpeg.c s = TIFFroundup_32(s, td->td_ycbcrsubsampling[1] * DCTSIZE); s 2123 3rdparty/libtiff/tif_jpeg.c return (s); s 184 3rdparty/libtiff/tif_luv.c LogL16Decode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) s 197 3rdparty/libtiff/tif_luv.c assert(s == 0); s 253 3rdparty/libtiff/tif_luv.c LogLuvDecode24(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) s 263 3rdparty/libtiff/tif_luv.c assert(s == 0); s 306 3rdparty/libtiff/tif_luv.c LogLuvDecode32(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) s 319 3rdparty/libtiff/tif_luv.c assert(s == 0); s 378 3rdparty/libtiff/tif_luv.c LogLuvDecodeStrip(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) s 383 3rdparty/libtiff/tif_luv.c while (cc && (*tif->tif_decoderow)(tif, bp, rowlen, s)) s 394 3rdparty/libtiff/tif_luv.c LogLuvDecodeTile(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) s 399 3rdparty/libtiff/tif_luv.c while (cc && (*tif->tif_decoderow)(tif, bp, rowlen, s)) s 408 3rdparty/libtiff/tif_luv.c LogL16Encode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) s 422 3rdparty/libtiff/tif_luv.c assert(s == 0); s 501 3rdparty/libtiff/tif_luv.c LogLuvEncode24(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) s 510 3rdparty/libtiff/tif_luv.c assert(s == 0); s 548 3rdparty/libtiff/tif_luv.c LogLuvEncode32(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) s 562 3rdparty/libtiff/tif_luv.c assert(s == 0); s 643 3rdparty/libtiff/tif_luv.c LogLuvEncodeStrip(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) s 648 3rdparty/libtiff/tif_luv.c while (cc && (*tif->tif_encoderow)(tif, bp, rowlen, s) == 1) s 658 3rdparty/libtiff/tif_luv.c LogLuvEncodeTile(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) s 663 3rdparty/libtiff/tif_luv.c while (cc && (*tif->tif_encoderow)(tif, bp, rowlen, s) == 1) s 918 3rdparty/libtiff/tif_luv.c double L, u, v, s, x, y; s 930 3rdparty/libtiff/tif_luv.c s = 1./(6.*u - 16.*v + 12.); s 931 3rdparty/libtiff/tif_luv.c x = 9.*u * s; s 932 3rdparty/libtiff/tif_luv.c y = 4.*v * s; s 946 3rdparty/libtiff/tif_luv.c double u, v, s; s 950 3rdparty/libtiff/tif_luv.c s = XYZ[0] + 15.*XYZ[1] + 3.*XYZ[2]; s 951 3rdparty/libtiff/tif_luv.c if (!Le || s <= 0.) { s 955 3rdparty/libtiff/tif_luv.c u = 4.*XYZ[0] / s; s 956 3rdparty/libtiff/tif_luv.c v = 9.*XYZ[1] / s; s 1058 3rdparty/libtiff/tif_luv.c double L, u, v, s, x, y; s 1068 3rdparty/libtiff/tif_luv.c s = 1./(6.*u - 16.*v + 12.); s 1069 3rdparty/libtiff/tif_luv.c x = 9.*u * s; s 1070 3rdparty/libtiff/tif_luv.c y = 4.*v * s; s 1084 3rdparty/libtiff/tif_luv.c double u, v, s; s 1088 3rdparty/libtiff/tif_luv.c s = XYZ[0] + 15.*XYZ[1] + 3.*XYZ[2]; s 1089 3rdparty/libtiff/tif_luv.c if (!Le || s <= 0.) { s 1093 3rdparty/libtiff/tif_luv.c u = 4.*XYZ[0] / s; s 1094 3rdparty/libtiff/tif_luv.c v = 9.*XYZ[1] / s; s 1195 3rdparty/libtiff/tif_luv.c #define PACK(s,b,f) (((b)<<6)|((s)<<3)|(f)) s 66 3rdparty/libtiff/tif_lzma.c static int LZMAEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s); s 67 3rdparty/libtiff/tif_lzma.c static int LZMADecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s); s 130 3rdparty/libtiff/tif_lzma.c LZMAPreDecode(TIFF* tif, uint16 s) s 136 3rdparty/libtiff/tif_lzma.c (void) s; s 165 3rdparty/libtiff/tif_lzma.c LZMADecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) s 170 3rdparty/libtiff/tif_lzma.c (void) s; s 248 3rdparty/libtiff/tif_lzma.c LZMAPreEncode(TIFF* tif, uint16 s) s 253 3rdparty/libtiff/tif_lzma.c (void) s; s 272 3rdparty/libtiff/tif_lzma.c LZMAEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) s 280 3rdparty/libtiff/tif_lzma.c (void) s; s 161 3rdparty/libtiff/tif_lzw.c static int LZWDecode(TIFF* tif, uint8* op0, tmsize_t occ0, uint16 s); s 163 3rdparty/libtiff/tif_lzw.c static int LZWDecodeCompat(TIFF* tif, uint8* op0, tmsize_t occ0, uint16 s); s 261 3rdparty/libtiff/tif_lzw.c LZWPreDecode(TIFF* tif, uint16 s) s 266 3rdparty/libtiff/tif_lzw.c (void) s; s 358 3rdparty/libtiff/tif_lzw.c LZWDecode(TIFF* tif, uint8* op0, tmsize_t occ0, uint16 s) s 371 3rdparty/libtiff/tif_lzw.c (void) s; s 583 3rdparty/libtiff/tif_lzw.c LZWDecodeCompat(TIFF* tif, uint8* op0, tmsize_t occ0, uint16 s) s 595 3rdparty/libtiff/tif_lzw.c (void) s; s 795 3rdparty/libtiff/tif_lzw.c LZWPreEncode(TIFF* tif, uint16 s) s 799 3rdparty/libtiff/tif_lzw.c (void) s; s 860 3rdparty/libtiff/tif_lzw.c LZWEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) s 874 3rdparty/libtiff/tif_lzw.c (void) s; s 49 3rdparty/libtiff/tif_next.c NeXTDecode(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) s 57 3rdparty/libtiff/tif_next.c (void) s; s 345 3rdparty/libtiff/tif_ojpeg.c static int OJPEGPreDecode(TIFF* tif, uint16 s); s 348 3rdparty/libtiff/tif_ojpeg.c static int OJPEGDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s); s 353 3rdparty/libtiff/tif_ojpeg.c static int OJPEGPreEncode(TIFF* tif, uint16 s); s 354 3rdparty/libtiff/tif_ojpeg.c static int OJPEGEncode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s); s 360 3rdparty/libtiff/tif_ojpeg.c static int OJPEGReadSecondarySos(TIFF* tif, uint16 s); s 661 3rdparty/libtiff/tif_ojpeg.c OJPEGPreDecode(TIFF* tif, uint16 s) s 672 3rdparty/libtiff/tif_ojpeg.c if (sp->sos_end[s].log==0) s 674 3rdparty/libtiff/tif_ojpeg.c if (OJPEGReadSecondarySos(tif,s)==0) s 681 3rdparty/libtiff/tif_ojpeg.c if ((sp->writeheader_done!=0) && ((sp->write_cursample!=s) || (sp->write_curstrile>m))) s 689 3rdparty/libtiff/tif_ojpeg.c sp->plane_sample_offset=(uint8)s; s 690 3rdparty/libtiff/tif_ojpeg.c sp->write_cursample=s; s 691 3rdparty/libtiff/tif_ojpeg.c sp->write_curstrile=s*tif->tif_dir.td_stripsperimage; s 693 3rdparty/libtiff/tif_ojpeg.c (sp->in_buffer_file_pos-sp->in_buffer_togo!=sp->sos_end[s].in_buffer_file_pos)) s 695 3rdparty/libtiff/tif_ojpeg.c sp->in_buffer_source=sp->sos_end[s].in_buffer_source; s 696 3rdparty/libtiff/tif_ojpeg.c sp->in_buffer_next_strile=sp->sos_end[s].in_buffer_next_strile; s 697 3rdparty/libtiff/tif_ojpeg.c sp->in_buffer_file_pos=sp->sos_end[s].in_buffer_file_pos; s 699 3rdparty/libtiff/tif_ojpeg.c sp->in_buffer_file_togo=sp->sos_end[s].in_buffer_file_togo; s 780 3rdparty/libtiff/tif_ojpeg.c OJPEGDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) s 783 3rdparty/libtiff/tif_ojpeg.c (void)s; s 901 3rdparty/libtiff/tif_ojpeg.c OJPEGPreEncode(TIFF* tif, uint16 s) s 904 3rdparty/libtiff/tif_ojpeg.c (void)s; s 910 3rdparty/libtiff/tif_ojpeg.c OJPEGEncode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) s 915 3rdparty/libtiff/tif_ojpeg.c (void)s; s 1093 3rdparty/libtiff/tif_ojpeg.c OJPEGReadSecondarySos(TIFF* tif, uint16 s) s 1097 3rdparty/libtiff/tif_ojpeg.c assert(s>0); s 1098 3rdparty/libtiff/tif_ojpeg.c assert(s<3); s 1100 3rdparty/libtiff/tif_ojpeg.c assert(sp->sos_end[s].log==0); s 1101 3rdparty/libtiff/tif_ojpeg.c sp->plane_sample_offset=s-1; s 1111 3rdparty/libtiff/tif_ojpeg.c while(sp->plane_sample_offset<s) s 37 3rdparty/libtiff/tif_packbits.c PackBitsPreEncode(TIFF* tif, uint16 s) s 39 3rdparty/libtiff/tif_packbits.c (void) s; s 65 3rdparty/libtiff/tif_packbits.c PackBitsEncode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) s 75 3rdparty/libtiff/tif_packbits.c (void) s; s 194 3rdparty/libtiff/tif_packbits.c PackBitsEncodeChunk(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) s 204 3rdparty/libtiff/tif_packbits.c if (PackBitsEncode(tif, bp, chunk, s) < 0) s 213 3rdparty/libtiff/tif_packbits.c PackBitsDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) s 221 3rdparty/libtiff/tif_packbits.c (void) s; s 596 3rdparty/libtiff/tif_pixarlog.c static int PixarLogEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s); s 597 3rdparty/libtiff/tif_pixarlog.c static int PixarLogDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s); s 701 3rdparty/libtiff/tif_pixarlog.c PixarLogPreDecode(TIFF* tif, uint16 s) s 706 3rdparty/libtiff/tif_pixarlog.c (void) s; s 723 3rdparty/libtiff/tif_pixarlog.c PixarLogDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) s 755 3rdparty/libtiff/tif_pixarlog.c (void) s; s 897 3rdparty/libtiff/tif_pixarlog.c PixarLogPreEncode(TIFF* tif, uint16 s) s 902 3rdparty/libtiff/tif_pixarlog.c (void) s; s 1085 3rdparty/libtiff/tif_pixarlog.c PixarLogEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) s 1095 3rdparty/libtiff/tif_pixarlog.c (void) s; s 47 3rdparty/libtiff/tif_predict.c static int PredictorDecodeRow(TIFF* tif, uint8* op0, tmsize_t occ0, uint16 s); s 48 3rdparty/libtiff/tif_predict.c static int PredictorDecodeTile(TIFF* tif, uint8* op0, tmsize_t occ0, uint16 s); s 49 3rdparty/libtiff/tif_predict.c static int PredictorEncodeRow(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s); s 50 3rdparty/libtiff/tif_predict.c static int PredictorEncodeTile(TIFF* tif, uint8* bp0, tmsize_t cc0, uint16 s); s 409 3rdparty/libtiff/tif_predict.c PredictorDecodeRow(TIFF* tif, uint8* op0, tmsize_t occ0, uint16 s) s 417 3rdparty/libtiff/tif_predict.c if ((*sp->decoderow)(tif, op0, occ0, s)) { s 432 3rdparty/libtiff/tif_predict.c PredictorDecodeTile(TIFF* tif, uint8* op0, tmsize_t occ0, uint16 s) s 439 3rdparty/libtiff/tif_predict.c if ((*sp->decodetile)(tif, op0, occ0, s)) { s 580 3rdparty/libtiff/tif_predict.c PredictorEncodeRow(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) s 590 3rdparty/libtiff/tif_predict.c return (*sp->encoderow)(tif, bp, cc, s); s 594 3rdparty/libtiff/tif_predict.c PredictorEncodeTile(TIFF* tif, uint8* bp0, tmsize_t cc0, uint16 s) s 630 3rdparty/libtiff/tif_predict.c result_code = (*sp->encodetile)(tif, working_copy, cc0, s); s 653 3rdparty/libtiff/tif_print.c uint32 s; s 658 3rdparty/libtiff/tif_print.c for (s = 0; s < td->td_nstrips; s++) s 661 3rdparty/libtiff/tif_print.c (unsigned long) s, s 662 3rdparty/libtiff/tif_print.c (unsigned __int64) td->td_stripoffset[s], s 663 3rdparty/libtiff/tif_print.c (unsigned __int64) td->td_stripbytecount[s]); s 666 3rdparty/libtiff/tif_print.c (unsigned long) s, s 667 3rdparty/libtiff/tif_print.c (unsigned long long) td->td_stripoffset[s], s 668 3rdparty/libtiff/tif_print.c (unsigned long long) td->td_stripbytecount[s]); s 637 3rdparty/libtiff/tif_read.c TIFFReadTile(TIFF* tif, void* buf, uint32 x, uint32 y, uint32 z, uint16 s) s 639 3rdparty/libtiff/tif_read.c if (!TIFFCheckRead(tif, 1) || !TIFFCheckTile(tif, x, y, z, s)) s 642 3rdparty/libtiff/tif_read.c TIFFComputeTile(tif, x, y, z, s), buf, (tmsize_t)(-1))); s 240 3rdparty/libtiff/tif_strip.c _TIFFDefaultStripSize(TIFF* tif, uint32 s) s 242 3rdparty/libtiff/tif_strip.c if ((int32) s < 1) { s 258 3rdparty/libtiff/tif_strip.c s=(uint32)rows; s 260 3rdparty/libtiff/tif_strip.c return (s); s 168 3rdparty/libtiff/tif_thunder.c ThunderDecodeRow(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) s 173 3rdparty/libtiff/tif_thunder.c (void) s; s 38 3rdparty/libtiff/tif_tile.c TIFFComputeTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s) s 60 3rdparty/libtiff/tif_tile.c tile = (xpt*ypt*zpt)*s + s 75 3rdparty/libtiff/tif_tile.c TIFFCheckTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s) s 101 3rdparty/libtiff/tif_tile.c s >= td->td_samplesperpixel) { s 104 3rdparty/libtiff/tif_tile.c (unsigned long) s, s 258 3rdparty/libtiff/tif_unix.c _TIFFmalloc(tmsize_t s) s 260 3rdparty/libtiff/tif_unix.c return (malloc((size_t) s)); s 270 3rdparty/libtiff/tif_unix.c _TIFFrealloc(void* p, tmsize_t s) s 272 3rdparty/libtiff/tif_unix.c return (realloc(p, (size_t) s)); s 282 3rdparty/libtiff/tif_unix.c _TIFFmemcpy(void* d, const void* s, tmsize_t c) s 284 3rdparty/libtiff/tif_unix.c memcpy(d, s, (size_t) c); s 330 3rdparty/libtiff/tif_win32.c _TIFFmalloc(tmsize_t s) s 332 3rdparty/libtiff/tif_win32.c return (malloc((size_t) s)); s 342 3rdparty/libtiff/tif_win32.c _TIFFrealloc(void* p, tmsize_t s) s 344 3rdparty/libtiff/tif_win32.c return (realloc(p, (size_t) s)); s 354 3rdparty/libtiff/tif_win32.c _TIFFmemcpy(void* d, const void* s, tmsize_t c) s 356 3rdparty/libtiff/tif_win32.c memcpy(d, s, (size_t) c); s 313 3rdparty/libtiff/tif_write.c TIFFWriteTile(TIFF* tif, void* buf, uint32 x, uint32 y, uint32 z, uint16 s) s 315 3rdparty/libtiff/tif_write.c if (!TIFFCheckTile(tif, x, y, z, s)) s 324 3rdparty/libtiff/tif_write.c TIFFComputeTile(tif, x, y, z, s), buf, (tmsize_t)(-1))); s 84 3rdparty/libtiff/tif_zip.c static int ZIPEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s); s 85 3rdparty/libtiff/tif_zip.c static int ZIPDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s); s 121 3rdparty/libtiff/tif_zip.c ZIPPreDecode(TIFF* tif, uint16 s) s 126 3rdparty/libtiff/tif_zip.c (void) s; s 147 3rdparty/libtiff/tif_zip.c ZIPDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) s 152 3rdparty/libtiff/tif_zip.c (void) s; s 226 3rdparty/libtiff/tif_zip.c ZIPPreEncode(TIFF* tif, uint16 s) s 231 3rdparty/libtiff/tif_zip.c (void) s; s 254 3rdparty/libtiff/tif_zip.c ZIPEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) s 262 3rdparty/libtiff/tif_zip.c (void) s; s 295 3rdparty/libtiff/tiffio.h extern void* _TIFFmalloc(tmsize_t s); s 296 3rdparty/libtiff/tiffio.h extern void* _TIFFrealloc(void* p, tmsize_t s); s 298 3rdparty/libtiff/tiffio.h extern void _TIFFmemcpy(void* d, const void* s, tmsize_t c); s 452 3rdparty/libtiff/tiffio.h extern uint32 TIFFComputeTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s); s 453 3rdparty/libtiff/tiffio.h extern int TIFFCheckTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s); s 455 3rdparty/libtiff/tiffio.h extern tmsize_t TIFFReadTile(TIFF* tif, void* buf, uint32 x, uint32 y, uint32 z, uint16 s); s 456 3rdparty/libtiff/tiffio.h extern tmsize_t TIFFWriteTile(TIFF* tif, void* buf, uint32 x, uint32 y, uint32 z, uint16 s); s 265 3rdparty/libtiff/tiffiop.h extern int _TIFFNoRowEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s); s 266 3rdparty/libtiff/tiffiop.h extern int _TIFFNoStripEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s); s 267 3rdparty/libtiff/tiffiop.h extern int _TIFFNoTileEncode(TIFF*, uint8* pp, tmsize_t cc, uint16 s); s 268 3rdparty/libtiff/tiffiop.h extern int _TIFFNoRowDecode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s); s 269 3rdparty/libtiff/tiffiop.h extern int _TIFFNoStripDecode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s); s 270 3rdparty/libtiff/tiffiop.h extern int _TIFFNoTileDecode(TIFF*, uint8* pp, tmsize_t cc, uint16 s); s 272 3rdparty/libtiff/tiffiop.h extern int _TIFFNoPreCode(TIFF* tif, uint16 s); s 284 3rdparty/libtiff/tiffiop.h extern uint32 _TIFFDefaultStripSize(TIFF* tif, uint32 s); s 106 3rdparty/libwebp/dec/frame.c int s; s 108 3rdparty/libwebp/dec/frame.c for (s = 0; s < NUM_MB_SEGMENTS; ++s) { s 113 3rdparty/libwebp/dec/frame.c base_level = dec->segment_hdr_.filter_strength_[s]; s 121 3rdparty/libwebp/dec/frame.c VP8FInfo* const info = &dec->fstrengths_[s][i4x4]; s 159 3rdparty/libwebp/dec/vp8.c int s; s 161 3rdparty/libwebp/dec/vp8.c for (s = 0; s < NUM_MB_SEGMENTS; ++s) { s 162 3rdparty/libwebp/dec/vp8.c hdr->quantizer_[s] = VP8Get(br) ? VP8GetSignedValue(br, 7) : 0; s 164 3rdparty/libwebp/dec/vp8.c for (s = 0; s < NUM_MB_SEGMENTS; ++s) { s 165 3rdparty/libwebp/dec/vp8.c hdr->filter_strength_[s] = VP8Get(br) ? VP8GetSignedValue(br, 6) : 0; s 169 3rdparty/libwebp/dec/vp8.c int s; s 170 3rdparty/libwebp/dec/vp8.c for (s = 0; s < MB_FEATURE_TREE_PROBS; ++s) { s 171 3rdparty/libwebp/dec/vp8.c proba->segments_[s] = VP8Get(br) ? VP8GetValue(br, 8) : 255u; s 28 3rdparty/libwebp/dsp/dec_neon.c #define FLIP_SIGN_BIT2(a, b, s) \ s 29 3rdparty/libwebp/dsp/dec_neon.c "veor " #a "," #a "," #s " \n" \ s 30 3rdparty/libwebp/dsp/dec_neon.c "veor " #b "," #b "," #s " \n" \ s 32 3rdparty/libwebp/dsp/dec_neon.c #define FLIP_SIGN_BIT4(a, b, c, d, s) \ s 33 3rdparty/libwebp/dsp/dec_neon.c FLIP_SIGN_BIT2(a, b, s) \ s 34 3rdparty/libwebp/dsp/dec_neon.c FLIP_SIGN_BIT2(c, d, s) \ s 72 3rdparty/libwebp/dsp/upsampling_sse2.c const __m128i s = _mm_avg_epu8(a, d); /* s = (a + d + 1) / 2 */ \ s 74 3rdparty/libwebp/dsp/upsampling_sse2.c const __m128i st = _mm_xor_si128(s, t); /* st = s^t */ \ s 82 3rdparty/libwebp/dsp/upsampling_sse2.c const __m128i t4 = _mm_avg_epu8(s, t); \ s 87 3rdparty/libwebp/dsp/upsampling_sse2.c GET_M(ad, s, diag2); /* diag2 = (3a + b + c + 3d) / 8 */ \ s 296 3rdparty/libwebp/enc/filter.c double VP8SSIMGetSquaredError(const DistoStats* const s) { s 297 3rdparty/libwebp/enc/filter.c if (s->w > 0.) { s 298 3rdparty/libwebp/enc/filter.c const double iw2 = 1. / (s->w * s->w); s 299 3rdparty/libwebp/enc/filter.c const double sxx = s->xxm * s->w - s->xm * s->xm; s 300 3rdparty/libwebp/enc/filter.c const double syy = s->yym * s->w - s->ym * s->ym; s 301 3rdparty/libwebp/enc/filter.c const double sxy = s->xym * s->w - s->xm * s->ym; s 321 3rdparty/libwebp/enc/filter.c DistoStats s = { .0, .0, .0, .0, .0, .0 }; s 326 3rdparty/libwebp/enc/filter.c VP8SSIMAccumulate(yuv1 + Y_OFF, BPS, yuv2 + Y_OFF, BPS, x, y, 16, 16, &s); s 331 3rdparty/libwebp/enc/filter.c VP8SSIMAccumulate(yuv1 + U_OFF, BPS, yuv2 + U_OFF, BPS, x, y, 8, 8, &s); s 332 3rdparty/libwebp/enc/filter.c VP8SSIMAccumulate(yuv1 + V_OFF, BPS, yuv2 + V_OFF, BPS, x, y, 8, 8, &s); s 335 3rdparty/libwebp/enc/filter.c return VP8SSIMGet(&s); s 343 3rdparty/libwebp/enc/filter.c int s, i; s 347 3rdparty/libwebp/enc/filter.c for (s = 0; s < NUM_MB_SEGMENTS; s++) { s 349 3rdparty/libwebp/enc/filter.c (*it->lf_stats_)[s][i] = 0; s 356 3rdparty/libwebp/enc/filter.c const int s = it->mb_->segment_; s 357 3rdparty/libwebp/enc/filter.c const int level0 = it->enc_->dqm_[s].fstrength_; // TODO: ref_lf_delta[] s 360 3rdparty/libwebp/enc/filter.c const int delta_min = -it->enc_->dqm_[s].quant_; s 361 3rdparty/libwebp/enc/filter.c const int delta_max = it->enc_->dqm_[s].quant_; s 375 3rdparty/libwebp/enc/filter.c (*it->lf_stats_)[s][0] += GetMBSSIM(it->yuv_in_, it->yuv_out_); s 383 3rdparty/libwebp/enc/filter.c (*it->lf_stats_)[s][level] += GetMBSSIM(it->yuv_in_, it->yuv_out2_); s 388 3rdparty/libwebp/enc/filter.c int s; s 394 3rdparty/libwebp/enc/filter.c for (s = 0; s < NUM_MB_SEGMENTS; s++) { s 397 3rdparty/libwebp/enc/filter.c double best_v = 1.00001 * (*it->lf_stats_)[s][0]; s 399 3rdparty/libwebp/enc/filter.c const double v = (*it->lf_stats_)[s][i]; s 405 3rdparty/libwebp/enc/filter.c enc->dqm_[s].fstrength_ = best_level; s 119 3rdparty/libwebp/enc/frame.c proba_t* s = res->stats[n][ctx]; s 121 3rdparty/libwebp/enc/frame.c Record(0, s + 0); s 126 3rdparty/libwebp/enc/frame.c Record(1, s + 0); // order of record doesn't matter s 128 3rdparty/libwebp/enc/frame.c Record(0, s + 1); s 129 3rdparty/libwebp/enc/frame.c s = res->stats[VP8EncBands[n]][0]; s 131 3rdparty/libwebp/enc/frame.c Record(1, s + 1); s 132 3rdparty/libwebp/enc/frame.c if (!Record(2u < (unsigned int)(v + 1), s + 2)) { // v = -1 or 1 s 133 3rdparty/libwebp/enc/frame.c s = res->stats[VP8EncBands[n]][1]; s 137 3rdparty/libwebp/enc/frame.c if (!Record(v > 4, s + 3)) { s 138 3rdparty/libwebp/enc/frame.c if (Record(v != 2, s + 4)) s 139 3rdparty/libwebp/enc/frame.c Record(v == 4, s + 5); s 140 3rdparty/libwebp/enc/frame.c } else if (!Record(v > 10, s + 6)) { s 141 3rdparty/libwebp/enc/frame.c Record(v > 6, s + 7); s 142 3rdparty/libwebp/enc/frame.c } else if (!Record((v >= 3 + (8 << 2)), s + 8)) { s 143 3rdparty/libwebp/enc/frame.c Record((v >= 3 + (8 << 1)), s + 9); s 145 3rdparty/libwebp/enc/frame.c Record((v >= 3 + (8 << 3)), s + 10); s 157 3rdparty/libwebp/enc/frame.c if (pattern & 1) Record(!!(bits & mask), s + 3 + i); s 161 3rdparty/libwebp/enc/frame.c s = res->stats[VP8EncBands[n]][2]; s 164 3rdparty/libwebp/enc/frame.c if (n < 16) Record(0, s + 0); s 839 3rdparty/libwebp/enc/frame.c int i, s; s 841 3rdparty/libwebp/enc/frame.c for (s = 0; s < NUM_MB_SEGMENTS; ++s) { s 842 3rdparty/libwebp/enc/frame.c enc->residual_bytes_[i][s] = (int)((it->bit_count_[s][i] + 7) >> 3); s 446 3rdparty/libwebp/enc/picture.c const int s = IS_YUV_CSP(tmp.colorspace, WEBP_YUV422) ? 2 : 1; s 448 3rdparty/libwebp/enc/picture.c pic->u0, (prev_width + s / 2) / s, prev_height, pic->uv0_stride, s 449 3rdparty/libwebp/enc/picture.c tmp.u0, (width + s / 2) / s, height, tmp.uv0_stride, work, 1); s 451 3rdparty/libwebp/enc/picture.c pic->v0, (prev_width + s / 2) / s, prev_height, pic->uv0_stride, s 452 3rdparty/libwebp/enc/picture.c tmp.v0, (width + s / 2) / s, height, tmp.uv0_stride, work, 1); s 939 3rdparty/libwebp/enc/picture.c const uint8_t* s = src + j * src_stride; s 941 3rdparty/libwebp/enc/picture.c const double sse = (double)(s[i] - value) * (s[i] - value); s 198 3rdparty/libwebp/enc/syntax.c int s; s 203 3rdparty/libwebp/enc/syntax.c for (s = 0; s < NUM_MB_SEGMENTS; ++s) { s 204 3rdparty/libwebp/enc/syntax.c VP8PutSignedValue(bw, enc->dqm_[s].quant_, 7); s 206 3rdparty/libwebp/enc/syntax.c for (s = 0; s < NUM_MB_SEGMENTS; ++s) { s 207 3rdparty/libwebp/enc/syntax.c VP8PutSignedValue(bw, enc->dqm_[s].fstrength_, 6); s 211 3rdparty/libwebp/enc/syntax.c for (s = 0; s < 3; ++s) { s 212 3rdparty/libwebp/enc/syntax.c if (VP8PutBitUniform(bw, (proba->segments_[s] != 255u))) { s 213 3rdparty/libwebp/enc/syntax.c VP8PutValue(bw, proba->segments_[s], 8); s 313 3rdparty/libwebp/enc/tree.c static void PutSegment(VP8BitWriter* const bw, int s, const uint8_t* p) { s 314 3rdparty/libwebp/enc/tree.c if (VP8PutBit(bw, s >= 2, p[0])) p += 1; s 315 3rdparty/libwebp/enc/tree.c VP8PutBit(bw, s & 1, p[1]); s 320 3rdparty/libwebp/enc/webpenc.c int i, s; s 324 3rdparty/libwebp/enc/webpenc.c for (s = 0; s <= 2; ++s) { s 325 3rdparty/libwebp/enc/webpenc.c stats->residual_bytes[s][i] = enc->residual_bytes_[s][i]; s 54 3rdparty/libwebp/utils/bit_writer.c const int s = 8 + bw->nb_bits_; s 55 3rdparty/libwebp/utils/bit_writer.c const int32_t bits = bw->value_ >> s; s 57 3rdparty/libwebp/utils/bit_writer.c bw->value_ -= bits << s; s 82 3rdparty/libwebp/utils/quant_levels.c int s, slot = 0; s 85 3rdparty/libwebp/utils/quant_levels.c for (s = min_s; s <= max_s; ++s) { s 88 3rdparty/libwebp/utils/quant_levels.c 2 * s > inv_q_level[slot] + inv_q_level[slot + 1]) { s 91 3rdparty/libwebp/utils/quant_levels.c if (freq[s] > 0) { s 92 3rdparty/libwebp/utils/quant_levels.c q_sum[slot] += s * freq[s]; s 93 3rdparty/libwebp/utils/quant_levels.c q_count[slot] += freq[s]; s 95 3rdparty/libwebp/utils/quant_levels.c q_level[s] = slot; s 110 3rdparty/libwebp/utils/quant_levels.c for (s = min_s; s <= max_s; ++s) { s 111 3rdparty/libwebp/utils/quant_levels.c const double error = s - inv_q_level[q_level[s]]; s 112 3rdparty/libwebp/utils/quant_levels.c err += freq[s] * error * error; s 127 3rdparty/libwebp/utils/quant_levels.c int s; s 129 3rdparty/libwebp/utils/quant_levels.c for (s = min_s; s <= max_s; ++s) { s 130 3rdparty/libwebp/utils/quant_levels.c const int slot = q_level[s]; s 131 3rdparty/libwebp/utils/quant_levels.c map[s] = (uint8_t)(inv_q_level[slot] + .5); s 98 3rdparty/openexr/Half/half.cpp register int s = (i >> 16) & 0x00008000; s 118 3rdparty/openexr/Half/half.cpp return s; s 154 3rdparty/openexr/Half/half.cpp return s | m; s 165 3rdparty/openexr/Half/half.cpp return s | 0x7c00; s 179 3rdparty/openexr/Half/half.cpp return s | 0x7c00 | m | (m == 0); s 209 3rdparty/openexr/Half/half.cpp return s | 0x7c00; // if this returns, the half becomes an s 216 3rdparty/openexr/Half/half.cpp return s | (e << 10) | (m >> 13); s 527 3rdparty/openexr/Half/half.h unsigned short s = _h & 0x8000; s 561 3rdparty/openexr/Half/half.h h._h = s | e; s 65 3rdparty/openexr/Half/toFloat.cpp int s = (y >> 15) & 0x00000001; s 77 3rdparty/openexr/Half/toFloat.cpp return s << 31; s 103 3rdparty/openexr/Half/toFloat.cpp return (s << 31) | 0x7f800000; s 111 3rdparty/openexr/Half/toFloat.cpp return (s << 31) | 0x7f800000 | (m << 13); s 126 3rdparty/openexr/Half/toFloat.cpp return (s << 31) | (e << 23) | m; s 69 3rdparty/openexr/Iex/IexBaseExc.cpp BaseExc::BaseExc (const char* s) throw () : s 70 3rdparty/openexr/Iex/IexBaseExc.cpp std::string (s? s: ""), s 77 3rdparty/openexr/Iex/IexBaseExc.cpp BaseExc::BaseExc (const std::string &s) throw () : s 78 3rdparty/openexr/Iex/IexBaseExc.cpp std::string (s), s 85 3rdparty/openexr/Iex/IexBaseExc.cpp BaseExc::BaseExc (std::stringstream &s) throw () : s 86 3rdparty/openexr/Iex/IexBaseExc.cpp std::string (s.str()), s 115 3rdparty/openexr/Iex/IexBaseExc.cpp BaseExc::assign (std::stringstream &s) s 117 3rdparty/openexr/Iex/IexBaseExc.cpp std::string::assign (s.str()); s 122 3rdparty/openexr/Iex/IexBaseExc.cpp BaseExc::append (std::stringstream &s) s 124 3rdparty/openexr/Iex/IexBaseExc.cpp std::string::append (s.str()); s 71 3rdparty/openexr/Iex/IexBaseExc.h BaseExc (const char *s = 0) throw(); // std::string (s) s 72 3rdparty/openexr/Iex/IexBaseExc.h BaseExc (const std::string &s) throw(); // std::string (s) s 73 3rdparty/openexr/Iex/IexBaseExc.h BaseExc (std::stringstream &s) throw(); // std::string (s.str()) s 89 3rdparty/openexr/Iex/IexBaseExc.h BaseExc & assign (std::stringstream &s); // assign (s.str()) s 90 3rdparty/openexr/Iex/IexBaseExc.h BaseExc & operator = (std::stringstream &s); s 92 3rdparty/openexr/Iex/IexBaseExc.h BaseExc & append (std::stringstream &s); // append (s.str()) s 93 3rdparty/openexr/Iex/IexBaseExc.h BaseExc & operator += (std::stringstream &s); s 101 3rdparty/openexr/Iex/IexBaseExc.h BaseExc & assign (const char *s); s 102 3rdparty/openexr/Iex/IexBaseExc.h BaseExc & operator = (const char *s); s 104 3rdparty/openexr/Iex/IexBaseExc.h BaseExc & append (const char *s); s 105 3rdparty/openexr/Iex/IexBaseExc.h BaseExc & operator += (const char *s); s 211 3rdparty/openexr/Iex/IexBaseExc.h BaseExc::operator = (std::stringstream &s) s 213 3rdparty/openexr/Iex/IexBaseExc.h return assign (s); s 218 3rdparty/openexr/Iex/IexBaseExc.h BaseExc::operator += (std::stringstream &s) s 220 3rdparty/openexr/Iex/IexBaseExc.h return append (s); s 225 3rdparty/openexr/Iex/IexBaseExc.h BaseExc::assign (const char *s) s 227 3rdparty/openexr/Iex/IexBaseExc.h std::string::assign(s); s 233 3rdparty/openexr/Iex/IexBaseExc.h BaseExc::operator = (const char *s) s 235 3rdparty/openexr/Iex/IexBaseExc.h return assign(s); s 240 3rdparty/openexr/Iex/IexBaseExc.h BaseExc::append (const char *s) s 242 3rdparty/openexr/Iex/IexBaseExc.h std::string::append(s); s 248 3rdparty/openexr/Iex/IexBaseExc.h BaseExc::operator += (const char *s) s 250 3rdparty/openexr/Iex/IexBaseExc.h return append(s); s 61 3rdparty/openexr/Iex/IexMacros.h std::stringstream s; \ s 62 3rdparty/openexr/Iex/IexMacros.h s << text; \ s 63 3rdparty/openexr/Iex/IexMacros.h throw type (s); \ s 94 3rdparty/openexr/Iex/IexMacros.h std::stringstream s; \ s 95 3rdparty/openexr/Iex/IexMacros.h s << text; \ s 96 3rdparty/openexr/Iex/IexMacros.h exc.append (s); \ s 103 3rdparty/openexr/Iex/IexMacros.h std::stringstream s; \ s 104 3rdparty/openexr/Iex/IexMacros.h s << text; \ s 105 3rdparty/openexr/Iex/IexMacros.h exc.assign (s); \ s 123 3rdparty/openexr/Iex/IexMacros.h std::stringstream s; \ s 124 3rdparty/openexr/Iex/IexMacros.h s << text; \ s 125 3rdparty/openexr/Iex/IexMacros.h ::Iex::throwErrnoExc (s.str()); \ s 135 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp convertFromLinear (unsigned short s[16]) s 138 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[i] = expTable[s[i]]; s 143 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp convertToLinear (unsigned short s[16]) s 146 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[i] = logTable[s[i]]; s 173 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp pack (const unsigned short s[16], s 228 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp if ((s[i] & 0x7c00) == 0x7c00) s 230 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp else if (s[i] & 0x8000) s 231 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp t[i] = ~s[i]; s 233 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp t[i] = s[i] | 0x8000; s 368 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp unpack14 (const unsigned char b[14], unsigned short s[16]) s 378 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[ 0] = (b[0] << 8) | b[1]; s 383 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[ 4] = s[ 0] + ((((b[ 2] << 4) | (b[ 3] >> 4)) & 0x3f) << shift) - bias; s 384 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[ 8] = s[ 4] + ((((b[ 3] << 2) | (b[ 4] >> 6)) & 0x3f) << shift) - bias; s 385 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[12] = s[ 8] + ((b[ 4] & 0x3f) << shift) - bias; s 387 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[ 1] = s[ 0] + ((b[ 5] >> 2) << shift) - bias; s 388 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[ 5] = s[ 4] + ((((b[ 5] << 4) | (b[ 6] >> 4)) & 0x3f) << shift) - bias; s 389 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[ 9] = s[ 8] + ((((b[ 6] << 2) | (b[ 7] >> 6)) & 0x3f) << shift) - bias; s 390 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[13] = s[12] + ((b[ 7] & 0x3f) << shift) - bias; s 392 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[ 2] = s[ 1] + ((b[ 8] >> 2) << shift) - bias; s 393 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[ 6] = s[ 5] + ((((b[ 8] << 4) | (b[ 9] >> 4)) & 0x3f) << shift) - bias; s 394 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[10] = s[ 9] + ((((b[ 9] << 2) | (b[10] >> 6)) & 0x3f) << shift) - bias; s 395 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[14] = s[13] + ((b[10] & 0x3f) << shift) - bias; s 397 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[ 3] = s[ 2] + ((b[11] >> 2) << shift) - bias; s 398 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[ 7] = s[ 6] + ((((b[11] << 4) | (b[12] >> 4)) & 0x3f) << shift) - bias; s 399 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[11] = s[10] + ((((b[12] << 2) | (b[13] >> 6)) & 0x3f) << shift) - bias; s 400 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[15] = s[14] + ((b[13] & 0x3f) << shift) - bias; s 404 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp if (s[i] & 0x8000) s 405 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[i] &= 0x7fff; s 407 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[i] = ~s[i]; s 414 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp unpack3 (const unsigned char b[3], unsigned short s[16]) s 424 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[0] = (b[0] << 8) | b[1]; s 426 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp if (s[0] & 0x8000) s 427 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[0] &= 0x7fff; s 429 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[0] = ~s[0]; s 432 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[i] = s[0]; s 816 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp unsigned short s[16]; s 826 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[i + 0] = row0[j]; s 827 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[i + 4] = row1[j]; s 828 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[i + 8] = row2[j]; s 829 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp s[i + 12] = row3[j]; s 834 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp memcpy (&s[ 0], row0, 4 * sizeof (unsigned short)); s 835 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp memcpy (&s[ 4], row1, 4 * sizeof (unsigned short)); s 836 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp memcpy (&s[ 8], row2, 4 * sizeof (unsigned short)); s 837 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp memcpy (&s[12], row3, 4 * sizeof (unsigned short)); s 851 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp convertFromLinear (s); s 853 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp outEnd += pack (s, (unsigned char *) outEnd, s 944 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp unsigned short s[16]; s 951 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp unpack3 ((const unsigned char *)inPtr, s); s 960 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp unpack14 ((const unsigned char *)inPtr, s); s 966 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp convertToLinear (s); s 974 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp memcpy (row0, &s[ 0], n); s 975 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp memcpy (row1, &s[ 4], n); s 976 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp memcpy (row2, &s[ 8], n); s 977 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp memcpy (row3, &s[12], n); s 981 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp memcpy (row0, &s[ 0], n); s 984 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp memcpy (row1, &s[ 4], n); s 987 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp memcpy (row2, &s[ 8], n); s 57 3rdparty/openexr/IlmImf/ImfChannelListAttribute.cpp std::stringstream s; s 58 3rdparty/openexr/IlmImf/ImfChannelListAttribute.cpp s << "Invalid " << what << ": it is more than " << (N - 1) s 60 3rdparty/openexr/IlmImf/ImfChannelListAttribute.cpp throw Iex::InputExc(s); s 131 3rdparty/openexr/IlmImf/ImfCheckedArithmetic.h checkArraySize (T n, size_t s) s 152 3rdparty/openexr/IlmImf/ImfCheckedArithmetic.h if (size_t (n) > std::numeric_limits<size_t>::max() / s) s 156 3rdparty/openexr/IlmImf/ImfHeader.cpp std::stringstream s; s 157 3rdparty/openexr/IlmImf/ImfHeader.cpp s << "Invalid " << what << ": it is more than " << (N - 1) s 159 3rdparty/openexr/IlmImf/ImfHeader.cpp throw Iex::InputExc(s); s 929 3rdparty/openexr/IlmImf/ImfHeader.cpp std::string s = oss.str(); s 930 3rdparty/openexr/IlmImf/ImfHeader.cpp Xdr::write <StreamIO> (os, (int) s.length()); s 935 3rdparty/openexr/IlmImf/ImfHeader.cpp os.write (s.data(), s.length()); s 760 3rdparty/openexr/IlmImf/ImfHuf.cpp int s = in[0]; s 773 3rdparty/openexr/IlmImf/ImfHuf.cpp if (s == in[i] && cs < 255) s 779 3rdparty/openexr/IlmImf/ImfHuf.cpp sendCode (hcode[s], cs, hcode[rlc], c, lc, out); s 783 3rdparty/openexr/IlmImf/ImfHuf.cpp s = in[i]; s 790 3rdparty/openexr/IlmImf/ImfHuf.cpp sendCode (hcode[s], cs, hcode[rlc], c, lc, out); s 830 3rdparty/openexr/IlmImf/ImfHuf.cpp unsigned short s = out[-1]; \ s 833 3rdparty/openexr/IlmImf/ImfHuf.cpp *out++ = s; \ s 139 3rdparty/openexr/IlmImf/ImfInputFile.cpp Slice &s = k.slice(); s 141 3rdparty/openexr/IlmImf/ImfInputFile.cpp switch (s.type) s 145 3rdparty/openexr/IlmImf/ImfInputFile.cpp delete [] (((unsigned int *)s.base) + offset); s 150 3rdparty/openexr/IlmImf/ImfInputFile.cpp delete [] ((half *)s.base + offset); s 155 3rdparty/openexr/IlmImf/ImfInputFile.cpp delete [] (((float *)s.base) + offset); s 472 3rdparty/openexr/IlmImf/ImfInputFile.cpp Slice s = k.slice(); s 474 3rdparty/openexr/IlmImf/ImfInputFile.cpp switch (s.type) s 487 3rdparty/openexr/IlmImf/ImfInputFile.cpp s.fillValue, s 502 3rdparty/openexr/IlmImf/ImfInputFile.cpp s.fillValue, s 517 3rdparty/openexr/IlmImf/ImfInputFile.cpp s.fillValue, s 92 3rdparty/openexr/IlmImf/ImfMisc.cpp numSamples (int s, int a, int b) s 94 3rdparty/openexr/IlmImf/ImfMisc.cpp int a1 = divp (a, s); s 95 3rdparty/openexr/IlmImf/ImfMisc.cpp int b1 = divp (b, s); s 96 3rdparty/openexr/IlmImf/ImfMisc.cpp return b1 - a1 + ((a1 * s < a)? 0: 1); s 70 3rdparty/openexr/IlmImf/ImfMisc.h int numSamples (int s, int a, int b); s 60 3rdparty/openexr/IlmImf/ImfMultiView.cpp size_t s = name.find (c); s 61 3rdparty/openexr/IlmImf/ImfMultiView.cpp string sec = name.substr (0, s); s 83 3rdparty/openexr/IlmImf/ImfMultiView.cpp if (s == name.npos) s 86 3rdparty/openexr/IlmImf/ImfMultiView.cpp name = name.substr (s + 1); s 139 3rdparty/openexr/IlmImf/ImfMultiView.cpp StringVector s = parseString (channel, '.'); s 141 3rdparty/openexr/IlmImf/ImfMultiView.cpp if (s.size() == 0) s 144 3rdparty/openexr/IlmImf/ImfMultiView.cpp if (s.size() == 1) s 163 3rdparty/openexr/IlmImf/ImfMultiView.cpp const string &viewName = s[s.size() - 2]; s 363 3rdparty/openexr/IlmImf/ImfMultiView.cpp StringVector s = parseString (channel, '.'); s 365 3rdparty/openexr/IlmImf/ImfMultiView.cpp if (s.size() == 0) s 368 3rdparty/openexr/IlmImf/ImfMultiView.cpp if (s.size() == 1 && i == 0) s 384 3rdparty/openexr/IlmImf/ImfMultiView.cpp for (int j = 0; j < s.size(); ++j) s 386 3rdparty/openexr/IlmImf/ImfMultiView.cpp if (j < s.size() - 1) s 387 3rdparty/openexr/IlmImf/ImfMultiView.cpp newName += s[j] + "."; s 389 3rdparty/openexr/IlmImf/ImfMultiView.cpp newName += multiView[i] + "." + s[j]; s 106 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp unsigned int s = u.i & 0x80000000; s 157 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp return (s >> 8) | i; s 477 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp float s = saturation (in); s 479 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp if (s > sMean) s 483 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp if (s > sMax) s 485 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp desaturate (in, sMax / s, yw, out); s 309 3rdparty/openexr/IlmImf/ImfRleCompressor.cpp char *s = _outBuffer; s 310 3rdparty/openexr/IlmImf/ImfRleCompressor.cpp char *stop = s + outSize; s 314 3rdparty/openexr/IlmImf/ImfRleCompressor.cpp if (s < stop) s 315 3rdparty/openexr/IlmImf/ImfRleCompressor.cpp *(s++) = *(t1++); s 319 3rdparty/openexr/IlmImf/ImfRleCompressor.cpp if (s < stop) s 320 3rdparty/openexr/IlmImf/ImfRleCompressor.cpp *(s++) = *(t2++); s 112 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp bool f, bool s, s 123 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp skip (s), s 112 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp bool f, bool s, s 123 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp skip (s), s 218 3rdparty/openexr/IlmImf/ImfZipCompressor.cpp char *s = _outBuffer; s 219 3rdparty/openexr/IlmImf/ImfZipCompressor.cpp char *stop = s + outSize; s 223 3rdparty/openexr/IlmImf/ImfZipCompressor.cpp if (s < stop) s 224 3rdparty/openexr/IlmImf/ImfZipCompressor.cpp *(s++) = *(t1++); s 228 3rdparty/openexr/IlmImf/ImfZipCompressor.cpp if (s < stop) s 229 3rdparty/openexr/IlmImf/ImfZipCompressor.cpp *(s++) = *(t2++); s 103 3rdparty/openexr/IlmThread/IlmThreadSemaphore.h void operator = (const Semaphore& s); // not implemented s 104 3rdparty/openexr/IlmThread/IlmThreadSemaphore.h Semaphore (const Semaphore& s); // not implemented s 322 3rdparty/openexr/Imath/ImathBox.h T s = size(); s 326 3rdparty/openexr/Imath/ImathBox.h if (s[i] > s[major]) s 574 3rdparty/openexr/Imath/ImathBox.h Vec2<T> s = size(); s 576 3rdparty/openexr/Imath/ImathBox.h if (s[1] > s[major]) s 834 3rdparty/openexr/Imath/ImathBox.h Vec3<T> s = size(); s 836 3rdparty/openexr/Imath/ImathBox.h if (s[1] > s[major]) s 839 3rdparty/openexr/Imath/ImathBox.h if (s[2] > s[major]) s 259 3rdparty/openexr/Imath/ImathColor.h std::ostream & operator << (std::ostream &s, const Color4<T> &v); s 716 3rdparty/openexr/Imath/ImathColor.h operator << (std::ostream &s, const Color4<T> &v) s 718 3rdparty/openexr/Imath/ImathColor.h return s << '(' << v.r << ' ' << v.g << ' ' << v.b << ' ' << v.a << ')'; s 462 3rdparty/openexr/Imath/ImathFrustum.h Vec2<T> Frustum<T>::screenToLocal(const Vec2<T> &s) const s 464 3rdparty/openexr/Imath/ImathFrustum.h return Vec2<T>( _left + (_right-_left) * (1.f+s.x) / 2.f, s 465 3rdparty/openexr/Imath/ImathFrustum.h _bottom + (_top-_bottom) * (1.f+s.y) / 2.f ); s 692 3rdparty/openexr/Imath/ImathFrustum.h double s = _farPlane / double(_nearPlane); s 693 3rdparty/openexr/Imath/ImathFrustum.h T farLeft = (T) (s * _left); s 694 3rdparty/openexr/Imath/ImathFrustum.h T farRight = (T) (s * _right); s 695 3rdparty/openexr/Imath/ImathFrustum.h T farTop = (T) (s * _top); s 696 3rdparty/openexr/Imath/ImathFrustum.h T farBottom = (T) (s * _bottom); s 316 3rdparty/openexr/Imath/ImathMatrix.h const Matrix33 & setScale (T s); s 324 3rdparty/openexr/Imath/ImathMatrix.h const Matrix33 & setScale (const Vec2<S> &s); s 332 3rdparty/openexr/Imath/ImathMatrix.h const Matrix33 & scale (const Vec2<S> &s); s 698 3rdparty/openexr/Imath/ImathMatrix.h const Matrix44 & setScale (T s); s 706 3rdparty/openexr/Imath/ImathMatrix.h const Matrix44 & setScale (const Vec3<S> &s); s 714 3rdparty/openexr/Imath/ImathMatrix.h const Matrix44 & scale (const Vec3<S> &s); s 832 3rdparty/openexr/Imath/ImathMatrix.h std::ostream & operator << (std::ostream & s, const Matrix33<T> &m); s 835 3rdparty/openexr/Imath/ImathMatrix.h std::ostream & operator << (std::ostream & s, const Matrix44<T> &m); s 1443 3rdparty/openexr/Imath/ImathMatrix.h Matrix33 s; s 1489 3rdparty/openexr/Imath/ImathMatrix.h tmp = s[i][j]; s 1490 3rdparty/openexr/Imath/ImathMatrix.h s[i][j] = s[pivot][j]; s 1491 3rdparty/openexr/Imath/ImathMatrix.h s[pivot][j] = tmp; s 1502 3rdparty/openexr/Imath/ImathMatrix.h s[j][k] -= f * s[i][k]; s 1524 3rdparty/openexr/Imath/ImathMatrix.h s[i][j] /= f; s 1534 3rdparty/openexr/Imath/ImathMatrix.h s[j][k] -= f * s[i][k]; s 1539 3rdparty/openexr/Imath/ImathMatrix.h return s; s 1556 3rdparty/openexr/Imath/ImathMatrix.h Matrix33 s (x[1][1] * x[2][2] - x[2][1] * x[1][2], s 1568 3rdparty/openexr/Imath/ImathMatrix.h T r = x[0][0] * s[0][0] + x[0][1] * s[1][0] + x[0][2] * s[2][0]; s 1576 3rdparty/openexr/Imath/ImathMatrix.h s[i][j] /= r; s 1588 3rdparty/openexr/Imath/ImathMatrix.h if (mr > Imath::abs (s[i][j])) s 1590 3rdparty/openexr/Imath/ImathMatrix.h s[i][j] /= r; s 1603 3rdparty/openexr/Imath/ImathMatrix.h return s; s 1607 3rdparty/openexr/Imath/ImathMatrix.h Matrix33 s ( x[1][1], s 1627 3rdparty/openexr/Imath/ImathMatrix.h s[i][j] /= r; s 1639 3rdparty/openexr/Imath/ImathMatrix.h if (mr > Imath::abs (s[i][j])) s 1641 3rdparty/openexr/Imath/ImathMatrix.h s[i][j] /= r; s 1654 3rdparty/openexr/Imath/ImathMatrix.h s[2][0] = -x[2][0] * s[0][0] - x[2][1] * s[1][0]; s 1655 3rdparty/openexr/Imath/ImathMatrix.h s[2][1] = -x[2][0] * s[0][1] - x[2][1] * s[1][1]; s 1657 3rdparty/openexr/Imath/ImathMatrix.h return s; s 1726 3rdparty/openexr/Imath/ImathMatrix.h Matrix33<T>::setScale (T s) s 1729 3rdparty/openexr/Imath/ImathMatrix.h x[0][0] = s; s 1730 3rdparty/openexr/Imath/ImathMatrix.h x[1][1] = s; s 1739 3rdparty/openexr/Imath/ImathMatrix.h Matrix33<T>::setScale (const Vec2<S> &s) s 1742 3rdparty/openexr/Imath/ImathMatrix.h x[0][0] = s[0]; s 1743 3rdparty/openexr/Imath/ImathMatrix.h x[1][1] = s[1]; s 1752 3rdparty/openexr/Imath/ImathMatrix.h Matrix33<T>::scale (const Vec2<S> &s) s 1754 3rdparty/openexr/Imath/ImathMatrix.h x[0][0] *= s[0]; s 1755 3rdparty/openexr/Imath/ImathMatrix.h x[0][1] *= s[0]; s 1756 3rdparty/openexr/Imath/ImathMatrix.h x[0][2] *= s[0]; s 1758 3rdparty/openexr/Imath/ImathMatrix.h x[1][0] *= s[1]; s 1759 3rdparty/openexr/Imath/ImathMatrix.h x[1][1] *= s[1]; s 1760 3rdparty/openexr/Imath/ImathMatrix.h x[1][2] *= s[1]; s 2712 3rdparty/openexr/Imath/ImathMatrix.h Matrix44 s; s 2758 3rdparty/openexr/Imath/ImathMatrix.h tmp = s[i][j]; s 2759 3rdparty/openexr/Imath/ImathMatrix.h s[i][j] = s[pivot][j]; s 2760 3rdparty/openexr/Imath/ImathMatrix.h s[pivot][j] = tmp; s 2771 3rdparty/openexr/Imath/ImathMatrix.h s[j][k] -= f * s[i][k]; s 2793 3rdparty/openexr/Imath/ImathMatrix.h s[i][j] /= f; s 2803 3rdparty/openexr/Imath/ImathMatrix.h s[j][k] -= f * s[i][k]; s 2808 3rdparty/openexr/Imath/ImathMatrix.h return s; s 2826 3rdparty/openexr/Imath/ImathMatrix.h Matrix44 s (x[1][1] * x[2][2] - x[2][1] * x[1][2], s 2846 3rdparty/openexr/Imath/ImathMatrix.h T r = x[0][0] * s[0][0] + x[0][1] * s[1][0] + x[0][2] * s[2][0]; s 2854 3rdparty/openexr/Imath/ImathMatrix.h s[i][j] /= r; s 2866 3rdparty/openexr/Imath/ImathMatrix.h if (mr > Imath::abs (s[i][j])) s 2868 3rdparty/openexr/Imath/ImathMatrix.h s[i][j] /= r; s 2881 3rdparty/openexr/Imath/ImathMatrix.h s[3][0] = -x[3][0] * s[0][0] - x[3][1] * s[1][0] - x[3][2] * s[2][0]; s 2882 3rdparty/openexr/Imath/ImathMatrix.h s[3][1] = -x[3][0] * s[0][1] - x[3][1] * s[1][1] - x[3][2] * s[2][1]; s 2883 3rdparty/openexr/Imath/ImathMatrix.h s[3][2] = -x[3][0] * s[0][2] - x[3][1] * s[1][2] - x[3][2] * s[2][2]; s 2885 3rdparty/openexr/Imath/ImathMatrix.h return s; s 3050 3rdparty/openexr/Imath/ImathMatrix.h Matrix44<T>::setScale (T s) s 3053 3rdparty/openexr/Imath/ImathMatrix.h x[0][0] = s; s 3054 3rdparty/openexr/Imath/ImathMatrix.h x[1][1] = s; s 3055 3rdparty/openexr/Imath/ImathMatrix.h x[2][2] = s; s 3064 3rdparty/openexr/Imath/ImathMatrix.h Matrix44<T>::setScale (const Vec3<S> &s) s 3067 3rdparty/openexr/Imath/ImathMatrix.h x[0][0] = s[0]; s 3068 3rdparty/openexr/Imath/ImathMatrix.h x[1][1] = s[1]; s 3069 3rdparty/openexr/Imath/ImathMatrix.h x[2][2] = s[2]; s 3078 3rdparty/openexr/Imath/ImathMatrix.h Matrix44<T>::scale (const Vec3<S> &s) s 3080 3rdparty/openexr/Imath/ImathMatrix.h x[0][0] *= s[0]; s 3081 3rdparty/openexr/Imath/ImathMatrix.h x[0][1] *= s[0]; s 3082 3rdparty/openexr/Imath/ImathMatrix.h x[0][2] *= s[0]; s 3083 3rdparty/openexr/Imath/ImathMatrix.h x[0][3] *= s[0]; s 3085 3rdparty/openexr/Imath/ImathMatrix.h x[1][0] *= s[1]; s 3086 3rdparty/openexr/Imath/ImathMatrix.h x[1][1] *= s[1]; s 3087 3rdparty/openexr/Imath/ImathMatrix.h x[1][2] *= s[1]; s 3088 3rdparty/openexr/Imath/ImathMatrix.h x[1][3] *= s[1]; s 3090 3rdparty/openexr/Imath/ImathMatrix.h x[2][0] *= s[2]; s 3091 3rdparty/openexr/Imath/ImathMatrix.h x[2][1] *= s[2]; s 3092 3rdparty/openexr/Imath/ImathMatrix.h x[2][2] *= s[2]; s 3093 3rdparty/openexr/Imath/ImathMatrix.h x[2][3] *= s[2]; s 3246 3rdparty/openexr/Imath/ImathMatrix.h operator << (std::ostream &s, const Matrix33<T> &m) s 3248 3rdparty/openexr/Imath/ImathMatrix.h std::ios_base::fmtflags oldFlags = s.flags(); s 3251 3rdparty/openexr/Imath/ImathMatrix.h if (s.flags() & std::ios_base::fixed) s 3253 3rdparty/openexr/Imath/ImathMatrix.h s.setf (std::ios_base::showpoint); s 3254 3rdparty/openexr/Imath/ImathMatrix.h width = s.precision() + 5; s 3258 3rdparty/openexr/Imath/ImathMatrix.h s.setf (std::ios_base::scientific); s 3259 3rdparty/openexr/Imath/ImathMatrix.h s.setf (std::ios_base::showpoint); s 3260 3rdparty/openexr/Imath/ImathMatrix.h width = s.precision() + 8; s 3263 3rdparty/openexr/Imath/ImathMatrix.h s << "(" << std::setw (width) << m[0][0] << s 3275 3rdparty/openexr/Imath/ImathMatrix.h s.flags (oldFlags); s 3276 3rdparty/openexr/Imath/ImathMatrix.h return s; s 3281 3rdparty/openexr/Imath/ImathMatrix.h operator << (std::ostream &s, const Matrix44<T> &m) s 3283 3rdparty/openexr/Imath/ImathMatrix.h std::ios_base::fmtflags oldFlags = s.flags(); s 3286 3rdparty/openexr/Imath/ImathMatrix.h if (s.flags() & std::ios_base::fixed) s 3288 3rdparty/openexr/Imath/ImathMatrix.h s.setf (std::ios_base::showpoint); s 3289 3rdparty/openexr/Imath/ImathMatrix.h width = s.precision() + 5; s 3293 3rdparty/openexr/Imath/ImathMatrix.h s.setf (std::ios_base::scientific); s 3294 3rdparty/openexr/Imath/ImathMatrix.h s.setf (std::ios_base::showpoint); s 3295 3rdparty/openexr/Imath/ImathMatrix.h width = s.precision() + 8; s 3298 3rdparty/openexr/Imath/ImathMatrix.h s << "(" << std::setw (width) << m[0][0] << s 3318 3rdparty/openexr/Imath/ImathMatrix.h s.flags (oldFlags); s 3319 3rdparty/openexr/Imath/ImathMatrix.h return s; s 175 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp double s = 1.0; s 214 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp s = traceBATQ.get() / traceATA.get(); s 236 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const V3d translate = Bcenter - s*Acenter*Qt; s 238 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp return M44d (s*Qt.x[0][0], s*Qt.x[0][1], s*Qt.x[0][2], T(0), s 239 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp s*Qt.x[1][0], s*Qt.x[1][1], s*Qt.x[1][2], T(0), s 240 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp s*Qt.x[2][0], s*Qt.x[2][1], s*Qt.x[2][2], T(0), s 274 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T s) s 280 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp A[i][j] = c * tau1 - s * tau2; s 281 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp A[i][k] = s * tau1 + c * tau2; s 291 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T s) s 297 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp A[i][j] = c * tau1 - s * tau2; s 298 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp A[i][k] = s * tau1 + c * tau2; s 342 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp T c, s; s 346 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp s = T(0); // of rho if mu_1 = mu_2 = 0. s 356 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp s = T(1) / std::sqrt (T(1) + rho*rho); // TODO is there a native inverse square root function? s 358 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp s = -s; s 359 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp c = s * rho; s 361 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp mu_1 = s * (x + y) + c * (z - w); // = r - p s 362 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp mu_2 = T(2) * (c * x - s * z); // = 2*q s 388 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T c_1 = c_2 * c - s_2 * s; s 389 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T s_1 = s_2 * c + c_2 * s; s 483 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp T c, s; s 487 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp s = T(0); // of rho if mu_1 = mu_2 = 0. s 497 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp s = T(1) / std::sqrt (T(1) + rho*rho); // TODO is there a native inverse square root function? s 499 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp s = -s; s 500 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp c = s * rho; s 502 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp mu_1 = s * (x + y) + c * (z - w); // = r - p s 503 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp mu_2 = T(2) * (c * x - s * z); // = 2*q s 529 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T c_1 = c_2 * c - s_2 * s; s 530 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T s_1 = s_2 * c + c_2 * s; s 953 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const typename TM::BaseType s, s 962 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp A[i][j] -= s * (nu2 + tau * nu1); s 963 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp A[i][k] += s * (nu1 - tau * nu2); s 998 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T s = t * c; s 999 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T tau = s / (T(1) + c); s 1018 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp offd1 = nu1 - s * (nu2 + tau * nu1); s 1019 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp offd2 = nu2 + s * (nu1 - tau * nu2); s 1022 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp jacobiRotateRight<j, k> (V, s, tau); s 1053 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T s = c * t; s 1054 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T tau = s / (T(1) + c); s 1068 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp offd1 -= s * (nu2 + tau * nu1); s 1069 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp offd2 += s * (nu1 - tau * nu2); s 1077 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp offd1 -= s * (nu2 + tau * nu1); s 1078 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp offd2 += s * (nu1 - tau * nu2); s 1081 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp jacobiRotateRight<j, k> (V, s, tau); s 179 3rdparty/openexr/Imath/ImathMatrixAlgo.h Vec3<T> &s, s 188 3rdparty/openexr/Imath/ImathMatrixAlgo.h Vec3<T> &s, s 196 3rdparty/openexr/Imath/ImathMatrixAlgo.h Vec3<T> &s, s 342 3rdparty/openexr/Imath/ImathMatrixAlgo.h Vec2<T> &s, s 690 3rdparty/openexr/Imath/ImathMatrixAlgo.h T tr, s; s 700 3rdparty/openexr/Imath/ImathMatrixAlgo.h s = Math<T>::sqrt (tr + T(1.0)); s 701 3rdparty/openexr/Imath/ImathMatrixAlgo.h quat.r = s / T(2.0); s 702 3rdparty/openexr/Imath/ImathMatrixAlgo.h s = T(0.5) / s; s 704 3rdparty/openexr/Imath/ImathMatrixAlgo.h quat.v.x = (mat[1][2] - mat[2][1]) * s; s 705 3rdparty/openexr/Imath/ImathMatrixAlgo.h quat.v.y = (mat[2][0] - mat[0][2]) * s; s 706 3rdparty/openexr/Imath/ImathMatrixAlgo.h quat.v.z = (mat[0][1] - mat[1][0]) * s; s 718 3rdparty/openexr/Imath/ImathMatrixAlgo.h s = Math<T>::sqrt ((mat[i][i] - (mat[j][j] + mat[k][k])) + T(1.0)); s 720 3rdparty/openexr/Imath/ImathMatrixAlgo.h q[i] = s * T(0.5); s 721 3rdparty/openexr/Imath/ImathMatrixAlgo.h if (s != T(0.0)) s 722 3rdparty/openexr/Imath/ImathMatrixAlgo.h s = T(0.5) / s; s 724 3rdparty/openexr/Imath/ImathMatrixAlgo.h q[3] = (mat[j][k] - mat[k][j]) * s; s 725 3rdparty/openexr/Imath/ImathMatrixAlgo.h q[j] = (mat[i][j] + mat[j][i]) * s; s 726 3rdparty/openexr/Imath/ImathMatrixAlgo.h q[k] = (mat[i][k] + mat[k][i]) * s; s 740 3rdparty/openexr/Imath/ImathMatrixAlgo.h Vec3<T> &s, s 750 3rdparty/openexr/Imath/ImathMatrixAlgo.h if (! extractAndRemoveScalingAndShear (rot, s, h, exc)) s 772 3rdparty/openexr/Imath/ImathMatrixAlgo.h Vec3<T> &s, s 778 3rdparty/openexr/Imath/ImathMatrixAlgo.h return extractSHRT(mat, s, h, r, t, exc, Imath::Euler<T>::XYZ); s 784 3rdparty/openexr/Imath/ImathMatrixAlgo.h Vec3<T> &s, s 790 3rdparty/openexr/Imath/ImathMatrixAlgo.h return extractSHRT (mat, s, h, r, t, exc, r.order ()); s 1270 3rdparty/openexr/Imath/ImathMatrixAlgo.h Vec2<T> &s, s 1279 3rdparty/openexr/Imath/ImathMatrixAlgo.h if (! extractAndRemoveScalingAndShear (rot, s, h, exc)) s 88 3rdparty/openexr/Imath/ImathQuat.h Quat (T s, T i, T j, T k); s 90 3rdparty/openexr/Imath/ImathQuat.h Quat (T s, Vec3<T> d); s 247 3rdparty/openexr/Imath/ImathQuat.h Quat<T>::Quat (T s, T i, T j, T k): r (s), v (i, j, k) s 255 3rdparty/openexr/Imath/ImathQuat.h Quat<T>::Quat (T s, Vec3<T> d): r (s), v (d) s 485 3rdparty/openexr/Imath/ImathQuat.h Quat<T> s = q1 + q2; s 486 3rdparty/openexr/Imath/ImathQuat.h T lengthS = Math<T>::sqrt (s ^ s); s 516 3rdparty/openexr/Imath/ImathQuat.h T s = 1 - t; s 518 3rdparty/openexr/Imath/ImathQuat.h Quat<T> q = sinx_over_x (s * a) / sinx_over_x (a) * s * q1 + s 86 3rdparty/openexr/Imath/ImathRoots.h template <class T> int solveNormalizedCubic (T r, T s, T t, T x[3]); s 128 3rdparty/openexr/Imath/ImathRoots.h T s = Math<T>::sqrt (D); s 129 3rdparty/openexr/Imath/ImathRoots.h T q = -(b + (b > 0 ? 1 : -1) * s) / T(2); s 150 3rdparty/openexr/Imath/ImathRoots.h solveNormalizedCubic (T r, T s, T t, T x[3]) s 152 3rdparty/openexr/Imath/ImathRoots.h T p = (3 * s - r * r) / 3; s 153 3rdparty/openexr/Imath/ImathRoots.h T q = 2 * r * r * r / 27 - r * s / 3 + t; s 227 3rdparty/openexr/Imath/ImathShear.h std::ostream & operator << (std::ostream &s, const Shear6<T> &h); s 635 3rdparty/openexr/Imath/ImathShear.h operator << (std::ostream &s, const Shear6<T> &h) s 637 3rdparty/openexr/Imath/ImathShear.h return s << '(' s 665 3rdparty/openexr/Imath/ImathVec.h std::ostream & operator << (std::ostream &s, const Vec2<T> &v); s 668 3rdparty/openexr/Imath/ImathVec.h std::ostream & operator << (std::ostream &s, const Vec3<T> &v); s 671 3rdparty/openexr/Imath/ImathVec.h std::ostream & operator << (std::ostream &s, const Vec4<T> &v); s 2174 3rdparty/openexr/Imath/ImathVec.h operator << (std::ostream &s, const Vec2<T> &v) s 2176 3rdparty/openexr/Imath/ImathVec.h return s << '(' << v.x << ' ' << v.y << ')'; s 2181 3rdparty/openexr/Imath/ImathVec.h operator << (std::ostream &s, const Vec3<T> &v) s 2183 3rdparty/openexr/Imath/ImathVec.h return s << '(' << v.x << ' ' << v.y << ' ' << v.z << ')'; s 2188 3rdparty/openexr/Imath/ImathVec.h operator << (std::ostream &s, const Vec4<T> &v) s 2190 3rdparty/openexr/Imath/ImathVec.h return s << '(' << v.x << ' ' << v.y << ' ' << v.z << ' ' << v.w << ')'; s 60 3rdparty/openexr/Imath/ImathVecAlgo.h template <class Vec> Vec project (const Vec &s, const Vec &t); s 68 3rdparty/openexr/Imath/ImathVecAlgo.h template <class Vec> Vec orthogonal (const Vec &s, const Vec &t); s 76 3rdparty/openexr/Imath/ImathVecAlgo.h template <class Vec> Vec reflect (const Vec &s, const Vec &t); s 95 3rdparty/openexr/Imath/ImathVecAlgo.h project (const Vec &s, const Vec &t) s 97 3rdparty/openexr/Imath/ImathVecAlgo.h Vec sNormalized = s.normalized(); s 103 3rdparty/openexr/Imath/ImathVecAlgo.h orthogonal (const Vec &s, const Vec &t) s 105 3rdparty/openexr/Imath/ImathVecAlgo.h return t - project (s, t); s 110 3rdparty/openexr/Imath/ImathVecAlgo.h reflect (const Vec &s, const Vec &t) s 112 3rdparty/openexr/Imath/ImathVecAlgo.h return s - typename Vec::BaseType(2) * (s - project(t, s)); s 73 3rdparty/zlib/deflate.c typedef block_state (*compress_func) OF((deflate_state *s, int flush)); s 76 3rdparty/zlib/deflate.c local void fill_window OF((deflate_state *s)); s 77 3rdparty/zlib/deflate.c local block_state deflate_stored OF((deflate_state *s, int flush)); s 78 3rdparty/zlib/deflate.c local block_state deflate_fast OF((deflate_state *s, int flush)); s 80 3rdparty/zlib/deflate.c local block_state deflate_slow OF((deflate_state *s, int flush)); s 82 3rdparty/zlib/deflate.c local block_state deflate_rle OF((deflate_state *s, int flush)); s 83 3rdparty/zlib/deflate.c local block_state deflate_huff OF((deflate_state *s, int flush)); s 84 3rdparty/zlib/deflate.c local void lm_init OF((deflate_state *s)); s 85 3rdparty/zlib/deflate.c local void putShortMSB OF((deflate_state *s, uInt b)); s 90 3rdparty/zlib/deflate.c uInt longest_match OF((deflate_state *s, IPos cur_match)); s 92 3rdparty/zlib/deflate.c local uInt longest_match OF((deflate_state *s, IPos cur_match)); s 96 3rdparty/zlib/deflate.c local void check_match OF((deflate_state *s, IPos start, IPos match, s 167 3rdparty/zlib/deflate.c #define UPDATE_HASH(s,h,c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) s 181 3rdparty/zlib/deflate.c #define INSERT_STRING(s, str, match_head) \ s 182 3rdparty/zlib/deflate.c (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \ s 183 3rdparty/zlib/deflate.c match_head = s->head[s->ins_h], \ s 184 3rdparty/zlib/deflate.c s->head[s->ins_h] = (Pos)(str)) s 186 3rdparty/zlib/deflate.c #define INSERT_STRING(s, str, match_head) \ s 187 3rdparty/zlib/deflate.c (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \ s 188 3rdparty/zlib/deflate.c match_head = s->prev[(str) & s->w_mask] = s->head[s->ins_h], \ s 189 3rdparty/zlib/deflate.c s->head[s->ins_h] = (Pos)(str)) s 196 3rdparty/zlib/deflate.c #define CLEAR_HASH(s) \ s 197 3rdparty/zlib/deflate.c s->head[s->hash_size-1] = NIL; \ s 198 3rdparty/zlib/deflate.c zmemzero((Bytef *)s->head, (unsigned)(s->hash_size-1)*sizeof(*s->head)); s 224 3rdparty/zlib/deflate.c deflate_state *s; s 277 3rdparty/zlib/deflate.c s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state)); s 278 3rdparty/zlib/deflate.c if (s == Z_NULL) return Z_MEM_ERROR; s 279 3rdparty/zlib/deflate.c strm->state = (struct internal_state FAR *)s; s 280 3rdparty/zlib/deflate.c s->strm = strm; s 282 3rdparty/zlib/deflate.c s->wrap = wrap; s 283 3rdparty/zlib/deflate.c s->gzhead = Z_NULL; s 284 3rdparty/zlib/deflate.c s->w_bits = windowBits; s 285 3rdparty/zlib/deflate.c s->w_size = 1 << s->w_bits; s 286 3rdparty/zlib/deflate.c s->w_mask = s->w_size - 1; s 288 3rdparty/zlib/deflate.c s->hash_bits = memLevel + 7; s 289 3rdparty/zlib/deflate.c s->hash_size = 1 << s->hash_bits; s 290 3rdparty/zlib/deflate.c s->hash_mask = s->hash_size - 1; s 291 3rdparty/zlib/deflate.c s->hash_shift = ((s->hash_bits+MIN_MATCH-1)/MIN_MATCH); s 293 3rdparty/zlib/deflate.c s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); s 294 3rdparty/zlib/deflate.c s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos)); s 295 3rdparty/zlib/deflate.c s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos)); s 297 3rdparty/zlib/deflate.c s->high_water = 0; /* nothing written to s->window yet */ s 299 3rdparty/zlib/deflate.c s->lit_bufsize = 1 << (memLevel + 6); /* 16K elements by default */ s 301 3rdparty/zlib/deflate.c overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2); s 302 3rdparty/zlib/deflate.c s->pending_buf = (uchf *) overlay; s 303 3rdparty/zlib/deflate.c s->pending_buf_size = (ulg)s->lit_bufsize * (sizeof(ush)+2L); s 305 3rdparty/zlib/deflate.c if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL || s 306 3rdparty/zlib/deflate.c s->pending_buf == Z_NULL) { s 307 3rdparty/zlib/deflate.c s->status = FINISH_STATE; s 312 3rdparty/zlib/deflate.c s->d_buf = overlay + s->lit_bufsize/sizeof(ush); s 313 3rdparty/zlib/deflate.c s->l_buf = s->pending_buf + (1+sizeof(ush))*s->lit_bufsize; s 315 3rdparty/zlib/deflate.c s->level = level; s 316 3rdparty/zlib/deflate.c s->strategy = strategy; s 317 3rdparty/zlib/deflate.c s->method = (Byte)method; s 328 3rdparty/zlib/deflate.c deflate_state *s; s 336 3rdparty/zlib/deflate.c s = strm->state; s 337 3rdparty/zlib/deflate.c wrap = s->wrap; s 338 3rdparty/zlib/deflate.c if (wrap == 2 || (wrap == 1 && s->status != INIT_STATE) || s->lookahead) s 344 3rdparty/zlib/deflate.c s->wrap = 0; /* avoid computing Adler-32 in read_buf */ s 347 3rdparty/zlib/deflate.c if (dictLength >= s->w_size) { s 349 3rdparty/zlib/deflate.c CLEAR_HASH(s); s 350 3rdparty/zlib/deflate.c s->strstart = 0; s 351 3rdparty/zlib/deflate.c s->block_start = 0L; s 352 3rdparty/zlib/deflate.c s->insert = 0; s 354 3rdparty/zlib/deflate.c dictionary += dictLength - s->w_size; /* use the tail */ s 355 3rdparty/zlib/deflate.c dictLength = s->w_size; s 363 3rdparty/zlib/deflate.c fill_window(s); s 364 3rdparty/zlib/deflate.c while (s->lookahead >= MIN_MATCH) { s 365 3rdparty/zlib/deflate.c str = s->strstart; s 366 3rdparty/zlib/deflate.c n = s->lookahead - (MIN_MATCH-1); s 368 3rdparty/zlib/deflate.c UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); s 370 3rdparty/zlib/deflate.c s->prev[str & s->w_mask] = s->head[s->ins_h]; s 372 3rdparty/zlib/deflate.c s->head[s->ins_h] = (Pos)str; s 375 3rdparty/zlib/deflate.c s->strstart = str; s 376 3rdparty/zlib/deflate.c s->lookahead = MIN_MATCH-1; s 377 3rdparty/zlib/deflate.c fill_window(s); s 379 3rdparty/zlib/deflate.c s->strstart += s->lookahead; s 380 3rdparty/zlib/deflate.c s->block_start = (long)s->strstart; s 381 3rdparty/zlib/deflate.c s->insert = s->lookahead; s 382 3rdparty/zlib/deflate.c s->lookahead = 0; s 383 3rdparty/zlib/deflate.c s->match_length = s->prev_length = MIN_MATCH-1; s 384 3rdparty/zlib/deflate.c s->match_available = 0; s 387 3rdparty/zlib/deflate.c s->wrap = wrap; s 395 3rdparty/zlib/deflate.c deflate_state *s; s 406 3rdparty/zlib/deflate.c s = (deflate_state *)strm->state; s 407 3rdparty/zlib/deflate.c s->pending = 0; s 408 3rdparty/zlib/deflate.c s->pending_out = s->pending_buf; s 410 3rdparty/zlib/deflate.c if (s->wrap < 0) { s 411 3rdparty/zlib/deflate.c s->wrap = -s->wrap; /* was made negative by deflate(..., Z_FINISH); */ s 413 3rdparty/zlib/deflate.c s->status = s->wrap ? INIT_STATE : BUSY_STATE; s 416 3rdparty/zlib/deflate.c s->wrap == 2 ? crc32(0L, Z_NULL, 0) : s 419 3rdparty/zlib/deflate.c s->last_flush = Z_NO_FLUSH; s 421 3rdparty/zlib/deflate.c _tr_init(s); s 469 3rdparty/zlib/deflate.c deflate_state *s; s 473 3rdparty/zlib/deflate.c s = strm->state; s 474 3rdparty/zlib/deflate.c if ((Bytef *)(s->d_buf) < s->pending_out + ((Buf_size + 7) >> 3)) s 477 3rdparty/zlib/deflate.c put = Buf_size - s->bi_valid; s 480 3rdparty/zlib/deflate.c s->bi_buf |= (ush)((value & ((1 << put) - 1)) << s->bi_valid); s 481 3rdparty/zlib/deflate.c s->bi_valid += put; s 482 3rdparty/zlib/deflate.c _tr_flush_bits(s); s 495 3rdparty/zlib/deflate.c deflate_state *s; s 500 3rdparty/zlib/deflate.c s = strm->state; s 510 3rdparty/zlib/deflate.c func = configuration_table[s->level].func; s 512 3rdparty/zlib/deflate.c if ((strategy != s->strategy || func != configuration_table[level].func) && s 516 3rdparty/zlib/deflate.c if (err == Z_BUF_ERROR && s->pending == 0) s 519 3rdparty/zlib/deflate.c if (s->level != level) { s 520 3rdparty/zlib/deflate.c s->level = level; s 521 3rdparty/zlib/deflate.c s->max_lazy_match = configuration_table[level].max_lazy; s 522 3rdparty/zlib/deflate.c s->good_match = configuration_table[level].good_length; s 523 3rdparty/zlib/deflate.c s->nice_match = configuration_table[level].nice_length; s 524 3rdparty/zlib/deflate.c s->max_chain_length = configuration_table[level].max_chain; s 526 3rdparty/zlib/deflate.c s->strategy = strategy; s 538 3rdparty/zlib/deflate.c deflate_state *s; s 541 3rdparty/zlib/deflate.c s = strm->state; s 542 3rdparty/zlib/deflate.c s->good_match = good_length; s 543 3rdparty/zlib/deflate.c s->max_lazy_match = max_lazy; s 544 3rdparty/zlib/deflate.c s->nice_match = nice_length; s 545 3rdparty/zlib/deflate.c s->max_chain_length = max_chain; s 570 3rdparty/zlib/deflate.c deflate_state *s; s 583 3rdparty/zlib/deflate.c s = strm->state; s 584 3rdparty/zlib/deflate.c switch (s->wrap) { s 589 3rdparty/zlib/deflate.c wraplen = 6 + (s->strstart ? 4 : 0); s 593 3rdparty/zlib/deflate.c if (s->gzhead != Z_NULL) { /* user-supplied gzip header */ s 594 3rdparty/zlib/deflate.c if (s->gzhead->extra != Z_NULL) s 595 3rdparty/zlib/deflate.c wraplen += 2 + s->gzhead->extra_len; s 596 3rdparty/zlib/deflate.c str = s->gzhead->name; s 601 3rdparty/zlib/deflate.c str = s->gzhead->comment; s 606 3rdparty/zlib/deflate.c if (s->gzhead->hcrc) s 615 3rdparty/zlib/deflate.c if (s->w_bits != 15 || s->hash_bits != 8 + 7) s 628 3rdparty/zlib/deflate.c local void putShortMSB (s, b) s 629 3rdparty/zlib/deflate.c deflate_state *s; s 632 3rdparty/zlib/deflate.c put_byte(s, (Byte)(b >> 8)); s 633 3rdparty/zlib/deflate.c put_byte(s, (Byte)(b & 0xff)); s 646 3rdparty/zlib/deflate.c deflate_state *s = strm->state; s 648 3rdparty/zlib/deflate.c _tr_flush_bits(s); s 649 3rdparty/zlib/deflate.c len = s->pending; s 653 3rdparty/zlib/deflate.c zmemcpy(strm->next_out, s->pending_out, len); s 655 3rdparty/zlib/deflate.c s->pending_out += len; s 658 3rdparty/zlib/deflate.c s->pending -= len; s 659 3rdparty/zlib/deflate.c if (s->pending == 0) { s 660 3rdparty/zlib/deflate.c s->pending_out = s->pending_buf; s 670 3rdparty/zlib/deflate.c deflate_state *s; s 676 3rdparty/zlib/deflate.c s = strm->state; s 680 3rdparty/zlib/deflate.c (s->status == FINISH_STATE && flush != Z_FINISH)) { s 685 3rdparty/zlib/deflate.c s->strm = strm; /* just in case */ s 686 3rdparty/zlib/deflate.c old_flush = s->last_flush; s 687 3rdparty/zlib/deflate.c s->last_flush = flush; s 690 3rdparty/zlib/deflate.c if (s->status == INIT_STATE) { s 692 3rdparty/zlib/deflate.c if (s->wrap == 2) { s 694 3rdparty/zlib/deflate.c put_byte(s, 31); s 695 3rdparty/zlib/deflate.c put_byte(s, 139); s 696 3rdparty/zlib/deflate.c put_byte(s, 8); s 697 3rdparty/zlib/deflate.c if (s->gzhead == Z_NULL) { s 698 3rdparty/zlib/deflate.c put_byte(s, 0); s 699 3rdparty/zlib/deflate.c put_byte(s, 0); s 700 3rdparty/zlib/deflate.c put_byte(s, 0); s 701 3rdparty/zlib/deflate.c put_byte(s, 0); s 702 3rdparty/zlib/deflate.c put_byte(s, 0); s 703 3rdparty/zlib/deflate.c put_byte(s, s->level == 9 ? 2 : s 704 3rdparty/zlib/deflate.c (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2 ? s 706 3rdparty/zlib/deflate.c put_byte(s, OS_CODE); s 707 3rdparty/zlib/deflate.c s->status = BUSY_STATE; s 710 3rdparty/zlib/deflate.c put_byte(s, (s->gzhead->text ? 1 : 0) + s 711 3rdparty/zlib/deflate.c (s->gzhead->hcrc ? 2 : 0) + s 712 3rdparty/zlib/deflate.c (s->gzhead->extra == Z_NULL ? 0 : 4) + s 713 3rdparty/zlib/deflate.c (s->gzhead->name == Z_NULL ? 0 : 8) + s 714 3rdparty/zlib/deflate.c (s->gzhead->comment == Z_NULL ? 0 : 16) s 716 3rdparty/zlib/deflate.c put_byte(s, (Byte)(s->gzhead->time & 0xff)); s 717 3rdparty/zlib/deflate.c put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff)); s 718 3rdparty/zlib/deflate.c put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff)); s 719 3rdparty/zlib/deflate.c put_byte(s, (Byte)((s->gzhead->time >> 24) & 0xff)); s 720 3rdparty/zlib/deflate.c put_byte(s, s->level == 9 ? 2 : s 721 3rdparty/zlib/deflate.c (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2 ? s 723 3rdparty/zlib/deflate.c put_byte(s, s->gzhead->os & 0xff); s 724 3rdparty/zlib/deflate.c if (s->gzhead->extra != Z_NULL) { s 725 3rdparty/zlib/deflate.c put_byte(s, s->gzhead->extra_len & 0xff); s 726 3rdparty/zlib/deflate.c put_byte(s, (s->gzhead->extra_len >> 8) & 0xff); s 728 3rdparty/zlib/deflate.c if (s->gzhead->hcrc) s 729 3rdparty/zlib/deflate.c strm->adler = crc32(strm->adler, s->pending_buf, s 730 3rdparty/zlib/deflate.c s->pending); s 731 3rdparty/zlib/deflate.c s->gzindex = 0; s 732 3rdparty/zlib/deflate.c s->status = EXTRA_STATE; s 738 3rdparty/zlib/deflate.c uInt header = (Z_DEFLATED + ((s->w_bits-8)<<4)) << 8; s 741 3rdparty/zlib/deflate.c if (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2) s 743 3rdparty/zlib/deflate.c else if (s->level < 6) s 745 3rdparty/zlib/deflate.c else if (s->level == 6) s 750 3rdparty/zlib/deflate.c if (s->strstart != 0) header |= PRESET_DICT; s 753 3rdparty/zlib/deflate.c s->status = BUSY_STATE; s 754 3rdparty/zlib/deflate.c putShortMSB(s, header); s 757 3rdparty/zlib/deflate.c if (s->strstart != 0) { s 758 3rdparty/zlib/deflate.c putShortMSB(s, (uInt)(strm->adler >> 16)); s 759 3rdparty/zlib/deflate.c putShortMSB(s, (uInt)(strm->adler & 0xffff)); s 765 3rdparty/zlib/deflate.c if (s->status == EXTRA_STATE) { s 766 3rdparty/zlib/deflate.c if (s->gzhead->extra != Z_NULL) { s 767 3rdparty/zlib/deflate.c uInt beg = s->pending; /* start of bytes to update crc */ s 769 3rdparty/zlib/deflate.c while (s->gzindex < (s->gzhead->extra_len & 0xffff)) { s 770 3rdparty/zlib/deflate.c if (s->pending == s->pending_buf_size) { s 771 3rdparty/zlib/deflate.c if (s->gzhead->hcrc && s->pending > beg) s 772 3rdparty/zlib/deflate.c strm->adler = crc32(strm->adler, s->pending_buf + beg, s 773 3rdparty/zlib/deflate.c s->pending - beg); s 775 3rdparty/zlib/deflate.c beg = s->pending; s 776 3rdparty/zlib/deflate.c if (s->pending == s->pending_buf_size) s 779 3rdparty/zlib/deflate.c put_byte(s, s->gzhead->extra[s->gzindex]); s 780 3rdparty/zlib/deflate.c s->gzindex++; s 782 3rdparty/zlib/deflate.c if (s->gzhead->hcrc && s->pending > beg) s 783 3rdparty/zlib/deflate.c strm->adler = crc32(strm->adler, s->pending_buf + beg, s 784 3rdparty/zlib/deflate.c s->pending - beg); s 785 3rdparty/zlib/deflate.c if (s->gzindex == s->gzhead->extra_len) { s 786 3rdparty/zlib/deflate.c s->gzindex = 0; s 787 3rdparty/zlib/deflate.c s->status = NAME_STATE; s 791 3rdparty/zlib/deflate.c s->status = NAME_STATE; s 793 3rdparty/zlib/deflate.c if (s->status == NAME_STATE) { s 794 3rdparty/zlib/deflate.c if (s->gzhead->name != Z_NULL) { s 795 3rdparty/zlib/deflate.c uInt beg = s->pending; /* start of bytes to update crc */ s 799 3rdparty/zlib/deflate.c if (s->pending == s->pending_buf_size) { s 800 3rdparty/zlib/deflate.c if (s->gzhead->hcrc && s->pending > beg) s 801 3rdparty/zlib/deflate.c strm->adler = crc32(strm->adler, s->pending_buf + beg, s 802 3rdparty/zlib/deflate.c s->pending - beg); s 804 3rdparty/zlib/deflate.c beg = s->pending; s 805 3rdparty/zlib/deflate.c if (s->pending == s->pending_buf_size) { s 810 3rdparty/zlib/deflate.c val = s->gzhead->name[s->gzindex++]; s 811 3rdparty/zlib/deflate.c put_byte(s, val); s 813 3rdparty/zlib/deflate.c if (s->gzhead->hcrc && s->pending > beg) s 814 3rdparty/zlib/deflate.c strm->adler = crc32(strm->adler, s->pending_buf + beg, s 815 3rdparty/zlib/deflate.c s->pending - beg); s 817 3rdparty/zlib/deflate.c s->gzindex = 0; s 818 3rdparty/zlib/deflate.c s->status = COMMENT_STATE; s 822 3rdparty/zlib/deflate.c s->status = COMMENT_STATE; s 824 3rdparty/zlib/deflate.c if (s->status == COMMENT_STATE) { s 825 3rdparty/zlib/deflate.c if (s->gzhead->comment != Z_NULL) { s 826 3rdparty/zlib/deflate.c uInt beg = s->pending; /* start of bytes to update crc */ s 830 3rdparty/zlib/deflate.c if (s->pending == s->pending_buf_size) { s 831 3rdparty/zlib/deflate.c if (s->gzhead->hcrc && s->pending > beg) s 832 3rdparty/zlib/deflate.c strm->adler = crc32(strm->adler, s->pending_buf + beg, s 833 3rdparty/zlib/deflate.c s->pending - beg); s 835 3rdparty/zlib/deflate.c beg = s->pending; s 836 3rdparty/zlib/deflate.c if (s->pending == s->pending_buf_size) { s 841 3rdparty/zlib/deflate.c val = s->gzhead->comment[s->gzindex++]; s 842 3rdparty/zlib/deflate.c put_byte(s, val); s 844 3rdparty/zlib/deflate.c if (s->gzhead->hcrc && s->pending > beg) s 845 3rdparty/zlib/deflate.c strm->adler = crc32(strm->adler, s->pending_buf + beg, s 846 3rdparty/zlib/deflate.c s->pending - beg); s 848 3rdparty/zlib/deflate.c s->status = HCRC_STATE; s 851 3rdparty/zlib/deflate.c s->status = HCRC_STATE; s 853 3rdparty/zlib/deflate.c if (s->status == HCRC_STATE) { s 854 3rdparty/zlib/deflate.c if (s->gzhead->hcrc) { s 855 3rdparty/zlib/deflate.c if (s->pending + 2 > s->pending_buf_size) s 857 3rdparty/zlib/deflate.c if (s->pending + 2 <= s->pending_buf_size) { s 858 3rdparty/zlib/deflate.c put_byte(s, (Byte)(strm->adler & 0xff)); s 859 3rdparty/zlib/deflate.c put_byte(s, (Byte)((strm->adler >> 8) & 0xff)); s 861 3rdparty/zlib/deflate.c s->status = BUSY_STATE; s 865 3rdparty/zlib/deflate.c s->status = BUSY_STATE; s 870 3rdparty/zlib/deflate.c if (s->pending != 0) { s 879 3rdparty/zlib/deflate.c s->last_flush = -1; s 893 3rdparty/zlib/deflate.c if (s->status == FINISH_STATE && strm->avail_in != 0) { s 899 3rdparty/zlib/deflate.c if (strm->avail_in != 0 || s->lookahead != 0 || s 900 3rdparty/zlib/deflate.c (flush != Z_NO_FLUSH && s->status != FINISH_STATE)) { s 903 3rdparty/zlib/deflate.c bstate = s->strategy == Z_HUFFMAN_ONLY ? deflate_huff(s, flush) : s 904 3rdparty/zlib/deflate.c (s->strategy == Z_RLE ? deflate_rle(s, flush) : s 905 3rdparty/zlib/deflate.c (*(configuration_table[s->level].func))(s, flush)); s 908 3rdparty/zlib/deflate.c s->status = FINISH_STATE; s 912 3rdparty/zlib/deflate.c s->last_flush = -1; /* avoid BUF_ERROR next call, see above */ s 925 3rdparty/zlib/deflate.c _tr_align(s); s 927 3rdparty/zlib/deflate.c _tr_stored_block(s, (char*)0, 0L, 0); s 932 3rdparty/zlib/deflate.c CLEAR_HASH(s); /* forget history */ s 933 3rdparty/zlib/deflate.c if (s->lookahead == 0) { s 934 3rdparty/zlib/deflate.c s->strstart = 0; s 935 3rdparty/zlib/deflate.c s->block_start = 0L; s 936 3rdparty/zlib/deflate.c s->insert = 0; s 942 3rdparty/zlib/deflate.c s->last_flush = -1; /* avoid BUF_ERROR at next call, see above */ s 950 3rdparty/zlib/deflate.c if (s->wrap <= 0) return Z_STREAM_END; s 954 3rdparty/zlib/deflate.c if (s->wrap == 2) { s 955 3rdparty/zlib/deflate.c put_byte(s, (Byte)(strm->adler & 0xff)); s 956 3rdparty/zlib/deflate.c put_byte(s, (Byte)((strm->adler >> 8) & 0xff)); s 957 3rdparty/zlib/deflate.c put_byte(s, (Byte)((strm->adler >> 16) & 0xff)); s 958 3rdparty/zlib/deflate.c put_byte(s, (Byte)((strm->adler >> 24) & 0xff)); s 959 3rdparty/zlib/deflate.c put_byte(s, (Byte)(strm->total_in & 0xff)); s 960 3rdparty/zlib/deflate.c put_byte(s, (Byte)((strm->total_in >> 8) & 0xff)); s 961 3rdparty/zlib/deflate.c put_byte(s, (Byte)((strm->total_in >> 16) & 0xff)); s 962 3rdparty/zlib/deflate.c put_byte(s, (Byte)((strm->total_in >> 24) & 0xff)); s 967 3rdparty/zlib/deflate.c putShortMSB(s, (uInt)(strm->adler >> 16)); s 968 3rdparty/zlib/deflate.c putShortMSB(s, (uInt)(strm->adler & 0xffff)); s 974 3rdparty/zlib/deflate.c if (s->wrap > 0) s->wrap = -s->wrap; /* write the trailer only once! */ s 975 3rdparty/zlib/deflate.c return s->pending != 0 ? Z_OK : Z_STREAM_END; s 1106 3rdparty/zlib/deflate.c local void lm_init (s) s 1107 3rdparty/zlib/deflate.c deflate_state *s; s 1109 3rdparty/zlib/deflate.c s->window_size = (ulg)2L*s->w_size; s 1111 3rdparty/zlib/deflate.c CLEAR_HASH(s); s 1115 3rdparty/zlib/deflate.c s->max_lazy_match = configuration_table[s->level].max_lazy; s 1116 3rdparty/zlib/deflate.c s->good_match = configuration_table[s->level].good_length; s 1117 3rdparty/zlib/deflate.c s->nice_match = configuration_table[s->level].nice_length; s 1118 3rdparty/zlib/deflate.c s->max_chain_length = configuration_table[s->level].max_chain; s 1120 3rdparty/zlib/deflate.c s->strstart = 0; s 1121 3rdparty/zlib/deflate.c s->block_start = 0L; s 1122 3rdparty/zlib/deflate.c s->lookahead = 0; s 1123 3rdparty/zlib/deflate.c s->insert = 0; s 1124 3rdparty/zlib/deflate.c s->match_length = s->prev_length = MIN_MATCH-1; s 1125 3rdparty/zlib/deflate.c s->match_available = 0; s 1126 3rdparty/zlib/deflate.c s->ins_h = 0; s 1148 3rdparty/zlib/deflate.c local uInt longest_match(s, cur_match) s 1149 3rdparty/zlib/deflate.c deflate_state *s; s 1152 3rdparty/zlib/deflate.c unsigned chain_length = s->max_chain_length;/* max hash chain length */ s 1153 3rdparty/zlib/deflate.c register Bytef *scan = s->window + s->strstart; /* current string */ s 1156 3rdparty/zlib/deflate.c int best_len = s->prev_length; /* best match length so far */ s 1157 3rdparty/zlib/deflate.c int nice_match = s->nice_match; /* stop if match long enough */ s 1158 3rdparty/zlib/deflate.c IPos limit = s->strstart > (IPos)MAX_DIST(s) ? s 1159 3rdparty/zlib/deflate.c s->strstart - (IPos)MAX_DIST(s) : NIL; s 1163 3rdparty/zlib/deflate.c Posf *prev = s->prev; s 1164 3rdparty/zlib/deflate.c uInt wmask = s->w_mask; s 1170 3rdparty/zlib/deflate.c register Bytef *strend = s->window + s->strstart + MAX_MATCH - 1; s 1174 3rdparty/zlib/deflate.c register Bytef *strend = s->window + s->strstart + MAX_MATCH; s 1182 3rdparty/zlib/deflate.c Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever"); s 1185 3rdparty/zlib/deflate.c if (s->prev_length >= s->good_match) { s 1191 3rdparty/zlib/deflate.c if ((uInt)nice_match > s->lookahead) nice_match = s->lookahead; s 1193 3rdparty/zlib/deflate.c Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead"); s 1196 3rdparty/zlib/deflate.c Assert(cur_match < s->strstart, "no future"); s 1197 3rdparty/zlib/deflate.c match = s->window + cur_match; s 1234 3rdparty/zlib/deflate.c Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); s 1266 3rdparty/zlib/deflate.c Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); s 1274 3rdparty/zlib/deflate.c s->match_start = cur_match; s 1287 3rdparty/zlib/deflate.c if ((uInt)best_len <= s->lookahead) return (uInt)best_len; s 1288 3rdparty/zlib/deflate.c return s->lookahead; s 1297 3rdparty/zlib/deflate.c local uInt longest_match(s, cur_match) s 1298 3rdparty/zlib/deflate.c deflate_state *s; s 1301 3rdparty/zlib/deflate.c register Bytef *scan = s->window + s->strstart; /* current string */ s 1304 3rdparty/zlib/deflate.c register Bytef *strend = s->window + s->strstart + MAX_MATCH; s 1309 3rdparty/zlib/deflate.c Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever"); s 1311 3rdparty/zlib/deflate.c Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead"); s 1313 3rdparty/zlib/deflate.c Assert(cur_match < s->strstart, "no future"); s 1315 3rdparty/zlib/deflate.c match = s->window + cur_match; s 1340 3rdparty/zlib/deflate.c Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); s 1346 3rdparty/zlib/deflate.c s->match_start = cur_match; s 1347 3rdparty/zlib/deflate.c return (uInt)len <= s->lookahead ? (uInt)len : s->lookahead; s 1356 3rdparty/zlib/deflate.c local void check_match(s, start, match, length) s 1357 3rdparty/zlib/deflate.c deflate_state *s; s 1362 3rdparty/zlib/deflate.c if (zmemcmp(s->window + match, s 1363 3rdparty/zlib/deflate.c s->window + start, length) != EQUAL) { s 1367 3rdparty/zlib/deflate.c fprintf(stderr, "%c%c", s->window[match++], s->window[start++]); s 1373 3rdparty/zlib/deflate.c do { putc(s->window[start++], stderr); } while (--length != 0); s 1377 3rdparty/zlib/deflate.c # define check_match(s, start, match, length) s 1390 3rdparty/zlib/deflate.c local void fill_window(s) s 1391 3rdparty/zlib/deflate.c deflate_state *s; s 1396 3rdparty/zlib/deflate.c uInt wsize = s->w_size; s 1398 3rdparty/zlib/deflate.c Assert(s->lookahead < MIN_LOOKAHEAD, "already enough lookahead"); s 1401 3rdparty/zlib/deflate.c more = (unsigned)(s->window_size -(ulg)s->lookahead -(ulg)s->strstart); s 1405 3rdparty/zlib/deflate.c if (more == 0 && s->strstart == 0 && s->lookahead == 0) { s 1419 3rdparty/zlib/deflate.c if (s->strstart >= wsize+MAX_DIST(s)) { s 1421 3rdparty/zlib/deflate.c zmemcpy(s->window, s->window+wsize, (unsigned)wsize); s 1422 3rdparty/zlib/deflate.c s->match_start -= wsize; s 1423 3rdparty/zlib/deflate.c s->strstart -= wsize; /* we now have strstart >= MAX_DIST */ s 1424 3rdparty/zlib/deflate.c s->block_start -= (long) wsize; s 1432 3rdparty/zlib/deflate.c n = s->hash_size; s 1433 3rdparty/zlib/deflate.c p = &s->head[n]; s 1441 3rdparty/zlib/deflate.c p = &s->prev[n]; s 1452 3rdparty/zlib/deflate.c if (s->strm->avail_in == 0) break; s 1467 3rdparty/zlib/deflate.c n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more); s 1468 3rdparty/zlib/deflate.c s->lookahead += n; s 1471 3rdparty/zlib/deflate.c if (s->lookahead + s->insert >= MIN_MATCH) { s 1472 3rdparty/zlib/deflate.c uInt str = s->strstart - s->insert; s 1473 3rdparty/zlib/deflate.c s->ins_h = s->window[str]; s 1474 3rdparty/zlib/deflate.c UPDATE_HASH(s, s->ins_h, s->window[str + 1]); s 1478 3rdparty/zlib/deflate.c while (s->insert) { s 1479 3rdparty/zlib/deflate.c UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); s 1481 3rdparty/zlib/deflate.c s->prev[str & s->w_mask] = s->head[s->ins_h]; s 1483 3rdparty/zlib/deflate.c s->head[s->ins_h] = (Pos)str; s 1485 3rdparty/zlib/deflate.c s->insert--; s 1486 3rdparty/zlib/deflate.c if (s->lookahead + s->insert < MIN_MATCH) s 1494 3rdparty/zlib/deflate.c } while (s->lookahead < MIN_LOOKAHEAD && s->strm->avail_in != 0); s 1503 3rdparty/zlib/deflate.c if (s->high_water < s->window_size) { s 1504 3rdparty/zlib/deflate.c ulg curr = s->strstart + (ulg)(s->lookahead); s 1507 3rdparty/zlib/deflate.c if (s->high_water < curr) { s 1511 3rdparty/zlib/deflate.c init = s->window_size - curr; s 1514 3rdparty/zlib/deflate.c zmemzero(s->window + curr, (unsigned)init); s 1515 3rdparty/zlib/deflate.c s->high_water = curr + init; s 1517 3rdparty/zlib/deflate.c else if (s->high_water < (ulg)curr + WIN_INIT) { s 1522 3rdparty/zlib/deflate.c init = (ulg)curr + WIN_INIT - s->high_water; s 1523 3rdparty/zlib/deflate.c if (init > s->window_size - s->high_water) s 1524 3rdparty/zlib/deflate.c init = s->window_size - s->high_water; s 1525 3rdparty/zlib/deflate.c zmemzero(s->window + s->high_water, (unsigned)init); s 1526 3rdparty/zlib/deflate.c s->high_water += init; s 1530 3rdparty/zlib/deflate.c Assert((ulg)s->strstart <= s->window_size - MIN_LOOKAHEAD, s 1538 3rdparty/zlib/deflate.c #define FLUSH_BLOCK_ONLY(s, last) { \ s 1539 3rdparty/zlib/deflate.c _tr_flush_block(s, (s->block_start >= 0L ? \ s 1540 3rdparty/zlib/deflate.c (charf *)&s->window[(unsigned)s->block_start] : \ s 1542 3rdparty/zlib/deflate.c (ulg)((long)s->strstart - s->block_start), \ s 1544 3rdparty/zlib/deflate.c s->block_start = s->strstart; \ s 1545 3rdparty/zlib/deflate.c flush_pending(s->strm); \ s 1550 3rdparty/zlib/deflate.c #define FLUSH_BLOCK(s, last) { \ s 1551 3rdparty/zlib/deflate.c FLUSH_BLOCK_ONLY(s, last); \ s 1552 3rdparty/zlib/deflate.c if (s->strm->avail_out == 0) return (last) ? finish_started : need_more; \ s 1564 3rdparty/zlib/deflate.c local block_state deflate_stored(s, flush) s 1565 3rdparty/zlib/deflate.c deflate_state *s; s 1574 3rdparty/zlib/deflate.c if (max_block_size > s->pending_buf_size - 5) { s 1575 3rdparty/zlib/deflate.c max_block_size = s->pending_buf_size - 5; s 1581 3rdparty/zlib/deflate.c if (s->lookahead <= 1) { s 1583 3rdparty/zlib/deflate.c Assert(s->strstart < s->w_size+MAX_DIST(s) || s 1584 3rdparty/zlib/deflate.c s->block_start >= (long)s->w_size, "slide too late"); s 1586 3rdparty/zlib/deflate.c fill_window(s); s 1587 3rdparty/zlib/deflate.c if (s->lookahead == 0 && flush == Z_NO_FLUSH) return need_more; s 1589 3rdparty/zlib/deflate.c if (s->lookahead == 0) break; /* flush the current block */ s 1591 3rdparty/zlib/deflate.c Assert(s->block_start >= 0L, "block gone"); s 1593 3rdparty/zlib/deflate.c s->strstart += s->lookahead; s 1594 3rdparty/zlib/deflate.c s->lookahead = 0; s 1597 3rdparty/zlib/deflate.c max_start = s->block_start + max_block_size; s 1598 3rdparty/zlib/deflate.c if (s->strstart == 0 || (ulg)s->strstart >= max_start) { s 1600 3rdparty/zlib/deflate.c s->lookahead = (uInt)(s->strstart - max_start); s 1601 3rdparty/zlib/deflate.c s->strstart = (uInt)max_start; s 1602 3rdparty/zlib/deflate.c FLUSH_BLOCK(s, 0); s 1607 3rdparty/zlib/deflate.c if (s->strstart - (uInt)s->block_start >= MAX_DIST(s)) { s 1608 3rdparty/zlib/deflate.c FLUSH_BLOCK(s, 0); s 1611 3rdparty/zlib/deflate.c s->insert = 0; s 1613 3rdparty/zlib/deflate.c FLUSH_BLOCK(s, 1); s 1616 3rdparty/zlib/deflate.c if ((long)s->strstart > s->block_start) s 1617 3rdparty/zlib/deflate.c FLUSH_BLOCK(s, 0); s 1628 3rdparty/zlib/deflate.c local block_state deflate_fast(s, flush) s 1629 3rdparty/zlib/deflate.c deflate_state *s; s 1641 3rdparty/zlib/deflate.c if (s->lookahead < MIN_LOOKAHEAD) { s 1642 3rdparty/zlib/deflate.c fill_window(s); s 1643 3rdparty/zlib/deflate.c if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) { s 1646 3rdparty/zlib/deflate.c if (s->lookahead == 0) break; /* flush the current block */ s 1653 3rdparty/zlib/deflate.c if (s->lookahead >= MIN_MATCH) { s 1654 3rdparty/zlib/deflate.c INSERT_STRING(s, s->strstart, hash_head); s 1660 3rdparty/zlib/deflate.c if (hash_head != NIL && s->strstart - hash_head <= MAX_DIST(s)) { s 1665 3rdparty/zlib/deflate.c s->match_length = longest_match (s, hash_head); s 1668 3rdparty/zlib/deflate.c if (s->match_length >= MIN_MATCH) { s 1669 3rdparty/zlib/deflate.c check_match(s, s->strstart, s->match_start, s->match_length); s 1671 3rdparty/zlib/deflate.c _tr_tally_dist(s, s->strstart - s->match_start, s 1672 3rdparty/zlib/deflate.c s->match_length - MIN_MATCH, bflush); s 1674 3rdparty/zlib/deflate.c s->lookahead -= s->match_length; s 1680 3rdparty/zlib/deflate.c if (s->match_length <= s->max_insert_length && s 1681 3rdparty/zlib/deflate.c s->lookahead >= MIN_MATCH) { s 1682 3rdparty/zlib/deflate.c s->match_length--; /* string at strstart already in table */ s 1684 3rdparty/zlib/deflate.c s->strstart++; s 1685 3rdparty/zlib/deflate.c INSERT_STRING(s, s->strstart, hash_head); s 1689 3rdparty/zlib/deflate.c } while (--s->match_length != 0); s 1690 3rdparty/zlib/deflate.c s->strstart++; s 1694 3rdparty/zlib/deflate.c s->strstart += s->match_length; s 1695 3rdparty/zlib/deflate.c s->match_length = 0; s 1696 3rdparty/zlib/deflate.c s->ins_h = s->window[s->strstart]; s 1697 3rdparty/zlib/deflate.c UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]); s 1707 3rdparty/zlib/deflate.c Tracevv((stderr,"%c", s->window[s->strstart])); s 1708 3rdparty/zlib/deflate.c _tr_tally_lit (s, s->window[s->strstart], bflush); s 1709 3rdparty/zlib/deflate.c s->lookahead--; s 1710 3rdparty/zlib/deflate.c s->strstart++; s 1712 3rdparty/zlib/deflate.c if (bflush) FLUSH_BLOCK(s, 0); s 1714 3rdparty/zlib/deflate.c s->insert = s->strstart < MIN_MATCH-1 ? s->strstart : MIN_MATCH-1; s 1716 3rdparty/zlib/deflate.c FLUSH_BLOCK(s, 1); s 1719 3rdparty/zlib/deflate.c if (s->last_lit) s 1720 3rdparty/zlib/deflate.c FLUSH_BLOCK(s, 0); s 1730 3rdparty/zlib/deflate.c local block_state deflate_slow(s, flush) s 1731 3rdparty/zlib/deflate.c deflate_state *s; s 1744 3rdparty/zlib/deflate.c if (s->lookahead < MIN_LOOKAHEAD) { s 1745 3rdparty/zlib/deflate.c fill_window(s); s 1746 3rdparty/zlib/deflate.c if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) { s 1749 3rdparty/zlib/deflate.c if (s->lookahead == 0) break; /* flush the current block */ s 1756 3rdparty/zlib/deflate.c if (s->lookahead >= MIN_MATCH) { s 1757 3rdparty/zlib/deflate.c INSERT_STRING(s, s->strstart, hash_head); s 1762 3rdparty/zlib/deflate.c s->prev_length = s->match_length, s->prev_match = s->match_start; s 1763 3rdparty/zlib/deflate.c s->match_length = MIN_MATCH-1; s 1765 3rdparty/zlib/deflate.c if (hash_head != NIL && s->prev_length < s->max_lazy_match && s 1766 3rdparty/zlib/deflate.c s->strstart - hash_head <= MAX_DIST(s)) { s 1771 3rdparty/zlib/deflate.c s->match_length = longest_match (s, hash_head); s 1774 3rdparty/zlib/deflate.c if (s->match_length <= 5 && (s->strategy == Z_FILTERED s 1776 3rdparty/zlib/deflate.c || (s->match_length == MIN_MATCH && s 1777 3rdparty/zlib/deflate.c s->strstart - s->match_start > TOO_FAR) s 1784 3rdparty/zlib/deflate.c s->match_length = MIN_MATCH-1; s 1790 3rdparty/zlib/deflate.c if (s->prev_length >= MIN_MATCH && s->match_length <= s->prev_length) { s 1791 3rdparty/zlib/deflate.c uInt max_insert = s->strstart + s->lookahead - MIN_MATCH; s 1794 3rdparty/zlib/deflate.c check_match(s, s->strstart-1, s->prev_match, s->prev_length); s 1796 3rdparty/zlib/deflate.c _tr_tally_dist(s, s->strstart -1 - s->prev_match, s 1797 3rdparty/zlib/deflate.c s->prev_length - MIN_MATCH, bflush); s 1804 3rdparty/zlib/deflate.c s->lookahead -= s->prev_length-1; s 1805 3rdparty/zlib/deflate.c s->prev_length -= 2; s 1807 3rdparty/zlib/deflate.c if (++s->strstart <= max_insert) { s 1808 3rdparty/zlib/deflate.c INSERT_STRING(s, s->strstart, hash_head); s 1810 3rdparty/zlib/deflate.c } while (--s->prev_length != 0); s 1811 3rdparty/zlib/deflate.c s->match_available = 0; s 1812 3rdparty/zlib/deflate.c s->match_length = MIN_MATCH-1; s 1813 3rdparty/zlib/deflate.c s->strstart++; s 1815 3rdparty/zlib/deflate.c if (bflush) FLUSH_BLOCK(s, 0); s 1817 3rdparty/zlib/deflate.c } else if (s->match_available) { s 1822 3rdparty/zlib/deflate.c Tracevv((stderr,"%c", s->window[s->strstart-1])); s 1823 3rdparty/zlib/deflate.c _tr_tally_lit(s, s->window[s->strstart-1], bflush); s 1825 3rdparty/zlib/deflate.c FLUSH_BLOCK_ONLY(s, 0); s 1827 3rdparty/zlib/deflate.c s->strstart++; s 1828 3rdparty/zlib/deflate.c s->lookahead--; s 1829 3rdparty/zlib/deflate.c if (s->strm->avail_out == 0) return need_more; s 1834 3rdparty/zlib/deflate.c s->match_available = 1; s 1835 3rdparty/zlib/deflate.c s->strstart++; s 1836 3rdparty/zlib/deflate.c s->lookahead--; s 1840 3rdparty/zlib/deflate.c if (s->match_available) { s 1841 3rdparty/zlib/deflate.c Tracevv((stderr,"%c", s->window[s->strstart-1])); s 1842 3rdparty/zlib/deflate.c _tr_tally_lit(s, s->window[s->strstart-1], bflush); s 1843 3rdparty/zlib/deflate.c s->match_available = 0; s 1845 3rdparty/zlib/deflate.c s->insert = s->strstart < MIN_MATCH-1 ? s->strstart : MIN_MATCH-1; s 1847 3rdparty/zlib/deflate.c FLUSH_BLOCK(s, 1); s 1850 3rdparty/zlib/deflate.c if (s->last_lit) s 1851 3rdparty/zlib/deflate.c FLUSH_BLOCK(s, 0); s 1861 3rdparty/zlib/deflate.c local block_state deflate_rle(s, flush) s 1862 3rdparty/zlib/deflate.c deflate_state *s; s 1874 3rdparty/zlib/deflate.c if (s->lookahead <= MAX_MATCH) { s 1875 3rdparty/zlib/deflate.c fill_window(s); s 1876 3rdparty/zlib/deflate.c if (s->lookahead <= MAX_MATCH && flush == Z_NO_FLUSH) { s 1879 3rdparty/zlib/deflate.c if (s->lookahead == 0) break; /* flush the current block */ s 1883 3rdparty/zlib/deflate.c s->match_length = 0; s 1884 3rdparty/zlib/deflate.c if (s->lookahead >= MIN_MATCH && s->strstart > 0) { s 1885 3rdparty/zlib/deflate.c scan = s->window + s->strstart - 1; s 1888 3rdparty/zlib/deflate.c strend = s->window + s->strstart + MAX_MATCH; s 1895 3rdparty/zlib/deflate.c s->match_length = MAX_MATCH - (int)(strend - scan); s 1896 3rdparty/zlib/deflate.c if (s->match_length > s->lookahead) s 1897 3rdparty/zlib/deflate.c s->match_length = s->lookahead; s 1899 3rdparty/zlib/deflate.c Assert(scan <= s->window+(uInt)(s->window_size-1), "wild scan"); s 1903 3rdparty/zlib/deflate.c if (s->match_length >= MIN_MATCH) { s 1904 3rdparty/zlib/deflate.c check_match(s, s->strstart, s->strstart - 1, s->match_length); s 1906 3rdparty/zlib/deflate.c _tr_tally_dist(s, 1, s->match_length - MIN_MATCH, bflush); s 1908 3rdparty/zlib/deflate.c s->lookahead -= s->match_length; s 1909 3rdparty/zlib/deflate.c s->strstart += s->match_length; s 1910 3rdparty/zlib/deflate.c s->match_length = 0; s 1913 3rdparty/zlib/deflate.c Tracevv((stderr,"%c", s->window[s->strstart])); s 1914 3rdparty/zlib/deflate.c _tr_tally_lit (s, s->window[s->strstart], bflush); s 1915 3rdparty/zlib/deflate.c s->lookahead--; s 1916 3rdparty/zlib/deflate.c s->strstart++; s 1918 3rdparty/zlib/deflate.c if (bflush) FLUSH_BLOCK(s, 0); s 1920 3rdparty/zlib/deflate.c s->insert = 0; s 1922 3rdparty/zlib/deflate.c FLUSH_BLOCK(s, 1); s 1925 3rdparty/zlib/deflate.c if (s->last_lit) s 1926 3rdparty/zlib/deflate.c FLUSH_BLOCK(s, 0); s 1934 3rdparty/zlib/deflate.c local block_state deflate_huff(s, flush) s 1935 3rdparty/zlib/deflate.c deflate_state *s; s 1942 3rdparty/zlib/deflate.c if (s->lookahead == 0) { s 1943 3rdparty/zlib/deflate.c fill_window(s); s 1944 3rdparty/zlib/deflate.c if (s->lookahead == 0) { s 1952 3rdparty/zlib/deflate.c s->match_length = 0; s 1953 3rdparty/zlib/deflate.c Tracevv((stderr,"%c", s->window[s->strstart])); s 1954 3rdparty/zlib/deflate.c _tr_tally_lit (s, s->window[s->strstart], bflush); s 1955 3rdparty/zlib/deflate.c s->lookahead--; s 1956 3rdparty/zlib/deflate.c s->strstart++; s 1957 3rdparty/zlib/deflate.c if (bflush) FLUSH_BLOCK(s, 0); s 1959 3rdparty/zlib/deflate.c s->insert = 0; s 1961 3rdparty/zlib/deflate.c FLUSH_BLOCK(s, 1); s 1964 3rdparty/zlib/deflate.c if (s->last_lit) s 1965 3rdparty/zlib/deflate.c FLUSH_BLOCK(s, 0); s 278 3rdparty/zlib/deflate.h #define put_byte(s, c) {s->pending_buf[s->pending++] = (c);} s 286 3rdparty/zlib/deflate.h #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) s 296 3rdparty/zlib/deflate.h void ZLIB_INTERNAL _tr_init OF((deflate_state *s)); s 297 3rdparty/zlib/deflate.h int ZLIB_INTERNAL _tr_tally OF((deflate_state *s, unsigned dist, unsigned lc)); s 298 3rdparty/zlib/deflate.h void ZLIB_INTERNAL _tr_flush_block OF((deflate_state *s, charf *buf, s 300 3rdparty/zlib/deflate.h void ZLIB_INTERNAL _tr_flush_bits OF((deflate_state *s)); s 301 3rdparty/zlib/deflate.h void ZLIB_INTERNAL _tr_align OF((deflate_state *s)); s 302 3rdparty/zlib/deflate.h void ZLIB_INTERNAL _tr_stored_block OF((deflate_state *s, charf *buf, s 323 3rdparty/zlib/deflate.h # define _tr_tally_lit(s, c, flush) \ s 325 3rdparty/zlib/deflate.h s->d_buf[s->last_lit] = 0; \ s 326 3rdparty/zlib/deflate.h s->l_buf[s->last_lit++] = cc; \ s 327 3rdparty/zlib/deflate.h s->dyn_ltree[cc].Freq++; \ s 328 3rdparty/zlib/deflate.h flush = (s->last_lit == s->lit_bufsize-1); \ s 330 3rdparty/zlib/deflate.h # define _tr_tally_dist(s, distance, length, flush) \ s 333 3rdparty/zlib/deflate.h s->d_buf[s->last_lit] = dist; \ s 334 3rdparty/zlib/deflate.h s->l_buf[s->last_lit++] = len; \ s 336 3rdparty/zlib/deflate.h s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \ s 337 3rdparty/zlib/deflate.h s->dyn_dtree[d_code(dist)].Freq++; \ s 338 3rdparty/zlib/deflate.h flush = (s->last_lit == s->lit_bufsize-1); \ s 341 3rdparty/zlib/deflate.h # define _tr_tally_lit(s, c, flush) flush = _tr_tally(s, 0, c) s 342 3rdparty/zlib/deflate.h # define _tr_tally_dist(s, distance, length, flush) \ s 343 3rdparty/zlib/deflate.h flush = _tr_tally(s, distance, length) s 139 3rdparty/zlib/trees.c local void init_block OF((deflate_state *s)); s 140 3rdparty/zlib/trees.c local void pqdownheap OF((deflate_state *s, ct_data *tree, int k)); s 141 3rdparty/zlib/trees.c local void gen_bitlen OF((deflate_state *s, tree_desc *desc)); s 143 3rdparty/zlib/trees.c local void build_tree OF((deflate_state *s, tree_desc *desc)); s 144 3rdparty/zlib/trees.c local void scan_tree OF((deflate_state *s, ct_data *tree, int max_code)); s 145 3rdparty/zlib/trees.c local void send_tree OF((deflate_state *s, ct_data *tree, int max_code)); s 146 3rdparty/zlib/trees.c local int build_bl_tree OF((deflate_state *s)); s 147 3rdparty/zlib/trees.c local void send_all_trees OF((deflate_state *s, int lcodes, int dcodes, s 149 3rdparty/zlib/trees.c local void compress_block OF((deflate_state *s, const ct_data *ltree, s 151 3rdparty/zlib/trees.c local int detect_data_type OF((deflate_state *s)); s 153 3rdparty/zlib/trees.c local void bi_windup OF((deflate_state *s)); s 154 3rdparty/zlib/trees.c local void bi_flush OF((deflate_state *s)); s 155 3rdparty/zlib/trees.c local void copy_block OF((deflate_state *s, charf *buf, unsigned len, s 163 3rdparty/zlib/trees.c # define send_code(s, c, tree) send_bits(s, tree[c].Code, tree[c].Len) s 167 3rdparty/zlib/trees.c # define send_code(s, c, tree) \ s 169 3rdparty/zlib/trees.c send_bits(s, tree[c].Code, tree[c].Len); } s 176 3rdparty/zlib/trees.c #define put_short(s, w) { \ s 177 3rdparty/zlib/trees.c put_byte(s, (uch)((w) & 0xff)); \ s 178 3rdparty/zlib/trees.c put_byte(s, (uch)((ush)(w) >> 8)); \ s 186 3rdparty/zlib/trees.c local void send_bits OF((deflate_state *s, int value, int length)); s 188 3rdparty/zlib/trees.c local void send_bits(s, value, length) s 189 3rdparty/zlib/trees.c deflate_state *s; s 195 3rdparty/zlib/trees.c s->bits_sent += (ulg)length; s 201 3rdparty/zlib/trees.c if (s->bi_valid > (int)Buf_size - length) { s 202 3rdparty/zlib/trees.c s->bi_buf |= (ush)value << s->bi_valid; s 203 3rdparty/zlib/trees.c put_short(s, s->bi_buf); s 204 3rdparty/zlib/trees.c s->bi_buf = (ush)value >> (Buf_size - s->bi_valid); s 205 3rdparty/zlib/trees.c s->bi_valid += length - Buf_size; s 207 3rdparty/zlib/trees.c s->bi_buf |= (ush)value << s->bi_valid; s 208 3rdparty/zlib/trees.c s->bi_valid += length; s 213 3rdparty/zlib/trees.c #define send_bits(s, value, length) \ s 215 3rdparty/zlib/trees.c if (s->bi_valid > (int)Buf_size - len) {\ s 217 3rdparty/zlib/trees.c s->bi_buf |= (ush)val << s->bi_valid;\ s 218 3rdparty/zlib/trees.c put_short(s, s->bi_buf);\ s 219 3rdparty/zlib/trees.c s->bi_buf = (ush)val >> (Buf_size - s->bi_valid);\ s 220 3rdparty/zlib/trees.c s->bi_valid += len - Buf_size;\ s 222 3rdparty/zlib/trees.c s->bi_buf |= (ush)(value) << s->bi_valid;\ s 223 3rdparty/zlib/trees.c s->bi_valid += len;\ s 381 3rdparty/zlib/trees.c void ZLIB_INTERNAL _tr_init(s) s 382 3rdparty/zlib/trees.c deflate_state *s; s 386 3rdparty/zlib/trees.c s->l_desc.dyn_tree = s->dyn_ltree; s 387 3rdparty/zlib/trees.c s->l_desc.stat_desc = &static_l_desc; s 389 3rdparty/zlib/trees.c s->d_desc.dyn_tree = s->dyn_dtree; s 390 3rdparty/zlib/trees.c s->d_desc.stat_desc = &static_d_desc; s 392 3rdparty/zlib/trees.c s->bl_desc.dyn_tree = s->bl_tree; s 393 3rdparty/zlib/trees.c s->bl_desc.stat_desc = &static_bl_desc; s 395 3rdparty/zlib/trees.c s->bi_buf = 0; s 396 3rdparty/zlib/trees.c s->bi_valid = 0; s 398 3rdparty/zlib/trees.c s->compressed_len = 0L; s 399 3rdparty/zlib/trees.c s->bits_sent = 0L; s 403 3rdparty/zlib/trees.c init_block(s); s 409 3rdparty/zlib/trees.c local void init_block(s) s 410 3rdparty/zlib/trees.c deflate_state *s; s 415 3rdparty/zlib/trees.c for (n = 0; n < L_CODES; n++) s->dyn_ltree[n].Freq = 0; s 416 3rdparty/zlib/trees.c for (n = 0; n < D_CODES; n++) s->dyn_dtree[n].Freq = 0; s 417 3rdparty/zlib/trees.c for (n = 0; n < BL_CODES; n++) s->bl_tree[n].Freq = 0; s 419 3rdparty/zlib/trees.c s->dyn_ltree[END_BLOCK].Freq = 1; s 420 3rdparty/zlib/trees.c s->opt_len = s->static_len = 0L; s 421 3rdparty/zlib/trees.c s->last_lit = s->matches = 0; s 432 3rdparty/zlib/trees.c #define pqremove(s, tree, top) \ s 434 3rdparty/zlib/trees.c top = s->heap[SMALLEST]; \ s 435 3rdparty/zlib/trees.c s->heap[SMALLEST] = s->heap[s->heap_len--]; \ s 436 3rdparty/zlib/trees.c pqdownheap(s, tree, SMALLEST); \ s 453 3rdparty/zlib/trees.c local void pqdownheap(s, tree, k) s 454 3rdparty/zlib/trees.c deflate_state *s; s 458 3rdparty/zlib/trees.c int v = s->heap[k]; s 460 3rdparty/zlib/trees.c while (j <= s->heap_len) { s 462 3rdparty/zlib/trees.c if (j < s->heap_len && s 463 3rdparty/zlib/trees.c smaller(tree, s->heap[j+1], s->heap[j], s->depth)) { s 467 3rdparty/zlib/trees.c if (smaller(tree, v, s->heap[j], s->depth)) break; s 470 3rdparty/zlib/trees.c s->heap[k] = s->heap[j]; k = j; s 475 3rdparty/zlib/trees.c s->heap[k] = v; s 488 3rdparty/zlib/trees.c local void gen_bitlen(s, desc) s 489 3rdparty/zlib/trees.c deflate_state *s; s 505 3rdparty/zlib/trees.c for (bits = 0; bits <= MAX_BITS; bits++) s->bl_count[bits] = 0; s 510 3rdparty/zlib/trees.c tree[s->heap[s->heap_max]].Len = 0; /* root of the heap */ s 512 3rdparty/zlib/trees.c for (h = s->heap_max+1; h < HEAP_SIZE; h++) { s 513 3rdparty/zlib/trees.c n = s->heap[h]; s 521 3rdparty/zlib/trees.c s->bl_count[bits]++; s 525 3rdparty/zlib/trees.c s->opt_len += (ulg)f * (bits + xbits); s 526 3rdparty/zlib/trees.c if (stree) s->static_len += (ulg)f * (stree[n].Len + xbits); s 536 3rdparty/zlib/trees.c while (s->bl_count[bits] == 0) bits--; s 537 3rdparty/zlib/trees.c s->bl_count[bits]--; /* move one leaf down the tree */ s 538 3rdparty/zlib/trees.c s->bl_count[bits+1] += 2; /* move one overflow item as its brother */ s 539 3rdparty/zlib/trees.c s->bl_count[max_length]--; s 552 3rdparty/zlib/trees.c n = s->bl_count[bits]; s 554 3rdparty/zlib/trees.c m = s->heap[--h]; s 558 3rdparty/zlib/trees.c s->opt_len += ((long)bits - (long)tree[m].Len) s 617 3rdparty/zlib/trees.c local void build_tree(s, desc) s 618 3rdparty/zlib/trees.c deflate_state *s; s 632 3rdparty/zlib/trees.c s->heap_len = 0, s->heap_max = HEAP_SIZE; s 636 3rdparty/zlib/trees.c s->heap[++(s->heap_len)] = max_code = n; s 637 3rdparty/zlib/trees.c s->depth[n] = 0; s 648 3rdparty/zlib/trees.c while (s->heap_len < 2) { s 649 3rdparty/zlib/trees.c node = s->heap[++(s->heap_len)] = (max_code < 2 ? ++max_code : 0); s 651 3rdparty/zlib/trees.c s->depth[node] = 0; s 652 3rdparty/zlib/trees.c s->opt_len--; if (stree) s->static_len -= stree[node].Len; s 660 3rdparty/zlib/trees.c for (n = s->heap_len/2; n >= 1; n--) pqdownheap(s, tree, n); s 667 3rdparty/zlib/trees.c pqremove(s, tree, n); /* n = node of least frequency */ s 668 3rdparty/zlib/trees.c m = s->heap[SMALLEST]; /* m = node of next least frequency */ s 670 3rdparty/zlib/trees.c s->heap[--(s->heap_max)] = n; /* keep the nodes sorted by frequency */ s 671 3rdparty/zlib/trees.c s->heap[--(s->heap_max)] = m; s 675 3rdparty/zlib/trees.c s->depth[node] = (uch)((s->depth[n] >= s->depth[m] ? s 676 3rdparty/zlib/trees.c s->depth[n] : s->depth[m]) + 1); s 679 3rdparty/zlib/trees.c if (tree == s->bl_tree) { s 685 3rdparty/zlib/trees.c s->heap[SMALLEST] = node++; s 686 3rdparty/zlib/trees.c pqdownheap(s, tree, SMALLEST); s 688 3rdparty/zlib/trees.c } while (s->heap_len >= 2); s 690 3rdparty/zlib/trees.c s->heap[--(s->heap_max)] = s->heap[SMALLEST]; s 695 3rdparty/zlib/trees.c gen_bitlen(s, (tree_desc *)desc); s 698 3rdparty/zlib/trees.c gen_codes ((ct_data *)tree, max_code, s->bl_count); s 705 3rdparty/zlib/trees.c local void scan_tree (s, tree, max_code) s 706 3rdparty/zlib/trees.c deflate_state *s; s 726 3rdparty/zlib/trees.c s->bl_tree[curlen].Freq += count; s 728 3rdparty/zlib/trees.c if (curlen != prevlen) s->bl_tree[curlen].Freq++; s 729 3rdparty/zlib/trees.c s->bl_tree[REP_3_6].Freq++; s 731 3rdparty/zlib/trees.c s->bl_tree[REPZ_3_10].Freq++; s 733 3rdparty/zlib/trees.c s->bl_tree[REPZ_11_138].Freq++; s 750 3rdparty/zlib/trees.c local void send_tree (s, tree, max_code) s 751 3rdparty/zlib/trees.c deflate_state *s; s 771 3rdparty/zlib/trees.c do { send_code(s, curlen, s->bl_tree); } while (--count != 0); s 775 3rdparty/zlib/trees.c send_code(s, curlen, s->bl_tree); count--; s 778 3rdparty/zlib/trees.c send_code(s, REP_3_6, s->bl_tree); send_bits(s, count-3, 2); s 781 3rdparty/zlib/trees.c send_code(s, REPZ_3_10, s->bl_tree); send_bits(s, count-3, 3); s 784 3rdparty/zlib/trees.c send_code(s, REPZ_11_138, s->bl_tree); send_bits(s, count-11, 7); s 801 3rdparty/zlib/trees.c local int build_bl_tree(s) s 802 3rdparty/zlib/trees.c deflate_state *s; s 807 3rdparty/zlib/trees.c scan_tree(s, (ct_data *)s->dyn_ltree, s->l_desc.max_code); s 808 3rdparty/zlib/trees.c scan_tree(s, (ct_data *)s->dyn_dtree, s->d_desc.max_code); s 811 3rdparty/zlib/trees.c build_tree(s, (tree_desc *)(&(s->bl_desc))); s 821 3rdparty/zlib/trees.c if (s->bl_tree[bl_order[max_blindex]].Len != 0) break; s 824 3rdparty/zlib/trees.c s->opt_len += 3*(max_blindex+1) + 5+5+4; s 826 3rdparty/zlib/trees.c s->opt_len, s->static_len)); s 836 3rdparty/zlib/trees.c local void send_all_trees(s, lcodes, dcodes, blcodes) s 837 3rdparty/zlib/trees.c deflate_state *s; s 846 3rdparty/zlib/trees.c send_bits(s, lcodes-257, 5); /* not +255 as stated in appnote.txt */ s 847 3rdparty/zlib/trees.c send_bits(s, dcodes-1, 5); s 848 3rdparty/zlib/trees.c send_bits(s, blcodes-4, 4); /* not -3 as stated in appnote.txt */ s 851 3rdparty/zlib/trees.c send_bits(s, s->bl_tree[bl_order[rank]].Len, 3); s 853 3rdparty/zlib/trees.c Tracev((stderr, "\nbl tree: sent %ld", s->bits_sent)); s 855 3rdparty/zlib/trees.c send_tree(s, (ct_data *)s->dyn_ltree, lcodes-1); /* literal tree */ s 856 3rdparty/zlib/trees.c Tracev((stderr, "\nlit tree: sent %ld", s->bits_sent)); s 858 3rdparty/zlib/trees.c send_tree(s, (ct_data *)s->dyn_dtree, dcodes-1); /* distance tree */ s 859 3rdparty/zlib/trees.c Tracev((stderr, "\ndist tree: sent %ld", s->bits_sent)); s 865 3rdparty/zlib/trees.c void ZLIB_INTERNAL _tr_stored_block(s, buf, stored_len, last) s 866 3rdparty/zlib/trees.c deflate_state *s; s 871 3rdparty/zlib/trees.c send_bits(s, (STORED_BLOCK<<1)+last, 3); /* send block type */ s 873 3rdparty/zlib/trees.c s->compressed_len = (s->compressed_len + 3 + 7) & (ulg)~7L; s 874 3rdparty/zlib/trees.c s->compressed_len += (stored_len + 4) << 3; s 876 3rdparty/zlib/trees.c copy_block(s, buf, (unsigned)stored_len, 1); /* with header */ s 882 3rdparty/zlib/trees.c void ZLIB_INTERNAL _tr_flush_bits(s) s 883 3rdparty/zlib/trees.c deflate_state *s; s 885 3rdparty/zlib/trees.c bi_flush(s); s 892 3rdparty/zlib/trees.c void ZLIB_INTERNAL _tr_align(s) s 893 3rdparty/zlib/trees.c deflate_state *s; s 895 3rdparty/zlib/trees.c send_bits(s, STATIC_TREES<<1, 3); s 896 3rdparty/zlib/trees.c send_code(s, END_BLOCK, static_ltree); s 898 3rdparty/zlib/trees.c s->compressed_len += 10L; /* 3 for block type, 7 for EOB */ s 900 3rdparty/zlib/trees.c bi_flush(s); s 907 3rdparty/zlib/trees.c void ZLIB_INTERNAL _tr_flush_block(s, buf, stored_len, last) s 908 3rdparty/zlib/trees.c deflate_state *s; s 917 3rdparty/zlib/trees.c if (s->level > 0) { s 920 3rdparty/zlib/trees.c if (s->strm->data_type == Z_UNKNOWN) s 921 3rdparty/zlib/trees.c s->strm->data_type = detect_data_type(s); s 924 3rdparty/zlib/trees.c build_tree(s, (tree_desc *)(&(s->l_desc))); s 925 3rdparty/zlib/trees.c Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len, s 926 3rdparty/zlib/trees.c s->static_len)); s 928 3rdparty/zlib/trees.c build_tree(s, (tree_desc *)(&(s->d_desc))); s 929 3rdparty/zlib/trees.c Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len, s 930 3rdparty/zlib/trees.c s->static_len)); s 938 3rdparty/zlib/trees.c max_blindex = build_bl_tree(s); s 941 3rdparty/zlib/trees.c opt_lenb = (s->opt_len+3+7)>>3; s 942 3rdparty/zlib/trees.c static_lenb = (s->static_len+3+7)>>3; s 945 3rdparty/zlib/trees.c opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len, s 946 3rdparty/zlib/trees.c s->last_lit)); s 967 3rdparty/zlib/trees.c _tr_stored_block(s, buf, stored_len, last); s 972 3rdparty/zlib/trees.c } else if (s->strategy == Z_FIXED || static_lenb == opt_lenb) { s 974 3rdparty/zlib/trees.c send_bits(s, (STATIC_TREES<<1)+last, 3); s 975 3rdparty/zlib/trees.c compress_block(s, (const ct_data *)static_ltree, s 978 3rdparty/zlib/trees.c s->compressed_len += 3 + s->static_len; s 981 3rdparty/zlib/trees.c send_bits(s, (DYN_TREES<<1)+last, 3); s 982 3rdparty/zlib/trees.c send_all_trees(s, s->l_desc.max_code+1, s->d_desc.max_code+1, s 984 3rdparty/zlib/trees.c compress_block(s, (const ct_data *)s->dyn_ltree, s 985 3rdparty/zlib/trees.c (const ct_data *)s->dyn_dtree); s 987 3rdparty/zlib/trees.c s->compressed_len += 3 + s->opt_len; s 990 3rdparty/zlib/trees.c Assert (s->compressed_len == s->bits_sent, "bad compressed size"); s 994 3rdparty/zlib/trees.c init_block(s); s 997 3rdparty/zlib/trees.c bi_windup(s); s 999 3rdparty/zlib/trees.c s->compressed_len += 7; /* align on byte boundary */ s 1002 3rdparty/zlib/trees.c Tracev((stderr,"\ncomprlen %lu(%lu) ", s->compressed_len>>3, s 1003 3rdparty/zlib/trees.c s->compressed_len-7*last)); s 1010 3rdparty/zlib/trees.c int ZLIB_INTERNAL _tr_tally (s, dist, lc) s 1011 3rdparty/zlib/trees.c deflate_state *s; s 1015 3rdparty/zlib/trees.c s->d_buf[s->last_lit] = (ush)dist; s 1016 3rdparty/zlib/trees.c s->l_buf[s->last_lit++] = (uch)lc; s 1019 3rdparty/zlib/trees.c s->dyn_ltree[lc].Freq++; s 1021 3rdparty/zlib/trees.c s->matches++; s 1024 3rdparty/zlib/trees.c Assert((ush)dist < (ush)MAX_DIST(s) && s 1028 3rdparty/zlib/trees.c s->dyn_ltree[_length_code[lc]+LITERALS+1].Freq++; s 1029 3rdparty/zlib/trees.c s->dyn_dtree[d_code(dist)].Freq++; s 1034 3rdparty/zlib/trees.c if ((s->last_lit & 0x1fff) == 0 && s->level > 2) { s 1036 3rdparty/zlib/trees.c ulg out_length = (ulg)s->last_lit*8L; s 1037 3rdparty/zlib/trees.c ulg in_length = (ulg)((long)s->strstart - s->block_start); s 1040 3rdparty/zlib/trees.c out_length += (ulg)s->dyn_dtree[dcode].Freq * s 1045 3rdparty/zlib/trees.c s->last_lit, in_length, out_length, s 1047 3rdparty/zlib/trees.c if (s->matches < s->last_lit/2 && out_length < in_length/2) return 1; s 1050 3rdparty/zlib/trees.c return (s->last_lit == s->lit_bufsize-1); s 1060 3rdparty/zlib/trees.c local void compress_block(s, ltree, dtree) s 1061 3rdparty/zlib/trees.c deflate_state *s; s 1071 3rdparty/zlib/trees.c if (s->last_lit != 0) do { s 1072 3rdparty/zlib/trees.c dist = s->d_buf[lx]; s 1073 3rdparty/zlib/trees.c lc = s->l_buf[lx++]; s 1075 3rdparty/zlib/trees.c send_code(s, lc, ltree); /* send a literal byte */ s 1080 3rdparty/zlib/trees.c send_code(s, code+LITERALS+1, ltree); /* send the length code */ s 1084 3rdparty/zlib/trees.c send_bits(s, lc, extra); /* send the extra length bits */ s 1090 3rdparty/zlib/trees.c send_code(s, code, dtree); /* send the distance code */ s 1094 3rdparty/zlib/trees.c send_bits(s, dist, extra); /* send the extra distance bits */ s 1099 3rdparty/zlib/trees.c Assert((uInt)(s->pending) < s->lit_bufsize + 2*lx, s 1102 3rdparty/zlib/trees.c } while (lx < s->last_lit); s 1104 3rdparty/zlib/trees.c send_code(s, END_BLOCK, ltree); s 1120 3rdparty/zlib/trees.c local int detect_data_type(s) s 1121 3rdparty/zlib/trees.c deflate_state *s; s 1132 3rdparty/zlib/trees.c if ((black_mask & 1) && (s->dyn_ltree[n].Freq != 0)) s 1136 3rdparty/zlib/trees.c if (s->dyn_ltree[9].Freq != 0 || s->dyn_ltree[10].Freq != 0 s 1137 3rdparty/zlib/trees.c || s->dyn_ltree[13].Freq != 0) s 1140 3rdparty/zlib/trees.c if (s->dyn_ltree[n].Freq != 0) s 1169 3rdparty/zlib/trees.c local void bi_flush(s) s 1170 3rdparty/zlib/trees.c deflate_state *s; s 1172 3rdparty/zlib/trees.c if (s->bi_valid == 16) { s 1173 3rdparty/zlib/trees.c put_short(s, s->bi_buf); s 1174 3rdparty/zlib/trees.c s->bi_buf = 0; s 1175 3rdparty/zlib/trees.c s->bi_valid = 0; s 1176 3rdparty/zlib/trees.c } else if (s->bi_valid >= 8) { s 1177 3rdparty/zlib/trees.c put_byte(s, (Byte)s->bi_buf); s 1178 3rdparty/zlib/trees.c s->bi_buf >>= 8; s 1179 3rdparty/zlib/trees.c s->bi_valid -= 8; s 1186 3rdparty/zlib/trees.c local void bi_windup(s) s 1187 3rdparty/zlib/trees.c deflate_state *s; s 1189 3rdparty/zlib/trees.c if (s->bi_valid > 8) { s 1190 3rdparty/zlib/trees.c put_short(s, s->bi_buf); s 1191 3rdparty/zlib/trees.c } else if (s->bi_valid > 0) { s 1192 3rdparty/zlib/trees.c put_byte(s, (Byte)s->bi_buf); s 1194 3rdparty/zlib/trees.c s->bi_buf = 0; s 1195 3rdparty/zlib/trees.c s->bi_valid = 0; s 1197 3rdparty/zlib/trees.c s->bits_sent = (s->bits_sent+7) & ~7; s 1205 3rdparty/zlib/trees.c local void copy_block(s, buf, len, header) s 1206 3rdparty/zlib/trees.c deflate_state *s; s 1211 3rdparty/zlib/trees.c bi_windup(s); /* align on byte boundary */ s 1214 3rdparty/zlib/trees.c put_short(s, (ush)len); s 1215 3rdparty/zlib/trees.c put_short(s, (ush)~len); s 1217 3rdparty/zlib/trees.c s->bits_sent += 2*16; s 1221 3rdparty/zlib/trees.c s->bits_sent += (ulg)len<<3; s 1224 3rdparty/zlib/trees.c put_byte(s, *buf++); s 1364 3rdparty/zlib/zlib.h ZEXTERN int ZEXPORT gzputs OF((gzFile file, const char *s)); s 247 3rdparty/zlib/zutil.h #define TRY_FREE(s, p) {if (p) ZFREE(s, p);} s 414 apps/createsamples/utility.cpp uchar* s = src_data + isrc_y * src_step + isrc_x; s 423 apps/createsamples/utility.cpp i00 = s[0]; s 428 apps/createsamples/utility.cpp i10 = s[1]; s 433 apps/createsamples/utility.cpp i01 = s[src_step]; s 438 apps/createsamples/utility.cpp i11 = s[src_step+1]; s 439 apps/traincascade/boost.cpp unsigned short* udst_idx = (unsigned short*)(buf->data.s + root->buf_idx*get_length_subbuf() + s 469 apps/traincascade/boost.cpp unsigned short* udst = (unsigned short*)(buf->data.s + root->buf_idx*get_length_subbuf() + s 486 apps/traincascade/boost.cpp unsigned short* sample_idx_dst = (unsigned short*)(buf->data.s + root->buf_idx*get_length_subbuf() + s 680 apps/traincascade/boost.cpp udst = (unsigned short*)(buf->data.s + (size_t)work_var_count*sample_count); s 753 apps/traincascade/boost.cpp const unsigned short* shortIndices = (const unsigned short*)(buf->data.s + n->buf_idx*get_length_subbuf() + s 851 apps/traincascade/boost.cpp udst = (unsigned short*)_buf->data.s; s 889 apps/traincascade/boost.cpp udst = (unsigned short*)_buf->data.s; s 1169 apps/traincascade/boost.cpp ldst = (ushort*)(buf->data.s + left->buf_idx*length_buf_row + s 1230 apps/traincascade/boost.cpp unsigned short *ldst = (unsigned short *)(buf->data.s + left->buf_idx*length_buf_row + s 1232 apps/traincascade/boost.cpp unsigned short *rdst = (unsigned short *)(buf->data.s + right->buf_idx*length_buf_row + s 1283 apps/traincascade/boost.cpp unsigned short* ldst = (unsigned short*)(buf->data.s + left->buf_idx*length_buf_row + s 1285 apps/traincascade/boost.cpp unsigned short* rdst = (unsigned short*)(buf->data.s + right->buf_idx*length_buf_row + s 1475 apps/traincascade/boost.cpp unsigned short* labels = (unsigned short*)(buf->data.s + data->data_root->buf_idx*length_buf_row + s 1615 apps/traincascade/boost.cpp double s = sum_response->data.db[i] + 0.5*weak_eval->data.db[i]; s 1616 apps/traincascade/boost.cpp sum_response->data.db[i] = s; s 1617 apps/traincascade/boost.cpp weak_eval->data.db[i] = -2*s; s 1069 apps/traincascade/old_ml.hpp virtual void scale( double s ); s 585 apps/traincascade/old_ml_boost.cpp double s = sum[idx] + responses[i]*w; s 587 apps/traincascade/old_ml_boost.cpp sum[idx] = s; s 614 apps/traincascade/old_ml_boost.cpp double s = sum[idx]; s 615 apps/traincascade/old_ml_boost.cpp lsum += s; L += ni; s 616 apps/traincascade/old_ml_boost.cpp rsum -= s; R -= ni; s 1202 apps/traincascade/old_ml_boost.cpp unsigned short* labels = (unsigned short*)(dtree_data_buf->data.s + data->data_root->buf_idx*length_buf_row + s 1368 apps/traincascade/old_ml_boost.cpp double s = sum_response->data.db[i] + 0.5*weak_eval->data.db[i]; s 1369 apps/traincascade/old_ml_boost.cpp sum_response->data.db[i] = s; s 1370 apps/traincascade/old_ml_boost.cpp weak_eval->data.db[i] = -2*s; s 427 apps/traincascade/old_ml_tree.cpp udst = (unsigned short*)(buf->data.s + (size_t)vi*sample_count); s 543 apps/traincascade/old_ml_tree.cpp udst = (unsigned short*)(buf->data.s + (size_t)vi*sample_count); s 586 apps/traincascade/old_ml_tree.cpp udst = (unsigned short*)(buf->data.s + (size_t)work_var_count*sample_count); s 605 apps/traincascade/old_ml_tree.cpp usdst = (unsigned short*)(buf->data.s + (size_t)(get_work_var_count()-1)*sample_count); s 787 apps/traincascade/old_ml_tree.cpp unsigned short* udst = (unsigned short*)(buf->data.s + root->buf_idx*get_length_subbuf() + s 824 apps/traincascade/old_ml_tree.cpp unsigned short* udst_idx = (unsigned short*)(buf->data.s + root->buf_idx*get_length_subbuf() + s 876 apps/traincascade/old_ml_tree.cpp unsigned short* sample_idx_dst = (unsigned short*)(buf->data.s + root->buf_idx*get_length_subbuf() + s 1197 apps/traincascade/old_ml_tree.cpp const unsigned short* short_indices = (const unsigned short*)(buf->data.s + n->buf_idx*get_length_subbuf() + s 1271 apps/traincascade/old_ml_tree.cpp const unsigned short* short_values = (const unsigned short*)(buf->data.s + n->buf_idx*get_length_subbuf() + s 2135 apps/traincascade/old_ml_tree.cpp int* s = csums + labels[i]*m; s 2137 apps/traincascade/old_ml_tree.cpp s[j] += v[j]; s 2149 apps/traincascade/old_ml_tree.cpp const int* s = csums + i*m; s 2152 apps/traincascade/old_ml_tree.cpp sum += s[j]; s 2166 apps/traincascade/old_ml_tree.cpp const int* s = csums + idx*m; s 2170 apps/traincascade/old_ml_tree.cpp double t = v[j]*alpha - s[j]*beta; s 2468 apps/traincascade/old_ml_tree.cpp double s = sum[idx] + responses[i]; s 2470 apps/traincascade/old_ml_tree.cpp sum[idx] = s; s 2497 apps/traincascade/old_ml_tree.cpp double s = sum[idx]; s 2498 apps/traincascade/old_ml_tree.cpp lsum += s; L += ni; s 2499 apps/traincascade/old_ml_tree.cpp rsum -= s; R -= ni; s 2914 apps/traincascade/old_ml_tree.cpp double s = cv_sum[j] + t; s 2917 apps/traincascade/old_ml_tree.cpp cv_sum[j] = s; s 2934 apps/traincascade/old_ml_tree.cpp double s = cv_sum[j], si = sum - s; s 2939 apps/traincascade/old_ml_tree.cpp node->cv_node_error[j] = s2 - 2*r*s + c*r*r; s 3089 apps/traincascade/old_ml_tree.cpp ldst0 = ldst = (unsigned short*)(buf->data.s + left->buf_idx*length_buf_row + s 3198 apps/traincascade/old_ml_tree.cpp unsigned short *ldst = (unsigned short *)(buf->data.s + left->buf_idx*length_buf_row + s 3200 apps/traincascade/old_ml_tree.cpp unsigned short *rdst = (unsigned short *)(buf->data.s + right->buf_idx*length_buf_row + s 3270 apps/traincascade/old_ml_tree.cpp unsigned short* ldst = (unsigned short*)(buf->data.s + left->buf_idx*length_buf_row + s 3272 apps/traincascade/old_ml_tree.cpp unsigned short* rdst = (unsigned short*)(buf->data.s + right->buf_idx*length_buf_row + s 328 modules/calib3d/src/calibration.cpp double s = sin(theta); s 342 modules/calib3d/src/calibration.cpp R[k] = c*I[k] + c1*rrt[k] + s*_r_x_[k]; s 357 modules/calib3d/src/calibration.cpp double a0 = -s*ri, a1 = (s - 2*c1*itheta)*ri, a2 = c1*itheta; s 358 modules/calib3d/src/calibration.cpp double a3 = (c - s*itheta)*ri, a4 = s*itheta; s 373 modules/calib3d/src/calibration.cpp double theta, s, c; s 396 modules/calib3d/src/calibration.cpp s = std::sqrt((rx*rx + ry*ry + rz*rz)*0.25); s 401 modules/calib3d/src/calibration.cpp if( s < 1e-5 ) s 435 modules/calib3d/src/calibration.cpp double vth = 1/(2*s); s 439 modules/calib3d/src/calibration.cpp double t, dtheta_dtr = -1./s; s 442 modules/calib3d/src/calibration.cpp double dvth_dtheta = -vth*c/s; s 2279 modules/calib3d/src/calibration.cpp double s = 1.; s 2299 modules/calib3d/src/calibration.cpp s = s0*(1 - alpha) + s1*alpha; s 2302 modules/calib3d/src/calibration.cpp fc_new *= s; s 2315 modules/calib3d/src/calibration.cpp cvmSet(_P2, idx, 3, s*cvmGet(_P2, idx, 3)); s 2319 modules/calib3d/src/calibration.cpp *roi1 = cv::Rect(cvCeil((inner1.x - cx1_0)*s + cx1), s 2320 modules/calib3d/src/calibration.cpp cvCeil((inner1.y - cy1_0)*s + cy1), s 2321 modules/calib3d/src/calibration.cpp cvFloor(inner1.width*s), cvFloor(inner1.height*s)) s 2327 modules/calib3d/src/calibration.cpp *roi2 = cv::Rect(cvCeil((inner2.x - cx2_0)*s + cx2), s 2328 modules/calib3d/src/calibration.cpp cvCeil((inner2.y - cy2_0)*s + cy2), s 2329 modules/calib3d/src/calibration.cpp cvFloor(inner2.width*s), cvFloor(inner2.height*s)) s 2376 modules/calib3d/src/calibration.cpp double s = s0*(1 - alpha) + s1*alpha; s 2378 modules/calib3d/src/calibration.cpp M[0][0] *= s; s 2379 modules/calib3d/src/calibration.cpp M[1][1] *= s; s 2385 modules/calib3d/src/calibration.cpp inner = cv::Rect_<float>((float)((inner.x - cx0)*s + cx), s 2386 modules/calib3d/src/calibration.cpp (float)((inner.y - cy0)*s + cy), s 2387 modules/calib3d/src/calibration.cpp (float)(inner.width*s), s 2388 modules/calib3d/src/calibration.cpp (float)(inner.height*s)); s 2753 modules/calib3d/src/calibration.cpp double z, c, s; s 2768 modules/calib3d/src/calibration.cpp s = matM[2][1]; s 2770 modules/calib3d/src/calibration.cpp z = 1./std::sqrt(c * c + s * s + DBL_EPSILON); s 2772 modules/calib3d/src/calibration.cpp s *= z; s 2774 modules/calib3d/src/calibration.cpp double _Qx[3][3] = { {1, 0, 0}, {0, c, s}, {0, -s, c} }; s 2787 modules/calib3d/src/calibration.cpp s = -matR[2][0]; s 2789 modules/calib3d/src/calibration.cpp z = 1./std::sqrt(c * c + s * s + DBL_EPSILON); s 2791 modules/calib3d/src/calibration.cpp s *= z; s 2793 modules/calib3d/src/calibration.cpp double _Qy[3][3] = { {c, 0, -s}, {0, 1, 0}, {s, 0, c} }; s 2807 modules/calib3d/src/calibration.cpp s = matM[1][0]; s 2809 modules/calib3d/src/calibration.cpp z = 1./std::sqrt(c * c + s * s + DBL_EPSILON); s 2811 modules/calib3d/src/calibration.cpp s *= z; s 2813 modules/calib3d/src/calibration.cpp double _Qz[3][3] = { {c, s, 0}, {-s, c, 0}, {0, 0, 1} }; s 537 modules/calib3d/src/circlesgrid.cpp s(_s), e(_e) s 1461 modules/calib3d/src/circlesgrid.cpp bool doesStraddle1 = (getDirection(seg2.s, seg2.e, seg1.s) * getDirection(seg2.s, seg2.e, seg1.e)) < 0; s 1462 modules/calib3d/src/circlesgrid.cpp bool doesStraddle2 = (getDirection(seg1.s, seg1.e, seg2.s) * getDirection(seg1.s, seg1.e, seg2.e)) < 0; s 191 modules/calib3d/src/circlesgrid.hpp cv::Point2f s; s 531 modules/calib3d/src/dls.cpp cv::Mat dls::Hessian(const double s[]) s 545 modules/calib3d/src/dls.cpp Hs1[0]=0; Hs1[1]=2*s[0]*s[1]; Hs1[2]=s[1]; Hs1[3]=s[2]; Hs1[4]=0; Hs1[5]=0; Hs1[6]=0; s 546 modules/calib3d/src/dls.cpp Hs1[7]=s[2]*s[2]; Hs1[8]=1; Hs1[9]=0; Hs1[10]=0; Hs1[11]=0; Hs1[12]=2*s[0]; Hs1[13]=0; s 547 modules/calib3d/src/dls.cpp Hs1[14]=0; Hs1[15]=0; Hs1[16]=s[1]*s[2]; Hs1[17]=s[1]*s[1]; Hs1[18]=2*s[0]*s[2]; Hs1[19]=3*s[0]*s[0]; s 555 modules/calib3d/src/dls.cpp Hs2[0]=0; Hs2[1]=s[0]*s[0]; Hs2[2]=s[0]; Hs2[3]=0; Hs2[4]=s[2]; Hs2[5]=2*s[1]*s[2]; Hs2[6]=3*s[1]*s[1]; s 556 modules/calib3d/src/dls.cpp Hs2[7]=0; Hs2[8]=0; Hs2[9]=0; Hs2[10]=1; Hs2[11]=s[2]*s[2]; Hs2[12]=0; Hs2[13]=0; s 557 modules/calib3d/src/dls.cpp Hs2[14]=2*s[1]; Hs2[15]=0; Hs2[16]=s[0]*s[2]; Hs2[17]=2*s[0]*s[1]; Hs2[18]=0; Hs2[19]=0; s 565 modules/calib3d/src/dls.cpp Hs3[0]=0; Hs3[1]=0; Hs3[2]=0; Hs3[3]=s[0]; Hs3[4]=s[1]; Hs3[5]=s[1]*s[1]; Hs3[6]=0; s 566 modules/calib3d/src/dls.cpp Hs3[7]=2*s[0]*s[2]; Hs3[8]=0; Hs3[9]=1; Hs3[10]=0; Hs3[11]=2*s[1]*s[2]; Hs3[12]=0; Hs3[13]=2*s[2]; s 567 modules/calib3d/src/dls.cpp Hs3[14]=0; Hs3[15]=3*s[2]*s[2]; Hs3[16]=s[0]*s[1]; Hs3[17]=0; Hs3[18]=s[0]*s[0]; Hs3[19]=0; s 586 modules/calib3d/src/dls.cpp cv::Mat dls::cayley2rotbar(const cv::Mat& s) s 588 modules/calib3d/src/dls.cpp double s_mul1 = cv::Mat(s.t()*s).at<double>(0,0); s 589 modules/calib3d/src/dls.cpp cv::Mat s_mul2 = s*s.t(); s 592 modules/calib3d/src/dls.cpp return cv::Mat( eye.mul(1.-s_mul1) + skewsymm(&s).mul(2.) + s_mul2.mul(2.) ).t(); s 62 modules/calib3d/src/dls.h cv::Mat Hessian(const double s[]); s 63 modules/calib3d/src/dls.h cv::Mat cayley2rotbar(const cv::Mat& s); s 168 modules/calib3d/src/dls.h double p = 0, q = 0, r = 0, s = 0, z = 0, t, w, x, y; s 190 modules/calib3d/src/dls.h s = std::abs(H[l - 1][l - 1]) + std::abs(H[l][l]); s 191 modules/calib3d/src/dls.h if (s == 0.0) { s 192 modules/calib3d/src/dls.h s = norm; s 194 modules/calib3d/src/dls.h if (std::abs(H[l][l - 1]) < eps * s) { s 237 modules/calib3d/src/dls.h s = std::abs(x) + std::abs(z); s 238 modules/calib3d/src/dls.h p = x / s; s 239 modules/calib3d/src/dls.h q = z / s; s 300 modules/calib3d/src/dls.h s = std::abs(H[n1][n1 - 1]) + std::abs(H[n1 - 1][n1 - 2]); s 301 modules/calib3d/src/dls.h x = y = 0.75 * s; s 302 modules/calib3d/src/dls.h w = -0.4375 * s * s; s 308 modules/calib3d/src/dls.h s = (y - x) / 2.0; s 309 modules/calib3d/src/dls.h s = s * s + w; s 310 modules/calib3d/src/dls.h if (s > 0) { s 311 modules/calib3d/src/dls.h s = std::sqrt(s); s 313 modules/calib3d/src/dls.h s = -s; s 315 modules/calib3d/src/dls.h s = x - w / ((y - x) / 2.0 + s); s 317 modules/calib3d/src/dls.h H[i][i] -= s; s 319 modules/calib3d/src/dls.h exshift += s; s 331 modules/calib3d/src/dls.h s = y - z; s 332 modules/calib3d/src/dls.h p = (r * s - w) / H[m + 1][m] + H[m][m + 1]; s 333 modules/calib3d/src/dls.h q = H[m + 1][m + 1] - z - r - s; s 335 modules/calib3d/src/dls.h s = std::abs(p) + std::abs(q) + std::abs(r); s 336 modules/calib3d/src/dls.h p = p / s; s 337 modules/calib3d/src/dls.h q = q / s; s 338 modules/calib3d/src/dls.h r = r / s; s 375 modules/calib3d/src/dls.h s = std::sqrt(p * p + q * q + r * r); s 377 modules/calib3d/src/dls.h s = -s; s 379 modules/calib3d/src/dls.h if (s != 0) { s 381 modules/calib3d/src/dls.h H[k][k - 1] = -s * x; s 385 modules/calib3d/src/dls.h p = p + s; s 386 modules/calib3d/src/dls.h x = p / s; s 387 modules/calib3d/src/dls.h y = q / s; s 388 modules/calib3d/src/dls.h z = r / s; s 455 modules/calib3d/src/dls.h s = r; s 471 modules/calib3d/src/dls.h t = (x * s - z * r) / q; s 476 modules/calib3d/src/dls.h H[i + 1][n1] = (-s - y * t) / z; s 519 modules/calib3d/src/dls.h s = sa; s 539 modules/calib3d/src/dls.h x * s - z * sa - q * ra, vr, vi); s 548 modules/calib3d/src/dls.h cdiv(-r - y * H[i][n1 - 1], -s - y * H[i][n1], z, s 1492 modules/calib3d/src/fisheye.cpp double s = sigma_x.at<double>(0); s 1493 modules/calib3d/src/fisheye.cpp Mat r = 3 * s * JJ2_inv.diag(); s 528 modules/calib3d/src/fundam.cpp double s = f1[8]*r[k] + f2[8]; s 531 modules/calib3d/src/fundam.cpp if( fabs(s) > DBL_EPSILON ) s 533 modules/calib3d/src/fundam.cpp mu = 1./s; s 275 modules/calib3d/src/p3p.cpp double s[3 * 3]; s 277 modules/calib3d/src/p3p.cpp s[0 * 3 + j] = (X0 * M_end[0][j] + X1 * M_end[1][j] + X2 * M_end[2][j]) / 3 - C_end[j] * C_start[0]; s 278 modules/calib3d/src/p3p.cpp s[1 * 3 + j] = (Y0 * M_end[0][j] + Y1 * M_end[1][j] + Y2 * M_end[2][j]) / 3 - C_end[j] * C_start[1]; s 279 modules/calib3d/src/p3p.cpp s[2 * 3 + j] = (Z0 * M_end[0][j] + Z1 * M_end[1][j] + Z2 * M_end[2][j]) / 3 - C_end[j] * C_start[2]; s 284 modules/calib3d/src/p3p.cpp Qs[0 * 4 + 0] = s[0 * 3 + 0] + s[1 * 3 + 1] + s[2 * 3 + 2]; s 285 modules/calib3d/src/p3p.cpp Qs[1 * 4 + 1] = s[0 * 3 + 0] - s[1 * 3 + 1] - s[2 * 3 + 2]; s 286 modules/calib3d/src/p3p.cpp Qs[2 * 4 + 2] = s[1 * 3 + 1] - s[2 * 3 + 2] - s[0 * 3 + 0]; s 287 modules/calib3d/src/p3p.cpp Qs[3 * 4 + 3] = s[2 * 3 + 2] - s[0 * 3 + 0] - s[1 * 3 + 1]; s 289 modules/calib3d/src/p3p.cpp Qs[1 * 4 + 0] = Qs[0 * 4 + 1] = s[1 * 3 + 2] - s[2 * 3 + 1]; s 290 modules/calib3d/src/p3p.cpp Qs[2 * 4 + 0] = Qs[0 * 4 + 2] = s[2 * 3 + 0] - s[0 * 3 + 2]; s 291 modules/calib3d/src/p3p.cpp Qs[3 * 4 + 0] = Qs[0 * 4 + 3] = s[0 * 3 + 1] - s[1 * 3 + 0]; s 292 modules/calib3d/src/p3p.cpp Qs[2 * 4 + 1] = Qs[1 * 4 + 2] = s[1 * 3 + 0] + s[0 * 3 + 1]; s 293 modules/calib3d/src/p3p.cpp Qs[3 * 4 + 1] = Qs[1 * 4 + 3] = s[2 * 3 + 0] + s[0 * 3 + 2]; s 294 modules/calib3d/src/p3p.cpp Qs[3 * 4 + 2] = Qs[2 * 4 + 3] = s[2 * 3 + 1] + s[1 * 3 + 2]; s 380 modules/calib3d/src/p3p.cpp double s = t * c; s 381 modules/calib3d/src/p3p.cpp double tau = s / (1.0 + c); s 384 modules/calib3d/src/p3p.cpp A[k * 4 + i] = g - s * (h + g * tau); s 385 modules/calib3d/src/p3p.cpp A[k * 4 + j] = h + s * (g - h * tau); s 389 modules/calib3d/src/p3p.cpp A[i * 4 + k] = g - s * (h + g * tau); s 390 modules/calib3d/src/p3p.cpp A[k * 4 + j] = h + s * (g - h * tau); s 394 modules/calib3d/src/p3p.cpp A[i * 4 + k] = g - s * (h + g * tau); s 395 modules/calib3d/src/p3p.cpp A[j * 4 + k] = h + s * (g - h * tau); s 399 modules/calib3d/src/p3p.cpp U[k * 4 + i] = g - s * (h + g * tau); s 400 modules/calib3d/src/p3p.cpp U[k * 4 + j] = h + s * (g - h * tau); s 151 modules/calib3d/src/rho.cpp uint64_t x = prng.s[0]; s 152 modules/calib3d/src/rho.cpp uint64_t y = prng.s[1]; s 156 modules/calib3d/src/rho.cpp prng.s[0] = y; s 157 modules/calib3d/src/rho.cpp prng.s[1] = x; s 158 modules/calib3d/src/rho.cpp uint64_t s = x + y; s 160 modules/calib3d/src/rho.cpp return s * 5.421010862427522e-20;/* 2^-64 */ s 173 modules/calib3d/src/rho.cpp prng.s[0] = seed; s 174 modules/calib3d/src/rho.cpp prng.s[1] = ~seed;/* Guarantees one of the elements will be non-zero. */ s 232 modules/calib3d/src/rho.cpp uint64_t s[2]; /* PRNG state */ s 408 modules/calib3d/src/rho.cpp const unsigned s); s 1741 modules/calib3d/src/rho.cpp const unsigned s){ s 1745 modules/calib3d/src/rho.cpp for(i=0;i<s;i++){ s 1746 modules/calib3d/src/rho.cpp numer *= s-i; s 2434 modules/calib3d/src/rho.cpp float s[2][2], t[2][2]; s 2493 modules/calib3d/src/rho.cpp s[0][0] = M[2][2]*L[2][0]; s 2494 modules/calib3d/src/rho.cpp s[0][1] = M[2][2]*L[2][1]; s 2495 modules/calib3d/src/rho.cpp s[1][0] = M[3][2]*L[2][0]+M[3][3]*L[3][0]; s 2496 modules/calib3d/src/rho.cpp s[1][1] = M[3][2]*L[2][1]+M[3][3]*L[3][1]; s 2498 modules/calib3d/src/rho.cpp t[0][0] = s[0][0]*M[0][0]+s[0][1]*M[1][0]; s 2499 modules/calib3d/src/rho.cpp t[0][1] = s[0][1]*M[1][1]; s 2500 modules/calib3d/src/rho.cpp t[1][0] = s[1][0]*M[0][0]+s[1][1]*M[1][0]; s 2501 modules/calib3d/src/rho.cpp t[1][1] = s[1][1]*M[1][1]; s 2513 modules/calib3d/src/rho.cpp s[0][0] = M[6][6]*L[6][4]; s 2514 modules/calib3d/src/rho.cpp s[0][1] = M[6][6]*L[6][5]; s 2515 modules/calib3d/src/rho.cpp s[1][0] = M[7][6]*L[6][4]+M[7][7]*L[7][4]; s 2516 modules/calib3d/src/rho.cpp s[1][1] = M[7][6]*L[6][5]+M[7][7]*L[7][5]; s 2518 modules/calib3d/src/rho.cpp t[0][0] = s[0][0]*M[4][4]+s[0][1]*M[5][4]; s 2519 modules/calib3d/src/rho.cpp t[0][1] = s[0][1]*M[5][5]; s 2520 modules/calib3d/src/rho.cpp t[1][0] = s[1][0]*M[4][4]+s[1][1]*M[5][4]; s 2521 modules/calib3d/src/rho.cpp t[1][1] = s[1][1]*M[5][5]; s 249 modules/calib3d/src/triangulate.cpp double t_min, s_val, t, s; s 349 modules/calib3d/src/triangulate.cpp s = (t*t)/(1 + f1*f1*t*t) + ((c*t + d)*(c*t + d))/((a*t + b)*(a*t + b) + f2*f2*(c*t + d)*(c*t + d)); s 350 modules/calib3d/src/triangulate.cpp if (s < s_val) { s 351 modules/calib3d/src/triangulate.cpp s_val = s; s 1364 modules/calib3d/test/test_cameracalibration.cpp double s = sum(utemp(roi))[0]; s 1365 modules/calib3d/test/test_cameracalibration.cpp if( s > roi.area() || roi.area() - s > roi.area()*(1-eps) ) s 1368 modules/calib3d/test/test_cameracalibration.cpp test_case_idx, s*100./roi.area()); s 418 modules/calib3d/test/test_fundam.cpp double* s = src.ptr<double>(); s 425 modules/calib3d/test/test_fundam.cpp for( i = 0; i < count; i++, s += sstep1, d += dstep1 ) s 427 modules/calib3d/test/test_fundam.cpp double x = s[0]; s 428 modules/calib3d/test/test_fundam.cpp double y = s[sstep2]; s 436 modules/calib3d/test/test_fundam.cpp d[dstep2*2] = s[sstep2*2]; s 438 modules/calib3d/test/test_fundam.cpp d[dstep2*3] = s[sstep2*3]; s 446 modules/calib3d/test/test_fundam.cpp for( i = 0; i < count; i++, s += sstep1, d += dstep1 ) s 448 modules/calib3d/test/test_fundam.cpp double w = s[wstep]; s 449 modules/calib3d/test/test_fundam.cpp double x = s[0]; s 450 modules/calib3d/test/test_fundam.cpp double y = s[sstep2]; s 458 modules/calib3d/test/test_fundam.cpp d[dstep2*2] = s[sstep2*2]*w; s 499 modules/calib3d/test/test_fundam.cpp double s = p[8]*X + p[9]*Y + p[10]*Z + p[11]; s 503 modules/calib3d/test/test_fundam.cpp u += noise.at<Point2d>(i).x*s; s 504 modules/calib3d/test/test_fundam.cpp v += noise.at<Point2d>(i).y*s; s 509 modules/calib3d/test/test_fundam.cpp m[2] = s; s 1658 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void setIdentity(InputOutputArray mtx, const Scalar& s = Scalar(1)); s 2760 modules/core/include/opencv2/core.hpp RNG_MT19937(unsigned s); s 2761 modules/core/include/opencv2/core.hpp void seed(unsigned s); s 254 modules/core/include/opencv2/core/affine.hpp double s = std::sin(theta); s 267 modules/core/include/opencv2/core/affine.hpp R.val[k] = static_cast<float_type>(c*I[k] + c1*rrt[k] + s*_r_x_[k]); s 343 modules/core/include/opencv2/core/affine.hpp double s = std::sqrt((rx*rx + ry*ry + rz*rz)*0.25); s 348 modules/core/include/opencv2/core/affine.hpp if( s < 1e-5 ) s 372 modules/core/include/opencv2/core/affine.hpp double vth = 1/(2*s); s 432 modules/core/include/opencv2/core/base.hpp _AccTp s = 0; s 438 modules/core/include/opencv2/core/base.hpp s += v0*v0 + v1*v1 + v2*v2 + v3*v3; s 444 modules/core/include/opencv2/core/base.hpp s += v*v; s 446 modules/core/include/opencv2/core/base.hpp return s; s 452 modules/core/include/opencv2/core/base.hpp _AccTp s = 0; s 457 modules/core/include/opencv2/core/base.hpp s += (_AccTp)cv_abs(a[i]) + (_AccTp)cv_abs(a[i+1]) + s 462 modules/core/include/opencv2/core/base.hpp s += cv_abs(a[i]); s 463 modules/core/include/opencv2/core/base.hpp return s; s 469 modules/core/include/opencv2/core/base.hpp _AccTp s = 0; s 471 modules/core/include/opencv2/core/base.hpp s = std::max(s, (_AccTp)cv_abs(a[i])); s 472 modules/core/include/opencv2/core/base.hpp return s; s 478 modules/core/include/opencv2/core/base.hpp _AccTp s = 0; s 484 modules/core/include/opencv2/core/base.hpp s += v0*v0 + v1*v1 + v2*v2 + v3*v3; s 490 modules/core/include/opencv2/core/base.hpp s += v*v; s 492 modules/core/include/opencv2/core/base.hpp return s; s 497 modules/core/include/opencv2/core/base.hpp float s = 0.f; s 501 modules/core/include/opencv2/core/base.hpp s += v*v; s 503 modules/core/include/opencv2/core/base.hpp return s; s 509 modules/core/include/opencv2/core/base.hpp _AccTp s = 0; s 515 modules/core/include/opencv2/core/base.hpp s += std::abs(v0) + std::abs(v1) + std::abs(v2) + std::abs(v3); s 521 modules/core/include/opencv2/core/base.hpp s += std::abs(v); s 523 modules/core/include/opencv2/core/base.hpp return s; s 528 modules/core/include/opencv2/core/base.hpp float s = 0.f; s 531 modules/core/include/opencv2/core/base.hpp s += std::abs(a[i] - b[i]); s 533 modules/core/include/opencv2/core/base.hpp return s; s 538 modules/core/include/opencv2/core/base.hpp int s = 0; s 541 modules/core/include/opencv2/core/base.hpp s += std::abs(a[i] - b[i]); s 543 modules/core/include/opencv2/core/base.hpp return s; s 549 modules/core/include/opencv2/core/base.hpp _AccTp s = 0; s 553 modules/core/include/opencv2/core/base.hpp s = std::max(s, std::abs(v0)); s 555 modules/core/include/opencv2/core/base.hpp return s; s 121 modules/core/include/opencv2/core/cuda.hpp GpuMat(int rows, int cols, int type, Scalar s, Allocator* allocator = defaultAllocator()); s 122 modules/core/include/opencv2/core/cuda.hpp GpuMat(Size size, int type, Scalar s, Allocator* allocator = defaultAllocator()); s 182 modules/core/include/opencv2/core/cuda.hpp GpuMat& setTo(Scalar s); s 185 modules/core/include/opencv2/core/cuda.hpp GpuMat& setTo(Scalar s, Stream& stream); s 188 modules/core/include/opencv2/core/cuda.hpp GpuMat& setTo(Scalar s, InputArray mask); s 191 modules/core/include/opencv2/core/cuda.hpp GpuMat& setTo(Scalar s, InputArray mask, Stream& stream); s 168 modules/core/include/opencv2/core/cuda.inl.hpp GpuMat& GpuMat::setTo(Scalar s) s 170 modules/core/include/opencv2/core/cuda.inl.hpp return setTo(s, Stream::Null()); s 174 modules/core/include/opencv2/core/cuda.inl.hpp GpuMat& GpuMat::setTo(Scalar s, InputArray mask) s 176 modules/core/include/opencv2/core/cuda.inl.hpp return setTo(s, mask, Stream::Null()); s 955 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp int h, s, v = b; s 968 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp s = (diff * c_HsvDivTable[v] + (1 << (hsv_shift-1))) >> hsv_shift; s 974 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = (uchar)s; s 987 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp int h, s, v = b; s 1000 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp s = (diff * c_HsvDivTable[v] + (1 << (hsv_shift-1))) >> hsv_shift; s 1008 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst |= (0xffu & s) << 8; s 1019 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float h, s, v; s 1030 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp s = diff / (float)(::fabs(v) + numeric_limits<float>::epsilon()); s 1039 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.y = s; s 1111 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float h = src.x, s = src.y, v = src.z; s 1114 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp if (s != 0) s 1134 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp tab[1] = v * (1.f - s); s 1135 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp tab[2] = v * (1.f - s * h); s 1136 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp tab[3] = v * (1.f - s * (1.f - h)); s 1252 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float h = 0.f, s = 0.f, l; s 1266 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp s = (l < 0.5f) * diff / (vmax + vmin); s 1267 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp s += (l >= 0.5f) * diff / (2.0f - vmax - vmin); s 1279 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp dst.z = s; s 1384 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float h = src.x, l = src.y, s = src.z; s 1387 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp if (s != 0) s 1389 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp float p2 = (l <= 0.5f) * l * (1 + s); s 1390 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp p2 += (l > 0.5f) * (l + s - l * s); s 98 modules/core/include/opencv2/core/cuda/simd_functions.hpp unsigned int s; s 99 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = a ^ b; // sum bits s 101 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = s ^ r; // determine carry-ins for each bit position s 102 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = s & 0x00010000; // carry-in to high word (= carry-out from low word) s 103 modules/core/include/opencv2/core/cuda/simd_functions.hpp r = r - s; // subtract out carry-out from low word s 119 modules/core/include/opencv2/core/cuda/simd_functions.hpp unsigned int s; s 120 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = a ^ b; // sum bits s 122 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = s ^ r; // determine carry-ins for each bit position s 123 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = s & 0x00010000; // borrow to high word s 124 modules/core/include/opencv2/core/cuda/simd_functions.hpp r = r + s; // compensate for borrow from low word s 140 modules/core/include/opencv2/core/cuda/simd_functions.hpp unsigned int s, t, u, v; s 141 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = a & 0x0000ffff; // extract low halfword s 143 modules/core/include/opencv2/core/cuda/simd_functions.hpp u = ::max(r, s); // maximum of low halfwords s 144 modules/core/include/opencv2/core/cuda/simd_functions.hpp v = ::min(r, s); // minimum of low halfwords s 145 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = a & 0xffff0000; // extract high halfword s 147 modules/core/include/opencv2/core/cuda/simd_functions.hpp t = ::max(r, s); // maximum of high halfwords s 148 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = ::min(r, s); // minimum of high halfwords s 150 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = v | s; // minimum of both halfwords s 151 modules/core/include/opencv2/core/cuda/simd_functions.hpp r = r - s; // |a - b| = max(a,b) - min(a,b); s 159 modules/core/include/opencv2/core/cuda/simd_functions.hpp unsigned int r, s; s 163 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = a ^ b; s 165 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = s & 0xfffefffe; // ensure shift doesn't cross halfword boundaries s 166 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = s >> 1; s 167 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = r + s; s 169 modules/core/include/opencv2/core/cuda/simd_functions.hpp return s; s 181 modules/core/include/opencv2/core/cuda/simd_functions.hpp unsigned int s; s 182 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = a ^ b; s 184 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = s & 0xfffefffe; // ensure shift doesn't cross half-word boundaries s 185 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = s >> 1; s 186 modules/core/include/opencv2/core/cuda/simd_functions.hpp r = r - s; s 440 modules/core/include/opencv2/core/cuda/simd_functions.hpp unsigned int s, t, u; s 442 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = b & 0x0000ffff; // extract low halfword s 443 modules/core/include/opencv2/core/cuda/simd_functions.hpp t = ::max(r, s); // maximum of low halfwords s 445 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = b & 0xffff0000; // extract high halfword s 446 modules/core/include/opencv2/core/cuda/simd_functions.hpp u = ::max(r, s); // maximum of high halfwords s 463 modules/core/include/opencv2/core/cuda/simd_functions.hpp unsigned int s, t, u; s 465 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = b & 0x0000ffff; // extract low halfword s 466 modules/core/include/opencv2/core/cuda/simd_functions.hpp t = ::min(r, s); // minimum of low halfwords s 468 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = b & 0xffff0000; // extract high halfword s 469 modules/core/include/opencv2/core/cuda/simd_functions.hpp u = ::min(r, s); // minimum of high halfwords s 490 modules/core/include/opencv2/core/cuda/simd_functions.hpp unsigned int s, t; s 491 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = a ^ b; // sum bits s 494 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = s & 0x80808080; // msb sum bits s 496 modules/core/include/opencv2/core/cuda/simd_functions.hpp r = r ^ s; // sum of msb sum and carry-in bits, w/o carry-out s 514 modules/core/include/opencv2/core/cuda/simd_functions.hpp unsigned int s, t; s 515 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = a ^ ~b; // inverted sum bits s 518 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = s & 0x80808080; // inverted msb sum bits s 520 modules/core/include/opencv2/core/cuda/simd_functions.hpp r = r ^ s; // combine inverted msb sum bits and borrows s 528 modules/core/include/opencv2/core/cuda/simd_functions.hpp unsigned int r, s; s 532 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = a ^ b; s 534 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = s & 0xfefefefe; // ensure following shift doesn't cross byte boundaries s 535 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = s >> 1; s 536 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = r + s; s 538 modules/core/include/opencv2/core/cuda/simd_functions.hpp return s; s 699 modules/core/include/opencv2/core/cuda/simd_functions.hpp unsigned int r, s; s 703 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = r << 8; // convert bool s 704 modules/core/include/opencv2/core/cuda/simd_functions.hpp r = s - r; // to mask s 709 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = r >> 7; // build mask s 710 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = r - s; // from s 711 modules/core/include/opencv2/core/cuda/simd_functions.hpp r = s | r; // msbs s 811 modules/core/include/opencv2/core/cuda/simd_functions.hpp unsigned int s; s 812 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = vcmpge4(a, b); // mask = 0xff if a >= b s 814 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = (r & s) ^ b; // select a when a >= b, else select b => max(a,b) s 815 modules/core/include/opencv2/core/cuda/simd_functions.hpp r = s ^ r; // select a when b >= a, else select b => min(a,b) s 816 modules/core/include/opencv2/core/cuda/simd_functions.hpp r = s - r; // |a - b| = max(a,b) - min(a,b); s 834 modules/core/include/opencv2/core/cuda/simd_functions.hpp unsigned int s; s 835 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = vcmpge4(a, b); // mask = 0xff if a >= b s 836 modules/core/include/opencv2/core/cuda/simd_functions.hpp r = a & s; // select a when b >= a s 837 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = b & ~s; // select b when b < a s 838 modules/core/include/opencv2/core/cuda/simd_functions.hpp r = r | s; // combine byte selections s 856 modules/core/include/opencv2/core/cuda/simd_functions.hpp unsigned int s; s 857 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = vcmpge4(b, a); // mask = 0xff if a >= b s 858 modules/core/include/opencv2/core/cuda/simd_functions.hpp r = a & s; // select a when b >= a s 859 modules/core/include/opencv2/core/cuda/simd_functions.hpp s = b & ~s; // select b when b < a s 860 modules/core/include/opencv2/core/cuda/simd_functions.hpp r = r | s; // combine byte selections s 538 modules/core/include/opencv2/core/cuda/vec_math.hpp __device__ __forceinline__ output_type ## 1 operator op(const input_type ## 1 & a, scalar_type s) \ s 540 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 1>::make(a.x op s); \ s 542 modules/core/include/opencv2/core/cuda/vec_math.hpp __device__ __forceinline__ output_type ## 1 operator op(scalar_type s, const input_type ## 1 & b) \ s 544 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 1>::make(s op b.x); \ s 546 modules/core/include/opencv2/core/cuda/vec_math.hpp __device__ __forceinline__ output_type ## 2 operator op(const input_type ## 2 & a, scalar_type s) \ s 548 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 2>::make(a.x op s, a.y op s); \ s 550 modules/core/include/opencv2/core/cuda/vec_math.hpp __device__ __forceinline__ output_type ## 2 operator op(scalar_type s, const input_type ## 2 & b) \ s 552 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 2>::make(s op b.x, s op b.y); \ s 554 modules/core/include/opencv2/core/cuda/vec_math.hpp __device__ __forceinline__ output_type ## 3 operator op(const input_type ## 3 & a, scalar_type s) \ s 556 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 3>::make(a.x op s, a.y op s, a.z op s); \ s 558 modules/core/include/opencv2/core/cuda/vec_math.hpp __device__ __forceinline__ output_type ## 3 operator op(scalar_type s, const input_type ## 3 & b) \ s 560 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 3>::make(s op b.x, s op b.y, s op b.z); \ s 562 modules/core/include/opencv2/core/cuda/vec_math.hpp __device__ __forceinline__ output_type ## 4 operator op(const input_type ## 4 & a, scalar_type s) \ s 564 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 4>::make(a.x op s, a.y op s, a.z op s, a.w op s); \ s 566 modules/core/include/opencv2/core/cuda/vec_math.hpp __device__ __forceinline__ output_type ## 4 operator op(scalar_type s, const input_type ## 4 & b) \ s 568 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 4>::make(s op b.x, s op b.y, s op b.z, s op b.w); \ s 815 modules/core/include/opencv2/core/cuda/vec_math.hpp __device__ __forceinline__ output_type ## 1 func_name(const input_type ## 1 & a, scalar_type s) \ s 817 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 1>::make(func ((output_type) a.x, (output_type) s)); \ s 819 modules/core/include/opencv2/core/cuda/vec_math.hpp __device__ __forceinline__ output_type ## 1 func_name(scalar_type s, const input_type ## 1 & b) \ s 821 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 1>::make(func ((output_type) s, (output_type) b.x)); \ s 823 modules/core/include/opencv2/core/cuda/vec_math.hpp __device__ __forceinline__ output_type ## 2 func_name(const input_type ## 2 & a, scalar_type s) \ s 825 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 2>::make(func ((output_type) a.x, (output_type) s), func ((output_type) a.y, (output_type) s)); \ s 827 modules/core/include/opencv2/core/cuda/vec_math.hpp __device__ __forceinline__ output_type ## 2 func_name(scalar_type s, const input_type ## 2 & b) \ s 829 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 2>::make(func ((output_type) s, (output_type) b.x), func ((output_type) s, (output_type) b.y)); \ s 831 modules/core/include/opencv2/core/cuda/vec_math.hpp __device__ __forceinline__ output_type ## 3 func_name(const input_type ## 3 & a, scalar_type s) \ s 833 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 3>::make(func ((output_type) a.x, (output_type) s), func ((output_type) a.y, (output_type) s), func ((output_type) a.z, (output_type) s)); \ s 835 modules/core/include/opencv2/core/cuda/vec_math.hpp __device__ __forceinline__ output_type ## 3 func_name(scalar_type s, const input_type ## 3 & b) \ s 837 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 3>::make(func ((output_type) s, (output_type) b.x), func ((output_type) s, (output_type) b.y), func ((output_type) s, (output_type) b.z)); \ s 839 modules/core/include/opencv2/core/cuda/vec_math.hpp __device__ __forceinline__ output_type ## 4 func_name(const input_type ## 4 & a, scalar_type s) \ s 841 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 4>::make(func ((output_type) a.x, (output_type) s), func ((output_type) a.y, (output_type) s), func ((output_type) a.z, (output_type) s), func ((output_type) a.w, (output_type) s)); \ s 843 modules/core/include/opencv2/core/cuda/vec_math.hpp __device__ __forceinline__ output_type ## 4 func_name(scalar_type s, const input_type ## 4 & b) \ s 845 modules/core/include/opencv2/core/cuda/vec_math.hpp return VecTraits<output_type ## 4>::make(func ((output_type) s, (output_type) b.x), func ((output_type) s, (output_type) b.y), func ((output_type) s, (output_type) b.z), func ((output_type) s, (output_type) b.w)); \ s 493 modules/core/include/opencv2/core/cvstd.hpp String(const char* s); s 494 modules/core/include/opencv2/core/cvstd.hpp String(const char* s, size_t n); s 502 modules/core/include/opencv2/core/cvstd.hpp String& operator=(const char* s); s 506 modules/core/include/opencv2/core/cvstd.hpp String& operator+=(const char* s); s 523 modules/core/include/opencv2/core/cvstd.hpp int compare(const char* s) const; s 529 modules/core/include/opencv2/core/cvstd.hpp size_t find(const char* s, size_t pos, size_t n) const; s 532 modules/core/include/opencv2/core/cvstd.hpp size_t find(const char* s, size_t pos = 0) const; s 534 modules/core/include/opencv2/core/cvstd.hpp size_t rfind(const char* s, size_t pos, size_t n) const; s 537 modules/core/include/opencv2/core/cvstd.hpp size_t rfind(const char* s, size_t pos = npos) const; s 539 modules/core/include/opencv2/core/cvstd.hpp size_t find_first_of(const char* s, size_t pos, size_t n) const; s 542 modules/core/include/opencv2/core/cvstd.hpp size_t find_first_of(const char* s, size_t pos = 0) const; s 544 modules/core/include/opencv2/core/cvstd.hpp size_t find_last_of(const char* s, size_t pos, size_t n) const; s 547 modules/core/include/opencv2/core/cvstd.hpp size_t find_last_of(const char* s, size_t pos = npos) const; s 613 modules/core/include/opencv2/core/cvstd.hpp String::String(const char* s) s 616 modules/core/include/opencv2/core/cvstd.hpp if (!s) return; s 617 modules/core/include/opencv2/core/cvstd.hpp size_t len = strlen(s); s 618 modules/core/include/opencv2/core/cvstd.hpp memcpy(allocate(len), s, len); s 622 modules/core/include/opencv2/core/cvstd.hpp String::String(const char* s, size_t n) s 626 modules/core/include/opencv2/core/cvstd.hpp memcpy(allocate(n), s, n); s 676 modules/core/include/opencv2/core/cvstd.hpp String& String::operator=(const char* s) s 679 modules/core/include/opencv2/core/cvstd.hpp if (!s) return *this; s 680 modules/core/include/opencv2/core/cvstd.hpp size_t len = strlen(s); s 681 modules/core/include/opencv2/core/cvstd.hpp memcpy(allocate(len), s, len); s 701 modules/core/include/opencv2/core/cvstd.hpp String& String::operator+=(const char* s) s 703 modules/core/include/opencv2/core/cvstd.hpp *this = *this + s; s 776 modules/core/include/opencv2/core/cvstd.hpp int String::compare(const char* s) const s 778 modules/core/include/opencv2/core/cvstd.hpp if (cstr_ == s) return 0; s 779 modules/core/include/opencv2/core/cvstd.hpp return strcmp(c_str(), s); s 796 modules/core/include/opencv2/core/cvstd.hpp size_t String::find(const char* s, size_t pos, size_t n) const s 803 modules/core/include/opencv2/core/cvstd.hpp while (j < n && s[j] == i[j]) ++j; s 822 modules/core/include/opencv2/core/cvstd.hpp size_t String::find(const char* s, size_t pos) const s 824 modules/core/include/opencv2/core/cvstd.hpp if (pos >= len_ || !s[0]) return npos; s 829 modules/core/include/opencv2/core/cvstd.hpp while (s[j] && s[j] == i[j]) s 833 modules/core/include/opencv2/core/cvstd.hpp if (!s[j]) return (size_t)(i - cstr_); s 839 modules/core/include/opencv2/core/cvstd.hpp size_t String::rfind(const char* s, size_t pos, size_t n) const s 846 modules/core/include/opencv2/core/cvstd.hpp while (j < n && s[j] == i[j]) ++j; s 865 modules/core/include/opencv2/core/cvstd.hpp size_t String::rfind(const char* s, size_t pos) const s 867 modules/core/include/opencv2/core/cvstd.hpp return rfind(s, pos, strlen(s)); s 871 modules/core/include/opencv2/core/cvstd.hpp size_t String::find_first_of(const char* s, size_t pos, size_t n) const s 878 modules/core/include/opencv2/core/cvstd.hpp if (s[j] == *i) s 897 modules/core/include/opencv2/core/cvstd.hpp size_t String::find_first_of(const char* s, size_t pos) const s 899 modules/core/include/opencv2/core/cvstd.hpp if (pos >= len_ || !s[0]) return npos; s 903 modules/core/include/opencv2/core/cvstd.hpp for (size_t j = 0; s[j]; ++j) s 904 modules/core/include/opencv2/core/cvstd.hpp if (s[j] == *i) s 911 modules/core/include/opencv2/core/cvstd.hpp size_t String::find_last_of(const char* s, size_t pos, size_t n) const s 917 modules/core/include/opencv2/core/cvstd.hpp if (s[j] == *i) s 936 modules/core/include/opencv2/core/cvstd.hpp size_t String::find_last_of(const char* s, size_t pos) const s 941 modules/core/include/opencv2/core/cvstd.hpp for (size_t j = 0; s[j]; ++j) s 942 modules/core/include/opencv2/core/cvstd.hpp if (s[j] == *i) s 969 modules/core/include/opencv2/core/cvstd.hpp String s; s 970 modules/core/include/opencv2/core/cvstd.hpp s.allocate(lhs.len_ + rhs.len_); s 971 modules/core/include/opencv2/core/cvstd.hpp memcpy(s.cstr_, lhs.cstr_, lhs.len_); s 972 modules/core/include/opencv2/core/cvstd.hpp memcpy(s.cstr_ + lhs.len_, rhs.cstr_, rhs.len_); s 973 modules/core/include/opencv2/core/cvstd.hpp return s; s 979 modules/core/include/opencv2/core/cvstd.hpp String s; s 981 modules/core/include/opencv2/core/cvstd.hpp s.allocate(lhs.len_ + rhslen); s 982 modules/core/include/opencv2/core/cvstd.hpp memcpy(s.cstr_, lhs.cstr_, lhs.len_); s 983 modules/core/include/opencv2/core/cvstd.hpp memcpy(s.cstr_ + lhs.len_, rhs, rhslen); s 984 modules/core/include/opencv2/core/cvstd.hpp return s; s 990 modules/core/include/opencv2/core/cvstd.hpp String s; s 992 modules/core/include/opencv2/core/cvstd.hpp s.allocate(lhslen + rhs.len_); s 993 modules/core/include/opencv2/core/cvstd.hpp memcpy(s.cstr_, lhs, lhslen); s 994 modules/core/include/opencv2/core/cvstd.hpp memcpy(s.cstr_ + lhslen, rhs.cstr_, rhs.len_); s 995 modules/core/include/opencv2/core/cvstd.hpp return s; s 1001 modules/core/include/opencv2/core/cvstd.hpp String s; s 1002 modules/core/include/opencv2/core/cvstd.hpp s.allocate(lhs.len_ + 1); s 1003 modules/core/include/opencv2/core/cvstd.hpp memcpy(s.cstr_, lhs.cstr_, lhs.len_); s 1004 modules/core/include/opencv2/core/cvstd.hpp s.cstr_[lhs.len_] = rhs; s 1005 modules/core/include/opencv2/core/cvstd.hpp return s; s 1011 modules/core/include/opencv2/core/cvstd.hpp String s; s 1012 modules/core/include/opencv2/core/cvstd.hpp s.allocate(rhs.len_ + 1); s 1013 modules/core/include/opencv2/core/cvstd.hpp s.cstr_[0] = lhs; s 1014 modules/core/include/opencv2/core/cvstd.hpp memcpy(s.cstr_ + 1, rhs.cstr_, rhs.len_); s 1015 modules/core/include/opencv2/core/cvstd.hpp return s; s 124 modules/core/include/opencv2/core/cvstd.inl.hpp String s; s 126 modules/core/include/opencv2/core/cvstd.inl.hpp s.allocate(lhs.len_ + rhslen); s 127 modules/core/include/opencv2/core/cvstd.inl.hpp memcpy(s.cstr_, lhs.cstr_, lhs.len_); s 128 modules/core/include/opencv2/core/cvstd.inl.hpp memcpy(s.cstr_ + lhs.len_, rhs.c_str(), rhslen); s 129 modules/core/include/opencv2/core/cvstd.inl.hpp return s; s 135 modules/core/include/opencv2/core/cvstd.inl.hpp String s; s 137 modules/core/include/opencv2/core/cvstd.inl.hpp s.allocate(lhslen + rhs.len_); s 138 modules/core/include/opencv2/core/cvstd.inl.hpp memcpy(s.cstr_, lhs.c_str(), lhslen); s 139 modules/core/include/opencv2/core/cvstd.inl.hpp memcpy(s.cstr_ + lhslen, rhs.cstr_, rhs.len_); s 140 modules/core/include/opencv2/core/cvstd.inl.hpp return s; s 525 modules/core/include/opencv2/core/mat.hpp explicit MatStep(size_t s); s 529 modules/core/include/opencv2/core/mat.hpp MatStep& operator = (size_t s); s 766 modules/core/include/opencv2/core/mat.hpp Mat(int rows, int cols, int type, const Scalar& s); s 777 modules/core/include/opencv2/core/mat.hpp Mat(Size size, int type, const Scalar& s); s 796 modules/core/include/opencv2/core/mat.hpp Mat(int ndims, const int* sizes, int type, const Scalar& s); s 1102 modules/core/include/opencv2/core/mat.hpp Mat& operator = (const Scalar& s); s 1374 modules/core/include/opencv2/core/mat.hpp void resize(size_t sz, const Scalar& s); s 1993 modules/core/include/opencv2/core/mat.hpp Mat_& operator = (const _Tp& s); s 2129 modules/core/include/opencv2/core/mat.hpp UMat(int rows, int cols, int type, const Scalar& s, UMatUsageFlags usageFlags = USAGE_DEFAULT); s 2130 modules/core/include/opencv2/core/mat.hpp UMat(Size size, int type, const Scalar& s, UMatUsageFlags usageFlags = USAGE_DEFAULT); s 2134 modules/core/include/opencv2/core/mat.hpp UMat(int ndims, const int* sizes, int type, const Scalar& s, UMatUsageFlags usageFlags = USAGE_DEFAULT); s 2194 modules/core/include/opencv2/core/mat.hpp UMat& operator = (const Scalar& s); s 3181 modules/core/include/opencv2/core/mat.hpp virtual void add(const MatExpr& expr1, const Scalar& s, MatExpr& res) const; s 3184 modules/core/include/opencv2/core/mat.hpp virtual void subtract(const Scalar& s, const MatExpr& expr, MatExpr& res) const; s 3187 modules/core/include/opencv2/core/mat.hpp virtual void multiply(const MatExpr& expr1, double s, MatExpr& res) const; s 3190 modules/core/include/opencv2/core/mat.hpp virtual void divide(double s, const MatExpr& expr, MatExpr& res) const; s 3282 modules/core/include/opencv2/core/mat.hpp Scalar s; s 3290 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator + (const Mat& a, const Scalar& s); s 3291 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator + (const Scalar& s, const Mat& a); s 3294 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator + (const MatExpr& e, const Scalar& s); s 3295 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator + (const Scalar& s, const MatExpr& e); s 3299 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator - (const Mat& a, const Scalar& s); s 3300 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator - (const Scalar& s, const Mat& a); s 3303 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator - (const MatExpr& e, const Scalar& s); s 3304 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator - (const Scalar& s, const MatExpr& e); s 3311 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator * (const Mat& a, double s); s 3312 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator * (double s, const Mat& a); s 3315 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator * (const MatExpr& e, double s); s 3316 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator * (double s, const MatExpr& e); s 3320 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator / (const Mat& a, double s); s 3321 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator / (double s, const Mat& a); s 3324 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator / (const MatExpr& e, double s); s 3325 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator / (double s, const MatExpr& e); s 3329 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator < (const Mat& a, double s); s 3330 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator < (double s, const Mat& a); s 3333 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator <= (const Mat& a, double s); s 3334 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator <= (double s, const Mat& a); s 3337 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator == (const Mat& a, double s); s 3338 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator == (double s, const Mat& a); s 3341 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator != (const Mat& a, double s); s 3342 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator != (double s, const Mat& a); s 3345 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator >= (const Mat& a, double s); s 3346 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator >= (double s, const Mat& a); s 3349 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator > (const Mat& a, double s); s 3350 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator > (double s, const Mat& a); s 3353 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator & (const Mat& a, const Scalar& s); s 3354 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator & (const Scalar& s, const Mat& a); s 3357 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator | (const Mat& a, const Scalar& s); s 3358 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator | (const Scalar& s, const Mat& a); s 3361 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator ^ (const Mat& a, const Scalar& s); s 3362 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr operator ^ (const Scalar& s, const Mat& a); s 3367 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr min(const Mat& a, double s); s 3368 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr min(double s, const Mat& a); s 3371 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr max(const Mat& a, double s); s 3372 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr max(double s, const Mat& a); s 1163 modules/core/include/opencv2/core/mat.inl.hpp MatStep::MatStep(size_t s) s 1165 modules/core/include/opencv2/core/mat.inl.hpp p = buf; p[0] = s; p[1] = 0; s 1186 modules/core/include/opencv2/core/mat.inl.hpp inline MatStep& MatStep::operator = (size_t s) s 1189 modules/core/include/opencv2/core/mat.inl.hpp buf[0] = s; s 1343 modules/core/include/opencv2/core/mat.inl.hpp Mat_<_Tp>& Mat_<_Tp>::operator = (const _Tp& s) s 1346 modules/core/include/opencv2/core/mat.inl.hpp Mat::operator=(Scalar((const VT&)s)); s 2968 modules/core/include/opencv2/core/mat.inl.hpp MatExpr min(const Mat_<_Tp>& a, double s) s 2970 modules/core/include/opencv2/core/mat.inl.hpp return cv::min((const Mat&)a, s); s 2974 modules/core/include/opencv2/core/mat.inl.hpp MatExpr min(double s, const Mat_<_Tp>& a) s 2976 modules/core/include/opencv2/core/mat.inl.hpp return cv::min((const Mat&)a, s); s 2986 modules/core/include/opencv2/core/mat.inl.hpp MatExpr max(const Mat_<_Tp>& a, double s) s 2988 modules/core/include/opencv2/core/mat.inl.hpp return cv::max((const Mat&)a, s); s 2992 modules/core/include/opencv2/core/mat.inl.hpp MatExpr max(double s, const Mat_<_Tp>& a) s 2994 modules/core/include/opencv2/core/mat.inl.hpp return cv::max((const Mat&)a, s); s 631 modules/core/include/opencv2/core/matx.hpp _Tp s = 0; s 632 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < channels; i++ ) s += val[i]*M.val[i]; s 633 modules/core/include/opencv2/core/matx.hpp return s; s 639 modules/core/include/opencv2/core/matx.hpp double s = 0; s 640 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < channels; i++ ) s += (double)val[i]*M.val[i]; s 641 modules/core/include/opencv2/core/matx.hpp return s; s 673 modules/core/include/opencv2/core/matx.hpp Matx<_Tp, m1, n1> s; s 676 modules/core/include/opencv2/core/matx.hpp s(di, dj) = (*this)(i+di, j+dj); s 677 modules/core/include/opencv2/core/matx.hpp return s; s 777 modules/core/include/opencv2/core/matx.hpp _Tp s = 0; s 779 modules/core/include/opencv2/core/matx.hpp s += a(i, k) * b(k, j); s 780 modules/core/include/opencv2/core/matx.hpp val[i*n + j] = s; s 826 modules/core/include/opencv2/core/matx.hpp _Tp s = 0; s 828 modules/core/include/opencv2/core/matx.hpp s += a(i,i); s 829 modules/core/include/opencv2/core/matx.hpp return s; s 901 modules/core/include/opencv2/core/persistence.hpp void write(FileStorage& fs, const Scalar_<_Tp>& s ) s 903 modules/core/include/opencv2/core/persistence.hpp write(fs, s.val[0]); s 904 modules/core/include/opencv2/core/persistence.hpp write(fs, s.val[1]); s 905 modules/core/include/opencv2/core/persistence.hpp write(fs, s.val[2]); s 906 modules/core/include/opencv2/core/persistence.hpp write(fs, s.val[3]); s 967 modules/core/include/opencv2/core/persistence.hpp void write(FileStorage& fs, const String& name, const Scalar_<_Tp>& s ) s 970 modules/core/include/opencv2/core/persistence.hpp write(fs, s); s 164 modules/core/include/opencv2/core/private.hpp CV_EXPORTS void scalarToRawData(const cv::Scalar& s, void* buf, int type, int unroll_to = 0); s 2122 modules/core/include/opencv2/core/types.hpp float s = 1 / alpha; s 2123 modules/core/include/opencv2/core/types.hpp return Scalar_<float>(a.val[0] * s, a.val[1] * s, a.val[2] * s, a.val[3] * s); s 2129 modules/core/include/opencv2/core/types.hpp double s = 1 / alpha; s 2130 modules/core/include/opencv2/core/types.hpp return Scalar_<double>(a.val[0] * s, a.val[1] * s, a.val[2] * s, a.val[3] * s); s 2143 modules/core/include/opencv2/core/types.hpp _Tp s = a / (b[0]*b[0] + b[1]*b[1] + b[2]*b[2] + b[3]*b[3]); s 2144 modules/core/include/opencv2/core/types.hpp return b.conj() * s; s 435 modules/core/include/opencv2/core/types_c.h short* s; s 640 modules/core/include/opencv2/core/types_c.h short* s; s 1025 modules/core/include/opencv2/core/types_c.h CvSize s; s 1027 modules/core/include/opencv2/core/types_c.h s.width = width; s 1028 modules/core/include/opencv2/core/types_c.h s.height = height; s 1030 modules/core/include/opencv2/core/types_c.h return s; s 1051 modules/core/include/opencv2/core/types_c.h CvSize2D32f s; s 1053 modules/core/include/opencv2/core/types_c.h s.width = (float)width; s 1054 modules/core/include/opencv2/core/types_c.h s.height = (float)height; s 1056 modules/core/include/opencv2/core/types_c.h return s; s 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) {} s 1132 modules/core/include/opencv2/core/types_c.h CvScalar(const cv::Scalar_<_Tp>& s) { val[0] = s.val[0]; val[1] = s.val[1]; val[2] = s.val[2]; val[3] = s.val[3]; } s 98 modules/core/misc/java/src/java/core+CvType.java String s; s 101 modules/core/misc/java/src/java/core+CvType.java s = "CV_8U"; s 104 modules/core/misc/java/src/java/core+CvType.java s = "CV_8S"; s 107 modules/core/misc/java/src/java/core+CvType.java s = "CV_16U"; s 110 modules/core/misc/java/src/java/core+CvType.java s = "CV_16S"; s 113 modules/core/misc/java/src/java/core+CvType.java s = "CV_32S"; s 116 modules/core/misc/java/src/java/core+CvType.java s = "CV_32F"; s 119 modules/core/misc/java/src/java/core+CvType.java s = "CV_64F"; s 122 modules/core/misc/java/src/java/core+CvType.java s = "CV_USRTYPE1"; s 131 modules/core/misc/java/src/java/core+CvType.java return s + "C" + ch; s 133 modules/core/misc/java/src/java/core+CvType.java return s + "C(" + ch + ")"; s 60 modules/core/misc/java/src/java/core+Mat.java public Mat(int rows, int cols, int type, Scalar s) s 63 modules/core/misc/java/src/java/core+Mat.java nativeObj = n_Mat(rows, cols, type, s.val[0], s.val[1], s.val[2], s.val[3]); s 73 modules/core/misc/java/src/java/core+Mat.java public Mat(Size size, int type, Scalar s) s 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]); s 726 modules/core/misc/java/src/java/core+Mat.java public Mat setTo(Scalar s) s 729 modules/core/misc/java/src/java/core+Mat.java Mat retVal = new Mat(n_setTo(nativeObj, s.val[0], s.val[1], s.val[2], s.val[3])); s 8 modules/core/misc/java/src/java/core+Range.java public Range(int s, int e) { s 9 modules/core/misc/java/src/java/core+Range.java this.start = s; s 26 modules/core/misc/java/src/java/core+Rect.java public Rect(Point p, Size s) { s 27 modules/core/misc/java/src/java/core+Rect.java this((int) p.x, (int) p.y, (int) s.width, (int) s.height); s 16 modules/core/misc/java/src/java/core+RotatedRect.java public RotatedRect(Point c, Size s, double a) { s 18 modules/core/misc/java/src/java/core+RotatedRect.java this.size = s.clone(); s 1948 modules/core/misc/java/test/CoreTest.java Scalar s = Core.trace(gray1); s 1950 modules/core/misc/java/test/CoreTest.java assertEquals(new Scalar(matSize), s); s 236 modules/core/misc/java/test/MatTest.java double s = v1.dot(v2); s 237 modules/core/misc/java/test/MatTest.java assertEquals(11.0, s); s 52 modules/core/perf/opencl/perf_bufferpool.cpp BufferPoolState s(cv::ocl::getOpenCLAllocator()->getBufferPoolController(), GetParam()); s 69 modules/core/perf/opencl/perf_bufferpool.cpp BufferPoolState s(cv::ocl::getOpenCLAllocator()->getBufferPoolController(), GetParam()); s 87 modules/core/perf/opencl/perf_bufferpool.cpp BufferPoolState s(cv::ocl::getOpenCLAllocator()->getBufferPoolController(), GetParam()); s 112 modules/core/perf/opencl/perf_bufferpool.cpp BufferPoolState s(cv::ocl::getOpenCLAllocator()->getBufferPoolController(), GetParam()); s 26 modules/core/perf/opencl/perf_matop.cpp const Scalar s = Scalar::all(17); s 33 modules/core/perf/opencl/perf_matop.cpp OCL_TEST_CYCLE() src.setTo(s); s 48 modules/core/perf/opencl/perf_matop.cpp const Scalar s = Scalar::all(17); s 55 modules/core/perf/opencl/perf_matop.cpp OCL_TEST_CYCLE() src.setTo(s, mask); s 15 modules/core/perf/perf_stat.cpp Scalar s; s 17 modules/core/perf/perf_stat.cpp declare.in(arr, WARMUP_RNG).out(s); s 19 modules/core/perf/perf_stat.cpp TEST_CYCLE() s = sum(arr); s 21 modules/core/perf/perf_stat.cpp SANITY_CHECK(s, 1e-6, ERROR_RELATIVE); s 30 modules/core/perf/perf_stat.cpp Scalar s; s 32 modules/core/perf/perf_stat.cpp declare.in(src, WARMUP_RNG).out(s); s 34 modules/core/perf/perf_stat.cpp TEST_CYCLE() s = mean(src); s 36 modules/core/perf/perf_stat.cpp SANITY_CHECK(s, 1e-5); s 46 modules/core/perf/perf_stat.cpp Scalar s; s 48 modules/core/perf/perf_stat.cpp declare.in(src, WARMUP_RNG).in(mask).out(s); s 50 modules/core/perf/perf_stat.cpp TEST_CYCLE() s = mean(src, mask); s 52 modules/core/perf/perf_stat.cpp SANITY_CHECK(s, 5e-5); s 5839 modules/core/src/arithm.cpp cvAndS( const CvArr* srcarr, CvScalar s, CvArr* dstarr, const CvArr* maskarr ) s 5845 modules/core/src/arithm.cpp cv::bitwise_and( src, (const cv::Scalar&)s, dst, mask ); s 5850 modules/core/src/arithm.cpp cvOrS( const CvArr* srcarr, CvScalar s, CvArr* dstarr, const CvArr* maskarr ) s 5856 modules/core/src/arithm.cpp cv::bitwise_or( src, (const cv::Scalar&)s, dst, mask ); s 5861 modules/core/src/arithm.cpp cvXorS( const CvArr* srcarr, CvScalar s, CvArr* dstarr, const CvArr* maskarr ) s 5867 modules/core/src/arithm.cpp cv::bitwise_xor( src, (const cv::Scalar&)s, dst, mask ); s 210 modules/core/src/command_line_parser.cpp String s = String(argv[i]); s 212 modules/core/src/command_line_parser.cpp if (s.find('=') != String::npos && s.find('=') < s.length()) s 214 modules/core/src/command_line_parser.cpp std::vector<String> k_v = impl->split_string(s, '=', true); s 222 modules/core/src/command_line_parser.cpp else if (s.length() > 2 && s[0] == '-' && s[1] == '-') s 224 modules/core/src/command_line_parser.cpp impl->apply_params(s.substr(2), "true"); s 226 modules/core/src/command_line_parser.cpp else if (s.length() > 1 && s[0] == '-') s 228 modules/core/src/command_line_parser.cpp impl->apply_params(s.substr(1), "true"); s 232 modules/core/src/command_line_parser.cpp impl->apply_params(jj, s); s 1105 modules/core/src/convert.cpp const T* s = src[k]; s 1108 modules/core/src/convert.cpp if( s ) s 1110 modules/core/src/convert.cpp for( i = 0; i <= len - 2; i += 2, s += ds*2, d += dd*2 ) s 1112 modules/core/src/convert.cpp T t0 = s[0], t1 = s[ds]; s 1116 modules/core/src/convert.cpp d[0] = s[0]; s 397 modules/core/src/copy.cpp Mat& Mat::operator = (const Scalar& s) s 403 modules/core/src/copy.cpp const int64* is = (const int64*)&s.val[0]; s 445 modules/core/src/copy.cpp scalarToRawData(s, scalar, type(), 12); s 486 modules/core/src/cuda_gpu_mat.cpp GpuMat& cv::cuda::GpuMat::setTo(Scalar s, Stream& _stream) s 488 modules/core/src/cuda_gpu_mat.cpp (void) s; s 494 modules/core/src/cuda_gpu_mat.cpp GpuMat& cv::cuda::GpuMat::setTo(Scalar s, InputArray _mask, Stream& _stream) s 496 modules/core/src/cuda_gpu_mat.cpp (void) s; s 2198 modules/core/src/dxt.cpp clAmdFftStatus s = (func); \ s 2199 modules/core/src/dxt.cpp CV_Assert(s == CLFFT_SUCCESS); \ s 873 modules/core/src/gl_core_3_1.cpp static void CODEGEN_FUNCPTR Switch_ClearStencil(GLint s) s 876 modules/core/src/gl_core_3_1.cpp ClearStencil(s); s 1085 modules/core/src/gl_core_3_1.hpp extern void (CODEGEN_FUNCPTR *ClearStencil)(GLint s); s 128 modules/core/src/kmeans.cpp double p = (double)rng*sum0, s = 0; s 138 modules/core/src/kmeans.cpp s += tdist2[i]; s 141 modules/core/src/kmeans.cpp if( s < bestSum ) s 143 modules/core/src/kmeans.cpp bestSum = s; s 162 modules/core/src/lapack.cpp _Tp s = hypot(p, t); s 163 modules/core/src/lapack.cpp _Tp c = t/s; s 164 modules/core/src/lapack.cpp s = p/s; t = (p/t)*p; s 166 modules/core/src/lapack.cpp s = -s, t = -t; s 175 modules/core/src/lapack.cpp #define rotate(v0, v1) a0 = v0, b0 = v1, v0 = a0*c - b0*s, v1 = a0*s + b0*c s 280 modules/core/src/lapack.cpp template<> inline int VBLAS<float>::givens(float* a, float* b, int n, float c, float s) const s 285 modules/core/src/lapack.cpp __m128 c4 = _mm_set1_ps(c), s4 = _mm_set1_ps(s); s 299 modules/core/src/lapack.cpp template<> inline int VBLAS<float>::givensx(float* a, float* b, int n, float c, float s, s 305 modules/core/src/lapack.cpp __m128 c4 = _mm_set1_ps(c), s4 = _mm_set1_ps(s); s 349 modules/core/src/lapack.cpp template<> inline int VBLAS<double>::givens(double* a, double* b, int n, double c, double s) const s 352 modules/core/src/lapack.cpp __m128d c2 = _mm_set1_pd(c), s2 = _mm_set1_pd(s); s 366 modules/core/src/lapack.cpp template<> inline int VBLAS<double>::givensx(double* a, double* b, int n, double c, double s, s 370 modules/core/src/lapack.cpp __m128d c2 = _mm_set1_pd(c), s2 = _mm_set1_pd(s); s 400 modules/core/src/lapack.cpp _Tp c, s; s 443 modules/core/src/lapack.cpp s = (_Tp)std::sqrt(delta/gamma); s 444 modules/core/src/lapack.cpp c = (_Tp)(p/(gamma*s*2)); s 449 modules/core/src/lapack.cpp s = (_Tp)(p/(gamma*c*2)); s 455 modules/core/src/lapack.cpp _Tp t0 = c*Ai[k] + s*Aj[k]; s 456 modules/core/src/lapack.cpp _Tp t1 = -s*Ai[k] + c*Aj[k]; s 468 modules/core/src/lapack.cpp k = vblas.givens(Vi, Vj, n, c, s); s 472 modules/core/src/lapack.cpp _Tp t0 = c*Vi[k] + s*Vj[k]; s 473 modules/core/src/lapack.cpp _Tp t1 = -s*Vi[k] + c*Vj[k]; s 564 modules/core/src/lapack.cpp s = (_Tp)(sd > minval ? 1/sd : 0.); s 566 modules/core/src/lapack.cpp At[i*astep + k] *= s; s 589 modules/core/src/lapack.cpp T2 s = a[i*inca]; s 594 modules/core/src/lapack.cpp T3 t0 = (T3)(y[j] + s*x[j]); s 595 modules/core/src/lapack.cpp T3 t1 = (T3)(y[j+1] + s*x[j+1]); s 598 modules/core/src/lapack.cpp t0 = (T3)(y[j+2] + s*x[j+2]); s 599 modules/core/src/lapack.cpp t1 = (T3)(y[j+3] + s*x[j+3]); s 605 modules/core/src/lapack.cpp y[j] = (T3)(y[j] + s*x[j]); s 642 modules/core/src/lapack.cpp double s = 0; s 645 modules/core/src/lapack.cpp s += u[j*udelta1]*b[j*ldb]; s 647 modules/core/src/lapack.cpp s = u[0]; s 648 modules/core/src/lapack.cpp s *= wi; s 651 modules/core/src/lapack.cpp x[j*ldx] = (T)(x[j*ldx] + s*v[j*vdelta1]); s 330 modules/core/src/lda.cpp double p = 0, q = 0, r = 0, s = 0, z = 0, t, w, x, y; s 352 modules/core/src/lda.cpp s = std::abs(H[l - 1][l - 1]) + std::abs(H[l][l]); s 353 modules/core/src/lda.cpp if (s == 0.0) { s 354 modules/core/src/lda.cpp s = norm; s 356 modules/core/src/lda.cpp if (std::abs(H[l][l - 1]) < eps * s) { s 399 modules/core/src/lda.cpp s = std::abs(x) + std::abs(z); s 400 modules/core/src/lda.cpp p = x / s; s 401 modules/core/src/lda.cpp q = z / s; s 462 modules/core/src/lda.cpp s = std::abs(H[n1][n1 - 1]) + std::abs(H[n1 - 1][n1 - 2]); s 463 modules/core/src/lda.cpp x = y = 0.75 * s; s 464 modules/core/src/lda.cpp w = -0.4375 * s * s; s 470 modules/core/src/lda.cpp s = (y - x) / 2.0; s 471 modules/core/src/lda.cpp s = s * s + w; s 472 modules/core/src/lda.cpp if (s > 0) { s 473 modules/core/src/lda.cpp s = std::sqrt(s); s 475 modules/core/src/lda.cpp s = -s; s 477 modules/core/src/lda.cpp s = x - w / ((y - x) / 2.0 + s); s 479 modules/core/src/lda.cpp H[i][i] -= s; s 481 modules/core/src/lda.cpp exshift += s; s 493 modules/core/src/lda.cpp s = y - z; s 494 modules/core/src/lda.cpp p = (r * s - w) / H[m + 1][m] + H[m][m + 1]; s 495 modules/core/src/lda.cpp q = H[m + 1][m + 1] - z - r - s; s 497 modules/core/src/lda.cpp s = std::abs(p) + std::abs(q) + std::abs(r); s 498 modules/core/src/lda.cpp p = p / s; s 499 modules/core/src/lda.cpp q = q / s; s 500 modules/core/src/lda.cpp r = r / s; s 537 modules/core/src/lda.cpp s = std::sqrt(p * p + q * q + r * r); s 539 modules/core/src/lda.cpp s = -s; s 541 modules/core/src/lda.cpp if (s != 0) { s 543 modules/core/src/lda.cpp H[k][k - 1] = -s * x; s 547 modules/core/src/lda.cpp p = p + s; s 548 modules/core/src/lda.cpp x = p / s; s 549 modules/core/src/lda.cpp y = q / s; s 550 modules/core/src/lda.cpp z = r / s; s 617 modules/core/src/lda.cpp s = r; s 633 modules/core/src/lda.cpp t = (x * s - z * r) / q; s 638 modules/core/src/lda.cpp H[i + 1][n1] = (-s - y * t) / z; s 681 modules/core/src/lda.cpp s = sa; s 701 modules/core/src/lda.cpp x * s - z * sa - q * ra, vr, vi); s 710 modules/core/src/lda.cpp cdiv(-r - y * H[i][n1 - 1], -s - y * H[i][n1], z, s 133 modules/core/src/mathfuncs.cpp int ix, s; s 138 modules/core/src/mathfuncs.cpp s = v.i & 0x80000000; s 162 modules/core/src/mathfuncs.cpp v.i = (v.i + (ex << 23) + s) & (m.i*2 != 0 ? -1 : 0); s 1523 modules/core/src/matmul.cpp WT s = _m[scn]; s 1525 modules/core/src/matmul.cpp s += _m[k]*src[k]; s 1526 modules/core/src/matmul.cpp dst[j] = saturate_cast<T>(s); s 2093 modules/core/src/matmul.cpp double s = _m[scn]; s 2095 modules/core/src/matmul.cpp s += _m[k]*src[k]; s 2096 modules/core/src/matmul.cpp dst[j] = (T)(s*w); s 2718 modules/core/src/matmul.cpp double s = 0; s 2723 modules/core/src/matmul.cpp s += (double)tsrc1[k]*tsrc2[k] + (double)tsrc1[k+1]*tsrc2[k+1] + s 2726 modules/core/src/matmul.cpp s += (double)tsrc1[k] * tsrc2[k]; s 2727 modules/core/src/matmul.cpp tdst[j] = (dT)(s*scale); s 2750 modules/core/src/matmul.cpp double s = 0; s 2760 modules/core/src/matmul.cpp s += (double)row_buf[k]*(tsrc2[k] - tdelta2[0]) + s 2765 modules/core/src/matmul.cpp s += (double)row_buf[k]*(tsrc2[k] - tdelta2[0]); s 2766 modules/core/src/matmul.cpp tdst[j] = (dT)(s*scale); s 2944 modules/core/src/matmul.cpp __m128i s = z; s 2957 modules/core/src/matmul.cpp s = _mm_add_epi32(s, s0); s 2958 modules/core/src/matmul.cpp s = _mm_add_epi32(s, s2); s 2966 modules/core/src/matmul.cpp s = _mm_add_epi32(s, s0); s 2969 modules/core/src/matmul.cpp _mm_store_si128((__m128i*)buf, s); s 3036 modules/core/src/matmul.cpp __m128i s = z; s 3049 modules/core/src/matmul.cpp s = _mm_add_epi32(s, s0); s 3050 modules/core/src/matmul.cpp s = _mm_add_epi32(s, s2); s 3060 modules/core/src/matmul.cpp s = _mm_add_epi32(s, s0); s 3063 modules/core/src/matmul.cpp _mm_store_si128((__m128i*)buf, s); s 77 modules/core/src/matop.cpp void add(const MatExpr& e1, const Scalar& s, MatExpr& res) const; s 78 modules/core/src/matop.cpp void subtract(const Scalar& s, const MatExpr& expr, MatExpr& res) const; s 79 modules/core/src/matop.cpp void multiply(const MatExpr& e1, double s, MatExpr& res) const; s 80 modules/core/src/matop.cpp void divide(double s, const MatExpr& e, MatExpr& res) const; s 85 modules/core/src/matop.cpp static void makeExpr(MatExpr& res, const Mat& a, const Mat& b, double alpha, double beta, const Scalar& s=Scalar()); s 99 modules/core/src/matop.cpp void multiply(const MatExpr& e1, double s, MatExpr& res) const; s 100 modules/core/src/matop.cpp void divide(double s, const MatExpr& e, MatExpr& res) const; s 103 modules/core/src/matop.cpp static void makeExpr(MatExpr& res, char op, const Mat& a, const Scalar& s); s 134 modules/core/src/matop.cpp void multiply(const MatExpr& e, double s, MatExpr& res) const; s 169 modules/core/src/matop.cpp void multiply(const MatExpr& e1, double s, MatExpr& res) const; s 200 modules/core/src/matop.cpp void multiply(const MatExpr& e, double s, MatExpr& res) const; s 214 modules/core/src/matop.cpp static inline bool isScaled(const MatExpr& e) { return isAddEx(e) && (!e.b.data || e.beta == 0) && e.s == Scalar(); } s 241 modules/core/src/matop.cpp expr.alpha, expr.beta, expr.s); s 262 modules/core/src/matop.cpp expr.alpha, expr.beta, expr.s); s 340 modules/core/src/matop.cpp Scalar s; s 346 modules/core/src/matop.cpp s = e1.s; s 355 modules/core/src/matop.cpp s += e2.s; s 359 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(res, m1, m2, alpha, beta, s); s 366 modules/core/src/matop.cpp void MatOp::add(const MatExpr& expr1, const Scalar& s, MatExpr& res) const s 370 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(res, m1, Mat(), 1, 0, s); s 379 modules/core/src/matop.cpp Scalar s; s 385 modules/core/src/matop.cpp s = e1.s; s 394 modules/core/src/matop.cpp s -= e2.s; s 398 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(res, m1, m2, alpha, beta, s); s 405 modules/core/src/matop.cpp void MatOp::subtract(const Scalar& s, const MatExpr& expr, MatExpr& res) const s 409 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(res, m, Mat(), -1, 0, s); s 464 modules/core/src/matop.cpp void MatOp::multiply(const MatExpr& expr, double s, MatExpr& res) const s 468 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(res, m, Mat(), s, 0); s 512 modules/core/src/matop.cpp void MatOp::divide(double s, const MatExpr& expr, MatExpr& res) const s 516 modules/core/src/matop.cpp MatOp_Bin::makeExpr(res, '/', m, Mat(), s); s 683 modules/core/src/matop.cpp MatExpr operator + (const Mat& a, const Scalar& s) s 686 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(e, a, Mat(), 1, 0, s); s 690 modules/core/src/matop.cpp MatExpr operator + (const Scalar& s, const Mat& a) s 693 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(e, a, Mat(), 1, 0, s); s 711 modules/core/src/matop.cpp MatExpr operator + (const MatExpr& e, const Scalar& s) s 714 modules/core/src/matop.cpp e.op->add(e, s, en); s 718 modules/core/src/matop.cpp MatExpr operator + (const Scalar& s, const MatExpr& e) s 721 modules/core/src/matop.cpp e.op->add(e, s, en); s 739 modules/core/src/matop.cpp MatExpr operator - (const Mat& a, const Scalar& s) s 742 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(e, a, Mat(), 1, 0, -s); s 746 modules/core/src/matop.cpp MatExpr operator - (const Scalar& s, const Mat& a) s 749 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(e, a, Mat(), -1, 0, s); s 767 modules/core/src/matop.cpp MatExpr operator - (const MatExpr& e, const Scalar& s) s 770 modules/core/src/matop.cpp e.op->add(e, -s, en); s 774 modules/core/src/matop.cpp MatExpr operator - (const Scalar& s, const MatExpr& e) s 777 modules/core/src/matop.cpp e.op->subtract(s, e, en); s 809 modules/core/src/matop.cpp MatExpr operator * (const Mat& a, double s) s 812 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(e, a, Mat(), s, 0); s 816 modules/core/src/matop.cpp MatExpr operator * (double s, const Mat& a) s 819 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(e, a, Mat(), s, 0); s 837 modules/core/src/matop.cpp MatExpr operator * (const MatExpr& e, double s) s 840 modules/core/src/matop.cpp e.op->multiply(e, s, en); s 844 modules/core/src/matop.cpp MatExpr operator * (double s, const MatExpr& e) s 847 modules/core/src/matop.cpp e.op->multiply(e, s, en); s 865 modules/core/src/matop.cpp MatExpr operator / (const Mat& a, double s) s 868 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(e, a, Mat(), 1./s, 0); s 872 modules/core/src/matop.cpp MatExpr operator / (double s, const Mat& a) s 875 modules/core/src/matop.cpp MatOp_Bin::makeExpr(e, '/', a, Mat(), s); s 893 modules/core/src/matop.cpp MatExpr operator / (const MatExpr& e, double s) s 896 modules/core/src/matop.cpp e.op->multiply(e, 1./s, en); s 900 modules/core/src/matop.cpp MatExpr operator / (double s, const MatExpr& e) s 903 modules/core/src/matop.cpp e.op->divide(s, e, en); s 921 modules/core/src/matop.cpp MatExpr operator < (const Mat& a, double s) s 924 modules/core/src/matop.cpp MatOp_Cmp::makeExpr(e, CV_CMP_LT, a, s); s 928 modules/core/src/matop.cpp MatExpr operator < (double s, const Mat& a) s 931 modules/core/src/matop.cpp MatOp_Cmp::makeExpr(e, CV_CMP_GT, a, s); s 942 modules/core/src/matop.cpp MatExpr operator <= (const Mat& a, double s) s 945 modules/core/src/matop.cpp MatOp_Cmp::makeExpr(e, CV_CMP_LE, a, s); s 949 modules/core/src/matop.cpp MatExpr operator <= (double s, const Mat& a) s 952 modules/core/src/matop.cpp MatOp_Cmp::makeExpr(e, CV_CMP_GE, a, s); s 963 modules/core/src/matop.cpp MatExpr operator == (const Mat& a, double s) s 966 modules/core/src/matop.cpp MatOp_Cmp::makeExpr(e, CV_CMP_EQ, a, s); s 970 modules/core/src/matop.cpp MatExpr operator == (double s, const Mat& a) s 973 modules/core/src/matop.cpp MatOp_Cmp::makeExpr(e, CV_CMP_EQ, a, s); s 984 modules/core/src/matop.cpp MatExpr operator != (const Mat& a, double s) s 987 modules/core/src/matop.cpp MatOp_Cmp::makeExpr(e, CV_CMP_NE, a, s); s 991 modules/core/src/matop.cpp MatExpr operator != (double s, const Mat& a) s 994 modules/core/src/matop.cpp MatOp_Cmp::makeExpr(e, CV_CMP_NE, a, s); s 1005 modules/core/src/matop.cpp MatExpr operator >= (const Mat& a, double s) s 1008 modules/core/src/matop.cpp MatOp_Cmp::makeExpr(e, CV_CMP_GE, a, s); s 1012 modules/core/src/matop.cpp MatExpr operator >= (double s, const Mat& a) s 1015 modules/core/src/matop.cpp MatOp_Cmp::makeExpr(e, CV_CMP_LE, a, s); s 1026 modules/core/src/matop.cpp MatExpr operator > (const Mat& a, double s) s 1029 modules/core/src/matop.cpp MatOp_Cmp::makeExpr(e, CV_CMP_GT, a, s); s 1033 modules/core/src/matop.cpp MatExpr operator > (double s, const Mat& a) s 1036 modules/core/src/matop.cpp MatOp_Cmp::makeExpr(e, CV_CMP_LT, a, s); s 1047 modules/core/src/matop.cpp MatExpr min(const Mat& a, double s) s 1050 modules/core/src/matop.cpp MatOp_Bin::makeExpr(e, 'n', a, s); s 1054 modules/core/src/matop.cpp MatExpr min(double s, const Mat& a) s 1057 modules/core/src/matop.cpp MatOp_Bin::makeExpr(e, 'n', a, s); s 1068 modules/core/src/matop.cpp MatExpr max(const Mat& a, double s) s 1071 modules/core/src/matop.cpp MatOp_Bin::makeExpr(e, 'N', a, s); s 1075 modules/core/src/matop.cpp MatExpr max(double s, const Mat& a) s 1078 modules/core/src/matop.cpp MatOp_Bin::makeExpr(e, 'N', a, s); s 1089 modules/core/src/matop.cpp MatExpr operator & (const Mat& a, const Scalar& s) s 1092 modules/core/src/matop.cpp MatOp_Bin::makeExpr(e, '&', a, s); s 1096 modules/core/src/matop.cpp MatExpr operator & (const Scalar& s, const Mat& a) s 1099 modules/core/src/matop.cpp MatOp_Bin::makeExpr(e, '&', a, s); s 1110 modules/core/src/matop.cpp MatExpr operator | (const Mat& a, const Scalar& s) s 1113 modules/core/src/matop.cpp MatOp_Bin::makeExpr(e, '|', a, s); s 1117 modules/core/src/matop.cpp MatExpr operator | (const Scalar& s, const Mat& a) s 1120 modules/core/src/matop.cpp MatOp_Bin::makeExpr(e, '|', a, s); s 1131 modules/core/src/matop.cpp MatExpr operator ^ (const Mat& a, const Scalar& s) s 1134 modules/core/src/matop.cpp MatOp_Bin::makeExpr(e, '^', a, s); s 1138 modules/core/src/matop.cpp MatExpr operator ^ (const Scalar& s, const Mat& a) s 1141 modules/core/src/matop.cpp MatOp_Bin::makeExpr(e, '^', a, s); s 1216 modules/core/src/matop.cpp if( e.s == Scalar() || !e.s.isReal() ) s 1237 modules/core/src/matop.cpp if( !e.s.isReal() ) s 1238 modules/core/src/matop.cpp cv::add(dst, e.s, dst); s 1241 modules/core/src/matop.cpp cv::addWeighted(e.a, e.alpha, e.b, e.beta, e.s[0], dst); s 1243 modules/core/src/matop.cpp else if( e.s.isReal() && (dst.data != m.data || fabs(e.alpha) != 1)) s 1245 modules/core/src/matop.cpp e.a.convertTo(m, _type, e.alpha, e.s[0]); s 1249 modules/core/src/matop.cpp cv::add(e.a, e.s, dst); s 1251 modules/core/src/matop.cpp cv::subtract(e.s, e.a, dst); s 1255 modules/core/src/matop.cpp cv::add(dst, e.s, dst); s 1263 modules/core/src/matop.cpp void MatOp_AddEx::add(const MatExpr& e, const Scalar& s, MatExpr& res) const s 1266 modules/core/src/matop.cpp res.s += s; s 1270 modules/core/src/matop.cpp void MatOp_AddEx::subtract(const Scalar& s, const MatExpr& e, MatExpr& res) const s 1275 modules/core/src/matop.cpp res.s = s - res.s; s 1278 modules/core/src/matop.cpp void MatOp_AddEx::multiply(const MatExpr& e, double s, MatExpr& res) const s 1281 modules/core/src/matop.cpp res.alpha *= s; s 1282 modules/core/src/matop.cpp res.beta *= s; s 1283 modules/core/src/matop.cpp res.s *= s; s 1286 modules/core/src/matop.cpp void MatOp_AddEx::divide(double s, const MatExpr& e, MatExpr& res) const s 1289 modules/core/src/matop.cpp MatOp_Bin::makeExpr(res, '/', e.a, Mat(), s/e.alpha); s 1291 modules/core/src/matop.cpp MatOp::divide(s, e, res); s 1306 modules/core/src/matop.cpp MatOp_Bin::makeExpr(res, 'a', e.a, -e.s*e.alpha); s 1313 modules/core/src/matop.cpp inline void MatOp_AddEx::makeExpr(MatExpr& res, const Mat& a, const Mat& b, double alpha, double beta, const Scalar& s) s 1315 modules/core/src/matop.cpp res = MatExpr(&g_MatOp_AddEx, 0, a, b, Mat(), alpha, beta, s); s 1333 modules/core/src/matop.cpp bitwise_and(e.a, e.s, dst); s 1337 modules/core/src/matop.cpp bitwise_or(e.a, e.s, dst); s 1341 modules/core/src/matop.cpp bitwise_xor(e.a, e.s, dst); s 1347 modules/core/src/matop.cpp cv::min(e.a, e.s[0], dst); s 1351 modules/core/src/matop.cpp cv::max(e.a, e.s[0], dst); s 1355 modules/core/src/matop.cpp cv::absdiff(e.a, e.s, dst); s 1363 modules/core/src/matop.cpp void MatOp_Bin::multiply(const MatExpr& e, double s, MatExpr& res) const s 1368 modules/core/src/matop.cpp res.alpha *= s; s 1371 modules/core/src/matop.cpp MatOp::multiply(e, s, res); s 1374 modules/core/src/matop.cpp void MatOp_Bin::divide(double s, const MatExpr& e, MatExpr& res) const s 1377 modules/core/src/matop.cpp MatOp_AddEx::makeExpr(res, e.a, Mat(), s/e.alpha, 0); s 1379 modules/core/src/matop.cpp MatOp::divide(s, e, res); s 1387 modules/core/src/matop.cpp inline void MatOp_Bin::makeExpr(MatExpr& res, char op, const Mat& a, const Scalar& s) s 1389 modules/core/src/matop.cpp res = MatExpr(&g_MatOp_Bin, op, a, Mat(), Mat(), 1, 0, s); s 1429 modules/core/src/matop.cpp void MatOp_T::multiply(const MatExpr& e, double s, MatExpr& res) const s 1432 modules/core/src/matop.cpp res.alpha *= s; s 1493 modules/core/src/matop.cpp void MatOp_GEMM::multiply(const MatExpr& e, double s, MatExpr& res) const s 1496 modules/core/src/matop.cpp res.alpha *= s; s 1497 modules/core/src/matop.cpp res.beta *= s; s 1579 modules/core/src/matop.cpp void MatOp_Initializer::multiply(const MatExpr& e, double s, MatExpr& res) const s 1582 modules/core/src/matop.cpp res.alpha *= s; s 292 modules/core/src/matrix.cpp int s = _sz[i]; s 293 modules/core/src/matrix.cpp CV_Assert( s >= 0 ); s 294 modules/core/src/matrix.cpp m.size.p[i] = s; s 308 modules/core/src/matrix.cpp int64 total1 = (int64)total*s; s 788 modules/core/src/matrix.cpp void Mat::resize(size_t nelems, const Scalar& s) s 796 modules/core/src/matrix.cpp part = s; s 1036 modules/core/src/matrix.cpp void scalarToRawData(const Scalar& s, void* _buf, int type, int unroll_to) s 1046 modules/core/src/matrix.cpp buf[i] = saturate_cast<uchar>(s.val[i]); s 1055 modules/core/src/matrix.cpp buf[i] = saturate_cast<schar>(s.val[i]); s 1064 modules/core/src/matrix.cpp buf[i] = saturate_cast<ushort>(s.val[i]); s 1073 modules/core/src/matrix.cpp buf[i] = saturate_cast<short>(s.val[i]); s 1082 modules/core/src/matrix.cpp buf[i] = saturate_cast<int>(s.val[i]); s 1091 modules/core/src/matrix.cpp buf[i] = saturate_cast<float>(s.val[i]); s 1100 modules/core/src/matrix.cpp buf[i] = saturate_cast<double>(s.val[i]); s 2810 modules/core/src/matrix.cpp static bool ocl_setIdentity( InputOutputArray _m, const Scalar& s ) s 2836 modules/core/src/matrix.cpp ocl::KernelArg::Constant(Mat(1, 1, sctype, s))); s 2846 modules/core/src/matrix.cpp void cv::setIdentity( InputOutputArray _m, const Scalar& s ) s 2851 modules/core/src/matrix.cpp ocl_setIdentity(_m, s)) s 2859 modules/core/src/matrix.cpp float val = (float)s[0]; s 2873 modules/core/src/matrix.cpp double val = s[0]; s 2885 modules/core/src/matrix.cpp m.diag() = s; s 4465 modules/core/src/matrix.cpp size_t s = m->step[i], v = ofs/s; s 4466 modules/core/src/matrix.cpp ofs -= v*s; s 4487 modules/core/src/matrix.cpp size_t s = m->step[i], v = ofs/s; s 4488 modules/core/src/matrix.cpp ofs -= v*s; s 2201 modules/core/src/ocl.cpp static void split(const std::string &s, char delim, std::vector<std::string> &elems) s 2204 modules/core/src/ocl.cpp if (s.size() == 0) s 2206 modules/core/src/ocl.cpp std::istringstream ss(s); s 434 modules/core/src/rand.cpp PT s = mean[j]; s 436 modules/core/src/rand.cpp s += src[k]*stddev[j*cn + k]; s 437 modules/core/src/rand.cpp dst[j] = saturate_cast<T>(s); s 882 modules/core/src/rand.cpp cv::RNG_MT19937::RNG_MT19937(unsigned s) { seed(s); } s 886 modules/core/src/rand.cpp void cv::RNG_MT19937::seed(unsigned s) s 888 modules/core/src/rand.cpp state[0]= s; s 55 modules/core/src/stat.cpp Scalar s; s 59 modules/core/src/stat.cpp s.val[i] = ((T1*)&v)[i]; s 60 modules/core/src/stat.cpp return s; s 406 modules/core/src/stat.cpp ST s = dst[0]; s 410 modules/core/src/stat.cpp s += src[i]; s 413 modules/core/src/stat.cpp dst[0] = s; s 984 modules/core/src/stat.cpp ST s = sum[k] + v; s 986 modules/core/src/stat.cpp sum[k] = s; sqsum[k] = sq; s 1035 modules/core/src/stat.cpp Scalar s = Scalar::all(0); s 1041 modules/core/src/stat.cpp s[c] += ptr[x]; s 1043 modules/core/src/stat.cpp return s; s 1208 modules/core/src/stat.cpp Scalar s; s 1212 modules/core/src/stat.cpp int* buf = (int*)&s[0]; s 1239 modules/core/src/stat.cpp s[k] += buf[k]; s 1247 modules/core/src/stat.cpp return s; s 1456 modules/core/src/stat.cpp Scalar s; s 1460 modules/core/src/stat.cpp int* buf = (int*)&s[0]; s 1488 modules/core/src/stat.cpp s[k] += buf[k]; s 1498 modules/core/src/stat.cpp return s*(nz0 ? 1./nz0 : 0); s 1754 modules/core/src/stat.cpp double *s = (double*)_buf, *sq = s + cn; s 1755 modules/core/src/stat.cpp int *sbuf = (int*)s, *sqbuf = (int*)sq; s 1760 modules/core/src/stat.cpp s[k] = sq[k] = 0; s 1786 modules/core/src/stat.cpp s[k] += sbuf[k]; s 1808 modules/core/src/stat.cpp s[k] *= scale; s 1809 modules/core/src/stat.cpp sq[k] = std::sqrt(std::max(sq[k]*scale - s[k]*s[k], 0.)); s 1814 modules/core/src/stat.cpp const double* sptr = j == 0 ? s : sq; s 2602 modules/core/src/stat.cpp double s = 0.0; s 2604 modules/core/src/stat.cpp s += sc[i]; s 2606 modules/core/src/stat.cpp result = normType == NORM_L1 || normType == NORM_L2SQR ? s : std::sqrt(s); s 155 modules/core/src/umatrix.cpp int s = _sz[i]; s 156 modules/core/src/umatrix.cpp CV_Assert( s >= 0 ); s 157 modules/core/src/umatrix.cpp m.size.p[i] = s; s 164 modules/core/src/umatrix.cpp int64 total1 = (int64)total*s; s 614 modules/core/src/umatrix.cpp size_t s = step.p[i]; s 615 modules/core/src/umatrix.cpp ofs[i] = val / s; s 616 modules/core/src/umatrix.cpp val -= ofs[i]*s; s 826 modules/core/src/umatrix.cpp UMat& UMat::operator = (const Scalar& s) s 828 modules/core/src/umatrix.cpp setTo(s); s 791 modules/core/test/test_arithm.cpp static void setIdentity(Mat& dst, const Scalar& s) s 795 modules/core/test/test_arithm.cpp scalarToRawData(s, buf, dst.type(), 0); s 1526 modules/core/test/test_arithm.cpp cv::Scalar s(147.286359696927, 1, 1 ,1); s 1528 modules/core/test/test_arithm.cpp cv::multiply(src, s, dst, 1, CV_16U); s 567 modules/core/test/test_ds.cpp CvSeq* s; s 568 modules/core/test/test_ds.cpp s = cvCreateSeq( 0, hdr_size, elem_size, storage ); s 569 modules/core/test/test_ds.cpp cvStartAppendToSeq( s, &writer[struct_idx] ); s 173 modules/core/test/test_eigen.cpp int n = src.rows, s = sign(high_index); s 174 modules/core/test/test_eigen.cpp if (!( (evalues.rows == n - max<int>(0, low_index) - ((int)((n/2.0)*(s*s-s)) + (1+s-s*s)*(n - (high_index+1)))) && (evalues.cols == 1))) s 187 modules/core/test/test_eigen.cpp int n = src.rows, s = sign(high_index); s 188 modules/core/test/test_eigen.cpp int right_eigen_pair_count = n - max<int>(0, low_index) - ((int)((n/2.0)*(s*s-s)) + (1+s-s*s)*(n - (high_index+1))); s 570 modules/core/test/test_mat.cpp static const int* string2idx(const string& s, int* idx, int dims) s 572 modules/core/test/test_mat.cpp const char* ptr = s.c_str(); s 2270 modules/core/test/test_math.cpp double div = 0, s = 0; s 2312 modules/core/test/test_math.cpp div = s = 0; s 2315 modules/core/test/test_math.cpp s += fabs(ar1[j]); s 2318 modules/core/test/test_math.cpp div /= s; s 2323 modules/core/test/test_math.cpp div = s = 0; s 2326 modules/core/test/test_math.cpp s += fabs(r[j].real()) + fabs(r[j].imag()); s 2329 modules/core/test/test_math.cpp div /= s; s 2779 modules/core/test/test_math.cpp cv::Scalar s = cv::sum(diff); s 2780 modules/core/test/test_math.cpp ASSERT_EQ(s.dot(s), 0.0); s 2814 modules/core/test/test_math.cpp cv::Scalar s = cv::sum(diff); s 2815 modules/core/test/test_math.cpp ASSERT_EQ(s.dot(s), 0.0); s 66 modules/core/test/test_operations.cpp test_excep(const string& _s=string("")) : s(_s) { } s 67 modules/core/test/test_operations.cpp string s; s 84 modules/core/test/test_operations.cpp void checkDiff(const Mat& m1, const Mat& m2, const string& s) s 86 modules/core/test/test_operations.cpp if (cvtest::norm(m1, m2, NORM_INF) != 0) throw test_excep(s); s 88 modules/core/test/test_operations.cpp void checkDiffF(const Mat& m1, const Mat& m2, const string& s) s 90 modules/core/test/test_operations.cpp if (cvtest::norm(m1, m2, NORM_INF) > 1e-5) throw test_excep(s); s 124 modules/core/test/test_operations.cpp double s = sum(Mat(m).reshape(1))[0]; s 125 modules/core/test/test_operations.cpp CV_Assert( s == (double)sz.width*sz.height ); s 430 modules/core/test/test_operations.cpp ts->printf(cvtest::TS::LOG, "%s\n", e.s.c_str()); s 458 modules/core/test/test_operations.cpp ts->printf(cvtest::TS::LOG, "%s\n", e.s.c_str()); s 495 modules/core/test/test_operations.cpp ts->printf(cvtest::TS::LOG, "%s\n", e.s.c_str()); s 815 modules/core/test/test_operations.cpp ts->printf(cvtest::TS::LOG, "%s\n", e.s.c_str()); s 873 modules/core/test/test_operations.cpp Scalar s(4, 3, 2, 1); s 874 modules/core/test/test_operations.cpp Scalar sf = mat44f*s; s 875 modules/core/test/test_operations.cpp Scalar sd = mat44d*s; s 261 modules/core/test/test_ptr.cpp Size* s = new Size(); s 262 modules/core/test/test_ptr.cpp Ptr<Size> p(s); s 263 modules/core/test/test_ptr.cpp EXPECT_EQ(s, static_cast<Size*>(p)); s 264 modules/core/test/test_ptr.cpp EXPECT_EQ(s, &*p); s 265 modules/core/test/test_ptr.cpp EXPECT_EQ(&s->width, &p->width); s 452 modules/core/test/test_umat.cpp Size s = randomSize(1,300); s 454 modules/core/test/test_umat.cpp b = randomMat(s, type, -100, 100); s 465 modules/core/test/test_umat.cpp roi_shift_x = randomInt(0, s.width-1); s 466 modules/core/test/test_umat.cpp roi_shift_y = randomInt(0, s.height-1); s 467 modules/core/test/test_umat.cpp roi_size = Size(s.width - roi_shift_x, s.height - roi_shift_y); s 564 modules/core/test/test_umat.cpp test_excep(const string& _s=string("")) : s(_s) { } s 565 modules/core/test/test_umat.cpp string s; s 570 modules/core/test/test_umat.cpp void checkDiff(const Mat& m1, const Mat& m2, const string& s) s 573 modules/core/test/test_umat.cpp throw test_excep(s); s 575 modules/core/test/test_umat.cpp void checkDiffF(const Mat& m1, const Mat& m2, const string& s) s 578 modules/core/test/test_umat.cpp throw test_excep(s); s 682 modules/core/test/test_umat.cpp ts->printf(cvtest::TS::LOG, "%s\n", e.s.c_str()); s 100 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; s 101 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(s, WARMUP_RNG); s 108 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::add(d_src, s, dst); s 116 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::add(src, s, dst); s 171 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; s 172 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(s, WARMUP_RNG); s 179 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::subtract(d_src, s, dst); s 187 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::subtract(src, s, dst); s 242 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; s 243 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(s, WARMUP_RNG); s 250 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::multiply(d_src, s, dst); s 258 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::multiply(src, s, dst); s 313 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; s 314 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(s, WARMUP_RNG); s 321 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::divide(d_src, s, dst); s 329 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::divide(src, s, dst); s 348 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; s 349 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(s, WARMUP_RNG); s 356 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::divide(s[0], d_src, dst); s 364 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::divide(s, src, dst); s 419 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; s 420 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(s, WARMUP_RNG); s 427 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::absdiff(d_src, s, dst); s 435 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::absdiff(src, s, dst); s 686 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; s 687 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(s, WARMUP_RNG); s 694 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::compare(d_src, s, dst, cmp_code); s 702 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::compare(src, s, dst, cmp_code); s 793 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; s 794 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(s, WARMUP_RNG); s 795 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar_<int> is = s; s 869 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; s 870 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(s, WARMUP_RNG); s 871 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar_<int> is = s; s 945 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar s; s 946 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(s, WARMUP_RNG); s 947 modules/cudaarithm/perf/perf_element_operations.cpp cv::Scalar_<int> is = s; s 67 modules/cudaimgproc/src/bilateral_filter.cpp typedef void (*func_t)(const PtrStepSzb& src, PtrStepSzb dst, int kernel_size, float sigma_spatial, float sigma_color, int borderMode, cudaStream_t s); s 878 modules/cudaimgproc/src/generalized_hough.cpp for (int s = 0; s < scaleRange; ++s) s 880 modules/cudaimgproc/src/generalized_hough.cpp if (h_buf_[s] >= scaleThresh_) s 882 modules/cudaimgproc/src/generalized_hough.cpp const double scale = minScale_ + s * scaleStep_; s 883 modules/cudaimgproc/src/generalized_hough.cpp scales_.push_back(std::make_pair(scale, h_buf_[s])); s 173 modules/cudaimgproc/src/histogram.cpp void CLAHE_Impl::apply(InputArray _src, OutputArray _dst, Stream& s) s 186 modules/cudaimgproc/src/histogram.cpp cudaStream_t stream = StreamAccessor::getStream(s); s 201 modules/cudaimgproc/src/histogram.cpp cv::cuda::copyMakeBorder(src, srcExt_, 0, tilesY_ - (src.rows % tilesY_), 0, tilesX_ - (src.cols % tilesX_), cv::BORDER_REFLECT_101, cv::Scalar(), s); s 202 modules/cudalegacy/include/opencv2/cudalegacy.hpp void operator ()(const GpuMat& I0, const GpuMat& I1, GpuMat& flowx, GpuMat& flowy, int search_window = 21, int block_window = 7, Stream& s = Stream::Null()); s 71 modules/cudalegacy/src/graphcuts.cpp void cv::cuda::connectivityMask(const GpuMat& image, GpuMat& mask, const cv::Scalar& lo, const cv::Scalar& hi, Stream& s) s 100 modules/cudalegacy/src/graphcuts.cpp cudaStream_t stream = StreamAccessor::getStream(s); s 105 modules/cudalegacy/src/graphcuts.cpp void cv::cuda::labelComponents(const GpuMat& mask, GpuMat& components, int flags, Stream& s) s 114 modules/cudalegacy/src/graphcuts.cpp cudaStream_t stream = StreamAccessor::getStream(s); s 145 modules/cudalegacy/src/graphcuts.cpp void cv::cuda::graphcut(GpuMat& terminals, GpuMat& leftTransp, GpuMat& rightTransp, GpuMat& top, GpuMat& bottom, GpuMat& labels, GpuMat& buf, Stream& s) s 178 modules/cudalegacy/src/graphcuts.cpp cudaStream_t stream = StreamAccessor::getStream(s); s 205 modules/cudalegacy/src/graphcuts.cpp GpuMat& bottom, GpuMat& bottomLeft, GpuMat& bottomRight, GpuMat& labels, GpuMat& buf, Stream& s) s 250 modules/cudalegacy/src/graphcuts.cpp cudaStream_t stream = StreamAccessor::getStream(s); s 55 modules/cudalegacy/src/interpolate_frames.cpp float pos, GpuMat& newFrame, GpuMat& buf, Stream& s) s 85 modules/cudalegacy/src/interpolate_frames.cpp cudaStream_t stream = StreamAccessor::getStream(s); s 191 modules/cudaoptflow/src/farneback.cpp double s = 0.; s 195 modules/cudaoptflow/src/farneback.cpp s += g[x]; s 198 modules/cudaoptflow/src/farneback.cpp s = 1./s; s 201 modules/cudaoptflow/src/farneback.cpp g[x] = (float)(g[x]*s); s 229 modules/cudaoptflow/src/tvl1flow.cpp for (int s = 1; s < nscales_; ++s) s 231 modules/cudaoptflow/src/tvl1flow.cpp cuda::resize(I0s[s-1], I0s[s], Size(), scaleStep_, scaleStep_, INTER_LINEAR, stream); s 232 modules/cudaoptflow/src/tvl1flow.cpp cuda::resize(I1s[s-1], I1s[s], Size(), scaleStep_, scaleStep_, INTER_LINEAR, stream); s 234 modules/cudaoptflow/src/tvl1flow.cpp if (I0s[s].cols < 16 || I0s[s].rows < 16) s 236 modules/cudaoptflow/src/tvl1flow.cpp nscales_ = s; s 242 modules/cudaoptflow/src/tvl1flow.cpp cuda::resize(u1s[s-1], u1s[s], Size(), scaleStep_, scaleStep_, INTER_LINEAR, stream); s 243 modules/cudaoptflow/src/tvl1flow.cpp cuda::resize(u2s[s-1], u2s[s], Size(), scaleStep_, scaleStep_, INTER_LINEAR, stream); s 245 modules/cudaoptflow/src/tvl1flow.cpp cuda::multiply(u1s[s], Scalar::all(scaleStep_), u1s[s], 1, -1, stream); s 246 modules/cudaoptflow/src/tvl1flow.cpp cuda::multiply(u2s[s], Scalar::all(scaleStep_), u2s[s], 1, -1, stream); s 250 modules/cudaoptflow/src/tvl1flow.cpp u1s[s].create(I0s[s].size(), CV_32FC1); s 251 modules/cudaoptflow/src/tvl1flow.cpp u2s[s].create(I0s[s].size(), CV_32FC1); s 255 modules/cudaoptflow/src/tvl1flow.cpp u3s[s].create(I0s[s].size(), CV_32FC1); s 270 modules/cudaoptflow/src/tvl1flow.cpp for (int s = nscales_ - 1; s >= 0; --s) s 273 modules/cudaoptflow/src/tvl1flow.cpp procOneScale(I0s[s], I1s[s], u1s[s], u2s[s], u3s[s], stream); s 276 modules/cudaoptflow/src/tvl1flow.cpp if (s == 0) s 282 modules/cudaoptflow/src/tvl1flow.cpp cuda::resize(u1s[s], u1s[s - 1], I0s[s - 1].size(), 0, 0, INTER_LINEAR, stream); s 283 modules/cudaoptflow/src/tvl1flow.cpp cuda::resize(u2s[s], u2s[s - 1], I0s[s - 1].size(), 0, 0, INTER_LINEAR, stream); s 286 modules/cudaoptflow/src/tvl1flow.cpp cuda::resize(u3s[s], u3s[s - 1], I0s[s - 1].size(), 0, 0, INTER_LINEAR, stream); s 290 modules/cudaoptflow/src/tvl1flow.cpp cuda::multiply(u1s[s - 1], Scalar::all(1/scaleStep_), u1s[s - 1], 1, -1, stream); s 291 modules/cudaoptflow/src/tvl1flow.cpp cuda::multiply(u2s[s - 1], Scalar::all(1/scaleStep_), u2s[s - 1], 1, -1, stream); s 625 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp int h, s, v = b; s 638 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp s = (diff * c_HsvDivTable[v] + (1 << (hsv_shift-1))) >> hsv_shift; s 646 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = saturate_cast<uchar>(s); s 664 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float h, s, v; s 674 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp s = diff / (float)(::fabs(v) + numeric_limits<float>::epsilon()); s 685 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.y = s; s 705 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float h = src.x, s = src.y, v = src.z; s 708 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp if (s != 0) s 728 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp tab[1] = v * (1.f - s); s 729 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp tab[2] = v * (1.f - s * h); s 730 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp tab[3] = v * (1.f - s * (1.f - h)); s 788 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float h = 0.f, s = 0.f, l; s 802 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp s = l < 0.5f ? diff / (vmax + vmin) : diff / (2 - vmax - vmin); s 816 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp dst.z = s; s 859 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float h = src.x, l = src.y, s = src.z; s 862 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp if (s != 0) s 864 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp float p2 = (l <= 0.5f) * l * (1 + s); s 865 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp p2 += (l > 0.5f) * (l + s - l * s); s 88 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp DerivXPtrSz<typename PtrTraits<SrcPtr>::ptr_type> s; s 89 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.src = shrinkPtr(src); s 90 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.rows = getRows(src); s 91 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.cols = getCols(src); s 92 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp return s; s 128 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp DerivYPtrSz<typename PtrTraits<SrcPtr>::ptr_type> s; s 129 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.src = shrinkPtr(src); s 130 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.rows = getRows(src); s 131 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.cols = getCols(src); s 132 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp return s; s 175 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp SobelXPtrSz<typename PtrTraits<SrcPtr>::ptr_type> s; s 176 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.src = shrinkPtr(src); s 177 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.rows = getRows(src); s 178 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.cols = getCols(src); s 179 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp return s; s 221 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp SobelYPtrSz<typename PtrTraits<SrcPtr>::ptr_type> s; s 222 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.src = shrinkPtr(src); s 223 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.rows = getRows(src); s 224 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.cols = getCols(src); s 225 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp return s; s 268 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp ScharrXPtrSz<typename PtrTraits<SrcPtr>::ptr_type> s; s 269 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.src = shrinkPtr(src); s 270 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.rows = getRows(src); s 271 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.cols = getCols(src); s 272 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp return s; s 314 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp ScharrYPtrSz<typename PtrTraits<SrcPtr>::ptr_type> s; s 315 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.src = shrinkPtr(src); s 316 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.rows = getRows(src); s 317 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp s.cols = getCols(src); s 318 modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp return s; s 146 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp uint s; s 147 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = a ^ b; // sum bits s 149 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = s ^ r; // determine carry-ins for each bit position s 150 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = s & 0x00010000; // carry-in to high word (= carry-out from low word) s 151 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp r = r - s; // subtract out carry-out from low word s 167 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp uint s; s 168 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = a ^ b; // sum bits s 170 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = s ^ r; // determine carry-ins for each bit position s 171 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = s & 0x00010000; // borrow to high word s 172 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp r = r + s; // compensate for borrow from low word s 188 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp uint s, t, u, v; s 189 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = a & 0x0000ffff; // extract low halfword s 191 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp u = ::max(r, s); // maximum of low halfwords s 192 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp v = ::min(r, s); // minimum of low halfwords s 193 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = a & 0xffff0000; // extract high halfword s 195 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp t = ::max(r, s); // maximum of high halfwords s 196 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = ::min(r, s); // minimum of high halfwords s 198 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = v | s; // minimum of both halfwords s 199 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp r = r - s; // |a - b| = max(a,b) - min(a,b); s 207 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp uint r, s; s 211 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = a ^ b; s 213 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = s & 0xfffefffe; // ensure shift doesn't cross halfword boundaries s 214 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = s >> 1; s 215 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = r + s; s 217 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp return s; s 229 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp uint s; s 230 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = a ^ b; s 232 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = s & 0xfffefffe; // ensure shift doesn't cross half-word boundaries s 233 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = s >> 1; s 234 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp r = r - s; s 488 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp uint s, t, u; s 490 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = b & 0x0000ffff; // extract low halfword s 491 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp t = ::max(r, s); // maximum of low halfwords s 493 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = b & 0xffff0000; // extract high halfword s 494 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp u = ::max(r, s); // maximum of high halfwords s 511 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp uint s, t, u; s 513 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = b & 0x0000ffff; // extract low halfword s 514 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp t = ::min(r, s); // minimum of low halfwords s 516 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = b & 0xffff0000; // extract high halfword s 517 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp u = ::min(r, s); // minimum of high halfwords s 538 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp uint s, t; s 539 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = a ^ b; // sum bits s 542 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = s & 0x80808080; // msb sum bits s 544 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp r = r ^ s; // sum of msb sum and carry-in bits, w/o carry-out s 562 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp uint s, t; s 563 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = a ^ ~b; // inverted sum bits s 566 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = s & 0x80808080; // inverted msb sum bits s 568 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp r = r ^ s; // combine inverted msb sum bits and borrows s 576 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp uint r, s; s 580 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = a ^ b; s 582 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = s & 0xfefefefe; // ensure following shift doesn't cross byte boundaries s 583 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = s >> 1; s 584 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = r + s; s 586 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp return s; s 747 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp uint r, s; s 751 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = r << 8; // convert bool s 752 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp r = s - r; // to mask s 757 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = r >> 7; // build mask s 758 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = r - s; // from s 759 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp r = s | r; // msbs s 859 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp uint s; s 860 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = vcmpge4(a, b); // mask = 0xff if a >= b s 862 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = (r & s) ^ b; // select a when a >= b, else select b => max(a,b) s 863 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp r = s ^ r; // select a when b >= a, else select b => min(a,b) s 864 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp r = s - r; // |a - b| = max(a,b) - min(a,b); s 882 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp uint s; s 883 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = vcmpge4(a, b); // mask = 0xff if a >= b s 884 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp r = a & s; // select a when b >= a s 885 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = b & ~s; // select b when b < a s 886 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp r = r | s; // combine byte selections s 904 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp uint s; s 905 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = vcmpge4(b, a); // mask = 0xff if a >= b s 906 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp r = a & s; // select a when b >= a s 907 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp s = b & ~s; // select b when b < a s 908 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp r = r | s; // combine byte selections s 549 modules/cudev/include/opencv2/cudev/util/vec_math.hpp __device__ __forceinline__ output_type ## 1 operator op(const input_type ## 1 & a, scalar_type s) \ s 551 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 1>::make(a.x op s); \ s 553 modules/cudev/include/opencv2/cudev/util/vec_math.hpp __device__ __forceinline__ output_type ## 1 operator op(scalar_type s, const input_type ## 1 & b) \ s 555 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 1>::make(s op b.x); \ s 557 modules/cudev/include/opencv2/cudev/util/vec_math.hpp __device__ __forceinline__ output_type ## 2 operator op(const input_type ## 2 & a, scalar_type s) \ s 559 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 2>::make(a.x op s, a.y op s); \ s 561 modules/cudev/include/opencv2/cudev/util/vec_math.hpp __device__ __forceinline__ output_type ## 2 operator op(scalar_type s, const input_type ## 2 & b) \ s 563 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 2>::make(s op b.x, s op b.y); \ s 565 modules/cudev/include/opencv2/cudev/util/vec_math.hpp __device__ __forceinline__ output_type ## 3 operator op(const input_type ## 3 & a, scalar_type s) \ s 567 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 3>::make(a.x op s, a.y op s, a.z op s); \ s 569 modules/cudev/include/opencv2/cudev/util/vec_math.hpp __device__ __forceinline__ output_type ## 3 operator op(scalar_type s, const input_type ## 3 & b) \ s 571 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 3>::make(s op b.x, s op b.y, s op b.z); \ s 573 modules/cudev/include/opencv2/cudev/util/vec_math.hpp __device__ __forceinline__ output_type ## 4 operator op(const input_type ## 4 & a, scalar_type s) \ s 575 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 4>::make(a.x op s, a.y op s, a.z op s, a.w op s); \ s 577 modules/cudev/include/opencv2/cudev/util/vec_math.hpp __device__ __forceinline__ output_type ## 4 operator op(scalar_type s, const input_type ## 4 & b) \ s 579 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 4>::make(s op b.x, s op b.y, s op b.z, s op b.w); \ s 826 modules/cudev/include/opencv2/cudev/util/vec_math.hpp __device__ __forceinline__ output_type ## 1 func_name(const input_type ## 1 & a, scalar_type s) \ s 828 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 1>::make(func ((output_type) a.x, (output_type) s)); \ s 830 modules/cudev/include/opencv2/cudev/util/vec_math.hpp __device__ __forceinline__ output_type ## 1 func_name(scalar_type s, const input_type ## 1 & b) \ s 832 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 1>::make(func ((output_type) s, (output_type) b.x)); \ s 834 modules/cudev/include/opencv2/cudev/util/vec_math.hpp __device__ __forceinline__ output_type ## 2 func_name(const input_type ## 2 & a, scalar_type s) \ s 836 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 2>::make(func ((output_type) a.x, (output_type) s), func ((output_type) a.y, (output_type) s)); \ s 838 modules/cudev/include/opencv2/cudev/util/vec_math.hpp __device__ __forceinline__ output_type ## 2 func_name(scalar_type s, const input_type ## 2 & b) \ s 840 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 2>::make(func ((output_type) s, (output_type) b.x), func ((output_type) s, (output_type) b.y)); \ s 842 modules/cudev/include/opencv2/cudev/util/vec_math.hpp __device__ __forceinline__ output_type ## 3 func_name(const input_type ## 3 & a, scalar_type s) \ s 844 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 3>::make(func ((output_type) a.x, (output_type) s), func ((output_type) a.y, (output_type) s), func ((output_type) a.z, (output_type) s)); \ s 846 modules/cudev/include/opencv2/cudev/util/vec_math.hpp __device__ __forceinline__ output_type ## 3 func_name(scalar_type s, const input_type ## 3 & b) \ s 848 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 3>::make(func ((output_type) s, (output_type) b.x), func ((output_type) s, (output_type) b.y), func ((output_type) s, (output_type) b.z)); \ s 850 modules/cudev/include/opencv2/cudev/util/vec_math.hpp __device__ __forceinline__ output_type ## 4 func_name(const input_type ## 4 & a, scalar_type s) \ s 852 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 4>::make(func ((output_type) a.x, (output_type) s), func ((output_type) a.y, (output_type) s), func ((output_type) a.z, (output_type) s), func ((output_type) a.w, (output_type) s)); \ s 854 modules/cudev/include/opencv2/cudev/util/vec_math.hpp __device__ __forceinline__ output_type ## 4 func_name(scalar_type s, const input_type ## 4 & b) \ s 856 modules/cudev/include/opencv2/cudev/util/vec_math.hpp return VecTraits<output_type ## 4>::make(func ((output_type) s, (output_type) b.x), func ((output_type) s, (output_type) b.y), func ((output_type) s, (output_type) b.z), func ((output_type) s, (output_type) b.w)); \ s 70 modules/features2d/src/evaluation.cpp double s = 1/(2*a); s 71 modules/features2d/src/evaluation.cpp x1 = (-b - d)*s; s 72 modules/features2d/src/evaluation.cpp x2 = (-b + d)*s; s 784 modules/features2d/src/kaze/AKAZEFeatures.cpp int ix = 0, iy = 0, idx = 0, s = 0, level = 0; s 796 modules/features2d/src/kaze/AKAZEFeatures.cpp s = fRound(0.5f*kpt.size / ratio); s 804 modules/features2d/src/kaze/AKAZEFeatures.cpp iy = fRound(yf + j*s); s 805 modules/features2d/src/kaze/AKAZEFeatures.cpp ix = fRound(xf + i*s); s 579 modules/features2d/src/kaze/KAZEFeatures.cpp int ix = 0, iy = 0, idx = 0, s = 0, level = 0; s 590 modules/features2d/src/kaze/KAZEFeatures.cpp s = fRound(kpt.size / 2.0f); s 596 modules/features2d/src/kaze/KAZEFeatures.cpp iy = fRound(yf + j*s); s 597 modules/features2d/src/kaze/KAZEFeatures.cpp ix = fRound(xf + i*s); s 600 modules/features2d/src/kaze/KAZEFeatures.cpp gweight = gaussian(iy - yf, ix - xf, 2.5f*s); s 423 modules/features2d/src/matchers.cpp int s = 0; s 428 modules/features2d/src/matchers.cpp s = descriptors[i-1].rows; s 430 modules/features2d/src/matchers.cpp startIdxs[i] = startIdxs[i-1] + s; s 673 modules/features2d/src/mser.cpp double s; s 961 modules/features2d/src/mser.cpp lr->s = 1e10; s 966 modules/features2d/src/mser.cpp double s = (double)(lr->size-lr->sizei)/(lr->dt-lr->di); s 967 modules/features2d/src/mser.cpp if ( s < lr->s ) s 982 modules/features2d/src/mser.cpp lr->s = s; s 141 modules/features2d/src/opencl/fast.cl int s = cornerScore(img, step); s 143 modules/features2d/src/opencl/fast.cl if( (x < 4 || s > cornerScore(img-1, step)) + s 144 modules/features2d/src/opencl/fast.cl (y < 4 || s > cornerScore(img-step, step)) != 2 ) s 146 modules/features2d/src/opencl/fast.cl if( (x >= cols - 4 || s > cornerScore(img+1, step)) + s 147 modules/features2d/src/opencl/fast.cl (y >= rows - 4 || s > cornerScore(img+step, step)) + s 148 modules/features2d/src/opencl/fast.cl (x < 4 || y < 4 || s > cornerScore(img-step-1, step)) + s 149 modules/features2d/src/opencl/fast.cl (x >= cols - 4 || y < 4 || s > cornerScore(img-step+1, step)) + s 150 modules/features2d/src/opencl/fast.cl (x < 4 || y >= rows - 4 || s > cornerScore(img+step-1, step)) + s 151 modules/features2d/src/opencl/fast.cl (x >= cols - 4 || y >= rows - 4 || s > cornerScore(img+step+1, step)) == 6) s 158 modules/features2d/src/opencl/fast.cl kp_out[3 + 3*new_idx] = s; s 848 modules/flann/include/opencv2/flann/kmeans_index.h int s = count[c]; s 862 modules/flann/include/opencv2/flann/kmeans_index.h variance /= s; s 863 modules/flann/include/opencv2/flann/kmeans_index.h mean_radius /= s; s 58 modules/hal/include/opencv2/hal/intrin_cpp.hpp explicit v_reg(const _Tp* ptr) { for( int i = 0; i < n; i++ ) s[i] = ptr[i]; } s 59 modules/hal/include/opencv2/hal/intrin_cpp.hpp v_reg(_Tp s0, _Tp s1) { s[0] = s0; s[1] = s1; } s 60 modules/hal/include/opencv2/hal/intrin_cpp.hpp v_reg(_Tp s0, _Tp s1, _Tp s2, _Tp s3) { s[0] = s0; s[1] = s1; s[2] = s2; s[3] = s3; } s 64 modules/hal/include/opencv2/hal/intrin_cpp.hpp s[0] = s0; s[1] = s1; s[2] = s2; s[3] = s3; s 65 modules/hal/include/opencv2/hal/intrin_cpp.hpp s[4] = s4; s[5] = s5; s[6] = s6; s[7] = s7; s 72 modules/hal/include/opencv2/hal/intrin_cpp.hpp s[0] = s0; s[1] = s1; s[2] = s2; s[3] = s3; s 73 modules/hal/include/opencv2/hal/intrin_cpp.hpp s[4] = s4; s[5] = s5; s[6] = s6; s[7] = s7; s 74 modules/hal/include/opencv2/hal/intrin_cpp.hpp s[8] = s8; s[9] = s9; s[10] = s10; s[11] = s11; s 75 modules/hal/include/opencv2/hal/intrin_cpp.hpp s[12] = s12; s[13] = s13; s[14] = s14; s[15] = s15; s 82 modules/hal/include/opencv2/hal/intrin_cpp.hpp s[i] = r.s[i]; s 85 modules/hal/include/opencv2/hal/intrin_cpp.hpp _Tp get(const int i) const { return s[i]; } s 86 modules/hal/include/opencv2/hal/intrin_cpp.hpp _Tp get0() const { return s[0]; } s 93 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = s[i+(n/2)]; s 94 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i+(n/2)] = 0; s 103 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = (_Tp)0; s 107 modules/hal/include/opencv2/hal/intrin_cpp.hpp static v_reg<_Tp, n> all(_Tp s) s 111 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = s; s 119 modules/hal/include/opencv2/hal/intrin_cpp.hpp memcpy(&c.s[0], &s[0], bytes); s 123 modules/hal/include/opencv2/hal/intrin_cpp.hpp _Tp s[n]; s 132 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = saturate_cast<_Tp>(a.s[i] bin_op b.s[i]); \ s 139 modules/hal/include/opencv2/hal/intrin_cpp.hpp a.s[i] = saturate_cast<_Tp>(a.s[i] bin_op b.s[i]); \ s 155 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = V_TypeTraits<_Tp>::reinterpret_from_int((itype)(V_TypeTraits<_Tp>::reinterpret_int(a.s[i]) bit_op \ s 156 modules/hal/include/opencv2/hal/intrin_cpp.hpp V_TypeTraits<_Tp>::reinterpret_int(b.s[i]))); \ s 164 modules/hal/include/opencv2/hal/intrin_cpp.hpp a.s[i] = V_TypeTraits<_Tp>::reinterpret_from_int((itype)(V_TypeTraits<_Tp>::reinterpret_int(a.s[i]) bit_op \ s 165 modules/hal/include/opencv2/hal/intrin_cpp.hpp V_TypeTraits<_Tp>::reinterpret_int(b.s[i]))); \ s 177 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = V_TypeTraits<_Tp>::reinterpret_from_int(~V_TypeTraits<_Tp>::reinterpret_int(a.s[i])); s 186 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = cfunc(a.s[i]); \ s 207 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = cfunc(a.s[i], b.s[i]); \ s 212 modules/hal/include/opencv2/hal/intrin_cpp.hpp _Tp c = a.s[0]; \ s 214 modules/hal/include/opencv2/hal/intrin_cpp.hpp c = cfunc(c, a.s[i]); \ s 227 modules/hal/include/opencv2/hal/intrin_cpp.hpp minval.s[i] = std::min(a.s[i], b.s[i]); s 228 modules/hal/include/opencv2/hal/intrin_cpp.hpp maxval.s[i] = std::max(a.s[i], b.s[i]); s 240 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = V_TypeTraits<_Tp>::reinterpret_from_int((itype)-(int)(a.s[i] cmp_op b.s[i])); \ s 258 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = cast_op(a.s[i] bin_op b.s[i]); \ s 271 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = 1.f/std::sqrt(a.s[i]); s 280 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = std::sqrt(a.s[i]*a.s[i] + b.s[i]*b.s[i]); s 290 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = a.s[i]*a.s[i] + b.s[i]*b.s[i]; s 300 modules/hal/include/opencv2/hal/intrin_cpp.hpp d.s[i] = a.s[i]*b.s[i] + c.s[i]; s 310 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = (w_type)a.s[i*2]*b.s[i*2] + (w_type)a.s[i*2+1]*b.s[i*2+1]; s 321 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = (w_type)a.s[i]*b.s[i]*2; s 322 modules/hal/include/opencv2/hal/intrin_cpp.hpp d.s[i] = (w_type)a.s[i+(n/2)]*b.s[i+(n/2)]; s 332 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = (w_type)a.s[i*2] + a.s[i*2+1]; s 341 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = (_Tp)(a.s[i] shift_op imm); \ s 350 modules/hal/include/opencv2/hal/intrin_cpp.hpp typename V_TypeTraits<_Tp>::sum_type c = a.s[0]; s 352 modules/hal/include/opencv2/hal/intrin_cpp.hpp c += a.s[i]; s 360 modules/hal/include/opencv2/hal/intrin_cpp.hpp mask |= (V_TypeTraits<_Tp>::reinterpret_int(a.s[i]) < 0) << i; s 367 modules/hal/include/opencv2/hal/intrin_cpp.hpp if( V_TypeTraits<_Tp>::reinterpret_int(a.s[i]) >= 0 ) s 375 modules/hal/include/opencv2/hal/intrin_cpp.hpp if( V_TypeTraits<_Tp>::reinterpret_int(a.s[i]) < 0 ) s 385 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = V_TypeTraits<_Tp>::reinterpret_int(mask.s[i]) < 0 ? b.s[i] : a.s[i]; s 395 modules/hal/include/opencv2/hal/intrin_cpp.hpp b0.s[i] = a.s[i]; s 396 modules/hal/include/opencv2/hal/intrin_cpp.hpp b1.s[i] = a.s[i+(n/2)]; s 405 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = V_TypeTraits<_Tp>::reinterpret_int(a.s[i]); s 414 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = V_TypeTraits<_Tp>::reinterpret_uint(a.s[i]); s 424 modules/hal/include/opencv2/hal/intrin_cpp.hpp b0.s[i*2] = a0.s[i]; s 425 modules/hal/include/opencv2/hal/intrin_cpp.hpp b0.s[i*2+1] = a1.s[i]; s 429 modules/hal/include/opencv2/hal/intrin_cpp.hpp b1.s[i*2-n] = a0.s[i]; s 430 modules/hal/include/opencv2/hal/intrin_cpp.hpp b1.s[i*2-n+1] = a1.s[i]; s 449 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = loptr[i]; s 450 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i+n/2] = hiptr[i]; s 461 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = ptr[i]; s 473 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = ptr[i]; s 484 modules/hal/include/opencv2/hal/intrin_cpp.hpp a.s[i] = ptr[i3]; s 485 modules/hal/include/opencv2/hal/intrin_cpp.hpp b.s[i] = ptr[i3+1]; s 486 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = ptr[i3+2]; s 498 modules/hal/include/opencv2/hal/intrin_cpp.hpp a.s[i] = ptr[i4]; s 499 modules/hal/include/opencv2/hal/intrin_cpp.hpp b.s[i] = ptr[i4+1]; s 500 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = ptr[i4+2]; s 501 modules/hal/include/opencv2/hal/intrin_cpp.hpp d.s[i] = ptr[i4+3]; s 512 modules/hal/include/opencv2/hal/intrin_cpp.hpp ptr[i3] = a.s[i]; s 513 modules/hal/include/opencv2/hal/intrin_cpp.hpp ptr[i3+1] = b.s[i]; s 514 modules/hal/include/opencv2/hal/intrin_cpp.hpp ptr[i3+2] = c.s[i]; s 525 modules/hal/include/opencv2/hal/intrin_cpp.hpp ptr[i4] = a.s[i]; s 526 modules/hal/include/opencv2/hal/intrin_cpp.hpp ptr[i4+1] = b.s[i]; s 527 modules/hal/include/opencv2/hal/intrin_cpp.hpp ptr[i4+2] = c.s[i]; s 528 modules/hal/include/opencv2/hal/intrin_cpp.hpp ptr[i4+3] = d.s[i]; s 536 modules/hal/include/opencv2/hal/intrin_cpp.hpp ptr[i] = a.s[i]; s 543 modules/hal/include/opencv2/hal/intrin_cpp.hpp ptr[i] = a.s[i]; s 550 modules/hal/include/opencv2/hal/intrin_cpp.hpp ptr[i] = a.s[i+(n/2)]; s 557 modules/hal/include/opencv2/hal/intrin_cpp.hpp ptr[i] = a.s[i]; s 566 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = a.s[i]; s 567 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i+(n/2)] = b.s[i]; s 577 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = a.s[i+(n/2)]; s 578 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i+(n/2)] = b.s[i+(n/2)]; s 588 modules/hal/include/opencv2/hal/intrin_cpp.hpp low.s[i] = a.s[i]; s 589 modules/hal/include/opencv2/hal/intrin_cpp.hpp low.s[i+(n/2)] = b.s[i]; s 590 modules/hal/include/opencv2/hal/intrin_cpp.hpp high.s[i] = a.s[i+(n/2)]; s 591 modules/hal/include/opencv2/hal/intrin_cpp.hpp high.s[i+(n/2)] = b.s[i+(n/2)]; s 599 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = cvRound(a.s[i]); s 607 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = cvFloor(a.s[i]); s 615 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = cvCeil(a.s[i]); s 623 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = (int)(a.s[i]); s 632 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = cvRound(a.s[i]); s 633 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i+n] = 0; s 643 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = cvFloor(a.s[i]); s 644 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i+n] = 0; s 654 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = cvCeil(a.s[i]); s 655 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i+n] = 0; s 665 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = cvCeil(a.s[i]); s 666 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i+n] = 0; s 675 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = (float)a.s[i]; s 683 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = (double)a.s[i]; s 691 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = (double)a.s[i]; s 701 modules/hal/include/opencv2/hal/intrin_cpp.hpp b0 = v_reg<_Tp, 4>(a0.s[0], a1.s[0], a2.s[0], a3.s[0]); s 702 modules/hal/include/opencv2/hal/intrin_cpp.hpp b1 = v_reg<_Tp, 4>(a0.s[1], a1.s[1], a2.s[1], a3.s[1]); s 703 modules/hal/include/opencv2/hal/intrin_cpp.hpp b2 = v_reg<_Tp, 4>(a0.s[2], a1.s[2], a2.s[2], a3.s[2]); s 704 modules/hal/include/opencv2/hal/intrin_cpp.hpp b3 = v_reg<_Tp, 4>(a0.s[3], a1.s[3], a2.s[3], a3.s[3]); s 746 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = (_Tp)((a.s[i] + ((_Tp)1 << (n - 1))) >> n); \ s 764 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = saturate_cast<_Tpn>(a.s[i]); \ s 765 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i+_Tpvec::nlanes] = saturate_cast<_Tpn>(b.s[i]); \ s 774 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = saturate_cast<_Tpn>((a.s[i] + ((_Tp)1 << (n - 1))) >> n); \ s 775 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i+_Tpvec::nlanes] = saturate_cast<_Tpn>((b.s[i] + ((_Tp)1 << (n - 1))) >> n); \ s 782 modules/hal/include/opencv2/hal/intrin_cpp.hpp ptr[i] = saturate_cast<_Tpn>(a.s[i]); \ s 787 modules/hal/include/opencv2/hal/intrin_cpp.hpp ptr[i] = saturate_cast<_Tpn>((a.s[i] + ((_Tp)1 << (n - 1))) >> n); \ s 803 modules/hal/include/opencv2/hal/intrin_cpp.hpp return v_float32x4(v.s[0]*m0.s[0] + v.s[1]*m1.s[0] + v.s[2]*m2.s[0] + v.s[3]*m3.s[0], s 804 modules/hal/include/opencv2/hal/intrin_cpp.hpp v.s[0]*m0.s[1] + v.s[1]*m1.s[1] + v.s[2]*m2.s[1] + v.s[3]*m3.s[1], s 805 modules/hal/include/opencv2/hal/intrin_cpp.hpp v.s[0]*m0.s[2] + v.s[1]*m1.s[2] + v.s[2]*m2.s[2] + v.s[3]*m3.s[2], s 806 modules/hal/include/opencv2/hal/intrin_cpp.hpp v.s[0]*m0.s[3] + v.s[1]*m1.s[3] + v.s[2]*m2.s[3] + v.s[3]*m3.s[3]); s 1094 modules/hal/include/opencv2/hal/intrin_sse.hpp __m128i s = _mm_srai_epi32(a.val, 31); s 1095 modules/hal/include/opencv2/hal/intrin_sse.hpp b0.val = _mm_unpacklo_epi32(a.val, s); s 1096 modules/hal/include/opencv2/hal/intrin_sse.hpp b1.val = _mm_unpackhi_epi32(a.val, s); s 1101 modules/hal/include/opencv2/hal/intrin_sse.hpp __m128i s = _mm_srai_epi32(a, 31); s 1102 modules/hal/include/opencv2/hal/intrin_sse.hpp return v_int64x2(_mm_unpacklo_epi32(a, s)); s 101 modules/hal/src/matrix.cpp _Tp s = b[i*bstep + j]; s 103 modules/hal/src/matrix.cpp s -= A[i*astep + k]*b[k*bstep + j]; s 104 modules/hal/src/matrix.cpp b[i*bstep + j] = s*A[i*astep + i]; s 129 modules/hal/src/matrix.cpp double s; s 137 modules/hal/src/matrix.cpp s = A[i*astep + j]; s 139 modules/hal/src/matrix.cpp s -= L[i*astep + k]*L[j*astep + k]; s 140 modules/hal/src/matrix.cpp L[i*astep + j] = (_Tp)(s*L[j*astep + j]); s 142 modules/hal/src/matrix.cpp s = A[i*astep + i]; s 146 modules/hal/src/matrix.cpp s -= t*t; s 148 modules/hal/src/matrix.cpp if( s < std::numeric_limits<_Tp>::epsilon() ) s 150 modules/hal/src/matrix.cpp L[i*astep + i] = (_Tp)(1./std::sqrt(s)); s 176 modules/hal/src/matrix.cpp s = b[i*bstep + j]; s 178 modules/hal/src/matrix.cpp s -= L[i*astep + k]*b[k*bstep + j]; s 179 modules/hal/src/matrix.cpp b[i*bstep + j] = (_Tp)(s*L[i*astep + i]); s 187 modules/hal/src/matrix.cpp s = b[i*bstep + j]; s 189 modules/hal/src/matrix.cpp s -= L[k*astep + i]*b[k*bstep + j]; s 190 modules/hal/src/matrix.cpp b[i*bstep + j] = (_Tp)(s*L[i*astep + i]); s 303 modules/imgcodecs/src/grfmt_pxm.cpp uchar *d = data, *s = src, *end = src + m_width; s 304 modules/imgcodecs/src/grfmt_pxm.cpp for( ; s < end; d += 3, s++) s 305 modules/imgcodecs/src/grfmt_pxm.cpp d[0] = d[1] = d[2] = *s; s 307 modules/imgcodecs/src/grfmt_pxm.cpp ushort *d = (ushort *)data, *s = (ushort *)src, *end = ((ushort *)src) + m_width; s 308 modules/imgcodecs/src/grfmt_pxm.cpp for( ; s < end; s++, d += 3) s 309 modules/imgcodecs/src/grfmt_pxm.cpp d[0] = d[1] = d[2] = *s; s 641 modules/imgcodecs/src/utils.cpp uchar *s = src->data.ptr, *d = dst->data.ptr; s 656 modules/imgcodecs/src/utils.cpp icvCvt_Gray2BGR_8u_C1C3R( s, s_step, d, d_step, size ); s 659 modules/imgcodecs/src/utils.cpp icvCvt_BGR2Gray_8u_C3C1R( s, s_step, d, d_step, size, swap_rb ); s 663 modules/imgcodecs/src/utils.cpp icvCvt_RGB2BGR_8u_C3R( s, s_step, d, d_step, size ); s 666 modules/imgcodecs/src/utils.cpp icvCvt_BGRA2Gray_8u_C4C1R( s, s_step, d, d_step, size, swap_rb ); s 669 modules/imgcodecs/src/utils.cpp icvCvt_BGRA2BGR_8u_C4C3R( s, s_step, d, d_step, size, swap_rb ); s 62 modules/imgcodecs/test/test_grfmt.cpp const Scalar s = sum(diff); s 63 modules/imgcodecs/test/test_grfmt.cpp for (int i = 0; i < s.channels; ++i) s 65 modules/imgcodecs/test/test_grfmt.cpp if (s[i] != 0) s 91 modules/imgproc/perf/opencl/perf_3vs4.cpp Scalar s(14); s 97 modules/imgproc/perf/opencl/perf_3vs4.cpp OCL_TEST_CYCLE() subtract(src, s, dst); s 114 modules/imgproc/perf/opencl/perf_3vs4.cpp subtract(srcs[i], s, dsts[i]); s 127 modules/imgproc/perf/opencl/perf_3vs4.cpp subtract(src4, s, dst4); s 35 modules/imgproc/perf/perf_filter2d.cpp double s = fabs( sum(kernel)[0] ); s 36 modules/imgproc/perf/perf_filter2d.cpp if(s > 1e-3) kernel /= s; s 51 modules/imgproc/src/approx.cpp int s; /* curvature value */ s 67 modules/imgproc/src/approx.cpp int i, j, i1, i2, s, len; s 103 modules/imgproc/src/approx.cpp s = abs_diff[reader.code - prev_code + 7]; s 107 modules/imgproc/src/approx.cpp if( method == CV_CHAIN_APPROX_NONE || s != 0 ) s 114 modules/imgproc/src/approx.cpp if( s != 0 ) s 116 modules/imgproc/src/approx.cpp array[i].s = s; s 181 modules/imgproc/src/approx.cpp for( j = k, s = 0; j > 0; j-- ) s 208 modules/imgproc/src/approx.cpp if( j < k && sk.i <= s ) s 211 modules/imgproc/src/approx.cpp s = sk.i; s 213 modules/imgproc/src/approx.cpp current->s = s; s 228 modules/imgproc/src/approx.cpp s = current->s; s 236 modules/imgproc/src/approx.cpp if( array[i2].s > s ) s 242 modules/imgproc/src/approx.cpp if( array[i2].s > s ) s 249 modules/imgproc/src/approx.cpp current->s = 0; /* "clear" point */ s 267 modules/imgproc/src/approx.cpp s = current->s; s 276 modules/imgproc/src/approx.cpp if( s <= array[i1].s || s <= array[i2].s ) s 279 modules/imgproc/src/approx.cpp current->s = 0; s 297 modules/imgproc/src/approx.cpp if( array[0].s != 0 && array[len - 1].s != 0 ) /* specific case */ s 299 modules/imgproc/src/approx.cpp for( i1 = 1; i1 < len && array[i1].s != 0; i1++ ) s 301 modules/imgproc/src/approx.cpp array[i1 - 1].s = 0; s 307 modules/imgproc/src/approx.cpp for( i2 = len - 2; i2 > 0 && array[i2].s != 0; i2-- ) s 310 modules/imgproc/src/approx.cpp array[i2 + 1].s = 0; s 337 modules/imgproc/src/approx.cpp int s1 = prev_current->s; s 338 modules/imgproc/src/approx.cpp int s2 = current->s; s 498 modules/imgproc/src/canny.cpp int s = (xs ^ ys) < 0 ? -1 : 1; s 499 modules/imgproc/src/canny.cpp if (m > _mag[j+magstep2-s] && m > _mag[j+magstep1+s]) canny_push = true; s 901 modules/imgproc/src/canny.cpp int s = (xs ^ ys) < 0 ? -1 : 1; s 902 modules/imgproc/src/canny.cpp if (m > _mag[j+magstep2-s] && m > _mag[j+magstep1+s]) goto __ocv_canny_push; s 4159 modules/imgproc/src/color.cpp int h, s, v = b; s 4172 modules/imgproc/src/color.cpp s = (diff * sdiv_table[v] + (1 << (hsv_shift-1))) >> hsv_shift; s 4179 modules/imgproc/src/color.cpp dst[i+1] = (uchar)s; s 4204 modules/imgproc/src/color.cpp float h, s, v; s 4215 modules/imgproc/src/color.cpp s = diff/(float)(fabs(v) + FLT_EPSILON); s 4227 modules/imgproc/src/color.cpp dst[i+1] = s; s 4253 modules/imgproc/src/color.cpp float h = src[i], s = src[i+1], v = src[i+2]; s 4256 modules/imgproc/src/color.cpp if( s == 0 ) s 4278 modules/imgproc/src/color.cpp tab[1] = v*(1.f - s); s 4279 modules/imgproc/src/color.cpp tab[2] = v*(1.f - s*h); s 4280 modules/imgproc/src/color.cpp tab[3] = v*(1.f - s*(1.f - h)); s 4520 modules/imgproc/src/color.cpp float h = 0.f, s = 0.f, l; s 4534 modules/imgproc/src/color.cpp s = l < 0.5f ? diff/(vmax + vmin) : diff/(2 - vmax - vmin); s 4549 modules/imgproc/src/color.cpp dst[i+2] = s; s 4762 modules/imgproc/src/color.cpp float h = src[i], l = src[i+1], s = src[i+2]; s 4765 modules/imgproc/src/color.cpp if( s == 0 ) s 4774 modules/imgproc/src/color.cpp float p2 = l <= 0.5f ? l*(1 + s) : l + s - l*s; s 510 modules/imgproc/src/contours.cpp int prev_s = -1, s, s_end; s 525 modules/imgproc/src/contours.cpp s_end = s = CV_IS_SEQ_HOLE( contour ) ? 0 : 4; s 529 modules/imgproc/src/contours.cpp s = (s - 1) & 7; s 530 modules/imgproc/src/contours.cpp i1 = i0 + deltas[s]; s 534 modules/imgproc/src/contours.cpp while( s != s_end ); s 536 modules/imgproc/src/contours.cpp if( s == s_end ) /* single pixel domain */ s 547 modules/imgproc/src/contours.cpp prev_s = s ^ 4; s 552 modules/imgproc/src/contours.cpp s_end = s; s 556 modules/imgproc/src/contours.cpp i4 = i3 + deltas[++s]; s 560 modules/imgproc/src/contours.cpp s &= 7; s 563 modules/imgproc/src/contours.cpp if( (unsigned) (s - 1) < (unsigned) s_end ) s 574 modules/imgproc/src/contours.cpp schar _s = (schar) s; s 580 modules/imgproc/src/contours.cpp if( s != prev_s || method == 0 ) s 583 modules/imgproc/src/contours.cpp prev_s = s; s 586 modules/imgproc/src/contours.cpp pt.x += icvCodeDeltas[s].x; s 587 modules/imgproc/src/contours.cpp pt.y += icvCodeDeltas[s].y; s 595 modules/imgproc/src/contours.cpp s = (s + 4) & 7; s 621 modules/imgproc/src/contours.cpp int s, s_end; s 629 modules/imgproc/src/contours.cpp s_end = s = is_hole ? 0 : 4; s 633 modules/imgproc/src/contours.cpp s = (s - 1) & 7; s 634 modules/imgproc/src/contours.cpp i1 = i0 + deltas[s]; s 638 modules/imgproc/src/contours.cpp while( s != s_end ); s 643 modules/imgproc/src/contours.cpp if( s != s_end ) s 648 modules/imgproc/src/contours.cpp s_end = s; s 652 modules/imgproc/src/contours.cpp i4 = i3 + deltas[++s]; s 661 modules/imgproc/src/contours.cpp s = (s + 4) & 7; s 681 modules/imgproc/src/contours.cpp int prev_s = -1, s, s_end; s 700 modules/imgproc/src/contours.cpp s_end = s = CV_IS_SEQ_HOLE( contour ) ? 0 : 4; s 704 modules/imgproc/src/contours.cpp s = (s - 1) & 7; s 705 modules/imgproc/src/contours.cpp i1 = i0 + deltas[s]; s 709 modules/imgproc/src/contours.cpp while( s != s_end ); s 711 modules/imgproc/src/contours.cpp if( s == s_end ) /* single pixel domain */ s 723 modules/imgproc/src/contours.cpp prev_s = s ^ 4; s 728 modules/imgproc/src/contours.cpp s_end = s; s 732 modules/imgproc/src/contours.cpp i4 = i3 + deltas[++s]; s 736 modules/imgproc/src/contours.cpp s &= 7; s 739 modules/imgproc/src/contours.cpp if( (unsigned) (s - 1) < (unsigned) s_end ) s 750 modules/imgproc/src/contours.cpp schar _s = (schar) s; s 753 modules/imgproc/src/contours.cpp else if( s != prev_s || method == 0 ) s 758 modules/imgproc/src/contours.cpp if( s != prev_s ) s 772 modules/imgproc/src/contours.cpp prev_s = s; s 773 modules/imgproc/src/contours.cpp pt.x += icvCodeDeltas[s].x; s 774 modules/imgproc/src/contours.cpp pt.y += icvCodeDeltas[s].y; s 779 modules/imgproc/src/contours.cpp s = (s + 4) & 7; s 805 modules/imgproc/src/contours.cpp int s, s_end; s 815 modules/imgproc/src/contours.cpp s_end = s = is_hole ? 0 : 4; s 819 modules/imgproc/src/contours.cpp s = (s - 1) & 7; s 820 modules/imgproc/src/contours.cpp i1 = i0 + deltas[s]; s 824 modules/imgproc/src/contours.cpp while( s != s_end ); s 829 modules/imgproc/src/contours.cpp if( s != s_end ) s 834 modules/imgproc/src/contours.cpp s_end = s; s 838 modules/imgproc/src/contours.cpp i4 = i3 + deltas[++s]; s 847 modules/imgproc/src/contours.cpp s = (s + 4) & 7; s 866 modules/imgproc/src/contours.cpp int prev_s = -1, s, s_end; s 890 modules/imgproc/src/contours.cpp s_end = s = CV_IS_SEQ_HOLE( contour ) ? 0 : 4; s 894 modules/imgproc/src/contours.cpp s = (s - 1) & 7; s 895 modules/imgproc/src/contours.cpp i1 = i0 + deltas[s]; s 899 modules/imgproc/src/contours.cpp while( s != s_end ); s 901 modules/imgproc/src/contours.cpp if( s == s_end ) /* single pixel domain */ s 912 modules/imgproc/src/contours.cpp prev_s = s ^ 4; s 917 modules/imgproc/src/contours.cpp s_end = s; s 921 modules/imgproc/src/contours.cpp i4 = i3 + deltas[++s]; s 925 modules/imgproc/src/contours.cpp s &= 7; s 928 modules/imgproc/src/contours.cpp if( (unsigned) (s - 1) < (unsigned) s_end ) s 939 modules/imgproc/src/contours.cpp schar _s = (schar) s; s 942 modules/imgproc/src/contours.cpp else if( s != prev_s || method == 0 ) s 947 modules/imgproc/src/contours.cpp if( s != prev_s ) s 961 modules/imgproc/src/contours.cpp prev_s = s; s 962 modules/imgproc/src/contours.cpp pt.x += icvCodeDeltas[s].x; s 963 modules/imgproc/src/contours.cpp pt.y += icvCodeDeltas[s].y; s 968 modules/imgproc/src/contours.cpp s = (s + 4) & 7; s 398 modules/imgproc/src/convhull.cpp union { CvContour* c; CvSeq* s; } hull; s 399 modules/imgproc/src/convhull.cpp hull.s = 0; s 470 modules/imgproc/src/convhull.cpp return hull.s; s 501 modules/imgproc/src/convhull.cpp hull.s = hullseq; s 507 modules/imgproc/src/convhull.cpp return hull.s; s 91 modules/imgproc/src/distransform.cpp const uchar* s = src + i*srcstep; s 99 modules/imgproc/src/distransform.cpp if( !s[j] ) s 165 modules/imgproc/src/distransform.cpp const uchar* s = src + i*srcstep; s 173 modules/imgproc/src/distransform.cpp if( !s[j] ) s 258 modules/imgproc/src/distransform.cpp const uchar* s = src + i*srcstep; s 267 modules/imgproc/src/distransform.cpp if( !s[j] ) s 528 modules/imgproc/src/distransform.cpp float s = (fq + sqr_tab[q] - d[p] - sqr_tab[p])*inv_tab[q - p]; s 529 modules/imgproc/src/distransform.cpp if( s > z[k] ) s 533 modules/imgproc/src/distransform.cpp z[k] = s; s 178 modules/imgproc/src/drawing.cpp int s = dx < 0 ? -1 : 0; s 182 modules/imgproc/src/drawing.cpp dx = (dx ^ s) - s; s 183 modules/imgproc/src/drawing.cpp dy = (dy ^ s) - s; s 184 modules/imgproc/src/drawing.cpp pt1.x ^= (pt1.x ^ pt2.x) & s; s 185 modules/imgproc/src/drawing.cpp pt1.y ^= (pt1.y ^ pt2.y) & s; s 189 modules/imgproc/src/drawing.cpp dx = (dx ^ s) - s; s 190 modules/imgproc/src/drawing.cpp bt_pix = (bt_pix ^ s) - s; s 195 modules/imgproc/src/drawing.cpp s = dy < 0 ? -1 : 0; s 196 modules/imgproc/src/drawing.cpp dy = (dy ^ s) - s; s 197 modules/imgproc/src/drawing.cpp istep = (istep ^ s) - s; s 199 modules/imgproc/src/drawing.cpp s = dy > dx ? -1 : 0; s 202 modules/imgproc/src/drawing.cpp dx ^= dy & s; s 203 modules/imgproc/src/drawing.cpp dy ^= dx & s; s 204 modules/imgproc/src/drawing.cpp dx ^= dy & s; s 206 modules/imgproc/src/drawing.cpp bt_pix ^= istep & s; s 207 modules/imgproc/src/drawing.cpp istep ^= bt_pix & s; s 208 modules/imgproc/src/drawing.cpp bt_pix ^= istep & s; s 107 modules/imgproc/src/emd.cpp float *s; s 371 modules/imgproc/src/emd.cpp state->s = (float *) buffer; s 385 modules/imgproc/src/emd.cpp state->s[ssize] = weight; s 417 modules/imgproc/src/emd.cpp state->s[ssize] = -diff; s 1058 modules/imgproc/src/emd.cpp if( state->s[min_i] < state->d[min_j] + state->weight * CV_EMD_EPS ) s 1060 modules/imgproc/src/emd.cpp temp = state->s[min_i]; s 1061 modules/imgproc/src/emd.cpp state->s[min_i] = 0; s 1068 modules/imgproc/src/emd.cpp state->s[min_i] -= temp; s 1084 modules/imgproc/src/emd.cpp if( state->s[min_i] == 0 && u_head->next->next != 0 ) s 1098 modules/imgproc/src/emd.cpp double s = 0; s 1104 modules/imgproc/src/emd.cpp s += fabs( t ); s 1106 modules/imgproc/src/emd.cpp return (float)s; s 1113 modules/imgproc/src/emd.cpp double s = 0; s 1119 modules/imgproc/src/emd.cpp s += t * t; s 1121 modules/imgproc/src/emd.cpp return cvSqrt( (float)s ); s 1128 modules/imgproc/src/emd.cpp double s = 0; s 1134 modules/imgproc/src/emd.cpp if( s < t ) s 1135 modules/imgproc/src/emd.cpp s = t; s 1137 modules/imgproc/src/emd.cpp return (float)s; s 58 modules/imgproc/src/gabor.cpp double c = cos(theta), s = sin(theta); s 63 modules/imgproc/src/gabor.cpp xmax = cvRound(std::max(fabs(nstds*sigma_x*c), fabs(nstds*sigma_y*s))); s 68 modules/imgproc/src/gabor.cpp ymax = cvRound(std::max(fabs(nstds*sigma_x*s), fabs(nstds*sigma_y*c))); s 84 modules/imgproc/src/gabor.cpp double xr = x*c + y*s; s 85 modules/imgproc/src/gabor.cpp double yr = -x*s + y*c; s 843 modules/imgproc/src/generalized_hough.cpp const int s = cvRound((scale - minScale_) * iScaleStep); s 844 modules/imgproc/src/generalized_hough.cpp ++SHist[s]; s 853 modules/imgproc/src/generalized_hough.cpp for (int s = 0; s < scaleRange; ++s) s 855 modules/imgproc/src/generalized_hough.cpp if (SHist[s] >= scaleThresh_) s 857 modules/imgproc/src/generalized_hough.cpp const double scale = minScale_ + s * scaleStep_; s 858 modules/imgproc/src/generalized_hough.cpp scales_.push_back(std::make_pair(scale, SHist[s])); s 332 modules/imgproc/src/geometry.cpp double s, t; // The two parameters of the parametric eqns. s 349 modules/imgproc/src/geometry.cpp s = num / denom; s 357 modules/imgproc/src/geometry.cpp if ( (0.0 < s) && (s < 1.0) && s 360 modules/imgproc/src/geometry.cpp else if ( (0.0 > s) || (s > 1.0) || s 364 modules/imgproc/src/geometry.cpp p.x = (float)(a.x + s*(b.x - a.x)); s 365 modules/imgproc/src/geometry.cpp p.y = (float)(a.y + s*(b.y - a.y)); s 539 modules/imgproc/src/geometry.cpp double s = diff0.cross(dst[i] - dst[i-1]); s 540 modules/imgproc/src/geometry.cpp if( s != 0 ) s 542 modules/imgproc/src/geometry.cpp if( s < 0 ) s 3428 modules/imgproc/src/histogram.cpp float s = srcdata[i]; s 3430 modules/imgproc/src/histogram.cpp if( s > FLT_EPSILON ) s 3431 modules/imgproc/src/histogram.cpp if( m <= s ) s 3432 modules/imgproc/src/histogram.cpp dstdata[i] = (float)(m*scale/s); s 164 modules/imgproc/src/intersection.cpp float s = A*x+ B*y+ C; s 166 modules/imgproc/src/intersection.cpp if( s >= 0 ) s 202 modules/imgproc/src/intersection.cpp float s = A*x + B*y + C; s 204 modules/imgproc/src/intersection.cpp if( s >= 0 ) s 324 modules/imgproc/src/lsd.cpp void region_grow(const Point2i& s, std::vector<RegionPoint>& reg, s 635 modules/imgproc/src/lsd.cpp void LineSegmentDetectorImpl::region_grow(const Point2i& s, std::vector<RegionPoint>& reg, s 640 modules/imgproc/src/lsd.cpp reg[0].x = s.x; s 641 modules/imgproc/src/lsd.cpp reg[0].y = s.y; s 642 modules/imgproc/src/lsd.cpp int addr = s.x + s.y * img_width; s 683 modules/imgproc/src/moments.cpp double s = 1./255; s 685 modules/imgproc/src/moments.cpp mom[k] *= s; s 738 modules/imgproc/src/moments.cpp double s = m.nu20 + m.nu02; s 741 modules/imgproc/src/moments.cpp hu[0] = s; s 839 modules/imgproc/src/moments.cpp double s = nu20 + nu02; s 842 modules/imgproc/src/moments.cpp HuState->hu1 = s; s 114 modules/imgproc/src/morph.cpp __m128i s = _mm_loadu_si128((const __m128i*)(src + i)); s 118 modules/imgproc/src/morph.cpp s = updateOp(s, x); s 120 modules/imgproc/src/morph.cpp _mm_storeu_si128((__m128i*)(dst + i), s); s 125 modules/imgproc/src/morph.cpp __m128i s = _mm_cvtsi32_si128(*(const int*)(src + i)); s 129 modules/imgproc/src/morph.cpp s = updateOp(s, x); s 131 modules/imgproc/src/morph.cpp *(int*)(dst + i) = _mm_cvtsi128_si32(s); s 155 modules/imgproc/src/morph.cpp __m128 s = _mm_loadu_ps((const float*)src + i); s 159 modules/imgproc/src/morph.cpp s = updateOp(s, x); s 161 modules/imgproc/src/morph.cpp _mm_storeu_ps((float*)dst + i, s); s 665 modules/imgproc/src/morph.cpp const T* s = S + i; s 666 modules/imgproc/src/morph.cpp T m = s[cn]; s 668 modules/imgproc/src/morph.cpp m = op(m, s[j]); s 669 modules/imgproc/src/morph.cpp D[i] = op(m, s[0]); s 670 modules/imgproc/src/morph.cpp D[i+cn] = op(m, s[j]); s 675 modules/imgproc/src/morph.cpp const T* s = S + i; s 676 modules/imgproc/src/morph.cpp T m = s[0]; s 678 modules/imgproc/src/morph.cpp m = op(m, s[j]); s 1054 modules/imgproc/src/opencl/cvtcolor.cl int h, s, v = b; s 1067 modules/imgproc/src/opencl/cvtcolor.cl s = mad24(diff, sdiv_table[v], (1 << (hsv_shift-1))) >> hsv_shift; s 1074 modules/imgproc/src/opencl/cvtcolor.cl dst[dst_index + 1] = (uchar)s; s 1104 modules/imgproc/src/opencl/cvtcolor.cl float h = src_pix.x, s = src_pix.y*(1/255.f), v = src_pix.z*(1/255.f); s 1107 modules/imgproc/src/opencl/cvtcolor.cl if (s != 0) s 1125 modules/imgproc/src/opencl/cvtcolor.cl tab[1] = v*(1.f - s); s 1126 modules/imgproc/src/opencl/cvtcolor.cl tab[2] = v*(1.f - s*h); s 1127 modules/imgproc/src/opencl/cvtcolor.cl tab[3] = v*(1.f - s*(1.f - h)); s 1175 modules/imgproc/src/opencl/cvtcolor.cl float h, s, v; s 1186 modules/imgproc/src/opencl/cvtcolor.cl s = diff/(float)(fabs(v) + FLT_EPSILON); s 1199 modules/imgproc/src/opencl/cvtcolor.cl dst[1] = s; s 1232 modules/imgproc/src/opencl/cvtcolor.cl float h = src_pix.x, s = src_pix.y, v = src_pix.z; s 1235 modules/imgproc/src/opencl/cvtcolor.cl if (s != 0) s 1253 modules/imgproc/src/opencl/cvtcolor.cl tab[1] = v*(1.f - s); s 1254 modules/imgproc/src/opencl/cvtcolor.cl tab[2] = v*(1.f - s*h); s 1255 modules/imgproc/src/opencl/cvtcolor.cl tab[3] = v*(1.f - s*(1.f - h)); s 1305 modules/imgproc/src/opencl/cvtcolor.cl float h = 0.f, s = 0.f, l; s 1319 modules/imgproc/src/opencl/cvtcolor.cl s = l < 0.5f ? diff/(vmax + vmin) : diff/(2 - vmax - vmin); s 1335 modules/imgproc/src/opencl/cvtcolor.cl dst[dst_index + 2] = convert_uchar_sat_rte(s*255.f); s 1364 modules/imgproc/src/opencl/cvtcolor.cl float h = src_pix.x, l = src_pix.y*(1.f/255.f), s = src_pix.z*(1.f/255.f); s 1367 modules/imgproc/src/opencl/cvtcolor.cl if (s != 0) s 1371 modules/imgproc/src/opencl/cvtcolor.cl float p2 = l <= 0.5f ? l*(1 + s) : l + s - l*s; s 1434 modules/imgproc/src/opencl/cvtcolor.cl float h = 0.f, s = 0.f, l; s 1448 modules/imgproc/src/opencl/cvtcolor.cl s = l < 0.5f ? diff/(vmax + vmin) : diff/(2 - vmax - vmin); s 1463 modules/imgproc/src/opencl/cvtcolor.cl dst[2] = s; s 1494 modules/imgproc/src/opencl/cvtcolor.cl float h = src_pix.x, l = src_pix.y, s = src_pix.z; s 1497 modules/imgproc/src/opencl/cvtcolor.cl if (s != 0) s 1502 modules/imgproc/src/opencl/cvtcolor.cl float p2 = l <= 0.5f ? l*(1 + s) : l + s - l*s; s 927 modules/imgproc/src/pyramids.cpp const T* s = src + x*2; s 928 modules/imgproc/src/pyramids.cpp WT t0 = s[0]*6 + (s[-3] + s[3])*4 + s[-6] + s[6]; s 929 modules/imgproc/src/pyramids.cpp WT t1 = s[1]*6 + (s[-2] + s[4])*4 + s[-5] + s[7]; s 930 modules/imgproc/src/pyramids.cpp WT t2 = s[2]*6 + (s[-1] + s[5])*4 + s[-4] + s[8]; s 938 modules/imgproc/src/pyramids.cpp const T* s = src + x*2; s 939 modules/imgproc/src/pyramids.cpp WT t0 = s[0]*6 + (s[-4] + s[4])*4 + s[-8] + s[8]; s 940 modules/imgproc/src/pyramids.cpp WT t1 = s[1]*6 + (s[-3] + s[5])*4 + s[-7] + s[9]; s 942 modules/imgproc/src/pyramids.cpp t0 = s[2]*6 + (s[-2] + s[6])*4 + s[-6] + s[10]; s 943 modules/imgproc/src/pyramids.cpp t1 = s[3]*6 + (s[-1] + s[7])*4 + s[-5] + s[11]; s 244 modules/imgproc/src/samplers.cpp double s = (1. - a)/a; s 259 modules/imgproc/src/samplers.cpp prev = (float)(t*s); s 91 modules/imgproc/src/smooth.cpp ST s = 0; s 93 modules/imgproc/src/smooth.cpp s += S[i]; s 94 modules/imgproc/src/smooth.cpp D[0] = s; s 97 modules/imgproc/src/smooth.cpp s += S[i + ksz_cn] - S[i]; s 98 modules/imgproc/src/smooth.cpp D[i+cn] = s; s 1443 modules/imgproc/src/smooth.cpp ST s = 0; s 1447 modules/imgproc/src/smooth.cpp s += val*val; s 1449 modules/imgproc/src/smooth.cpp D[0] = s; s 1453 modules/imgproc/src/smooth.cpp s += val1*val1 - val0*val0; s 1454 modules/imgproc/src/smooth.cpp D[i+cn] = s; s 2094 modules/imgproc/src/smooth.cpp int s = 0; s 2097 modules/imgproc/src/smooth.cpp int t = s + zone0[c][k]; s 2099 modules/imgproc/src/smooth.cpp s = t; s 2104 modules/imgproc/src/smooth.cpp s += zone1[c][k]; s 2105 modules/imgproc/src/smooth.cpp if( s > n2 ) break; s 189 modules/imgproc/src/sumpixels.cpp ST s = sum[-cn] = 0; s 192 modules/imgproc/src/sumpixels.cpp s += src[x]; s 193 modules/imgproc/src/sumpixels.cpp sum[x] = sum[x - sumstep] + s; s 205 modules/imgproc/src/sumpixels.cpp ST s = sum[-cn] = 0; s 210 modules/imgproc/src/sumpixels.cpp s += it; s 212 modules/imgproc/src/sumpixels.cpp ST t = sum[x - sumstep] + s; s 224 modules/imgproc/src/sumpixels.cpp ST s; s 230 modules/imgproc/src/sumpixels.cpp for( x = 0, s = 0, sq = 0; x < size.width; x += cn ) s 234 modules/imgproc/src/sumpixels.cpp s += it; s 236 modules/imgproc/src/sumpixels.cpp sum[x] = s; s 264 modules/imgproc/src/sumpixels.cpp ST t0 = s = it; s 283 modules/imgproc/src/sumpixels.cpp s += t0; s 285 modules/imgproc/src/sumpixels.cpp sum[x] = sum[x - sumstep] + s; s 298 modules/imgproc/src/sumpixels.cpp s += t0; s 300 modules/imgproc/src/sumpixels.cpp sum[x] = sum[x - sumstep] + s; s 650 modules/imgproc/test/test_color.cpp float s, h, diff; s 655 modules/imgproc/test/test_color.cpp s = h = 0; s 658 modules/imgproc/test/test_color.cpp s = diff/(v + FLT_EPSILON); s 669 modules/imgproc/test/test_color.cpp dst_row[j+1] = s*scale; s 685 modules/imgproc/test/test_color.cpp float s = src_row[j+1]*scale; s 694 modules/imgproc/test/test_color.cpp if( s != 0 ) s 698 modules/imgproc/test/test_color.cpp float p = v*(1 - s); s 699 modules/imgproc/test/test_color.cpp float q = v*(1 - s*f); s 700 modules/imgproc/test/test_color.cpp float t = v*(1 - s*(1 - f)); s 775 modules/imgproc/test/test_color.cpp float s, h, l, diff; s 781 modules/imgproc/test/test_color.cpp s = h = 0, l = v; s 785 modules/imgproc/test/test_color.cpp s = l <= 0.5f ? diff / (v + vmin) : diff / (2 - v - vmin); s 797 modules/imgproc/test/test_color.cpp dst_row[j+2] = s*scale; s 813 modules/imgproc/test/test_color.cpp float s = src_row[j+2]*scale; s 821 modules/imgproc/test/test_color.cpp if( s != 0 ) s 823 modules/imgproc/test/test_color.cpp float m2 = l <= 0.5f ? l*(1.f + s) : l + s - l*s; s 452 modules/imgproc/test/test_contours.cpp int rx, ry, s, t=d; s 454 modules/imgproc/test/test_contours.cpp for (s=1; s<n; s*=2) s 458 modules/imgproc/test/test_contours.cpp rot(s, x, y, rx, ry); s 459 modules/imgproc/test/test_contours.cpp *x += s * rx; s 460 modules/imgproc/test/test_contours.cpp *y += s * ry; s 1453 modules/imgproc/test/test_convhull.cpp double s = 0; s 1462 modules/imgproc/test/test_convhull.cpp s += (double)line0[k]*line0[k]; s 1465 modules/imgproc/test/test_convhull.cpp s = 1./sqrt(s); s 1467 modules/imgproc/test/test_convhull.cpp line0[k] = (float)(line0[k]*s); s 1676 modules/imgproc/test/test_convhull.cpp double c = cos(phi), s = sin(phi); s 1677 modules/imgproc/test/test_convhull.cpp p.x = (float)(c0*c - s0*s + center.x); s 1678 modules/imgproc/test/test_convhull.cpp p.y = (float)(c0*s + s0*c + center.y); s 227 modules/imgproc/test/test_distancetransform.cpp uchar* s = _src->data.ptr + i*_src->step; s 235 modules/imgproc/test/test_distancetransform.cpp if( s[j] == 0 ) s 1361 modules/imgproc/test/test_filter.cpp double x1, y1, x2, y2, s; s 1367 modules/imgproc/test/test_filter.cpp s = 1./(sqrt(x1*x1+y1*y1)+DBL_EPSILON); s 1368 modules/imgproc/test/test_filter.cpp x1 *= s; y1 *= s; s 1374 modules/imgproc/test/test_filter.cpp s = 1./(sqrt(x2*x2+y2*y2)+DBL_EPSILON); s 1375 modules/imgproc/test/test_filter.cpp x2 *= s; y2 *= s; s 1688 modules/imgproc/test/test_filter.cpp double s = 0, sq = 0; s 1697 modules/imgproc/test/test_filter.cpp s += t; s 1700 modules/imgproc/test/test_filter.cpp sdata[x] = s + sdata[x - sstep]; s 167 modules/imgproc/test/test_floodfill.cpp Scalar s = Scalar::all(10); s 173 modules/imgproc/test/test_floodfill.cpp s = Scalar::all(2); s 175 modules/imgproc/test/test_floodfill.cpp rng.fill(tmp, RNG::NORMAL, m, s ); s 1803 modules/imgproc/test/test_histograms.cpp double s[CV_MAX_DIM]; s 1813 modules/imgproc/test/test_histograms.cpp s[j] = v; s 1819 modules/imgproc/test/test_histograms.cpp double v0 = s[j]*sum; s 624 modules/imgproc/test/test_imgwarp.cpp Point2f s[4], d[4]; s 630 modules/imgproc/test/test_imgwarp.cpp s[0] = Point2f(0,0); s 632 modules/imgproc/test/test_imgwarp.cpp s[1] = Point2f(src.cols-1.f,0); s 634 modules/imgproc/test/test_imgwarp.cpp s[2] = Point2f(src.cols-1.f,src.rows-1.f); s 636 modules/imgproc/test/test_imgwarp.cpp s[3] = Point2f(0,src.rows-1.f); s 646 modules/imgproc/test/test_imgwarp.cpp s[i].x += bufer[i*4]*src.cols/2; s 647 modules/imgproc/test/test_imgwarp.cpp s[i].y += bufer[i*4+1]*src.rows/2; s 652 modules/imgproc/test/test_imgwarp.cpp cv::getPerspectiveTransform( s, d ).convertTo( mat, mat.depth() ); s 1118 modules/imgproc/test/test_imgwarp.cpp const float* s; s 1126 modules/imgproc/test/test_imgwarp.cpp s = src.ptr<float>(iy) + ix*cn; s 1127 modules/imgproc/test/test_imgwarp.cpp for( int k = 0; k < cn; k++, s++ ) s 1129 modules/imgproc/test/test_imgwarp.cpp float t0 = s[0] + sx*(s[dx] - s[0]); s 1130 modules/imgproc/test/test_imgwarp.cpp float t1 = s[dy] + sx*(s[dy + dx] - s[dy]); s 212 modules/imgproc/test/test_thresh.cpp int s = src[j]; s 213 modules/imgproc/test/test_thresh.cpp dst[j] = (uchar)(s > ithresh ? ithresh2 : s); s 222 modules/imgproc/test/test_thresh.cpp int s = src[j]; s 223 modules/imgproc/test/test_thresh.cpp dst[j] = (short)(s > ithresh ? ithresh2 : s); s 232 modules/imgproc/test/test_thresh.cpp float s = src[j]; s 233 modules/imgproc/test/test_thresh.cpp dst[j] = s > thresh ? thresh : s; s 247 modules/imgproc/test/test_thresh.cpp int s = src[j]; s 248 modules/imgproc/test/test_thresh.cpp dst[j] = (uchar)(s > ithresh ? s : 0); s 257 modules/imgproc/test/test_thresh.cpp int s = src[j]; s 258 modules/imgproc/test/test_thresh.cpp dst[j] = (short)(s > ithresh ? s : 0); s 267 modules/imgproc/test/test_thresh.cpp float s = src[j]; s 268 modules/imgproc/test/test_thresh.cpp dst[j] = s > thresh ? s : 0.f; s 282 modules/imgproc/test/test_thresh.cpp int s = src[j]; s 283 modules/imgproc/test/test_thresh.cpp dst[j] = (uchar)(s > ithresh ? 0 : s); s 292 modules/imgproc/test/test_thresh.cpp int s = src[j]; s 293 modules/imgproc/test/test_thresh.cpp dst[j] = (short)(s > ithresh ? 0 : s); s 302 modules/imgproc/test/test_thresh.cpp float s = src[j]; s 303 modules/imgproc/test/test_thresh.cpp dst[j] = s > thresh ? 0.f : s; s 119 modules/java/generator/src/cpp/Mat.cpp Scalar s(s_val0, s_val1, s_val2, s_val3); s 120 modules/java/generator/src/cpp/Mat.cpp return (jlong) new Mat( rows, cols, type, s ); s 146 modules/java/generator/src/cpp/Mat.cpp Scalar s(s_val0, s_val1, s_val2, s_val3); s 147 modules/java/generator/src/cpp/Mat.cpp return (jlong) new Mat( size, type, s ); s 1380 modules/java/generator/src/cpp/Mat.cpp Scalar s(s_val0, s_val1, s_val2, s_val3); s 1381 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = me->operator =( s ); s 1408 modules/java/generator/src/cpp/Mat.cpp Scalar s(s_val0, s_val1, s_val2, s_val3); s 1410 modules/java/generator/src/cpp/Mat.cpp Mat _retval_ = me->setTo( s, mask ); s 2177 modules/java/generator/src/cpp/Mat.cpp String s; s 2181 modules/java/generator/src/cpp/Mat.cpp s = s + String(str); s 2183 modules/java/generator/src/cpp/Mat.cpp return env->NewStringUTF(s.c_str()); s 186 modules/ml/src/ann_mlp.cpp double s = 0; s 191 modules/ml/src/ann_mlp.cpp s += fabs(val); s 196 modules/ml/src/ann_mlp.cpp s = 1./(s - fabs(val)); s 198 modules/ml/src/ann_mlp.cpp w[k*n2 + j] *= s; s 576 modules/ml/src/ann_mlp.cpp double s = scale[j*2], s2 = scale[j*2+1]; s 577 modules/ml/src/ann_mlp.cpp double m = s/count, sigma2 = s2/count - m*m; s 681 modules/ml/src/ann_mlp.cpp double s = sum(sample_weights)[0]; s 682 modules/ml/src/ann_mlp.cpp sample_weights.convertTo(temp, CV_64F, 1./s); s 1066 modules/ml/src/ann_mlp.cpp int s = CV_SIGN(Eval); s 1067 modules/ml/src/ann_mlp.cpp int ss = prevEk[j]*s; s 1073 modules/ml/src/ann_mlp.cpp wk[j] = wval + dval*s; s 1081 modules/ml/src/ann_mlp.cpp wk[j] = wval + dval*s; s 1085 modules/ml/src/ann_mlp.cpp prevEk[j] = (schar)s; s 1086 modules/ml/src/ann_mlp.cpp wk[j] = wval + dval*s; s 674 modules/ml/src/data.cpp void setVarTypes( const String& s, int nvars, std::vector<uchar>& vtypes ) const s 678 modules/ml/src/data.cpp const char* str = s.c_str(); s 867 modules/ml/src/data.cpp const int* s = n > 0 ? sidx.ptr<int>() : 0; s 880 modules/ml/src/data.cpp if( s ) s 882 modules/ml/src/data.cpp j = s[i]; s 789 modules/ml/src/em.cpp String s = (String)fn["cov_mat_type"]; s 790 modules/ml/src/em.cpp covMatType = s == "spherical" ? COV_MAT_SPHERICAL : s 791 modules/ml/src/em.cpp s == "diagonal" ? COV_MAT_DIAGONAL : s 792 modules/ml/src/em.cpp s == "generic" ? COV_MAT_GENERIC : -1; s 1103 modules/ml/src/gbt.cpp cv::String s; s 1116 modules/ml/src/gbt.cpp s = cv::format("trees_%d", j); s 1117 modules/ml/src/gbt.cpp cvStartWriteStruct( fs, s.c_str(), CV_NODE_SEQ ); s 1153 modules/ml/src/gbt.cpp cv::String s; s 1169 modules/ml/src/gbt.cpp s = cv::format("trees_%d", j); s 1171 modules/ml/src/gbt.cpp trees_fnode = cvGetFileNodeByName( fs, node, s.c_str() ); s 151 modules/ml/src/kdtree.cpp double t = row[j], s = sums[j*2] + t, s2 = sums[j*2+1] + t*t; s 152 modules/ml/src/kdtree.cpp sums[j*2] = s; sums[j*2+1] = s2; s 173 modules/ml/src/knearest.cpp float s = 0; s 178 modules/ml/src/knearest.cpp s += t0*t0 + t1*t1 + t2*t2 + t3*t3; s 184 modules/ml/src/knearest.cpp s += t0*t0; s 188 modules/ml/src/knearest.cpp si.f = (float)s; s 235 modules/ml/src/knearest.cpp float s = 0.f; s 237 modules/ml/src/knearest.cpp s += rbuf[testidx*k + j]; s 238 modules/ml/src/knearest.cpp result = (float)(s*inv_scale); s 65 modules/ml/src/nbayes.cpp int s, c1, c2, cls; s 111 modules/ml/src/nbayes.cpp for( s = 0; s < nsamples; s++ ) s 113 modules/ml/src/nbayes.cpp cls = responses.at<int>(s); s 117 modules/ml/src/nbayes.cpp const float* train_vec = samples.ptr<float>(s); s 173 modules/ml/src/svm.cpp double s = 0; s 175 modules/ml/src/svm.cpp s += sample[k]*another[k] + sample[k+1]*another[k+1] + s 178 modules/ml/src/svm.cpp s += sample[k]*another[k]; s 179 modules/ml/src/svm.cpp results[j] = (Qfloat)(s*alpha + beta); s 226 modules/ml/src/svm.cpp double s = 0; s 233 modules/ml/src/svm.cpp s += t0*t0 + t1*t1; s 238 modules/ml/src/svm.cpp s += t0*t0 + t1*t1; s 244 modules/ml/src/svm.cpp s += t0*t0; s 246 modules/ml/src/svm.cpp results[j] = (Qfloat)(s*gamma); s 264 modules/ml/src/svm.cpp double s = 0; s 266 modules/ml/src/svm.cpp s += std::min(sample[k],another[k]) + std::min(sample[k+1],another[k+1]) + s 269 modules/ml/src/svm.cpp s += std::min(sample[k],another[k]); s 270 modules/ml/src/svm.cpp results[j] = (Qfloat)(s); s 379 modules/ml/src/tree.cpp const int* s = &sidx[0]; s 380 modules/ml/src/tree.cpp int first = responses[s[0]]; s 382 modules/ml/src/tree.cpp if( responses[s[i]] != first ) s 624 modules/ml/src/tree.cpp double s = sum - cv_sum[j], si = sum - s; s 629 modules/ml/src/tree.cpp w->cv_node_error[nidx*cv_n + j] = s2 - 2*r*s + c*r*r; s 755 modules/ml/src/tree.cpp double* s = csums + labels[i]*m; s 757 modules/ml/src/tree.cpp s[j] += v[j]; s 769 modules/ml/src/tree.cpp const double* s = csums + i*m; s 772 modules/ml/src/tree.cpp sum += s[j]; s 786 modules/ml/src/tree.cpp const double* s = csums + idx*m; s 790 modules/ml/src/tree.cpp double t = v[j]*alpha - s[j]*beta; s 1101 modules/ml/src/tree.cpp double s = sum[idx]; s 1102 modules/ml/src/tree.cpp lsum += s; L += ni; s 1103 modules/ml/src/tree.cpp rsum -= s; R -= ni; s 126 modules/ml/test/test_lr.cpp FileStorage s("debug.xml", FileStorage::WRITE); s 127 modules/ml/test/test_lr.cpp s << "original" << tdata->getResponses(); s 128 modules/ml/test/test_lr.cpp s << "predicted1" << responses; s 129 modules/ml/test/test_lr.cpp s << "learnt" << p->get_learnt_thetas(); s 130 modules/ml/test/test_lr.cpp s << "error" << error; s 131 modules/ml/test/test_lr.cpp s.release(); s 114 modules/objdetect/src/cascadedetect.cpp float s = 1.f/rweights[i]; s 115 modules/objdetect/src/cascadedetect.cpp rrects[i] = Rect(saturate_cast<int>(r.x*s), s 116 modules/objdetect/src/cascadedetect.cpp saturate_cast<int>(r.y*s), s 117 modules/objdetect/src/cascadedetect.cpp saturate_cast<int>(r.width*s), s 118 modules/objdetect/src/cascadedetect.cpp saturate_cast<int>(r.height*s)); s 348 modules/objdetect/src/cascadedetect.cpp Size s( int(winDetSize.width * scale), int(winDetSize.height * scale) ); s 349 modules/objdetect/src/cascadedetect.cpp Rect resultRect( int(hitCenter.x-s.width/2), int(hitCenter.y-s.height/2), s 350 modules/objdetect/src/cascadedetect.cpp int(s.width), int(s.height) ); s 442 modules/objdetect/src/cascadedetect.cpp FeatureEvaluator::ScaleData& s = scaleData->at(i); s 443 modules/objdetect/src/cascadedetect.cpp if( !recalcOptFeatures && fabs(s.scale - _scales[i]) > FLT_EPSILON*100*_scales[i] ) s 449 modules/objdetect/src/cascadedetect.cpp s.ystep = sc >= 2 ? 1 : 2; s 450 modules/objdetect/src/cascadedetect.cpp s.scale = sc; s 451 modules/objdetect/src/cascadedetect.cpp s.szi = Size(sz.width+1, sz.height+1); s 455 modules/objdetect/src/cascadedetect.cpp layer_dy = s.szi.height; s 458 modules/objdetect/src/cascadedetect.cpp if( layer_ofs.x + s.szi.width > sbufSize.width ) s 461 modules/objdetect/src/cascadedetect.cpp layer_dy = s.szi.height; s 463 modules/objdetect/src/cascadedetect.cpp s.layer_ofs = layer_ofs.y*sbufSize.width + layer_ofs.x; s 464 modules/objdetect/src/cascadedetect.cpp layer_ofs.x += s.szi.width; s 500 modules/objdetect/src/cascadedetect.cpp const ScaleData& s = scaleData->at(i); s 501 modules/objdetect/src/cascadedetect.cpp UMat dst(urbuf, Rect(0, 0, s.szi.width - 1, s.szi.height - 1)); s 502 modules/objdetect/src/cascadedetect.cpp resize(_image, dst, dst.size(), 1. / s.scale, 1. / s.scale, INTER_LINEAR); s 515 modules/objdetect/src/cascadedetect.cpp const ScaleData& s = scaleData->at(i); s 516 modules/objdetect/src/cascadedetect.cpp Mat dst(s.szi.height - 1, s.szi.width - 1, CV_8U, rbuf.ptr()); s 517 modules/objdetect/src/cascadedetect.cpp resize(image, dst, dst.size(), 1. / s.scale, 1. / s.scale, INTER_LINEAR); s 620 modules/objdetect/src/cascadedetect.cpp const ScaleData& s = scaleData->at(scaleIdx); s 625 modules/objdetect/src/cascadedetect.cpp int sx = s.layer_ofs % sbufSize.width; s 626 modules/objdetect/src/cascadedetect.cpp int sy = s.layer_ofs / sbufSize.width; s 628 modules/objdetect/src/cascadedetect.cpp UMat sum(usbuf, Rect(sx, sy, s.szi.width, s.szi.height)); s 629 modules/objdetect/src/cascadedetect.cpp UMat sqsum(usbuf, Rect(sx, sqy, s.szi.width, s.szi.height)); s 635 modules/objdetect/src/cascadedetect.cpp UMat tilted(usbuf, Rect(sx, sty, s.szi.width, s.szi.height)); s 642 modules/objdetect/src/cascadedetect.cpp CV_Assert(sqsum.u == u && sqsum.size() == s.szi && sqsum.type()==CV_32S); s 647 modules/objdetect/src/cascadedetect.cpp Mat sum(s.szi, CV_32S, sbuf.ptr<int>() + s.layer_ofs, sbuf.step); s 648 modules/objdetect/src/cascadedetect.cpp Mat sqsum(s.szi, CV_32S, sum.ptr<int>() + sqofs, sbuf.step); s 652 modules/objdetect/src/cascadedetect.cpp Mat tilted(s.szi, CV_32S, sum.ptr<int>() + tofs, sbuf.step); s 684 modules/objdetect/src/cascadedetect.cpp const ScaleData& s = getScaleData(scaleIdx); s 687 modules/objdetect/src/cascadedetect.cpp pt.x + origWinSize.width >= s.szi.width || s 688 modules/objdetect/src/cascadedetect.cpp pt.y + origWinSize.height >= s.szi.height ) s 691 modules/objdetect/src/cascadedetect.cpp pwin = &sbuf.at<int>(pt) + s.layer_ofs; s 799 modules/objdetect/src/cascadedetect.cpp const ScaleData& s = scaleData->at(scaleIdx); s 803 modules/objdetect/src/cascadedetect.cpp int sx = s.layer_ofs % sbufSize.width; s 804 modules/objdetect/src/cascadedetect.cpp int sy = s.layer_ofs / sbufSize.width; s 805 modules/objdetect/src/cascadedetect.cpp UMat sum(usbuf, Rect(sx, sy, s.szi.width, s.szi.height)); s 810 modules/objdetect/src/cascadedetect.cpp Mat sum(s.szi, CV_32S, sbuf.ptr<int>() + s.layer_ofs, sbuf.step); s 848 modules/objdetect/src/cascadedetect.cpp const ScaleData& s = scaleData->at(scaleIdx); s 851 modules/objdetect/src/cascadedetect.cpp pt.x + origWinSize.width >= s.szi.width || s 852 modules/objdetect/src/cascadedetect.cpp pt.y + origWinSize.height >= s.szi.height ) s 855 modules/objdetect/src/cascadedetect.cpp pwin = &sbuf.at<int>(pt) + s.layer_ofs; s 982 modules/objdetect/src/cascadedetect.cpp const FeatureEvaluator::ScaleData& s = scaleData[scaleIdx]; s 983 modules/objdetect/src/cascadedetect.cpp float scalingFactor = s.scale; s 984 modules/objdetect/src/cascadedetect.cpp int yStep = s.ystep; s 987 modules/objdetect/src/cascadedetect.cpp Size szw = s.getWorkingSize(origWinSize); s 1165 modules/objdetect/src/cascadedetect.cpp const FeatureEvaluator::ScaleData& s = featureEvaluator->getScaleData(fptr[i*3 + 1]); s 1166 modules/objdetect/src/cascadedetect.cpp candidates.push_back(Rect(cvRound(fptr[i*3 + 2]*s.scale), s 1167 modules/objdetect/src/cascadedetect.cpp cvRound(fptr[i*3 + 3]*s.scale), s 1168 modules/objdetect/src/cascadedetect.cpp cvRound(data.origWinSize.width*s.scale), s 1169 modules/objdetect/src/cascadedetect.cpp cvRound(data.origWinSize.height*s.scale))); s 1296 modules/objdetect/src/cascadedetect.cpp const FeatureEvaluator::ScaleData* s = &featureEvaluator->getScaleData(0); s 1297 modules/objdetect/src/cascadedetect.cpp Size szw = s->getWorkingSize(data.origWinSize); s 1301 modules/objdetect/src/cascadedetect.cpp szw = s[i].getWorkingSize(data.origWinSize); s 1302 modules/objdetect/src/cascadedetect.cpp stripeSizes[i] = std::max((szw.height/s[i].ystep + nstripes-1)/nstripes, 1)*s[i].ystep; s 1305 modules/objdetect/src/cascadedetect.cpp CascadeClassifierInvoker invoker(*this, (int)nscales, nstripes, s, stripeSizes, s 1456 modules/objdetect/src/haar.cpp int s = p0[offset] - p1[offset] - p2[offset] + p3[offset]; s 1458 modules/objdetect/src/haar.cpp if( s < 100 || sq < 20 ) s 968 modules/objdetect/src/hog.cpp __m128 s = _mm_mul_ps(p0, p0); s 973 modules/objdetect/src/hog.cpp s = _mm_add_ps(s, _mm_mul_ps(p0, p0)); s 975 modules/objdetect/src/hog.cpp _mm_storeu_ps(partSum, s); s 1004 modules/objdetect/src/hog.cpp s = _mm_mul_ps(p, p); s 1012 modules/objdetect/src/hog.cpp s = _mm_add_ps(s, _mm_mul_ps(p, p)); s 1016 modules/objdetect/src/hog.cpp _mm_storeu_ps(partSum, s); s 1511 modules/objdetect/src/hog.cpp double s = rho; s 1537 modules/objdetect/src/hog.cpp s += t0 + t1; s 1540 modules/objdetect/src/hog.cpp s += vec[k]*svmVec[k] + vec[k+1]*svmVec[k+1] + s 1544 modules/objdetect/src/hog.cpp s += vec[k]*svmVec[k]; s 1546 modules/objdetect/src/hog.cpp if( s >= hitThreshold ) s 1549 modules/objdetect/src/hog.cpp weights.push_back(s); s 3376 modules/objdetect/src/hog.cpp double s = rho; s 3403 modules/objdetect/src/hog.cpp s += t0 + t1; s 3406 modules/objdetect/src/hog.cpp s += vec[k]*svmVec[k] + vec[k+1]*svmVec[k+1] + s 3410 modules/objdetect/src/hog.cpp s += vec[k]*svmVec[k]; s 3412 modules/objdetect/src/hog.cpp confidences.push_back(s); s 3414 modules/objdetect/src/hog.cpp if( s >= hitThreshold ) s 3559 modules/objdetect/src/hog.cpp double s = 1.0/numInClass[i]; s 3560 modules/objdetect/src/hog.cpp rrects[i] = cv::Rect_<double>(cv::saturate_cast<double>(r.x*s), s 3561 modules/objdetect/src/hog.cpp cv::saturate_cast<double>(r.y*s), s 3562 modules/objdetect/src/hog.cpp cv::saturate_cast<double>(r.width*s), s 3563 modules/objdetect/src/hog.cpp cv::saturate_cast<double>(r.height*s)); s 120 modules/objdetect/src/opencl/cascadedetect.cl __global const ScaleData* s = scaleData + scaleIdx; s 121 modules/objdetect/src/opencl/cascadedetect.cl int ystep = s->ystep; s 122 modules/objdetect/src/opencl/cascadedetect.cl int2 worksize = (int2)(max(s->szi_width - windowsize.x, 0), max(s->szi_height - windowsize.y, 0)); s 132 modules/objdetect/src/opencl/cascadedetect.cl __global const int* psum0 = sum + mad24(iy0, sumstep, ix0) + s->layer_ofs; s 172 modules/objdetect/src/opencl/cascadedetect.cl float s = 0.f; s 190 modules/objdetect/src/opencl/cascadedetect.cl s += (sval < st.y*nf) ? st.z : st.w; s 217 modules/objdetect/src/opencl/cascadedetect.cl s += leaves[-idx]; s 221 modules/objdetect/src/opencl/cascadedetect.cl if( s < stages[stageIdx].threshold ) s 327 modules/objdetect/src/opencl/cascadedetect.cl float s = lpartsum[nr*nparts]; s 329 modules/objdetect/src/opencl/cascadedetect.cl s += lpartsum[i + nr*nparts]; s 330 modules/objdetect/src/opencl/cascadedetect.cl if( s >= stages[stageIdx].threshold ) s 391 modules/objdetect/src/opencl/cascadedetect.cl __global const ScaleData* s = scaleData + scaleIdx; s 392 modules/objdetect/src/opencl/cascadedetect.cl int ystep = s->ystep; s 393 modules/objdetect/src/opencl/cascadedetect.cl int2 worksize = (int2)(max(s->szi_width - windowsize.x, 0), max(s->szi_height - windowsize.y, 0)); s 405 modules/objdetect/src/opencl/cascadedetect.cl __global const int* p = sum + mad24(iy, sumstep, ix) + s->layer_ofs; s 412 modules/objdetect/src/opencl/cascadedetect.cl float s = 0.f; s 431 modules/objdetect/src/opencl/cascadedetect.cl s += (bitset[idx] & (1 << mask)) ? st.z : st.w; s 434 modules/objdetect/src/opencl/cascadedetect.cl if( s < stages[stageIdx].threshold ) s 489 modules/objdetect/src/opencl/cascadedetect.cl __global const ScaleData* s = scaleData + scaleIdx; s 490 modules/objdetect/src/opencl/cascadedetect.cl int ystep = s->ystep; s 491 modules/objdetect/src/opencl/cascadedetect.cl int2 worksize = (int2)(max(s->szi_width - windowsize.x, 0), max(s->szi_height - windowsize.y, 0)); s 501 modules/objdetect/src/opencl/cascadedetect.cl __global const int* psum0 = sum + mad24(iy0, sumstep, ix0) + s->layer_ofs; s 531 modules/objdetect/src/opencl/cascadedetect.cl float s = 0.f; s 550 modules/objdetect/src/opencl/cascadedetect.cl s += (bitset[idx] & (1 << mask)) ? st.z : st.w; s 553 modules/objdetect/src/opencl/cascadedetect.cl if( s < stages[stageIdx].threshold ) s 629 modules/objdetect/src/opencl/cascadedetect.cl float s = lpartsum[nr*nparts]; s 631 modules/objdetect/src/opencl/cascadedetect.cl s += lpartsum[i + nr*nparts]; s 632 modules/objdetect/src/opencl/cascadedetect.cl if( s >= stages[stageIdx].threshold ) s 82 modules/objdetect/test/test_cascadeandhog.cpp float s; s 116 modules/objdetect/test/test_cascadeandhog.cpp fn[S_E] >> eps.s; s 182 modules/objdetect/test/test_cascadeandhog.cpp validationFS << S_E << eps.s; s 310 modules/objdetect/test/test_cascadeandhog.cpp float wDiff = imgSize.width * eps.s; s 311 modules/objdetect/test/test_cascadeandhog.cpp float hDiff = imgSize.height * eps.s; s 1051 modules/objdetect/test/test_cascadeandhog.cpp double s = rho; s 1061 modules/objdetect/test/test_cascadeandhog.cpp s += vec[k]*svmVec[k] + vec[k+1]*svmVec[k+1] + s 1064 modules/objdetect/test/test_cascadeandhog.cpp s += vec[k]*svmVec[k]; s 1066 modules/objdetect/test/test_cascadeandhog.cpp if( s >= hitThreshold ) s 1069 modules/objdetect/test/test_cascadeandhog.cpp weights.push_back(s); s 80 modules/photo/src/denoise_tvl1.cpp double s=0; s 140 modules/photo/src/denoise_tvl1.cpp s=0.0; s 142 modules/photo/src/denoise_tvl1.cpp s=s+Rs[count](y,x); s 144 modules/photo/src/denoise_tvl1.cpp double x_new = x_curr[x] + tau*(p_curr[x].y - p_prev[x].y)-tau*s; s 151 modules/photo/src/denoise_tvl1.cpp s=0.0; s 153 modules/photo/src/denoise_tvl1.cpp s+=Rs[count](y,x); s 156 modules/photo/src/denoise_tvl1.cpp x_new = x_curr[x] + tau*(p_curr[x].x - p_curr[x-1].x + p_curr[x].y - p_prev[x].y)-tau*s; s 307 modules/photo/src/inpaint.cpp float Ia=0,Jx=0,Jy=0,s=1.0e-20f,w,dst,lev,dir,sat; s 381 modules/photo/src/inpaint.cpp s += w; s 386 modules/photo/src/inpaint.cpp sat = (float)((Ia/s+(Jx+Jy)/(sqrt(Jx*Jx+Jy*Jy)+1.0e-20f)+0.5f)); s 419 modules/photo/src/inpaint.cpp float Ia=0,Jx=0,Jy=0,s=1.0e-20f,w,dst,lev,dir,sat; s 493 modules/photo/src/inpaint.cpp s += w; s 498 modules/photo/src/inpaint.cpp sat = (float)((Ia/s+(Jx+Jy)/(sqrt(Jx*Jx+Jy*Jy)+1.0e-20f)+0.5f)); s 539 modules/photo/src/inpaint.cpp float Ia=0,s=1.0e-20f,w,dst,dir; s 592 modules/photo/src/inpaint.cpp s += w; s 597 modules/photo/src/inpaint.cpp CV_MAT_3COLOR_ELEM(*out,uchar,i-1,j-1,color) = cv::saturate_cast<uchar>((double)Ia/s); s 627 modules/photo/src/inpaint.cpp float Ia=0,s=1.0e-20f,w,dst,dir; s 680 modules/photo/src/inpaint.cpp s += w; s 685 modules/photo/src/inpaint.cpp CV_MAT_ELEM(*out,uchar,i-1,j-1) = cv::saturate_cast<uchar>((double)Ia/s); s 408 modules/python/src2/cv2.cpp bool pyopencv_to(PyObject *o, Scalar& s, const char *name) s 424 modules/python/src2/cv2.cpp s[(int)i] = PyFloat_AsDouble(item); s 433 modules/python/src2/cv2.cpp s[0] = PyFloat_AsDouble(o); s 1240 modules/python/src2/cv2.cpp std::string s = name; s 1241 modules/python/src2/cv2.cpp size_t i = s.find('.'); s 1242 modules/python/src2/cv2.cpp while (i < s.length() && i != std::string::npos) s 1244 modules/python/src2/cv2.cpp size_t j = s.find('.', i); s 1246 modules/python/src2/cv2.cpp j = s.length(); s 1247 modules/python/src2/cv2.cpp std::string short_name = s.substr(i, j-i); s 1248 modules/python/src2/cv2.cpp std::string full_name = s.substr(0, j); s 171 modules/stitching/src/autocalib.cpp for (int s = 0; s < 3; ++s) s 173 modules/stitching/src/autocalib.cpp int idx = idx_map[l][s]; s 174 modules/stitching/src/autocalib.cpp A(eq_idx, idx) += H(i,l) * H(j,s); s 154 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void logicOp(const Mat& src, const Scalar& s, Mat& dst, char c); s 156 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void min(const Mat& src, double s, Mat& dst); s 158 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void max(const Mat& src, double s, Mat& dst); s 161 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void compare(const Mat& src, double s, Mat& dst, int cmpop); s 9660 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ void PrintTo(const char* s, ::std::ostream* os); s 9661 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(char* s, ::std::ostream* os) { s 9662 modules/ts/include/opencv2/ts/ts_gtest.h PrintTo(ImplicitCast_<const char*>(s), os); s 9667 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(const signed char* s, ::std::ostream* os) { s 9668 modules/ts/include/opencv2/ts/ts_gtest.h PrintTo(ImplicitCast_<const void*>(s), os); s 9670 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(signed char* s, ::std::ostream* os) { s 9671 modules/ts/include/opencv2/ts/ts_gtest.h PrintTo(ImplicitCast_<const void*>(s), os); s 9673 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(const unsigned char* s, ::std::ostream* os) { s 9674 modules/ts/include/opencv2/ts/ts_gtest.h PrintTo(ImplicitCast_<const void*>(s), os); s 9676 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(unsigned char* s, ::std::ostream* os) { s 9677 modules/ts/include/opencv2/ts/ts_gtest.h PrintTo(ImplicitCast_<const void*>(s), os); s 9687 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ void PrintTo(const wchar_t* s, ::std::ostream* os); s 9688 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(wchar_t* s, ::std::ostream* os) { s 9689 modules/ts/include/opencv2/ts/ts_gtest.h PrintTo(ImplicitCast_<const wchar_t*>(s), os); s 9709 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ void PrintStringTo(const ::string&s, ::std::ostream* os); s 9710 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(const ::string& s, ::std::ostream* os) { s 9711 modules/ts/include/opencv2/ts/ts_gtest.h PrintStringTo(s, os); s 9715 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ void PrintStringTo(const ::std::string&s, ::std::ostream* os); s 9716 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(const ::std::string& s, ::std::ostream* os) { s 9717 modules/ts/include/opencv2/ts/ts_gtest.h PrintStringTo(s, os); s 9722 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ void PrintWideStringTo(const ::wstring&s, ::std::ostream* os); s 9723 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(const ::wstring& s, ::std::ostream* os) { s 9724 modules/ts/include/opencv2/ts/ts_gtest.h PrintWideStringTo(s, os); s 9729 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ void PrintWideStringTo(const ::std::wstring&s, ::std::ostream* os); s 9730 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(const ::std::wstring& s, ::std::ostream* os) { s 9731 modules/ts/include/opencv2/ts/ts_gtest.h PrintWideStringTo(s, os); s 457 modules/ts/include/opencv2/ts/ts_perf.hpp _declareHelper& strategy(enum PERF_STRATEGY s); s 613 modules/ts/src/ts.cpp Scalar s; s 625 modules/ts/src/ts.cpp for(i=0; i<ch; i++) s[i] = p[i]; s 626 modules/ts/src/ts.cpp s = s * k1 + color * k2; s 627 modules/ts/src/ts.cpp for(i=0; i<ch; i++) p[i] = uchar(s[i]); s 632 modules/ts/src/ts.cpp for(i=0; i<ch; i++) s[i] = p[i]; s 633 modules/ts/src/ts.cpp s = s * k1 + color * k2; s 634 modules/ts/src/ts.cpp for(i=0; i<ch; i++) p[i] = uchar(s[i]); s 644 modules/ts/src/ts.cpp for(i=0; i<ch; i++) s[i] = p[i]; s 645 modules/ts/src/ts.cpp s = s * k1 + color * k2; s 646 modules/ts/src/ts.cpp for(i=0; i<ch; i++) p[i] = uchar(s[i]); s 652 modules/ts/src/ts.cpp for(i=0; i<ch; i++) s[i] = p[i]; s 653 modules/ts/src/ts.cpp s = s * k1 + color * k2; s 654 modules/ts/src/ts.cpp for(i=0; i<ch; i++) p[i] = uchar(s[i]); s 542 modules/ts/src/ts_func.cpp double s = scale.val[k] - delta.val[k]; s 543 modules/ts/src/ts_func.cpp if( s >= 0 ) s 544 modules/ts/src/ts_func.cpp scale.val[k] = s; s 548 modules/ts/src/ts_func.cpp scale.val[k] = -s; s 768 modules/ts/src/ts_func.cpp double s = 0; s 770 modules/ts/src/ts_func.cpp s += sptr[x + ofs[i]]*coeff[i]; s 771 modules/ts/src/ts_func.cpp dptr[x] = s; s 1538 modules/ts/src/ts_func.cpp void logicOp(const Mat& src, const Scalar& s, Mat& dst, char op) s 1549 modules/ts/src/ts_func.cpp scalarToRawData(s, buf, src.type(), (int)(96/planes[0].elemSize1())); s 2171 modules/ts/src/ts_func.cpp double s = 0; s 2174 modules/ts/src/ts_func.cpp s += ((double)a_data[0])*b_data[0]; s 2178 modules/ts/src/ts_func.cpp d_data[j] = (_Tp)(s*alpha + (c_data ? c_data[0]*beta : 0)); s 2279 modules/ts/src/ts_func.cpp double s = mat[j*(scn + 1) + scn]; s 2281 modules/ts/src/ts_func.cpp s += mat[j*(scn + 1) + k]*sptr[k]; s 2282 modules/ts/src/ts_func.cpp dptr[j] = saturate_cast<_Tp>(s); s 9364 modules/ts/src/ts_gtest.cpp void PrintTo(const char* s, ostream* os) { s 9365 modules/ts/src/ts_gtest.cpp if (s == NULL) { s 9368 modules/ts/src/ts_gtest.cpp *os << ImplicitCast_<const void*>(s) << " pointing to "; s 9369 modules/ts/src/ts_gtest.cpp PrintCharsAsStringTo(s, strlen(s), os); s 9381 modules/ts/src/ts_gtest.cpp void PrintTo(const wchar_t* s, ostream* os) { s 9382 modules/ts/src/ts_gtest.cpp if (s == NULL) { s 9385 modules/ts/src/ts_gtest.cpp *os << ImplicitCast_<const void*>(s) << " pointing to "; s 9386 modules/ts/src/ts_gtest.cpp PrintCharsAsStringTo(s, wcslen(s), os); s 9393 modules/ts/src/ts_gtest.cpp void PrintStringTo(const ::string& s, ostream* os) { s 9394 modules/ts/src/ts_gtest.cpp PrintCharsAsStringTo(s.data(), s.size(), os); s 9398 modules/ts/src/ts_gtest.cpp void PrintStringTo(const ::std::string& s, ostream* os) { s 9399 modules/ts/src/ts_gtest.cpp PrintCharsAsStringTo(s.data(), s.size(), os); s 9404 modules/ts/src/ts_gtest.cpp void PrintWideStringTo(const ::wstring& s, ostream* os) { s 9405 modules/ts/src/ts_gtest.cpp PrintCharsAsStringTo(s.data(), s.size(), os); s 9410 modules/ts/src/ts_gtest.cpp void PrintWideStringTo(const ::std::wstring& s, ostream* os) { s 9411 modules/ts/src/ts_gtest.cpp PrintCharsAsStringTo(s.data(), s.size(), os); s 960 modules/ts/src/ts_perf.cpp double s = 0; s 962 modules/ts/src/ts_perf.cpp s+=a.dot(b); s 963 modules/ts/src/ts_perf.cpp declare.time(s); s 1818 modules/ts/src/ts_perf.cpp TestBase::_declareHelper& TestBase::_declareHelper::strategy(enum PERF_STRATEGY s) s 1820 modules/ts/src/ts_perf.cpp test->testStrategy = s; s 66 modules/video/src/optflowgf.cpp double s = 0.; s 70 modules/video/src/optflowgf.cpp s += g[x]; s 73 modules/video/src/optflowgf.cpp s = 1./s; s 76 modules/video/src/optflowgf.cpp g[x] = (float)(g[x]*s); s 415 modules/video/src/optflowgf.cpp double sigma = m*0.3, s = 1; s 423 modules/video/src/optflowgf.cpp kernel[0] = (float)s; s 429 modules/video/src/optflowgf.cpp s += t*2; s 432 modules/video/src/optflowgf.cpp s = 1./s; s 434 modules/video/src/optflowgf.cpp kernel[i] = (float)(kernel[i]*s); s 444 modules/video/src/tvl1flow.cpp for (int s = 1; s < nscales; ++s) s 446 modules/video/src/tvl1flow.cpp resize(dm.I0s[s - 1], dm.I0s[s], Size(), scaleStep, scaleStep); s 447 modules/video/src/tvl1flow.cpp resize(dm.I1s[s - 1], dm.I1s[s], Size(), scaleStep, scaleStep); s 449 modules/video/src/tvl1flow.cpp if (dm.I0s[s].cols < 16 || dm.I0s[s].rows < 16) s 451 modules/video/src/tvl1flow.cpp nscales = s; s 457 modules/video/src/tvl1flow.cpp resize(dm.u1s[s - 1], dm.u1s[s], Size(), scaleStep, scaleStep); s 458 modules/video/src/tvl1flow.cpp resize(dm.u2s[s - 1], dm.u2s[s], Size(), scaleStep, scaleStep); s 460 modules/video/src/tvl1flow.cpp multiply(dm.u1s[s], Scalar::all(scaleStep), dm.u1s[s]); s 461 modules/video/src/tvl1flow.cpp multiply(dm.u2s[s], Scalar::all(scaleStep), dm.u2s[s]); s 465 modules/video/src/tvl1flow.cpp dm.u1s[s].create(dm.I0s[s].size()); s 466 modules/video/src/tvl1flow.cpp dm.u2s[s].create(dm.I0s[s].size()); s 468 modules/video/src/tvl1flow.cpp if (use_gamma) dm.u3s[s].create(dm.I0s[s].size()); s 477 modules/video/src/tvl1flow.cpp for (int s = nscales - 1; s >= 0; --s) s 480 modules/video/src/tvl1flow.cpp procOneScale(dm.I0s[s], dm.I1s[s], dm.u1s[s], dm.u2s[s], dm.u3s[s]); s 483 modules/video/src/tvl1flow.cpp if (s == 0) s 489 modules/video/src/tvl1flow.cpp resize(dm.u1s[s], dm.u1s[s - 1], dm.I0s[s - 1].size()); s 490 modules/video/src/tvl1flow.cpp resize(dm.u2s[s], dm.u2s[s - 1], dm.I0s[s - 1].size()); s 491 modules/video/src/tvl1flow.cpp if (use_gamma) resize(dm.u3s[s], dm.u3s[s - 1], dm.I0s[s - 1].size()); s 494 modules/video/src/tvl1flow.cpp multiply(dm.u1s[s - 1], Scalar::all(1 / scaleStep), dm.u1s[s - 1]); s 495 modules/video/src/tvl1flow.cpp multiply(dm.u2s[s - 1], Scalar::all(1 / scaleStep), dm.u2s[s - 1]); s 553 modules/video/src/tvl1flow.cpp for (int s = 1; s < nscales; ++s) s 555 modules/video/src/tvl1flow.cpp resize(dum.I0s[s - 1], dum.I0s[s], Size(), scaleStep, scaleStep); s 556 modules/video/src/tvl1flow.cpp resize(dum.I1s[s - 1], dum.I1s[s], Size(), scaleStep, scaleStep); s 558 modules/video/src/tvl1flow.cpp if (dum.I0s[s].cols < 16 || dum.I0s[s].rows < 16) s 560 modules/video/src/tvl1flow.cpp nscales = s; s 566 modules/video/src/tvl1flow.cpp resize(dum.u1s[s - 1], dum.u1s[s], Size(), scaleStep, scaleStep); s 567 modules/video/src/tvl1flow.cpp resize(dum.u2s[s - 1], dum.u2s[s], Size(), scaleStep, scaleStep); s 570 modules/video/src/tvl1flow.cpp multiply(dum.u1s[s], Scalar::all(scaleStep), dum.u1s[s]); s 571 modules/video/src/tvl1flow.cpp multiply(dum.u2s[s], Scalar::all(scaleStep), dum.u2s[s]); s 576 modules/video/src/tvl1flow.cpp for (int s = nscales - 1; s >= 0; --s) s 579 modules/video/src/tvl1flow.cpp if (!OpticalFlowDual_TVL1::procOneScale_ocl(dum.I0s[s], dum.I1s[s], dum.u1s[s], dum.u2s[s])) s 583 modules/video/src/tvl1flow.cpp if (s == 0) s 587 modules/video/src/tvl1flow.cpp resize(dum.u1s[s], dum.u1s[s - 1], dum.I0s[s - 1].size()); s 588 modules/video/src/tvl1flow.cpp resize(dum.u2s[s], dum.u2s[s - 1], dum.I0s[s - 1].size()); s 591 modules/video/src/tvl1flow.cpp multiply(dum.u1s[s - 1], Scalar::all(1 / scaleStep), dum.u1s[s - 1]); s 592 modules/video/src/tvl1flow.cpp multiply(dum.u2s[s - 1], Scalar::all(1 / scaleStep), dum.u2s[s - 1]); s 1069 modules/videoio/src/cap_gphoto2.cpp float f, t, b, s; s 1070 modules/videoio/src/cap_gphoto2.cpp CR(gp_widget_get_range(widget, &b, &t, &s)); s 1072 modules/videoio/src/cap_gphoto2.cpp os << "(" << b << ":" << t << ":" << s << "):" << f << separator; s 494 modules/videoio/src/cap_gstreamer.cpp GstStructure *s = gst_caps_get_structure(caps, 0); s 495 modules/videoio/src/cap_gstreamer.cpp gst_structure_remove_field(s, filter); s 260 modules/videoio/src/cap_images.cpp struct stat s; s 261 modules/videoio/src/cap_images.cpp if(stat(str, &s)) s 1647 modules/videoio/src/cap_v4l.cpp unsigned char *s; s 1653 modules/videoio/src/cap_v4l.cpp s = src; s 1658 modules/videoio/src/cap_v4l.cpp y1 = *s++; s 1659 modules/videoio/src/cap_v4l.cpp cb = ((*s - 128) * 454) >> 8; s 1660 modules/videoio/src/cap_v4l.cpp cg = (*s++ - 128) * 88; s 1661 modules/videoio/src/cap_v4l.cpp y2 = *s++; s 1662 modules/videoio/src/cap_v4l.cpp cr = ((*s - 128) * 359) >> 8; s 1663 modules/videoio/src/cap_v4l.cpp cg = (cg + (*s++ - 128) * 183) >> 8; s 1693 modules/videoio/src/cap_v4l.cpp unsigned char *s; s 1699 modules/videoio/src/cap_v4l.cpp s = src; s 1704 modules/videoio/src/cap_v4l.cpp cb = ((*s - 128) * 454) >> 8; s 1705 modules/videoio/src/cap_v4l.cpp cg = (*s++ - 128) * 88; s 1706 modules/videoio/src/cap_v4l.cpp y1 = *s++; s 1707 modules/videoio/src/cap_v4l.cpp cr = ((*s - 128) * 359) >> 8; s 1708 modules/videoio/src/cap_v4l.cpp cg = (cg + (*s++ - 128) * 183) >> 8; s 1709 modules/videoio/src/cap_v4l.cpp y2 = *s++; s 108 modules/videoio/test/test_ffmpeg.cpp string s = cv::format("%08x%s", tag, ext); s 110 modules/videoio/test/test_ffmpeg.cpp const string filename = tempfile(s.c_str()); s 348 modules/videoio/test/test_video_io.cpp stringstream s; s << i; s 349 modules/videoio/test/test_video_io.cpp string file_path = dir+"../python/images/QCIF_0"+s.str()+".bmp"; s 62 modules/videostab/src/fast_marching.cpp float s = (t1 + t2 - r) / 2; s 64 modules/videostab/src/fast_marching.cpp if (s >= t1 && s >= t2) s 65 modules/videostab/src/fast_marching.cpp sol = s; s 68 modules/videostab/src/fast_marching.cpp s += r; s 69 modules/videostab/src/fast_marching.cpp if (s >= t1 && s >= t2) s 70 modules/videostab/src/fast_marching.cpp sol = s; s 105 modules/videostab/src/global_motion.cpp float s = std::sqrt(2.f) / d; s 108 modules/videostab/src/global_motion.cpp points[i].x *= s; s 109 modules/videostab/src/global_motion.cpp points[i].y *= s; s 113 modules/videostab/src/global_motion.cpp T(0,0) = T(1,1) = s; s 114 modules/videostab/src/global_motion.cpp T(0,2) = -cx*s; s 115 modules/videostab/src/global_motion.cpp T(1,2) = -cy*s; s 73 platforms/android/service/engine/src/org/opencv/engine/HardwareDetector.java Scanner s = new Scanner( s 75 platforms/android/service/engine/src/org/opencv/engine/HardwareDetector.java if (s.hasNextLine()) { s 76 platforms/android/service/engine/src/org/opencv/engine/HardwareDetector.java String line = s.nextLine(); s 101 platforms/android/service/engine/src/org/opencv/engine/HardwareDetector.java Scanner s = new Scanner(new File("/proc/cpuinfo")); s 102 platforms/android/service/engine/src/org/opencv/engine/HardwareDetector.java while (s.hasNextLine()) { s 103 platforms/android/service/engine/src/org/opencv/engine/HardwareDetector.java String line = s.nextLine(); s 67 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java Size s = Imgproc.getTextSize(Integer.toString(i + 1), 3/* CV_FONT_HERSHEY_COMPLEX */, 1, 2, null); s 68 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java mTextHeights[i] = (int) s.height; s 69 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java mTextWidths[i] = (int) s.width; s 196 samples/cpp/3calibration.cpp const char* s = argv[i]; s 197 samples/cpp/3calibration.cpp if( strcmp( s, "-w" ) == 0 ) s 202 samples/cpp/3calibration.cpp else if( strcmp( s, "-h" ) == 0 ) s 207 samples/cpp/3calibration.cpp else if( strcmp( s, "-s" ) == 0 ) s 212 samples/cpp/3calibration.cpp else if( strcmp( s, "-a" ) == 0 ) s 218 samples/cpp/3calibration.cpp else if( strcmp( s, "-zt" ) == 0 ) s 222 samples/cpp/3calibration.cpp else if( strcmp( s, "-p" ) == 0 ) s 226 samples/cpp/3calibration.cpp else if( strcmp( s, "-o" ) == 0 ) s 230 samples/cpp/3calibration.cpp else if( s[0] != '-' ) s 232 samples/cpp/3calibration.cpp inputFilename = s; s 235 samples/cpp/3calibration.cpp return fprintf( stderr, "Unknown option %s", s ), -1; s 329 samples/cpp/calibration.cpp const char* s = argv[i]; s 330 samples/cpp/calibration.cpp if( strcmp( s, "-w" ) == 0 ) s 335 samples/cpp/calibration.cpp else if( strcmp( s, "-h" ) == 0 ) s 340 samples/cpp/calibration.cpp else if( strcmp( s, "-pt" ) == 0 ) s 352 samples/cpp/calibration.cpp else if( strcmp( s, "-s" ) == 0 ) s 357 samples/cpp/calibration.cpp else if( strcmp( s, "-n" ) == 0 ) s 362 samples/cpp/calibration.cpp else if( strcmp( s, "-a" ) == 0 ) s 368 samples/cpp/calibration.cpp else if( strcmp( s, "-d" ) == 0 ) s 373 samples/cpp/calibration.cpp else if( strcmp( s, "-op" ) == 0 ) s 377 samples/cpp/calibration.cpp else if( strcmp( s, "-oe" ) == 0 ) s 381 samples/cpp/calibration.cpp else if( strcmp( s, "-zt" ) == 0 ) s 385 samples/cpp/calibration.cpp else if( strcmp( s, "-p" ) == 0 ) s 389 samples/cpp/calibration.cpp else if( strcmp( s, "-v" ) == 0 ) s 393 samples/cpp/calibration.cpp else if( strcmp( s, "-V" ) == 0 ) s 397 samples/cpp/calibration.cpp else if( strcmp( s, "-o" ) == 0 ) s 401 samples/cpp/calibration.cpp else if( strcmp( s, "-su" ) == 0 ) s 405 samples/cpp/calibration.cpp else if( s[0] != '-' ) s 407 samples/cpp/calibration.cpp if( isdigit(s[0]) ) s 408 samples/cpp/calibration.cpp sscanf(s, "%d", &cameraId); s 410 samples/cpp/calibration.cpp inputFilename = s; s 413 samples/cpp/calibration.cpp return fprintf( stderr, "Unknown option %s", s ), -1; s 21 samples/cpp/detect_blob.cpp String s = ""; s 26 samples/cpp/detect_blob.cpp s = " Area range [" + inf + " to " + sup + "]"; s 32 samples/cpp/detect_blob.cpp if (s.length() == 0) s 33 samples/cpp/detect_blob.cpp s = " Circularity range [" + inf + " to " + sup + "]"; s 35 samples/cpp/detect_blob.cpp s += " AND Circularity range [" + inf + " to " + sup + "]"; s 40 samples/cpp/detect_blob.cpp if (s.length() == 0) s 41 samples/cpp/detect_blob.cpp s = " Blob color " + inf; s 43 samples/cpp/detect_blob.cpp s += " AND Blob color " + inf; s 49 samples/cpp/detect_blob.cpp if (s.length() == 0) s 50 samples/cpp/detect_blob.cpp s = " Convexity range[" + inf + " to " + sup + "]"; s 52 samples/cpp/detect_blob.cpp s += " AND Convexity range[" + inf + " to " + sup + "]"; s 58 samples/cpp/detect_blob.cpp if (s.length() == 0) s 59 samples/cpp/detect_blob.cpp s = " Inertia ratio range [" + inf + " to " + sup + "]"; s 61 samples/cpp/detect_blob.cpp s += " AND Inertia ratio range [" + inf + " to " + sup + "]"; s 63 samples/cpp/detect_blob.cpp return s; s 75 samples/cpp/detect_mser.cpp String s=""; s 78 samples/cpp/detect_mser.cpp s = " Area[" + inf + "," + sup + "]"; s 81 samples/cpp/detect_mser.cpp s += " del. [" + inf + "]"; s 83 samples/cpp/detect_mser.cpp s += " var. [" + inf + "]"; s 85 samples/cpp/detect_mser.cpp s += " div. [" + inf + "]"; s 87 samples/cpp/detect_mser.cpp s += " pas. [" + inf + "]"; s 89 samples/cpp/detect_mser.cpp s += "RGb-> evo. [" + inf + "]"; s 91 samples/cpp/detect_mser.cpp s += " are. [" + inf + "]"; s 93 samples/cpp/detect_mser.cpp s += " mar. [" + inf + "]"; s 95 samples/cpp/detect_mser.cpp s += " siz. [" + inf + "]"; s 96 samples/cpp/detect_mser.cpp return s; s 314 samples/cpp/letter_recog.cpp float s = model->predict( temp_sample, noArray(), StatModel::RAW_OUTPUT ); s 315 samples/cpp/letter_recog.cpp if( max_sum < s ) s 317 samples/cpp/letter_recog.cpp max_sum = s; s 143 samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video-input-psnr-ssim.cpp Scalar s = sum(s1); // sum elements per channel s 145 samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video-input-psnr-ssim.cpp double sse = s.val[0] + s.val[1] + s.val[2]; // sum channels s 214 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp static inline void write(FileStorage& fs, const String&, const Settings& s ) s 216 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp s.write(fs); s 221 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp bool runCalibrationAndSave(Settings& s, Size imageSize, Mat& cameraMatrix, Mat& distCoeffs, s 229 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp Settings s; s 237 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp fs["Settings"] >> s; s 244 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if (!s.goodInput) s 253 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp int mode = s.inputType == Settings::IMAGE_LIST ? CAPTURING : DETECTION; s 264 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp view = s.nextImage(); s 267 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if( mode == CAPTURING && imagePoints.size() >= (size_t)s.nrFrames ) s 269 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if( runCalibrationAndSave(s, imageSize, cameraMatrix, distCoeffs, imagePoints)) s 278 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp runCalibrationAndSave(s, imageSize, cameraMatrix, distCoeffs, imagePoints); s 284 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if( s.flipVertical ) flip( view, view, 0 ); s 290 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp switch( s.calibrationPattern ) // Find feature points on the input format s 293 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp found = findChessboardCorners( view, s.boardSize, pointBuf, s 297 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp found = findCirclesGrid( view, s.boardSize, pointBuf ); s 300 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp found = findCirclesGrid( view, s.boardSize, pointBuf, CALIB_CB_ASYMMETRIC_GRID ); s 311 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if( s.calibrationPattern == Settings::CHESSBOARD) s 320 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp (!s.inputCapture.isOpened() || clock() - prevTimestamp > s.delay*1e-3*CLOCKS_PER_SEC) ) s 324 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp blinkOutput = s.inputCapture.isOpened(); s 328 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp drawChessboardCorners( view, s.boardSize, Mat(pointBuf), found ); s 341 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if(s.showUndistorsed) s 342 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp msg = format( "%d/%d Undist", (int)imagePoints.size(), s.nrFrames ); s 344 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp msg = format( "%d/%d", (int)imagePoints.size(), s.nrFrames ); s 354 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if( mode == CALIBRATED && s.showUndistorsed ) s 363 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp char key = (char)waitKey(s.inputCapture.isOpened() ? 50 : s.delay); s 369 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp s.showUndistorsed = !s.showUndistorsed; s 371 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if( s.inputCapture.isOpened() && key == 'g' ) s 381 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if( s.inputType == Settings::IMAGE_LIST && s.showUndistorsed ) s 388 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp for(size_t i = 0; i < s.imageList.size(); i++ ) s 390 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp view = imread(s.imageList[i], 1); s 456 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp static bool runCalibration( Settings& s, Size& imageSize, Mat& cameraMatrix, Mat& distCoeffs, s 462 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if( s.flag & CALIB_FIX_ASPECT_RATIO ) s 463 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp cameraMatrix.at<double>(0,0) = s.aspectRatio; s 468 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp calcBoardCornerPositions(s.boardSize, s.squareSize, objectPoints[0], s.calibrationPattern); s 474 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp distCoeffs, rvecs, tvecs, s.flag|CALIB_FIX_K4|CALIB_FIX_K5); s 487 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp static void saveCameraParams( Settings& s, Size& imageSize, Mat& cameraMatrix, Mat& distCoeffs, s 492 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp FileStorage fs( s.outputFileName, FileStorage::WRITE ); s 506 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp fs << "board_width" << s.boardSize.width; s 507 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp fs << "board_height" << s.boardSize.height; s 508 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp fs << "square_size" << s.squareSize; s 510 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if( s.flag & CALIB_FIX_ASPECT_RATIO ) s 511 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp fs << "fix_aspect_ratio" << s.aspectRatio; s 513 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if (s.flag) s 516 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp s.flag & CALIB_USE_INTRINSIC_GUESS ? " +use_intrinsic_guess" : "", s 517 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp s.flag & CALIB_FIX_ASPECT_RATIO ? " +fix_aspect_ratio" : "", s 518 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp s.flag & CALIB_FIX_PRINCIPAL_POINT ? " +fix_principal_point" : "", s 519 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp s.flag & CALIB_ZERO_TANGENT_DIST ? " +zero_tangent_dist" : ""); s 523 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp fs << "flags" << s.flag; s 529 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if (s.writeExtrinsics && !reprojErrs.empty()) s 532 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if(s.writeExtrinsics && !rvecs.empty() && !tvecs.empty() ) s 551 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp if(s.writePoints && !imagePoints.empty() ) s 565 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp bool runCalibrationAndSave(Settings& s, Size imageSize, Mat& cameraMatrix, Mat& distCoeffs, s 572 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp bool ok = runCalibration(s, imageSize, cameraMatrix, distCoeffs, imagePoints, rvecs, tvecs, reprojErrs, s 578 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp saveCameraParams(s, imageSize, cameraMatrix, distCoeffs, rvecs, tvecs, reprojErrs, imagePoints, s 52 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp stringstream s; s 53 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp s << argv[2]; s 54 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp s >> divideWith; s 55 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp if (!s || !divideWith) s 180 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar s = sum(s1); // sum elements per channel s 182 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp double sse = s.val[0] + s.val[1] + s.val[2]; // sum channels s 234 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar s = cuda::sum(gs); s 235 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp double sse = s.val[0] + s.val[1] + s.val[2]; s 366 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar s = cuda::sum(ssim_map); s 367 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp mssim.val[i] = s.val[0] / (ssim_map.rows * ssim_map.cols); s 439 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp Scalar s = cuda::sum(b.ssim_map, b.buf); s 440 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp mssim.val[i] = s.val[0] / (b.ssim_map.rows * b.ssim_map.cols); s 114 samples/gpu/farneback_optical_flow.cpp stringstream s; s 115 samples/gpu/farneback_optical_flow.cpp s << "mode: " << (gpuMode?"GPU":"CPU"); s 116 samples/gpu/farneback_optical_flow.cpp putText(image, s.str(), Point(5, 25), FONT_HERSHEY_SIMPLEX, 1., Scalar(255,0,255), 2); s 118 samples/gpu/farneback_optical_flow.cpp s.str(""); s 119 samples/gpu/farneback_optical_flow.cpp s << "opt. flow FPS: " << cvRound((getTickFrequency()/(tc1-tc0))); s 120 samples/gpu/farneback_optical_flow.cpp putText(image, s.str(), Point(5, 65), FONT_HERSHEY_SIMPLEX, 1., Scalar(255,0,255), 2); s 122 samples/gpu/farneback_optical_flow.cpp s.str(""); s 123 samples/gpu/farneback_optical_flow.cpp s << "total FPS: " << cvRound((getTickFrequency()/(t1-t0))); s 124 samples/gpu/farneback_optical_flow.cpp putText(image, s.str(), Point(5, 105), FONT_HERSHEY_SIMPLEX, 1., Scalar(255,0,255), 2); s 55 samples/gpu/hog.cpp App(const Args& s); s 204 samples/gpu/hog.cpp App::App(const Args& s) s 208 samples/gpu/hog.cpp args = s; s 306 samples/winrt/ImageManipulations/AdvancedCapture.xaml.cpp String^ s = props->Type; s 151 samples/winrt/ImageManipulations/MainPage.xaml.cpp Scenario s = scenarios[i]; s 153 samples/winrt/ImageManipulations/MainPage.xaml.cpp item->Name = s.ClassName; s 154 samples/winrt/ImageManipulations/MainPage.xaml.cpp item->Content = (i + 1).ToString() + ") " + s.Title;