old mode 100644
new mode 100755
| | |
| | | |
| | | /** |
| | | * Acquire a reference to the video definition. |
| | | * @param[in] vdef #LinphoneVideoDefinition object. |
| | | * @return The same #LinphoneVideoDefinition object. |
| | | * @param video_definition #LinphoneVideoDefinition object. @notnil |
| | | * @return The same #LinphoneVideoDefinition object. @notnil |
| | | **/ |
| | | LINPHONE_PUBLIC LinphoneVideoDefinition * linphone_video_definition_ref(LinphoneVideoDefinition *vdef); |
| | | LINPHONE_PUBLIC LinphoneVideoDefinition * linphone_video_definition_ref(LinphoneVideoDefinition *video_definition); |
| | | |
| | | /** |
| | | * Release reference to the video definition. |
| | | * @param[in] vdef #LinphoneVideoDefinition object. |
| | | * @param video_definition #LinphoneVideoDefinition object. @notnil |
| | | **/ |
| | | LINPHONE_PUBLIC void linphone_video_definition_unref(LinphoneVideoDefinition *vdef); |
| | | LINPHONE_PUBLIC void linphone_video_definition_unref(LinphoneVideoDefinition *video_definition); |
| | | |
| | | /** |
| | | * Retrieve the user pointer associated with the video definition. |
| | | * @param[in] vdef #LinphoneVideoDefinition object. |
| | | * @return The user pointer associated with the video definition. |
| | | * @param video_definition #LinphoneVideoDefinition object. @notnil |
| | | * @return The user pointer associated with the video definition. @maybenil |
| | | **/ |
| | | LINPHONE_PUBLIC void *linphone_video_definition_get_user_data(const LinphoneVideoDefinition *vdef); |
| | | LINPHONE_PUBLIC void *linphone_video_definition_get_user_data(const LinphoneVideoDefinition *video_definition); |
| | | |
| | | /** |
| | | * Assign a user pointer to the video definition. |
| | | * @param[in] vdef #LinphoneVideoDefinition object. |
| | | * @param[in] ud The user pointer to associate with the video definition. |
| | | * @param video_definition #LinphoneVideoDefinition object. @notnil |
| | | * @param user_data The user pointer to associate with the video definition. @maybenil |
| | | **/ |
| | | LINPHONE_PUBLIC void linphone_video_definition_set_user_data(LinphoneVideoDefinition *vdef, void *ud); |
| | | LINPHONE_PUBLIC void linphone_video_definition_set_user_data(LinphoneVideoDefinition *video_definition, void *user_data); |
| | | |
| | | /** |
| | | * Clone a video definition. |
| | | * @param[in] vdef #LinphoneVideoDefinition object to be cloned |
| | | * @return The new clone of the video definition |
| | | * @param video_definition #LinphoneVideoDefinition object to be cloned @notnil |
| | | * @return The new clone of the video definition @notnil |
| | | */ |
| | | LINPHONE_PUBLIC LinphoneVideoDefinition * linphone_video_definition_clone(const LinphoneVideoDefinition *vdef); |
| | | LINPHONE_PUBLIC LinphoneVideoDefinition * linphone_video_definition_clone(const LinphoneVideoDefinition *video_definition); |
| | | |
| | | /** |
| | | * Get the width of the video definition. |
| | | * @param[in] vdef #LinphoneVideoDefinition object |
| | | * @param video_definition #LinphoneVideoDefinition object @notnil |
| | | * @return The width of the video definition |
| | | */ |
| | | LINPHONE_PUBLIC unsigned int linphone_video_definition_get_width(const LinphoneVideoDefinition *vdef); |
| | | LINPHONE_PUBLIC unsigned int linphone_video_definition_get_width(const LinphoneVideoDefinition *video_definition); |
| | | |
| | | /** |
| | | * Set the width of the video definition. |
| | | * @param[in] vdef #LinphoneVideoDefinition object |
| | | * @param[in] width The width of the video definition |
| | | * @param video_definition #LinphoneVideoDefinition object @notnil |
| | | * @param width The width of the video definition |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_video_definition_set_width(LinphoneVideoDefinition *vdef, unsigned int width); |
| | | LINPHONE_PUBLIC void linphone_video_definition_set_width(LinphoneVideoDefinition *video_definition, unsigned int width); |
| | | |
| | | /** |
| | | * Get the height of the video definition. |
| | | * @param[in] vdef #LinphoneVideoDefinition object |
| | | * @param video_definition #LinphoneVideoDefinition object @notnil |
| | | * @return The height of the video definition |
| | | */ |
| | | LINPHONE_PUBLIC unsigned int linphone_video_definition_get_height(const LinphoneVideoDefinition *vdef); |
| | | LINPHONE_PUBLIC unsigned int linphone_video_definition_get_height(const LinphoneVideoDefinition *video_definition); |
| | | |
| | | /** |
| | | * Set the height of the video definition. |
| | | * @param[in] vdef #LinphoneVideoDefinition object |
| | | * @param[in] height The height of the video definition |
| | | * @param video_definition #LinphoneVideoDefinition object @notnil |
| | | * @param height The height of the video definition |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_video_definition_set_height(LinphoneVideoDefinition *vdef, unsigned int height); |
| | | LINPHONE_PUBLIC void linphone_video_definition_set_height(LinphoneVideoDefinition *video_definition, unsigned int height); |
| | | |
| | | /** |
| | | * Set the width and the height of the video definition. |
| | | * @param[in] vdef #LinphoneVideoDefinition object |
| | | * @param[in] width The width of the video definition |
| | | * @param[in] height The height of the video definition |
| | | * @param video_definition #LinphoneVideoDefinition object @notnil |
| | | * @param width The width of the video definition |
| | | * @param height The height of the video definition |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_video_definition_set_definition(LinphoneVideoDefinition *vdef, unsigned int width, unsigned int height); |
| | | LINPHONE_PUBLIC void linphone_video_definition_set_definition(LinphoneVideoDefinition *video_definition, unsigned int width, unsigned int height); |
| | | |
| | | /** |
| | | * Get the name of the video definition. |
| | | * @param[in] vdef #LinphoneVideoDefinition object |
| | | * @return The name of the video definition |
| | | * @param video_definition #LinphoneVideoDefinition object @notnil |
| | | * @return The name of the video definition @maybenil |
| | | */ |
| | | LINPHONE_PUBLIC const char * linphone_video_definition_get_name(const LinphoneVideoDefinition *vdef); |
| | | LINPHONE_PUBLIC const char * linphone_video_definition_get_name(const LinphoneVideoDefinition *video_definition); |
| | | |
| | | /** |
| | | * Set the name of the video definition. |
| | | * @param[in] vdef #LinphoneVideoDefinition object |
| | | * @param[in] name The name of the video definition |
| | | * @param video_definition #LinphoneVideoDefinition object @notnil |
| | | * @param name The name of the video definition @maybenil |
| | | */ |
| | | LINPHONE_PUBLIC void linphone_video_definition_set_name(LinphoneVideoDefinition *vdef, const char *name); |
| | | LINPHONE_PUBLIC void linphone_video_definition_set_name(LinphoneVideoDefinition *video_definition, const char *name); |
| | | |
| | | /** |
| | | * Tells whether two #LinphoneVideoDefinition objects are equal (the widths and the heights are the same but can be switched). |
| | | * @param[in] vdef1 #LinphoneVideoDefinition object |
| | | * @param[in] vdef2 #LinphoneVideoDefinition object |
| | | * @param video_definition1 #LinphoneVideoDefinition object @notnil |
| | | * @param video_definition2 #LinphoneVideoDefinition object @notnil |
| | | * @return A boolean value telling whether the two #LinphoneVideoDefinition objects are equal. |
| | | */ |
| | | LINPHONE_PUBLIC bool_t linphone_video_definition_equals(const LinphoneVideoDefinition *vdef1, const LinphoneVideoDefinition *vdef2); |
| | | LINPHONE_PUBLIC bool_t linphone_video_definition_equals(const LinphoneVideoDefinition *video_definition1, const LinphoneVideoDefinition *video_definition2); |
| | | |
| | | /** |
| | | * Tells whether two #LinphoneVideoDefinition objects are strictly equal (the widths are the same and the heights are the same). |
| | | * @param[in] vdef1 #LinphoneVideoDefinition object |
| | | * @param[in] vdef2 #LinphoneVideoDefinition object |
| | | * @param video_definition1 #LinphoneVideoDefinition object @notnil |
| | | * @param video_definition2 #LinphoneVideoDefinition object @notnil |
| | | * @return A boolean value telling whether the two #LinphoneVideoDefinition objects are strictly equal. |
| | | */ |
| | | LINPHONE_PUBLIC bool_t linphone_video_definition_strict_equals(const LinphoneVideoDefinition *vdef1, const LinphoneVideoDefinition *vdef2); |
| | | LINPHONE_PUBLIC bool_t linphone_video_definition_strict_equals(const LinphoneVideoDefinition *video_definition1, const LinphoneVideoDefinition *video_definition2); |
| | | |
| | | /** |
| | | * Tells whether a #LinphoneVideoDefinition is undefined. |
| | | * @param[in] vdef #LinphoneVideoDefinition object |
| | | * @param video_definition #LinphoneVideoDefinition object @notnil |
| | | * @return A boolean value telling whether the #LinphoneVideoDefinition is undefined. |
| | | */ |
| | | LINPHONE_PUBLIC bool_t linphone_video_definition_is_undefined(const LinphoneVideoDefinition *vdef); |
| | | LINPHONE_PUBLIC bool_t linphone_video_definition_is_undefined(const LinphoneVideoDefinition *video_definition); |
| | | |
| | | /** |
| | | * @} |