Home
last modified time | relevance | path

Searched refs:pps_id (Results 1 – 17 of 17) sorted by relevance

/third_party/ffmpeg/libavformat/
Dh264dec.c38 unsigned pps_id, sps_id; in h264_probe() local
75 pps_id = get_ue_golomb_long(&gb); in h264_probe()
76 if (pps_id > MAX_PPS_COUNT) in h264_probe()
78 if (!pps_ids[pps_id]) in h264_probe()
98 pps_id = get_ue_golomb_long(&gb); in h264_probe()
99 if (pps_id > MAX_PPS_COUNT) in h264_probe()
106 pps_ids[pps_id] = 1; in h264_probe()
/third_party/ffmpeg/libavcodec/
Dhevc_parser.c64 unsigned int pps_id, first_slice_in_pic_flag, dependent_slice_segment_flag; in hevc_parse_slice_header() local
76 pps_id = get_ue_golomb(gb); in hevc_parse_slice_header()
77 if (pps_id >= HEVC_MAX_PPS_COUNT || !ps->pps_list[pps_id]) { in hevc_parse_slice_header()
78 av_log(avctx, AV_LOG_ERROR, "PPS id out of range: %d\n", pps_id); in hevc_parse_slice_header()
81 ps->pps = (HEVCPPS*)ps->pps_list[pps_id]->data; in hevc_parse_slice_header()
Dh264_parser.c252 unsigned int pps_id; in parse_nal_units() local
351 pps_id = get_ue_golomb(&nal.gb); in parse_nal_units()
352 if (pps_id >= MAX_PPS_COUNT) { in parse_nal_units()
354 "pps_id %u out of range\n", pps_id); in parse_nal_units()
357 if (!p->ps.pps_list[pps_id]) { in parse_nal_units()
359 "non-existing PPS %u referenced\n", pps_id); in parse_nal_units()
366 p->ps.pps_ref = av_buffer_ref(p->ps.pps_list[pps_id]); in parse_nal_units()
Dh264_ps.c754 unsigned int pps_id = get_ue_golomb(gb); in ff_h264_decode_picture_parameter_set() local
760 if (pps_id >= MAX_PPS_COUNT) { in ff_h264_decode_picture_parameter_set()
761 av_log(avctx, AV_LOG_ERROR, "pps_id %u out of range\n", pps_id); in ff_h264_decode_picture_parameter_set()
882 pps_id, pps->sps_id, in ff_h264_decode_picture_parameter_set()
894 remove_pps(ps, pps_id); in ff_h264_decode_picture_parameter_set()
895 ps->pps_list[pps_id] = pps_buf; in ff_h264_decode_picture_parameter_set()
Dhevc_ps.c1504 unsigned int pps_id = 0; in ff_hevc_decode_nal_pps() local
1545 pps_id = get_ue_golomb_long(gb); in ff_hevc_decode_nal_pps()
1546 if (pps_id >= HEVC_MAX_PPS_COUNT) { in ff_hevc_decode_nal_pps()
1547 av_log(avctx, AV_LOG_ERROR, "PPS id out of range: %d\n", pps_id); in ff_hevc_decode_nal_pps()
1737 remove_pps(ps, pps_id); in ff_hevc_decode_nal_pps()
1738 ps->pps_list[pps_id] = pps_buf; in ff_hevc_decode_nal_pps()
Dh264_slice.c1027 h->ps.pps_ref = av_buffer_ref(h->ps.pps_list[sl->pps_id]); in h264_init_ps()
1780 sl->pps_id = get_ue_golomb(&sl->gb); in h264_slice_header_parse()
1781 if (sl->pps_id >= MAX_PPS_COUNT) { in h264_slice_header_parse()
1782 av_log(h->avctx, AV_LOG_ERROR, "pps_id %u out of range\n", sl->pps_id); in h264_slice_header_parse()
1785 if (!h->ps.pps_list[sl->pps_id]) { in h264_slice_header_parse()
1788 sl->pps_id); in h264_slice_header_parse()
1791 pps = (const PPS*)h->ps.pps_list[sl->pps_id]->data; in h264_slice_header_parse()
2173 const PPS *pps = (const PPS*)h->ps.pps_list[sl->pps_id]->data; in ff_h264_queue_decode_slice()
Dhevcdec.h251 unsigned int pps_id; member
Dh264dec.h285 unsigned int pps_id; member
Dhevcdec.c562 sh->pps_id = get_ue_golomb_long(gb); in hls_slice_header()
563 if (sh->pps_id >= HEVC_MAX_PPS_COUNT || !s->ps.pps_list[sh->pps_id]) { in hls_slice_header()
564 av_log(s->avctx, AV_LOG_ERROR, "PPS id out of range: %d\n", sh->pps_id); in hls_slice_header()
568 s->ps.pps != (HEVCPPS*)s->ps.pps_list[sh->pps_id]->data) { in hls_slice_header()
572 s->ps.pps = (HEVCPPS*)s->ps.pps_list[sh->pps_id]->data; in hls_slice_header()
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfh264enc.cpp208 guint pps_id; member
350 if (device_caps->pps_id) { in gst_mf_h264_enc_class_init()
544 self->pps_id = DEFAULT_PPS_ID; in gst_mf_h264_enc_init()
605 g_value_set_uint (value, self->pps_id); in gst_mf_h264_enc_get_property()
690 self->pps_id = g_value_get_uint (value); in gst_mf_h264_enc_set_property()
925 if (device_caps->pps_id) { in gst_mf_h264_enc_set_option()
927 &CODECAPI_AVEncH264PPSID, self->pps_id); in gst_mf_h264_enc_set_option()
Dgstmfvideoenc.h60 gboolean pps_id; /* AVEncH264PPSID */ member
Dgstmfvideoenc.cpp1754 CHECK_DEVICE_CAPS (codec_api, CODECAPI_AVEncH264PPSID, pps_id); in gst_mf_video_enc_enum_internal()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtph264depay.c361 parse_pps (GstMapInfo * map, guint32 * sps_id, guint32 * pps_id) in parse_pps() argument
369 if (!gst_rtp_read_golomb (&br, pps_id)) in parse_pps()
690 guint32 pps_id; in gst_rtp_h264_add_sps_pps() local
692 if (!parse_pps (&map, &sps_id, &pps_id)) { in gst_rtp_h264_add_sps_pps()
708 if (pps_id == tmp_pps_id) { in gst_rtp_h264_add_sps_pps()
714 pps_id); in gst_rtp_h264_add_sps_pps()
722 sps_id, pps_id); in gst_rtp_h264_add_sps_pps()
728 GST_LOG_OBJECT (rtph264, "Adding new PPS %u:%i", sps_id, pps_id); in gst_rtp_h264_add_sps_pps()
Dgstrtph265depay.c331 parse_pps (GstMapInfo * map, guint32 * sps_id, guint32 * pps_id) in parse_pps() argument
341 if (!gst_rtp_read_golomb (&br, pps_id)) in parse_pps()
745 guint32 pps_id; in gst_rtp_h265_add_vps_sps_pps() local
747 if (!parse_pps (&map, &sps_id, &pps_id)) { in gst_rtp_h265_add_vps_sps_pps()
763 if (pps_id == tmp_pps_id) { in gst_rtp_h265_add_vps_sps_pps()
767 pps_id); in gst_rtp_h265_add_vps_sps_pps()
775 sps_id, pps_id); in gst_rtp_h265_add_vps_sps_pps()
781 GST_LOG_OBJECT (rtph265, "Adding new PPS %u:%i", sps_id, pps_id); in gst_rtp_h265_add_vps_sps_pps()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dgsth264parser.c188 gst_h264_parser_get_pps (GstH264NalParser * nalparser, guint8 pps_id) in gst_h264_parser_get_pps() argument
192 pps = &nalparser->pps[pps_id]; in gst_h264_parser_get_pps()
2230 gint pps_id; in gst_h264_parser_parse_slice_hdr() local
2250 READ_UE_MAX (&nr, pps_id, GST_H264_MAX_PPS_COUNT - 1); in gst_h264_parser_parse_slice_hdr()
2251 pps = gst_h264_parser_get_pps (nalparser, pps_id); in gst_h264_parser_parse_slice_hdr()
2255 pps_id); in gst_h264_parser_parse_slice_hdr()
Dgsth265parser.c220 gst_h265_parser_get_pps (GstH265Parser * parser, guint8 pps_id) in gst_h265_parser_get_pps() argument
224 pps = &parser->pps[pps_id]; in gst_h265_parser_get_pps()
2434 gint pps_id; in gst_h265_parser_parse_slice_hdr() local
2460 READ_UE_MAX (&nr, pps_id, GST_H265_MAX_PPS_COUNT - 1); in gst_h265_parser_parse_slice_hdr()
2461 pps = gst_h265_parser_get_pps (parser, pps_id); in gst_h265_parser_parse_slice_hdr()
2464 ("couldn't find associated picture parameter set with id: %d", pps_id); in gst_h265_parser_parse_slice_hdr()
/third_party/gstreamer/gstplugins_bad/
DChangeLog165580 h264parse: check for out of range pps_id one layer up
165591 legacyh264parse: check for out of range pps_id one layer up
165734 h264parse: handle all valid pps_id