Lines Matching refs:nal_start
197 const uint8_t *nal_start, *nal_end;
206 nal_start = ff_avc_find_startcode(p, end);
208 while (nal_start < end && !*(nal_start++));
209 if (nal_start == end)
212 nal_end = ff_avc_find_startcode(nal_start, end);
214 avio_wb32(pb, nal_end - nal_start);
215 avio_w8(pb, *nal_start);
216 mov_cenc_write_encrypted(ctx, pb, nal_start + 1, nal_end - nal_start - 1);
218 auxiliary_info_add_subsample(ctx, 5, nal_end - nal_start - 1);
220 size += 4 + nal_end - nal_start;
221 nal_start = nal_end;