/hardware/qcom/msm8x09/kernel-headers/media/ |
H A D | msm_media_info.h | 42 * . . . . . . . . . . . . . . . . --> Buffer size alignment 49 * Total size = align((Y_Stride * Y_Scanlines 80 * . . . . . . . . . . . . . . . . --> Padding & Buffer size alignment 87 * Total size = align((Y_Stride * Y_Scanlines 138 * . . . . . . . . . . . . . . . . --> Buffer size alignment 147 * Total size = align((2*(Y_Stride * Y_Scanlines) 187 * . . . . . . . . . . . . . . -------> Buffer size aligned to 4k 201 * . . . . . . . . . . . . . . . . -------> Buffer size aligned to 4k 210 * . . . . . . . . . . . . . . -------> Buffer size aligned to 4k 218 * . . . . . . . . . . . . . . . . -------> Buffer size aligne 713 unsigned int uv_alignment = 0, size = 0; local [all...] |
/hardware/qcom/msm8x09/original-kernel-headers/media/ |
H A D | msm_media_info.h | 42 * . . . . . . . . . . . . . . . . --> Buffer size alignment 49 * Total size = align((Y_Stride * Y_Scanlines 80 * . . . . . . . . . . . . . . . . --> Padding & Buffer size alignment 87 * Total size = align((Y_Stride * Y_Scanlines 138 * . . . . . . . . . . . . . . . . --> Buffer size alignment 147 * Total size = align((2*(Y_Stride * Y_Scanlines) 187 * . . . . . . . . . . . . . . -------> Buffer size aligned to 4k 201 * . . . . . . . . . . . . . . . . -------> Buffer size aligned to 4k 210 * . . . . . . . . . . . . . . -------> Buffer size aligned to 4k 218 * . . . . . . . . . . . . . . . . -------> Buffer size aligne 713 unsigned int uv_alignment = 0, size = 0; local [all...] |
/hardware/interfaces/nfc/1.0/vts/functional/ |
H A D | VtsHalNfcV1_0TargetTest.cpp | 132 EXPECT_EQ(data.size(), nfc_->write(data)); 136 EXPECT_GE(6ul, res.args->last_data_.size()); 138 if (res.args->last_data_.size() == 6) { 141 EXPECT_EQ(4ul, res.args->last_data_.size()); 200 EXPECT_EQ(data.size(), nfc_->write(data)); 208 EXPECT_EQ(6ul, res.args->last_data_.size()); 213 EXPECT_EQ(4ul, res.args->last_data_.size()); 219 EXPECT_LE(8ul, res.args->last_data_.size()); 235 EXPECT_EQ(data.size(), nfc_->write(data)); 243 EXPECT_EQ(6ul, res.args->last_data_.size()); 322 size_t size = data.size(); local [all...] |
/hardware/qcom/display/msm8909/gralloc/ |
H A D | gr_utils.cpp | 179 unsigned int size = 0; local 192 size = alignedw * alignedh * bpp; 193 return size; 197 size = alignedw * alignedh * ASTC_BLOCK_SIZE; 198 return size; 205 size = alignedw * alignedh * 2; 209 size = ALIGN(alignedw * alignedh, SIZE_4K); 213 size = alignedw * alignedh * 1; 218 size = ALIGN(alignedw * alignedh, SIZE_4K); 219 size 280 GetBufferSizeAndDimensions(const BufferInfo &info, unsigned int *size, unsigned int *alignedw, unsigned int *alignedh) argument 582 unsigned int size = 0; local 606 unsigned int size = 0; local [all...] |
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
H A D | gr_utils.cpp | 179 unsigned int size = 0; local 192 size = alignedw * alignedh * bpp; 193 return size; 197 size = alignedw * alignedh * ASTC_BLOCK_SIZE; 198 return size; 205 size = alignedw * alignedh * 2; 209 size = ALIGN(alignedw * alignedh, SIZE_4K); 213 size = alignedw * alignedh * 1; 218 size = ALIGN(alignedw * alignedh, SIZE_4K); 219 size 280 GetBufferSizeAndDimensions(const BufferInfo &info, unsigned int *size, unsigned int *alignedw, unsigned int *alignedh) argument 582 unsigned int size = 0; local 606 unsigned int size = 0; local [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
H A D | hwc_color_manager.cpp | 65 uint32_t size(0); 68 size = UINT32(in.readInt32()); 69 if (size > 0 && size == in.dataAvail()) { 70 const void *data = in.readInplace(size); 73 sink->size = size; 77 DLOGW("Failing size checking, size = %d", size); 240 uint32_t size = sizeof(hwc_display_contents_1) + kNumSolidFillLayers * sizeof(hwc_layer_1_t); local 489 ssize_t size = 0; local [all...] |
/hardware/google/av/media/sfplugin/ |
H A D | ReflectedParamUpdater.cpp | 97 if (bufValue != NULL && bufValue->data() != NULL && bufValue->size() <= 64) { 100 hexdump(bufValue->data(), bufValue->size(), indent_ + 4, &tmp); 190 // TODO: get the proper size by iterating through the fields. 254 keyMap.size(), mMap.size()); 283 [¶msMap](const std::string &name, const FieldDesc &desc, const void *ptr, size_t size) { 299 _C2Param(uint32_t size, uint32_t index) : C2Param(size, index) { } 302 if (param->get()->size() < offset + size) { [all...] |
/hardware/libhardware/modules/gralloc/ |
H A D | mapper.cpp | 43 size_t size = hnd->size; local 44 void* mappedAddress = mmap(0, size, 51 //ALOGD("gralloc_map() succeeded fd=%d, off=%d, size=%d, vaddr=%p", 52 // hnd->fd, hnd->offset, hnd->size, mappedAddress); 64 size_t size = hnd->size; local 65 //ALOGD("unmapping from %p, size=%d", base, size); 66 if (munmap(base, size) < [all...] |
H A D | gralloc.cpp | 47 size_t size, int usage, buffer_handle_t* pHandle); 104 size_t size, int usage, buffer_handle_t* pHandle) 137 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), size, 157 size_t size, int usage, buffer_handle_t* pHandle) 162 int err = gralloc_alloc_framebuffer_locked(dev, size, usage, pHandle); 168 size_t size, int /*usage*/, buffer_handle_t* pHandle) 173 size = roundUpToPageSize(size); 175 fd = ashmem_create_region("gralloc-buffer", size); 182 private_handle_t* hnd = new private_handle_t(fd, size, 103 gralloc_alloc_framebuffer_locked(alloc_device_t* dev, size_t size, int usage, buffer_handle_t* pHandle) argument 156 gralloc_alloc_framebuffer(alloc_device_t* dev, size_t size, int usage, buffer_handle_t* pHandle) argument 167 gralloc_alloc_buffer(alloc_device_t* dev, size_t size, int , buffer_handle_t* pHandle) argument 235 size_t size = align(height, tileHeight) * stride * bytesPerPixel + 4; local [all...] |
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/ |
H A D | HidItem.cpp | 24 if (data.size() > 4 || data.size() == 0) { 43 size_t bitSize_1 = data.size() * 8 - 1; 49 std::vector<HidItem> HidItem::tokenize(const uint8_t *begin, size_t size) { argument 51 charvectorbuf<unsigned char> buf(begin, size); 119 os << "offset: " << h.offset << ", size: " << h.byteSize 124 os << h.data.size() << " byte(s) {";
|
/hardware/qcom/gps/msm8909w_3100/location/ |
H A D | LocationAPI.h | 439 size_t size; // set to sizeof(Location) member in struct:__anon3594 455 size_t size; // set to sizeof(LocationOptions) member in struct:__anon3595 463 size_t size; member in struct:__anon3596 468 size_t size; member in struct:__anon3597 473 size_t size; // set to sizeof(GeofenceOption) member in struct:__anon3598 480 size_t size; // set to sizeof(GeofenceInfo) member in struct:__anon3599 487 size_t size; // set to sizeof(GeofenceBreachNotification) member in struct:__anon3600 496 size_t size; // set to sizeof(GeofenceBreachNotification) member in struct:__anon3601 502 size_t size; // set to sizeof(GnssLocationInfo) member in struct:__anon3602 517 size_t size; // se member in struct:__anon3603 530 size_t size; // set to sizeof(GnssSv) member in struct:__anon3604 540 size_t size; // set to sizeof(GnssConfigSetAssistanceServer) member in struct:__anon3605 547 size_t size; // set to sizeof(GnssMeasurementsData) member in struct:__anon3606 571 size_t size; // set to sizeof(GnssMeasurementsClock) member in struct:__anon3607 585 size_t size; // set to sizeof(GnssSvNotification) member in struct:__anon3608 591 size_t size; // set to sizeof(GnssNmeaNotification) member in struct:__anon3609 598 size_t size; // set to sizeof(GnssMeasurementsNotification) member in struct:__anon3610 605 size_t size; // set to sizeof(GnssConfig) member in struct:__anon3611 620 size_t size; // set to sizeof member in struct:__anon3612 630 size_t size; // set to sizeof member in struct:__anon3613 638 size_t size; // set to sizeof member in struct:__anon3614 650 size_t size; // set to sizeof member in struct:__anon3615 747 size_t size; // set to sizeof(LocationCallbacks) member in struct:__anon3616 907 size_t size; // set to sizeof(LocationControlCallbacks) member in struct:__anon3617 [all...] |
/hardware/intel/common/utils/ISV/base/ |
H A D | isv_bufmanager.cpp | 160 ALOGD_IF(ISV_BUFFER_MANAGER_DEBUG, "%s: clear isv buffer %p finished, buffer size %d", __func__, this, buffer_size); 167 status_t ISVBufferManager::setBufferCount(int32_t size) argument 172 ALOGE("%s: the buffer queue should be empty before we set its size", __func__); 176 mBuffers.setCapacity(size); 184 for (uint32_t i = 0; i < mBuffers.size(); i++) { 189 ALOGD_IF(ISV_BUFFER_MANAGER_DEBUG, "%s: remove handle 0x%08lx, and then mBuffers.size() %d", __func__, 190 handle, mBuffers.size()); 202 if (handle == 0 || mBuffers.size() >= mBuffers.capacity()) 205 for (uint32_t i = 0; i < mBuffers.size(); i++) { 218 "%s: add handle 0x%08lx, and then mBuffers.size() [all...] |
/hardware/qcom/display/msm8960/libgralloc/ |
H A D | ionalloc.cpp | 74 ionAllocData.len = data.size; 114 clean_buffer(base, data.size, data.offset, fd_data.fd, 121 ALOGD_IF(DEBUG, "ion: Allocated buffer base:%p size:%d fd:%d", 127 int IonAlloc::free_buffer(void* base, size_t size, int offset, int fd) argument 130 ALOGD_IF(DEBUG, "ion: Freeing buffer base:%p size:%d fd:%d", 131 base, size, fd); 138 err = unmap_buffer(base, size, offset); 143 int IonAlloc::map_buffer(void **pBase, size_t size, int offset, int fd) argument 153 base = mmap(0, size, PROT_READ| PROT_WRITE, 161 ALOGD_IF(DEBUG, "ion: Mapped buffer base:%p size 167 unmap_buffer(void *base, size_t size, int offset) argument 179 clean_buffer(void *base, size_t size, int offset, int fd, int op) argument [all...] |
/hardware/qcom/msm8994/kernel-headers/media/ |
H A D | msm_media_info.h | 38 * . . . . . . . . . . . . . . . . --> Buffer size alignment 45 * Total size = align((Y_Stride * Y_Scanlines 75 * . . . . . . . . . . . . . . . . --> Padding & Buffer size alignment 82 * Total size = align((Y_Stride * Y_Scanlines 132 * . . . . . . . . . . . . . . . . --> Buffer size alignment 141 * Total size = align((2*(Y_Stride * Y_Scanlines) 181 * . . . . . . . . . . . . . . -------> Buffer size aligned to 4k 195 * . . . . . . . . . . . . . . . . -------> Buffer size aligned to 4k 204 * . . . . . . . . . . . . . . -------> Buffer size aligned to 4k 212 * . . . . . . . . . . . . . . . . -------> Buffer size aligne 529 unsigned int uv_alignment = 0, size = 0; local [all...] |
/hardware/qcom/msm8994/original-kernel-headers/media/ |
H A D | msm_media_info.h | 38 * . . . . . . . . . . . . . . . . --> Buffer size alignment 45 * Total size = align((Y_Stride * Y_Scanlines 75 * . . . . . . . . . . . . . . . . --> Padding & Buffer size alignment 82 * Total size = align((Y_Stride * Y_Scanlines 132 * . . . . . . . . . . . . . . . . --> Buffer size alignment 141 * Total size = align((2*(Y_Stride * Y_Scanlines) 181 * . . . . . . . . . . . . . . -------> Buffer size aligned to 4k 195 * . . . . . . . . . . . . . . . . -------> Buffer size aligned to 4k 204 * . . . . . . . . . . . . . . -------> Buffer size aligned to 4k 212 * . . . . . . . . . . . . . . . . -------> Buffer size aligne 529 unsigned int uv_alignment = 0, size = 0; local [all...] |
/hardware/google/av/media/sfplugin/utils/ |
H A D | Codec2BufferUtils.cpp | 42 inline static void copy(A *a, const B *b, size_t size) { argument 43 __builtin_memcpy(a, b, size); 50 inline static void copy(const A *a, B *b, size_t size) { argument 51 MemCopier<true, S>::copy(b, a, size); 279 MemoryBlockPoolBlock(size_t size) argument 280 : mData(new uint8_t[size]), mSize(mData ? size : 0) { } 290 size_t size() const { function in struct:android::__anon285::MemoryBlockPoolBlock 307 // return block to free blocks if it is the current size; otherwise, discard 308 if (block->size() 315 fetch(size_t size) argument 359 size_t size() const { function in struct:android::MemoryBlock::Impl 368 fetch(size_t size) argument 390 size_t MemoryBlock::size() const { function in class:android::MemoryBlock 394 Allocate(size_t size) argument [all...] |
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
H A D | hw_rome.c | 70 int read_vs_hci_event(int fd, unsigned char* buf, int size); 321 int read_vs_hci_event(int fd, unsigned char* buf, int size) argument 326 if (size <= 0) { 327 ALOGE("Invalid size arguement!"); 356 if (buf[2] < (size - 3)) 359 remain = size - 3; 380 int hci_send_wipower_vs_cmd(int fd, unsigned char *cmd, unsigned char *rsp, int size) argument 386 ret = do_write(fd, cmd, size); 387 if (ret != size) { 405 int hci_send_vs_cmd(int fd, unsigned char *cmd, unsigned char *rsp, int size) argument 569 int size, err; local 600 int index = 1, err = 0, size = 0; local 691 int c, size, index, ret = -1; local 771 int size, err; local 801 int size, err = 0; local 949 int size=0, err = -1; local 1127 int i, size, err = 0; local 1396 int size, err = 0; local 1427 int size, err = 0; local 1458 int size, err = 0; local 1522 int size, err = 0; local 1580 int size, err = 0; local 1617 int size, err = 0; local 1664 int size, err = 0; local 1694 int size, err = 0; local 1756 int size, err = 0; local 1850 int err = -1, size = 0; local [all...] |
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
H A D | hwc_color_manager.cpp | 63 uint32_t size(0); 66 size = UINT32(in.readInt32()); 67 if (size > 0 && size == in.dataAvail()) { 68 const void *data = in.readInplace(size); 71 sink->size = size; 75 DLOGW("Failing size checking, size = %d", size); 400 ssize_t size = 0; local [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
H A D | hwc_color_manager.cpp | 64 uint32_t size(0); 67 size = UINT32(in.readInt32()); 68 if (size > 0 && size == in.dataAvail()) { 69 const void *data = in.readInplace(size); 72 sink->size = size; 76 DLOGW("Failing size checking, size = %d", size); 401 ssize_t size = 0; local [all...] |
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
H A D | hwc_color_manager.cpp | 64 uint32_t size(0); 67 size = UINT32(in.readInt32()); 68 if (size > 0 && size == in.dataAvail()) { 69 const void *data = in.readInplace(size); 72 sink->size = size; 76 DLOGW("Failing size checking, size = %d", size); 404 ssize_t size = 0; local [all...] |
/hardware/google/av/codec2/vndk/ |
H A D | C2AllocatorIon.cpp | 69 C2HandleIon(int bufferFd, size_t size) argument 72 mInts{ int(size & 0xFFFFFFFF), int((uint64_t(size) >> 32) & 0xFFFFFFFF), kMagic } { } 77 size_t size() const { function in struct:android::C2HandleIon 87 int mSizeLo; // low 32-bits of size 88 int mSizeHi; // high 32-bits of size 127 size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, 129 virtual c2_status_t unmap(void *addr, size_t size, C2Fence *fenceFd) override; 136 C2AllocationIon(int ionFd, size_t size, size_t align, unsigned heapMask, unsigned flags, C2Allocator::id_t id); 137 C2AllocationIon(int ionFd, size_t size, in 212 Alloc(int ionFd, size_t size, size_t align, unsigned heapMask, unsigned flags, C2Allocator::id_t id) argument 230 map(size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, void **addr) argument 290 unmap(void *addr, size_t size, C2Fence *fence) argument 362 size_t size; member in struct:android::C2AllocationIon::Impl::Mapping 367 map( size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, void **addr) argument 372 unmap(void *addr, size_t size, C2Fence *fence) argument 401 C2AllocationIon(int ionFd, size_t size, size_t align, unsigned heapMask, unsigned flags, C2Allocator::id_t id) argument 406 C2AllocationIon(int ionFd, size_t size, int shareFd, C2Allocator::id_t id) argument [all...] |
/hardware/interfaces/bluetooth/1.0/vts/functional/ |
H A D | VtsHalBluetoothV1_0TargetTest.cpp | 195 EXPECT_EQ(static_cast<size_t>(0), event_queue.size()); 196 EXPECT_EQ(static_cast<size_t>(0), sco_queue.size()); 197 EXPECT_EQ(static_cast<size_t>(0), acl_queue.size()); 204 void sendAndCheckSCO(int num_packets, size_t size, uint16_t handle); 205 void sendAndCheckACL(int num_packets, size_t size, uint16_t handle); 238 ALOGV("Event received (length = %d)", static_cast<int>(event.size())); 279 while (event_queue.size() > 0) { 281 EXPECT_GE(event.size(), 306 EXPECT_LT(static_cast<size_t>(0), event_queue.size()); 308 if (event_queue.size() 416 sendAndCheckSCO(int num_packets, size_t size, uint16_t handle) argument 459 sendAndCheckACL(int num_packets, size_t size, uint16_t handle) argument [all...] |
/hardware/intel/common/libmix/mix_video/src/ |
H A D | mixbuffer.c | 44 self->size = 0; 126 this_target->size = this_src->size; 160 if (this_first->data == this_second->data && this_first->size 161 == this_second->size && this_first->token == this_second->token 180 MIX_RESULT mix_buffer_set_data(MixBuffer * obj, guchar *data, guint size, argument 185 obj->size = size;
|
/hardware/intel/common/libva/va/ |
H A D | va_fool.h | 65 unsigned int size, /* in */ 81 unsigned int *size, /* out */
|
/hardware/interfaces/cas/native/1.0/ |
H A D | types.hal | 40 * offset and a size. The offset is relative to the shared memory base for the 55 * The size of the shared buffer in bytes 57 uint64_t size;
|