Lines Matching defs:packet
213 unsigned char *packet[3];
243 memcpy(&ptr[offset], priv->packet[i], priv->len[i]);
245 av_freep(&priv->packet[i]);
261 av_freep(&priv->packet[i]);
275 /* New metadata packet; release old data. */
317 if (priv->packet[pkt_type >> 1])
319 if (pkt_type > 1 && !priv->packet[0] || pkt_type > 3 && !priv->packet[1])
323 priv->packet[pkt_type >> 1] = av_memdup(os->buf + os->pstart, os->psize);
324 if (!priv->packet[pkt_type >> 1])
378 new_len = 7 + 4 + AV_RL32(priv->packet[1] + 7) + 4 + 1;
380 AV_WL32(priv->packet[1] + new_len - 5, 0);
381 priv->packet[1][new_len - 1] = 1;
419 /* first packet handling
420 * here we parse the duration of each packet in the first page and compare
471 /* parse packet duration */
484 /* final packet handling
485 * here we save the pts of the first packet in the final page, sum up all
486 * packet durations in the final page except for the last one, and compare
487 * to the page granule to find the duration of the final packet */
509 .packet = vorbis_packet,