Searched refs:queue (Results 1 - 25 of 38) sorted by relevance

12

/hardware/intel/common/wrs_omxil_core/utils/inc/
H A Dqueue.h2 * queue.h, queue
28 struct queue { struct
34 void __queue_init(struct queue *queue);
35 struct queue *queue_alloc(void);
37 inline void __queue_free(struct queue *queue);
39 void queue_free_all(struct queue *queue);
[all...]
/hardware/intel/common/wrs_omxil_core/utils/src/
H A Dqueue.c2 * queue.c, queue
21 #include <queue.h>
23 inline void __queue_init(struct queue *queue) argument
25 queue->head = NULL;
26 queue->tail = NULL;
27 queue->length = 0;
30 struct queue *queue_alloc(void)
32 struct queue *queu local
41 __queue_free(struct queue *queue) argument
46 queue_free_all(struct queue *queue) argument
54 __queue_push_head(struct queue *queue, struct list *entry) argument
63 queue_push_head(struct queue *queue, void *data) argument
79 __queue_push_tail(struct queue *queue, struct list *entry) argument
93 queue_push_tail(struct queue *queue, void *data) argument
111 __queue_pop_head(struct queue *queue) argument
126 queue_pop_head(struct queue *queue) argument
140 __queue_pop_tail(struct queue *queue) argument
155 queue_pop_tail(struct queue *queue) argument
169 __queue_peek_head(struct queue *queue) argument
174 __queue_peek_tail(struct queue *queue) argument
179 queue_peek_head(struct queue *queue) argument
191 queue_peek_tail(struct queue *queue) argument
203 queue_length(struct queue *queue) argument
[all...]
H A Debuild.mk6 queue.c \
H A DAndroid.mk6 queue.c \
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
H A DExynos_OSAL_Queue.c42 EXYNOS_QUEUE *queue = (EXYNOS_QUEUE *)queueHandle; local
46 if (!queue)
49 ret = Exynos_OSAL_MutexCreate(&queue->qMutex);
53 queue->first = (EXYNOS_QElem *)Exynos_OSAL_Malloc(sizeof(EXYNOS_QElem));
54 if (queue->first == NULL)
57 Exynos_OSAL_Memset(queue->first, 0, sizeof(EXYNOS_QElem));
58 currentqelem = queue->last = queue->first;
59 queue->numElem = 0;
60 queue
86 EXYNOS_QUEUE *queue = (EXYNOS_QUEUE *)queueHandle; local
110 EXYNOS_QUEUE *queue = (EXYNOS_QUEUE *)queueHandle; local
131 EXYNOS_QUEUE *queue = (EXYNOS_QUEUE *)queueHandle; local
153 EXYNOS_QUEUE *queue = (EXYNOS_QUEUE *)queueHandle; local
165 EXYNOS_QUEUE *queue = (EXYNOS_QUEUE *)queueHandle; local
177 EXYNOS_QUEUE *queue = (EXYNOS_QUEUE *)queueHandle; local
[all...]
/hardware/libhardware/modules/sensors/tests/
H A DSensorEventQueue_test.cpp16 bool checkWritableBufferSize(SensorEventQueue* queue, int requested, int expected) { argument
18 int actual = queue->getWritableRegion(requested, &buffer);
26 bool checkSize(SensorEventQueue* queue, int expected) { argument
27 int actual = queue->getSize();
29 printf("Expected queue size was %d; actual was %d\n", expected, actual);
45 SensorEventQueue* queue = new SensorEventQueue(10); local
46 if (!checkSize(queue, 0)) return false;
47 if (!checkWritableBufferSize(queue, 11, 10)) return false;
48 if (!checkWritableBufferSize(queue, 10, 10)) return false;
49 if (!checkWritableBufferSize(queue,
67 SensorEventQueue* queue = new SensorEventQueue(10); local
95 SensorEventQueue* queue; member in struct:TaskContext
106 SensorEventQueue* queue = ctx->queue; local
145 SensorEventQueue* queue = ctx->queue; local
167 SensorEventQueue* queue = new SensorEventQueue(FULL_QUEUE_CAPACITY); local
[all...]
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/
H A DTrustletSession.h37 #include <queue>
44 std::queue<notification_t> notifications;
/hardware/intel/common/wrs_omxil_core/base/inc/
H A Dportbase.h28 #include <queue.h>
157 struct queue bufferq;
161 struct queue retainedbufferq;
164 struct queue markq;
/hardware/qcom/msm8960/kernel-headers/linux/
H A Dmsm_adsp.h26 uint16_t queue; member in struct:adsp_command_t
/hardware/qcom/msm8960/original-kernel-headers/linux/
H A Dmsm_adsp.h26 uint16_t queue; member in struct:adsp_command_t
/hardware/qcom/msm8x74/kernel-headers/linux/
H A Dmsm_adsp.h26 uint16_t queue; member in struct:adsp_command_t
/hardware/qcom/msm8x74/original-kernel-headers/linux/
H A Dmsm_adsp.h26 uint16_t queue; member in struct:adsp_command_t
/hardware/qcom/msm8x84/kernel-headers/linux/
H A Dmsm_adsp.h26 uint16_t queue; member in struct:adsp_command_t
/hardware/qcom/msm8x84/original-kernel-headers/linux/
H A Dmsm_adsp.h25 uint16_t queue; member in struct:adsp_command_t
/hardware/samsung_slsi/exynos5/gralloc/
H A Dframebuffer.cpp81 hwc_callback_queue_t *queue = reinterpret_cast<hwc_callback_queue_t *>(m->queue); local
83 if(queue->isEmpty())
87 struct hwc_callback_entry entry = queue->top();
88 queue->pop();
255 m->queue = new hwc_callback_queue_t;
/hardware/libhardware/tests/hwc/
H A Dcnativewindow.c87 static CNativeBuffer *get_front(struct CNativeBuffer *queue) { argument
88 CNativeBuffer *buf = queue->next;
89 if (buf == queue)
91 buf->next->prev = queue;
92 queue->next = buf->next;
97 static void put_front(struct CNativeBuffer *queue, aBuffer *_buf) { argument
99 buf->prev = queue;
100 buf->next = queue->next;
101 queue->next->prev = buf;
102 queue
105 put_back(struct CNativeBuffer *queue, aBuffer *_buf) argument
[all...]
/hardware/libhardware/modules/sensors/
H A Dmultihal.cpp134 SensorEventQueue* queue; member in struct:TaskContext
141 SensorEventQueue* queue = ctx->queue; local
146 if (queue->waitForSpace(&queue_mutex)) {
149 int bufferSize = queue->getWritableRegion(SENSOR_EVENT_QUEUE_CAPACITY, &buffer);
160 queue->markAsWritten(eventsPolled);
214 SensorEventQueue *queue = new SensorEventQueue(SENSOR_EVENT_QUEUE_CAPACITY); local
215 this->queues.push_back(queue);
219 taskContext->queue = queue;
340 SensorEventQueue* queue = this->queues.at(this->nextReadIndex); local
[all...]
/hardware/intel/common/wrs_omxil_core/
H A DAndroid.mk29 utils/inc/queue.h \
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/
H A DOMX_VideoDec_Utils.c174 OMX_ERRORTYPE VIDDEC_Queue_Init(VIDDEC_QUEUE_TYPE *queue, VIDDEC_QUEUE_TYPES type) argument
179 queue->nHead = 0;
180 queue->nTail = 0;
181 queue->nElements = 0;
186 queue->Elements = (void*)malloc(VIDDEC_MAX_QUEUE_SIZE*sizeof(OMX_U32));
187 /*OMX_MALLOC_STRUCT_SIZED(queue->Elements, void, VIDDEC_MAX_QUEUE_SIZE*sizeof(OMX_U32));*/
190 queue->Elements = (void*)malloc(VIDDEC_MAX_QUEUE_SIZE*sizeof(OMX_MARKTYPE));
191 /*OMX_MALLOC_STRUCT_SIZED(queue->Elements, void, VIDDEC_MAX_QUEUE_SIZE*sizeof(OMX_MARKTYPE));*/
195 pthread_mutex_init(&(queue->mMutex), NULL);
199 queue
207 VIDDEC_Queue_Flush(VIDDEC_QUEUE_TYPE *queue) argument
234 VIDDEC_Queue_Add(VIDDEC_QUEUE_TYPE *queue, OMX_PTR pElement, VIDDEC_QUEUE_TYPES type) argument
336 VIDDEC_Queue_Remove(VIDDEC_QUEUE_TYPE *queue, OMX_PTR pElement, VIDDEC_QUEUE_TYPES type) argument
388 VIDDEC_Queue_Get_Tail(VIDDEC_QUEUE_TYPE *queue, OMX_PTR pElement, VIDDEC_QUEUE_TYPES type) argument
423 VIDDEC_Queue_Replace_Tail(VIDDEC_QUEUE_TYPE *queue, OMX_PTR pElement, VIDDEC_QUEUE_TYPES type) argument
500 VIDDEC_Queue_Free(VIDDEC_QUEUE_TYPE *queue) argument
[all...]
/hardware/libhardware/tests/camera2/
H A Dcamera2_utils.cpp105 ALOGV("%s: Streaming %d frames to queue", __FUNCTION__,
201 MetadataQueue *queue = getInstance(q); local
202 return queue->getBufferCount();
207 MetadataQueue *queue = getInstance(q); local
208 return queue->dequeue(buffer, true);
235 MetadataQueue *queue = getInstance(q); local
236 return queue->enqueue(filled_buffer);
/hardware/libhardware_legacy/uevent/
H A Duevent.c26 #include <sys/queue.h>
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/public/
H A DMobiCoreDevice.h80 NotificationQueue *nq; /**< Pointer to the notification queue within the MCI buffer */
98 * This queue holds notifications received between the time the daemon
102 std::queue<notification_t> notifications; /**< Notifications queue for open session notification */
/hardware/intel/img/hwcomposer/common/observers/
H A DUeventObserver.cpp19 #include <sys/queue.h>
/hardware/samsung_slsi/exynos5/include/
H A Dgralloc_priv.h56 void *queue; member in struct:private_module_t
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/inc/
H A DOMX_VideoDec_Utils.h1158 * queue in LCML
1413 OMX_ERRORTYPE VIDDEC_Queue_Init(VIDDEC_QUEUE_TYPE *queue, VIDDEC_QUEUE_TYPES type);
1414 OMX_ERRORTYPE VIDDEC_Queue_Flush(VIDDEC_QUEUE_TYPE *queue);
1415 OMX_ERRORTYPE VIDDEC_Queue_Add(VIDDEC_QUEUE_TYPE *queue, OMX_PTR pElement, VIDDEC_QUEUE_TYPES type);
1416 OMX_ERRORTYPE VIDDEC_Queue_Remove(VIDDEC_QUEUE_TYPE *queue, OMX_PTR pElement, VIDDEC_QUEUE_TYPES type);
1417 OMX_ERRORTYPE VIDDEC_Queue_Replace_Tail(VIDDEC_QUEUE_TYPE *queue, OMX_PTR pElement, VIDDEC_QUEUE_TYPES type);
1418 OMX_ERRORTYPE VIDDEC_Queue_Get_Tail(VIDDEC_QUEUE_TYPE *queue, OMX_PTR pElement,VIDDEC_QUEUE_TYPES type);
1419 OMX_ERRORTYPE VIDDEC_Queue_Free(VIDDEC_QUEUE_TYPE *queue);

Completed in 898 milliseconds

12