Home
last modified time | relevance | path

Searched refs:buf_pkt (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dv4l2_m2m_dec.c143 if (!s->buf_pkt.size) { in v4l2_receive_frame()
144 ret = ff_decode_get_packet(avctx, &s->buf_pkt); in v4l2_receive_frame()
152 ret = ff_v4l2_context_enqueue_packet(output, &s->buf_pkt); in v4l2_receive_frame()
158 av_packet_unref(&s->buf_pkt); in v4l2_receive_frame()
173 av_packet_unref(&s->buf_pkt); in v4l2_receive_frame()
Dv4l2_m2m.h59 AVPacket buf_pkt; member
Ddecode.c882 AVPacket *inpkt, AVPacket *buf_pkt) in recode_subtitle() argument
908 ret = av_new_packet(buf_pkt, inl * UTF8_MAX_BYTES); in recode_subtitle()
911 ret = av_packet_copy_props(buf_pkt, inpkt); in recode_subtitle()
914 outb = buf_pkt->data; in recode_subtitle()
915 outl = buf_pkt->size; in recode_subtitle()
919 outl >= buf_pkt->size || inl != 0) { in recode_subtitle()
925 buf_pkt->size -= outl; in recode_subtitle()
926 memset(buf_pkt->data + buf_pkt->size, 0, outl); in recode_subtitle()
927 *outpkt = buf_pkt; in recode_subtitle()
932 av_packet_unref(buf_pkt); in recode_subtitle()
Dv4l2_m2m.c334 av_packet_unref(&s->buf_pkt); in v4l2_m2m_destroy_context()