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

12 3 4 5 6

  /external/webrtc/webrtc/modules/video_capture/linux/
video_capture_linux.cc 208 video_fmt.fmt.pix.sizeimage = 0;
209 video_fmt.fmt.pix.width = capability.width;
210 video_fmt.fmt.pix.height = capability.height;
211 video_fmt.fmt.pix.pixelformat = fmts[fmtsIdx];
213 if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_YUYV)
215 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_YUV420)
217 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_UYVY)
219 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_MJPEG ||
220 video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_JPEG)
232 _currentWidth = video_fmt.fmt.pix.width
    [all...]
  /external/libvncserver/libvncclient/
tight.c 363 uint8_t pix[3]; local
370 pix[c] = client->tightPrevRow[c] + client->buffer[y*client->rectWidth*3+c];
371 thisRow[c] = pix[c];
373 dst[y*client->rectWidth] = RGB24_TO_PIXEL32(pix[0], pix[1], pix[2]);
378 est[c] = (int)client->tightPrevRow[x*3+c] + (int)pix[c] -
385 pix[c] = (uint8_t)est[c] + client->buffer[(y*client->rectWidth+x)*3+c];
386 thisRow[x*3+c] = pix[c];
388 dst[y*client->rectWidth+x] = RGB24_TO_PIXEL32(pix[0], pix[1], pix[2])
404 uint16_t pix[3]; local
    [all...]
  /external/libvncserver/libvncserver/
hextile.c 81 #define PUT_PIXEL8(pix) (cl->updateBuf[cl->ublen++] = (pix))
83 #define PUT_PIXEL16(pix) (cl->updateBuf[cl->ublen++] = ((char*)&(pix))[0], \
84 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[1])
86 #define PUT_PIXEL32(pix) (cl->updateBuf[cl->ublen++] = ((char*)&(pix))[0], \
87 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[1], \
88 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[2], \
89 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[3]
    [all...]
tight.c 1432 uint32_t pix; local
1592 uint16_t *srcptr, pix; local
1696 uint32_t pix; local
    [all...]
  /external/webrtc/webrtc/examples/peerconnection/client/linux/
main_wnd.cc 500 uint8_t* pix = image_.get(); local
502 while (pix < end) {
503 pix[3] = pix[0]; // Save B to A.
504 pix[0] = pix[2]; // Set Red.
505 pix[2] = pix[3]; // Set Blue.
506 pix[3] = 0xFF; // Fixed Alpha.
507 pix += 4
    [all...]
  /external/opencv/cxcore/src/
cxmeansdv.cpp 140 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 :
    [all...]
  /external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
NeuQuant.java 238 int pix, lim; local
244 pix = 0;
276 b = (p[pix + 0] & 0xff) << netbiasshift;
277 g = (p[pix + 1] & 0xff) << netbiasshift;
278 r = (p[pix + 2] & 0xff) << netbiasshift;
285 pix += step;
286 if (pix >= lim)
287 pix -= lengthcount;
LZWEncoder.java 250 byte pix = pixAry[curPixel++];
252 return pix & 0xff;
  /frameworks/av/cmds/screenrecord/
TextRenderer.cpp 109 uint8_t* pix = rgbaPixels; local
122 *pix++ = color;
123 *pix++ = color;
124 *pix++ = color;
125 *pix++ = alpha;
  /external/tensorflow/tensorflow/contrib/pi_examples/camera/
camera.cc 95 fmt.fmt.pix.width = wanted_width;
96 fmt.fmt.pix.height = wanted_height;
97 fmt.fmt.pix.pixelformat = V4L2_PIX_FMT_RGB24;
98 fmt.fmt.pix.field = V4L2_FIELD_INTERLACED;
105 if (fmt.fmt.pix.pixelformat != V4L2_PIX_FMT_RGB24) {
109 if ((fmt.fmt.pix.width != wanted_width) ||
110 (fmt.fmt.pix.height != wanted_height)) {
111 LOG(WARNING) << "Warning: driver is sending image at " << fmt.fmt.pix.width
112 << "x" << fmt.fmt.pix.height;
  /external/ImageMagick/coders/
sixel.c 610 static void sixel_put_pixel(sixel_output_t *const context, int pix)
612 if (pix < 0 || pix > '?') {
613 pix = 0;
616 pix += '?';
618 if (pix == context->save_pixel) {
622 context->save_pixel = pix;
690 int pix;
747 pix = pixels[y * width + x];
748 if (pix >= 0 && pix < (ssize_t) ncolors && pix != keycolor)
688 int pix; local
    [all...]
  /external/libavc/common/arm/
ih264_resi_trans_quant_a9.s 117 vld1.u8 d30, [r0], r3 @load first 8 pix src row 1
119 vld1.u8 d31, [r1], r4 @load first 8 pix pred row 1
121 vld1.u8 d28, [r0], r3 @load first 8 pix src row 2
123 vld1.u8 d29, [r1], r4 @load first 8 pix pred row 2
125 vld1.u8 d26, [r0], r3 @load first 8 pix src row 3
127 vld1.u8 d27, [r1], r4 @load first 8 pix pred row 3
130 vld1.u8 d24, [r0], r3 @load first 8 pix src row 4
132 vld1.u8 d25, [r1], r4 @load first 8 pix pred row 4
312 vld2.u8 {d10, d11}, [r0], r3 @load first 8 pix src row 1
314 vld2.u8 {d11, d12}, [r1], r4 @load first 8 pix pred row
    [all...]
  /external/libxcam/tests/
test-poll-thread.cpp 204 struct v4l2_rect rect = { 0, 0, format.fmt.pix.width, format.fmt.pix.height };
210 format.fmt.pix.pixelformat,
  /bootable/recovery/minui/
graphics.cpp 63 // Blends gr_current onto pix value, assumes alpha as most significant byte.
64 static inline uint32_t pixel_blend(uint8_t alpha, uint32_t pix) {
66 if (alpha == 0) return pix;
67 uint32_t pix_r = pix & 0xff;
68 uint32_t pix_g = pix & 0xff00;
69 uint32_t pix_b = pix & 0xff0000;
  /external/mesa3d/src/mesa/drivers/dri/r200/
r200_blit.c 575 r200->hw.pix[0].dirty = GL_TRUE;
576 r200->hw.pix[1].dirty = GL_TRUE;
577 r200->hw.pix[2].dirty = GL_TRUE;
578 r200->hw.pix[3].dirty = GL_TRUE;
r200_state_init.c 740 ALLOC_STATE( pix[0], pix_zero, PIX_STATE_SIZE, "PIX/pixstage-0", 0 );
741 ALLOC_STATE( pix[1], texenv, PIX_STATE_SIZE, "PIX/pixstage-1", 1 );
742 ALLOC_STATE( pix[2], texenv, PIX_STATE_SIZE, "PIX/pixstage-2", 2 );
743 ALLOC_STATE( pix[3], texenv, PIX_STATE_SIZE, "PIX/pixstage-3", 3 );
744 ALLOC_STATE( pix[4], texenv, PIX_STATE_SIZE, "PIX/pixstage-4", 4 )
    [all...]
  /external/tensorflow/tensorflow/core/lib/png/
png_io.cc 68 uint32 pix = *p8; local
69 pix |= pix << 8;
70 *p16 = static_cast<uint16>(pix);
  /external/deqp/framework/delibs/deimage/
deImage.c 151 deARGB pix = deARGB_add(deARGB_add(deARGB_multiply(p00, f00), deARGB_multiply(p10, f10)), local
153 deImage_setPixel(result, x, y, pix);
  /external/webp/src/enc/
backward_references_enc.c 729 const uint32_t pix = *argb++; local
730 const uint32_t a = (pix >> 24) & 0xff;
731 const uint32_t r = (pix >> 16) & 0xff;
732 const uint32_t g = (pix >> 8) & 0xff;
733 const uint32_t b = (pix >> 0) & 0xff;
735 int key = VP8LHashPix(pix, 32 - cache_bits_max);
743 if (VP8LColorCacheLookup(&hashers[i], key) == pix) {
746 VP8LColorCacheSet(&hashers[i], key, pix);
    [all...]
vp8l_enc.c 184 static WEBP_INLINE uint32_t HashPix(uint32_t pix) {
187 return ((((uint64_t)pix + (pix >> 19)) * 0x39c5fba7ull) & 0xffffffffu) >> 24;
214 const uint32_t pix = curr_row[x]; local
215 const uint32_t pix_diff = VP8LSubPixels(pix, pix_prev);
216 pix_prev = pix;
217 if ((pix_diff == 0) || (prev_row != NULL && pix == prev_row[x])) {
220 AddSingle(pix,
230 AddSingleSubGreen(pix,
238 const uint32_t hash = HashPix(pix);
    [all...]
  /prebuilts/go/darwin-x86/src/image/
image.go 61 // Pix holds the image's pixels, in R, G, B, A order. The pixel at
62 // (x, y) starts at Pix[(y-Rect.Min.Y)*Stride + (x-Rect.Min.X)*4].
63 Pix []uint8
64 // Stride is the Pix stride (in bytes) between vertically adjacent pixels.
83 return color.RGBA{p.Pix[i+0], p.Pix[i+1], p.Pix[i+2], p.Pix[i+3]}
86 // PixOffset returns the index of the first element of Pix that corresponds to
98 p.Pix[i+0] = c1.
    [all...]
  /prebuilts/go/linux-x86/src/image/
image.go 61 // Pix holds the image's pixels, in R, G, B, A order. The pixel at
62 // (x, y) starts at Pix[(y-Rect.Min.Y)*Stride + (x-Rect.Min.X)*4].
63 Pix []uint8
64 // Stride is the Pix stride (in bytes) between vertically adjacent pixels.
83 return color.RGBA{p.Pix[i+0], p.Pix[i+1], p.Pix[i+2], p.Pix[i+3]}
86 // PixOffset returns the index of the first element of Pix that corresponds to
98 p.Pix[i+0] = c1.
    [all...]
  /external/autotest/client/site_tests/camera_V4L2/src/
media_v4l2_device.cc 110 fmt.fmt.pix.width = width;
111 fmt.fmt.pix.height = height;
112 fmt.fmt.pix.pixelformat = pixfmt;
113 fmt.fmt.pix.field = V4L2_FIELD_NONE;
173 fmt.fmt.pix.width, fmt.fmt.pix.height,
186 ret = InitUserPtrIO(fmt.fmt.pix.sizeimage);
  /prebuilts/go/darwin-x86/src/image/png/
writer.go 369 copy(cr[0][1:], gray.Pix[offset:offset+b.Dx()])
380 stride, pix := 0, []byte(nil)
382 stride, pix = rgba.Stride, rgba.Pix
384 stride, pix = nrgba.Stride, nrgba.Pix
390 cr0[i+0] = pix[j+0]
391 cr0[i+1] = pix[j+1]
392 cr0[i+2] = pix[j+2]
407 copy(cr[0][1:], paletted.Pix[offset:offset+b.Dx()]
    [all...]
  /prebuilts/go/linux-x86/src/image/png/
writer.go 369 copy(cr[0][1:], gray.Pix[offset:offset+b.Dx()])
380 stride, pix := 0, []byte(nil)
382 stride, pix = rgba.Stride, rgba.Pix
384 stride, pix = nrgba.Stride, nrgba.Pix
390 cr0[i+0] = pix[j+0]
391 cr0[i+1] = pix[j+1]
392 cr0[i+2] = pix[j+2]
407 copy(cr[0][1:], paletted.Pix[offset:offset+b.Dx()]
    [all...]

Completed in 1081 milliseconds

12 3 4 5 6