]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - include/media/v4l2-mc.h
[media] v4l2-mc.h: move tuner PAD definitions to this new header
[mirror_ubuntu-focal-kernel.git] / include / media / v4l2-mc.h
CommitLineData
6aad127d
MCC
1/*
2 * v4l2-mc.h - Media Controller V4L2 types and prototypes
3 *
4 * Copyright (C) 2016 Mauro Carvalho Chehab <mchehab@osg.samsung.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 */
16
17/**
18 * enum tuner_pad_index - tuner pad index for MEDIA_ENT_F_TUNER
19 *
20 * @TUNER_PAD_RF_INPUT: Radiofrequency (RF) sink pad, usually linked to a
21 * RF connector entity.
22 * @TUNER_PAD_OUTPUT: Tuner output pad. This is actually more complex than
23 * a single pad output, as, in addition to luminance and
24 * chrominance IF a tuner may have internally an
25 * audio decoder (like xc3028) or it may produce an audio
26 * IF that will be used by an audio decoder like msp34xx.
27 * It may also have an IF-PLL demodulator on it, like
28 * tuners with tda9887. Yet, currently, we don't need to
29 * represent all the dirty details, as this is transparent
30 * for the V4L2 API usage. So, let's represent all kinds
31 * of different outputs as a single source pad.
32 * @TUNER_NUM_PADS: Number of pads of the tuner.
33 */
34enum tuner_pad_index {
35 TUNER_PAD_RF_INPUT,
36 TUNER_PAD_OUTPUT,
37 TUNER_NUM_PADS
38};