Searched refs:o_packet (Results 1 – 1 of 1) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | libtheoraenc.c | 168 ogg_packet o_packet; in encode_init() local 266 while (th_encode_flushheader(h->t_state, &t_comment, &o_packet)) in encode_init() 267 if ((ret = concatenate_packet(&offset, avc_context, &o_packet)) < 0) in encode_init() 280 ogg_packet o_packet; in encode_frame() local 285 th_encode_packetout(h->t_state, 1, &o_packet); in encode_frame() 328 result = th_encode_packetout(h->t_state, 0, &o_packet); in encode_frame() 342 if ((ret = ff_alloc_packet2(avc_context, pkt, o_packet.bytes, 0)) < 0) in encode_frame() 344 memcpy(pkt->data, o_packet.packet, o_packet.bytes); in encode_frame() 351 avc_context->coded_frame->key_frame = !(o_packet.granulepos & h->keyframe_mask); in encode_frame() 354 if (!(o_packet.granulepos & h->keyframe_mask)) in encode_frame()
|