Lines Matching refs:decoder
3 * vpx3220a, vpx3216b & vpx3214c video decoder driver version 0.0.1
19 MODULE_DESCRIPTION("vpx3220a/vpx3216b/vpx3214c video decoder driver");
59 struct vpx3220 *decoder = i2c_get_clientdata(client);
61 decoder->reg[reg] = value;
267 struct vpx3220 *decoder = to_vpx3220(sd);
271 if (decoder->norm & V4L2_STD_NTSC)
273 else if (decoder->norm & V4L2_STD_PAL)
275 else if (decoder->norm & V4L2_STD_SECAM)
339 struct vpx3220 *decoder = to_vpx3220(sd);
361 decoder->norm = std;
461 struct vpx3220 *decoder;
472 decoder = devm_kzalloc(&client->dev, sizeof(*decoder), GFP_KERNEL);
473 if (decoder == NULL)
475 sd = &decoder->sd;
477 decoder->norm = V4L2_STD_PAL;
478 decoder->input = 0;
479 decoder->enable = 1;
480 v4l2_ctrl_handler_init(&decoder->hdl, 4);
481 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops,
483 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops,
485 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops,
487 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops,
489 sd->ctrl_handler = &decoder->hdl;
490 if (decoder->hdl.error) {
491 int err = decoder->hdl.error;
493 v4l2_ctrl_handler_free(&decoder->hdl);
496 v4l2_ctrl_handler_setup(&decoder->hdl);
531 struct vpx3220 *decoder = to_vpx3220(sd);
534 v4l2_ctrl_handler_free(&decoder->hdl);