Searched refs:sps_buf (Results 1 – 7 of 7) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | h264_ps.c | 336 AVBufferRef *sps_buf; in ff_h264_decode_seq_parameter_set() local 343 sps_buf = av_buffer_allocz(sizeof(*sps)); in ff_h264_decode_seq_parameter_set() 344 if (!sps_buf) in ff_h264_decode_seq_parameter_set() 346 sps = (SPS*)sps_buf->data; 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() 632 av_buffer_unref(&sps_buf); in ff_h264_decode_seq_parameter_set() 635 ps->sps_list[sps_id] = sps_buf; in ff_h264_decode_seq_parameter_set() 641 av_buffer_unref(&sps_buf); in ff_h264_decode_seq_parameter_set()
|
D | hevc_ps.c | 1254 AVBufferRef *sps_buf = av_buffer_allocz(sizeof(*sps)); in ff_hevc_decode_nal_sps() local 1259 if (!sps_buf) in ff_hevc_decode_nal_sps() 1261 sps = (HEVCSPS*)sps_buf->data; in ff_hevc_decode_nal_sps() 1280 av_buffer_unref(&sps_buf); 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() 1299 av_buffer_unref(&sps_buf); in ff_hevc_decode_nal_sps() 1302 ps->sps_list[sps_id] = sps_buf; in ff_hevc_decode_nal_sps()
|
D | qsvenc.c | 888 uint8_t sps_buf[128]; in qsv_retrieve_enc_params() local 894 .SPSBuffer = sps_buf, .SPSBufSize = sizeof(sps_buf), in qsv_retrieve_enc_params() 990 memcpy(avctx->extradata + extradata_offset, sps_buf, extradata.SPSBufSize); in qsv_retrieve_enc_params()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtph264pay.c | 481 GstBuffer *sps_buf = in gst_rtp_h264_pay_set_sps_pps() local 484 gst_buffer_map (sps_buf, &map, GST_MAP_READ); in gst_rtp_h264_pay_set_sps_pps() 486 gst_buffer_unmap (sps_buf, &map); in gst_rtp_h264_pay_set_sps_pps() 622 GstBuffer *sps_buf; in gst_rtp_h264_pay_setcaps() local 637 sps_buf = gst_buffer_new_and_alloc (nal_size); in gst_rtp_h264_pay_setcaps() 638 gst_buffer_fill (sps_buf, 0, data, nal_size); in gst_rtp_h264_pay_setcaps() 640 rtph264pay->pps, sps_buf); in gst_rtp_h264_pay_setcaps() 879 GstBuffer *sps_buf = in gst_rtp_h264_pay_send_sps_pps() local 884 ret = gst_rtp_h264_pay_payload_nal (basepayload, gst_buffer_ref (sps_buf), in gst_rtp_h264_pay_send_sps_pps()
|
D | gstrtph265pay.c | 525 GstBuffer *sps_buf = in gst_rtp_h265_pay_set_vps_sps_pps() local 528 gst_buffer_map (sps_buf, &map, GST_MAP_READ); in gst_rtp_h265_pay_set_vps_sps_pps() 530 gst_buffer_unmap (sps_buf, &map); in gst_rtp_h265_pay_set_vps_sps_pps() 734 GstBuffer *sps_buf; in gst_rtp_h265_pay_setcaps() local 749 sps_buf = gst_buffer_new_and_alloc (nal_size); in gst_rtp_h265_pay_setcaps() 750 gst_buffer_fill (sps_buf, 0, data, nal_size); in gst_rtp_h265_pay_setcaps() 752 rtph265pay->vps, rtph265pay->sps, rtph265pay->pps, sps_buf); in gst_rtp_h265_pay_setcaps() 956 GstBuffer *sps_buf = in gst_rtp_h265_pay_send_vps_sps_pps() local 960 g_ptr_array_add (bufs, gst_buffer_ref (sps_buf)); in gst_rtp_h265_pay_send_vps_sps_pps()
|
D | gstrtph264depay.c | 604 GstBuffer *sps_buf = g_ptr_array_index (rtph264depay->sps, i); in gst_rtp_h264_set_src_caps() local 605 guint sps_size = gst_buffer_get_size (sps_buf); in gst_rtp_h264_set_src_caps() 611 gst_buffer_extract (sps_buf, 0, data + 4, -1); in gst_rtp_h264_set_src_caps()
|
D | gstrtph265depay.c | 632 GstBuffer *sps_buf = g_ptr_array_index (rtph265depay->sps, i); in gst_rtp_h265_set_src_caps() local 633 guint sps_size = gst_buffer_get_size (sps_buf); in gst_rtp_h265_set_src_caps() 639 gst_buffer_extract (sps_buf, 0, data + 4, -1); in gst_rtp_h265_set_src_caps()
|