/frameworks/av/media/libaudioprocessing/ |
RecordBufferConverter.cpp | 235 void *dstBuf = mBuf != NULL ? mBuf : dst; 237 upmix_to_stereo_float_from_mono_float((float *)dstBuf, 240 downmix_to_mono_float_from_stereo_float((float *)dstBuf, 251 void *dstBuf = mBuf != NULL ? mBuf : dst; 252 memcpy_by_index_array(dstBuf, mDstChannelCount, 254 if (dstBuf == dst) {
|
/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;
|
/external/libjpeg-turbo/ |
tjexample.c | 284 unsigned char *dstBuf = NULL; /* Dynamically allocate the JPEG buffer */ 290 if (tjTransform(tjInstance, jpegBuf, jpegSize, 1, &dstBuf, &dstSize, 294 jpegBuf = dstBuf;
|
tjunittest.c | 359 void compTest(tjhandle handle, unsigned char **dstBuf, unsigned long *dstSize, 374 if (*dstBuf && *dstSize > 0) memset(*dstBuf, 0, *dstSize); 397 _tj(tjCompressFromYUV(handle, yuvBuf, w, pad, h, subsamp, dstBuf, dstSize, 402 _tj(tjCompress2(handle, srcBuf, w, 0, h, pf, dstBuf, dstSize, subsamp, 408 writeJPEG(*dstBuf, *dstSize, tempStr); 421 unsigned char *dstBuf = NULL, *yuvBuf = NULL; 433 if ((dstBuf = (unsigned char *)malloc(dstSize)) == NULL) 435 memset(dstBuf, 0, dstSize); 460 _tj(tjDecodeYUV(handle2, yuvBuf, pad, subsamp, dstBuf, scaledWidth, 0 [all...] |
turbojpeg-jni.c | 500 unsigned char *srcBuf = NULL, *dstBuf = NULL; 518 bailif0(dstBuf = (*env)->GetPrimitiveArrayCritical(env, dst, 0)); 520 if (tjEncodeYUV2(handle, srcBuf, width, pitch, height, pf, dstBuf, subsamp, 525 if (dstBuf) (*env)->ReleasePrimitiveArrayCritical(env, dst, dstBuf, 0); 665 unsigned char *jpegBuf = NULL, *dstBuf = NULL; 682 bailif0(dstBuf = (*env)->GetPrimitiveArrayCritical(env, dst, 0)); 685 &dstBuf[y * actualPitch + x * tjPixelSize[pf]], width, 690 if (dstBuf) (*env)->ReleasePrimitiveArrayCritical(env, dst, dstBuf, 0) [all...] |
turbojpeg.c | 873 unsigned char *dstBuf, int pad, int subsamp, 883 if (width <= 0 || height <= 0 || dstBuf == NULL || pad < 0 || !isPow2(pad) || 889 dstPlanes[0] = dstBuf; 912 unsigned char *dstBuf, int subsamp, int flags) 915 dstBuf, 4, subsamp, flags); 920 unsigned char *dstBuf, int subsamp, int flags) 923 getPixelFormat(pixelSize, flags), dstBuf, subsamp, [all...] |
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
TJDecompressor.java | 318 * @param dstBuf buffer that will receive the decompressed/decoded image. 377 public void decompress(byte[] dstBuf, int x, int y, int desiredWidth, 382 if (dstBuf == null || x < 0 || y < 0 || pitch < 0 || 388 yuvImage.getStrides(), yuvImage.getSubsamp(), dstBuf, x, y, 393 decompress(jpegBuf, jpegBufSize, dstBuf, x, y, desiredWidth, pitch, 396 decompress(jpegBuf, jpegBufSize, dstBuf, desiredWidth, pitch, 407 public void decompress(byte[] dstBuf, int desiredWidth, int pitch, 410 decompress(dstBuf, 0, 0, desiredWidth, pitch, desiredHeight, pixelFormat, 502 public void decompressToYUV(byte[] dstBuf, int flags) throws TJException { 503 YUVImage dstYUVImage = new YUVImage(dstBuf, jpegWidth, 4, jpegHeight [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
DecoderTestAacDrc.java | 461 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; 464 extractor.readSampleData(dstBuf, 0 /* offset */);
|
ImageReaderDecoderTest.java | 500 ByteBuffer dstBuf = decoderInputBuffers[inputBufIndex]; 502 extractor.readSampleData(dstBuf, 0 /* offset */); [all...] |
MediaMuxerTest.java | 510 ByteBuffer dstBuf = ByteBuffer.allocate(bufferSize); 541 bufferInfo.size = extractor.readSampleData(dstBuf, offset); 554 muxer.writeSampleData(indexMap.get(trackIndex), dstBuf, [all...] |
VideoDecoderPerfTest.java | 241 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; 247 dstBuf.put(sample.first); [all...] |
/external/swiftshader/src/Device/ |
Surface.cpp | [all...] |
/external/swiftshader/src/Renderer/ |
Surface.cpp | [all...] |
/cts/tests/video/src/android/video/cts/ |
VideoEncoderDecoderTest.java | [all...] |