/hardware/intel/common/wrs_omxil_core/utils/inc/ |
H A D | list.h | 2 * list.h, list 26 struct list { struct 27 struct list *next; 28 struct list *prev; 33 void __list_init(struct list *); 35 struct list *__list_alloc(void); 36 struct list *list_alloc(void *); 38 void __list_free(struct list *); 39 void list_free_all(struct list *); [all...] |
H A D | queue.h | 22 #include "list.h" 29 struct list *head; 30 struct list *tail; 41 void __queue_push_head(struct queue *queue, struct list *entry); 43 void __queue_push_tail(struct queue *queue, struct list *entry); 46 struct list *__queue_pop_head(struct queue *queue); 48 struct list *__queue_pop_tail(struct queue *queue); 51 inline struct list *__queue_peek_head(struct queue *queue); 52 inline struct list *__queue_peek_tail(struct queue *queue);
|
/hardware/intel/common/wrs_omxil_core/utils/src/ |
H A D | list.c | 2 * list.c, list 21 #include <list.h> 23 void __list_init(struct list *entry) 32 struct list *__list_alloc(void) 34 struct list *new; 36 new = malloc(sizeof(struct list)); 42 struct list *list_alloc(void *data) 44 struct list *new; 53 void __list_free(struct list *entr 58 list_free_all(struct list *list) argument 67 __list_last(struct list *list) argument 76 __list_first(struct list *list) argument 85 __list_entry(struct list *list, int index) argument 99 list_length(struct list *list) argument 145 __list_add_head(struct list *list, struct list *new) argument 157 __list_add_tail(struct list *list, struct list *new) argument 171 list_add_head(struct list *list, void *data) argument 182 list_add_tail(struct list *list, void *data) argument 193 __list_remove(struct list *list, struct list *entry) argument 215 __list_delete(struct list *list, struct list *entry) argument 224 list_delete(struct list *list, void *data) argument 238 list_delete_all(struct list *list, void *data) argument 250 list_find(struct list *list, void *data) argument 262 list_find_reverse(struct list *list, void *data) argument [all...] |
H A D | queue.c | 48 struct list *list = queue->head; local 50 list_free_all(list); 54 void __queue_push_head(struct queue *queue, struct list *entry) 65 struct list *entry = list_alloc(data); 79 void __queue_push_tail(struct queue *queue, struct list *entry) 95 struct list *entry = list_alloc(data); 111 struct list *__queue_pop_head(struct queue *queue) 113 struct list *entry = queue->head; 128 struct list *entr [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
H A D | viddec_pm_utils_list.c | 5 Initialize list. 17 Add a new ES buffer to list. If not succesful returns 0. 19 uint32_t viddec_pm_utils_list_addbuf(viddec_pm_utils_list_t *list, viddec_input_buffer_t *es_buf) argument 22 if((list->num_items + 1) <= MAX_IBUFS_PER_SC) 24 list->num_items +=1; 25 list->sc_ibuf[list->num_items - 1] = *es_buf; 33 EX: if byte=4, and the first es buffer in list is of length 100, we return lis_index=0, offset=3. 36 uint32_t viddec_pm_utils_list_getbyte_position(viddec_pm_utils_list_t *list, uint32_t byte, uint32_t *list_index, uint32_t *offset) argument 40 /* First buffer in list i 71 viddec_pm_utils_list_updatebytepos(viddec_pm_utils_list_t *list, uint8_t sc_prefix_length) argument 128 viddec_pm_utils_list_emit_slice_tags(viddec_pm_utils_list_t *list, uint32_t start, uint32_t end, viddec_emitter *emitter, uint32_t is_cur_wkld, viddec_workload_item_t *wi) argument 181 viddec_pm_utils_list_remove_used_entries(viddec_pm_utils_list_t *list, uint32_t length) argument [all...] |
H A D | viddec_pm_tags.c | 9 The current list has all the buffers which contribute to this particular workload. So we walkthrough the 10 list and throw buf done for all the buffers which were consumed. This can be deduced from total bytes we 11 in list which represents the bytes that were used for this acces unit. 21 frame_start_found: Indicates we saw the beggining of frame in current list of ES buffers(which represent current acces unit). 37 This function generates contribution tags current workload by walking through list of consumed buffers. 38 If frame is done(ignore_partial is false) we generate continue tags for the last item in list(if its not completely consumed). 45 viddec_pm_utils_list_t *list = &(cxt->list); local 47 if(list->num_items != 0) 52 while((num_items < list 88 viddec_pm_utils_list_t *list = &(cxt->list); local 129 viddec_pm_utils_list_t *list = &(cxt->list); local 214 viddec_pm_utils_list_t *list = &(cxt->list); local 250 viddec_pm_utils_list_t *list = &(cxt->list); local 280 viddec_pm_utils_list_t *list; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
H A D | vp9_frame_buffers.c | 16 int vp9_alloc_internal_frame_buffers(InternalFrameBufferList *list) { argument 17 assert(list != NULL); 18 vp9_free_internal_frame_buffers(list); 20 list->num_internal_frame_buffers = 22 list->int_fb = 23 (InternalFrameBuffer *)vpx_calloc(list->num_internal_frame_buffers, 24 sizeof(*list->int_fb)); 25 return (list->int_fb == NULL); 28 void vp9_free_internal_frame_buffers(InternalFrameBufferList *list) { argument 31 assert(list ! [all...] |
H A D | vp9_frame_buffers.h | 32 // Initializes |list|. Returns 0 on success. 33 int vp9_alloc_internal_frame_buffers(InternalFrameBufferList *list); 36 void vp9_free_internal_frame_buffers(InternalFrameBufferList *list);
|
/hardware/ti/omap3/omx/system/src/openmax_il/common/inc/ |
H A D | OMX_TI_Debug.h | 285 * format, list - debug message 290 #define OMX_DBG_PRINT(file, domain, level, mask, format, list...) \ 294 format OMX_DBG_FN OMX_DBG_LINE, ##list); \ 297 #define OMX_DBG_PRINT(file, domain, level, mask, format, list...) \ 302 format OMX_DBG_FN OMX_DBG_LINE, ##list); \ 306 format OMX_DBG_FN OMX_DBG_LINE, ##list); \ 312 #define OMX_DBG_PRINT(file, domain, level, mask, format, list...) \ 317 format OMX_DBG_FN OMX_DBG_LINE, ##list); \ 324 #define OMX_DBG_PRINT(file, domain, level, mask, format, list...) \ 329 format, OMX_DBG_FN OMX_DBG_LINE ##list); \ [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
H A D | hwc_mdpcomp.h | 40 int prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list); 42 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list) = 0; 48 int drawOverlap(hwc_context_t *ctx, hwc_display_contents_1_t* list); 61 void setDynRefreshRate(hwc_context_t *ctx, hwc_display_contents_1_t* list); 102 /* maps layer list to mdp list */ 106 /* maps mdp list to layer list */ 140 hwc_display_contents_1_t* list); 145 hwc_display_contents_1_t* list) [all...] |
H A D | hwc_virtual.cpp | 71 hwc_display_contents_1_t *list) { 77 if (list && list->outbuf && list->numHwLayers > 0) { 78 reset_layer_prop(ctx, dpy, (int)list->numHwLayers - 1); 79 uint32_t last = (uint32_t)list->numHwLayers - 1; 80 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; 101 private_handle_t *ohnd = (private_handle_t *)list->outbuf; 110 setListStats(ctx, list, dpy); 112 if(ctx->mMDPComp[dpy]->prepare(ctx, list) < 70 prepare(hwc_composer_device_1 *dev, hwc_display_contents_1_t *list) argument 135 set(hwc_context_t *ctx, hwc_display_contents_1_t *list) argument [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/include/ |
H A D | viddec_pm_utils_list.h | 23 /* this structure is for storing all necessary information for list handling */ 27 uint16_t first_scprfx_length; /* Length of first sc prefix in this list */ 35 /* This function initialises the list to default values */ 38 /* This function adds a new entry to list and will emit tags if needed */ 39 uint32_t viddec_pm_utils_list_addbuf(viddec_pm_utils_list_t *list, viddec_input_buffer_t *es_buf); 41 /* This function updates au byte position of the current list. This should be called after sc codes are detected and before 43 void viddec_pm_utils_list_updatebytepos(viddec_pm_utils_list_t *list, uint8_t sc_prefix_length); 45 /* This function walks through the list and removes consumed buffers based on total bytes. It then moves 46 unused entires to the top of list. */ 47 void viddec_pm_utils_list_remove_used_entries(viddec_pm_utils_list_t *list, uint32_ [all...] |
/hardware/qcom/display/msm8909/libhwcomposer/ |
H A D | hwc_mdpcomp.h | 42 int prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list); 44 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list) = 0; 51 int drawOverlap(hwc_context_t *ctx, hwc_display_contents_1_t* list); 62 void setDynRefreshRate(hwc_context_t *ctx, hwc_display_contents_1_t* list); 107 /* maps layer list to mdp list */ 111 /* maps mdp list to layer list */ 145 hwc_display_contents_1_t* list); 147 hwc_display_contents_1_t* list); [all...] |
H A D | hwc_virtual.cpp | 71 hwc_display_contents_1_t *list) { 77 if (list && list->outbuf && list->numHwLayers > 0) { 78 reset_layer_prop(ctx, dpy, (int)list->numHwLayers - 1); 79 uint32_t last = (uint32_t)list->numHwLayers - 1; 80 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; 102 private_handle_t *ohnd = (private_handle_t *)list->outbuf; 111 setListStats(ctx, list, dpy); 113 if(ctx->mMDPComp[dpy]->prepare(ctx, list) < 70 prepare(hwc_composer_device_1 *dev, hwc_display_contents_1_t *list) argument 136 set(hwc_context_t *ctx, hwc_display_contents_1_t *list) argument [all...] |
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/ |
H A D | ThermalSensorAttrib.java | 48 public void setWeights(ArrayList<Integer> list) { argument 49 if (list != null) { 50 mWeights = new Integer[list.size()]; 52 mWeights = list.toArray(mWeights); 61 public void setOrder(ArrayList<Integer> list) { argument 62 if (list != null) { 63 mOrder = new Integer[list.size()]; 65 mOrder = list.toArray(mOrder);
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
H A D | hwc_copybit.h | 35 bool prepare(hwc_context_t *ctx, hwc_display_contents_1_t *list, 38 bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list, 55 hwc_display_contents_1_t *list, int dpy); 57 const hwc_display_contents_1_t *list); 64 (const hwc_display_contents_1_t *list);
|
/hardware/qcom/camera/QCamera2/stack/common/ |
H A D | cam_queue.h | 7 * notice, this list of conditions and the following disclaimer. 9 * copyright notice, this list of conditions and the following 37 struct cam_list list; member in struct:__anon2271 50 cam_list_init(&queue->head.list); 67 cam_list_add_tail_node(&node->list, &queue->head.list); 82 head = &queue->head.list; 85 node = member_of(pos, cam_node_t, list); 86 cam_list_del_node(&node->list); 106 head = &queue->head.list; [all...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_mdpcomp.h | 43 int prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list); 45 virtual bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list) = 0; 51 int drawOverlap(hwc_context_t *ctx, hwc_display_contents_1_t* list); 100 /* maps layer list to mdp list */ 104 /* maps mdp list to layer list */ 137 void cacheAll(hwc_display_contents_1_t* list); 140 hwc_display_contents_1_t* list); 145 hwc_display_contents_1_t* list) [all...] |
H A D | hwc_virtual.cpp | 103 hwc_display_contents_1_t *list) { 109 if (list && list->outbuf && list->numHwLayers > 0) { 110 reset_layer_prop(ctx, dpy, (int)list->numHwLayers - 1); 111 uint32_t last = (uint32_t)list->numHwLayers - 1; 112 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; 133 private_handle_t *ohnd = (private_handle_t *)list->outbuf; 136 setListStats(ctx, list, dpy); 138 if(ctx->mMDPComp[dpy]->prepare(ctx, list) < 102 prepare(hwc_composer_device_1 *dev, hwc_display_contents_1_t *list) argument 161 set(hwc_context_t *ctx, hwc_display_contents_1_t *list) argument 290 prepare(hwc_composer_device_1 *dev, hwc_display_contents_1_t *list) argument 326 set(hwc_context_t *ctx, hwc_display_contents_1_t *list) argument [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_virtual.cpp | 92 hwc_display_contents_1_t *list) { 98 if (list && list->outbuf && list->numHwLayers > 0) { 99 reset_layer_prop(ctx, dpy, (int)list->numHwLayers - 1); 100 uint32_t last = (uint32_t)list->numHwLayers - 1; 101 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; 122 private_handle_t *ohnd = (private_handle_t *)list->outbuf; 125 setListStats(ctx, list, dpy); 127 if(ctx->mMDPComp[dpy]->prepare(ctx, list) < 91 prepare(hwc_composer_device_1 *dev, hwc_display_contents_1_t *list) argument 149 set(hwc_context_t *ctx, hwc_display_contents_1_t *list) argument 250 prepare(hwc_composer_device_1 *dev, hwc_display_contents_1_t *list) argument 287 set(hwc_context_t *ctx, hwc_display_contents_1_t *list) argument [all...] |
/hardware/intel/common/libwsbm/src/ |
H A D | wsbm_manager.c | 64 struct _WsbmListHead list; member in struct:_ValidateList 147 validateListAddNode(struct _ValidateList *list, void *item, argument 154 l = list->free.next; 155 if (l == &list->free) { 160 list->numCurrent++; 168 node->listItem = list->numOnList; 169 WSBMLISTADDTAIL(&node->head, &list->list); 170 list->numOnList++; 171 hashHead = list 196 validateFreeList(struct _ValidateList *list) argument 226 validateListAdjustNodes(struct _ValidateList *list) argument 268 validateCreateList(int numTarget, struct _ValidateList *list, int driverData) argument 298 validateResetList(struct _ValidateList *list) argument 1011 struct _WsbmBufferList *list = calloc(sizeof(*list), 1); local 1033 wsbmBOResetList(struct _WsbmBufferList *list) argument 1047 wsbmBOFreeList(struct _WsbmBufferList *list) argument 1056 wsbmAddValidateItem(struct _ValidateList *list, void *buf, uint64_t flags, uint64_t mask, int *itemLoc, struct _ValidateNode **pnode, int *newItem) argument 1119 wsbmBOAddListItem(struct _WsbmBufferList *list, struct _WsbmBufferObject *buf, uint64_t flags, uint64_t mask, int *itemLoc, struct _ValidateNode **node) argument 1175 wsbmBOUnrefUserList(struct _WsbmBufferList *list) argument 1194 wsbmBOFenceUserList(struct _WsbmBufferList *list, struct _WsbmFenceObject *fence) argument 1219 wsbmBOValidateUserList(struct _WsbmBufferList *list) argument 1247 wsbmBOUnvalidateUserList(struct _WsbmBufferList *list) argument 1293 wsbmGetKernelValidateList(struct _WsbmBufferList *list) argument 1299 wsbmGetUserValidateList(struct _WsbmBufferList *list) argument 1313 validateListIterator(struct _ValidateList *list) argument 1323 validateListNext(struct _ValidateList *list, void *iterator) argument [all...] |
/hardware/invensense/6515/libsensors_iio/ |
H A D | CompassSensor.AKM.cpp | 150 void CompassSensor::fillList(struct sensor_t *list) argument 158 list->maxRange = COMPASS_AKM8963_RANGE; 159 list->resolution = COMPASS_AKM8963_RESOLUTION; 160 list->power = COMPASS_AKM8963_POWER; 161 list->minDelay = COMPASS_AKM8963_MINDELAY; 165 list->maxRange = COMPASS_AKM8975_RANGE; 166 list->resolution = COMPASS_AKM8975_RESOLUTION; 167 list->power = COMPASS_AKM8975_POWER; 168 list->minDelay = COMPASS_AKM8975_MINDELAY; 175 list [all...] |
H A D | CompassSensor.IIO.9150.cpp | 290 void CompassSensor::fillList(struct sensor_t *list) argument 298 list->maxRange = COMPASS_MPU9150_RANGE; 299 list->resolution = COMPASS_MPU9150_RESOLUTION; 300 list->power = COMPASS_MPU9150_POWER; 301 list->minDelay = COMPASS_MPU9150_MINDELAY; 308 list->maxRange = COMPASS_AKM8975_RANGE; 309 list->resolution = COMPASS_AKM8975_RESOLUTION; 310 list->power = COMPASS_AKM8975_POWER; 311 list->minDelay = COMPASS_AKM8975_MINDELAY; 318 list [all...] |
/hardware/invensense/65xx/libsensors_iio/ |
H A D | CompassSensor.AKM.cpp | 150 void CompassSensor::fillList(struct sensor_t *list) argument 158 list->maxRange = COMPASS_AKM8963_RANGE; 159 list->resolution = COMPASS_AKM8963_RESOLUTION; 160 list->power = COMPASS_AKM8963_POWER; 161 list->minDelay = COMPASS_AKM8963_MINDELAY; 165 list->maxRange = COMPASS_AKM8975_RANGE; 166 list->resolution = COMPASS_AKM8975_RESOLUTION; 167 list->power = COMPASS_AKM8975_POWER; 168 list->minDelay = COMPASS_AKM8975_MINDELAY; 175 list [all...] |
/hardware/qcom/camera/QCamera2/util/ |
H A D | QCameraQueue.cpp | 7 * notice, this list of conditions and the following disclaimer. 9 * copyright notice, this list of conditions and the following 55 cam_list_init(&m_head.list); 76 cam_list_init(&m_head.list); 159 cam_list_add_tail_node(&node->list, &m_head.list); 196 struct cam_list *p_next = m_head.list.next; 198 m_head.list.next = &node->list; 199 p_next->prev = &node->list; [all...] |