Lines Matching full:decoder
27 struct media_entity *tuner = NULL, *decoder = NULL; in v4l2_mc_create_media_graph() local
48 decoder = entity; in v4l2_mc_create_media_graph()
95 if (!decoder) in v4l2_mc_create_media_graph()
99 /* The device isn't a webcam. So, it should have a decoder */ in v4l2_mc_create_media_graph()
100 if (!decoder) { in v4l2_mc_create_media_graph()
101 dev_warn(mdev->dev, "Decoder not found\n"); in v4l2_mc_create_media_graph()
130 pad_sink = media_get_pad_index(decoder, in v4l2_mc_create_media_graph()
134 dev_warn(mdev->dev, "get decoder and/or PLL pad(s): (%d, %d)\n", in v4l2_mc_create_media_graph()
139 decoder, pad_sink, in v4l2_mc_create_media_graph()
142 dev_warn(mdev->dev, "couldn't link PLL to decoder\n"); in v4l2_mc_create_media_graph()
149 pad_sink = media_get_pad_index(decoder, in v4l2_mc_create_media_graph()
153 dev_warn(mdev->dev, "couldn't get tuner and/or decoder pad(s): (%d, %d)\n", in v4l2_mc_create_media_graph()
158 decoder, pad_sink, in v4l2_mc_create_media_graph()
172 dev_warn(mdev->dev, "couldn't get tuner and/or decoder pad(s) for audio: (%d, %d)\n", in v4l2_mc_create_media_graph()
191 pad_source = media_get_pad_index(decoder, MEDIA_PAD_FL_SOURCE, in v4l2_mc_create_media_graph()
194 dev_warn(mdev->dev, "couldn't get decoder output pad for V4L I/O\n"); in v4l2_mc_create_media_graph()
197 ret = media_create_pad_link(decoder, pad_source, in v4l2_mc_create_media_graph()
201 dev_warn(mdev->dev, "couldn't link decoder output to V4L I/O\n"); in v4l2_mc_create_media_graph()
207 pad_source = media_get_pad_index(decoder, MEDIA_PAD_FL_SOURCE, in v4l2_mc_create_media_graph()
210 dev_warn(mdev->dev, "couldn't get decoder output pad for SDR\n"); in v4l2_mc_create_media_graph()
213 ret = media_create_pad_link(decoder, pad_source, in v4l2_mc_create_media_graph()
217 dev_warn(mdev->dev, "couldn't link decoder output to SDR\n"); in v4l2_mc_create_media_graph()
223 pad_source = media_get_pad_index(decoder, MEDIA_PAD_FL_SOURCE, in v4l2_mc_create_media_graph()
226 dev_warn(mdev->dev, "couldn't get decoder output pad for VBI\n"); in v4l2_mc_create_media_graph()
229 ret = media_create_pad_link(decoder, pad_source, in v4l2_mc_create_media_graph()
233 dev_warn(mdev->dev, "couldn't link decoder output to VBI\n"); in v4l2_mc_create_media_graph()
257 pad_sink = media_get_pad_index(decoder, in v4l2_mc_create_media_graph()
261 dev_warn(mdev->dev, "couldn't get decoder analog pad sink\n"); in v4l2_mc_create_media_graph()
264 ret = media_create_pad_link(entity, 0, decoder, in v4l2_mc_create_media_graph()