[Ffmpeg-devel] Naming conventions

Luca Barbato lu_zero
Tue Mar 6 11:41:07 CET 2007


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.

lu

-- 

Luca Barbato

Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero





More information about the ffmpeg-devel mailing list