Searched refs:offset (Results 1 - 25 of 69) sorted by relevance

123

/hardware/ti/omap4xxx/camera/inc/
H A DVideoMetadata.h20 /* This structure is used to pass buffer offset from Camera-Hal to Encoder component
28 int offset; member in struct:__anon820
/hardware/msm7k/libgralloc-qsd8k/tests/
H A Dpmemalloc_test.cpp38 virtual int mapPmem(int fd, int offset, size_t size) { argument
42 virtual int unmapPmem(int fd, int offset, size_t size) { argument
51 off_t offset) {
83 virtual ssize_t deallocate(size_t offset) { argument
110 off_t offset) {
156 off_t offset) {
300 virtual int mapPmem(int fd, int offset, size_t size) { argument
302 EXPECT_EQ(0x300, offset);
327 int offset = -9182, fd = -9182; local
330 int result = pma.alloc_pmem_buffer(size, flags, &base, &offset,
50 mmap(void* start, size_t length, int prot, int flags, int fd, off_t offset) argument
109 mmap(void* start, size_t length, int prot, int flags, int fd, off_t offset) argument
155 mmap(void* start, size_t length, int prot, int flags, int fd, off_t offset) argument
354 int offset = -9182, fd = -9182; local
393 int offset = -9182, fd = -9182; local
426 int offset = -9182, fd = -9182; local
441 mapPmem(int fd, int offset, size_t size) argument
460 int offset = -9182, fd = -9182; local
483 mmap(void* start, size_t length, int prot, int flags, int fd, off_t offset) argument
496 int offset = -9182, fd = -9182; local
519 int offset = -9182, fd = -9182; local
554 int offset = -9182, fd = -9182; local
575 mmap(void* start, size_t length, int prot, int flags, int fd, off_t offset) argument
591 int offset = -9182, fd = -9182; local
[all...]
/hardware/msm7k/libgralloc-qsd8k/
H A Dpmemalloc.h40 virtual int free_pmem_buffer(size_t size, void* base, int offset, int fd) = 0;
62 virtual ssize_t deallocate(size_t offset) = 0;
70 virtual int mapPmem(int fd, int offset, size_t size) = 0;
71 virtual int unmapPmem(int fd, int offset, size_t size) = 0;
78 off_t offset) = 0;
93 virtual int free_pmem_buffer(size_t size, void* base, int offset, int fd);
138 off_t offset) = 0;
152 virtual int free_pmem_buffer(size_t size, void* base, int offset, int fd);
H A Dpmemalloc.cpp152 int offset = allocator.allocate(size); local
153 if (offset < 0) {
160 //LOGD("%s: allocating pmem at offset 0x%p", pmemdev, offset);
172 err = deps.mapPmem(fd, offset, size);
179 allocator.deallocate(offset);
182 LOGV("%s: mapped fd %d at offset %d, size %d", pmemdev, fd, offset, size);
183 memset((char*)base + offset, 0, size);
185 *pOffset = offset;
303 free_pmem_buffer(size_t size, void* base, int offset, int fd) argument
[all...]
H A Dgralloc.cpp80 virtual int mapPmem(int fd, int offset, size_t size) { argument
81 struct pmem_region sub = { offset, size };
85 virtual int unmapPmem(int fd, int offset, size_t size) { argument
86 struct pmem_region sub = { offset, size };
95 off_t offset) {
96 return ::mmap(start, length, prot, flags, fd, offset);
94 mmap(void* start, size_t length, int prot, int flags, int fd, off_t offset) argument
H A Dmapper.cpp40 // we need this for now because pmem cannot mmap at an offset
61 size += hnd->offset;
71 hnd->base = intptr_t(mappedAddress) + hnd->offset;
73 // hnd->fd, hnd->offset, hnd->size, mappedAddress);
87 base = (void*)(intptr_t(base) - hnd->offset);
88 size += hnd->offset;
285 region.offset = hnd->offset;
289 hnd, hnd->offset, hnd->size);
H A Dallocator.cpp64 ssize_t offset = alloc(size, flags);
65 return offset;
68 ssize_t SimpleBestFitAllocator::deallocate(size_t offset) argument
72 chunk_t const * const freed = dealloc(offset);
138 "block at offset 0x%08lX of size 0x%08lX already freed",
157 "freed block at offset 0x%08lX of size 0x%08lX is not free!",
H A Dframebuffer.cpp114 const size_t offset = hnd->base - m->framebuffer->base; local
116 m->info.yoffset = offset / m->finfo.line_length;
202 /* Interpretation of offset for color fields: All offsets are from the right,
204 * can use the offset as right argument to <<). A pixel afterwards is a bit
213 info.red.offset = 24;
215 info.green.offset = 16;
217 info.blue.offset = 8;
219 info.transp.offset = 0;
295 info.red.offset, info.red.length,
296 info.green.offset, inf
[all...]
H A Dgpu.cpp96 hnd->offset = vaddr - intptr_t(m->framebuffer->base);
121 // the PmemAllocator rather than getting the base & offset separately
122 int offset = 0; local
165 err = pma->alloc_pmem_buffer(size, usage, &base, &offset, &fd);
188 hnd->offset = offset;
189 hnd->base = int(base)+offset;
291 hnd->offset, hnd->fd);
H A Dgralloc_priv.h113 int offset; member in struct:private_handle_t
129 fd(fd), magic(sMagic), flags(flags), size(size), offset(0), gpu_fd(-1),
/hardware/broadcom/wlan/bcm4329/dhdutil/include/
H A Dsdiovar.h33 int offset; member in struct:sdreg
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
H A Dsdiovar.h33 int offset; member in struct:sdreg
/hardware/qcom/media/mm-video/vidc/venc/inc/
H A Domx_video_common.h67 unsigned offset; member in struct:pmem
/hardware/invensense/mlsdk/mllite/
H A Dmldl.c156 unsigned short offset; local
162 offset = sGetAddress(key);
163 if (offset >= localDmpMemorySize || (offset + length) > localDmpMemorySize) {
167 memcpy(buffer, &localDmpMemory[offset], length);
174 unsigned short offset; local
179 offset = sGetAddress(key);
180 return offset;
604 * @brief Set the Temperature Compensation offset.
606 * a pointer to the temperature compensations offset
682 inv_set_offset(const short *offset) argument
[all...]
H A DmlSetGyroBias.c76 biasPrev[i] = (long)mldl_cfg->offset[i];
112 short offset[3]; local
125 offset[i] = (short)biasTmp;
127 result = inv_set_gyro_bias_in_hw_unit(offset, mode);
H A DmlFIFO.c187 /** Adjusts (len) Reference Counts, at offset (refOffset). If increment is 0,
265 int offset; local
272 offset = fifo_base_offset[i];
281 *fifo_offsets_ptr++ = offset + 3;
282 *fifo_offsets_ptr++ = offset + 2;
285 *fifo_offsets_ptr++ = offset + 2;
286 *fifo_offsets_ptr++ = offset + 3;
293 *fifo_offsets_ptr++ = offset + 3;
295 *fifo_offsets_ptr++ = offset + 3;
296 *fifo_offsets_ptr++ = offset
[all...]
/hardware/libhardware/modules/gralloc/
H A Dgralloc_priv.h75 int offset; member in struct:private_handle_t
87 fd(fd), magic(sMagic), flags(flags), size(size), offset(0),
/hardware/msm7k/libgralloc/
H A Dgralloc_priv.h81 int offset; member in struct:private_handle_t
95 fd(fd), magic(sMagic), flags(flags), size(size), offset(0),
H A Dgralloc.cpp176 hnd->offset = vaddr - intptr_t(m->framebuffer->base);
257 LOGD("smi: offset=%08lx, len=%08lx, phys=%p",
261 LOGD("ebi: offset=%08lx, len=%08lx, phys=%p",
265 LOGD("reg: offset=%08lx, len=%08lx, phys=%p",
323 int offset = 0; local
352 offset = sAllocator.allocate(size);
353 if (offset < 0) {
357 struct pmem_region sub = { offset, size };
374 sAllocator.deallocate(offset);
377 memset((char*)base + offset,
[all...]
H A Dallocator.cpp64 ssize_t offset = alloc(size, flags);
65 return offset;
68 ssize_t SimpleBestFitAllocator::deallocate(size_t offset) argument
72 chunk_t const * const freed = dealloc(offset);
138 "block at offset 0x%08lX of size 0x%08lX already freed",
157 "freed block at offset 0x%08lX of size 0x%08lX is not free!",
H A Dmapper.cpp40 // we need this for now because pmem cannot mmap at an offset
61 size += hnd->offset;
71 hnd->base = intptr_t(mappedAddress) + hnd->offset;
73 // hnd->fd, hnd->offset, hnd->size, mappedAddress);
87 base = (void*)(intptr_t(base) - hnd->offset);
88 size += hnd->offset;
H A Dframebuffer.cpp100 const size_t offset = hnd->base - m->framebuffer->base; local
102 m->info.yoffset = offset / m->finfo.line_length;
186 info.red.offset = 11;
188 info.green.offset = 5;
190 info.blue.offset = 0;
192 info.transp.offset = 0;
259 info.red.offset, info.red.length,
260 info.green.offset, info.green.length,
261 info.blue.offset, info.blue.length
400 blit.req.src.offset
[all...]
/hardware/ti/omap4xxx/ion/
H A Dion.h32 int flags, off_t offset, unsigned char **ptr, int *map_fd);
/hardware/ril/mock-ril/src/cpp/
H A Dnode_buffer.cpp417 // var charsWritten = buffer.utf8Write(string, offset);
431 size_t offset = args[1]->Int32Value(); local
433 if (offset >= buffer->length_) {
434 DBG("Buffer::Utf8Write(args) X offset bad");
439 const char *p = buffer->data() + offset;
444 buffer->length_ - offset,
458 // var charsWritten = buffer.asciiWrite(string, offset);
473 size_t offset = args[1]->Int32Value(); local
475 if (offset >= buffer->length_) {
476 DBG("Buffer::AsciiWrite(args) X bad offset");
505 size_t offset = args[1]->Int32Value(); local
[all...]
H A Dnode_buffer.h72 int AsciiWrite(char *string, int offset, int length);
73 int Utf8Write(char *string, int offset, int length);
93 size_t off_; // offset inside blob_

Completed in 450 milliseconds

123