/third_party/ffmpeg/libavformat/ |
D | avc.c | 113 uint32_t sps_size = 0, pps_size = 0, sps_ext_size = 0; in ff_isom_write_avcc() local 178 sps_size = avio_get_dyn_buf(sps_pb, &sps); in ff_isom_write_avcc() 182 if (sps_size < 6 || !pps_size) { in ff_isom_write_avcc() 194 avio_write(pb, sps, sps_size); in ff_isom_write_avcc() 200 ret = ff_avc_decode_sps(&seq, sps + 3, sps_size - 3); in ff_isom_write_avcc() 223 uint16_t sps_size, pps_size; in ff_avc_write_annexb_extradata() local 233 sps_size = AV_RB16(&in[6]); in ff_avc_write_annexb_extradata() 234 if (11 + sps_size > *size) in ff_avc_write_annexb_extradata() 236 pps_size = AV_RB16(&in[9 + sps_size]); in ff_avc_write_annexb_extradata() 237 if (11 + sps_size + pps_size > *size) in ff_avc_write_annexb_extradata() [all …]
|
D | rtpdec_hevc.c | 44 int sps_size, pps_size, vps_size, sei_size; member 82 size_ptr = &hevc_data->sps_size; in hevc_sdp_parse_fmtp_config() 149 if (hevc_data->vps_size || hevc_data->sps_size || in hevc_parse_sdp_line() 151 par->extradata_size = hevc_data->vps_size + hevc_data->sps_size + in hevc_parse_sdp_line() 157 memcpy(par->extradata + pos, hevc_data->sps, hevc_data->sps_size); in hevc_parse_sdp_line() 158 pos += hevc_data->sps_size; in hevc_parse_sdp_line() 169 hevc_data->sps_size = 0; in hevc_parse_sdp_line()
|
/third_party/gstreamer/gstplugins_bad/gst/mpegpsmux/ |
D | mpegpsmux_h264.c | 113 guint16 sps_size = GST_READ_UINT16_BE (codec_data.data + offset); in mpegpsmux_prepare_h264() local 115 GST_LOG_OBJECT (mux, "Sequence Parameter Set is %d bytes", sps_size); in mpegpsmux_prepare_h264() 124 gst_byte_writer_put_data (&bw, codec_data.data + offset, sps_size); in mpegpsmux_prepare_h264() 126 offset += sps_size; in mpegpsmux_prepare_h264()
|
/third_party/ffmpeg/libavcodec/ |
D | h264_mp4toannexb_bsf.c | 37 int sps_size; member 117 s->sps_size = pps_offset; in h264_extradata_to_annexb() 230 if (!s->sps_size) { in h264_mp4toannexb_filter() 233 count_or_copy(&out, &out_size, s->sps, s->sps_size, -1, j); in h264_mp4toannexb_filter()
|
/third_party/ffmpeg/tools/ |
D | ismindex.c | 468 uint16_t sps_size, pps_size; in get_video_private_data() local 479 sps_size = AV_RB16(&codecpar->extradata[6]); in get_video_private_data() 480 if (11 + sps_size > codecpar->extradata_size) in get_video_private_data() 483 avio_write(io, &codecpar->extradata[8], sps_size); in get_video_private_data() 484 pps_size = AV_RB16(&codecpar->extradata[9 + sps_size]); in get_video_private_data() 485 if (11 + sps_size + pps_size > codecpar->extradata_size) in get_video_private_data() 488 avio_write(io, &codecpar->extradata[11 + sps_size], pps_size); in get_video_private_data()
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | rtph264.c | 206 create_codec_data (guint8 * sps, gsize sps_size, guint8 * pps, gsize pps_size) in create_codec_data() argument 215 gst_buffer_new_allocate (NULL, sps_size + pps_size + 11, NULL); in create_codec_data() 230 g_assert (sps_size <= 0xffff); in create_codec_data() 231 codec_data[offset++] = (sps_size >> 8) & 0xff; /* numOfSequenceParameterSets high 8bit */ in create_codec_data() 232 codec_data[offset++] = sps_size & 0xff; /* numOfSequenceParameterSets low 8bit */ in create_codec_data() 233 memcpy (codec_data + offset, sps, sps_size); in create_codec_data() 234 offset += sps_size; in create_codec_data()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | h265parse.c | 434 const gsize sps_size = sliced ? sizeof (h265_128x128_sliced_sps) : sizeof (h265_128x128_sps); \ 458 buf = wrap_buffer (sps, sps_size, 10, 0); in bytestream_push_first_au_inalign_nal() 481 vps, vps_size, sps, sps_size, pps, pps_size, in bytestream_push_first_au_inalign_au()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtph264depay.c | 605 guint sps_size = gst_buffer_get_size (sps_buf); in gst_rtp_h264_set_src_caps() local 610 GST_WRITE_UINT32_BE (data, sps_size); in gst_rtp_h264_set_src_caps() 612 data += 4 + sps_size; in gst_rtp_h264_set_src_caps()
|
D | gstrtph265depay.c | 633 guint sps_size = gst_buffer_get_size (sps_buf); in gst_rtp_h265_set_src_caps() local 638 GST_WRITE_UINT32_BE (data, sps_size); in gst_rtp_h265_set_src_caps() 640 data += 4 + sps_size; in gst_rtp_h265_set_src_caps()
|
/third_party/gstreamer/gstplugins_bad/ext/smoothstreaming/ |
D | gstmssmanifest.c | 560 gint sps_size = 0, pps_size = 0, num_sps = 0, num_pps = 0; in _make_h264_codec_data() local 572 sps_size += spsinfo.size + 2; in _make_h264_codec_data() 581 buf = gst_buffer_new_and_alloc (5 + 1 + sps_size + 1 + pps_size); in _make_h264_codec_data()
|
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/ |
D | gsth264parse.c | 1617 gint i, sps_size = 0, pps_size = 0, num_sps = 0, num_pps = 0; in gst_h264_parse_make_codec_data() local 1631 sps_size += size + 2; in gst_h264_parse_make_codec_data() 1652 num_sps = sps_size = 0; in gst_h264_parse_make_codec_data() 1663 buf = gst_buffer_new_allocate (NULL, 5 + 1 + sps_size + 1 + pps_size, NULL); in gst_h264_parse_make_codec_data()
|
D | gsth265parse.c | 1407 guint vps_size = 0, sps_size = 0, pps_size = 0; in gst_h265_parse_make_codec_data() local 1434 sps_size += gst_buffer_get_size (nal) + 2; in gst_h265_parse_make_codec_data() 1464 23 + (3 * num_arrays) + vps_size + sps_size + pps_size, NULL); in gst_h265_parse_make_codec_data()
|