Home
last modified time | relevance | path

Searched refs:srcbuf (Results 1 – 8 of 8) sorted by relevance

/external/libvncserver/test/
Dtjbench.c78 int decomptest(unsigned char *srcbuf, unsigned char **jpegbuf, in decomptest() argument
165 if(srcbuf && sf.num==1 && sf.denom==1) in decomptest()
178 int y=(int)((double)srcbuf[rindex]*0.299 in decomptest()
179 + (double)srcbuf[gindex]*0.587 in decomptest()
180 + (double)srcbuf[bindex]*0.114 + 0.5); in decomptest()
193 =abs(dstbuf[pitch*row+col]-srcbuf[pitch*row+col]); in decomptest()
208 void dotest(unsigned char *srcbuf, int w, int h, int subsamp, int jpegqual, in dotest() argument
253 memcpy(&tmpbuf[pitch*i], &srcbuf[w*ps*i], w*ps); in dotest()
258 if(tjCompress2(handle, srcbuf, tilew, pitch, tileh, pf, &jpegbuf[0], in dotest()
267 for(row=0, srcptr=srcbuf; row<ntilesh; row++, srcptr+=pitch*tileh) in dotest()
[all …]
Dbmp.c87 void pixelconvert(unsigned char *srcbuf, enum BMPPIXELFORMAT srcformat, in pixelconvert() argument
94 srcptr=flip? &srcbuf[srcpitch*(h-1)]:srcbuf; in pixelconvert()
/external/libjpeg-turbo/
Dtjbench.c104 int decomp(unsigned char *srcbuf, unsigned char **jpegbuf, in decomp() argument
232 if(srcbuf && sf.num==1 && sf.denom==1) in decomp()
245 int y=(int)((double)srcbuf[rindex]*0.299 in decomp()
246 + (double)srcbuf[gindex]*0.587 in decomp()
247 + (double)srcbuf[bindex]*0.114 + 0.5); in decomp()
260 =abs(dstbuf[pitch*row+col]-srcbuf[pitch*row+col]); in decomp()
276 int fullTest(unsigned char *srcbuf, int w, int h, int subsamp, int jpegqual, in fullTest() argument
325 memcpy(&tmpbuf[pitch*i], &srcbuf[w*ps*i], w*ps); in fullTest()
345 for(row=0, srcptr=srcbuf; row<ntilesh; row++, srcptr+=pitch*tileh) in fullTest()
440 if(decomp(srcbuf, jpegbuf, jpegsize, tmpbuf, w, h, subsamp, jpegqual, in fullTest()
[all …]
Dbmp.c75 static void pixelconvert(unsigned char *srcbuf, int srcpf, int srcbottomup, in pixelconvert() argument
78 unsigned char *srcrowptr=srcbuf, *srccolptr; in pixelconvert()
86 if(srcbottomup) srcrowptr=&srcbuf[w*srcps*(h-1)]; in pixelconvert()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_denoiser.c373 const uint8_t *srcbuf = src->y_buffer; in copy_frame() local
380 memcpy(destbuf, srcbuf, dest->y_width); in copy_frame()
382 srcbuf += src->y_stride; in copy_frame()
/external/opencv3/modules/imgproc/src/opencl/
Dcvtcolor.cl1748 inline void Lab2BGR_f(const float * srcbuf, float * dstbuf,
1754 float li = srcbuf[0], ai = srcbuf[1], bi = srcbuf[2];
1821 float srcbuf[3], dstbuf[3];
1822 srcbuf[0] = src_pix.x*(100.f/255.f);
1823 srcbuf[1] = convert_float(src_pix.y - 128);
1824 srcbuf[2] = convert_float(src_pix.z - 128);
1826 Lab2BGR_f(&srcbuf[0], &dstbuf[0],
1874 float srcbuf[3], dstbuf[3];
1875 srcbuf[0] = src_pix.x, srcbuf[1] = src_pix.y, srcbuf[2] = src_pix.z;
1877 Lab2BGR_f(&srcbuf[0], &dstbuf[0],
/external/libvncserver/libvncserver/
Dtight.c1557 unsigned char *srcbuf; in SendJpegRect() local
1625 srcbuf = tmpbuf; in SendJpegRect()
1637 srcbuf = (unsigned char *)&cl->scaledScreen->frameBuffer in SendJpegRect()
1641 if (tjCompress(j, srcbuf, w, pitch, h, ps, (unsigned char *)tightAfterBuf, in SendJpegRect()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_colors.cpp1363 CFX_FixedBufGrow<FX_FLOAT, 16> srcbuf(m_nComponents); in TranslateImageLine() local
1364 FX_FLOAT* src = srcbuf; in TranslateImageLine()