/external/libvncserver/libvncserver/ |
zrlepalettehelper.c | 25 #define ZRLE_HASH(pix) (((pix) ^ ((pix) >> 17)) & 4095) 35 void zrlePaletteHelperInsert(zrlePaletteHelper *helper, zrle_U32 pix) 38 int i = ZRLE_HASH(pix); 40 while (helper->index[i] != 255 && helper->key[i] != pix) 45 helper->key[i] = pix; 46 helper->palette[helper->size] = pix; 51 int zrlePaletteHelperLookup(zrlePaletteHelper *helper, zrle_U32 pix) 53 int i = ZRLE_HASH(pix); [all...] |
zrlepalettehelper.h | 42 zrle_U32 pix); 44 zrle_U32 pix);
|
zrleencodetemplate.c | 149 PIXEL_T pix = *ptr; local 150 if (*++ptr != pix) { 153 while (*++ptr == pix) ; 156 zrlePaletteHelperInsert(ph, pix); 223 PIXEL_T pix; local 227 pix = *ptr++; 228 while (*ptr == pix && ptr < end) 232 int index = zrlePaletteHelperLookup(ph, pix); 239 int index = zrlePaletteHelperLookup(ph, pix); 242 zrleOutStreamWRITE_PIXEL(os, pix); 273 PIXEL_T pix = *ptr++; local [all...] |
/external/opencv3/modules/cudacodec/src/cuda/ |
rgb_to_yv12.cu | 85 uchar pix; 88 pix = src(y, x); 89 rgb_to_y(pix, pix, pix, y_val); 92 pix = src(y, x + 1); 93 rgb_to_y(pix, pix, pix, y_val); 96 pix = src(y + 1, x) [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
ValPixConverter.java | 36 float pix = (float)(raw * scale);
local 39 pix = (lengthPix - pix);
41 return pix;
56 * @param pix
64 public static double pixToVal(float pix, double min, double max, float lengthPix, boolean flip) {
65 if(pix < ZERO) {
72 float pMult = pix;
74 pMult = lengthPix - pix;
|
/external/libvncserver/libvncclient/ |
rre.c | 37 CARDBPP pix; local 45 if (!ReadFromRFBServer(client, (char *)&pix, sizeof(pix))) 48 FillRectangle(client, rx, ry, rw, rh, pix); 51 if (!ReadFromRFBServer(client, (char *)&pix, sizeof(pix))) 62 FillRectangle(client, rx+subrect.x, ry+subrect.y, subrect.w, subrect.h, pix);
|
corre.c | 37 CARDBPP pix; local 46 if (!ReadFromRFBServer(client, (char *)&pix, sizeof(pix))) 49 FillRectangle(client, rx, ry, rw, rh, pix); 57 pix = *(CARDBPP *)ptr; 64 FillRectangle(client, rx+x, ry+y, w, h, pix);
|
/external/freetype/src/base/ |
ftlcdfil.c | 53 /* `fir' and `pix' must be at least 32 bit wide, since the sum of */ 58 FT_UInt fir[4]; /* below, `pix' is used as the 5th element */ 76 FT_UInt val, pix; local 80 pix = fir[0] + weights[0] * val; 86 pix >>= 8; 87 pix |= (FT_UInt)-(FT_Int)( pix >> 8 ); 88 line[xx - 2] = (FT_Byte)pix; 92 FT_UInt pix; local 95 pix = fir[0] >> 8 140 FT_UInt val, pix; local 157 FT_UInt pix; local [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/base/ |
ftlcdfil.c | 53 /* `fir' and `pix' must be at least 32 bit wide, since the sum of */ 58 FT_UInt fir[4]; /* below, `pix' is used as the 5th element */ 76 FT_UInt val, pix; local 80 pix = fir[0] + weights[0] * val; 86 pix >>= 8; 87 pix |= (FT_UInt)-(FT_Int)( pix >> 8 ); 88 line[xx - 2] = (FT_Byte)pix; 92 FT_UInt pix; local 95 pix = fir[0] >> 8 140 FT_UInt val, pix; local 157 FT_UInt pix; local [all...] |
/external/pdfium/third_party/freetype/src/base/ |
ftlcdfil.c | 53 /* `fir' and `pix' must be at least 32 bit wide, since the sum of */ 58 FT_UInt fir[4]; /* below, `pix' is used as the 5th element */ 76 FT_UInt val, pix; local 80 pix = fir[0] + weights[0] * val; 86 pix >>= 8; 87 pix |= (FT_UInt)-(FT_Int)( pix >> 8 ); 88 line[xx - 2] = (FT_Byte)pix; 92 FT_UInt pix; local 95 pix = fir[0] >> 8 140 FT_UInt val, pix; local 157 FT_UInt pix; local [all...] |
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
row.h | 579 void ARGBToYRow_AVX2(const uint8* src_argb, uint8* dst_y, int pix); 580 void ARGBToYRow_Any_AVX2(const uint8* src_argb, uint8* dst_y, int pix); 581 void ARGBToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix); 582 void ARGBToYJRow_AVX2(const uint8* src_argb, uint8* dst_y, int pix); 583 void ARGBToYJRow_Any_AVX2(const uint8* src_argb, uint8* dst_y, int pix); 584 void ARGBToYJRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix); 585 void BGRAToYRow_SSSE3(const uint8* src_bgra, uint8* dst_y, int pix); 586 void ABGRToYRow_SSSE3(const uint8* src_abgr, uint8* dst_y, int pix); 587 void RGBAToYRow_SSSE3(const uint8* src_rgba, uint8* dst_y, int pix); 588 void RGB24ToYRow_SSSE3(const uint8* src_rgb24, uint8* dst_y, int pix); [all...] |
/external/libvpx/libvpx/third_party/libyuv/source/ |
row_neon.cc | [all...] |
row_neon64.cc | [all...] |
row_gcc.cc | 145 void TestRow_SSE2(const uint8* src_y, uint8* dst_argb, int pix) { 232 "+r"(pix) // %2 240 void J400ToARGBRow_SSE2(const uint8* src_y, uint8* dst_argb, int pix) { 261 "+r"(pix) // %2 268 void RGB24ToARGBRow_SSSE3(const uint8* src_rgb24, uint8* dst_argb, int pix) { 300 "+r"(pix) // %2 306 void RAWToARGBRow_SSSE3(const uint8* src_raw, uint8* dst_argb, int pix) { 338 "+r"(pix) // %2 344 void RGB565ToARGBRow_SSE2(const uint8* src, uint8* dst, int pix) { 385 "+r"(pix) // % [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libyuv/source/ |
row.h | 81 void ARGBToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix); 82 void BGRAToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix); 83 void ABGRToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix); 95 void RGB24ToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix); 96 void RAWToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix); 110 void ARGBToYRow_C(const uint8* src_argb, uint8* dst_y, int pix); 111 void BGRAToYRow_C(const uint8* src_argb, uint8* dst_y, int pix); 112 void ABGRToYRow_C(const uint8* src_argb, uint8* dst_y, int pix); 113 void RGB24ToYRow_C(const uint8* src_argb, uint8* dst_y, int pix); 114 void RAWToYRow_C(const uint8* src_argb, uint8* dst_y, int pix); [all...] |
/external/mesa3d/src/glx/apple/ |
apple_cgl.h | 47 CGLPixelFormatObj * pix, GLint * npix); 48 CGLError(*destroy_pixel_format) (CGLPixelFormatObj pix); 53 CGLError(*create_context) (CGLPixelFormatObj pix, CGLContextObj share, 55 CGLError(*destroy_context) (CGLContextObj pix);
|
/external/opencv/otherlibs/highgui/ |
grfmt_jpeg2000.cpp | 287 int pix = pix_row[x]; local 288 dst[x*ncmpts] = CV_CAST_8U(pix); 293 int pix = ((pix_row[x] + delta) >> rshift) << lshift; local 294 dst[x*ncmpts] = CV_CAST_8U(pix); 300 int pix = ((pix_row[j] + delta) >> rshift) << lshift; local 301 dst[x*ncmpts] = dst[(x+1)*ncmpts] = CV_CAST_8U(pix); 306 int pix = ((pix_row[j] + delta) >> rshift) << lshift; local 307 pix = CV_CAST_8U(pix); 309 dst[x*ncmpts] = (uchar)pix; 349 int pix = pix_row[x]; local 355 int pix = ((pix_row[x] + delta) >> rshift) << lshift; local 362 int pix = ((pix_row[j] + delta) >> rshift) << lshift; local 368 int pix = ((pix_row[j] + delta) >> rshift) << lshift; local [all...] |
/external/opencv3/samples/cpp/tutorial_code/HighGUI/GDAL_IO/ |
gdal-image.cpp | 42 void add_color( cv::Vec3b& pix, const uchar& b, const uchar& g, const uchar& r ); 145 void add_color( cv::Vec3b& pix, const uchar& b, const uchar& g, const uchar& r ){ 147 if( pix[0] + b < 255 && pix[0] + b >= 0 ){ pix[0] += b; } 148 if( pix[1] + g < 255 && pix[1] + g >= 0 ){ pix[1] += g; } 149 if( pix[2] + r < 255 && pix[2] + r >= 0 ){ pix[2] += r; [all...] |
/external/opencv3/modules/cudalegacy/src/cuda/ |
NCVPixelOperations.hpp | 152 template<typename Tin, typename Tout, Ncv32u CN> struct __pixDemoteClampZ_CN {static __host__ __device__ Tout _pixDemoteClampZ_CN(Tin &pix);}; 155 static __host__ __device__ Tout _pixDemoteClampZ_CN(Tin &pix) 158 _TDemoteClampZ(pix.x, out.x); 163 static __host__ __device__ Tout _pixDemoteClampZ_CN(Tin &pix) 166 _TDemoteClampZ(pix.x, out.x); 167 _TDemoteClampZ(pix.y, out.y); 168 _TDemoteClampZ(pix.z, out.z); 173 static __host__ __device__ Tout _pixDemoteClampZ_CN(Tin &pix) 176 _TDemoteClampZ(pix.x, out.x); 177 _TDemoteClampZ(pix.y, out.y) [all...] |
/external/eigen/demos/mandelbrot/ |
mandelbrot.cpp | 50 int pix = y * img_width; local 59 for(int x = 0; x < alignedWidth; x += packetSize, pix += packetSize) 98 buffer[4*(pix+i)] = 255*pix_iter[i]/max_iter; 99 buffer[4*(pix+i)+1] = 0; 100 buffer[4*(pix+i)+2] = 0; 105 for(int x = alignedWidth; x < img_width; x++, pix++) 106 buffer[4*pix] = buffer[4*pix+1] = buffer[4*pix+2] = 0;
|
/external/opencv3/modules/cudaimgproc/src/ |
mssegmentation.cpp | 199 inline int pix(int y, int x, int ncols) function in namespace:__anon20870 289 g.addEdge(pix(y, x, ncols), pix(y, x + 1, ncols), SegmLinkVal(dr[0], dsp[0])); 290 g.addEdge(pix(y, x, ncols), pix(y + 1, x, ncols), SegmLinkVal(dr[1], dsp[1])); 291 g.addEdge(pix(y, x, ncols), pix(y + 1, x + 1, ncols), SegmLinkVal(dr[2], dsp[2])); 292 g.addEdge(pix(y, x + 1, ncols), pix(y + 1, x, ncols), SegmLinkVal(dr[3], dsp[3])); 303 g.addEdge(pix(y, ncols - 1, ncols), pix(y + 1, ncols - 1, ncols), SegmLinkVal(dr[0], dsp[0])) [all...] |
/external/mesa3d/src/mesa/main/ |
texcompress_cpal.c | 85 GLubyte *pix = image; local 95 pix += get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix); 96 pix += get_palette_entry(info, palette, ind[i] & 0xf, pix); 99 get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix); 106 pix += get_palette_entry(info, palette, ind[i], pix);
|
/external/webrtc/webrtc/modules/video_capture/linux/ |
device_info_linux.cc | 258 video_fmt.fmt.pix.sizeimage = 0; 279 video_fmt.fmt.pix.pixelformat = videoFormats[fmts]; 280 video_fmt.fmt.pix.width = size[i][0]; 281 video_fmt.fmt.pix.height = size[i][1]; 285 if ((video_fmt.fmt.pix.width == size[i][0]) 286 && (video_fmt.fmt.pix.height == size[i][1])) 289 cap.width = video_fmt.fmt.pix.width; 290 cap.height = video_fmt.fmt.pix.height;
|
/external/opencv3/modules/imgcodecs/src/ |
grfmt_jpeg2000.cpp | 316 int pix = pix_row[x]; local 317 dst[x*ncmpts] = cv::saturate_cast<uchar>(pix); 322 int pix = ((pix_row[x] + delta) >> rshift) << lshift; local 323 dst[x*ncmpts] = cv::saturate_cast<uchar>(pix); 329 int pix = ((pix_row[j] + delta) >> rshift) << lshift; local 330 dst[x*ncmpts] = dst[(x+1)*ncmpts] = cv::saturate_cast<uchar>(pix); 335 int pix = ((pix_row[j] + delta) >> rshift) << lshift; local 336 pix = cv::saturate_cast<uchar>(pix); 338 dst[x*ncmpts] = (uchar)pix; 380 int pix = pix_row[x]; local 386 int pix = ((pix_row[x] + delta) >> rshift) << lshift; local 393 int pix = ((pix_row[j] + delta) >> rshift) << lshift; local 399 int pix = ((pix_row[j] + delta) >> rshift) << lshift; local [all...] |
/external/opencv/cxcore/src/ |
cxmean.cpp | 53 s0 += src[x], pix++; \ 55 s0 += src[x+1], pix++; \ 60 s0 += src[x], pix++ 69 pix++; \ 80 pix++; \ 92 pix++; \ 100 s0 += src[x*(cn)], pix++; \ 102 s0+=src[(x+1)*(cn)], pix++; \ 107 s0 += src[x*(cn)], pix++; 113 int pix = 0; [all...] |