Home
last modified time | relevance | path

Searched refs:queue (Results 1 – 25 of 27) sorted by relevance

12

/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
DExynos_OSAL_Queue.c42 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/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_queue.c34 int32_t mm_jpeg_queue_init(mm_jpeg_queue_t* queue) in mm_jpeg_queue_init() argument
36 pthread_mutex_init(&queue->lock, NULL); in mm_jpeg_queue_init()
37 cam_list_init(&queue->head.list); in mm_jpeg_queue_init()
38 queue->size = 0; in mm_jpeg_queue_init()
42 int32_t mm_jpeg_queue_enq(mm_jpeg_queue_t* queue, void* data) in mm_jpeg_queue_enq() argument
54 pthread_mutex_lock(&queue->lock); in mm_jpeg_queue_enq()
55 cam_list_add_tail_node(&node->list, &queue->head.list); in mm_jpeg_queue_enq()
56 queue->size++; in mm_jpeg_queue_enq()
57 pthread_mutex_unlock(&queue->lock); in mm_jpeg_queue_enq()
63 void* mm_jpeg_queue_deq(mm_jpeg_queue_t* queue) in mm_jpeg_queue_deq() argument
[all …]
Dmm_jpeg.c228 mm_jpeg_queue_t* queue, uint32_t client_hdl);
230 mm_jpeg_queue_t* queue, uint32_t job_id);
232 mm_jpeg_queue_t* queue, uint32_t session_id);
234 mm_jpeg_queue_t* queue, uint32_t job_id);
2338 mm_jpeg_queue_t* queue, uint32_t client_hdl) in mm_jpeg_queue_remove_job_by_client_id() argument
2346 pthread_mutex_lock(&queue->lock); in mm_jpeg_queue_remove_job_by_client_id()
2347 head = &queue->head.list; in mm_jpeg_queue_remove_job_by_client_id()
2357 queue->size--; in mm_jpeg_queue_remove_job_by_client_id()
2359 CDBG_HIGH("%s: queue size = %d", __func__, queue->size); in mm_jpeg_queue_remove_job_by_client_id()
2365 pthread_mutex_unlock(&queue->lock); in mm_jpeg_queue_remove_job_by_client_id()
[all …]
/hardware/qcom/camera/QCamera2/stack/common/
Dcam_queue.h43 static inline int32_t cam_queue_init(cam_queue_t *queue) in cam_queue_init() argument
45 pthread_mutex_init(&queue->lock, NULL); in cam_queue_init()
46 cam_list_init(&queue->head.list); in cam_queue_init()
47 queue->size = 0; in cam_queue_init()
51 static inline int32_t cam_queue_enq(cam_queue_t *queue, void *data) in cam_queue_enq() argument
62 pthread_mutex_lock(&queue->lock); in cam_queue_enq()
63 cam_list_add_tail_node(&node->list, &queue->head.list); in cam_queue_enq()
64 queue->size++; in cam_queue_enq()
65 pthread_mutex_unlock(&queue->lock); in cam_queue_enq()
70 static inline void *cam_queue_deq(cam_queue_t *queue) in cam_queue_deq() argument
[all …]
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c72 int32_t mm_channel_superbuf_flush(mm_channel_t* my_obj, mm_channel_queue_t * queue);
103 int32_t mm_channel_superbuf_queue_init(mm_channel_queue_t * queue);
104 int32_t mm_channel_superbuf_queue_deinit(mm_channel_queue_t * queue);
106 mm_channel_queue_t * queue,
108 mm_channel_queue_node_t* mm_channel_superbuf_dequeue(mm_channel_queue_t * queue);
110 mm_channel_queue_t *queue);
112 mm_channel_queue_t *queue);
1406 int32_t mm_channel_superbuf_queue_init(mm_channel_queue_t * queue) in mm_channel_superbuf_queue_init() argument
1408 return cam_queue_init(&queue->que); in mm_channel_superbuf_queue_init()
1423 int32_t mm_channel_superbuf_queue_deinit(mm_channel_queue_t * queue) in mm_channel_superbuf_queue_deinit() argument
[all …]
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h188 extern int32_t mm_jpeg_queue_init(mm_jpeg_queue_t* queue);
189 extern int32_t mm_jpeg_queue_enq(mm_jpeg_queue_t* queue, void* node);
190 extern void* mm_jpeg_queue_deq(mm_jpeg_queue_t* queue);
191 extern int32_t mm_jpeg_queue_deinit(mm_jpeg_queue_t* queue);
192 extern int32_t mm_jpeg_queue_flush(mm_jpeg_queue_t* queue);
193 extern uint32_t mm_jpeg_queue_get_size(mm_jpeg_queue_t* queue);
194 extern void* mm_jpeg_queue_peek(mm_jpeg_queue_t* queue);
/hardware/libhardware/tests/hwc/
Dcnativewindow.c87 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/
Dframebuffer.cpp82 hwc_callback_queue_t *queue = reinterpret_cast<hwc_callback_queue_t *>(m->queue); in fb_post() local
84 if(queue->isEmpty()) in fb_post()
88 struct hwc_callback_entry entry = queue->top(); in fb_post()
89 queue->pop(); in fb_post()
256 m->queue = new hwc_callback_queue_t; in fb_device_open()
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/
DOMX_VideoDec_Utils.c174 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/
Dcamera2_utils.cpp201 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/
DTrustletSession.h44 std::queue<notification_t> notifications;
DMobiCoreDevice.cpp291 notifications = std::queue<notification_t>(); in openSession()
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_adsp.h26 uint16_t queue; member
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_adsp.h26 uint16_t queue; member
/hardware/qcom/msm8x74/kernel-headers/linux/
Dmsm_adsp.h26 uint16_t queue; member
/hardware/qcom/msm8x74/original-kernel-headers/linux/
Dmsm_adsp.h26 uint16_t queue; member
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/inc/
DOMX_VideoDec_Utils.h1413 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/
DMobiCoreDevice.h102 …std::queue<notification_t> notifications; /**< Notifications queue for open session notification …
/hardware/samsung_slsi/exynos5/include/
Dgralloc_priv.h54 void *queue; member
/hardware/qcom/media/mm-video-legacy/vidc/
Dvdec.mk126 LOCAL_SRC_FILES := vdec/src/queue.c
Dvenc.mk138 LOCAL_SRC_FILES += venc/test/queue.c
/hardware/qcom/media/mm-video-v4l2/vidc/
Dvenc.mk158 LOCAL_SRC_FILES += venc/test/queue.c
Dvdec.mk188 LOCAL_SRC_FILES := vdec/src/queue.c
/hardware/qcom/msm8960/original-kernel-headers/media/
Dmsm_camera.h417 uint16_t queue; member
/hardware/qcom/msm8960/kernel-headers/media/
Dmsm_camera.h342 uint16_t queue; member

12