-
Notifications
You must be signed in to change notification settings - Fork 639
C API 2.0: External source info #5872
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
Conversation
Signed-off-by: Michal Zientkiewicz <[email protected]>
Signed-off-by: Michal Zientkiewicz <[email protected]>
Signed-off-by: Michal Zientkiewicz <[email protected]>
b594d9b
to
8d11321
Compare
CI MESSAGE: [26640097]: BUILD STARTED |
CI MESSAGE: [26640097]: BUILD PASSED |
* | ||
* @param pipeline [in] The pipeline | ||
* @param out_input_desc [out] A pointer to the location where the descriptor is written. | ||
* @param name [in] The name of the input whose descriptor to obtain.] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @param name [in] The name of the input whose descriptor to obtain.] | |
* @param name [in] The name of the input whose descriptor to obtain. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix in upcoming PR.
* @retval DALI_SUCCESS | ||
* @retval DALI_ERROR_INVALID_OPERATION the pipeline wasn't built before the call | ||
*/ | ||
DALI_API daliResult_t daliPipelineGetInputCount(daliPipeline_h pipeline, int *out_input_count); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DALI_API daliResult_t daliPipelineGetInputCount(daliPipeline_h pipeline, int *out_input_count); | |
DALI_API daliResult_t daliPipelineGetInputCount(daliPipeline_h pipeline, int *out_input_count); |
The out_input seems a bit confusing name at first. Why not just input_count
? Does the out_
prefix relate to the fact this is the output of this function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or it rephrases the type of the argument? If that's not a convention of the API to mark output arguments (I don't recall we have such convention), I'd avoid alluding to the type of the desc class in the name and go with simpler input_count.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I noticed this, too. It's used throughout the header this way and yes, all output parameters are prefixed with out_
.
Category:
New feature (non-breaking change which adds functionality)
Description:
This PR adds the ability to query for external source descriptors that contain:
Additional information:
Affected modules and functionalities:
Key points relevant for the review:
Tests:
Checklist
Documentation
DALI team only
Requirements
REQ IDs: N/A
JIRA TASK: DALI-4240