/third_party/ffmpeg/libavformat/ |
D | h264dec.c | 38 unsigned pps_id, sps_id; in h264_probe() local 91 sps_id = get_ue_golomb_long(&gb); in h264_probe() 92 if (sps_id > MAX_SPS_COUNT) in h264_probe() 94 sps_ids[sps_id] = 1; in h264_probe() 101 sps_id = get_ue_golomb_long(&gb); in h264_probe() 102 if (sps_id > MAX_SPS_COUNT) in h264_probe() 104 if (!sps_ids[sps_id]) in h264_probe()
|
/third_party/ffmpeg/libavcodec/ |
D | h264_ps.c | 100 if (s->pps_list[i] && ((PPS*)s->pps_list[i]->data)->sps_id == id) in remove_sps() 338 unsigned int sps_id; in ff_h264_decode_seq_parameter_set() local 364 sps_id = get_ue_golomb_31(gb); in ff_h264_decode_seq_parameter_set() 366 if (sps_id >= MAX_SPS_COUNT) { in ff_h264_decode_seq_parameter_set() 367 av_log(avctx, AV_LOG_ERROR, "sps_id %u out of range\n", sps_id); in ff_h264_decode_seq_parameter_set() 371 sps->sps_id = sps_id; in ff_h264_decode_seq_parameter_set() 610 sps_id, sps->profile_idc, sps->level_idc, in ff_h264_decode_seq_parameter_set() 630 if (ps->sps_list[sps_id] && in ff_h264_decode_seq_parameter_set() 631 !memcmp(ps->sps_list[sps_id]->data, sps_buf->data, sps_buf->size)) { in ff_h264_decode_seq_parameter_set() 634 remove_sps(ps, sps_id); in ff_h264_decode_seq_parameter_set() [all …]
|
D | h264_sei.c | 301 unsigned int sps_id; in decode_buffering_period() local 305 sps_id = get_ue_golomb_31(gb); in decode_buffering_period() 306 if (sps_id > 31 || !ps->sps_list[sps_id]) { in decode_buffering_period() 308 "non-existing SPS %d referenced in buffering period\n", sps_id); in decode_buffering_period() 309 return sps_id > 31 ? AVERROR_INVALIDDATA : AVERROR_PS_NOT_FOUND; in decode_buffering_period() 311 sps = (const SPS*)ps->sps_list[sps_id]->data; in decode_buffering_period()
|
D | hevc_parser.c | 83 if (ps->pps->sps_id >= HEVC_MAX_SPS_COUNT || !ps->sps_list[ps->pps->sps_id]) { in hevc_parse_slice_header() 84 av_log(avctx, AV_LOG_ERROR, "SPS id out of range: %d\n", ps->pps->sps_id); in hevc_parse_slice_header() 87 if (ps->sps != (HEVCSPS*)ps->sps_list[ps->pps->sps_id]->data) { in hevc_parse_slice_header() 88 ps->sps = (HEVCSPS*)ps->sps_list[ps->pps->sps_id]->data; in hevc_parse_slice_header()
|
D | hevc_ps.c | 97 if (s->pps_list[i] && ((HEVCPPS*)s->pps_list[i]->data)->sps_id == id) in remove_sps() 908 int ff_hevc_parse_sps(HEVCSPS *sps, GetBitContext *gb, unsigned int *sps_id, in ff_hevc_parse_sps() argument 939 *sps_id = get_ue_golomb_long(gb); in ff_hevc_parse_sps() 940 if (*sps_id >= HEVC_MAX_SPS_COUNT) { in ff_hevc_parse_sps() 941 av_log(avctx, AV_LOG_ERROR, "SPS id out of range: %d\n", *sps_id); in ff_hevc_parse_sps() 1255 unsigned int sps_id; in ff_hevc_decode_nal_sps() local 1276 ret = ff_hevc_parse_sps(sps, gb, &sps_id, in ff_hevc_decode_nal_sps() 1288 sps_id, sps->width, sps->height, in ff_hevc_decode_nal_sps() 1297 if (ps->sps_list[sps_id] && in ff_hevc_decode_nal_sps() 1298 !memcmp(ps->sps_list[sps_id]->data, sps_buf->data, sps_buf->size)) { in ff_hevc_decode_nal_sps() [all …]
|
D | h264_ps.h | 45 unsigned int sps_id; member 112 unsigned int sps_id; member
|
D | mediacodecdec.c | 149 if (ps.sps_list[pps->sps_id]) { in h264_set_extradata() 150 sps = (const SPS*)ps.sps_list[pps->sps_id]->data; in h264_set_extradata() 230 if (ps.sps_list[pps->sps_id]) { in hevc_set_extradata() 231 sps = (const HEVCSPS*)ps.sps_list[pps->sps_id]->data; in hevc_set_extradata()
|
D | hevc_ps.h | 250 unsigned int sps_id; ///< seq_parameter_set_id member 347 int ff_hevc_parse_sps(HEVCSPS *sps, GetBitContext *gb, unsigned int *sps_id,
|
D | qsvenc_hevc.c | 65 unsigned int sps_id; in generate_fake_vps() local 100 ret = ff_hevc_parse_sps(&sps, &gb, &sps_id, 0, NULL, avctx); in generate_fake_vps()
|
D | h264_slice.c | 2175 if (h->ps.pps->sps_id != pps->sps_id || in ff_h264_queue_decode_slice()
|
D | hevcdec.c | 576 if (s->ps.sps != (HEVCSPS*)s->ps.sps_list[s->ps.pps->sps_id]->data) { in hls_slice_header() 577 const HEVCSPS *sps = (HEVCSPS*)s->ps.sps_list[s->ps.pps->sps_id]->data; in hls_slice_header()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtph264depay.c | 346 parse_sps (GstMapInfo * map, guint32 * sps_id) in parse_sps() argument 354 if (!gst_rtp_read_golomb (&br, sps_id)) in parse_sps() 361 parse_pps (GstMapInfo * map, guint32 * sps_id, guint32 * pps_id) in parse_pps() argument 371 if (!gst_rtp_read_golomb (&br, sps_id)) in parse_pps() 652 guint32 sps_id; in gst_rtp_h264_add_sps_pps() local 654 if (!parse_sps (&map, &sps_id)) { in gst_rtp_h264_add_sps_pps() 668 if (sps_id == tmp_sps_id) { in gst_rtp_h264_add_sps_pps() 673 "Unchanged SPS %u already most recent, not updating", sps_id); in gst_rtp_h264_add_sps_pps() 680 GST_LOG_OBJECT (rtph264, "Modified SPS %u, replacing", sps_id); in gst_rtp_h264_add_sps_pps() 686 GST_LOG_OBJECT (rtph264, "Adding new SPS %u", sps_id); in gst_rtp_h264_add_sps_pps() [all …]
|
D | gstrtph265depay.c | 314 parse_sps (GstMapInfo * map, guint32 * sps_id) in parse_sps() argument 324 if (!gst_rtp_read_golomb (&br, sps_id)) in parse_sps() 331 parse_pps (GstMapInfo * map, guint32 * sps_id, guint32 * pps_id) in parse_pps() argument 343 if (!gst_rtp_read_golomb (&br, sps_id)) in parse_pps() 709 guint32 sps_id; in gst_rtp_h265_add_vps_sps_pps() local 711 if (!parse_sps (&map, &sps_id)) { in gst_rtp_h265_add_vps_sps_pps() 725 if (sps_id == tmp_sps_id) { in gst_rtp_h265_add_vps_sps_pps() 728 GST_LOG_OBJECT (rtph265, "Unchanged SPS %u, not updating", sps_id); in gst_rtp_h265_add_vps_sps_pps() 735 GST_LOG_OBJECT (rtph265, "Modified SPS %u, replacing", sps_id); in gst_rtp_h265_add_vps_sps_pps() 741 GST_LOG_OBJECT (rtph265, "Adding new SPS %u", sps_id); in gst_rtp_h265_add_vps_sps_pps() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/ |
D | gstmfh264enc.cpp | 207 guint sps_id; member 341 if (device_caps->sps_id) { in gst_mf_h264_enc_class_init() 543 self->sps_id = DEFAULT_SPS_ID; in gst_mf_h264_enc_init() 602 g_value_set_uint (value, self->sps_id); in gst_mf_h264_enc_get_property() 687 self->sps_id = g_value_get_uint (value); in gst_mf_h264_enc_set_property() 919 if (device_caps->sps_id) { in gst_mf_h264_enc_set_option() 921 &CODECAPI_AVEncH264SPSID, self->sps_id); in gst_mf_h264_enc_set_option()
|
D | gstmfvideoenc.h | 59 gboolean sps_id; /* AVEncH264SPSID */ member
|
D | gstmfvideoenc.cpp | 1753 CHECK_DEVICE_CAPS (codec_api, CODECAPI_AVEncH264SPSID, sps_id); in gst_mf_video_enc_enum_internal()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/ |
D | gsth264parser.c | 175 gst_h264_parser_get_sps (GstH264NalParser * nalparser, guint8 sps_id) in gst_h264_parser_get_sps() argument 179 sps = &nalparser->sps[sps_id]; in gst_h264_parser_get_sps() 863 guint8 sps_id; in gst_h264_parser_parse_buffering_period() local 867 READ_UE_MAX (nr, sps_id, GST_H264_MAX_SPS_COUNT - 1); in gst_h264_parser_parse_buffering_period() 868 sps = gst_h264_parser_get_sps (nalparser, sps_id); in gst_h264_parser_parse_buffering_period() 871 sps_id); in gst_h264_parser_parse_buffering_period() 2050 gint sps_id; in gst_h264_parse_pps() local 2061 READ_UE_MAX (&nr, sps_id, GST_H264_MAX_SPS_COUNT - 1); in gst_h264_parse_pps() 2063 sps = gst_h264_parser_get_sps (nalparser, sps_id); in gst_h264_parse_pps() 2066 sps_id); in gst_h264_parse_pps()
|
D | gsth265parser.c | 207 gst_h265_parser_get_sps (GstH265Parser * parser, guint8 sps_id) in gst_h265_parser_get_sps() argument 211 sps = &parser->sps[sps_id]; in gst_h265_parser_get_sps() 1017 guint8 sps_id; in gst_h265_parser_parse_buffering_period() local 1023 READ_UE_MAX (nr, sps_id, GST_H265_MAX_SPS_COUNT - 1); in gst_h265_parser_parse_buffering_period() 1024 sps = gst_h265_parser_get_sps (parser, sps_id); in gst_h265_parser_parse_buffering_period() 1027 sps_id); in gst_h265_parser_parse_buffering_period() 2117 gint sps_id; in gst_h265_parse_pps() local 2130 READ_UE_MAX (&nr, sps_id, GST_H265_MAX_SPS_COUNT - 1); in gst_h265_parse_pps() 2132 sps = gst_h265_parser_get_sps (parser, sps_id); in gst_h265_parse_pps() 2135 sps_id); in gst_h265_parse_pps()
|