Home
last modified time | relevance | path

Searched refs:sps_buf (Results 1 - 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dh264_ps.c335 AVBufferRef *sps_buf; in ff_h264_decode_seq_parameter_set() local
342 sps_buf = av_buffer_allocz(sizeof(*sps)); in ff_h264_decode_seq_parameter_set()
343 if (!sps_buf) in ff_h264_decode_seq_parameter_set()
345 sps = (SPS*)sps_buf->data; 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()
630 av_buffer_unref(&sps_buf); in ff_h264_decode_seq_parameter_set()
633 ps->sps_list[sps_id] = sps_buf; in ff_h264_decode_seq_parameter_set()
639 av_buffer_unref(&sps_buf); in ff_h264_decode_seq_parameter_set()
H A Dhevc_ps.c1251 AVBufferRef *sps_buf = av_buffer_allocz(sizeof(*sps)); in ff_hevc_decode_nal_sps() local
1256 if (!sps_buf) in ff_hevc_decode_nal_sps()
1258 sps = (HEVCSPS*)sps_buf->data; in ff_hevc_decode_nal_sps()
1277 av_buffer_unref(&sps_buf); 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()
1296 av_buffer_unref(&sps_buf); in ff_hevc_decode_nal_sps()
1299 ps->sps_list[sps_id] = sps_buf; in ff_hevc_decode_nal_sps()
H A Dqsvenc.c1061 uint8_t sps_buf[128]; in qsv_retrieve_enc_params() local
1067 .SPSBuffer = sps_buf, .SPSBufSize = sizeof(sps_buf), in qsv_retrieve_enc_params()
1154 memcpy(avctx->extradata + extradata_offset, sps_buf, extradata.SPSBufSize); in qsv_retrieve_enc_params()

Completed in 6 milliseconds