OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:CV_DESCALE
(Results
1 - 5
of
5
) sorted by null
/external/opencv/cxcore/include/
cxmisc.h
253
#define
CV_DESCALE
(x,n) (((x) + (1 << ((n)-1))) >> (n))
[
all
...]
/external/opencv3/modules/core/include/opencv2/core/cuda/detail/
color_detail.hpp
56
#ifndef
CV_DESCALE
57
#define
CV_DESCALE
(x, n) (((x) + (1 << ((n)-1))) >> (n))
409
return (uchar)
CV_DESCALE
(((t << 3) & 0xf8) * B2Y + ((t >> 3) & 0xfc) * G2Y + ((t >> 8) & 0xf8) * R2Y, yuv_shift);
417
return (uchar)
CV_DESCALE
(((t << 3) & 0xf8) * B2Y + ((t >> 2) & 0xf8) * G2Y + ((t >> 7) & 0xf8) * R2Y, yuv_shift);
446
return (T)
CV_DESCALE
((unsigned)(src[bidx] * B2Y + src[1] * G2Y + src[bidx^2] * R2Y), yuv_shift);
454
return
CV_DESCALE
((uint)(b * B2Y + g * G2Y + r * R2Y), yuv_shift);
504
const int Y =
CV_DESCALE
(src[0] * c_RGB2YUVCoeffs_i[bidx^2] + src[1] * c_RGB2YUVCoeffs_i[1] + src[2] * c_RGB2YUVCoeffs_i[bidx], yuv_shift);
505
const int Cr =
CV_DESCALE
((src[bidx^2] - Y) * c_RGB2YUVCoeffs_i[3] + delta, yuv_shift);
506
const int Cb =
CV_DESCALE
((src[bidx] - Y) * c_RGB2YUVCoeffs_i[4] + delta, yuv_shift);
551
const int b = src.x +
CV_DESCALE
((src.z - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[3], yuv_shift)
[
all
...]
/external/opencv3/modules/imgproc/src/
demosaicing.cpp
48
#define
CV_DESCALE
(x,n) (((x) + (1 << ((n)-1))) >> (n))
559
dst[0] = (T)
CV_DESCALE
(t0 + t1 + t2, SHIFT+1);
573
dst[0] = (T)
CV_DESCALE
(t0 + t1 + t2, SHIFT+2);
578
dst[1] = (T)
CV_DESCALE
(t0 + t1 + t2, SHIFT+1);
586
dst[0] = (T)
CV_DESCALE
(t0 + t1 + t2, SHIFT+2);
[
all
...]
color.cpp
97
#define
CV_DESCALE
(x,n) (((x) + (1 << ((n)-1))) >> (n))
[
all
...]
/external/opencv3/modules/video/src/
lkpyramid.cpp
48
#define
CV_DESCALE
(x,n) (((x) + (1 << ((n)-1))) >> (n))
449
int ival =
CV_DESCALE
(src[x]*iw00 + src[x+cn]*iw01 +
451
int ixval =
CV_DESCALE
(dsrc[0]*iw00 + dsrc[cn2]*iw01 +
453
int iyval =
CV_DESCALE
(dsrc[1]*iw00 + dsrc[cn2+1]*iw01 + dsrc[dstep+1]*iw10 +
659
int diff =
CV_DESCALE
(Jptr[x]*iw00 + Jptr[x+cn]*iw01 +
733
int diff =
CV_DESCALE
(Jptr[x]*iw00 + Jptr[x+cn]*iw01 +
[
all
...]
Completed in 1501 milliseconds