Lines Matching refs:frame_data
233 struct pipewire_frame_data *frame_data = data; in pipewire_output_fence_sync_handler() local
234 struct pipewire_output *output = frame_data->output; in pipewire_output_fence_sync_handler()
236 pipewire_output_handle_frame(output, frame_data->fd, frame_data->stride, in pipewire_output_fence_sync_handler()
237 frame_data->drm_buffer); in pipewire_output_fence_sync_handler()
239 wl_event_source_remove(frame_data->fence_sync_event_source); in pipewire_output_fence_sync_handler()
240 close(frame_data->fence_sync_fd); in pipewire_output_fence_sync_handler()
241 free(frame_data); in pipewire_output_fence_sync_handler()
255 struct pipewire_frame_data *frame_data; in pipewire_output_submit_frame() local
267 frame_data = zalloc(sizeof *frame_data); in pipewire_output_submit_frame()
268 if (!frame_data) { in pipewire_output_submit_frame()
276 frame_data->output = output; in pipewire_output_submit_frame()
277 frame_data->fd = fd; in pipewire_output_submit_frame()
278 frame_data->stride = stride; in pipewire_output_submit_frame()
279 frame_data->drm_buffer = drm_buffer; in pipewire_output_submit_frame()
280 frame_data->fence_sync_fd = fence_sync_fd; in pipewire_output_submit_frame()
281 frame_data->fence_sync_event_source = in pipewire_output_submit_frame()
282 wl_event_loop_add_fd(loop, frame_data->fence_sync_fd, in pipewire_output_submit_frame()
285 frame_data); in pipewire_output_submit_frame()