[Ffmpeg-devel] Naming conventions

Måns Rullgård mans
Tue Mar 6 11:51:29 CET 2007


Luca Barbato said:
> Michel Bardiaux wrote:
>> Just for 2 eurocents: what we use here for internal APIs is to simply
>> mark the names with K for "kernel"; we use captitalization rather than
>> underscores so we have
>>
>> projectTypeKActionVersion
>>
>> Mind you, I am *not* proposing capitalization for ffmpeg! So it would be
>> av_type_k_action
>>
>
> av_frame_c_get vs av_get_frame
>
> av_get_frame is nicer to read/pronounce IMHO
>
> av_packet_f_get vs av_get_packet
>
> obviously grep would be happy with both version.

We already have the convention of the ff_ prefix for internal symbols.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list