HomeSort by relevance Sort by last modified time
    Searched refs:pix (Results 1 - 25 of 127) sorted by null

1 2 3 4 5 6

  /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/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/libxcam/xcore/
v4l2_buffer_proxy.cpp 82 info.format = format.fmt.pix.pixelformat;
84 info.width = format.fmt.pix.width;
85 info.height = format.fmt.pix.height;
88 info.size = format.fmt.pix.sizeimage;
89 switch (format.fmt.pix.pixelformat) {
93 info.strides [0] = format.fmt.pix.bytesperline * 2 / 3;
96 info.offsets[1] = info.strides [0] * format.fmt.pix.height;
100 info.strides [0] = format.fmt.pix.bytesperline / 2;
104 info.offsets[1] = info.strides [0] * format.fmt.pix.height;
105 info.offsets[2] = info.offsets[1] + info.strides [1] * format.fmt.pix.height
    [all...]
v4l2_device.cpp 101 if (_format.fmt.pix.pixelformat) {
249 if (tmp_format.fmt.pix.width != format.fmt.pix.width || tmp_format.fmt.pix.height != format.fmt.pix.height) {
253 format.fmt.pix.width,
254 format.fmt.pix.height);
296 format.fmt.pix.width, format.fmt.pix.height,
297 xcam_fourcc_to_string (format.fmt.pix.pixelformat)
    [all...]
fake_poll_thread.cpp 144 info.init(format.fmt.pix.pixelformat,
145 format.fmt.pix.width,
146 format.fmt.pix.height, 0, 0, 0);
v4l2_device.h 75 width = _format.fmt.pix.width;
76 height = _format.fmt.pix.height;
79 return _format.fmt.pix.pixelformat;
  /packages/services/Car/evs/sampleDriver/
VideoCapture.cpp 95 format.fmt.pix.pixelformat = V4L2_PIX_FMT_UYVY; // Could/should we request V4L2_PIX_FMT_NV21?
96 format.fmt.pix.width = 720; // TODO: Can we avoid hard coding dimensions?
97 format.fmt.pix.height = 240; // For now, this works with available hardware
98 format.fmt.pix.field = V4L2_FIELD_ALTERNATE; // TODO: Do we need to specify this?
100 ((char*)&format.fmt.pix.pixelformat)[0],
101 ((char*)&format.fmt.pix.pixelformat)[1],
102 ((char*)&format.fmt.pix.pixelformat)[2],
103 ((char*)&format.fmt.pix.pixelformat)[3],
104 format.fmt.pix.pixelformat);
113 mFormat = format.fmt.pix.pixelformat
    [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/ltp/testcases/kernel/device-drivers/v4l/user_space/
test_VIDIOC_FMT.c 209 dprintf("\tformat = {.type=0x%X, .fmt.pix = { "
220 format.fmt.pix.width,
221 format.fmt.pix.height,
222 format.fmt.pix.pixelformat,
223 format.fmt.pix.field,
224 format.fmt.pix.bytesperline,
225 format.fmt.pix.sizeimage,
226 format.fmt.pix.colorspace, format.fmt.pix.priv);
227 if (sizeof(format.fmt.pix) <
    [all...]
  /external/mesa3d/src/mesa/main/
texcompress_cpal.c 82 GLubyte *pix = image; local
92 pix += get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix);
93 pix += get_palette_entry(info, palette, ind[i] & 0xf, pix);
96 get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix);
103 pix += get_palette_entry(info, palette, ind[i], pix);
  /hardware/libhardware/modules/camera/3_4/
stream_format.cpp 50 v4l2_pixel_format_(format.fmt.pix.pixelformat),
51 width_(format.fmt.pix.width),
52 height_(format.fmt.pix.height),
53 bytes_per_line_(format.fmt.pix.bytesperline),
54 min_buffer_size_(format.fmt.pix.sizeimage) {}
67 format->fmt.pix.pixelformat = v4l2_pixel_format_;
68 format->fmt.pix.width = width_;
69 format->fmt.pix.height = height_;
  /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/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/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/tensorflow/tensorflow/contrib/image/kernels/
single_image_random_dot_stereograms_ops.cc 294 uint8* pix; // Scan row color for each pixel local
298 pix = new uint8[output_Ximage * output_Cimage];
343 pix[x * output_Cimage + channel] = Cblack;
345 pix[x * output_Cimage + channel] = Cwhite;
348 pix[x * output_Cimage + channel] = rand() % 256;
351 pix[x * output_Cimage + channel] =
352 pix[same[x] * output_Cimage + channel];
354 setpixel(x, y, channel, pix[x * output_Cimage + channel]);
361 delete[] pix;
  /external/libxcam/modules/isp/
atomisp_device.cpp 62 subdev_fmt.format.width = format.fmt.pix.width;
63 subdev_fmt.format.height = format.fmt.pix.height;
65 if (format.fmt.pix.pixelformat == V4L2_PIX_FMT_SGRBG12) {
  /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...]
  /external/ImageMagick/coders/
scr.c 99 int pix;
178 pix = (((8*octetnr)-(256*zoneline)));
220 q=QueueAuthenticPixels(image,pix,piy,1,1,exception);
241 pix++;
97 int pix; local
  /external/strace/tests/
ioctl_v4l2.c 69 f->fmt.pix.width = 0x657b8160;
70 f->fmt.pix.height = 0x951c0047;
71 f->fmt.pix.pixelformat = magic;
72 f->fmt.pix.field = V4L2_FIELD_NONE;
73 f->fmt.pix.bytesperline = 0xdf20d185;
74 f->fmt.pix.sizeimage = 0x0cf7be41;
75 f->fmt.pix.colorspace = V4L2_COLORSPACE_JPEG;
178 ", fmt.pix={width=%u, height=%u, pixelformat="
184 f->fmt.pix.width, f->fmt.pix.height
    [all...]
  /external/strace/tests-m32/
ioctl_v4l2.c 69 f->fmt.pix.width = 0x657b8160;
70 f->fmt.pix.height = 0x951c0047;
71 f->fmt.pix.pixelformat = magic;
72 f->fmt.pix.field = V4L2_FIELD_NONE;
73 f->fmt.pix.bytesperline = 0xdf20d185;
74 f->fmt.pix.sizeimage = 0x0cf7be41;
75 f->fmt.pix.colorspace = V4L2_COLORSPACE_JPEG;
178 ", fmt.pix={width=%u, height=%u, pixelformat="
184 f->fmt.pix.width, f->fmt.pix.height
    [all...]
  /external/strace/tests-mx32/
ioctl_v4l2.c 69 f->fmt.pix.width = 0x657b8160;
70 f->fmt.pix.height = 0x951c0047;
71 f->fmt.pix.pixelformat = magic;
72 f->fmt.pix.field = V4L2_FIELD_NONE;
73 f->fmt.pix.bytesperline = 0xdf20d185;
74 f->fmt.pix.sizeimage = 0x0cf7be41;
75 f->fmt.pix.colorspace = V4L2_COLORSPACE_JPEG;
178 ", fmt.pix={width=%u, height=%u, pixelformat="
184 f->fmt.pix.width, f->fmt.pix.height
    [all...]

Completed in 335 milliseconds

1 2 3 4 5 6