首页 > 其他分享 >ffmpeg Comments

ffmpeg Comments

时间:2024-11-10 11:31:04浏览次数:1  
标签:... ffmpeg sentence int my Comments parameter description

Use the JavaDoc/Doxygen format (see examples below) so that code documentation can be generated automatically. All nontrivial functions should have a comment above them explaining what the function does, even if it is just one sentence. All structures and their member variables should be documented, too.

Avoid Qt-style and similar Doxygen syntax with ! in it, i.e. replace //! with /// and similar. Also @ syntax should be employed for markup commands, i.e. use @param and not \param.

/**
* @file
* MPEG codec.
* @author ...
*/

/**
* Summary sentence.
* more text ...
* ...
*/
typedef struct Foobar {
int var1; /**< var1 description */
int var2; ///< var2 description
/** var3 description */
int var3;
} Foobar;

/**
* Summary sentence.
* more text ...
* ...
* @param my_parameter description of my_parameter
* @return return value description
*/
int myfunc(int my_parameter)
...

 

https://www.octfgroup.com/

标签:...,ffmpeg,sentence,int,my,Comments,parameter,description
From: https://www.cnblogs.com/sathcal/p/18537788

相关文章

  • ffmpeg Naming conventions
    Namesoffunctions,variables,andstructmembersmustbelowercase,usingunderscores(_)toseparatewords.Forexample,‘avfilter_get_video_buffer’isanacceptablefunctionnameand‘AVFilterGetVideo’isnot.Struct,union,enum,andtypedeffedtypen......
  • ffmpeg Code behaviour
    CorrectnessThecodemustbevalid.Itmustnotcrash,abort,accessinvalidpointers,leakmemory,causedataracesorsignedintegeroverflow,orotherwisecauseundefinedbehaviour.Errorcodesshouldbecheckedand,whenapplicable,forwardedtotheca......
  • ffmpeg Patches/Committing
    LicensesforpatchesmustbecompatiblewithFFmpeg.ContributionsshouldbelicensedundertheLGPL2.1,includingan"oranylaterversion"clause,or,ifyoupreferagift-stylelicense,theISCorMITlicense.GPL2includingan"orany......
  • ffmpeg RFC call
    IntheRFCmode,onepersonfromtheTCpostsonthemailinglistthetechnicalquestionandwillrequestinputfromthecommunity.Themailwillhavethefollowingspecification:aprecisetitleaspecifictag[TCRFC]atop-levelemailcontainaprecise......
  • ffmpeg Decisions
    ThedecisionsfromtheTCwillbesentonthemailinglist,withthe[TC]tag.Internally,theTCshouldtakedecisionswithamajority,orusingranked-choicevoting.EachTCmembermustvoteonsuchdecisionaccordingtowhatis,intheirview,bestfor......
  • ffmpeg Community Committee
    TheCommunityCommittee(CC)isheretoarbitrageandmakedecisionswheninter-personalconflictsoccurintheproject.Itwilldecidequicklyandtakeactions,forthesakeoftheproject.TheCCcanremoveprivilegesofoffendingmembers,includingrem......
  • ffmpeg Code of Conduct
    Befriendlyandrespectfultowardsothersandthirdparties.Treatothersthewayyouyourselfwanttobetreated.Beconsiderate.Noteveryonesharesthesameviewpointandprioritiesasyoudo.Differentopinionsandinterpretationshelptheproject.Lo......
  • ffmpeg Introduction
    ThistextisconcernedwiththedevelopmentofFFmpegitself.InformationonusingtheFFmpeglibrariesinotherprogramscanbefoundelsewhere,e.g.in:theinstalledheaderfilestheDoxygendocumentationgeneratedfromtheheaderstheexamplesunderdoc......
  • ffmpeg Coding Rules SIMD/DSP
    AsmoderncompilersareunabletogenerateefficientSIMDorotherperformance-criticalDSPcodefromplainC,handwrittenassemblyisused.Usuallysuchcodeisisolatedinaseparatefunction.Thenthestandardapproachiswritingmultipleversionsoft......
  • ffmpeg Video and Audio file format conversion
    Anysupportedfileformatandprotocolcanserveasinputtoffmpeg:Examples:YoucanuseYUVfilesasinput:ffmpeg-i/tmp/test%d.Y/tmp/out.mpgItwillusethefiles:/tmp/test0.Y,/tmp/test0.U,/tmp/test0.V,/tmp/test1.Y,/tmp/test1.U,/tmp/test1.V,etc......