/third_party/ffmpeg/libavcodec/ |
D | h2645_parse.h | 121 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()
|
D | hevc_parse.c | 113 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()
|
D | h264_parser.c | 86 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()
|
D | h264_parse.c | 472 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()
|
D | h264dec.c | 857 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/ |
D | movenccenc.c | 235 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/ |
D | run_BinarySHA1Comparison.sh | 60 -nalsize \
|
/third_party/gstreamer/gst_libav/ext/libav/ |
D | gstavcodecmap.c | 3223 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/ |
D | Zhling_1280x720.264_AllCases_SHA1_Table.csv | 1 …lcnum 0, -slcmd 1, -slcnum 1, -slcmd 2, -slcnum 2, -slcmd 3, -slcnum 3, -nalsize, -iper, -thread, …
|
D | Adobe_PDF_sample_a_1024x768_50Frms.264_AllCases_SHA1_Table.csv | 1 …lcnum 0, -slcmd 1, -slcnum 1, -slcmd 2, -slcnum 2, -slcmd 3, -slcnum 3, -nalsize, -iper, -thread, …
|
D | BA_MW_D.264_AllCases_SHA1_Table.csv | 1 …lcnum 0, -slcmd 1, -slcnum 1, -slcmd 2, -slcnum 2, -slcmd 3, -slcnum 3, -nalsize, -iper, -thread, …
|