Skip to content
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

Added secondary application compiles, untested #132

Open
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

psmithcrl
Copy link
Contributor

Some controls to help evaluate and test the functionality of the secondary application.
The primary goal being this will serve as an example for secondary application developers to use as a template for their application.

Comment on lines 2991 to 2997
DataSource source;
/** Bits per pixel in the secondaryAppData */
uint32_t bitsPerPixel;
/** Width of the secondaryAppData */
uint32_t width;
/** Height of the secondaryAppData*/
uint32_t height;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do these fields make sense? Is a void* with a length, associated frameID, and timestamp sufficient?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I don't think hardly anything here makes sense yet.
I am kind of using this as a template and a test utility to evaluate running a secondary application on the camera.
I am going to change these fields, to make a basic demo.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if we are going to support sending arbitrary number of bytes, we can let the user manually unpack it.

/** The number of frames per second currently streaming from the device */
float framesPerSecond;
/** The length of the secondaryAppData data stored in secondaryAppDataDataP */
uint32_t secondaryAppDataLength;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this redundant with the length member?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants