xref: /kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/vivid-vbi-gen.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * vivid-vbi-gen.h - vbi generator support functions.
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright 2014 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#ifndef _VIVID_VBI_GEN_H_
962306a36Sopenharmony_ci#define _VIVID_VBI_GEN_H_
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_cistruct vivid_vbi_gen_data {
1262306a36Sopenharmony_ci	struct v4l2_sliced_vbi_data data[25];
1362306a36Sopenharmony_ci	u8 time_of_day_packet[16];
1462306a36Sopenharmony_ci};
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_civoid vivid_vbi_gen_sliced(struct vivid_vbi_gen_data *vbi,
1762306a36Sopenharmony_ci		bool is_60hz, unsigned seqnr);
1862306a36Sopenharmony_civoid vivid_vbi_gen_raw(const struct vivid_vbi_gen_data *vbi,
1962306a36Sopenharmony_ci		const struct v4l2_vbi_format *vbi_fmt, u8 *buf);
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci#endif
22

Indexes created Thu Nov 07 10:32:03 CST 2024