Home
last modified time | relevance | path

Searched refs:pkt_data (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavformat/tests/
Dfifo_muxer.c41 static int prepare_packet(AVPacket *pkt, const FailingMuxerPacketData *pkt_data, int64_t pts) in prepare_packet() argument
43 int ret = av_new_packet(pkt, sizeof(*pkt_data)); in prepare_packet()
46 memcpy(pkt->data, pkt_data, sizeof(*pkt_data)); in prepare_packet()
81 AVPacket *pkt, const FailingMuxerPacketData *pkt_data) in fifo_basic_test() argument
93 ret = prepare_packet(pkt, pkt_data, i); in fifo_basic_test()
183 AVPacket *, const FailingMuxerPacketData *pkt_data);
191 FailingMuxerPacketData pkt_data; member
231 ret = test->test_func(oc, &opts, pkt, &test->pkt_data); in run_test()
/third_party/ffmpeg/libavdevice/
Djack.c69 float *pkt_data; in process_callback() local
93 pkt_data = (float *) pkt.data; in process_callback()
103 pkt_data[j * self->nports + i] = buffer[j]; in process_callback()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/l2_packet/
Dl2_packet_winpcap.c103 const u_char *pkt_data) in l2_packet_receive_cb() argument
108 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) in l2_packet_receive_cb()
111 ethhdr = (struct l2_ethhdr *) pkt_data; in l2_packet_receive_cb()
Dl2_packet_pcap.c148 const u_char *pkt_data) in l2_packet_receive_cb() argument
155 if (!l2->rx_callback || !pkt_data || hdr->caplen < sizeof(*ethhdr)) in l2_packet_receive_cb()
158 ethhdr = (struct l2_ethhdr *) pkt_data; in l2_packet_receive_cb()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/
Dl2_packet_winpcap.c103 const u_char *pkt_data) in l2_packet_receive_cb() argument
108 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) in l2_packet_receive_cb()
111 ethhdr = (struct l2_ethhdr *) pkt_data; in l2_packet_receive_cb()
Dl2_packet_pcap.c148 const u_char *pkt_data) in l2_packet_receive_cb() argument
155 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) in l2_packet_receive_cb()
158 ethhdr = (struct l2_ethhdr *) pkt_data; in l2_packet_receive_cb()
/third_party/ffmpeg/libavformat/
Dmatroskadec.c1656 uint8_t *pkt_data = NULL; in matroska_decode_buffer() local
1682 pkt_data = av_malloc(pkt_size + AV_INPUT_BUFFER_PADDING_SIZE); in matroska_decode_buffer()
1683 if (!pkt_data) in matroska_decode_buffer()
1686 memcpy(pkt_data, header, header_size); in matroska_decode_buffer()
1687 memcpy(pkt_data + header_size, data, isize); in matroska_decode_buffer()
1695 newpktdata = av_realloc(pkt_data, pkt_size + AV_LZO_OUTPUT_PADDING in matroska_decode_buffer()
1701 pkt_data = newpktdata; in matroska_decode_buffer()
1702 result = av_lzo1x_decode(pkt_data, &olen, data, &insize); in matroska_decode_buffer()
1721 newpktdata = av_realloc(pkt_data, pkt_size + AV_INPUT_BUFFER_PADDING_SIZE); in matroska_decode_buffer()
1727 pkt_data = newpktdata; in matroska_decode_buffer()
[all …]