Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dh264_ps.c97 if (s->sps_list[id]) { in remove_sps()
104 av_buffer_unref(&s->sps_list[id]); in remove_sps()
322 av_buffer_unref(&ps->sps_list[i]); in ff_h264_ps_uninit()
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()
635 ps->sps_list[sps_id] = sps_buf; in ff_h264_decode_seq_parameter_set()
786 !ps->sps_list[pps->sps_id]) { in ff_h264_decode_picture_parameter_set()
791 pps->sps_ref = av_buffer_ref(ps->sps_list[pps->sps_id]); in ff_h264_decode_picture_parameter_set()
Dmediacodecdec.c149 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()
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()
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()
1302 ps->sps_list[sps_id] = sps_buf; in ff_hevc_decode_nal_sps()
1557 if (!ps->sps_list[pps->sps_id]) { in ff_hevc_decode_nal_pps()
[all …]
Dhevc_parser.c83 if (ps->pps->sps_id >= HEVC_MAX_SPS_COUNT || !ps->sps_list[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()
Dh264_ps.h144 AVBufferRef *sps_list[MAX_SPS_COUNT]; member
Dhevc_sei.c136 if (!ps->sps_list[s->active_seq_parameter_set_id]) in decode_nal_sei_pic_timing()
138 sps = (HEVCSPS*)ps->sps_list[s->active_seq_parameter_set_id]->data; in decode_nal_sei_pic_timing()
Dh264_sei.c306 if (sps_id > 31 || !ps->sps_list[sps_id]) { in decode_buffering_period()
311 sps = (const SPS*)ps->sps_list[sps_id]->data; in decode_buffering_period()
Dhevc_ps.h329 AVBufferRef *sps_list[HEVC_MAX_SPS_COUNT]; member
Dhevcdec.c576 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()
3286 for (i = 0; i < FF_ARRAY_ELEMS(s->ps.sps_list); i++) { in hevc_decode_extradata()
3287 if (first && s->ps.sps_list[i]) { in hevc_decode_extradata()
3288 const HEVCSPS *sps = (const HEVCSPS*)s->ps.sps_list[i]->data; in hevc_decode_extradata()
3531 for (i = 0; i < FF_ARRAY_ELEMS(s->ps.sps_list); i++) { in hevc_update_thread_context()
3532 ret = av_buffer_replace(&s->ps.sps_list[i], s0->ps.sps_list[i]); in hevc_update_thread_context()
Dh264_slice.c326 for (i = 0; i < FF_ARRAY_ELEMS(h->ps.sps_list); i++) { in ff_h264_update_thread_context()
327 ret = av_buffer_replace(&h->ps.sps_list[i], h1->ps.sps_list[i]); in ff_h264_update_thread_context()