Lines Matching defs:start
40 /* First buffer in list is always special case, since start offset is tied to it */
67 we store start and end position on each ES buffer to make the data look linear.
68 The start represents the linear offset of the first byte in list.
74 uint32_t start=0, end=0;
80 list->data[items].stpos = start;
85 start = end;
88 list->data[items].stpos = start;
96 start = end = list->total_bytes+1;
100 start = end = list->total_bytes;
102 list->data[items].stpos = start;
126 Emit requested tags for data from start to end position. The tags should include end byte too.
128 void 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)
130 if((list->num_items != 0) && ((int32_t)start < (list->total_bytes)) && ((int32_t)end <= (list->total_bytes)))
137 /* Seek until we find a ES buffer entry which has the start position */
138 while(start >= list->data[items].edpos) items++;
141 { /* One ES buffer has both start and end in it. So dump a single entry */
142 wi->es.es_phys_len = end - start + 1;
143 wi->es.es_phys_addr = list->sc_ibuf[items].phys + start - list->data[items].stpos;
153 wi->es.es_phys_len = list->data[items].edpos - start;
154 wi->es.es_phys_addr = list->sc_ibuf[items].phys + start - list->data[items].stpos;