Home
last modified time | relevance | path

Searched refs:packet_index (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Ddvbsub_parser.c39 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()
[all …]
Ddvdsub_parser.c32 int packet_index; member
45 if (pc->packet_index == 0) { in dvdsub_parse()
62 if (pc->packet_index + buf_size <= pc->packet_len) { in dvdsub_parse()
63 memcpy(pc->packet + pc->packet_index, buf, buf_size); in dvdsub_parse()
64 pc->packet_index += buf_size; in dvdsub_parse()
65 if (pc->packet_index >= pc->packet_len) { in dvdsub_parse()
68 pc->packet_index = 0; in dvdsub_parse()
73 pc->packet_index = 0; in dvdsub_parse()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Drtpbin_buffer_list.c272 check_packet (GstBufferList * list, guint list_index, guint packet_index) in check_packet() argument
284 check_header (buffer, packet_index); in check_packet()
285 check_payload (buffer, packet_index); in check_packet()