-
Notifications
You must be signed in to change notification settings - Fork 141
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
What does uvc_frame_info structure represent #9
Comments
The intervals[8] represents a list of up to 8 possible frame intervals. It's a value in 100ns units, but the '0' means the end of the list. So only the first three 'frame intervals' are valid. |
Okay So then what is fps for the below values |
I believe so yes. |
That would make them 1 and ... 0.2 FPS ... So ... the values might all need validating I guess that means a long exposure? ... Where are these values from ? Aha, I see them being used here: Line 122 in 743a050
|
I wanted to test 60FPS for that changing the below line from |
Test it and see. But this wlhe version of the code is quite old I think. There might be a lot of other factors to consider. |
i am testing it, if you say it is quite old is there any new version of this code and i am working on Linux version 4.19.0 |
Upstream repository latest version: https://git.ideasonboard.org/uvc-gadget.git |
Hi,
I wanted to understand uvc_frame_info structure
struct uvc_frame_info {
unsigned int width;
unsigned int height;
unsigned int intervals[8];
};
static const struct uvc_frame_info uvc_frames_yuyv[] = {
{
640,
360,
{666666, 10000000, 50000000, 0},
},
what does {666666, 10000000, 50000000, 0}, represent even though intervals has 8 values why only four are filled
The text was updated successfully, but these errors were encountered: