-
Notifications
You must be signed in to change notification settings - Fork 514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] alternative split devices #417
Commits on Mar 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1a9445e - Browse repository at this point
Copy the full SHA 1a9445eView commit details
Commits on Mar 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d3f7442 - Browse repository at this point
Copy the full SHA d3f7442View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ca5cce - Browse repository at this point
Copy the full SHA 1ca5cceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bace70 - Browse repository at this point
Copy the full SHA 7bace70View commit details -
V4L1 has been completely removed from kernel since 2.6.39.
Configuration menu - View commit details
-
Copy full SHA for 89b476b - Browse repository at this point
Copy the full SHA 89b476bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 790a046 - Browse repository at this point
Copy the full SHA 790a046View commit details -
mod: add output_nr module parameter in parallel with video_nr
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c256fb7 - Browse repository at this point
Copy the full SHA c256fb7View commit details -
keep track of both output_nr and capture_nr in IDR
With this change, output_nr will be allocated and deallocated as capture_nr is, but currently saved with no other reference to it. Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 03366a7 - Browse repository at this point
Copy the full SHA 03366a7View commit details -
Since now both output_nr and capture_nr are meaningful, don't return either of them. Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 727e625 - Browse repository at this point
Copy the full SHA 727e625View commit details -
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 32cbef3 - Browse repository at this point
Copy the full SHA 32cbef3View commit details -
embed struct video_device into v4l2_loopback_device
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6c6a6c1 - Browse repository at this point
Copy the full SHA 6c6a6c1View commit details -
set v4l2_loopback_device addr as video_device drvdata instead
Converting function v4l2loopback_cd2dev and v4l2loopback_getdevice searches v4l2loopback_index_idr with device number retrieved from video_device drvdata, but this could be time consuming and creates unecessary complexity. And since we may need to retrieve v4l2_loopback_device address from callbacks shared between capture and output devices, this patch reuses video_device drvdata instead of struct member offsets. Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c580737 - Browse repository at this point
Copy the full SHA c580737View commit details -
move v4l2_loopback_device->vdev into v4l2_loopback_device->capture
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fd056bd - Browse repository at this point
Copy the full SHA fd056bdView commit details -
move all vdev init procedures into init_vdev
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2670509 - Browse repository at this point
Copy the full SHA 2670509View commit details -
fix cap->device_caps may not be defined before v3.3
Also use V4L2_CAP_DEVICE_CAPS to detect this instead of hardcoded kernel version. Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 68616dd - Browse repository at this point
Copy the full SHA 68616ddView commit details -
don't change device state in vidioc_s_fmt_out
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for eeb0625 - Browse repository at this point
Copy the full SHA eeb0625View commit details -
create a draft output video_device
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 50e2fcf - Browse repository at this point
Copy the full SHA 50e2fcfView commit details -
Since we have already instantiated an output video device, use its `num` field instead. Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 210e307 - Browse repository at this point
Copy the full SHA 210e307View commit details -
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for babaffe - Browse repository at this point
Copy the full SHA babaffeView commit details -
re-implement a separate output device
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2f0fb5a - Browse repository at this point
Copy the full SHA 2f0fb5aView commit details -
prepare to share output/capture entity init
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4e0ef85 - Browse repository at this point
Copy the full SHA 4e0ef85View commit details -
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6d4a482 - Browse repository at this point
Copy the full SHA 6d4a482View commit details -
capture: use fops callback from videobuf2
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 37c700e - Browse repository at this point
Copy the full SHA 37c700eView commit details -
[wip] reimplement capture entity using videobuf2
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ac6439b - Browse repository at this point
Copy the full SHA ac6439bView commit details
Commits on Mar 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8a94f49 - Browse repository at this point
Copy the full SHA 8a94f49View commit details
Commits on Mar 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2350269 - Browse repository at this point
Copy the full SHA 2350269View commit details -
simplified capabilities logic (with only split-devices), setting CAPT…
…URE only for capture devices
Configuration menu - View commit details
-
Copy full SHA for 3a1ab9a - Browse repository at this point
Copy the full SHA 3a1ab9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e76bec - Browse repository at this point
Copy the full SHA 2e76becView commit details