/third_party/ffmpeg/libavformat/ |
D | rtpdec_hevc.c | 44 int sps_size, pps_size, vps_size, sei_size; member 85 size_ptr = &hevc_data->pps_size; in hevc_sdp_parse_fmtp_config() 150 hevc_data->pps_size || hevc_data->sei_size) { in hevc_parse_sdp_line() 152 hevc_data->pps_size + hevc_data->sei_size; in hevc_parse_sdp_line() 159 memcpy(par->extradata + pos, hevc_data->pps, hevc_data->pps_size); in hevc_parse_sdp_line() 160 pos += hevc_data->pps_size; in hevc_parse_sdp_line() 170 hevc_data->pps_size = 0; in hevc_parse_sdp_line()
|
D | avc.c | 113 uint32_t sps_size = 0, pps_size = 0, sps_ext_size = 0; in ff_isom_write_avcc() local 179 pps_size = avio_get_dyn_buf(pps_pb, &pps); in ff_isom_write_avcc() 182 if (sps_size < 6 || !pps_size) { in ff_isom_write_avcc() 196 avio_write(pb, pps, pps_size); in ff_isom_write_avcc() 223 uint16_t sps_size, pps_size; in ff_avc_write_annexb_extradata() local 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() 239 out_size = 8 + sps_size + pps_size; in ff_avc_write_annexb_extradata() 246 memcpy(out + 8 + sps_size, &in[11 + sps_size], pps_size); in ff_avc_write_annexb_extradata()
|
/third_party/gstreamer/gstplugins_bad/gst/mpegpsmux/ |
D | mpegpsmux_h264.c | 135 gint pps_size = GST_READ_UINT16_BE (codec_data.data + offset); in mpegpsmux_prepare_h264() local 137 GST_LOG_OBJECT (mux, "Picture Parameter Set is %d bytes", pps_size); in mpegpsmux_prepare_h264() 146 gst_byte_writer_put_data (&bw, codec_data.data + offset, pps_size); in mpegpsmux_prepare_h264() 148 offset += pps_size; in mpegpsmux_prepare_h264()
|
/third_party/ffmpeg/libavcodec/ |
D | h264_mp4toannexb_bsf.c | 38 int pps_size; member 125 s->pps_size = total_size - pps_offset; in h264_extradata_to_annexb() 253 if (!s->pps_size) { in h264_mp4toannexb_filter() 256 count_or_copy(&out, &out_size, s->pps, s->pps_size, -1, j); in h264_mp4toannexb_filter()
|
/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() 239 g_assert (pps_size <= 0xffff); in create_codec_data() 240 codec_data[offset++] = (pps_size >> 8) & 0xff; in create_codec_data() 241 codec_data[offset++] = pps_size & 0xff; in create_codec_data() 242 memcpy (codec_data + offset, pps, pps_size); in create_codec_data() 243 offset += pps_size; in create_codec_data()
|
/third_party/ffmpeg/tools/ |
D | ismindex.c | 468 uint16_t sps_size, pps_size; in get_video_private_data() local 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_bad/tests/check/elements/ |
D | h265parse.c | 435 const gsize pps_size = sliced ? sizeof (h265_128x128_sliced_pps) : sizeof (h265_128x128_pps) 461 buf = wrap_buffer (pps, pps_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 | 617 guint pps_size = gst_buffer_get_size (pps_buf); in gst_rtp_h264_set_src_caps() local 622 GST_WRITE_UINT32_BE (data, pps_size); in gst_rtp_h264_set_src_caps() 624 data += 4 + pps_size; in gst_rtp_h264_set_src_caps()
|
D | gstrtph265depay.c | 645 guint pps_size = gst_buffer_get_size (pps_buf); in gst_rtp_h265_set_src_caps() local 650 GST_WRITE_UINT32_BE (data, pps_size); in gst_rtp_h265_set_src_caps() 652 data += 4 + pps_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 578 pps_size += ppsinfo.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 1646 pps_size += gst_buffer_get_size (nal) + 2; in gst_h264_parse_make_codec_data() 1653 num_pps = pps_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 1445 pps_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()
|