ivtv-streams.h 823 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  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 <[email protected]>
  6. */
  7. #ifndef IVTV_STREAMS_H
  8. #define IVTV_STREAMS_H
  9. int ivtv_streams_setup(struct ivtv *itv);
  10. int ivtv_streams_register(struct ivtv *itv);
  11. void ivtv_streams_cleanup(struct ivtv *itv);
  12. /* Capture related */
  13. int ivtv_start_v4l2_encode_stream(struct ivtv_stream *s);
  14. int ivtv_stop_v4l2_encode_stream(struct ivtv_stream *s, int gop_end);
  15. int ivtv_start_v4l2_decode_stream(struct ivtv_stream *s, int gop_offset);
  16. int ivtv_stop_v4l2_decode_stream(struct ivtv_stream *s, int flags, u64 pts);
  17. void ivtv_stop_all_captures(struct ivtv *itv);
  18. int ivtv_passthrough_mode(struct ivtv *itv, int enable);
  19. #endif