/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtp/ |
D | gstrtcpbuffer.c | 358 GstRTCPPacket packet; in gst_rtcp_buffer_get_packet_count() local 367 if (gst_rtcp_buffer_get_first_packet (rtcp, &packet)) { in gst_rtcp_buffer_get_packet_count() 370 } while (gst_rtcp_packet_move_to_next (&packet)); in gst_rtcp_buffer_get_packet_count() 410 read_packet_header (GstRTCPPacket * packet) in read_packet_header() argument 418 g_return_val_if_fail (packet != NULL, FALSE); in read_packet_header() 420 data = packet->rtcp->map.data; in read_packet_header() 421 maxsize = packet->rtcp->map.size; in read_packet_header() 423 offset = packet->offset; in read_packet_header() 434 packet->padding = (data[offset] & 0x20) == 0x20; in read_packet_header() 435 packet->count = data[offset] & 0x1f; in read_packet_header() [all …]
|
D | gstrtcpbuffer.h | 350 gboolean gst_rtcp_buffer_get_first_packet (GstRTCPBuffer *rtcp, GstRTCPPacket *packet); 353 gboolean gst_rtcp_packet_move_to_next (GstRTCPPacket *packet); 357 GstRTCPPacket *packet); 360 gboolean gst_rtcp_packet_remove (GstRTCPPacket *packet); 365 gboolean gst_rtcp_packet_get_padding (GstRTCPPacket *packet); 368 guint8 gst_rtcp_packet_get_count (GstRTCPPacket *packet); 371 GstRTCPType gst_rtcp_packet_get_type (GstRTCPPacket *packet); 374 guint16 gst_rtcp_packet_get_length (GstRTCPPacket *packet); 380 void gst_rtcp_packet_sr_get_sender_info (GstRTCPPacket *packet, guint32 *ssrc, 385 void gst_rtcp_packet_sr_set_sender_info (GstRTCPPacket *packet, guint32 ssrc, [all …]
|
/third_party/ffmpeg/tests/ref/fate/ |
D | mov-aac-2048-priming | 1 packet|codec_type=audio|stream_index=0|pts=-2048|pts_time=-0.046440|dts=-2048|dts_time=-0.046440|du… 3 packet|codec_type=audio|stream_index=0|pts=-1024|pts_time=-0.023220|dts=-1024|dts_time=-0.023220|du… 4 packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=102… 5 packet|codec_type=audio|stream_index=0|pts=1024|pts_time=0.023220|dts=1024|dts_time=0.023220|durati… 6 packet|codec_type=audio|stream_index=0|pts=2048|pts_time=0.046440|dts=2048|dts_time=0.046440|durati… 7 packet|codec_type=audio|stream_index=0|pts=3072|pts_time=0.069660|dts=3072|dts_time=0.069660|durati… 8 packet|codec_type=audio|stream_index=0|pts=4096|pts_time=0.092880|dts=4096|dts_time=0.092880|durati… 9 packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.116100|dts=5120|dts_time=0.116100|durati… 10 packet|codec_type=audio|stream_index=0|pts=6144|pts_time=0.139320|dts=6144|dts_time=0.139320|durati… 11 packet|codec_type=audio|stream_index=0|pts=7168|pts_time=0.162540|dts=7168|dts_time=0.162540|durati… [all …]
|
D | ffprobe_flat | 1 packets_and_frames.packet.0.codec_type="audio" 2 packets_and_frames.packet.0.stream_index=0 3 packets_and_frames.packet.0.pts=0 4 packets_and_frames.packet.0.pts_time="0.000000" 5 packets_and_frames.packet.0.dts=0 6 packets_and_frames.packet.0.dts_time="0.000000" 7 packets_and_frames.packet.0.duration=1024 8 packets_and_frames.packet.0.duration_time="0.023220" 9 packets_and_frames.packet.0.size="2048" 10 packets_and_frames.packet.0.pos="647" [all …]
|
D | mov-init-nonkeyframe | 1 packet|codec_type=video|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=100… 2 packet|codec_type=video|stream_index=0|pts=2002|pts_time=0.066733|dts=1001|dts_time=0.033367|durati… 3 packet|codec_type=video|stream_index=0|pts=7007|pts_time=0.233567|dts=2002|dts_time=0.066733|durati… 4 packet|codec_type=video|stream_index=0|pts=5005|pts_time=0.166833|dts=3003|dts_time=0.100100|durati… 5 packet|codec_type=video|stream_index=0|pts=4004|pts_time=0.133467|dts=4004|dts_time=0.133467|durati… 6 packet|codec_type=video|stream_index=0|pts=6006|pts_time=0.200200|dts=5005|dts_time=0.166833|durati… 7 packet|codec_type=video|stream_index=0|pts=11011|pts_time=0.367033|dts=6006|dts_time=0.200200|durat… 8 packet|codec_type=video|stream_index=0|pts=9009|pts_time=0.300300|dts=7007|dts_time=0.233567|durati… 9 packet|codec_type=video|stream_index=0|pts=8008|pts_time=0.266933|dts=8008|dts_time=0.266933|durati… 10 packet|codec_type=video|stream_index=0|pts=10010|pts_time=0.333667|dts=9009|dts_time=0.300300|durat… [all …]
|
D | gaplessinfo-itunes2 | 10 packet|pts=0|dts=0|duration=1024|flags=K_side_data| 12 packet|pts=1024|dts=1024|duration=1024|flags=K_ 13 packet|pts=2048|dts=2048|duration=1024|flags=K_ 14 packet|pts=3072|dts=3072|duration=1024|flags=K_ 15 packet|pts=4096|dts=4096|duration=1024|flags=K_ 16 packet|pts=5120|dts=5120|duration=1024|flags=K_ 17 packet|pts=6144|dts=6144|duration=1024|flags=K_ 18 packet|pts=97280|dts=97280|duration=1024|flags=K_ 19 packet|pts=98304|dts=98304|duration=1024|flags=K_ 20 packet|pts=99328|dts=99328|duration=1024|flags=K_ [all …]
|
D | gaplessenc-itunes-to-ipod-aac | 10 packet|pts=-1024|dts=-1024|duration=1024|flags=KDside_data| 12 packet|pts=0|dts=0|duration=1024|flags=K_ 13 packet|pts=1024|dts=1024|duration=1024|flags=K_ 14 packet|pts=2048|dts=2048|duration=1024|flags=K_ 15 packet|pts=3072|dts=3072|duration=1024|flags=K_ 16 packet|pts=4096|dts=4096|duration=1024|flags=K_ 17 packet|pts=5120|dts=5120|duration=1024|flags=K_ 18 packet|pts=95232|dts=95232|duration=1024|flags=K_ 19 packet|pts=96256|dts=96256|duration=1024|flags=K_ 20 packet|pts=97280|dts=97280|duration=1024|flags=K_ [all …]
|
D | gaplessinfo-itunes1 | 10 packet|pts=0|dts=0|duration=1024|flags=K_side_data| 12 packet|pts=1024|dts=1024|duration=1024|flags=K_ 13 packet|pts=2048|dts=2048|duration=1024|flags=K_ 14 packet|pts=3072|dts=3072|duration=1024|flags=K_ 15 packet|pts=4096|dts=4096|duration=1024|flags=K_ 16 packet|pts=5120|dts=5120|duration=1024|flags=K_ 17 packet|pts=6144|dts=6144|duration=1024|flags=K_ 18 packet|pts=1286144|dts=1286144|duration=1024|flags=K_ 19 packet|pts=1287168|dts=1287168|duration=1024|flags=K_ 20 packet|pts=1288192|dts=1288192|duration=1024|flags=K_ [all …]
|
D | gaplessenc-pcm-to-mov-aac | 10 packet|pts=-1024|dts=-1024|duration=1024|flags=KDside_data| 12 packet|pts=0|dts=0|duration=1024|flags=K_ 13 packet|pts=1024|dts=1024|duration=1024|flags=K_ 14 packet|pts=2048|dts=2048|duration=1024|flags=K_ 15 packet|pts=3072|dts=3072|duration=1024|flags=K_ 16 packet|pts=4096|dts=4096|duration=1024|flags=K_ 17 packet|pts=5120|dts=5120|duration=1024|flags=K_ 18 packet|pts=521216|dts=521216|duration=1024|flags=K_ 19 packet|pts=522240|dts=522240|duration=1024|flags=K_ 20 packet|pts=523264|dts=523264|duration=1024|flags=K_ [all …]
|
/third_party/gstreamer/gstplugins_base/ext/ogg/ |
D | gstoggstream.c | 42 ogg_packet * packet); 58 ogg_packet * packet); 62 ogg_packet * packet); 64 ogg_packet * packet); 66 ogg_packet * packet); 73 ogg_packet * packet); 102 gst_ogg_stream_get_packet_start_time (GstOggStream * pad, ogg_packet * packet) in gst_ogg_stream_get_packet_start_time() argument 106 if (packet->granulepos == -1) { in gst_ogg_stream_get_packet_start_time() 110 duration = gst_ogg_stream_get_packet_duration (pad, packet); in gst_ogg_stream_get_packet_start_time() 117 packet->granulepos) - duration); in gst_ogg_stream_get_packet_start_time() [all …]
|
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/android/ |
D | AndroidTouchProcessor.java | 96 ByteBuffer packet = ByteBuffer.allocateDirect( in onTouchEvent() local 99 packet.order(ByteOrder.LITTLE_ENDIAN); in onTouchEvent() 107 addPointerForIndex(event, event.getActionIndex(), pointerChange, 0, packet); in onTouchEvent() 115 addPointerForIndex(event, p, PointerChange.MOVE, POINTER_DATA_FLAG_BATCHED, packet); in onTouchEvent() 120 addPointerForIndex(event, event.getActionIndex(), pointerChange, 0, packet); in onTouchEvent() 126 addPointerForIndex(event, p, pointerChange, 0, packet); in onTouchEvent() 131 if (packet.position() % (POINTER_DATA_FIELD_COUNT * BYTES_PER_FIELD) != 0) { in onTouchEvent() 136 renderer.dispatchPointerDataPacket(packet, packet.position()); in onTouchEvent() 160 ByteBuffer packet = ByteBuffer.allocateDirect( in onGenericMotionEvent() local 163 packet.order(ByteOrder.LITTLE_ENDIAN); in onGenericMotionEvent() [all …]
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_cl.h | 152 #define cl_packet_header(packet) V3DX(packet ## _header) argument 153 #define cl_packet_length(packet) V3DX(packet ## _length) argument 154 #define cl_aligned_packet_length(packet, alignment) ALIGN(cl_packet_length(packet), alignment) argument 155 #define cl_packet_pack(packet) V3DX(packet ## _pack) argument 156 #define cl_packet_struct(packet) V3DX(packet) argument 172 #define cl_emit(cl, packet, name) \ argument 173 for (struct cl_packet_struct(packet) name = { \ 174 cl_packet_header(packet) \ 180 cl_packet_pack(packet)(cl, (uint8_t *)cl_out, &name); \ 181 cl_advance(&cl_out, cl_packet_length(packet)); \ [all …]
|
/third_party/gstreamer/gstplugins_bad/tests/check/libs/ |
D | mpegvideoparser.c | 72 GstMpegVideoPacket packet; in GST_START_TEST() local 76 fail_unless (gst_mpeg_video_parse (&packet, mpeg2_seq, sizeof (mpeg2_seq), in GST_START_TEST() 78 fail_unless (packet.offset == off + 4); in GST_START_TEST() 80 fail_unless (GST_MPEG_VIDEO_PACKET_SLICE_MIN <= packet.type && in GST_START_TEST() 81 packet.type <= GST_MPEG_VIDEO_PACKET_SLICE_MAX); in GST_START_TEST() 82 fail_unless (packet.size < 0); in GST_START_TEST() 84 assert_equals_int (ordercode[i], packet.type); in GST_START_TEST() 86 off = packet.offset + packet.size; in GST_START_TEST() 95 GstMpegVideoPacket packet; in GST_START_TEST() local 97 gst_mpeg_video_parse (&packet, mpeg2_seq, sizeof (mpeg2_seq), 12); in GST_START_TEST() [all …]
|
/third_party/gstreamer/gstplugins_base/ext/vorbis/ |
D | gstvorbisdeclib.h | 84 return (guint8 *) p->packet; in gst_ogg_packet_data() 94 gst_ogg_packet_wrapper_map (ogg_packet * packet, GstBuffer * buffer, GstMapInfo *map) in gst_ogg_packet_wrapper_map() argument 98 packet->packet = map->data; in gst_ogg_packet_wrapper_map() 99 packet->bytes = map->size; in gst_ogg_packet_wrapper_map() 103 gst_ogg_packet_wrapper_unmap (ogg_packet * packet, GstBuffer * buffer, GstMapInfo *map) in gst_ogg_packet_wrapper_unmap() argument 110 gst_ogg_packet_from_wrapper (ogg_packet_wrapper * packet) in gst_ogg_packet_from_wrapper() argument 112 return packet; in gst_ogg_packet_from_wrapper() 123 ogg_packet packet; member 134 return (guint8 *) p->packet->buffer->data; in gst_ogg_packet_data() 140 return p->packet->buffer->size; in gst_ogg_packet_size() [all …]
|
/third_party/libcoap/src/ |
D | coap_io_lwip.c | 22 void coap_packet_copy_source(coap_packet_t *packet, coap_address_t *target) 24 target->port = packet->srcport; 28 void coap_packet_get_memmapped(coap_packet_t *packet, unsigned char **address, size_t *length) in coap_packet_get_memmapped() argument 30 …nly deal with contiguous PBUFs to read the initial details", packet->pbuf->tot_len == packet->pbuf… in coap_packet_get_memmapped() 31 *address = packet->pbuf->payload; in coap_packet_get_memmapped() 32 *length = packet->pbuf->tot_len; in coap_packet_get_memmapped() 34 void coap_free_packet(coap_packet_t *packet) in coap_free_packet() argument 36 if (packet->pbuf) in coap_free_packet() 37 pbuf_free(packet->pbuf); in coap_free_packet() 38 coap_free_type(COAP_PACKET, packet); in coap_free_packet() [all …]
|
/third_party/toybox/toys/pending/ |
D | tftp.c | 181 static inline int check_data( uint8_t *packet, uint16_t *opcode, in check_data() argument 184 *opcode = (uint16_t) packet[0] << 8 | (uint16_t) packet[1]; in check_data() 186 *blockno = (uint16_t) packet[2] << 8 | (uint16_t) packet[3]; in check_data() 193 static int mkpkt_data(int fd, off_t offset, uint8_t *packet, uint16_t blockno) in mkpkt_data() argument 198 packet[0] = TFTP_OP_DATA >> 8; in mkpkt_data() 199 packet[1] = TFTP_OP_DATA & 0xff; in mkpkt_data() 200 packet[2] = blockno >> 8; in mkpkt_data() 201 packet[3] = blockno & 0xff; in mkpkt_data() 207 nbytesread = readall(fd, &packet[TFTP_DATAHEADERSIZE], TFTP_DATASIZE); in mkpkt_data() 213 static int read_ack(int sd, uint8_t *packet, struct sockaddr_storage *server, in read_ack() argument [all …]
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_cl.h | 198 #define cl_packet_header(packet) V3DX(packet ## _header) argument 199 #define cl_packet_length(packet) V3DX(packet ## _length) argument 200 #define cl_packet_pack(packet) V3DX(packet ## _pack) argument 201 #define cl_packet_struct(packet) V3DX(packet) argument 225 #define cl_emit(cl, packet, name) \ argument 226 for (struct cl_packet_struct(packet) name = { \ 227 cl_packet_header(packet) \ 233 cl_packet_pack(packet)(cl, (uint8_t *)cl_out, &name); \ 234 cl_advance(&cl_out, cl_packet_length(packet)); \ 239 #define cl_emit_with_prepacked(cl, packet, prepacked, name) \ argument [all …]
|
/third_party/ffmpeg/libavformat/ |
D | xmv.c | 186 XMVAudioPacket *packet = &xmv->audio[audio_track]; in xmv_read_header() local 188 packet->compression = avio_rl16(pb); in xmv_read_header() 189 packet->channels = avio_rl16(pb); in xmv_read_header() 190 packet->sample_rate = avio_rl32(pb); in xmv_read_header() 191 packet->bits_per_sample = avio_rl16(pb); in xmv_read_header() 192 packet->flags = avio_rl16(pb); in xmv_read_header() 194 packet->bit_rate = (uint64_t)packet->bits_per_sample * in xmv_read_header() 195 packet->sample_rate * in xmv_read_header() 196 packet->channels; in xmv_read_header() 197 packet->block_align = XMV_BLOCK_ALIGN_SIZE * packet->channels; in xmv_read_header() [all …]
|
/third_party/gstreamer/gstplugins_base/tests/check/libs/ |
D | rtp.c | 797 GstRTCPPacket packet; in GST_START_TEST() local 811 fail_unless (gst_rtcp_buffer_get_first_packet (&rtcp, &packet) == FALSE); in GST_START_TEST() 816 &packet) == TRUE); in GST_START_TEST() 818 fail_unless (gst_rtcp_packet_get_padding (&packet) == 0); in GST_START_TEST() 819 fail_unless (gst_rtcp_packet_get_count (&packet) == 0); in GST_START_TEST() 820 fail_unless (gst_rtcp_packet_get_type (&packet) == GST_RTCP_TYPE_SR); in GST_START_TEST() 821 fail_unless (gst_rtcp_packet_get_length (&packet) == 6); in GST_START_TEST() 823 gst_rtcp_packet_sr_set_sender_info (&packet, 0x44556677, in GST_START_TEST() 832 gst_rtcp_packet_sr_get_sender_info (&packet, &ssrc, &ntptime, &rtptime, in GST_START_TEST() 843 fail_unless (gst_rtcp_buffer_get_first_packet (&rtcp, &packet) == TRUE); in GST_START_TEST() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/ |
D | gstmpegvideoparser.c | 242 gst_mpeg_video_parse (GstMpegVideoPacket * packet, in gst_mpeg_video_parse() argument 266 if (gst_byte_reader_get_uint8 (&br, &packet->type) == FALSE) in gst_mpeg_video_parse() 269 packet->data = data; in gst_mpeg_video_parse() 270 packet->offset = offset + off + 4; in gst_mpeg_video_parse() 271 packet->size = -1; in gst_mpeg_video_parse() 278 packet->size = off; in gst_mpeg_video_parse() 302 gst_mpeg_video_packet_parse_sequence_header (const GstMpegVideoPacket * packet, in gst_mpeg_video_packet_parse_sequence_header() argument 310 if (packet->size < 8) in gst_mpeg_video_packet_parse_sequence_header() 313 gst_bit_reader_init (&br, &packet->data[packet->offset], packet->size); in gst_mpeg_video_packet_parse_sequence_header() 396 packet, GstMpegVideoSequenceExt * seqext) in gst_mpeg_video_packet_parse_sequence_extension() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineReferenceRenderer.hpp | 68 rr::VertexPacket* const packet = packets[packetNdx]; in shadeVertices() local 70 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); in shadeVertices() 71 readVertexAttrib(color, inputs[1], packet->instanceNdx, packet->vertexNdx); in shadeVertices() 73 packet->outputs[0] = position; in shadeVertices() 74 packet->outputs[1] = color; in shadeVertices() 75 packet->position = position; in shadeVertices() 106 rr::VertexPacket* const packet = packets[packetNdx]; in shadeVertices() local 108 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); in shadeVertices() 109 readVertexAttrib(color0, inputs[1], packet->instanceNdx, packet->vertexNdx); in shadeVertices() 110 readVertexAttrib(color1, inputs[2], packet->instanceNdx, packet->vertexNdx); in shadeVertices() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineReferenceRenderer.hpp | 68 rr::VertexPacket* const packet = packets[packetNdx]; in shadeVertices() local 70 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); in shadeVertices() 71 readVertexAttrib(color, inputs[1], packet->instanceNdx, packet->vertexNdx); in shadeVertices() 73 packet->outputs[0] = position; in shadeVertices() 74 packet->outputs[1] = color; in shadeVertices() 75 packet->position = position; in shadeVertices() 106 rr::VertexPacket* const packet = packets[packetNdx]; in shadeVertices() local 108 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); in shadeVertices() 109 readVertexAttrib(color0, inputs[1], packet->instanceNdx, packet->vertexNdx); in shadeVertices() 110 readVertexAttrib(color1, inputs[2], packet->instanceNdx, packet->vertexNdx); in shadeVertices() [all …]
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrShadingContext.hpp | 78 tcu::Vector<T, 4> readPointVarying (const FragmentPacket& packet, const FragmentShadingContext& con… in readPointVarying() argument 81 DE_UNREF(packet); in readPointVarying() 87 tcu::Vector<T, 4> readLineVarying (const FragmentPacket& packet, const FragmentShadingContext& cont… in readLineVarying() argument 89 return packet.barycentric[0][fragNdx] * context.varyings[0][varyingLoc].get<T>() in readLineVarying() 90 + packet.barycentric[1][fragNdx] * context.varyings[1][varyingLoc].get<T>(); in readLineVarying() 94 tcu::Vector<T, 4> readTriangleVarying (const FragmentPacket& packet, const FragmentShadingContext& … in readTriangleVarying() argument 96 return packet.barycentric[0][fragNdx] * context.varyings[0][varyingLoc].get<T>() in readTriangleVarying() 97 + packet.barycentric[1][fragNdx] * context.varyings[1][varyingLoc].get<T>() in readTriangleVarying() 98 + packet.barycentric[2][fragNdx] * context.varyings[2][varyingLoc].get<T>(); in readTriangleVarying() 102 tcu::Vector<T, 4> readVarying (const FragmentPacket& packet, const FragmentShadingContext& context,… in readVarying() argument [all …]
|
/third_party/ffmpeg/libavdevice/ |
D | iec61883.c | 102 DVPacket *packet; in iec61883_callback() local 115 packet = av_mallocz(sizeof(*packet)); in iec61883_callback() 116 if (!packet) { in iec61883_callback() 121 packet->buf = av_malloc(length + AV_INPUT_BUFFER_PADDING_SIZE); in iec61883_callback() 122 if (!packet->buf) { in iec61883_callback() 123 av_free(packet); in iec61883_callback() 127 packet->len = length; in iec61883_callback() 129 memcpy(packet->buf, data, length); in iec61883_callback() 130 memset(packet->buf + length, 0, AV_INPUT_BUFFER_PADDING_SIZE); in iec61883_callback() 133 dv->queue_last->next = packet; in iec61883_callback() [all …]
|
/third_party/pulseaudio/src/modules/raop/ |
D | raop-client.c | 273 static size_t write_ALAC_data(uint8_t *packet, const size_t max, uint8_t *raw, size_t *length, bool… in write_ALAC_data() argument 279 bp = packet; in write_ALAC_data() 280 pa_memzero(packet, max); in write_ALAC_data() 311 static size_t build_tcp_audio_packet(pa_raop_client *c, pa_memchunk *block, pa_memchunk *packet) { in build_tcp_audio_packet() argument 318 buffer = pa_memblock_acquire(packet->memblock); in build_tcp_audio_packet() 319 buffer += packet->index / sizeof(uint32_t); in build_tcp_audio_packet() 336 … size += write_ALAC_data(((uint8_t *) buffer + head), packet->length - head, raw, &length, false); in build_tcp_audio_packet() 339 pa_memzero(((uint8_t *) buffer + head), packet->length - head); in build_tcp_audio_packet() 351 pa_memblock_release(packet->memblock); in build_tcp_audio_packet() 352 packet->length = size; in build_tcp_audio_packet() [all …]
|