Go to the documentation of this file.
83 #define MSP_IN_SCART1 0
84 #define MSP_IN_SCART2 1
85 #define MSP_IN_SCART3 2
86 #define MSP_IN_SCART4 3
89 #define MSP_SCART_TO_DSP(in) (in)
91 #define MSP_IN_TUNER1 0
92 #define MSP_IN_TUNER2 1
93 #define MSP_TUNER_TO_DSP(in) ((in) << 3)
112 #define MSP_DSP_IN_TUNER 0
113 #define MSP_DSP_IN_SCART 2
114 #define MSP_DSP_IN_I2S1 5
115 #define MSP_DSP_IN_I2S2 6
116 #define MSP_DSP_IN_I2S3 7
117 #define MSP_DSP_IN_MAIN_AVC 11
118 #define MSP_DSP_IN_MAIN 12
119 #define MSP_DSP_IN_AUX 13
120 #define MSP_DSP_TO_MAIN(in) ((in) << 4)
121 #define MSP_DSP_TO_AUX(in) ((in) << 8)
122 #define MSP_DSP_TO_SCART1(in) ((in) << 12)
123 #define MSP_DSP_TO_SCART2(in) ((in) << 16)
124 #define MSP_DSP_TO_I2S(in) ((in) << 20)
128 #define MSP_SC_IN_SCART1 0
129 #define MSP_SC_IN_SCART2 1
130 #define MSP_SC_IN_SCART3 2
131 #define MSP_SC_IN_SCART4 3
132 #define MSP_SC_IN_DSP_SCART1 4
133 #define MSP_SC_IN_DSP_SCART2 5
134 #define MSP_SC_IN_MONO 6
135 #define MSP_SC_IN_MUTE 7
136 #define MSP_SC_TO_SCART1(in) (in)
137 #define MSP_SC_TO_SCART2(in) ((in) << 4)
140 #define MSP_INPUT(sc, t, main_aux_src, sc_i2s_src) \
141 (MSP_SCART_TO_DSP(sc) | \
142 MSP_TUNER_TO_DSP(t) | \
143 MSP_DSP_TO_MAIN(main_aux_src) | \
144 MSP_DSP_TO_AUX(main_aux_src) | \
145 MSP_DSP_TO_SCART1(sc_i2s_src) | \
146 MSP_DSP_TO_SCART2(sc_i2s_src) | \
147 MSP_DSP_TO_I2S(sc_i2s_src))
148 #define MSP_INPUT_DEFAULT MSP_INPUT(MSP_IN_SCART1, MSP_IN_TUNER1, \
149 MSP_DSP_IN_TUNER, MSP_DSP_IN_TUNER)
150 #define MSP_OUTPUT(sc) \
151 (MSP_SC_TO_SCART1(sc) | \
152 MSP_SC_TO_SCART2(sc))
154 #define MSP_OUTPUT_DEFAULT (MSP_SC_TO_SCART1(MSP_SC_IN_SCART3) | \
155 MSP_SC_TO_SCART2(MSP_SC_IN_DSP_SCART1))