Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dh264_picture.c57 av_buffer_unref(&pic->pps_buf); in ff_h264_unref_picture()
81 dst->pps_buf = av_buffer_ref(src->pps_buf); in ff_h264_ref_picture()
82 if (!dst->qscale_table_buf || !dst->mb_type_buf || !dst->pps_buf) { in ff_h264_ref_picture()
Dh264_ps.c752 AVBufferRef *pps_buf; in ff_h264_decode_picture_parameter_set() local
768 pps_buf = av_buffer_create((uint8_t*)pps, sizeof(*pps), in ff_h264_decode_picture_parameter_set()
770 if (!pps_buf) { in ff_h264_decode_picture_parameter_set()
895 ps->pps_list[pps_id] = pps_buf; in ff_h264_decode_picture_parameter_set()
900 av_buffer_unref(&pps_buf); in ff_h264_decode_picture_parameter_set()
Dhevc_ps.c1508 AVBufferRef *pps_buf; in ff_hevc_decode_nal_pps() local
1514 pps_buf = av_buffer_create((uint8_t *)pps, sizeof(*pps), in ff_hevc_decode_nal_pps()
1516 if (!pps_buf) { in ff_hevc_decode_nal_pps()
1738 ps->pps_list[pps_id] = pps_buf; in ff_hevc_decode_nal_pps()
1743 av_buffer_unref(&pps_buf); in ff_hevc_decode_nal_pps()
Dqsvenc.c889 uint8_t pps_buf[128]; in qsv_retrieve_enc_params() local
895 .PPSBuffer = pps_buf, .PPSBufSize = sizeof(pps_buf) in qsv_retrieve_enc_params()
993 memcpy(avctx->extradata + extradata_offset, pps_buf, extradata.PPSBufSize); in qsv_retrieve_enc_params()
Dh264dec.h166 AVBufferRef *pps_buf; member
Dh264_slice.c246 pic->pps_buf = av_buffer_ref(h->ps.pps_ref); in alloc_picture()
247 if (!pic->pps_buf) in alloc_picture()
249 pic->pps = (const PPS*)pic->pps_buf->data; in alloc_picture()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtph264pay.c493 GstBuffer *pps_buf = in gst_rtp_h264_pay_set_sps_pps() local
496 gst_buffer_map (pps_buf, &map, GST_MAP_READ); in gst_rtp_h264_pay_set_sps_pps()
498 gst_buffer_unmap (pps_buf, &map); in gst_rtp_h264_pay_set_sps_pps()
654 GstBuffer *pps_buf; in gst_rtp_h264_pay_setcaps() local
669 pps_buf = gst_buffer_new_and_alloc (nal_size); in gst_rtp_h264_pay_setcaps()
670 gst_buffer_fill (pps_buf, 0, data, nal_size); in gst_rtp_h264_pay_setcaps()
672 rtph264pay->pps, pps_buf); in gst_rtp_h264_pay_setcaps()
893 GstBuffer *pps_buf = in gst_rtp_h264_pay_send_sps_pps() local
898 ret = gst_rtp_h264_pay_payload_nal (basepayload, gst_buffer_ref (pps_buf), in gst_rtp_h264_pay_send_sps_pps()
Dgstrtph265pay.c537 GstBuffer *pps_buf = in gst_rtp_h265_pay_set_vps_sps_pps() local
540 gst_buffer_map (pps_buf, &map, GST_MAP_READ); in gst_rtp_h265_pay_set_vps_sps_pps()
542 gst_buffer_unmap (pps_buf, &map); in gst_rtp_h265_pay_set_vps_sps_pps()
771 GstBuffer *pps_buf; in gst_rtp_h265_pay_setcaps() local
786 pps_buf = gst_buffer_new_and_alloc (nal_size); in gst_rtp_h265_pay_setcaps()
787 gst_buffer_fill (pps_buf, 0, data, nal_size); in gst_rtp_h265_pay_setcaps()
789 rtph265pay->vps, rtph265pay->sps, rtph265pay->pps, pps_buf); in gst_rtp_h265_pay_setcaps()
963 GstBuffer *pps_buf = in gst_rtp_h265_pay_send_vps_sps_pps() local
967 g_ptr_array_add (bufs, gst_buffer_ref (pps_buf)); in gst_rtp_h265_pay_send_vps_sps_pps()
Dgstrtph264depay.c616 GstBuffer *pps_buf = g_ptr_array_index (rtph264depay->pps, i); in gst_rtp_h264_set_src_caps() local
617 guint pps_size = gst_buffer_get_size (pps_buf); in gst_rtp_h264_set_src_caps()
623 gst_buffer_extract (pps_buf, 0, data + 4, -1); in gst_rtp_h264_set_src_caps()
Dgstrtph265depay.c644 GstBuffer *pps_buf = g_ptr_array_index (rtph265depay->pps, i); in gst_rtp_h265_set_src_caps() local
645 guint pps_size = gst_buffer_get_size (pps_buf); in gst_rtp_h265_set_src_caps()
651 gst_buffer_extract (pps_buf, 0, data + 4, -1); in gst_rtp_h265_set_src_caps()