* @see media_format_ref()
* @see media_format_unref()
*/
-int media_format_create(media_format_h * fmt);
+int media_format_create(media_format_h *fmt);
/**
* @brief Gets format type of media format.
* @retval #MEDIA_FORMAT_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #MEDIA_FORMAT_ERROR_INVALID_OPERATION Invalid operation
*/
-int media_format_get_type(media_format_h fmt, media_format_type_e * formattype);
+int media_format_get_type(media_format_h fmt, media_format_type_e *formattype);
/**
* @brief Gets container MIME type of media format.
* @retval #MEDIA_FORMAT_ERROR_INVALID_OPERATION Invalid operation
* @see media_format_set_container_mime()
*/
-int media_format_get_container_mime(media_format_h fmt, media_format_mimetype_e * mimetype);
+int media_format_get_container_mime(media_format_h fmt, media_format_mimetype_e *mimetype);
/**
* @brief Gets text track information of media format.
* @retval #MEDIA_FORMAT_ERROR_INVALID_OPERATION Invalid operation
* @see media_format_set_text_mime()
*/
-int media_format_get_text_info(media_format_h fmt, media_format_mimetype_e * mimetype, media_format_text_type_e * type);
+int media_format_get_text_info(media_format_h fmt, media_format_mimetype_e *mimetype, media_format_text_type_e *type);
/**
* @brief Gets video information of media format.
* @retval #MEDIA_FORMAT_ERROR_INVALID_OPERATION Invalid operation
* @see media_format_set_audio_aac_type()
*/
-int media_format_get_audio_aac_type(media_format_h fmt, bool * is_adts);
+int media_format_get_audio_aac_type(media_format_h fmt, bool *is_adts);
/**
* @brief Gets audio aac header type of media format.
* @retval #MEDIA_FORMAT_ERROR_INVALID_OPERATION Invalid operation
* @see media_format_set_audio_aac_header_type()
*/
-int media_format_get_audio_aac_header_type(media_format_h fmt, media_format_aac_header_type_e * aac_header_type);
+int media_format_get_audio_aac_header_type(media_format_h fmt, media_format_aac_header_type_e *aac_header_type);
/**
* @brief Gets video frame rate of media format.
* @retval #MEDIA_FORMAT_ERROR_INVALID_OPERATION Invalid operation
* @see media_format_make_writable()
*/
-int media_format_is_writable(media_format_h fmt, bool * is_writable);
+int media_format_is_writable(media_format_h fmt, bool *is_writable);
/**
* @brief Returns a writable copy of #media_format_h.
* @retval #MEDIA_FORMAT_ERROR_INVALID_OPERATION Invalid operation
* @see media_format_is_writable()
*/
-int media_format_make_writable(media_format_h fmt, media_format_h * out_fmt);
+int media_format_make_writable(media_format_h fmt, media_format_h *out_fmt);
/**
* @brief Sets extra data of media format.
return MEDIA_FORMAT_ERROR_NONE;
}
-int media_format_is_writable(media_format_h fmt, bool * is_writable)
+int media_format_is_writable(media_format_h fmt, bool *is_writable)
{
MEDIA_FORMAT_INSTANCE_CHECK(fmt);
if (MEDIA_FORMAT_GET_REFCOUNT(fmt) <= 0) {
return MEDIA_FORMAT_ERROR_INVALID_OPERATION;
}
-int media_format_channel_positions_to_mask(media_format_h fmt, const media_format_channel_position_e* position, uint64_t* channel_mask_out)
+int media_format_channel_positions_to_mask(media_format_h fmt, const media_format_channel_position_e *position, uint64_t *channel_mask_out)
{
MEDIA_FORMAT_INSTANCE_CHECK(fmt);
MEDIA_FORMAT_INSTANCE_CHECK(position);