Lines Matching refs:byte
32 We return the index of es buffer and the offset into it for the requested byte offset.
33 EX: if byte=4, and the first es buffer in list is of length 100, we return lis_index=0, offset=3.
34 byte value should range from [1-N].
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)
42 if( accumulated_size >= byte)
45 *offset = list->start_offset + byte - 1;
50 /* walkthrough the list until we find the byte */
53 if((accumulated_size + list->sc_ibuf[index].len) >= byte)
55 *offset = byte - accumulated_size - 1;
68 The start represents the linear offset of the first byte in list.
69 end-1 represents linear offset of last byte in list.
126 Emit requested tags for data from start to end position. The tags should include end byte too.