/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_RLEaccel.c | 783 static void RLEClipBlit(int w, Uint8 *srcbuf, SDL_Surface *dst, argument 797 ofs += *(Type *)srcbuf; \ 798 run = ((Type *)srcbuf)[1]; \ 799 srcbuf += 2 * sizeof(Type); \ 815 do_blit(dstbuf + startcol * bpp, srcbuf + start * bpp, \ 819 srcbuf += run * bpp; \ 844 Uint8 *srcbuf; local 861 srcbuf = (Uint8 *)src->map->sw_data->aux_data; 872 ofs += *(Type *)srcbuf; \ 873 run = ((Type *)srcbuf)[ 1015 RLEAlphaClipBlit(int w, Uint8 *srcbuf, SDL_Surface *dst, Uint8 *dstbuf, SDL_Rect *srcrect) argument 1112 Uint8 *srcbuf, *dstbuf; local 1613 getpix_8(Uint8 *srcbuf) argument 1618 getpix_16(Uint8 *srcbuf) argument 1623 getpix_24(Uint8 *srcbuf) argument 1632 getpix_32(Uint8 *srcbuf) argument 1648 Uint8 *srcbuf, *lastline; local 1825 Uint8 *srcbuf; local [all...] |
/external/pixman/test/ |
H A D | scaling-crash-test.c | 33 uint32_t * srcbuf; local 55 srcbuf = (uint32_t *)malloc ((src_width + 10) * (src_height + 10) * 4); 58 memset (srcbuf, 0x88, src_width * src_height * 4); 63 srcbuf + (src_width + 10) * 5 + 5, (src_width + 10) * 4); 96 free (srcbuf);
|
H A D | affine-test.c | 46 uint32_t * srcbuf; local 77 srcbuf = (uint32_t *)malloc (src_stride * src_height); 80 prng_randmemset (srcbuf, src_stride * src_height, 0); 90 src_fmt, src_width, src_height, srcbuf, src_stride); 302 free (srcbuf);
|
H A D | blitters-test.c | 238 uint32_t *dstbuf, *srcbuf, *maskbuf; local 286 srcbuf = pixman_image_get_data (src_img); 307 srcbuf, 311 maskbuf = srcbuf; 381 if (srcbuf == maskbuf)
|
H A D | scaling-test.c | 77 uint32_t * srcbuf; local 139 srcbuf = (uint32_t *)malloc (src_stride * src_height); 143 prng_randmemset (srcbuf, src_stride * src_height, 0); 151 src_fmt, src_width, src_height, srcbuf, src_stride); 370 free (srcbuf);
|
/external/chromium_org/third_party/libjpeg_turbo/ |
H A D | tjbench.c | 89 int decomptest(unsigned char *srcbuf, unsigned char **jpegbuf, argument 198 if(srcbuf && sf.num==1 && sf.denom==1) 211 int y=(int)((double)srcbuf[rindex]*0.299 212 + (double)srcbuf[gindex]*0.587 213 + (double)srcbuf[bindex]*0.114 + 0.5); 226 =abs(dstbuf[pitch*row+col]-srcbuf[pitch*row+col]); 242 void dotestyuv(unsigned char *srcbuf, int w, int h, int subsamp, argument 268 if(tjEncodeYUV2(handle, srcbuf, w, 0, h, pf, dstbuf, subsamp, flags)==-1) 274 if(tjEncodeYUV2(handle, srcbuf, w, 0, h, pf, dstbuf, subsamp, flags)==-1) 318 void dotest(unsigned char *srcbuf, in argument 467 unsigned char **jpegbuf=NULL, *srcbuf=NULL; local 724 unsigned char *srcbuf=NULL; int w, h, i, j; local [all...] |
H A D | turbojpegl.c | 115 unsigned char *srcbuf, int width, int pitch, int height, int ps, 123 if(srcbuf==NULL || width<=0 || pitch<0 || height<=0 185 if(flags&TJ_BOTTOMUP) row_pointer[i]= &srcbuf[(height-i-1)*pitch]; 186 else row_pointer[i]= &srcbuf[i*pitch]; 250 unsigned char *srcbuf, unsigned long size, 255 if(srcbuf==NULL || size<=0 || width==NULL || height==NULL) 265 j->jsms.next_input_byte = srcbuf; 279 unsigned char *srcbuf, unsigned long size, 287 if(srcbuf==NULL || size<=0 306 j->jsms.next_input_byte = srcbuf; 114 tjCompress(tjhandle h, unsigned char *srcbuf, int width, int pitch, int height, int ps, unsigned char *dstbuf, unsigned long *size, int jpegsub, int qual, int flags) argument 249 tjDecompressHeader(tjhandle h, unsigned char *srcbuf, unsigned long size, int *width, int *height) argument 278 tjDecompress(tjhandle h, unsigned char *srcbuf, unsigned long size, unsigned char *dstbuf, int width, int pitch, int height, int ps, int flags) argument [all...] |
H A D | jpgtest.cxx | 56 void dotest(unsigned char *srcbuf, int w, int h, BMPPIXELFORMAT pf, int bu, argument 109 for(i=0; i<h; i++) memcpy(&rgbbuf[pitch*i], &srcbuf[w*ps*i], w*ps); 233 int y=(int)((double)srcbuf[w*ps*j+i+_rindex[pf]]*0.299 234 + (double)srcbuf[w*ps*j+i+_gindex[pf]]*0.587 235 + (double)srcbuf[w*ps*j+i+_bindex[pf]]*0.114 + 0.5); 246 rgbbuf[pitch*j+i]=abs(rgbbuf[pitch*j+i]-srcbuf[w*ps*j+i]);
|
H A D | bmp.c | 75 static void pixelconvert(unsigned char *srcbuf, int srcpf, int srcbottomup, argument 78 unsigned char *srcptr=srcbuf, *srcptr2; 86 if(srcbottomup) srcptr=&srcbuf[w*srcps*(h-1)];
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
H A D | vp9_denoiser.c | 354 const uint8_t *srcbuf = src.y_buffer; local 360 vpx_memcpy(destbuf, srcbuf, dest.y_width); 362 srcbuf += src.y_stride;
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
H A D | fpdf_page_colors.cpp | 1219 CFX_FixedBufGrow<FX_FLOAT, 16> srcbuf(m_nComponents);
1220 FX_FLOAT* src = srcbuf;
|