Lines Matching defs:enc
1264 static int ivtv_encoder_cmd(struct file *file, void *fh, struct v4l2_encoder_cmd *enc)
1270 switch (enc->cmd) {
1273 enc->flags = 0;
1278 enc->flags &= V4L2_ENC_CMD_STOP_AT_GOP_END;
1279 ivtv_stop_capture(id, enc->flags & V4L2_ENC_CMD_STOP_AT_GOP_END);
1284 enc->flags = 0;
1297 enc->flags = 0;
1309 IVTV_DEBUG_IOCTL("Unknown cmd %d\n", enc->cmd);
1316 static int ivtv_try_encoder_cmd(struct file *file, void *fh, struct v4l2_encoder_cmd *enc)
1320 switch (enc->cmd) {
1323 enc->flags = 0;
1328 enc->flags &= V4L2_ENC_CMD_STOP_AT_GOP_END;
1333 enc->flags = 0;
1338 enc->flags = 0;
1341 IVTV_DEBUG_IOCTL("Unknown cmd %d\n", enc->cmd);