Lines Matching refs:header
123 RTPHeader header;
148 RTPFragmentationHeader& operator=(const RTPFragmentationHeader& header)
150 if(this == &header)
155 if(header.fragmentationVectorSize != fragmentationVectorSize)
169 if(header.fragmentationVectorSize > 0)
172 if(header.fragmentationOffset)
174 fragmentationOffset = new WebRtc_UWord32[header.fragmentationVectorSize];
176 if(header.fragmentationLength)
178 fragmentationLength = new WebRtc_UWord32[header.fragmentationVectorSize];
180 if(header.fragmentationTimeDiff)
182 fragmentationTimeDiff = new WebRtc_UWord16[header.fragmentationVectorSize];
184 if(header.fragmentationPlType)
186 fragmentationPlType = new WebRtc_UWord8[header.fragmentationVectorSize];
190 fragmentationVectorSize = header.fragmentationVectorSize;
193 if(header.fragmentationVectorSize > 0)
196 if(header.fragmentationOffset)
198 memcpy(fragmentationOffset, header.fragmentationOffset,
199 header.fragmentationVectorSize * sizeof(WebRtc_UWord32));
201 if(header.fragmentationLength)
203 memcpy(fragmentationLength, header.fragmentationLength,
204 header.fragmentationVectorSize * sizeof(WebRtc_UWord32));
206 if(header.fragmentationTimeDiff)
208 memcpy(fragmentationTimeDiff, header.fragmentationTimeDiff,
209 header.fragmentationVectorSize * sizeof(WebRtc_UWord16));
211 if(header.fragmentationPlType)
213 memcpy(fragmentationPlType, header.fragmentationPlType,
214 header.fragmentationVectorSize * sizeof(WebRtc_UWord8));