Home
last modified time | relevance | path

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

1234

/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/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/swiftshader/src/Device/
DASTC_Decoder.cpp56 unsigned char *pix = &img[zi * destSliceB + yi * destPitchB + xi * bytes]; in write_imageblock() local
63 pix[0] = 0xFF; in write_imageblock()
64 pix[1] = 0x00; in write_imageblock()
65 pix[2] = 0xFF; in write_imageblock()
66 pix[3] = 0xFF; in write_imageblock()
70 pix[0] = static_cast<unsigned char>(sw::clamp(fptr[0], 0.0f, 1.0f) * 255.0f + 0.5f); in write_imageblock()
71 pix[1] = static_cast<unsigned char>(sw::clamp(fptr[1], 0.0f, 1.0f) * 255.0f + 0.5f); in write_imageblock()
72 pix[2] = static_cast<unsigned char>(sw::clamp(fptr[2], 0.0f, 1.0f) * 255.0f + 0.5f); in write_imageblock()
73 pix[3] = static_cast<unsigned char>(sw::clamp(fptr[3], 0.0f, 1.0f) * 255.0f + 0.5f); in write_imageblock()
80 unsigned int *pixu = reinterpret_cast<unsigned int *>(pix); in write_imageblock()
[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/angle/src/libANGLE/renderer/vulkan/shaders/src/third_party/ffx_spd/
Dffx_spd.h406 ASU2 pix = ASU2(workGroupID.xy * 32) + ASU2(x, y); in SpdDownsampleMips_0_1_Intrinsics() local
408 SpdStore(pix, v[0], 0); in SpdDownsampleMips_0_1_Intrinsics()
411 pix = ASU2(workGroupID.xy * 32) + ASU2(x + 16, y); in SpdDownsampleMips_0_1_Intrinsics()
413 SpdStore(pix, v[1], 0); in SpdDownsampleMips_0_1_Intrinsics()
416 pix = ASU2(workGroupID.xy * 32) + ASU2(x, y + 16); in SpdDownsampleMips_0_1_Intrinsics()
418 SpdStore(pix, v[2], 0); in SpdDownsampleMips_0_1_Intrinsics()
421 pix = ASU2(workGroupID.xy * 32) + ASU2(x + 16, y + 16); in SpdDownsampleMips_0_1_Intrinsics()
423 SpdStore(pix, v[3], 0); in SpdDownsampleMips_0_1_Intrinsics()
462 ASU2 pix = ASU2(workGroupID.xy * 32) + ASU2(x, y); in SpdDownsampleMips_0_1_LDS() local
464 SpdStore(pix, v[0], 0); in SpdDownsampleMips_0_1_LDS()
[all …]
/external/angle/src/common/gl/cgl/
DFunctionsCGL.cpp20 CGLPixelFormatObj *pix,
22 (attribs, pix, npix))
26 (CGLPixelFormatObj pix, CGLContextObj share, CGLContextObj *ctx),
27 (pix, share, ctx))
32 (CGLPixelFormatObj pix, GLint pix_num, CGLPixelFormatAttribute attrib, GLint *value),
33 (pix, pix_num, attrib, value))
35 SOFT_LINK_FUNCTION_SOURCE(OpenGL, CGLDestroyPixelFormat, CGLError, (CGLPixelFormatObj pix), (pix))
DFunctionsCGL.h26 CGLPixelFormatObj *pix,
28 (attribs, pix, npix))
32 (CGLPixelFormatObj pix, CGLContextObj share, CGLContextObj *ctx),
33 (pix, share, ctx))
38 (CGLPixelFormatObj pix, GLint pix_num, CGLPixelFormatAttribute attrib, GLint *value),
39 (pix, pix_num, attrib, value))
47 SOFT_LINK_FUNCTION_HEADER(OpenGL, CGLDestroyPixelFormat, CGLError, (CGLPixelFormatObj pix), (pix))
/external/libepoxy/test/
Dcgl_core.c41 CGLPixelFormatObj pix; in main() local
45 CGLChoosePixelFormat(attribs, &pix, &npix); in main()
46 CGLCreateContext(pix, (void *) 0, &ctx); in main()
51 CGLReleasePixelFormat(pix); in main()
Dcgl_epoxy_api.c41 CGLPixelFormatObj pix; in main() local
48 CGLChoosePixelFormat(attribs, &pix, &npix); in main()
49 CGLCreateContext(pix, (void *) 0, &ctx); in main()
80 CGLReleasePixelFormat(pix); in main()
/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/oss-fuzz/projects/mupdf/
Dpdf_fuzzer.cc127 fz_pixmap *pix; in LLVMFuzzerTestOneInput() local
134 pix = NULL; in LLVMFuzzerTestOneInput()
138 fz_var(pix); in LLVMFuzzerTestOneInput()
146 pix = fz_new_pixmap_from_page_number(ctx, doc, i, fz_identity, fz_device_rgb(ctx), 0); in LLVMFuzzerTestOneInput()
147 fz_drop_pixmap(ctx, pix); in LLVMFuzzerTestOneInput()
148 pix = NULL; in LLVMFuzzerTestOneInput()
152 fz_drop_pixmap(ctx, pix); in LLVMFuzzerTestOneInput()
/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/modules/video_capture/linux/
Dvideo_capture_linux.cc178 video_fmt.fmt.pix.sizeimage = 0; in StartCapture()
179 video_fmt.fmt.pix.width = capability.width; in StartCapture()
180 video_fmt.fmt.pix.height = capability.height; in StartCapture()
181 video_fmt.fmt.pix.pixelformat = fmts[fmtsIdx]; in StartCapture()
183 if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_YUYV) in StartCapture()
185 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_YUV420) in StartCapture()
187 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_UYVY) in StartCapture()
189 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_MJPEG || in StartCapture()
190 video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_JPEG) in StartCapture()
200 _currentWidth = video_fmt.fmt.pix.width; in StartCapture()
[all …]
Ddevice_info_linux.cc241 video_fmt.fmt.pix.sizeimage = 0; in FillCapabilities()
255 video_fmt.fmt.pix.pixelformat = videoFormats[fmts]; in FillCapabilities()
256 video_fmt.fmt.pix.width = size[i][0]; in FillCapabilities()
257 video_fmt.fmt.pix.height = size[i][1]; in FillCapabilities()
260 if ((video_fmt.fmt.pix.width == size[i][0]) && in FillCapabilities()
261 (video_fmt.fmt.pix.height == size[i][1])) { in FillCapabilities()
263 cap.width = video_fmt.fmt.pix.width; in FillCapabilities()
264 cap.height = video_fmt.fmt.pix.height; in FillCapabilities()
/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/igt-gpu-tools/tools/
Dintel_display_poller.c156 uint32_t pix, pix1, pix2, iir, iir1, iir2, iir_bit, iir_mask; in poll_pixel_pipestat() local
159 pix = PIPE_REG(pipe, PIPEAFRAMEPIXEL); in poll_pixel_pipestat()
168 pix1 = read_reg(pix); in poll_pixel_pipestat()
171 pix2 = read_reg(pix); in poll_pixel_pipestat()
193 uint32_t pix, pix1, pix2, iir1, iir2, imr_save, ier_save; in poll_pixel_iir_gen3() local
197 pix = PIPE_REG(pipe, PIPEAFRAMEPIXEL); in poll_pixel_iir_gen3()
208 pix1 = read_reg(pix); in poll_pixel_iir_gen3()
211 pix2 = read_reg(pix); in poll_pixel_iir_gen3()
236 uint32_t pix, pix1, pix2, frm1, frm2; in poll_pixel_framecount_gen3() local
239 pix = PIPE_REG(pipe, PIPEAFRAMEPIXEL); in poll_pixel_framecount_gen3()
[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]
/external/llvm-project/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/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