/third_party/ffmpeg/libavcodec/ |
D | hevc_parse.c | 25 HEVCSEI *sei, int is_nalff, int nal_length_size, in hevc_decode_nal_units() argument 33 nal_length_size, AV_CODEC_ID_HEVC, 1, 0); in hevc_decode_nal_units() 81 HEVCSEI *sei, int *is_nalff, int *nal_length_size, in ff_hevc_decode_extradata() argument 104 *nal_length_size = 2; in ff_hevc_decode_extradata() 121 *nal_length_size, err_recognition, apply_defdispwin, in ff_hevc_decode_extradata() 135 *nal_length_size = nal_len_size; in ff_hevc_decode_extradata() 138 ret = hevc_decode_nal_units(data, size, ps, sei, *is_nalff, *nal_length_size, in ff_hevc_decode_extradata()
|
D | h2645_parse.h | 110 void *logctx, int is_nalff, int nal_length_size, 118 static inline int get_nalsize(int nal_length_size, const uint8_t *buf, in get_nalsize() argument 123 if (*buf_index >= buf_size - nal_length_size) { in get_nalsize() 128 for (i = 0; i < nal_length_size; i++) in get_nalsize()
|
D | mediacodecdec.c | 131 int nal_length_size = 0; in h264_set_extradata() local 136 &ps, &is_avc, &nal_length_size, 0, avctx); in h264_set_extradata() 197 int nal_length_size = 0; in hevc_set_extradata() local 210 &ps, &sei, &is_nalff, &nal_length_size, 0, 1, avctx); in hevc_set_extradata()
|
D | cbs_h2645.h | 30 int nal_length_size; member
|
D | h264_parser.c | 57 int nal_length_size; member 81 if (p->is_avc && !p->nal_length_size) in h264_find_frame_end() 88 for (j = 0; j < p->nal_length_size; j++) in h264_find_frame_end() 281 nalsize = get_nalsize(p->nal_length_size, buf, buf_size, &buf_index, avctx); in parse_nal_units() 582 &p->ps, &p->is_avc, &p->nal_length_size, in h264_parse()
|
D | hevc_parse.h | 33 HEVCSEI *sei, int *is_nalff, int *nal_length_size,
|
D | hevc_parser.c | 47 int nal_length_size; member 200 ctx->nal_length_size, AV_CODEC_ID_HEVC, 1, 0); in parse_nal_units() 313 &ctx->is_avc, &ctx->nal_length_size, avctx->err_recognition, in hevc_parse()
|
D | h2645_parse.c | 393 void *logctx, int is_nalff, int nal_length_size, in ff_h2645_packet_split() argument 416 extract_length = get_nalsize(nal_length_size, in ff_h2645_packet_split() 421 bytestream2_skip(&bc, nal_length_size); in ff_h2645_packet_split()
|
D | h264_parse.h | 85 int *is_avc, int *nal_length_size,
|
D | h264dec.c | 390 &h->ps, &h->is_avc, &h->nal_length_size, in h264_decode_init() 573 if (h->nal_length_size == 4) { in decode_nal_units() 580 ret = ff_h2645_packet_split(&h->pkt, buf, buf_size, avctx, h->is_avc, h->nal_length_size, in decode_nal_units() 981 &h->ps, &h->is_avc, &h->nal_length_size, in h264_decode_frame() 987 &h->ps, &h->is_avc, &h->nal_length_size, in h264_decode_frame() 1032 …{ "nal_length_size", "nal_length_size", OFFSET(nal_length_size), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 4…
|
/third_party/gstreamer/gstplugins_bad/gst/mpegpsmux/ |
D | mpegpsmux_h264.c | 85 guint8 nal_length_size = 0; in mpegpsmux_prepare_h264() local 102 nal_length_size = (codec_data.data[offset] & 0x03) + 1; in mpegpsmux_prepare_h264() 103 GST_LOG_OBJECT (mux, "NAL length will be coded on %u bytes", nal_length_size); in mpegpsmux_prepare_h264() 161 switch (nal_length_size) { in mpegpsmux_prepare_h264() 173 nal_length_size); in mpegpsmux_prepare_h264() 176 in_offset += nal_length_size; in mpegpsmux_prepare_h264()
|
/third_party/ffmpeg/libavformat/ |
D | rtpenc_h264_hevc.c | 187 if (s->nal_length_size) in ff_rtp_send_h264_hevc() 188 r = ff_avc_mp4_find_startcode(buf1, end, s->nal_length_size) ? buf1 : end; in ff_rtp_send_h264_hevc() 194 if (s->nal_length_size) { in ff_rtp_send_h264_hevc() 195 r1 = ff_avc_mp4_find_startcode(r, end, s->nal_length_size); in ff_rtp_send_h264_hevc() 198 r += s->nal_length_size; in ff_rtp_send_h264_hevc()
|
D | movenccenc.c | 233 int nal_length_size, AVIOContext *pb, const uint8_t *buf_in, int size) in ff_mov_cenc_avc_write_nal_units() argument 246 if (size < nal_length_size + 1) { in ff_mov_cenc_avc_write_nal_units() 248 size, nal_length_size + 1); in ff_mov_cenc_avc_write_nal_units() 252 avio_write(pb, buf_in, nal_length_size + 1); in ff_mov_cenc_avc_write_nal_units() 255 for (j = 0; j < nal_length_size; j++) { in ff_mov_cenc_avc_write_nal_units() 258 size -= nal_length_size; 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()
|
D | avc.c | 254 int nal_length_size) in ff_avc_mp4_find_startcode() argument 258 if (end - start < nal_length_size) in ff_avc_mp4_find_startcode() 260 while (nal_length_size--) in ff_avc_mp4_find_startcode()
|
D | avc.h | 35 int nal_length_size);
|
D | movenccenc.h | 73 int ff_mov_cenc_avc_write_nal_units(AVFormatContext *s, MOVMuxCencContext* ctx, int nal_length_size,
|
/third_party/gstreamer/gstplugins_bad/ext/avtp/ |
D | gstavtpcvfpay.c | 155 avtpcvfpay->nal_length_size = 0; in gst_avtp_cvf_pay_init() 266 if (G_UNLIKELY (avtpcvfpay->nal_length_size == 0)) { in gst_avtp_cvf_pay_extract_nals() 281 while (size > avtpcvfpay->nal_length_size) { in gst_avtp_cvf_pay_extract_nals() 287 for (i = 0; i < avtpcvfpay->nal_length_size; i++) { in gst_avtp_cvf_pay_extract_nals() 296 offset += avtpcvfpay->nal_length_size; in gst_avtp_cvf_pay_extract_nals() 297 data += avtpcvfpay->nal_length_size; in gst_avtp_cvf_pay_extract_nals() 298 size -= avtpcvfpay->nal_length_size; in gst_avtp_cvf_pay_extract_nals() 720 avtpcvfpay->nal_length_size = (data[4] & NAL_LEN_SIZE_MASK) + 1; in gst_avtp_cvf_pay_new_caps() 722 avtpcvfpay->nal_length_size); in gst_avtp_cvf_pay_new_caps()
|
D | gstavtpcvfpay.h | 55 guint8 nal_length_size; member
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtph265pay.c | 679 rtph265pay->nal_length_size = (data[21] & 0x3) + 1; in gst_rtp_h265_pay_setcaps() 680 GST_DEBUG_OBJECT (rtph265pay, "nal length %u", rtph265pay->nal_length_size); in gst_rtp_h265_pay_setcaps() 1494 guint nal_length_size; in gst_rtp_h265_pay_handle_buffer() local 1499 nal_length_size = rtph265pay->nal_length_size; in gst_rtp_h265_pay_handle_buffer() 1510 while (remaining_buffer_size > nal_length_size) { in gst_rtp_h265_pay_handle_buffer() 1514 for (i = 0; i < nal_length_size; i++) { in gst_rtp_h265_pay_handle_buffer() 1520 offset += nal_length_size; in gst_rtp_h265_pay_handle_buffer() 1521 remaining_buffer_size -= nal_length_size; in gst_rtp_h265_pay_handle_buffer() 1539 if (remaining_buffer_size - nal_len <= nal_length_size) { in gst_rtp_h265_pay_handle_buffer()
|
D | gstrtph264pay.c | 611 rtph264pay->nal_length_size = (data[4] & 0x03) + 1; in gst_rtp_h264_pay_setcaps() 612 GST_DEBUG_OBJECT (rtph264pay, "nal length %u", rtph264pay->nal_length_size); in gst_rtp_h264_pay_setcaps() 1441 guint nal_length_size; in gst_rtp_h264_pay_handle_buffer() local 1456 nal_length_size = rtph264pay->nal_length_size; in gst_rtp_h264_pay_handle_buffer() 1458 while (remaining_buffer_size > nal_length_size) { in gst_rtp_h264_pay_handle_buffer() 1463 for (i = 0; i < nal_length_size; i++) { in gst_rtp_h264_pay_handle_buffer() 1469 offset += nal_length_size; in gst_rtp_h264_pay_handle_buffer() 1470 remaining_buffer_size -= nal_length_size; in gst_rtp_h264_pay_handle_buffer() 1483 if (remaining_buffer_size - nal_len <= nal_length_size) { in gst_rtp_h264_pay_handle_buffer()
|
D | gstrtph265pay.h | 67 guint nal_length_size; member
|
D | gstrtph264pay.h | 73 guint nal_length_size; member
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/ |
D | gsth264parser.c | 1554 const guint8 * data, guint offset, gsize size, guint8 nal_length_size, in gst_h264_parser_identify_nalu_avc() argument 1563 if (offset > G_MAXUINT32 - nal_length_size) { in gst_h264_parser_identify_nalu_avc() 1569 if (size < offset + nal_length_size) { in gst_h264_parser_identify_nalu_avc() 1579 nal_length_size * 8); in gst_h264_parser_identify_nalu_avc() 1581 nalu->offset = offset + nal_length_size; in gst_h264_parser_identify_nalu_avc() 1583 if (nalu->size > G_MAXUINT32 - nal_length_size) { in gst_h264_parser_identify_nalu_avc() 1589 if (size < (gsize) nalu->size + nal_length_size) { in gst_h264_parser_identify_nalu_avc() 3265 gst_h264_create_sei_memory_avc (guint8 nal_length_size, GArray * messages) in gst_h264_create_sei_memory_avc() argument 3267 g_return_val_if_fail (nal_length_size > 0 && nal_length_size < 5, NULL); in gst_h264_create_sei_memory_avc() 3271 return gst_h264_create_sei_memory_internal (nal_length_size, TRUE, messages); in gst_h264_create_sei_memory_avc() [all …]
|
D | gsth264parser.h | 1235 … guint offset, gsize size, guint8 nal_length_size, 1320 GstMemory * gst_h264_create_sei_memory_avc (guint8 nal_length_size, 1330 guint8 nal_length_size,
|
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/ |
D | gsth265parse.h | 63 guint nal_length_size; member
|