Home
last modified time | relevance | path

Searched refs:pix (Results 1 – 25 of 78) sorted by relevance

1234

/external/libvpx/libvpx/third_party/libyuv/source/
Drow_neon.cc931 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 …]
Drow_neon64.cc911 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 …]
Drow_gcc.cc145 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 …]
Dconvert_from_argb.cc31 void (*ARGBToYRow)(const uint8* src_argb, uint8* dst_y, int pix) = in ARGBToI444()
34 int pix) = ARGBToUV444Row_C; in ARGBToI444()
113 int pix) = ARGBToUV422Row_C; in ARGBToI422()
114 void (*ARGBToYRow)(const uint8* src_argb, uint8* dst_y, int pix) = in ARGBToI422()
194 int pix) = ARGBToUV411Row_C; in ARGBToI411()
195 void (*ARGBToYRow)(const uint8* src_argb, uint8* dst_y, int pix) = in ARGBToI411()
267 void (*ARGBToYRow)(const uint8* src_argb, uint8* dst_y, int pix) = in ARGBToNV12()
376 void (*ARGBToYRow)(const uint8* src_argb, uint8* dst_y, int pix) = in ARGBToNV21()
482 int pix) = ARGBToUV422Row_C; in ARGBToYUY2()
483 void (*ARGBToYRow)(const uint8* src_argb, uint8* dst_y, int pix) = in ARGBToYUY2()
[all …]
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/
Drow.h579 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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/base/
Dftlcdfil.c76 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/
Dftlcdfil.c76 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/freetype/src/base/
Dftlcdfil.c76 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/
Dzrlepalettehelper.c25 #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()
Dzrleencodetemplate.c149 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 …]
Dhextile.c81 #define PUT_PIXEL8(pix) (cl->updateBuf[cl->ublen++] = (pix)) argument
83 #define PUT_PIXEL16(pix) (cl->updateBuf[cl->ublen++] = ((char*)&(pix))[0], \ argument
84 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[1])
86 #define PUT_PIXEL32(pix) (cl->updateBuf[cl->ublen++] = ((char*)&(pix))[0], \ argument
87 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[1], \
88 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[2], \
89 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[3])
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DValPixConverter.java36 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/
Drre.c37 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()
Dcorre.c37 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()
Dtight.c363 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/
Dgrfmt_jpeg2000.cpp287 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/mesa3d/src/mesa/main/
Dtexcompress_cpal.c85 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/eigen/demos/mandelbrot/
Dmandelbrot.cpp50 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/
Ddevice_info_linux.cc258 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()
Dvideo_capture_linux.cc208 video_fmt.fmt.pix.sizeimage = 0; in StartCapture()
209 video_fmt.fmt.pix.width = capability.width; in StartCapture()
210 video_fmt.fmt.pix.height = capability.height; in StartCapture()
211 video_fmt.fmt.pix.pixelformat = fmts[fmtsIdx]; in StartCapture()
213 if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_YUYV) in StartCapture()
215 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_YUV420) in StartCapture()
217 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_UYVY) in StartCapture()
219 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_MJPEG || in StartCapture()
220 video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_JPEG) in StartCapture()
232 _currentWidth = video_fmt.fmt.pix.width; in StartCapture()
[all …]
/external/mesa3d/src/glx/apple/
Dapple_cgl.h47 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/cxcore/src/
Dcxmean.cpp53 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 …]
Dcxmeansdv.cpp140 t0 = src[x*(cn)]; pix++; \
147 t0 = src[(x+1)*(cn)]; pix++; \
154 t0 = src[(x+2)*(cn)]; pix++; \
161 t0 = src[(x+3)*(cn)]; pix++; \
171 worktype t0 = src[x*(cn)]; pix++; \
190 pix++; \
208 pix++; \
227 pix++; \
245 int pix; \
310 scale = pix ? 1./pix : 0
[all …]
/external/mesa3d/src/gallium/state_trackers/egl/x11/
Dnative_ximage.c295 get_pixmap_format(struct native_display *ndpy, EGLNativePixmapType pix) in get_pixmap_format() argument
301 depth = x11_drawable_get_depth(xdpy->xscr, (Drawable) pix); in get_pixmap_format()
323 EGLNativePixmapType pix, in ximage_display_create_pixmap_surface() argument
331 enum pipe_format fmt = get_pixmap_format(&xdpy->base, pix); in ximage_display_create_pixmap_surface()
347 xsurf = ximage_display_create_surface(ndpy, (Drawable) pix, nconf); in ximage_display_create_pixmap_surface()
439 EGLNativePixmapType pix, in ximage_display_get_pixmap_format() argument
444 *format = get_pixmap_format(&xdpy->base, pix); in ximage_display_get_pixmap_format()
451 EGLNativePixmapType pix, in ximage_display_copy_to_pixmap() argument
457 enum pipe_format fmt = get_pixmap_format(&xdpy->base, pix); in ximage_display_copy_to_pixmap()
477 xdraw.drawable = (Drawable) pix; in ximage_display_copy_to_pixmap()
[all …]
/external/llvm/test/CodeGen/X86/
D2008-02-25-InlineAsmBug.ll4 define void @h264_h_loop_filter_luma_mmx2(i8* %pix, i32 %stride, i32 %alpha, i32 %beta, i8* %tc0) n…
17 %tmp154 = getelementptr i8, i8* %pix, i32 %pix_addr.0327.sum340 ; <i8*> [#uses=1]
20 %tmp181 = getelementptr i8, i8* %pix, i32 %pix_addr.0327.sum339 ; <i8*> [#uses=1]
23 %tmp186 = getelementptr i8, i8* %pix, i32 %pix_addr.0327.sum338 ; <i8*> [#uses=1]
26 %tmp191 = getelementptr i8, i8* %pix, i32 %pix_addr.0327.sum337 ; <i8*> [#uses=1]

1234