Lines Matching refs:packet
18 #include "webrtc/modules/video_coding/main/source/packet.h"
69 VCMPacket packet;
70 packet.seqNum = sequence_number;
71 packet.timestamp = timestamp;
72 packet.frameType = type;
73 packet.isFirstPacket = first_packet;
74 packet.markerBit = marker_bit;
75 packet.sizeBytes = size;
76 packet.dataPtr = packet_buffer;
77 if (packet.isFirstPacket)
78 packet.completeNALU = kNaluStart;
79 else if (packet.markerBit)
80 packet.completeNALU = kNaluEnd;
82 packet.completeNALU = kNaluIncomplete;
83 return packet;
86 bool StreamGenerator::PopPacket(VCMPacket* packet, int index) {
90 if (packet)
91 *packet = (*it);
96 bool StreamGenerator::GetPacket(VCMPacket* packet, int index) {
100 if (packet)
101 *packet = (*it);
105 bool StreamGenerator::NextPacket(VCMPacket* packet) {
108 if (packet != NULL)
109 *packet = packets_.front();