Searched refs:ptr (Results 151 - 175 of 223) sorted by relevance

123456789

/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4AudioAssembler.cpp369 uint8_t *ptr = buffer->data(); local
386 tmp = ptr[offset++];
414 memcpy(out->data() + out->size(), &ptr[offset], payloadLength);
H A DAPacketSource.cpp340 const uint8_t *ptr = config->data(); local
344 if (memcmp("\x00\x00\x01", &ptr[offset], 3)
345 || (ptr[offset + 3] & 0xf0) != 0x20) {
359 &ptr[offset], config->size() - offset, width, height);
H A DMyHandler.h252 uint8_t *ptr = buf->data() + buf->size(); local
253 ptr[0] = 0x80 | 0;
254 ptr[1] = 201; // RR
255 ptr[2] = 0;
256 ptr[3] = 1;
257 ptr[4] = 0xde; // SSRC
258 ptr[5] = 0xad;
259 ptr[6] = 0xbe;
260 ptr[7] = 0xef;
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c124 char *ptr; member in struct:FwdLockConv_String
452 char *newPtr = realloc(pString->ptr, newMaxLength + 1);
456 pString->ptr = newPtr;
459 pString->ptr[pString->length++] = ch;
460 pString->ptr[pString->length] = '\0';
473 if (strncmp(pSession->mimeHeaderName.ptr, strContent, strlenContent) == 0) {
474 if (strcmp(pSession->mimeHeaderName.ptr + strlenContent, strType) == 0) {
475 if (pSession->contentType.ptr == NULL) {
480 } else if (strcmp(pSession->mimeHeaderName.ptr + strlenContent, strTransferEncoding) == 0) {
504 if (pSession->contentType.ptr
[all...]
/frameworks/av/include/media/stagefright/
H A DMPEG4Writer.h60 inline size_t write(const void *ptr, size_t size, size_t nmemb);
/frameworks/av/include/ndk/
H A DNdkMediaDrm.h43 const uint8_t *ptr; member in struct:__anon91
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyEffects.cpp487 int *ptr = (int *)fx_param->data; local
490 ALOGV("loadEffectParameter() ptr %p ptr2 %p", ptr, ptr2);
492 *ptr++ = atoi(param->name);
493 *ptr = atoi(param->value);
/frameworks/base/core/jni/android/graphics/
H A DPathEffect.cpp40 SkScalar* intervals = autoInterval.ptr();
/frameworks/base/core/jni/
H A Dandroid_hardware_location_ContextHubService.cpp406 int *ptr = (int *)cookie; local
408 if (!ptr || *ptr >= db.hubInfo.numHubs) {
412 if (db.hubInfo.hubs[*ptr].hub_id != hub_id) {
/frameworks/native/libs/binder/
H A DParcel.cpp1216 void* ptr = writeInplace(len); local
1217 if (!ptr) return NO_MEMORY;
1219 outBlob->init(-1, ptr, len, false);
1231 void* ptr = ::mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); local
1232 if (ptr == MAP_FAILED) {
1245 outBlob->init(fd, ptr, len, mutableCopy);
1251 ::munmap(ptr, len);
1672 binder_uintptr_t ptr; local
1673 ret = readAligned(&ptr);
1675 *pArg = ptr;
2030 const void* ptr = readInplace(len); local
2042 void* ptr = ::mmap(NULL, len, isMutable ? PROT_READ | PROT_WRITE : PROT_READ, local
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuScript.h101 Allocation * getAllocationForPointer(const void *ptr) const override;
H A Drsd_cpu.h76 virtual Allocation * getAllocationForPointer(const void *ptr) const = 0;
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp154 const Allocation * rsGetAllocation(const void *ptr) { argument
157 Allocation* alloc = rsdScriptGetAllocationForPointer(rsc, sc, ptr);
163 const android::renderscript::rs_allocation rsGetAllocation(const void *ptr) { argument
166 Allocation* alloc = rsdScriptGetAllocationForPointer(rsc, sc, ptr);
322 void *ptr) {
341 (uintptr_t) ptr);
384 uint32_t usages, void *ptr) {
388 usages, ptr);
411 void *ptr) {
415 usages, ptr);
320 CreateAllocation( RsType type, RsAllocationMipmapControl mipmaps, uint32_t usages, void *ptr) argument
382 rsCreateAllocation(::rs_type type, rs_allocation_mipmap_control mipmaps, uint32_t usages, void *ptr) argument
409 rsCreateAllocation( ::rs_type type, rs_allocation_mipmap_control mipmaps, uint32_t usages, void *ptr) argument
498 rsSetElementAt(::rs_allocation a, const void *ptr, uint32_t x, uint32_t y, uint32_t z) argument
506 rsSetElementAt(::rs_allocation a, const void *ptr, uint32_t x, uint32_t y) argument
510 rsSetElementAt(::rs_allocation a, const void *ptr, uint32_t x) argument
[all...]
/frameworks/rs/
H A DrsElement.h60 void operator delete(void* ptr);
H A DrsScriptC_Lib.cpp292 uint32_t usages, uintptr_t ptr) {
293 return rsi_AllocationCreateTyped(rsc, type, mipmaps, usages, ptr);
290 rsrAllocationCreateTyped(Context *rsc, const RsType type, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr) argument
/frameworks/base/core/java/android/view/
H A DRenderNodeAnimator.java143 private void init(long ptr) { argument
144 mNativePtr = new VirtualRefBasePtr(ptr);
/frameworks/native/libs/binder/tests/
H A DbinderDriverInterfaceTest.cpp267 EXPECT_EQ(0u, br.arg2.target.ptr);
283 .arg1 = br.arg2.data.ptr.buffer,
/frameworks/av/media/libstagefright/
H A DMPEG4Writer.cpp1156 const uint8_t *ptr = local
1159 if (!memcmp(ptr, "\x00\x00\x00\x01", 4)) {
1200 const void *ptr, size_t size, size_t nmemb) {
1220 ::write(mFd, ptr, bytes);
1227 memcpy(mMoovBoxBuffer + mMoovBoxBufferOffset, ptr, bytes);
1231 ::write(mFd, ptr, size * nmemb);
3236 uint8_t *ptr = (uint8_t *)mCodecSpecificData; local
3237 ptr[4] = (ptr[4] & 0xfc) | (mOwner->useNalLengthFour() ? 3 : 1);
3250 uint8_t *ptr local
1199 write( const void *ptr, size_t size, size_t nmemb) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_deblocking.c1553 u8 *ptr; local
1562 ptr = data;
1575 FilterVerLumaEdge(ptr, tmp[0].left, thresholds + LEFT, width);
1577 FilterVerLumaEdge(ptr+4, tmp[1].left, thresholds + INNER, width);
1579 FilterVerLumaEdge(ptr+8, tmp[2].left, thresholds + INNER, width);
1581 FilterVerLumaEdge(ptr+12, tmp[3].left, thresholds + INNER, width);
1591 FilterHorLuma(ptr, tmp[0].top, thresholds + offset, (i32)width);
1596 FilterHorLumaEdge(ptr, tmp[0].top, thresholds+offset,
1599 FilterHorLumaEdge(ptr+4, tmp[1].top, thresholds+offset,
1602 FilterHorLumaEdge(ptr
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c142 const unsigned char *ptr = (unsigned char *) temp; local
144 ssize_t actual = audio_utils_fifo_write(&fifo, ptr, (size_t) count);
151 ptr += actual * sfframesize;
H A Dplaybq.cpp142 const unsigned char *ptr = (unsigned char *) temp; local
144 ssize_t actual = audio_utils_fifo_write(&fifo, ptr, (size_t) count);
151 ptr += actual * sfframesize;
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
H A DSoftVorbis.cpp253 buf->ptr.owner = NULL;
377 buf.ptr.owner = NULL;
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.cpp26 #define container_of(ptr, type, member) \
27 (type *)((char*)(ptr) - offsetof(type, member))
/frameworks/base/opengl/java/android/opengl/
H A DGLES31Ext.java381 // C function void glObjectPtrLabelKHR ( const void *ptr, GLsizei length, const GLchar *label )
383 public static native void glObjectPtrLabelKHR(long ptr, String label); argument
385 // C function void glGetObjectPtrLabelKHR ( const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label )
387 public static native String glGetObjectPtrLabelKHR(long ptr); argument
H A DGLES32.java387 // C function void glObjectPtrLabel ( const void *ptr, GLsizei length, const GLchar *label )
389 public static native void glObjectPtrLabel(long ptr, String label); argument
391 // C function void glGetObjectPtrLabel ( const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label )
393 public static native String glGetObjectPtrLabel(long ptr); argument

Completed in 692 milliseconds

123456789