/frameworks/base/graphics/java/android/renderscript/ |
Type.java | 201 int[] dataBuffer = new int[6]; 202 mRS.nTypeGetNativeData(getID(mRS), dataBuffer); 204 mDimX = dataBuffer[0]; 205 mDimY = dataBuffer[1]; 206 mDimZ = dataBuffer[2]; 207 mDimMipmaps = dataBuffer[3] == 1 ? true : false; 208 mDimFaces = dataBuffer[4] == 1 ? true : false; 210 int elementID = dataBuffer[5];
|
Element.java | 807 int[] dataBuffer = new int[5]; 808 mRS.nElementGetNativeData(getID(mRS), dataBuffer); 810 mNormalized = dataBuffer[2] == 1 ? true : false; 811 mVectorSize = dataBuffer[3]; 814 if(dt.mID == dataBuffer[0]){ 820 if(dk.mID == dataBuffer[1]){ 825 int numSubElements = dataBuffer[4]; [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/audio/dec/ |
Exynos_OMX_Adec.c | 379 EXYNOS_OMX_DATABUFFER *dataBuffer = &exynosOMXInputPort->way.port1WayDataBuffer.dataBuffer; 380 OMX_BUFFERHEADERTYPE *bufferHeader = dataBuffer->bufferHeader; 414 dataBuffer->dataValid = OMX_FALSE; 415 dataBuffer->dataLen = 0; 416 dataBuffer->remainDataLen = 0; 417 dataBuffer->usedDataLen = 0; 418 dataBuffer->bufferHeader = NULL; 419 dataBuffer->nFlags = 0; 420 dataBuffer->timeStamp = 0 [all...] |
/frameworks/base/opengl/java/android/opengl/ |
ETC1Util.java | 170 ByteBuffer dataBuffer = ByteBuffer.allocateDirect(encodedSize).order(ByteOrder.nativeOrder()); 176 dataBuffer.put(ioBuffer, 0, chunkSize); 179 dataBuffer.position(0); 180 return new ETC1Texture(width, height, dataBuffer); 207 ByteBuffer dataBuffer = texture.getData(); 208 int originalPosition = dataBuffer.position(); 220 dataBuffer.get(ioBuffer, 0, chunkSize); 225 dataBuffer.position(originalPosition);
|
/cts/tests/src/android/opengl/cts/ |
CompressedTextureLoader.java | 194 ByteBuffer dataBuffer; 195 dataBuffer = ByteBuffer.allocateDirect(dataSize).order(ByteOrder.nativeOrder()); 196 bitmap.copyPixelsToBuffer(dataBuffer); 197 dataBuffer.position(0); 200 ETC1Util.ETC1Texture compressed = compressTexture(dataBuffer, 213 ByteBuffer dataBuffer; 214 dataBuffer = ByteBuffer.allocateDirect(dataSize).order(ByteOrder.nativeOrder()); 223 dataBuffer.put(ioBuffer, 0, chunkSize); 226 dataBuffer.position(0); 227 return dataBuffer; [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/ |
Exynos_OMX_VencControl.h | 90 OMX_ERRORTYPE Exynos_InputBufferReturn(OMX_COMPONENTTYPE *pOMXComponent, EXYNOS_OMX_DATABUFFER *dataBuffer); 91 OMX_ERRORTYPE Exynos_OutputBufferReturn(OMX_COMPONENTTYPE *pOMXComponent, EXYNOS_OMX_DATABUFFER *dataBuffer);
|
Exynos_OMX_Venc.c | 209 pData->buffer.multiPlaneBuffer.dataBuffer[0] = pInputCodecBuffer->pVirAddr[0]; 210 pData->buffer.multiPlaneBuffer.dataBuffer[1] = pInputCodecBuffer->pVirAddr[1]; 234 pData->buffer.singlePlaneBuffer.dataBuffer = pSrcBuf; 309 pDstBuf[0] = srcInputData->buffer.multiPlaneBuffer.dataBuffer[0]; 310 pDstBuf[1] = srcInputData->buffer.multiPlaneBuffer.dataBuffer[1]; 311 pDstBuf[2] = srcInputData->buffer.multiPlaneBuffer.dataBuffer[2]; 433 if ((srcInputData->buffer.multiPlaneBuffer.dataBuffer[0] == NULL) || 453 /* reset dataBuffer */ 460 srcInputData->buffer.multiPlaneBuffer.dataBuffer[0] = (void *)Exynos_OSAL_SharedMemory_Alloc(pVideoEnc->hSharedMemory, allocSize[0], NORMAL_MEMORY); 461 srcInputData->buffer.multiPlaneBuffer.fd[0] = Exynos_OSAL_SharedMemory_VirtToION(pVideoEnc->hSharedMemory, srcInputData->buffer.multiPlaneBuffer.dataBuffer[0]) [all...] |
Exynos_OMX_VencControl.c | 394 *pDataBuffer = &pExynosPort->way.port1WayDataBuffer.dataBuffer; 586 OMX_ERRORTYPE Exynos_InputBufferReturn(OMX_COMPONENTTYPE *pOMXComponent, EXYNOS_OMX_DATABUFFER *dataBuffer) 595 bufferHeader = dataBuffer->bufferHeader; 622 /* reset dataBuffer */ 623 Exynos_ResetDataBuffer(dataBuffer); 682 OMX_ERRORTYPE Exynos_OutputBufferReturn(OMX_COMPONENTTYPE *pOMXComponent, EXYNOS_OMX_DATABUFFER *dataBuffer) 691 bufferHeader = dataBuffer->bufferHeader; 694 bufferHeader->nFilledLen = dataBuffer->remainDataLen; 696 bufferHeader->nFlags = dataBuffer->nFlags; 697 bufferHeader->nTimeStamp = dataBuffer->timeStamp [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
TypefaceTest.java | 174 byte[] dataBuffer = new byte[1024]; 176 while ((readLength = is.read(dataBuffer)) != -1) { 177 fOutput.write(dataBuffer, 0, readLength);
|
BitmapFactoryTest.java | 496 byte[] dataBuffer = new byte[1024]; 499 fOutput.write(dataBuffer, 0, (int) offset); 501 while ((readLength = is.read(dataBuffer)) != -1) { 502 fOutput.write(dataBuffer, 0, readLength);
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/common/ |
Exynos_OMX_Baseport.h | 78 OMX_PTR dataBuffer; 85 OMX_PTR dataBuffer[MAX_BUFFER_PLANE]; 110 EXYNOS_OMX_DATABUFFER dataBuffer;
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/ |
Exynos_OMX_VdecControl.h | 90 OMX_ERRORTYPE Exynos_InputBufferReturn(OMX_COMPONENTTYPE *pOMXComponent, EXYNOS_OMX_DATABUFFER *dataBuffer); 91 OMX_ERRORTYPE Exynos_OutputBufferReturn(OMX_COMPONENTTYPE *pOMXComponent, EXYNOS_OMX_DATABUFFER *dataBuffer);
|
Exynos_OMX_Vdec.c | 282 pData->buffer.singlePlaneBuffer.dataBuffer = pInputCodecBuffer->pVirAddr[0]; 315 pData->buffer.multiPlaneBuffer.dataBuffer[i] = pCodecBuffer->pVirAddr[i]; 379 pSrcBuf[0] = dstOutputData->buffer.multiPlaneBuffer.dataBuffer[0]; 380 pSrcBuf[1] = dstOutputData->buffer.multiPlaneBuffer.dataBuffer[1]; 381 pSrcBuf[2] = dstOutputData->buffer.multiPlaneBuffer.dataBuffer[2]; 489 if ((srcInputData->buffer.singlePlaneBuffer.dataBuffer == NULL) || 501 OMX_PTR dataBuffer = NULL; 503 dataBuffer = Exynos_OSAL_SharedMemory_IONToVirt(pVideoDec->hSharedMemory, 504 srcInputData->buffer.singlePlaneBuffer.dataBuffer); 505 if (dataBuffer == NULL) [all...] |
Exynos_OMX_VdecControl.c | 400 *pDataBuffer = &pExynosPort->way.port1WayDataBuffer.dataBuffer; 635 OMX_ERRORTYPE Exynos_InputBufferReturn(OMX_COMPONENTTYPE *pOMXComponent, EXYNOS_OMX_DATABUFFER *dataBuffer) 644 bufferHeader = dataBuffer->bufferHeader; 671 /* reset dataBuffer */ 672 Exynos_ResetDataBuffer(dataBuffer); 731 OMX_ERRORTYPE Exynos_OutputBufferReturn(OMX_COMPONENTTYPE *pOMXComponent, EXYNOS_OMX_DATABUFFER *dataBuffer) 740 bufferHeader = dataBuffer->bufferHeader; 743 bufferHeader->nFilledLen = dataBuffer->remainDataLen; 745 bufferHeader->nFlags = dataBuffer->nFlags; 746 bufferHeader->nTimeStamp = dataBuffer->timeStamp [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
DDSLoader.java | 489 ByteBuffer dataBuffer = BufferUtils.createByteBuffer(totalSize); 509 dataBuffer.position(offset + ((mipHeight - y - 1) * mipWidth + x) * targetBytesPP); 512 // dataBuffer.position(offset + (y * width + x) * targetBytesPP); 515 dataBuffer.put(red).put(green).put(blue); 517 dataBuffer.put(red).put(green).put(blue).put(alpha); 528 return dataBuffer; 630 ByteBuffer dataBuffer = BufferUtils.createByteBuffer(totalSize * depth); 633 // ByteBuffer dataBuffer = BufferUtils.createByteBuffer(totalSize); 651 dataBuffer.position(offset + ((mipHeight - y - 1) * mipWidth + x) * targetBytesPP); 654 // dataBuffer.position(offset + (y * width + x) * targetBytesPP) [all...] |
/external/aac/libMpegTPEnc/include/ |
tpenc_lib.h | 277 * \brief Get AudioSpecificConfig or StreamMuxConfig from transport encoder handle and write it to dataBuffer. 280 * \param dataBuffer Bitbuffer holding binary configuration. 286 FDK_BITSTREAM *dataBuffer,
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/audio/dec/mp3/ |
Exynos_OMX_Mp3dec.c | 491 OMX_PTR dataBuffer = NULL; 499 fwrite(pInputData->buffer.singlePlaneBuffer.dataBuffer, pInputData->dataLen, 1, inFile); 509 returnCodec = SRP_Decode(pInputData->buffer.singlePlaneBuffer.dataBuffer, pInputData->dataLen); 588 returnCodec = SRP_Get_PCM(&dataBuffer, &dataLen); 591 Exynos_OSAL_Memcpy(pOutputData->buffer.singlePlaneBuffer.dataBuffer, dataBuffer, dataLen); 598 fwrite(pOutputData->buffer.singlePlaneBuffer.dataBuffer, pOutputData->dataLen, 1, outFile); 765 pExynosPort->processData.buffer.singlePlaneBuffer.dataBuffer = Exynos_OSAL_Malloc(inputBufferSize); 766 if (pExynosPort->processData.buffer.singlePlaneBuffer.dataBuffer == NULL) { 862 Exynos_OSAL_Free(pExynosPort->processData.buffer.singlePlaneBuffer.dataBuffer); [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
SubtleCrypto.cpp | 52 ScriptPromise startCryptoOperation(const Dictionary& rawAlgorithm, Key* key, AlgorithmOperation operationType, ArrayBufferView* signature, ArrayBufferView* dataBuffer, ExceptionState& exceptionState) 66 if (!dataBuffer) { 67 exceptionState.throwTypeError("Invalid dataBuffer argument"); 78 const unsigned char* data = static_cast<const unsigned char*>(dataBuffer->baseAddress()); 79 unsigned dataSize = dataBuffer->byteLength();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SwtUtils.java | 37 import java.awt.image.DataBuffer; 140 DataBuffer dataBuffer = raster.getDataBuffer(); 144 if (dataBuffer instanceof DataBufferInt) { 145 int[] imageDataBuffer = ((DataBufferInt) dataBuffer).getData(); 147 } else if (dataBuffer instanceof DataBufferByte) { 148 byte[] imageDataBuffer = ((DataBufferByte) dataBuffer).getData();
|
ImageUtils.java | 381 int[] dataBuffer = ((DataBufferInt) image.getRaster().getDataBuffer()).getData(); 390 int a = dataBuffer[bufferOffset] >>> 24; 399 dataBuffer[bufferOffset] = a << 24 | shadowRgb; 405 a = dataBuffer[bufferOffset + right] >>> 24; 419 int a = dataBuffer[bufferOffset] >>> 24; 428 dataBuffer[bufferOffset] = a << 24 | shadowRgb; 434 a = dataBuffer[bufferOffset + lastPixelOffset] >>> 24; [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/ |
DefaultClient.java | 69 private ThreadLocal<ByteBuffer> dataBuffer = new ThreadLocal<ByteBuffer>(); 230 ByteBuffer buffer = dataBuffer.get(); 233 dataBuffer.set(buffer);
|
/external/aac/libMpegTPEnc/src/ |
tpenc_lib.cpp | 576 FDK_BITSTREAM *dataBuffer, 590 tpErr = CreateStreamMuxConfig(hLatmConfig, dataBuffer, 0, &hTpEnc->callbacks); 594 if (transportEnc_writeASC(dataBuffer, cc, &hTpEnc->callbacks) != 0) {
|
/frameworks/base/libs/hwui/ |
FontRenderer.cpp | 629 uint8_t* dataBuffer = (uint8_t*) memalign(RS_CPU_ALLOCATION_ALIGNMENT, size); 632 uint8_t* dataBuffer = (uint8_t*) malloc(size); 635 memset(dataBuffer, 0, size); 645 Font::BITMAP, dataBuffer, paddedWidth, paddedHeight, NULL, positions); 650 blurImage(&dataBuffer, paddedWidth, paddedHeight, radius); 655 image.image = dataBuffer;
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/h264/ |
Exynos_OMX_H264dec.c | [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/mpeg4/ |
Exynos_OMX_Mpeg4dec.c | 861 if (pInbufOps->Enqueue(hMFCHandle, (unsigned char **)&pSrcInputData->buffer.singlePlaneBuffer.dataBuffer, [all...] |