Lines Matching defs: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;
462 struct vpx3220 *decoder;
473 decoder = devm_kzalloc(&client->dev, sizeof(*decoder), GFP_KERNEL);
474 if (decoder == NULL)
476 sd = &decoder->sd;
478 decoder->norm = V4L2_STD_PAL;
479 decoder->input = 0;
480 decoder->enable = 1;
481 v4l2_ctrl_handler_init(&decoder->hdl, 4);
482 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops,
484 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops,
486 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops,
488 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops,
490 sd->ctrl_handler = &decoder->hdl;
491 if (decoder->hdl.error) {
492 int err = decoder->hdl.error;
494 v4l2_ctrl_handler_free(&decoder->hdl);
497 v4l2_ctrl_handler_setup(&decoder->hdl);
532 struct vpx3220 *decoder = to_vpx3220(sd);
535 v4l2_ctrl_handler_free(&decoder->hdl);