Searched refs:ppkt (Results 1 – 6 of 6) sorted by relevance
/third_party/libwebsockets/plugins/raw-proxy/ |
D | protocol_lws_raw_proxy.c | 179 const struct packet *ppkt; in callback_raw_proxy() local 334 ppkt = lws_ring_get_element(conn->r[ACC], &conn->t[ACC]); in callback_raw_proxy() 335 if (!ppkt) { in callback_raw_proxy() 341 if (ppkt->ticket != conn->ticket_retired + 1) { in callback_raw_proxy() 343 ppkt->ticket, conn->ticket_retired + 1); in callback_raw_proxy() 348 n = lws_write(wsi, ppkt->payload, ppkt->len, LWS_WRITE_RAW); in callback_raw_proxy() 355 conn->ticket_retired = ppkt->ticket; in callback_raw_proxy() 366 ppkt = lws_ring_get_element(conn->r[ACC], &conn->t[ACC]); in callback_raw_proxy() 368 __func__, ppkt, ppkt ? ppkt->ticket : 0, in callback_raw_proxy() 371 if (ppkt && ppkt->ticket == conn->ticket_retired + 1) in callback_raw_proxy() [all …]
|
/third_party/ffmpeg/libavformat/ |
D | rawutils.c | 25 int ff_reshuffle_raw_rgb(AVFormatContext *s, AVPacket **ppkt, AVCodecParameters *par, int expected_… in ff_reshuffle_raw_rgb() argument 28 AVPacket *pkt = *ppkt; in ff_reshuffle_raw_rgb() 61 *ppkt = new_pkt; in ff_reshuffle_raw_rgb()
|
D | internal.h | 849 int ff_reshuffle_raw_rgb(AVFormatContext *s, AVPacket **ppkt, AVCodecParameters *par, int expected_…
|
D | rtmpproto.c | 867 static int gen_pong(URLContext *s, RTMPContext *rt, RTMPPacket *ppkt) in gen_pong() argument 873 if (ppkt->size < 6) { in gen_pong() 875 ppkt->size); in gen_pong() 880 ppkt->timestamp + 1, 6)) < 0) in gen_pong() 885 bytestream_put_be32(&p, AV_RB32(ppkt->data+2)); in gen_pong()
|
/third_party/libsnd/src/ |
D | ogg_opus.c | 928 ogg_packet *ppkt ; in ogg_opus_calculate_page_duration() local 931 for (i = 0 , ppkt = odata->pkt ; i < odata->pkt_len ; i++, ppkt++) in ogg_opus_calculate_page_duration() 933 samples = opus_packet_get_nb_samples (ppkt->packet, ppkt->bytes, 48000) ; in ogg_opus_calculate_page_duration() 979 ogg_packet *ppkt ; in ogg_opus_read_refill() local 990 ppkt = odata->pkt + odata->pkt_indx ; in ogg_opus_read_refill() 992 ppkt->packet, ppkt->bytes, oopus->buffer, oopus->buffersize, 0) ; in ogg_opus_read_refill() 995 { nsamp = opus_packet_get_nb_samples (ppkt->packet, ppkt->bytes, psf->sf.samplerate) ; in ogg_opus_read_refill() 1014 ppkt->packet, ppkt->bytes, oopus->buffer, oopus->buffersize, 0) ; in ogg_opus_read_refill() 1755 { ogg_packet *ppkt = &odata->pkt [odata->pkt_indx] ; in ogg_opus_byterate() local 1756 return (ppkt->bytes * 8000) / opus_packet_get_nb_samples (ppkt->packet, ppkt->bytes, 8000) ; in ogg_opus_byterate()
|
D | ogg.c | 344 ogg_packet *ppkt = odata->pkt ; in ogg_stream_unpack_page() local 347 nn = ogg_stream_packetout (&odata->ostream, ppkt) ; in ogg_stream_unpack_page() 353 for ( ; nn == 0 ; nn = ogg_stream_packetout (&odata->ostream, ppkt)) in ogg_stream_unpack_page() 373 nn = ogg_stream_packetout (&odata->ostream, ppkt) ; in ogg_stream_unpack_page() 392 if (ogg_stream_packetout (&odata->ostream, ++ ppkt) != 1) in ogg_stream_unpack_page()
|