HomeSort by relevance Sort by last modified time
    Searched full:dstbuf (Results 1 - 25 of 46) sorted by null

1 2

  /device/linaro/bootloader/edk2/ArmPkg/Library/ArmLib/Arm/
ArmV7ArchTimer.c 29 OUT VOID *DstBuf
36 *((UINTN *)DstBuf) = ArmReadCntFrq ();
40 *((UINT64 *)DstBuf) = ArmReadCntPct ();
44 *((UINTN *)DstBuf) = ArmReadCntkCtl();
48 *((UINTN *)DstBuf) = ArmReadCntpTval ();
52 *((UINTN *)DstBuf) = ArmReadCntpCtl ();
56 *((UINTN *)DstBuf) = ArmReadCntvTval ();
60 *((UINTN *)DstBuf) = ArmReadCntvCtl ();
64 *((UINT64 *)DstBuf) = ArmReadCntvCt ();
68 *((UINT64 *)DstBuf) = ArmReadCntpCval ();
    [all...]
  /device/linaro/bootloader/edk2/ArmPkg/Library/ArmLib/AArch64/
AArch64ArchTimer.c 29 OUT VOID *DstBuf
38 *((UINTN *)DstBuf) = ArmReadCntFrq ();
42 *((UINT64 *)DstBuf) = ArmReadCntPct ();
46 *((UINTN *)DstBuf) = ArmReadCntkCtl();
50 *((UINTN *)DstBuf) = ArmReadCntpTval ();
54 *((UINTN *)DstBuf) = ArmReadCntpCtl ();
58 *((UINTN *)DstBuf) = ArmReadCntvTval ();
62 *((UINTN *)DstBuf) = ArmReadCntvCtl ();
66 *((UINT64 *)DstBuf) = ArmReadCntvCt ();
70 *((UINT64 *)DstBuf) = ArmReadCntpCval ();
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/PyEfiCompressor/
EfiCompressor.c 33 UINT8 *DstBuf;
78 Status = Extract((VOID *)SrcBuf, SrcDataSize, (VOID **)&DstBuf, &DstDataSize, 1);
84 return PyBuffer_FromMemory(DstBuf, (Py_ssize_t)DstDataSize);
91 if (DstBuf != NULL) {
92 free(DstBuf);
110 UINT8 *DstBuf;
155 Status = Extract((VOID *)SrcBuf, SrcDataSize, (VOID **)&DstBuf, &DstDataSize, 2);
161 return PyString_FromStringAndSize((CONST INT8*)DstBuf, (Py_ssize_t)DstDataSize);
168 if (DstBuf != NULL) {
169 free(DstBuf);
    [all...]
  /external/libjpeg-turbo/
tjunittest.c 395 void compTest(tjhandle handle, unsigned char **dstBuf,
408 if(*dstBuf && *dstSize>0) memset(*dstBuf, 0, *dstSize);
432 _tj(tjCompressFromYUV(handle, yuvBuf, w, pad, h, subsamp, dstBuf,
439 _tj(tjCompress2(handle, srcBuf, w, 0, h, pf, dstBuf, dstSize, subsamp,
445 writeJPEG(*dstBuf, *dstSize, tempStr);
458 unsigned char *dstBuf=NULL, *yuvBuf=NULL;
470 if((dstBuf=(unsigned char *)malloc(dstSize))==NULL)
472 memset(dstBuf, 0, dstSize);
497 _tj(tjDecodeYUV(handle2, yuvBuf, pad, subsamp, dstBuf, scaledWidth, 0
    [all...]
turbojpeg.c 1027 int pixelFormat, unsigned char *dstBuf, int pad, int subsamp, int flags)
1032 if(width<=0 || height<=0 || dstBuf==NULL || pad<0 || !isPow2(pad)
1038 dstPlanes[0]=dstBuf;
1062 int width, int pitch, int height, int pixelFormat, unsigned char *dstBuf,
1066 dstBuf, 4, subsamp, flags);
1070 int width, int pitch, int height, int pixelSize, unsigned char *dstBuf,
1074 getPixelFormat(pixelSize, flags), dstBuf, subsamp, flags);
    [all...]
turbojpeg-jni.c 475 unsigned char *srcBuf=NULL, *dstBuf=NULL;
493 bailif0(dstBuf=(*env)->GetPrimitiveArrayCritical(env, dst, 0));
495 if(tjEncodeYUV2(handle, srcBuf, width, pitch, height, pf, dstBuf, subsamp,
500 if(dstBuf) (*env)->ReleasePrimitiveArrayCritical(env, dst, dstBuf, 0);
637 unsigned char *jpegBuf=NULL, *dstBuf=NULL;
654 bailif0(dstBuf=(*env)->GetPrimitiveArrayCritical(env, dst, 0));
657 &dstBuf[y*actualPitch + x*tjPixelSize[pf]], width, pitch, height, pf,
662 if(dstBuf) (*env)->ReleasePrimitiveArrayCritical(env, dst, dstBuf, 0)
    [all...]
tjbench.c 105 unsigned long *jpegsize, unsigned char *dstbuf, int w, int h,
128 if(dstbuf==NULL)
130 if((dstbuf=(unsigned char *)malloc(pitch*scaledh))==NULL)
136 memset(dstbuf, 127, pitch*scaledh);
155 for(row=0, dstptr=dstbuf; row<ntilesh; row++, dstptr+=pitch*tileh)
235 if(savebmp(tempstr, dstbuf, scaledw, scaledh, pf,
258 dstbuf[rindex]=abs(dstbuf[rindex]-y);
259 dstbuf[gindex]=abs(dstbuf[gindex]-y)
    [all...]
bmp.c 76 unsigned char *dstbuf, int dstpf, int dstbottomup, int w, int h)
81 unsigned char *dstrowptr=dstbuf, *dstcolptr;
87 if(dstbottomup) dstrowptr=&dstbuf[w*dstps*(h-1)];
  /external/libvncserver/test/
tjunittest.c 238 void compTest(tjhandle handle, unsigned char **dstBuf,
252 if(*dstBuf && *dstSize>0) memset(*dstBuf, 0, *dstSize);
256 _tj(tjCompress2(handle, srcBuf, w, 0, h, pf, dstBuf, dstSize, subsamp,
263 writeJPEG(*dstBuf, *dstSize, tempStr);
276 unsigned char *dstBuf=NULL;
294 if((dstBuf=(unsigned char *)malloc(dstSize))==NULL)
296 memset(dstBuf, 0, dstSize);
299 _tj(tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, scaledWidth, 0,
303 if(checkBuf(dstBuf, scaledWidth, scaledHeight, pf, subsamp, sf, flags)
    [all...]
tjbench.c 79 unsigned long *jpegsize, unsigned char *dstbuf, int w, int h,
104 if(dstbuf==NULL)
106 if((dstbuf=(unsigned char *)malloc(bufsize)) == NULL)
112 memset(dstbuf, 127, bufsize);
115 if(tjDecompress2(handle, jpegbuf[0], jpegsize[0], dstbuf, scaledw,
123 for(row=0, dstptr=dstbuf; row<ntilesh; row++, dstptr+=pitch*tileh)
160 if(savebmp(tempstr, dstbuf, scaledw, scaledh, bmpPF[pf], pitch,
182 dstbuf[rindex]=abs(dstbuf[rindex]-y);
183 dstbuf[gindex]=abs(dstbuf[gindex]-y)
    [all...]
  /device/linaro/bootloader/edk2/ArmPkg/Include/Library/
ArmArchTimer.h 45 OUT VOID *DstBuf
  /external/opencv/cxcore/src/
cxlogic.cpp 192 CvMat dstbuf, *tdst; local
286 dstbuf = cvMat( dy, size.width, type );
288 dstbuf.step = cvAlign( dstbuf.step, 8 );
289 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size;
297 dstbuf.data.ptr = buffer;
298 tdst = &dstbuf;
356 CvMat dstbuf, *tdst; local
453 dstbuf = cvMat( dy, size.width, type )
    [all...]
cxarithm.cpp 289 CvMat dstbuf, *tdst; local
442 dstbuf = cvMat( dy, size.width, type );
444 dstbuf.step = cvAlign( dstbuf.step, 8 );
445 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size;
453 dstbuf.data.ptr = buffer;
454 tdst = &dstbuf;
540 CvMat dstbuf, *tdst; local
686 dstbuf = cvMat( dy, size.width, type )
765 CvMat dstbuf, *tdst; local
1012 CvMat dstbuf, *tdst; local
    [all...]
  /external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
TJCompressor.java 319 * @param dstBuf buffer that will receive the JPEG image. Use
327 public void compress(byte[] dstBuf, int flags) throws TJException {
328 if (dstBuf == null || flags < 0)
344 dstBuf, jpegQuality, flags);
348 srcHeight, srcPixelFormat, dstBuf, subsamp,
352 srcPixelFormat, dstBuf, subsamp, jpegQuality,
357 srcHeight, srcPixelFormat, dstBuf, subsamp,
361 srcPixelFormat, dstBuf, subsamp, jpegQuality,
390 public void compress(BufferedImage srcImage, byte[] dstBuf, int flags)
393 compress(dstBuf, flags)
    [all...]
TJDecompressor.java 312 * @param dstBuf buffer that will receive the decompressed/decoded image.
371 public void decompress(byte[] dstBuf, int x, int y, int desiredWidth,
376 if (dstBuf == null || x < 0 || y < 0 || pitch < 0 ||
382 yuvImage.getStrides(), yuvImage.getSubsamp(), dstBuf, x, y,
387 decompress(jpegBuf, jpegBufSize, dstBuf, x, y, desiredWidth, pitch,
390 decompress(jpegBuf, jpegBufSize, dstBuf, desiredWidth, pitch,
400 public void decompress(byte[] dstBuf, int desiredWidth, int pitch,
403 decompress(dstBuf, 0, 0, desiredWidth, pitch, desiredHeight, pixelFormat,
490 public void decompressToYUV(byte[] dstBuf, int flags) throws TJException {
491 YUVImage dstImage = new YUVImage(dstBuf, jpegWidth, 4, jpegHeight
    [all...]
  /frameworks/base/media/java/android/media/
MediaDescrambler.java 165 * @param dstBuf ByteBuffer to hold the descrambled data, which starts at
166 * dstBuf.position().
185 @NonNull ByteBuffer srcBuf, @NonNull ByteBuffer dstBuf,
217 dstBuf, dstBuf.position(), dstBuf.limit());
251 ByteBuffer dstBuf, int dstOffset, int dstLimit) throws RemoteException;
  /external/ltp/testcases/kernel/io/aio/aio01/
aio01.c 82 char *srcbuf, *dstbuf; variable
160 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos);
223 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos);
268 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos);
314 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos);
329 if (srcbuf[j] != dstbuf[j]) {
332 dstbuf[j], srcbuf[j]);
389 posix_memalign((void **)&dstbuf, bufsize, bufsize)) != 0)
391 "posix_memalign for dstbuf "
397 if ((dstbuf = malloc(sizeof(char) * bufsize)) == NULL
    [all...]
  /frameworks/av/media/libaudioprocessing/
RecordBufferConverter.cpp 230 void *dstBuf = mBuf != NULL ? mBuf : dst;
232 upmix_to_stereo_float_from_mono_float((float *)dstBuf,
235 downmix_to_mono_float_from_stereo_float((float *)dstBuf,
246 void *dstBuf = mBuf != NULL ? mBuf : dst;
247 memcpy_by_index_array(dstBuf, mDstChannelCount,
249 if (dstBuf == dst) {
  /external/libjpeg-turbo/java/
TJUnitTest.java 627 private static int compTest(TJCompressor tjc, byte[] dstBuf, int w,
662 Arrays.fill(dstBuf, (byte)0);
685 tjc.compress(dstBuf, flags);
690 writeJPEG(dstBuf, size, tempStr);
707 byte[] dstBuf = null;
756 dstBuf = tjd.decompress(scaledWidth, 0, scaledHeight, pf, flags);
768 (!bi && checkBuf(dstBuf, scaledWidth,
802 byte[] dstBuf;
804 dstBuf = new byte[TJ.bufSize(w, h, subsamp)];
819 size = compTest(tjc, dstBuf, w, h, pf, baseName, subsamp, 100
    [all...]
TJBench.java 99 byte[] dstBuf = new byte[w[0] * h[0] * ps];
102 dstBuf[dstPtr + rindex] = (byte)((rgb[rgbPtr] >> 16) & 0xff);
103 dstBuf[dstPtr + gindex] = (byte)((rgb[rgbPtr] >> 8) & 0xff);
104 dstBuf[dstPtr + bindex] = (byte)(rgb[rgbPtr] & 0xff);
108 return dstBuf;
134 byte[] dstBuf, int w, int h, int subsamp, int jpegQual,
150 if (dstBuf == null)
151 dstBuf = new byte[pitch * scaledh];
155 Arrays.fill(dstBuf, (byte)127);
180 tjd.decompress(dstBuf, x, y, width, pitch, height, pf, flags)
    [all...]
  /external/deqp/modules/gles3/functional/
es3fBufferCopyTests.cpp 85 deUint32 dstBuf = 0;
103 dstBuf = genBuffer();
104 glBindBuffer(m_dstTarget, dstBuf);
110 isOk = verifier.verify(dstBuf, dstRef.getPtr(), 0, m_dstSize, m_dstTarget) && isOk;
116 glBindBuffer(m_dstTarget, dstBuf);
122 isOk = verifier.verify(dstBuf, dstRef.getPtr(), 0, m_dstSize, m_dstTarget) && isOk;
  /prebuilts/go/darwin-x86/src/bufio/
bufio_test.go     [all...]
  /prebuilts/go/linux-x86/src/bufio/
bufio_test.go     [all...]
  /external/libvncserver/common/
turbojpeg.c 747 unsigned long jpegSize, unsigned char *dstBuf, int width, int pitch,
761 if(jpegBuf==NULL || jpegSize<=0 || dstBuf==NULL || width<0 || pitch<0
815 _dstBuf=dstBuf; dstBuf=rgbBuf;
825 row_pointer[i]=&dstBuf[(dinfo->output_height-i-1)*pitch];
826 else row_pointer[i]=&dstBuf[i*pitch];
849 unsigned long jpegSize, unsigned char *dstBuf, int width, int pitch,
852 return tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, width, pitch,
  /external/mesa3d/src/mesa/vbo/
vbo_split_copy.c 89 GLubyte *dstbuf; member in struct:copy_context
90 GLubyte *dstptr; /**< dstptr == dstbuf + dstelt_max * vertsize */
216 copy->dstptr = copy->dstbuf;
294 assert(copy->dstptr == (copy->dstbuf +
518 copy->dstbuf = malloc(copy->dstbuf_size * copy->vertex_size);
519 copy->dstptr = copy->dstbuf;
531 dst->Ptr = copy->dstbuf + offset;
572 free(copy->dstbuf);

Completed in 673 milliseconds

1 2