[FFmpeg-devel] [PATCH]levc/hevc_cabac Optimise ff_hevc_hls_residual_coding (especially ARM)

Mats Peterson matsp888 at yahoo.com
Tue Jan 19 15:05:10 CET 2016


On 01/19/2016 02:51 PM, Ronald S. Bultje wrote:
> What I did in vp8 (if I remember correctly) in those cases is to split the
> top line:
>
> static av_always_inline long_return_type_name
> far_too_long_function_name(type arg1, type arg2,
>                             type arg3, type arg4)
> {
>      ..
> }
>
> May be helpful, but all of this is very personal-taste-ish...
>
> Ronald

Yes, that's one way to do it, of course :) Otherwise, *if* I'm forced to 
do anything that breaks this rule, I always use 8 columns indentation 
for anything that continues on to the next line, to differentiate it 
from "normal" indentations of 4 columns. But I'll try to stick to what's 
customary as much as I can.

Mats



More information about the ffmpeg-devel mailing list