Lines Matching defs:nal
176 uint8_t nal = buf[0];
177 uint8_t type = (nal & 0x1f);
188 type = 1; // simplify the case. (these are all the nal types used internally by the h264 codec)
196 data->packet_types_received[nal & 0x1f]++;
238 "nal size exceeds length: %d %d\n", nal_size, src_len);
271 case 28: // FU-A (fragmented nal)
276 uint8_t fu_indicator = nal;
283 // reconstruct this packet's true nal; only the data follows..
284 reconstructed_nal = fu_indicator & (0xe0); // the original nal forbidden bit and NRI are stored in this packet's nal;
296 // copy in the start sequence, and the reconstructed nal....
297 av_new_packet(pkt, sizeof(start_sequence)+sizeof(nal)+len);
300 memcpy(pkt->data+sizeof(start_sequence)+sizeof(nal), buf, len);