Home
last modified time | relevance | path

Searched refs:pktsize (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavformat/
Dsiff.c57 unsigned int pktsize; member
202 c->pktsize = avio_rl32(s->pb) - 4; in siff_read_packet()
214 if (c->pktsize < 2LL + c->sndsize + c->gmcsize) in siff_read_packet()
217 size = c->pktsize - c->sndsize - c->gmcsize - 2; in siff_read_packet()
230 int pktsize = av_get_packet(s->pb, pkt, c->sndsize - 4); in siff_read_packet() local
231 if (pktsize < 0) in siff_read_packet()
234 pkt->duration = pktsize; in siff_read_packet()
242 int pktsize = av_get_packet(s->pb, pkt, c->block_align); in siff_read_packet() local
243 if (!pktsize) in siff_read_packet()
245 if (pktsize <= 0) in siff_read_packet()
[all …]
Drtmpproto.c2957 int pktsize, pkttype, copy; in rtmp_write() local
2984 pktsize = bytestream_get_be24(&header); in rtmp_write()
2988 rt->flv_size = pktsize; in rtmp_write()
3007 pkttype, ts, pktsize)) < 0) in rtmp_write()
/third_party/ffmpeg/libavcodec/
Dlibspeexdec.c36 int pktsize; member
66 s->pktsize = ((const int[]){5,10,15,20,20,28,28,38,38,46,62})[quality]; in libspeex_decode_init()
153 if (s->pktsize && buf_size == 62) in libspeex_decode_frame()
154 buf_size = s->pktsize; in libspeex_decode_frame()
Dpixlet.c610 uint32_t pktsize, depth; in pixlet_decode_frame() local
614 pktsize = bytestream2_get_be32(&ctx->gb); in pixlet_decode_frame()
615 if (pktsize <= 44 || pktsize - 4 > bytestream2_get_bytes_left(&ctx->gb)) { in pixlet_decode_frame()
616 av_log(avctx, AV_LOG_ERROR, "Invalid packet size %"PRIu32"\n", pktsize); in pixlet_decode_frame()
693 return pktsize; in pixlet_decode_frame()
Dhapenc.c200 int pktsize = FFMAX(ctx->tex_size, ctx->max_snappy * ctx->chunk_count) + header_length; in hap_encode() local
203 ret = ff_alloc_packet2(avctx, pkt, pktsize, header_length); in hap_encode()
/third_party/libwebsockets/lib/secure-streams/
Dsecure-streams-client.c203 size_t pktsize = wsi->a.context->max_http_header_data; in callback_sspc_client() local
433 pkt = lws_malloc(pktsize + LWS_PRE, __func__); in callback_sspc_client()
437 end = p + pktsize; in callback_sspc_client()
486 pkt = lws_malloc(pktsize + LWS_PRE, __func__); in callback_sspc_client()
490 end = p + pktsize; in callback_sspc_client()
523 len = pktsize - LWS_PRE - 19; in callback_sspc_client()