device = group->device;
-#ifndef DISABLE_CHECK_PERFRAME_FMT_SIZE
/*
* perframe check
* 1. perframe size can't exceed s_format size
frame->shot_ext->node_group.leader.input.cropRegion[2] = incrop->w;
frame->shot_ext->node_group.leader.input.cropRegion[3] = incrop->h;
}
-#endif
for (capture_id = 0; capture_id < CAPTURE_NODE_MAX; ++capture_id) {
node = &gframe->group_cfg[group->slot].capture[capture_id];
goto p_err;
}
-#ifndef DISABLE_CHECK_PERFRAME_FMT_SIZE
if ((otcrop->w * otcrop->h) > (subdev->output.width * subdev->output.height)) {
mrwarn("[V%d][req:%d] the output size is invalid(perframe:%dx%d > subdev:%dx%d)", group, gframe,
node->vid, node->request,
frame->shot_ext->node_group.capture[capture_id].output.cropRegion[2] = otcrop->w;
frame->shot_ext->node_group.capture[capture_id].output.cropRegion[3] = otcrop->h;
}
-#endif
+
subdev->cid = capture_id;
}