Home
last modified time | relevance | path

Searched refs:nalsize (Results 1 – 11 of 11) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dh2645_parse.h121 int i, nalsize = 0; in get_nalsize() local
129 nalsize = ((unsigned)nalsize << 8) | buf[(*buf_index)++]; in get_nalsize()
130 if (nalsize <= 0 || nalsize > buf_size - *buf_index) { in get_nalsize()
132 "Invalid NAL unit size (%d > %d).\n", nalsize, buf_size - *buf_index); in get_nalsize()
135 return nalsize; in get_nalsize()
Dhevc_parse.c113 int nalsize = bytestream2_peek_be16(&gb) + 2; in ff_hevc_decode_extradata() local
114 if (bytestream2_get_bytes_left(&gb) < nalsize) { in ff_hevc_decode_extradata()
120 ret = hevc_decode_nal_units(gb.buffer, nalsize, ps, sei, *is_nalff, in ff_hevc_decode_extradata()
129 bytestream2_skip(&gb, nalsize); in ff_hevc_decode_extradata()
Dh264_parser.c86 int nalsize = 0; in h264_find_frame_end() local
89 nalsize = (nalsize << 8) | buf[i++]; in h264_find_frame_end()
90 if (nalsize <= 0 || nalsize > buf_size - i) { in h264_find_frame_end()
91 … av_log(logctx, AV_LOG_ERROR, "AVC-parser: nal size %d remaining %d\n", nalsize, buf_size - i); in h264_find_frame_end()
94 next_avc = i + nalsize; in h264_find_frame_end()
278 int src_length, consumed, nalsize = 0; in parse_nal_units() local
281 nalsize = get_nalsize(p->nal_length_size, buf, buf_size, &buf_index, avctx); in parse_nal_units()
282 if (nalsize < 0) in parse_nal_units()
284 next_avc = buf_index + nalsize; in parse_nal_units()
Dh264_parse.c472 int i, cnt, nalsize; in ff_h264_decode_extradata() local
486 nalsize = AV_RB16(p) + 2; in ff_h264_decode_extradata()
487 if (nalsize > size - (p - data)) in ff_h264_decode_extradata()
489 ret = decode_extradata_ps_mp4(p, nalsize, ps, err_recognition, logctx); in ff_h264_decode_extradata()
495 p += nalsize; in ff_h264_decode_extradata()
500 nalsize = AV_RB16(p) + 2; in ff_h264_decode_extradata()
501 if (nalsize > size - (p - data)) in ff_h264_decode_extradata()
503 ret = decode_extradata_ps_mp4(p, nalsize, ps, err_recognition, logctx); in ff_h264_decode_extradata()
509 p += nalsize; in ff_h264_decode_extradata()
Dh264dec.c857 int nalsize= AV_RB16(p) + 2; in is_avcc_extradata() local
858 if(nalsize > buf_size - (p-buf) || (p[2] & 0x9F) != 7) in is_avcc_extradata()
860 p += nalsize; in is_avcc_extradata()
866 int nalsize= AV_RB16(p) + 2; in is_avcc_extradata() local
867 if(nalsize > buf_size - (p-buf) || (p[2] & 0x9F) != 8) in is_avcc_extradata()
869 p += nalsize; in is_avcc_extradata()
/third_party/ffmpeg/libavformat/
Dmovenccenc.c235 int nalsize; in ff_mov_cenc_avc_write_nal_units() local
254 nalsize = 0; in ff_mov_cenc_avc_write_nal_units()
256 nalsize = (nalsize << 8) | *buf_in++; in ff_mov_cenc_avc_write_nal_units()
261 if (nalsize <= 0 || nalsize > size) { in ff_mov_cenc_avc_write_nal_units()
262 av_log(s, AV_LOG_ERROR, "CENC-AVC: nal size %d remaining %d\n", nalsize, size); in ff_mov_cenc_avc_write_nal_units()
266 mov_cenc_write_encrypted(ctx, pb, buf_in + 1, nalsize - 1); in ff_mov_cenc_avc_write_nal_units()
267 buf_in += nalsize; in ff_mov_cenc_avc_write_nal_units()
268 size -= nalsize; in ff_mov_cenc_avc_write_nal_units()
270 auxiliary_info_add_subsample(ctx, nal_length_size + 1, nalsize - 1); in ff_mov_cenc_avc_write_nal_units()
/third_party/openh264/test/encoder_binary_comparison/Scripts/
Drun_BinarySHA1Comparison.sh60 -nalsize \
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavcodecmap.c3223 guint nalsize, esize;
3243 nalsize = (srcp[0] << 8) | srcp[1];
3244 nal_escape (dstp + 2, srcp + 2, nalsize, &esize);
3248 srcp += nalsize + 2;
3257 nalsize = (srcp[0] << 8) | srcp[1];
3258 nal_escape (dstp + 2, srcp + 2, nalsize, &esize);
3262 srcp += nalsize + 2;
/third_party/openh264/test/encoder_binary_comparison/SHA1Table/
DZhling_1280x720.264_AllCases_SHA1_Table.csv1 …lcnum 0, -slcmd 1, -slcnum 1, -slcmd 2, -slcnum 2, -slcmd 3, -slcnum 3, -nalsize, -iper, -thread, …
DAdobe_PDF_sample_a_1024x768_50Frms.264_AllCases_SHA1_Table.csv1 …lcnum 0, -slcmd 1, -slcnum 1, -slcmd 2, -slcnum 2, -slcmd 3, -slcnum 3, -nalsize, -iper, -thread, …
DBA_MW_D.264_AllCases_SHA1_Table.csv1 …lcnum 0, -slcmd 1, -slcnum 1, -slcmd 2, -slcnum 2, -slcmd 3, -slcnum 3, -nalsize, -iper, -thread, …