| 241 | } |
| 242 | |
| 243 | static int sim_decoder_querycap(void *priv, |
| 244 | struct v4l2_capability *cap) |
| 245 | { |
| 246 | strlcpy((char *)cap->driver, SIM_DECODER_NAME, sizeof(cap->driver)); |
| 247 | strlcpy((char *)cap->card, SIM_DECODER_NAME, sizeof(cap->card)); |
| 248 | cap->capabilities = V4L2_CAP_VIDEO_M2M; |
| 249 | |
| 250 | return 0; |
| 251 | } |
| 252 | |
| 253 | static int sim_decoder_capture_enum_fmt(void *priv, |
| 254 | struct v4l2_fmtdesc *f) |