/hardware/intel/common/wrs_omxil_core/utils/src/ |
D | queue.c | 23 inline void __queue_init(struct queue *queue) in __queue_init() argument 25 queue->head = NULL; in __queue_init() 26 queue->tail = NULL; in __queue_init() 27 queue->length = 0; in __queue_init() 30 struct queue *queue_alloc(void) in queue_alloc() 32 struct queue *queue; in queue_alloc() local 34 queue = malloc(sizeof(struct queue)); in queue_alloc() 35 if (queue) in queue_alloc() 36 __queue_init(queue); in queue_alloc() 38 return queue; in queue_alloc() [all …]
|
D | ebuild.mk | 6 queue.c \
|
D | Android.mk | 6 queue.c \
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/ |
D | Exynos_OSAL_Queue.c | 42 EXYNOS_QUEUE *queue = (EXYNOS_QUEUE *)queueHandle; in Exynos_OSAL_QueueCreate() local 46 if (!queue) in Exynos_OSAL_QueueCreate() 49 ret = Exynos_OSAL_MutexCreate(&queue->qMutex); in Exynos_OSAL_QueueCreate() 53 queue->first = (EXYNOS_QElem *)Exynos_OSAL_Malloc(sizeof(EXYNOS_QElem)); in Exynos_OSAL_QueueCreate() 54 if (queue->first == NULL) in Exynos_OSAL_QueueCreate() 57 Exynos_OSAL_Memset(queue->first, 0, sizeof(EXYNOS_QElem)); in Exynos_OSAL_QueueCreate() 58 currentqelem = queue->last = queue->first; in Exynos_OSAL_QueueCreate() 59 queue->numElem = 0; in Exynos_OSAL_QueueCreate() 60 queue->maxNumElem = maxNumElem; in Exynos_OSAL_QueueCreate() 61 for (i = 0; i < (queue->maxNumElem - 2); i++) { in Exynos_OSAL_QueueCreate() [all …]
|
/hardware/intel/common/wrs_omxil_core/utils/inc/ |
D | queue.h | 28 struct queue { struct 34 void __queue_init(struct queue *queue); argument 35 struct queue *queue_alloc(void); 37 inline void __queue_free(struct queue *queue); 39 void queue_free_all(struct queue *queue); 41 void __queue_push_head(struct queue *queue, struct list *entry); 42 int queue_push_head(struct queue *queue, void *data); 43 void __queue_push_tail(struct queue *queue, struct list *entry); 44 int queue_push_tail(struct queue *queue, void *data); 46 struct list *__queue_pop_head(struct queue *queue); [all …]
|
/hardware/libhardware/modules/sensors/tests/ |
D | SensorEventQueue_test.cpp | 16 bool checkWritableBufferSize(SensorEventQueue* queue, int requested, int expected) { in checkWritableBufferSize() argument 18 int actual = queue->getWritableRegion(requested, &buffer); in checkWritableBufferSize() 26 bool checkSize(SensorEventQueue* queue, int expected) { in checkSize() argument 27 int actual = queue->getSize(); in checkSize() 45 SensorEventQueue* queue = new SensorEventQueue(10); in testSimpleWriteSizeCounts() local 46 if (!checkSize(queue, 0)) return false; in testSimpleWriteSizeCounts() 47 if (!checkWritableBufferSize(queue, 11, 10)) return false; in testSimpleWriteSizeCounts() 48 if (!checkWritableBufferSize(queue, 10, 10)) return false; in testSimpleWriteSizeCounts() 49 if (!checkWritableBufferSize(queue, 9, 9)) return false; in testSimpleWriteSizeCounts() 51 queue->markAsWritten(7); in testSimpleWriteSizeCounts() [all …]
|
/hardware/libhardware/tests/hwc/ |
D | cnativewindow.c | 87 static CNativeBuffer *get_front(struct CNativeBuffer *queue) { in get_front() argument 88 CNativeBuffer *buf = queue->next; in get_front() 89 if (buf == queue) in get_front() 91 buf->next->prev = queue; in get_front() 92 queue->next = buf->next; in get_front() 97 static void put_front(struct CNativeBuffer *queue, aBuffer *_buf) { in put_front() argument 99 buf->prev = queue; in put_front() 100 buf->next = queue->next; in put_front() 101 queue->next->prev = buf; in put_front() 102 queue->next = buf; in put_front() [all …]
|
/hardware/samsung_slsi/exynos5/gralloc/ |
D | framebuffer.cpp | 81 hwc_callback_queue_t *queue = reinterpret_cast<hwc_callback_queue_t *>(m->queue); in fb_post() local 83 if(queue->isEmpty()) in fb_post() 87 struct hwc_callback_entry entry = queue->top(); in fb_post() 88 queue->pop(); in fb_post() 255 m->queue = new hwc_callback_queue_t; in fb_device_open()
|
/hardware/libhardware/modules/sensors/ |
D | multihal.cpp | 133 SensorEventQueue* queue; member 140 SensorEventQueue* queue = ctx->queue; in writerTask() local 145 if (queue->waitForSpace(&queue_mutex)) { in writerTask() 148 int bufferSize = queue->getWritableRegion(SENSOR_EVENT_QUEUE_CAPACITY, &buffer); in writerTask() 159 queue->markAsWritten(eventsPolled); in writerTask() 213 SensorEventQueue *queue = new SensorEventQueue(SENSOR_EVENT_QUEUE_CAPACITY); in addSubHwDevice() local 214 this->queues.push_back(queue); in addSubHwDevice() 218 taskContext->queue = queue; in addSubHwDevice() 309 SensorEventQueue* queue = this->queues.at(this->nextReadIndex); in poll() local 310 sensors_event_t* event = queue->peek(); in poll() [all …]
|
/hardware/intel/common/wrs_omxil_core/base/inc/ |
D | portbase.h | 157 struct queue bufferq; 161 struct queue retainedbufferq; 164 struct queue markq;
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/ |
D | OMX_VideoDec_Utils.c | 174 OMX_ERRORTYPE VIDDEC_Queue_Init(VIDDEC_QUEUE_TYPE *queue, VIDDEC_QUEUE_TYPES type) in VIDDEC_Queue_Init() argument 179 queue->nHead = 0; in VIDDEC_Queue_Init() 180 queue->nTail = 0; in VIDDEC_Queue_Init() 181 queue->nElements = 0; in VIDDEC_Queue_Init() 186 queue->Elements = (void*)malloc(VIDDEC_MAX_QUEUE_SIZE*sizeof(OMX_U32)); in VIDDEC_Queue_Init() 190 queue->Elements = (void*)malloc(VIDDEC_MAX_QUEUE_SIZE*sizeof(OMX_MARKTYPE)); in VIDDEC_Queue_Init() 195 pthread_mutex_init(&(queue->mMutex), NULL); in VIDDEC_Queue_Init() 199 queue->CounterElements[count] = 0; in VIDDEC_Queue_Init() 207 OMX_ERRORTYPE VIDDEC_Queue_Flush(VIDDEC_QUEUE_TYPE *queue) in VIDDEC_Queue_Flush() argument 212 if (pthread_mutex_lock (&(queue->mMutex)) != 0) { in VIDDEC_Queue_Flush() [all …]
|
/hardware/libhardware/tests/camera2/ |
D | camera2_utils.cpp | 201 MetadataQueue *queue = getInstance(q); in consumer_buffer_count() local 202 return queue->getBufferCount(); in consumer_buffer_count() 207 MetadataQueue *queue = getInstance(q); in consumer_dequeue() local 208 return queue->dequeue(buffer, true); in consumer_dequeue() 235 MetadataQueue *queue = getInstance(q); in producer_enqueue() local 236 return queue->enqueue(filled_buffer); in producer_enqueue()
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/ |
D | TrustletSession.h | 44 std::queue<notification_t> notifications;
|
/hardware/qcom/msm8x84/original-kernel-headers/linux/ |
D | msm_adsp.h | 25 uint16_t queue; member
|
/hardware/qcom/msm8x74/original-kernel-headers/linux/ |
D | msm_adsp.h | 26 uint16_t queue; member
|
/hardware/qcom/msm8x74/kernel-headers/linux/ |
D | msm_adsp.h | 26 uint16_t queue; member
|
/hardware/qcom/msm8960/kernel-headers/linux/ |
D | msm_adsp.h | 26 uint16_t queue; member
|
/hardware/qcom/msm8960/original-kernel-headers/linux/ |
D | msm_adsp.h | 26 uint16_t queue; member
|
/hardware/qcom/msm8x84/kernel-headers/linux/ |
D | msm_adsp.h | 26 uint16_t queue; member
|
/hardware/intel/common/wrs_omxil_core/ |
D | Android.mk | 29 utils/inc/queue.h \
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/inc/ |
D | OMX_VideoDec_Utils.h | 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 ty… 1417 OMX_ERRORTYPE VIDDEC_Queue_Replace_Tail(VIDDEC_QUEUE_TYPE *queue, OMX_PTR pElement, VIDDEC_QUEUE_TY… 1418 OMX_ERRORTYPE VIDDEC_Queue_Get_Tail(VIDDEC_QUEUE_TYPE *queue, OMX_PTR pElement,VIDDEC_QUEUE_TYPES t… 1419 OMX_ERRORTYPE VIDDEC_Queue_Free(VIDDEC_QUEUE_TYPE *queue);
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/public/ |
D | MobiCoreDevice.h | 102 …std::queue<notification_t> notifications; /**< Notifications queue for open session notification …
|
/hardware/samsung_slsi/exynos5/include/ |
D | gralloc_priv.h | 56 void *queue; member
|
/hardware/qcom/media/mm-video-legacy/vidc/ |
D | vdec.mk | 107 LOCAL_SRC_FILES := vdec/src/queue.c
|
D | venc.mk | 123 LOCAL_SRC_FILES += venc/test/queue.c
|