18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci    init/start/stop/exit stream functions
48c2ecf20Sopenharmony_ci    Copyright (C) 2003-2004  Kevin Thayer <nufan_wfk at yahoo.com>
58c2ecf20Sopenharmony_ci    Copyright (C) 2005-2007  Hans Verkuil <hverkuil@xs4all.nl>
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci */
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#ifndef IVTV_STREAMS_H
108c2ecf20Sopenharmony_ci#define IVTV_STREAMS_H
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciint ivtv_streams_setup(struct ivtv *itv);
138c2ecf20Sopenharmony_ciint ivtv_streams_register(struct ivtv *itv);
148c2ecf20Sopenharmony_civoid ivtv_streams_cleanup(struct ivtv *itv);
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci/* Capture related */
178c2ecf20Sopenharmony_ciint ivtv_start_v4l2_encode_stream(struct ivtv_stream *s);
188c2ecf20Sopenharmony_ciint ivtv_stop_v4l2_encode_stream(struct ivtv_stream *s, int gop_end);
198c2ecf20Sopenharmony_ciint ivtv_start_v4l2_decode_stream(struct ivtv_stream *s, int gop_offset);
208c2ecf20Sopenharmony_ciint ivtv_stop_v4l2_decode_stream(struct ivtv_stream *s, int flags, u64 pts);
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_civoid ivtv_stop_all_captures(struct ivtv *itv);
238c2ecf20Sopenharmony_ciint ivtv_passthrough_mode(struct ivtv *itv, int enable);
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci#endif
26