/external/opencv3/modules/cudacodec/src/cuda/ |
D | rgb_to_yv12.cu | 85 uchar pix; in Gray_to_YV12() local 88 pix = src(y, x); in Gray_to_YV12() 89 rgb_to_y(pix, pix, pix, y_val); in Gray_to_YV12() 92 pix = src(y, x + 1); in Gray_to_YV12() 93 rgb_to_y(pix, pix, pix, y_val); in Gray_to_YV12() 96 pix = src(y + 1, x); in Gray_to_YV12() 97 rgb_to_y(pix, pix, pix, y_val); in Gray_to_YV12() 100 pix = src(y + 1, x + 1); in Gray_to_YV12() 101 rgb_to_yuv(pix, pix, pix, y_val, u_val, v_val); in Gray_to_YV12() 122 T pix; in RGB_to_YV12() local [all …]
|
/external/libyuv/files/include/libyuv/ |
D | row.h | 218 void ARGBToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix); 219 void BGRAToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix); 220 void ABGRToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix); 221 void RGBAToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix); 222 void ARGBToYRow_Unaligned_SSSE3(const uint8* src_argb, uint8* dst_y, int pix); 223 void BGRAToYRow_Unaligned_SSSE3(const uint8* src_argb, uint8* dst_y, int pix); 224 void ABGRToYRow_Unaligned_SSSE3(const uint8* src_argb, uint8* dst_y, int pix); 225 void RGBAToYRow_Unaligned_SSSE3(const uint8* src_argb, uint8* dst_y, int pix); 256 void SplitUV_SSE2(const uint8* src_uv, uint8* dst_u, uint8* dst_v, int pix); 257 void SplitUV_NEON(const uint8* src_uv, uint8* dst_u, uint8* dst_v, int pix); [all …]
|
/external/libyuv/files/source/ |
D | row_neon.cc | 542 void BGRAToARGBRow_NEON(const uint8* src_bgra, uint8* dst_argb, int pix) { in BGRAToARGBRow_NEON() argument 554 "+r"(pix) // %2 in BGRAToARGBRow_NEON() 562 void ABGRToARGBRow_NEON(const uint8* src_abgr, uint8* dst_argb, int pix) { in ABGRToARGBRow_NEON() argument 573 "+r"(pix) // %2 in ABGRToARGBRow_NEON() 581 void RGBAToARGBRow_NEON(const uint8* src_rgba, uint8* dst_argb, int pix) { in RGBAToARGBRow_NEON() argument 592 "+r"(pix) // %2 in RGBAToARGBRow_NEON() 600 void RGB24ToARGBRow_NEON(const uint8* src_rgb24, uint8* dst_argb, int pix) { in RGB24ToARGBRow_NEON() argument 611 "+r"(pix) // %2 in RGB24ToARGBRow_NEON() 619 void RAWToARGBRow_NEON(const uint8* src_raw, uint8* dst_argb, int pix) { in RAWToARGBRow_NEON() argument 631 "+r"(pix) // %2 in RAWToARGBRow_NEON() [all …]
|
D | row_posix.cc | 121 void I400ToARGBRow_SSE2(const uint8* src_y, uint8* dst_argb, int pix) { in I400ToARGBRow_SSE2() argument 142 "+r"(pix) // %2 in I400ToARGBRow_SSE2() 151 void ABGRToARGBRow_SSSE3(const uint8* src_abgr, uint8* dst_argb, int pix) { in ABGRToARGBRow_SSSE3() argument 166 "+r"(pix) // %2 in ABGRToARGBRow_SSSE3() 175 void BGRAToARGBRow_SSSE3(const uint8* src_bgra, uint8* dst_argb, int pix) { in BGRAToARGBRow_SSSE3() argument 189 "+r"(pix) // %2 in BGRAToARGBRow_SSSE3() 198 void RGBAToARGBRow_SSSE3(const uint8* src_rgba, uint8* dst_argb, int pix) { in RGBAToARGBRow_SSSE3() argument 213 "+r"(pix) // %2 in RGBAToARGBRow_SSSE3() 222 void ARGBToRGBARow_SSSE3(const uint8* src_argb, uint8* dst_rgba, int pix) { in ARGBToRGBARow_SSSE3() argument 237 "+r"(pix) // %2 in ARGBToRGBARow_SSSE3() [all …]
|
D | format_conversion.cc | 31 uint8* dst_bayer, uint32 selector, int pix) { in ARGBToBayerRow_SSSE3() argument 56 uint32 selector, int pix) { 71 "+r"(pix) // %2 83 uint8* dst_bayer, uint32 selector, int pix) { in ARGBToBayerRow_C() argument 87 for (int x = 0; x < pix - 1; x += 2) { in ARGBToBayerRow_C() 93 if (pix & 1) { in ARGBToBayerRow_C() 148 uint32 selector, int pix) = ARGBToBayerRow_C; in ARGBToBayer() 176 uint8* dst_argb, int pix) { in BayerRowBG() argument 180 for (int x = 0; x < pix - 2; x += 2) { in BayerRowBG() 199 if (!(pix & 1)) { in BayerRowBG() [all …]
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | row_neon.cc | 931 void RGB24ToARGBRow_NEON(const uint8* src_rgb24, uint8* dst_argb, int pix) { in RGB24ToARGBRow_NEON() argument 944 "+r"(pix) // %2 in RGB24ToARGBRow_NEON() 950 void RAWToARGBRow_NEON(const uint8* src_raw, uint8* dst_argb, int pix) { in RAWToARGBRow_NEON() argument 964 "+r"(pix) // %2 in RAWToARGBRow_NEON() 982 void RGB565ToARGBRow_NEON(const uint8* src_rgb565, uint8* dst_argb, int pix) { in RGB565ToARGBRow_NEON() argument 996 "+r"(pix) // %2 in RGB565ToARGBRow_NEON() 1030 int pix) { in ARGB1555ToARGBRow_NEON() argument 1044 "+r"(pix) // %2 in ARGB1555ToARGBRow_NEON() 1061 int pix) { in ARGB4444ToARGBRow_NEON() argument 1075 "+r"(pix) // %2 in ARGB4444ToARGBRow_NEON() [all …]
|
D | row_neon64.cc | 911 void RGB24ToARGBRow_NEON(const uint8* src_rgb24, uint8* dst_argb, int pix) { in RGB24ToARGBRow_NEON() argument 923 "+r"(pix) // %2 in RGB24ToARGBRow_NEON() 931 void RAWToARGBRow_NEON(const uint8* src_raw, uint8* dst_argb, int pix) { in RAWToARGBRow_NEON() argument 945 "+r"(pix) // %2 in RAWToARGBRow_NEON() 966 void RGB565ToARGBRow_NEON(const uint8* src_rgb565, uint8* dst_argb, int pix) { in RGB565ToARGBRow_NEON() argument 979 "+r"(pix) // %2 in RGB565ToARGBRow_NEON() 1025 int pix) { in ARGB1555ToARGBRow_NEON() argument 1038 "+r"(pix) // %2 in ARGB1555ToARGBRow_NEON() 1059 int pix) { in ARGB4444ToARGBRow_NEON() argument 1071 "+r"(pix) // %2 in ARGB4444ToARGBRow_NEON() [all …]
|
D | row_gcc.cc | 145 void TestRow_SSE2(const uint8* src_y, uint8* dst_argb, int pix) { in TestRow_SSE2() argument 232 "+r"(pix) // %2 in TestRow_SSE2() 240 void J400ToARGBRow_SSE2(const uint8* src_y, uint8* dst_argb, int pix) { in J400ToARGBRow_SSE2() argument 261 "+r"(pix) // %2 in J400ToARGBRow_SSE2() 268 void RGB24ToARGBRow_SSSE3(const uint8* src_rgb24, uint8* dst_argb, int pix) { in RGB24ToARGBRow_SSSE3() argument 300 "+r"(pix) // %2 in RGB24ToARGBRow_SSSE3() 306 void RAWToARGBRow_SSSE3(const uint8* src_raw, uint8* dst_argb, int pix) { in RAWToARGBRow_SSSE3() argument 338 "+r"(pix) // %2 in RAWToARGBRow_SSSE3() 344 void RGB565ToARGBRow_SSE2(const uint8* src, uint8* dst, int pix) { in RGB565ToARGBRow_SSE2() argument 385 "+r"(pix) // %2 in RGB565ToARGBRow_SSE2() [all …]
|
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
D | 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/freetype/src/base/ |
D | ftlcdfil.c | 76 FT_UInt val, pix; in _ft_lcd_filter_fir() local 80 pix = fir[0] + weights[0] * val; in _ft_lcd_filter_fir() 86 pix >>= 8; in _ft_lcd_filter_fir() 87 pix |= (FT_UInt)-(FT_Int)( pix >> 8 ); in _ft_lcd_filter_fir() 88 line[xx - 2] = (FT_Byte)pix; in _ft_lcd_filter_fir() 92 FT_UInt pix; in _ft_lcd_filter_fir() local 95 pix = fir[0] >> 8; in _ft_lcd_filter_fir() 96 pix |= (FT_UInt)-(FT_Int)( pix >> 8 ); in _ft_lcd_filter_fir() 97 line[xx - 2] = (FT_Byte)pix; in _ft_lcd_filter_fir() 99 pix = fir[1] >> 8; in _ft_lcd_filter_fir() [all …]
|
/external/pdfium/third_party/freetype/src/base/ |
D | ftlcdfil.c | 76 FT_UInt val, pix; in _ft_lcd_filter_fir() local 80 pix = fir[0] + weights[0] * val; in _ft_lcd_filter_fir() 86 pix >>= 8; in _ft_lcd_filter_fir() 87 pix |= (FT_UInt)-(FT_Int)( pix >> 8 ); in _ft_lcd_filter_fir() 88 line[xx - 2] = (FT_Byte)pix; in _ft_lcd_filter_fir() 92 FT_UInt pix; in _ft_lcd_filter_fir() local 95 pix = fir[0] >> 8; in _ft_lcd_filter_fir() 96 pix |= (FT_UInt)-(FT_Int)( pix >> 8 ); in _ft_lcd_filter_fir() 97 line[xx - 2] = (FT_Byte)pix; in _ft_lcd_filter_fir() 99 pix = fir[1] >> 8; in _ft_lcd_filter_fir() [all …]
|
/external/libvncserver/libvncserver/ |
D | zrlepalettehelper.c | 25 #define ZRLE_HASH(pix) (((pix) ^ ((pix) >> 17)) & 4095) argument 35 void zrlePaletteHelperInsert(zrlePaletteHelper *helper, zrle_U32 pix) in zrlePaletteHelperInsert() argument 38 int i = ZRLE_HASH(pix); in zrlePaletteHelperInsert() 40 while (helper->index[i] != 255 && helper->key[i] != pix) in zrlePaletteHelperInsert() 45 helper->key[i] = pix; in zrlePaletteHelperInsert() 46 helper->palette[helper->size] = pix; in zrlePaletteHelperInsert() 51 int zrlePaletteHelperLookup(zrlePaletteHelper *helper, zrle_U32 pix) in zrlePaletteHelperLookup() argument 53 int i = ZRLE_HASH(pix); in zrlePaletteHelperLookup() 57 while (helper->index[i] != 255 && helper->key[i] != pix) in zrlePaletteHelperLookup()
|
D | zrleencodetemplate.c | 149 PIXEL_T pix = *ptr; in ZRLE_ENCODE_TILE() local 150 if (*++ptr != pix) { in ZRLE_ENCODE_TILE() 153 while (*++ptr == pix) ; in ZRLE_ENCODE_TILE() 156 zrlePaletteHelperInsert(ph, pix); in ZRLE_ENCODE_TILE() 223 PIXEL_T pix; in ZRLE_ENCODE_TILE() local 227 pix = *ptr++; in ZRLE_ENCODE_TILE() 228 while (*ptr == pix && ptr < end) in ZRLE_ENCODE_TILE() 232 int index = zrlePaletteHelperLookup(ph, pix); in ZRLE_ENCODE_TILE() 239 int index = zrlePaletteHelperLookup(ph, pix); in ZRLE_ENCODE_TILE() 242 zrleOutStreamWRITE_PIXEL(os, pix); in ZRLE_ENCODE_TILE() [all …]
|
/external/opencv3/modules/cudalegacy/src/cuda/ |
D | NCVPixelOperations.hpp | 152 …u CN> struct __pixDemoteClampZ_CN {static __host__ __device__ Tout _pixDemoteClampZ_CN(Tin &pix);}; 155 static __host__ __device__ Tout _pixDemoteClampZ_CN(Tin &pix) in _pixDemoteClampZ_CN() 158 _TDemoteClampZ(pix.x, out.x); in _pixDemoteClampZ_CN() 163 static __host__ __device__ Tout _pixDemoteClampZ_CN(Tin &pix) in _pixDemoteClampZ_CN() 166 _TDemoteClampZ(pix.x, out.x); in _pixDemoteClampZ_CN() 167 _TDemoteClampZ(pix.y, out.y); in _pixDemoteClampZ_CN() 168 _TDemoteClampZ(pix.z, out.z); in _pixDemoteClampZ_CN() 173 static __host__ __device__ Tout _pixDemoteClampZ_CN(Tin &pix) in _pixDemoteClampZ_CN() 176 _TDemoteClampZ(pix.x, out.x); in _pixDemoteClampZ_CN() 177 _TDemoteClampZ(pix.y, out.y); in _pixDemoteClampZ_CN() [all …]
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
D | ValPixConverter.java | 36 float pix = (float)(raw * scale); in valToPix() local 39 pix = (lengthPix - pix); in valToPix() 41 return pix; in valToPix() 64 … public static double pixToVal(float pix, double min, double max, float lengthPix, boolean flip) { in pixToVal() argument 65 if(pix < ZERO) { in pixToVal() 72 float pMult = pix; in pixToVal() 74 pMult = lengthPix - pix; in pixToVal()
|
/external/libvncserver/libvncclient/ |
D | rre.c | 37 CARDBPP pix; in HandleRREBPP() local 45 if (!ReadFromRFBServer(client, (char *)&pix, sizeof(pix))) in HandleRREBPP() 48 FillRectangle(client, rx, ry, rw, rh, pix); in HandleRREBPP() 51 if (!ReadFromRFBServer(client, (char *)&pix, sizeof(pix))) in HandleRREBPP() 62 FillRectangle(client, rx+subrect.x, ry+subrect.y, subrect.w, subrect.h, pix); in HandleRREBPP()
|
D | corre.c | 37 CARDBPP pix; in HandleCoRREBPP() local 46 if (!ReadFromRFBServer(client, (char *)&pix, sizeof(pix))) in HandleCoRREBPP() 49 FillRectangle(client, rx, ry, rw, rh, pix); in HandleCoRREBPP() 57 pix = *(CARDBPP *)ptr; in HandleCoRREBPP() 64 FillRectangle(client, rx+x, ry+y, w, h, pix); in HandleCoRREBPP()
|
D | tight.c | 363 uint8_t pix[3]; in FilterGradient24() local 370 pix[c] = client->tightPrevRow[c] + client->buffer[y*client->rectWidth*3+c]; in FilterGradient24() 371 thisRow[c] = pix[c]; in FilterGradient24() 373 dst[y*client->rectWidth] = RGB24_TO_PIXEL32(pix[0], pix[1], pix[2]); in FilterGradient24() 378 est[c] = (int)client->tightPrevRow[x*3+c] + (int)pix[c] - in FilterGradient24() 385 pix[c] = (uint8_t)est[c] + client->buffer[(y*client->rectWidth+x)*3+c]; in FilterGradient24() 386 thisRow[x*3+c] = pix[c]; in FilterGradient24() 388 dst[y*client->rectWidth+x] = RGB24_TO_PIXEL32(pix[0], pix[1], pix[2]); in FilterGradient24() 404 uint16_t pix[3]; in FilterGradientBPP() local 428 pix[c] = (uint16_t)(((src[y*client->rectWidth] >> shift[c]) + thatRow[c]) & max[c]); in FilterGradientBPP() [all …]
|
/external/opencv/otherlibs/highgui/ |
D | grfmt_jpeg2000.cpp | 287 int pix = pix_row[x]; in ReadComponent8u() local 288 dst[x*ncmpts] = CV_CAST_8U(pix); in ReadComponent8u() 293 int pix = ((pix_row[x] + delta) >> rshift) << lshift; in ReadComponent8u() local 294 dst[x*ncmpts] = CV_CAST_8U(pix); in ReadComponent8u() 300 int pix = ((pix_row[j] + delta) >> rshift) << lshift; in ReadComponent8u() local 301 dst[x*ncmpts] = dst[(x+1)*ncmpts] = CV_CAST_8U(pix); in ReadComponent8u() 306 int pix = ((pix_row[j] + delta) >> rshift) << lshift; in ReadComponent8u() local 307 pix = CV_CAST_8U(pix); in ReadComponent8u() 309 dst[x*ncmpts] = (uchar)pix; in ReadComponent8u() 349 int pix = pix_row[x]; in ReadComponent16u() local [all …]
|
/external/opencv3/modules/imgcodecs/src/ |
D | grfmt_jpeg2000.cpp | 316 int pix = pix_row[x]; in readComponent8u() local 317 dst[x*ncmpts] = cv::saturate_cast<uchar>(pix); in readComponent8u() 322 int pix = ((pix_row[x] + delta) >> rshift) << lshift; in readComponent8u() local 323 dst[x*ncmpts] = cv::saturate_cast<uchar>(pix); in readComponent8u() 329 int pix = ((pix_row[j] + delta) >> rshift) << lshift; in readComponent8u() local 330 dst[x*ncmpts] = dst[(x+1)*ncmpts] = cv::saturate_cast<uchar>(pix); in readComponent8u() 335 int pix = ((pix_row[j] + delta) >> rshift) << lshift; in readComponent8u() local 336 pix = cv::saturate_cast<uchar>(pix); in readComponent8u() 338 dst[x*ncmpts] = (uchar)pix; in readComponent8u() 380 int pix = pix_row[x]; in readComponent16u() local [all …]
|
/external/opencv3/samples/cpp/tutorial_code/HighGUI/GDAL_IO/ |
D | 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 ){ in add_color() argument 147 if( pix[0] + b < 255 && pix[0] + b >= 0 ){ pix[0] += b; } in add_color() 148 if( pix[1] + g < 255 && pix[1] + g >= 0 ){ pix[1] += g; } in add_color() 149 if( pix[2] + r < 255 && pix[2] + r >= 0 ){ pix[2] += r; } in add_color()
|
/external/mesa3d/src/mesa/main/ |
D | texcompress_cpal.c | 85 GLubyte *pix = image; in paletted_to_color() local 95 pix += get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix); in paletted_to_color() 96 pix += get_palette_entry(info, palette, ind[i] & 0xf, pix); in paletted_to_color() 99 get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix); in paletted_to_color() 106 pix += get_palette_entry(info, palette, ind[i], pix); in paletted_to_color()
|
/external/opencv3/modules/cudaimgproc/src/ |
D | mssegmentation.cpp | 199 inline int pix(int y, int x, int ncols) in pix() function 289 g.addEdge(pix(y, x, ncols), pix(y, x + 1, ncols), SegmLinkVal(dr[0], dsp[0])); in meanShiftSegmentation() 290 g.addEdge(pix(y, x, ncols), pix(y + 1, x, ncols), SegmLinkVal(dr[1], dsp[1])); in meanShiftSegmentation() 291 g.addEdge(pix(y, x, ncols), pix(y + 1, x + 1, ncols), SegmLinkVal(dr[2], dsp[2])); in meanShiftSegmentation() 292 g.addEdge(pix(y, x + 1, ncols), pix(y + 1, x, ncols), SegmLinkVal(dr[3], dsp[3])); in meanShiftSegmentation() 303 … g.addEdge(pix(y, ncols - 1, ncols), pix(y + 1, ncols - 1, ncols), SegmLinkVal(dr[0], dsp[0])); in meanShiftSegmentation() 313 … g.addEdge(pix(nrows - 1, x, ncols), pix(nrows - 1, x + 1, ncols), SegmLinkVal(dr[0], dsp[0])); in meanShiftSegmentation() 365 int parent = comps.find(pix(y, x, ncols)); in meanShiftSegmentation() 383 int parent = comps.find(pix(y, x, ncols)); in meanShiftSegmentation()
|
/external/eigen/demos/mandelbrot/ |
D | mandelbrot.cpp | 50 int pix = y * img_width; in render() local 59 for(int x = 0; x < alignedWidth; x += packetSize, pix += packetSize) in render() 98 buffer[4*(pix+i)] = 255*pix_iter[i]/max_iter; in render() 99 buffer[4*(pix+i)+1] = 0; in render() 100 buffer[4*(pix+i)+2] = 0; in render() 105 for(int x = alignedWidth; x < img_width; x++, pix++) in render() 106 buffer[4*pix] = buffer[4*pix+1] = buffer[4*pix+2] = 0; in render()
|
/external/webrtc/webrtc/modules/video_capture/linux/ |
D | device_info_linux.cc | 258 video_fmt.fmt.pix.sizeimage = 0; in FillCapabilities() 279 video_fmt.fmt.pix.pixelformat = videoFormats[fmts]; in FillCapabilities() 280 video_fmt.fmt.pix.width = size[i][0]; in FillCapabilities() 281 video_fmt.fmt.pix.height = size[i][1]; in FillCapabilities() 285 if ((video_fmt.fmt.pix.width == size[i][0]) in FillCapabilities() 286 && (video_fmt.fmt.pix.height == size[i][1])) in FillCapabilities() 289 cap.width = video_fmt.fmt.pix.width; in FillCapabilities() 290 cap.height = video_fmt.fmt.pix.height; in FillCapabilities()
|