Lines Matching defs:pkt
56 int ff_av1_packet_split(AV1Packet *pkt, const uint8_t *buf, int length, void *logctx)
62 pkt->nb_obus = 0;
67 if (pkt->obus_allocated < pkt->nb_obus + 1) {
68 int new_size = pkt->obus_allocated + 1;
73 tmp = av_fast_realloc(pkt->obus, &pkt->obus_allocated_size, new_size * sizeof(*tmp));
77 pkt->obus = tmp;
78 memset(pkt->obus + pkt->obus_allocated, 0, sizeof(*pkt->obus));
79 pkt->obus_allocated = new_size;
81 obu = &pkt->obus[pkt->nb_obus];
96 pkt->nb_obus++;
106 void ff_av1_packet_uninit(AV1Packet *pkt)
108 av_freep(&pkt->obus);
109 pkt->obus_allocated = pkt->obus_allocated_size = 0;