Lines Matching defs:nal
60 #define COUNT_NAL_TYPE(data, nal) data->packet_types_received[(nal) & 0x1f]++
62 #define COUNT_NAL_TYPE(data, nal) do { } while (0)
173 uint8_t nal;
181 nal = buf[0];
182 type = nal & 0x1f;
187 /* Simplify the case (these are all the nal types used internally by
198 COUNT_NAL_TYPE(data, nal);
237 "nal size exceeds length: %d %d\n", nal_size, src_len);
272 case 28: // FU-A (fragmented nal)
277 uint8_t fu_indicator = nal;
284 // Reconstruct this packet's true nal; only the data follows.
285 /* The original nal forbidden bit and NRI are stored in this
286 * packet's nal. */
297 /* copy in the start sequence, and the reconstructed nal */
298 if ((result = av_new_packet(pkt, sizeof(start_sequence) + sizeof(nal) + len)) < 0)
302 memcpy(pkt->data + sizeof(start_sequence) + sizeof(nal), buf, len);