Lines Matching refs:fdata
589 FrameData *fdata; in gst_x265_enc_queue_frame() local
594 fdata = g_slice_new (FrameData); in gst_x265_enc_queue_frame()
595 fdata->frame = gst_video_codec_frame_ref (frame); in gst_x265_enc_queue_frame()
596 fdata->vframe = vframe; in gst_x265_enc_queue_frame()
598 enc->pending_frames = g_list_prepend (enc->pending_frames, fdata); in gst_x265_enc_queue_frame()
600 return fdata; in gst_x265_enc_queue_frame()
609 FrameData *fdata = l->data; in gst_x265_enc_dequeue_frame() local
611 if (fdata->frame != frame) in gst_x265_enc_dequeue_frame()
614 gst_video_frame_unmap (&fdata->vframe); in gst_x265_enc_dequeue_frame()
615 gst_video_codec_frame_unref (fdata->frame); in gst_x265_enc_dequeue_frame()
616 g_slice_free (FrameData, fdata); in gst_x265_enc_dequeue_frame()
629 FrameData *fdata = l->data; in gst_x265_enc_dequeue_all_frames() local
631 gst_video_frame_unmap (&fdata->vframe); in gst_x265_enc_dequeue_all_frames()
632 gst_video_codec_frame_unref (fdata->frame); in gst_x265_enc_dequeue_all_frames()
633 g_slice_free (FrameData, fdata); in gst_x265_enc_dequeue_all_frames()
1464 FrameData *fdata; in gst_x265_enc_handle_frame() local
1476 fdata = gst_x265_enc_queue_frame (encoder, frame, info); in gst_x265_enc_handle_frame()
1477 if (!fdata) in gst_x265_enc_handle_frame()
1483 pic_in.planes[i] = GST_VIDEO_FRAME_PLANE_DATA (&fdata->vframe, i); in gst_x265_enc_handle_frame()
1484 pic_in.stride[i] = GST_VIDEO_FRAME_COMP_STRIDE (&fdata->vframe, i); in gst_x265_enc_handle_frame()