Searched refs:nal_start (Results 1 – 3 of 3) sorted by relevance
/third_party/ffmpeg/libavformat/ |
D | movenccenc.c | 197 const uint8_t *nal_start, *nal_end; in ff_mov_cenc_avc_parse_nal_units() local 206 nal_start = ff_avc_find_startcode(p, end); in ff_mov_cenc_avc_parse_nal_units() 208 while (nal_start < end && !*(nal_start++)); in ff_mov_cenc_avc_parse_nal_units() 209 if (nal_start == end) in ff_mov_cenc_avc_parse_nal_units() 212 nal_end = ff_avc_find_startcode(nal_start, end); in ff_mov_cenc_avc_parse_nal_units() 214 avio_wb32(pb, nal_end - nal_start); in ff_mov_cenc_avc_parse_nal_units() 215 avio_w8(pb, *nal_start); in ff_mov_cenc_avc_parse_nal_units() 216 mov_cenc_write_encrypted(ctx, pb, nal_start + 1, nal_end - nal_start - 1); in ff_mov_cenc_avc_parse_nal_units() 218 auxiliary_info_add_subsample(ctx, 5, nal_end - nal_start - 1); in ff_mov_cenc_avc_parse_nal_units() 220 size += 4 + nal_end - nal_start; in ff_mov_cenc_avc_parse_nal_units() [all …]
|
D | avc.c | 77 const uint8_t *nal_start, *nal_end; in ff_avc_parse_nal_units() local 80 nal_start = ff_avc_find_startcode(p, end); in ff_avc_parse_nal_units() 82 while (nal_start < end && !*(nal_start++)); in ff_avc_parse_nal_units() 83 if (nal_start == end) in ff_avc_parse_nal_units() 86 nal_end = ff_avc_find_startcode(nal_start, end); in ff_avc_parse_nal_units() 87 avio_wb32(pb, nal_end - nal_start); in ff_avc_parse_nal_units() 88 avio_write(pb, nal_start, nal_end - nal_start); in ff_avc_parse_nal_units() 89 size += 4 + nal_end - nal_start; in ff_avc_parse_nal_units() 90 nal_start = nal_end; in ff_avc_parse_nal_units()
|
/third_party/ffmpeg/libavcodec/ |
D | videotoolboxenc.c | 1570 uint8_t *nal_start = nal_data; in find_sei_end() local 1614 return nal_data - nal_start + 1; in find_sei_end()
|