Lines Matching refs:packet_index
39 int packet_index; member
74 if (pc->packet_index != pc->packet_start) in dvbsub_parse()
77 pc->packet_index - pc->packet_start); in dvbsub_parse()
81 pc->packet_index = 0; in dvbsub_parse()
94 if (pc->packet_index != pc->packet_start) in dvbsub_parse()
97 pc->packet_index - pc->packet_start); in dvbsub_parse()
99 pc->packet_index -= pc->packet_start; in dvbsub_parse()
103 pc->packet_index = 0; in dvbsub_parse()
108 if (buf_size - buf_pos + pc->packet_index > PARSE_BUF_SIZE) in dvbsub_parse()
115 memcpy(pc->packet_buf + pc->packet_index, buf + buf_pos, buf_size - buf_pos); in dvbsub_parse()
116 pc->packet_index += buf_size - buf_pos; in dvbsub_parse()
119 p_end = pc->packet_buf + pc->packet_index; in dvbsub_parse()
143 pc->packet_index = p - pc->packet_buf; in dvbsub_parse()
149 pc->packet_index = p - pc->packet_buf; in dvbsub_parse()