Home
last modified time | relevance | path

Searched refs:sps_size (Results 1 – 12 of 12) sorted by relevance

/third_party/ffmpeg/libavformat/
Davc.c113 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 …]
Drtpdec_hevc.c44 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/
Dmpegpsmux_h264.c113 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/
Dh264_mp4toannexb_bsf.c37 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/
Dismindex.c468 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/
Drtph264.c206 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/
Dh265parse.c434 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/
Dgstrtph264depay.c605 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()
Dgstrtph265depay.c633 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/
Dgstmssmanifest.c560 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/
Dgsth264parse.c1617 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()
Dgsth265parse.c1407 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()