Home
last modified time | relevance | path

Searched refs:picture_id (Results 1 – 16 of 16) sorted by relevance

/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpvp9pay.c104 obj->picture_id = g_random_int_range (0, G_MAXUINT8) & 0x7F; in gst_rtp_vp9_pay_init()
106 obj->picture_id = g_random_int_range (0, G_MAXUINT16) & 0x7FFF; in gst_rtp_vp9_pay_init()
155 rtpvp9pay->picture_id = g_random_int_range (0, G_MAXUINT8) & 0x7F; in gst_rtp_vp9_pay_set_property()
157 rtpvp9pay->picture_id = g_random_int_range (0, G_MAXUINT16) & 0x7FFF; in gst_rtp_vp9_pay_set_property()
403 p[off++] = self->picture_id & 0x7F; in gst_rtp_vp9_create_header_buffer()
406 p[off++] = 0x80 | ((self->picture_id & 0x7FFF) >> 8); in gst_rtp_vp9_create_header_buffer()
407 p[off++] = self->picture_id & 0xFF; in gst_rtp_vp9_create_header_buffer()
507 ++self->picture_id >= 0x80) || in gst_rtp_vp9_pay_handle_buffer()
509 ++self->picture_id >= 0x8000)) in gst_rtp_vp9_pay_handle_buffer()
510 self->picture_id = 0; in gst_rtp_vp9_pay_handle_buffer()
[all …]
Dgstrtpvp8depay.c290 guint picture_id = PICTURE_ID_NONE; in gst_rtp_vp8_depay_process() local
329 picture_id = data[2]; in gst_rtp_vp8_depay_process()
334 picture_id = (picture_id << 8) | data[3]; in gst_rtp_vp8_depay_process()
346 picture_id, s_bit, part_id); in gst_rtp_vp8_depay_process()
357 send_new_lost_event (self, GST_BUFFER_PTS (rtp->buffer), picture_id, in gst_rtp_vp8_depay_process()
377 send_last_lost_event_if_needed (self, picture_id); in gst_rtp_vp8_depay_process()
386 self->last_picture_id = picture_id; in gst_rtp_vp8_depay_process()
452 if (picture_id != PICTURE_ID_NONE) in gst_rtp_vp8_depay_process()
Dgstrtpvp9depay.c192 guint picture_id = PICTURE_ID_NONE; in gst_rtp_vp9_depay_process() local
225 picture_id = data[1]; in gst_rtp_vp9_depay_process()
231 picture_id = (picture_id << 8) | data[2]; in gst_rtp_vp9_depay_process()
329 hdrsize, size, picture_id); in gst_rtp_vp9_depay_process()
358 send_last_lost_event_if_needed (self, picture_id); in gst_rtp_vp9_depay_process()
373 self->last_picture_id = picture_id; in gst_rtp_vp9_depay_process()
440 if (picture_id != PICTURE_ID_NONE) in gst_rtp_vp9_depay_process()
Dgstrtpvp8pay.c116 obj->picture_id = g_random_int (); in gst_rtp_vp8_pay_picture_id_reset()
118 obj->picture_id = obj->picture_id_offset; in gst_rtp_vp8_pay_picture_id_reset()
121 obj->picture_id &= (1 << nbits) - 1; in gst_rtp_vp8_pay_picture_id_reset()
133 obj->picture_id++; in gst_rtp_vp8_pay_picture_id_increment()
134 obj->picture_id &= (1 << nbits) - 1; in gst_rtp_vp8_pay_picture_id_increment()
509 p[2] = self->picture_id & 0x7F; in gst_rtp_vp8_create_header_buffer()
513 p[2] = 0x80 | ((self->picture_id & 0x7FFF) >> 8); in gst_rtp_vp8_create_header_buffer()
514 p[3] = self->picture_id & 0xFF; in gst_rtp_vp8_create_header_buffer()
Dgstrtpvp9pay.h63 guint16 picture_id; member
Dgstrtpvp8pay.h66 guint16 picture_id; member
/third_party/mesa3d/src/gallium/frontends/va/
Dpicture_hevc_enc.c48 context->desc.h265enc.decoded_curr_pic = h265->decoded_curr_pic.picture_id; in vlVaHandleVAEncPictureParameterBufferTypeHEVC()
51 context->desc.h265enc.reference_frames[i] = h265->reference_frames[i].picture_id; in vlVaHandleVAEncPictureParameterBufferTypeHEVC()
85 UINT_TO_PTR(h265->decoded_curr_pic.picture_id + 1), in vlVaHandleVAEncPictureParameterBufferTypeHEVC()
101 if (h265->ref_pic_list0[i].picture_id != VA_INVALID_ID) { in vlVaHandleVAEncSliceParameterBufferTypeHEVC()
104 UINT_TO_PTR(h265->ref_pic_list0[i].picture_id + 1))); in vlVaHandleVAEncSliceParameterBufferTypeHEVC()
106 if (h265->ref_pic_list1[i].picture_id != VA_INVALID_ID && h265->slice_type == 1) { in vlVaHandleVAEncSliceParameterBufferTypeHEVC()
109 UINT_TO_PTR(h265->ref_pic_list1[i].picture_id + 1))); in vlVaHandleVAEncSliceParameterBufferTypeHEVC()
Dpicture_h264_enc.c57 UINT_TO_PTR(h264->CurrPic.picture_id + 1), in vlVaHandleVAEncPictureParameterBufferTypeH264()
98 if (h264->RefPicList0[i].picture_id != VA_INVALID_ID) { in vlVaHandleVAEncSliceParameterBufferTypeH264()
100 UINT_TO_PTR(h264->RefPicList0[i].picture_id + 1))); in vlVaHandleVAEncSliceParameterBufferTypeH264()
102 if (h264->RefPicList1[i].picture_id != VA_INVALID_ID && h264->slice_type == 1) { in vlVaHandleVAEncSliceParameterBufferTypeH264()
104 UINT_TO_PTR(h264->RefPicList1[i].picture_id + 1))); in vlVaHandleVAEncSliceParameterBufferTypeH264()
Dpicture_h264.c145 (h264->ReferenceFrames[i].picture_id == VA_INVALID_SURFACE)) { in vlVaHandlePictureParameterBufferH264()
150 vlVaGetReferenceFrame(drv, h264->ReferenceFrames[i].picture_id, &context->desc.h264.ref[i]); in vlVaHandlePictureParameterBufferH264()
151 vlVaGetPastReferenceFrame(drv, h264->ReferenceFrames[i].picture_id, &private->past_ref[i]); in vlVaHandlePictureParameterBufferH264()
Dpicture_hevc.c163 vlVaGetReferenceFrame(drv, hevc->ReferenceFrames[i].picture_id, &context->desc.h265.ref[i]); in vlVaHandlePictureParameterBufferHEVC()
/third_party/ffmpeg/libavcodec/
Dvaapi_h264.c41 va_pic->picture_id = VA_INVALID_ID; in init_vaapi_pic()
63 va_pic->picture_id = ff_vaapi_get_surface_id(pic->f); in fill_vaapi_pic()
103 if (va_pic->picture_id == ff_vaapi_get_surface_id(pic->f)) { in dpb_add()
Dvaapi_encode_h264.c566 .picture_id = VA_INVALID_ID, in vaapi_encode_h264_init_sequence_params()
684 .picture_id = pic->recon_surface, in vaapi_encode_h264_init_picture_params()
699 .picture_id = ref->recon_surface, in vaapi_encode_h264_init_picture_params()
708 .picture_id = VA_INVALID_ID, in vaapi_encode_h264_init_picture_params()
1017 vslice->RefPicList0[i].picture_id = VA_INVALID_ID; in vaapi_encode_h264_init_slice_params()
1019 vslice->RefPicList1[i].picture_id = VA_INVALID_ID; in vaapi_encode_h264_init_slice_params()
Dvaapi_encode_h265.c628 .picture_id = VA_INVALID_ID, in vaapi_encode_h265_init_sequence_params()
825 .picture_id = pic->recon_surface, in vaapi_encode_h265_init_picture_params()
838 .picture_id = ref->recon_surface, in vaapi_encode_h265_init_picture_params()
848 .picture_id = VA_INVALID_ID, in vaapi_encode_h265_init_picture_params()
1057 vslice->ref_pic_list0[i].picture_id = VA_INVALID_ID; in vaapi_encode_h265_init_slice_params()
1059 vslice->ref_pic_list1[i].picture_id = VA_INVALID_ID; in vaapi_encode_h265_init_slice_params()
Dvaapi_hevc.c49 va_pic->picture_id = VA_INVALID_ID; in init_vaapi_pic()
56 va_pic->picture_id = ff_vaapi_get_surface_id(pic->frame); in fill_vaapi_pic()
385 VASurfaceID pid = pp->ReferenceFrames[i].picture_id; in get_ref_pic_index()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvah265dec.c260 va_picture->picture_id = VA_INVALID_ID; in _init_vaapi_pic()
302 va_picture->picture_id = gst_va_decode_picture_get_surface (va_pic); in _fill_vaapi_pic()
321 if (ref_va_pic->picture_id == VA_INVALID_ID) in _get_reference_index()
781 pic_param->base.ReferenceFrames[i].picture_id = in gst_va_h265_dec_start_picture()
Dgstvah264dec.c156 va_picture->picture_id = VA_INVALID_ID; in _init_vaapi_pic()
176 va_picture->picture_id = gst_va_decode_picture_get_surface (va_pic); in _fill_vaapi_pic()