Home
last modified time | relevance | path

Searched refs:pstart (Results 1 – 23 of 23) sorted by relevance

/third_party/ffmpeg/libavformat/
Doggparseflac.c39 if (os->buf[os->pstart] == 0xff) in flac_header()
42 init_get_bits(&gb, os->buf + os->pstart, os->psize*8); in flac_header()
47 uint8_t *streaminfo_start = os->buf + os->pstart + 5 + 4 + 4 + 4; in flac_header()
74 ff_vorbis_stream_comment(s, st, os->buf + os->pstart + 4, os->psize - 4); in flac_header()
109 &data, &size, os->buf + os->pstart, os->psize, in old_flac_header()
Doggparsetheora.c48 if (!(os->buf[os->pstart] & 0x80)) in theora_header()
58 switch (os->buf[os->pstart]) { in theora_header()
63 init_get_bits(&gb, os->buf + os->pstart, os->psize * 8); in theora_header()
119 ff_vorbis_stream_comment(s, st, os->buf + os->pstart + 7, os->psize - 7); in theora_header()
125 av_log(s, AV_LOG_ERROR, "Unknown header type %X\n", os->buf[os->pstart]); in theora_header()
139 memcpy(cdp, os->buf + os->pstart, os->psize); in theora_header()
Doggdec.c166 os->pstart = 0; in ogg_reset()
474 os->pstart += seg; in ogg_read_page()
523 idx, os->pstart, os->psize, os->segp, os->nsegs); in ogg_packet()
599 os->pstart += os->psize; in ogg_packet()
614 *dstart = os->pstart; in ogg_packet()
619 os->pstart += os->psize; in ogg_packet()
621 if(os->pstart == os->bufpos) in ogg_packet()
622 os->bufpos = os->pstart = 0; in ogg_packet()
804 static void ogg_validate_keyframe(AVFormatContext *s, int idx, int pstart, int psize) in ogg_validate_keyframe() argument
812 invalid = !!(os->pflags & AV_PKT_FLAG_KEY) != !(os->buf[pstart] & 0x40); in ogg_validate_keyframe()
[all …]
Doggparsevorbis.c279 ret = ff_vorbis_stream_comment(s, st, os->buf + os->pstart + 7, in vorbis_update_metadata()
303 int pkt_type = os->buf[os->pstart]; in vorbis_header()
328 memcpy(priv->packet[pkt_type >> 1], os->buf + os->pstart, os->psize); in vorbis_header()
329 if (os->buf[os->pstart] == 1) { in vorbis_header()
330 const uint8_t *p = os->buf + os->pstart + 7; /* skip "\001vorbis" tag */ in vorbis_header()
371 } else if (os->buf[os->pstart] == 3) { in vorbis_header()
427 uint8_t *last_pkt = os->buf + os->pstart; in vorbis_packet()
475 duration = av_vorbis_parse_frame_flags(priv->vp, os->buf + os->pstart, 1, &flags); in vorbis_packet()
Doggparseogm.c48 bytestream2_init(&p, os->buf + os->pstart, os->psize); in ogm_header()
135 uint8_t *p = os->buf + os->pstart; in ogm_dshow_header()
175 uint8_t *p = os->buf + os->pstart; in ogm_packet()
185 os->pstart += lb + 1; in ogm_packet()
Doggparseopus.c44 uint8_t *packet = os->buf + os->pstart; in opus_header()
117 uint8_t *packet = os->buf + os->pstart; in opus_packet()
130 uint8_t *last_pkt = os->buf + os->pstart; in opus_packet()
Doggparsedirac.c40 ret = av_dirac_parse_sequence_header(&dsh, os->buf + os->pstart + 13, (os->psize - 13), s); in dirac_header()
91 uint8_t *buf = os->buf + os->pstart; in old_dirac_header()
Doggparsevp8.c34 uint8_t *p = os->buf + os->pstart; in vp8_header()
105 uint8_t *p = os->buf + os->pstart; in vp8_packet()
Doggparseskeleton.c31 uint8_t *buf = os->buf + os->pstart; in skeleton_header()
Doggparsecelt.c39 uint8_t *p = os->buf + os->pstart; in celt_header()
Doggdec.h65 unsigned int pstart; member
Doggparsespeex.c48 uint8_t *p = os->buf + os->pstart; in speex_header()
/third_party/node/deps/openssl/openssl/crypto/ct/
Dct_oct.c156 unsigned char *p = NULL, *pstart = NULL; in i2o_SCT_signature() local
180 pstart = p = OPENSSL_malloc(len); in i2o_SCT_signature()
196 OPENSSL_free(pstart); in i2o_SCT_signature()
203 unsigned char *p = NULL, *pstart = NULL; in i2o_SCT() local
227 pstart = p = OPENSSL_malloc(len); in i2o_SCT()
253 OPENSSL_free(pstart); in i2o_SCT()
/third_party/openssl/crypto/ct/
Dct_oct.c156 unsigned char *p = NULL, *pstart = NULL; in i2o_SCT_signature() local
180 pstart = p = OPENSSL_malloc(len); in i2o_SCT_signature()
196 OPENSSL_free(pstart); in i2o_SCT_signature()
203 unsigned char *p = NULL, *pstart = NULL; in i2o_SCT() local
227 pstart = p = OPENSSL_malloc(len); in i2o_SCT()
253 OPENSSL_free(pstart); in i2o_SCT()
/third_party/ffmpeg/libavcodec/
Dvb.c98 uint8_t *pstart = c->prev_frame; in vb_decode_framedata() local
119 if (check_line(prev + y*width, pstart, pend)) in vb_decode_framedata()
138 if (check_line(prev + t + y*width, pstart, pend)) in vb_decode_framedata()
167 if (pattern & 1 && check_pixel(prev + x + y*width, pstart, pend)) in vb_decode_framedata()
/third_party/ltp/testcases/realtime/func/prio-preempt/
Dprio-preempt.c166 nsec_t pstart, pend; in worker_thread() local
203 pstart = pend = rt_gettime(); in worker_thread()
219 tid, mypri, pend - pstart); in worker_thread()
/third_party/lwip/src/netif/ppp/
Dupap.c606 const u_char *pstart; in upap_printpkt() local
610 pstart = p; in upap_printpkt()
673 return p - pstart; in upap_printpkt()
Dipv6cp.c1404 const u_char *pstart, *optend;
1412 pstart = p;
1489 return p - pstart;
Dipcp.c2242 const u_char *pstart, *optend; in ipcp_printpkt() local
2250 pstart = p; in ipcp_printpkt()
2362 return p - pstart; in ipcp_printpkt()
Deap.c2137 const u_char *pstart; in eap_printpkt() local
2142 pstart = inp; in eap_printpkt()
2419 return (inp - pstart); in eap_printpkt()
Dlcp.c2387 const u_char *pstart, *optend; in lcp_printpkt() local
2393 pstart = p; in lcp_printpkt()
2631 return p - pstart; in lcp_printpkt()
/third_party/FreeBSD/sys/dev/usb/
Dusb_generic.c1324 struct usb_fs_start *pstart; in ugen_ioctl() member
1371 u.pstart = &start; in ugen_ioctl()
1372 error = ugen_fs_copy_in(f, u.pstart->ep_index); in ugen_ioctl()
1376 xfer = f->fs_xfer[u.pstart->ep_index]; in ugen_ioctl()
1394 xfer = f->fs_xfer[u.pstart->ep_index]; in ugen_ioctl()
/third_party/libwebsockets/lib/roles/http/server/
Dserver.c3023 unsigned char *p, *pstart; in lws_serve_http_file_fragment() local
3073 p = pstart = pt->serv_buf + LWS_H2_FRAME_HEADER_LENGTH; in lws_serve_http_file_fragment()
3183 n = lws_ptr_diff(p, pstart) + (int)amount; in lws_serve_http_file_fragment()
3207 p = pstart; in lws_serve_http_file_fragment()
3214 n += lws_snprintf((char *)pstart + n, 6, in lws_serve_http_file_fragment()