Mauro Carvalho Chehab | 6aad127 | 2016-01-29 06:11:30 -0200 | [diff] [blame] | 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. |
Mauro Carvalho Chehab | 5c9077e | 2016-01-29 07:00:08 -0200 | [diff] [blame^] | 22 | * @TUNER_PAD_OUTPUT: Tuner video output source pad. Contains the video |
| 23 | * chrominance and luminance or the hole bandwidth |
| 24 | * of the signal converted to an Intermediate Frequency |
| 25 | * (IF) or to baseband (on zero-IF tuners). |
| 26 | * @TUNER_PAD_AUD_OUT: Tuner audio output source pad. Tuners used to decode |
| 27 | * analog TV signals have an extra pad for audio output. |
| 28 | * Old tuners use an analog stage with a saw filter for |
| 29 | * the audio IF frequency. The output of the pad is, in |
| 30 | * this case, the audio IF, with should be decoded either |
| 31 | * by the bridge chipset (that's the case of cx2388x |
| 32 | * chipsets) or may require an external IF sound |
| 33 | * processor, like msp34xx. On modern silicon tuners, |
| 34 | * the audio IF decoder is usually incorporated at the |
| 35 | * tuner. On such case, the output of this pad is an |
| 36 | * audio sampled data. |
Mauro Carvalho Chehab | 6aad127 | 2016-01-29 06:11:30 -0200 | [diff] [blame] | 37 | * @TUNER_NUM_PADS: Number of pads of the tuner. |
| 38 | */ |
| 39 | enum tuner_pad_index { |
| 40 | TUNER_PAD_RF_INPUT, |
| 41 | TUNER_PAD_OUTPUT, |
Mauro Carvalho Chehab | 5c9077e | 2016-01-29 07:00:08 -0200 | [diff] [blame^] | 42 | TUNER_PAD_AUD_OUT, |
Mauro Carvalho Chehab | 6aad127 | 2016-01-29 06:11:30 -0200 | [diff] [blame] | 43 | TUNER_NUM_PADS |
Mauro Carvalho Chehab | 5c9077e | 2016-01-29 07:00:08 -0200 | [diff] [blame^] | 44 | }; |