On 06/07/2011 02:20 PM, Ronald S. Bultje wrote:
> The function is only ever called through a function pointer,
> so it is practically never inlined.
"practically never" as in "in practice, never", or "almost never"?
> ---
> libswscale/swscale.c | 10 +++++-----
> 1 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/libswscale/swscale.c b/libswscale/swscale.c
> index 9945c01..1c61361 100644
> --- a/libswscale/swscale.c
> +++ b/libswscale/swscale.c
> @@ -867,11 +867,11 @@ static void yuv2packedX_c(SwsContext *c, const int16_t
> *lumFilter,
> YSCALE_YUV_2_ANYRGB_C(YSCALE_YUV_2_RGBX_C,
> YSCALE_YUV_2_PACKEDX_C(void,0), YSCALE_YUV_2_GRAY16_C, YSCALE_YUV_2_MONOX_C)
> }
>
> -static inline void yuv2rgbX_c_full(SwsContext *c, const int16_t *lumFilter,
> - const int16_t **lumSrc, int lumFilterSize,
> - const int16_t *chrFilter, const int16_t
> **chrUSrc,
> - const int16_t **chrVSrc, int
> chrFilterSize,
> - const int16_t **alpSrc, uint8_t *dest,
> int dstW, int y)
> +static void yuv2rgbX_c_full(SwsContext *c, const int16_t *lumFilter,
> + const int16_t **lumSrc, int lumFilterSize,
> + const int16_t *chrFilter, const int16_t
> **chrUSrc,
> + const int16_t **chrVSrc, int chrFilterSize,
> + const int16_t **alpSrc, uint8_t *dest, int dstW,
> int y)
> {
> int i;
> int step= c->dstFormatBpp/8;
ok.
-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel