Home
last modified time | relevance | path

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

1234

/external/u-boot/lib/efi_selftest/
Defi_selftest_bitblt.c35 const struct efi_gop_pixel col, struct efi_gop_pixel *pix) in ellipse() argument
44 *pix = col; in ellipse()
50 const struct efi_gop_pixel col, struct efi_gop_pixel *pix) in rectangle() argument
53 *pix = col; in rectangle()
103 struct efi_gop_pixel pix; in setup() local
135 pix = DARK_BLUE; in setup()
138 ellipse(x, y, 35, 55, 43, 75, BLACK, &pix); in setup()
139 ellipse(x, y, 36, 56, 42, 74, LIGHT_BLUE, &pix); in setup()
141 ellipse(x, y, 35, 75, 43, 95, BLACK, &pix); in setup()
142 ellipse(x, y, 36, 76, 42, 94, LIGHT_BLUE, &pix); in setup()
[all …]
/external/libaom/libaom/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 …]
Dconvert.cc248 void (*SplitUVRow)(const uint8* src_uv, uint8* dst_u, uint8* dst_v, int pix) = in X420ToI420()
393 uint8* dst_u, uint8* dst_v, int pix) = YUY2ToUVRow_C; in YUY2ToI420()
395 uint8* dst_y, int pix) = YUY2ToYRow_C; in YUY2ToI420()
458 uint8* dst_u, uint8* dst_v, int pix) = UYVYToUVRow_C; in UYVYToI420()
460 uint8* dst_y, int pix) = UYVYToYRow_C; in UYVYToI420()
524 void (*ARGBToYRow)(const uint8* src_argb, uint8* dst_y, int pix) = in ARGBToI420()
600 void (*BGRAToYRow)(const uint8* src_bgra, uint8* dst_y, int pix) = in BGRAToI420()
666 void (*ABGRToYRow)(const uint8* src_abgr, uint8* dst_y, int pix) = in ABGRToI420()
732 void (*RGBAToYRow)(const uint8* src_rgba, uint8* dst_y, int pix) = in RGBAToI420()
799 void (*RGB24ToYRow)(const uint8* src_rgb24, uint8* dst_y, int pix) = in RGB24ToI420()
[all …]
/external/libaom/libaom/third_party/libyuv/include/libyuv/
Drow.h580 void ARGBToYRow_AVX2(const uint8* src_argb, uint8* dst_y, int pix);
581 void ARGBToYRow_Any_AVX2(const uint8* src_argb, uint8* dst_y, int pix);
582 void ARGBToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix);
583 void ARGBToYJRow_AVX2(const uint8* src_argb, uint8* dst_y, int pix);
584 void ARGBToYJRow_Any_AVX2(const uint8* src_argb, uint8* dst_y, int pix);
585 void ARGBToYJRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix);
586 void BGRAToYRow_SSSE3(const uint8* src_bgra, uint8* dst_y, int pix);
587 void ABGRToYRow_SSSE3(const uint8* src_abgr, uint8* dst_y, int pix);
588 void RGBAToYRow_SSSE3(const uint8* src_rgba, uint8* dst_y, int pix);
589 void RGB24ToYRow_SSSE3(const uint8* src_rgb24, uint8* dst_y, int pix);
[all …]
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_FMT.c220 format.fmt.pix.width, in do_get_formats()
221 format.fmt.pix.height, in do_get_formats()
222 format.fmt.pix.pixelformat, in do_get_formats()
223 format.fmt.pix.field, in do_get_formats()
224 format.fmt.pix.bytesperline, in do_get_formats()
225 format.fmt.pix.sizeimage, in do_get_formats()
226 format.fmt.pix.colorspace, format.fmt.pix.priv); in do_get_formats()
227 if (sizeof(format.fmt.pix) < in do_get_formats()
231 for (j = sizeof(format.fmt.pix); in do_get_formats()
244 (format.fmt.pix.pixelformat)); in do_get_formats()
[all …]
/external/libxcam/xcore/
Dv4l2_buffer_proxy.cpp82 info.format = format.fmt.pix.pixelformat; in v4l2_format_to_video_info()
84 info.width = format.fmt.pix.width; in v4l2_format_to_video_info()
85 info.height = format.fmt.pix.height; in v4l2_format_to_video_info()
88 info.size = format.fmt.pix.sizeimage; in v4l2_format_to_video_info()
89 switch (format.fmt.pix.pixelformat) { in v4l2_format_to_video_info()
93 info.strides [0] = format.fmt.pix.bytesperline * 2 / 3; in v4l2_format_to_video_info()
96 info.offsets[1] = info.strides [0] * format.fmt.pix.height; in v4l2_format_to_video_info()
100 info.strides [0] = format.fmt.pix.bytesperline / 2; in v4l2_format_to_video_info()
104 info.offsets[1] = info.strides [0] * format.fmt.pix.height; in v4l2_format_to_video_info()
105 info.offsets[2] = info.offsets[1] + info.strides [1] * format.fmt.pix.height; in v4l2_format_to_video_info()
[all …]
Dv4l2_device.cpp101 if (_format.fmt.pix.pixelformat) { in set_framerate()
249 …if (tmp_format.fmt.pix.width != format.fmt.pix.width || tmp_format.fmt.pix.height != format.fmt.pi… in set_format()
253 format.fmt.pix.width, in set_format()
254 format.fmt.pix.height); in set_format()
296 format.fmt.pix.width, format.fmt.pix.height, in set_format()
297 xcam_fourcc_to_string (format.fmt.pix.pixelformat), in set_format()
298 format.fmt.pix.bytesperline, in set_format()
299 format.fmt.pix.sizeimage); in set_format()
321 format.fmt.pix.width = width; in set_format()
322 format.fmt.pix.height = height; in set_format()
[all …]
/external/libaom/libaom/test/
Dintra_edge_test.cc84 int i, pix = 0; in TEST_P() local
86 pix = rng_.Rand8(); in TEST_P()
87 edge_ref_data_[i] = pix; in TEST_P()
93 edge_ref_data_[i] = pix; in TEST_P()
94 edge_tst_data_[i] = pix; in TEST_P()
136 int i, pix = 0; in TEST_P() local
138 pix = rng_(hi); in TEST_P()
139 edge_ref_data_[i] = pix; in TEST_P()
140 edge_tst_data_[i] = pix; in TEST_P()
145 edge_ref_data_[i] = pix; in TEST_P()
[all …]
/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/mesa3d/src/mesa/main/
Dtexcompress_cpal.c82 GLubyte *pix = image; in paletted_to_color() local
92 pix += get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix); in paletted_to_color()
93 pix += get_palette_entry(info, palette, ind[i] & 0xf, pix); in paletted_to_color()
96 get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix); in paletted_to_color()
103 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/
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 …]
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()
/external/tensorflow/tensorflow/contrib/image/kernels/
Dsingle_image_random_dot_stereograms_ops.cc294 uint8* pix; // Scan row color for each pixel in generate_stereogram() local
298 pix = new uint8[output_Ximage * output_Cimage]; in generate_stereogram()
343 pix[x * output_Cimage + channel] = Cblack; in generate_stereogram()
345 pix[x * output_Cimage + channel] = Cwhite; in generate_stereogram()
348 pix[x * output_Cimage + channel] = rand() % 256; in generate_stereogram()
351 pix[x * output_Cimage + channel] = in generate_stereogram()
352 pix[same[x] * output_Cimage + channel]; in generate_stereogram()
354 setpixel(x, y, channel, pix[x * output_Cimage + channel]); in generate_stereogram()
361 delete[] pix; in generate_stereogram()
/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/u-boot/arch/arm/dts/
Dstih407-clock.dtsi269 clock-output-names = "clk-pix-main-disp",
270 "clk-pix-pip",
271 "clk-pix-gdp1",
272 "clk-pix-gdp2",
273 "clk-pix-gdp3",
274 "clk-pix-gdp4",
275 "clk-pix-aux-disp",
277 "clk-pix-hddac",
280 "clk-pix-dvo",
282 "clk-pix-hdmi",
Dstih410-clock.dtsi290 clock-output-names = "clk-pix-main-disp",
291 "clk-pix-pip",
292 "clk-pix-gdp1",
293 "clk-pix-gdp2",
294 "clk-pix-gdp3",
295 "clk-pix-gdp4",
296 "clk-pix-aux-disp",
298 "clk-pix-hddac",
301 "clk-pix-dvo",
303 "clk-pix-hdmi",
/external/swiftshader/third_party/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* %pix, i32 %pix_addr.0327.sum340 ; <i8*> [#uses=1]
20 %tmp181 = getelementptr i8* %pix, i32 %pix_addr.0327.sum339 ; <i8*> [#uses=1]
23 %tmp186 = getelementptr i8* %pix, i32 %pix_addr.0327.sum338 ; <i8*> [#uses=1]
26 %tmp191 = getelementptr i8* %pix, i32 %pix_addr.0327.sum337 ; <i8*> [#uses=1]
/external/swiftshader/third_party/llvm-7.0/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]
/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]
/external/webrtc/webrtc/examples/peerconnection/client/linux/
Dmain_wnd.cc500 uint8_t* pix = image_.get(); in RenderFrame() local
502 while (pix < end) { in RenderFrame()
503 pix[3] = pix[0]; // Save B to A. in RenderFrame()
504 pix[0] = pix[2]; // Set Red. in RenderFrame()
505 pix[2] = pix[3]; // Set Blue. in RenderFrame()
506 pix[3] = 0xFF; // Fixed Alpha. in RenderFrame()
507 pix += 4; in RenderFrame()
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
DNeuQuant.java238 int pix, lim; in learn() local
244 pix = 0; in learn()
276 b = (p[pix + 0] & 0xff) << netbiasshift; in learn()
277 g = (p[pix + 1] & 0xff) << netbiasshift; in learn()
278 r = (p[pix + 2] & 0xff) << netbiasshift; in learn()
285 pix += step; in learn()
286 if (pix >= lim) in learn()
287 pix -= lengthcount; in learn()

1234