Home
last modified time | relevance | path

Searched refs:sps_list (Results 1 – 10 of 10) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dh264_ps.c96 if (s->sps_list[id]) { in remove_sps()
103 av_buffer_unref(&s->sps_list[id]); in remove_sps()
321 av_buffer_unref(&ps->sps_list[i]); in ff_h264_ps_uninit()
628 if (ps->sps_list[sps_id] && in ff_h264_decode_seq_parameter_set()
629 !memcmp(ps->sps_list[sps_id]->data, sps_buf->data, sps_buf->size)) { in ff_h264_decode_seq_parameter_set()
633 ps->sps_list[sps_id] = sps_buf; in ff_h264_decode_seq_parameter_set()
788 !ps->sps_list[pps->sps_id]) { in ff_h264_decode_picture_parameter_set()
793 pps->sps_ref = av_buffer_ref(ps->sps_list[pps->sps_id]); in ff_h264_decode_picture_parameter_set()
Dhevc_ps.c91 if (s->sps_list[id]) { in remove_sps()
92 if (s->sps == (const HEVCSPS*)s->sps_list[id]->data) in remove_sps()
100 av_assert0(!(s->sps_list[id] && s->sps == (HEVCSPS*)s->sps_list[id]->data)); in remove_sps()
102 av_buffer_unref(&s->sps_list[id]); in remove_sps()
112 for (i = 0; i < FF_ARRAY_ELEMS(s->sps_list); i++) in remove_vps()
113 if (s->sps_list[i] && ((HEVCSPS*)s->sps_list[i]->data)->vps_id == id) in remove_vps()
1294 if (ps->sps_list[sps_id] && in ff_hevc_decode_nal_sps()
1295 !memcmp(ps->sps_list[sps_id]->data, sps_buf->data, sps_buf->size)) { in ff_hevc_decode_nal_sps()
1299 ps->sps_list[sps_id] = sps_buf; in ff_hevc_decode_nal_sps()
1554 if (!ps->sps_list[pps->sps_id]) { in ff_hevc_decode_nal_pps()
[all …]
Dmediacodecdec.c153 if (ps.sps_list[pps->sps_id]) { in h264_set_extradata()
154 sps = (const SPS*)ps.sps_list[pps->sps_id]->data; in h264_set_extradata()
237 if (ps.sps_list[pps->sps_id]) { in hevc_set_extradata()
238 sps = (const HEVCSPS*)ps.sps_list[pps->sps_id]->data; in hevc_set_extradata()
Dhevc_parser.c82 if (ps->pps->sps_id >= HEVC_MAX_SPS_COUNT || !ps->sps_list[ps->pps->sps_id]) { in hevc_parse_slice_header()
86 if (ps->sps != (HEVCSPS*)ps->sps_list[ps->pps->sps_id]->data) { in hevc_parse_slice_header()
87 ps->sps = (HEVCSPS*)ps->sps_list[ps->pps->sps_id]->data; in hevc_parse_slice_header()
Dh264_ps.h144 AVBufferRef *sps_list[MAX_SPS_COUNT]; member
Dh264_sei.c313 if (sps_id > 31 || !ps->sps_list[sps_id]) { in decode_buffering_period()
318 sps = (const SPS*)ps->sps_list[sps_id]->data; in decode_buffering_period()
Dhevc_sei.c139 if (!ps->sps_list[s->active_seq_parameter_set_id]) in decode_nal_sei_pic_timing()
141 sps = (HEVCSPS*)ps->sps_list[s->active_seq_parameter_set_id]->data; in decode_nal_sei_pic_timing()
Dhevc_ps.h329 AVBufferRef *sps_list[HEVC_MAX_SPS_COUNT]; member
Dhevcdec.c595 if (s->ps.sps != (HEVCSPS*)s->ps.sps_list[s->ps.pps->sps_id]->data) { in hls_slice_header()
596 const HEVCSPS *sps = (HEVCSPS*)s->ps.sps_list[s->ps.pps->sps_id]->data; in hls_slice_header()
3464 for (i = 0; i < FF_ARRAY_ELEMS(s->ps.sps_list); i++) { in hevc_decode_extradata()
3465 if (first && s->ps.sps_list[i]) { in hevc_decode_extradata()
3466 const HEVCSPS *sps = (const HEVCSPS*)s->ps.sps_list[i]->data; in hevc_decode_extradata()
3717 for (i = 0; i < FF_ARRAY_ELEMS(s->ps.sps_list); i++) { in hevc_update_thread_context()
3718 ret = av_buffer_replace(&s->ps.sps_list[i], s0->ps.sps_list[i]); in hevc_update_thread_context()
Dh264_slice.c338 for (i = 0; i < FF_ARRAY_ELEMS(h->ps.sps_list); i++) { in ff_h264_update_thread_context()
339 ret = av_buffer_replace(&h->ps.sps_list[i], h1->ps.sps_list[i]); in ff_h264_update_thread_context()