/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 504 XAuint32 data; member in struct:XAEngineOption_ 1302 XAuint8 data[1]; member in struct:XAMetadataInfo_ 2440 XAuint64 data
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES.h | 258 /** URI-based data locator definition where locatorType must be SL_DATALOCATOR_URI*/ 264 /** Address-based data locator definition where locatorType must be SL_DATALOCATOR_ADDRESS*/ 278 /** IODevice-based data locator definition where locatorType must be SL_DATALOCATOR_IODEVICE*/ 286 /** OutputMix-based data locator definition where locatorType must be SL_DATALOCATOR_OUTPUTMIX*/ 293 /** BufferQueue-based data locator definition where locatorType must be SL_DATALOCATOR_BUFFERQUEUE*/ 299 /** MidiBufferQueue-based data locator definition where locatorType must be SL_DATALOCATOR_MIDIBUFFERQUEUE*/ 312 /** MIME-type-based data format definition where formatType must be SL_DATAFORMAT_MIME*/ 319 /* Byte order of a block of 16- or 32-bit data */ 355 /** PCM-type-based data format definition where formatType must be SL_DATAFORMAT_PCM*/ 708 /* Meta data extractio 756 SLuint8 data[1]; member in struct:SLMetadataInfo_ 2748 SLuint32 data; member in struct:SLEngineOption_ [all...] |
/frameworks/wilhelm/src/android/ |
H A D | AacBqToPcmCbRenderer.cpp | 32 * @param data pointer to the compressed audio data 33 * @param offset offset in bytes relative to data of where the frame is supposed to start 34 * @param size the size in bytes of the data block starting at data 38 static size_t getAdtsFrameSize(const uint8_t *data, off64_t offset, size_t size) { argument 47 const uint8_t *syncword = data + offset; 53 const uint8_t protectionAbsent = data[offset+1] & 0x1; 55 const uint8_t* header = data + offset + 3; 76 * @param data pointe 83 validateBufferStartEndOnFrameBoundaries(void* data, size_t size) argument [all...] |
H A D | AudioPlayer_to_android.cpp | 101 // Callback associated with a AudioToCbRenderer of an SL ES AudioPlayer that gets its data 102 // from a URI or FD, to write the decoded audio data to a buffer queue 103 static size_t adecoder_writeToBufferQueue(const uint8_t *data, size_t size, CAudioPlayer* ap) { argument 113 // push decoded data to the buffer queue 124 // room to consume the whole or rest of the decoded data in one shot 126 // consume data but no callback to the BufferQueue interface here 127 memcpy (pDest, data, size); 130 // push as much as possible of the decoded data into the buffer queue 142 // consume data 143 memcpy (pDest, data, sizeConsume [all...] |
H A D | BufferQueueSource.cpp | 35 SL_ANDROIDBUFFERQUEUEEVENT_PROCESSED // item data 57 ssize_t BufferQueueSource::readAt(off64_t offset, void *data, size_t size) { argument 58 SL_LOGD("BufferQueueSource::readAt(offset=%lld, data=%p, size=%d)", offset, data, size); 83 // (either because there was a command with no data, or all the data has been consumed) 86 // consume events when starting to read data from a buffer for the first time 90 // EOS has no associated data 122 // consume data: copy to given destination 124 memcpy(data, pSr [all...] |
H A D | android_GenericPlayer.cpp | 284 void GenericPlayer::notify(const char* event, int data, bool async) { argument 285 SL_LOGV("GenericPlayer::notify(event=%s, data=%d, async=%s)", event, data, 288 msg->setInt32(event, (int32_t)data);
|
/frameworks/wilhelm/src/itf/ |
H A D | IMIDIMessage.c | 22 static SLresult IMIDIMessage_SendMessage(SLMIDIMessageItf self, const SLuint8 *data, argument 27 if (NULL == data) {
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | xaplay.c | 38 char data[MPEG2TS_PACKET_SIZE]; member in struct:__anon1705 111 printf("PrefetchEventCallback: Error while prefetching data, exiting\n"); 164 // enqueue the .ts data directly from mapped memory, so ignore the empty buffer pBufferData 198 // pure data with no items 204 // enqueue the optional data and optional items; there is always at least one or the other 229 case 0: // FIXME There's a private declaration '#define XA_DOMAINTYPE_CONTAINER 0' in src/data.h 299 fprintf(stderr, " -a Use Android buffer queue to supply data, default is URI\n"); 578 // wait for prefetch status callback to indicate either sufficient data or error
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | Allocation.java | 31 * {@link android.renderscript.Type} with the memory to provide storage for user data and objects. 35 * <p>Allocations are the primary way data moves into and out of scripts. Memory is user 41 * <li>Graphics Vertex: accessable as graphical vertex data.</li> 56 * call is necessary after the script data is updated to 59 * <p>Allocation data is uploaded in one of two primary ways. For simple 131 * graphics copy of the allocation data will contain a full 154 * @return Element that describes the structure of data in the 359 * data from an array. 361 * @param d the source data array 370 * data fro 665 copy1DRangeFrom(int off, int count, Allocation data, int dataOff) argument 699 copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) argument 706 copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) argument 713 copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) argument 720 copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) argument 739 copy2DRangeFrom(int xoff, int yoff, int w, int h, Allocation data, int dataXoff, int dataYoff) argument 758 copy2DRangeFrom(int xoff, int yoff, Bitmap data) argument [all...] |
H A D | RenderScript.java | 37 * does not provide any extended capabilities beyond simple data processing. 89 native int nContextGetUserMessage(int con, int[] data); argument 560 * coming from their scripts. When a script calls sendToClient the data
|
/frameworks/support/renderscript/v8/jni/ |
H A D | android_renderscript_RenderScript.cpp | 196 nContextGetUserMessage(JNIEnv *_env, jobject _this, RsContext con, jintArray data) argument 198 jint len = _env->GetArrayLength(data); 200 jint *ptr = _env->GetIntArrayElements(data, NULL); 210 _env->ReleaseIntArrayElements(data, ptr, 0); 420 nAllocationData1D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jintArray data, int sizeBytes) argument 422 jint len = _env->GetArrayLength(data); 424 jint *ptr = _env->GetIntArrayElements(data, NULL); 426 _env->ReleaseIntArrayElements(data, ptr, JNI_ABORT); 430 nAllocationData1D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jshortArray data, int sizeBytes) argument 432 jint len = _env->GetArrayLength(data); 440 nAllocationData1D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jbyteArray data, int sizeBytes) argument 450 nAllocationData1D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jfloatArray data, int sizeBytes) argument 461 nAllocationElementData1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint compIdx, jbyteArray data, int sizeBytes) argument 471 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jshortArray data, int sizeBytes) argument 482 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jbyteArray data, int sizeBytes) argument 493 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jintArray data, int sizeBytes) argument 504 nAllocationData2D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jfloatArray data, int sizeBytes) argument 539 nAllocationRead_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jintArray data) argument 550 nAllocationRead_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jshortArray data) argument 561 nAllocationRead_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jbyteArray data) argument 572 nAllocationRead_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jfloatArray data) argument 648 nScriptSetVarV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument 658 nScriptSetVarVE(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data, jint elem, jintArray dims) argument 696 nScriptInvokeV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument [all...] |
/frameworks/support/renderscript/v8/rs_support/driver/ |
H A D | rsdAllocation.cpp | 269 const void *data, size_t sizeBytes) { 277 alloc->incRefs(data, count); 281 memcpy(ptr, data, size); 287 uint32_t w, uint32_t h, const void *data, size_t sizeBytes) { 294 const uint8_t *src = static_cast<const uint8_t *>(data); 308 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h); 315 uint32_t w, uint32_t h, uint32_t d, const void *data, uint32_t sizeBytes) { 321 void *data, size_t sizeBytes) { 326 memcpy(data, ptr, count * eSize); 331 uint32_t w, uint32_t h, void *data, size_ 267 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument 285 rsdAllocationData2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument 312 rsdAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, const void *data, uint32_t sizeBytes) argument 319 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument 329 rsdAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes) argument 351 rsdAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, void *data, uint32_t sizeBytes) argument 422 rsdAllocationElementData1D(const Context *rsc, const Allocation *alloc, uint32_t x, const void *data, uint32_t cIdx, uint32_t sizeBytes) argument 442 rsdAllocationElementData2D(const Context *rsc, const Allocation *alloc, uint32_t x, uint32_t y, const void *data, uint32_t cIdx, uint32_t sizeBytes) argument [all...] |
H A D | rsdBcc.cpp | 633 uint32_t slot, void *data, size_t dataLength) { 636 //ALOGE("setGlobalVar %p %p %i %p %i", dc, script, slot, data, dataLength); 639 drv->mIntrinsicFuncs.setVar(dc, script, drv->mIntrinsicData, slot, data, dataLength); 649 memcpy(destPtr, data, dataLength); 655 uint32_t slot, void *data, size_t dataLength, 675 char *cVal = reinterpret_cast<char *>(data); 689 memcpy(destPtr, data, dataLength); 692 void rsdScriptSetGlobalBind(const Context *dc, const Script *script, uint32_t slot, Allocation *data) { argument 696 //ALOGE("setGlobalBind %p %p %i %p", dc, script, slot, data); 699 drv->mIntrinsicFuncs.bind(dc, script, drv->mIntrinsicData, slot, data); 632 rsdScriptSetGlobalVar(const Context *dc, const Script *script, uint32_t slot, void *data, size_t dataLength) argument 652 rsdScriptSetGlobalVarWithElemDims( const android::renderscript::Context *dc, const android::renderscript::Script *script, uint32_t slot, void *data, size_t dataLength, const android::renderscript::Element *elem, const size_t *dims, size_t dimLength) argument 718 rsdScriptSetGlobalObj(const Context *dc, const Script *script, uint32_t slot, ObjectBase *data) argument [all...] |
H A D | rsdCore.cpp | 194 void rsdLaunchThreads(Context *rsc, WorkerCallback_t cbk, void *data) { argument 197 dc->mWorkers.mLaunchData = data;
|
H A D | rsdIntrinsicBlur.cpp | 75 void * intrinsicData, uint32_t slot, Allocation *data) { 78 cp->alloc.set(data); 82 uint32_t slot, void *data, size_t dataLength) { 86 cp->radius = ((const float *)data)[0]; 74 Blur_Bind(const Context *dc, const Script *script, void * intrinsicData, uint32_t slot, Allocation *data) argument 81 Blur_SetVar(const Context *dc, const Script *script, void * intrinsicData, uint32_t slot, void *data, size_t dataLength) argument
|
H A D | rsdIntrinsicColorMatrix.cpp | 35 uint32_t slot, void *data, size_t dataLength) { 39 memcpy (cp->fp, data, dataLength); 34 ColorMatrix_SetVar(const Context *dc, const Script *script, void * intrinsicData, uint32_t slot, void *data, size_t dataLength) argument
|
H A D | rsdIntrinsicConvolve3x3.cpp | 34 void * intrinsicData, uint32_t slot, Allocation *data) { 37 cp->alloc.set(data); 41 uint32_t slot, void *data, size_t dataLength) { 45 memcpy (cp->fp, data, dataLength); 33 Convolve3x3_Bind(const Context *dc, const Script *script, void * intrinsicData, uint32_t slot, Allocation *data) argument 40 Convolve3x3_SetVar(const Context *dc, const Script *script, void * intrinsicData, uint32_t slot, void *data, size_t dataLength) argument
|
H A D | rsdIntrinsicConvolve5x5.cpp | 34 void * intrinsicData, uint32_t slot, Allocation *data) { 37 cp->alloc.set(data); 41 uint32_t slot, void *data, size_t dataLength) { 45 memcpy (cp->fp, data, dataLength); 33 Convolve5x5_Bind(const Context *dc, const Script *script, void * intrinsicData, uint32_t slot, Allocation *data) argument 40 Convolve5x5_SetVar(const Context *dc, const Script *script, void * intrinsicData, uint32_t slot, void *data, size_t dataLength) argument
|
H A D | rsdIntrinsicLUT.cpp | 32 void * intrinsicData, uint32_t slot, Allocation *data) { 35 cp->lut.set(data); 31 LUT_Bind(const Context *dc, const Script *script, void * intrinsicData, uint32_t slot, Allocation *data) argument
|
H A D | rsdIntrinsicYuvToRGB.cpp | 32 void * intrinsicData, uint32_t slot, Allocation *data) { 35 cp->alloc.set(data); 31 YuvToRGB_Bind(const Context *dc, const Script *script, void * intrinsicData, uint32_t slot, Allocation *data) argument
|
H A D | rsdRuntimeStubs.cpp | 218 static uint32_t SC_ToClient2(int cmdID, void *data, int len) { argument 220 return rsrToClient(rsc, sc, cmdID, data, len); 228 static uint32_t SC_ToClientBlocking2(int cmdID, void *data, int len) { argument 230 return rsrToClientBlocking(rsc, sc, cmdID, data, len);
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsAdapter.cpp | 40 void Adapter1D::data(Context *rsc, uint32_t x, uint32_t count, const void *data, size_t sizeBytes) { argument 41 mAllocation->data(rsc, x, mY, mLOD, mFace, count, 1, data, sizeBytes); 111 void Adapter2D::data(Context *rsc, uint32_t x, uint32_t y, uint32_t w, uint32_t h, argument 112 const void *data, size_t sizeBytes) { 113 mAllocation->data(rsc, x, y, mLOD, mFace, w, h, data, sizeBytes);
|
H A D | rsAllocation.cpp | 71 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, argument 72 uint32_t count, const void *data, size_t sizeBytes) { 82 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); 86 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument 87 uint32_t w, uint32_t h, const void *data, size_t sizeBytes) { 91 //ALOGE("data2d %p, %i %i %i %i %i %i %p %i", this, xoff, yoff, lod, face, w, h, data, sizeBytes); 99 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); 103 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, argument 105 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes) { 109 uint32_t count, void *data, size_ 108 read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument 122 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes) argument 136 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes) argument 141 elementData(Context *rsc, uint32_t x, const void *data, uint32_t cIdx, size_t sizeBytes) argument 169 elementData(Context *rsc, uint32_t x, uint32_t y, const void *data, uint32_t cIdx, size_t sizeBytes) argument 270 unpackVec3Allocation(Context *rsc, const void *data, size_t dataSize) argument 435 rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument 442 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument 448 rsi_Allocation2DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t lod, RsAllocationCubemapFace face, const void *data, size_t sizeBytes, size_t eoff) argument 454 rsi_Allocation1DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) argument 460 rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument 466 rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument 499 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, const void *data, size_t sizeBytes, uint32_t usages) argument 521 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, const void *data, size_t sizeBytes, uint32_t usages) argument [all...] |
H A D | rsContext.cpp | 354 RsMessageToClientType Context::getMessageToClient(void *data, size_t *receiveLen, uint32_t *subID, size_t bufferLen) { argument 355 return (RsMessageToClientType)mIO.getClientPayload(data, receiveLen, subID, bufferLen); 358 bool Context::sendMessageToClient(const void *data, RsMessageToClientType cmdID, argument 361 return mIO.sendToClient(cmdID, subID, data, len, waitForSpace); 451 RsMessageToClientType rsi_ContextGetMessage(Context *rsc, void * data, size_t data_length, argument 456 return rsc->getMessageToClient(data, receiveLen, subID, data_length);
|
H A D | rsFifoSocket.cpp | 54 bool FifoSocket::writeAsync(const void *data, size_t bytes, bool waitForSpace) { argument 58 //ALOGE("writeAsync %p %i", data, bytes); 59 size_t ret = ::send(sv[0], data, bytes, 0); 76 size_t FifoSocket::read(void *data, size_t bytes) { argument 81 //ALOGE("read %p %i", data, bytes); 82 size_t ret = ::recv(sv[1], data, bytes, MSG_WAITALL); 101 void FifoSocket::readReturn(const void *data, size_t bytes) { argument 102 //ALOGE("readReturn %p %Zu", data, bytes); 103 size_t ret = ::send(sv[1], data, bytes, 0);
|