]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - drivers/media/pci/ivtv/ivtv-streams.h
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156
[mirror_ubuntu-jammy-kernel.git] / drivers / media / pci / ivtv / ivtv-streams.h
CommitLineData
1a59d1b8 1/* SPDX-License-Identifier: GPL-2.0-or-later */
1a0adaf3
HV
2/*
3 init/start/stop/exit stream functions
4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>
5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl>
6
1a0adaf3
HV
7 */
8
612570f2
HV
9#ifndef IVTV_STREAMS_H
10#define IVTV_STREAMS_H
11
1a0adaf3 12int ivtv_streams_setup(struct ivtv *itv);
18e16f9c 13int ivtv_streams_register(struct ivtv *itv);
635d62f0 14void ivtv_streams_cleanup(struct ivtv *itv);
1a0adaf3
HV
15
16/* Capture related */
17int ivtv_start_v4l2_encode_stream(struct ivtv_stream *s);
18int ivtv_stop_v4l2_encode_stream(struct ivtv_stream *s, int gop_end);
19int ivtv_start_v4l2_decode_stream(struct ivtv_stream *s, int gop_offset);
20int ivtv_stop_v4l2_decode_stream(struct ivtv_stream *s, int flags, u64 pts);
21
22void ivtv_stop_all_captures(struct ivtv *itv);
23int ivtv_passthrough_mode(struct ivtv *itv, int enable);
612570f2
HV
24
25#endif