[x264-devel] Re: static's

Tom Jacobs T.R.Jacobs at lboro.ac.uk
Tue Apr 19 14:55:39 CEST 2005


the main variable i am having trouble with is static int16_t *p_cost_mv[52];
in x264_mb_analyse_load_costs() in analyse.c.  here the encoder breaks when
the static is removed from the variable. is this arrays data reused each
time the function is called?

thanks

Tom



Quoting Tom Jacobs <T.R.Jacobs at lboro.ac.uk>:

> hi
>
> i was just wondering why the majority of the functions in x264 are
> declared
> as static?  it is probably my misunderstanding of a static but in my
> parallel compiler it defines variables to be shared between processors.
> this can sometimes coarse a problem when i am porting the code.
> ive only found 4 actual variable declared as static though. are these
> essential?
>
> many thanks
>
> Tom
>
> --
> This is the x264-devel mailing-list
> To unsubscribe, go to: http://developers.videolan.org/lists.html
>
>



-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list