[OE-core] [PATCH 1/2] ffmpeg: don't use hardcoded lookup tables

Khem Raj raj.khem at gmail.com
Sat Jul 20 00:48:29 UTC 2019


On Fri, Jul 19, 2019 at 1:20 PM Ross Burton <ross.burton at intel.com> wrote:
>
> ffmpeg can generate lookup tables at build time instead of runtime, but this is
> no longer a recommended option.  The size impact is significant (12% of the
> total libavcodec size, nearly 2MB), the runtime impact of dynamic tables isn't
> too costly, and only a few codecs actually use the pre-generated tables (MP3,
> notably).

I think it will be good to understand the performance impact with some
low end non-x86 device
as for now, it will be better to turn this into a packageconfig knob
instead of just removing the
option

>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
>  meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.3.bb | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.3.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.3.bb
> index 147388d9b7c..6d230c33169 100644
> --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.3.bb
> +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.3.bb
> @@ -106,7 +106,6 @@ EXTRA_OECONF = " \
>      --extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
>      --extra-ldflags="${TARGET_LDFLAGS}" \
>      --sysroot="${STAGING_DIR_TARGET}" \
> -    --enable-hardcoded-tables \
>      ${EXTRA_FFCONF} \
>      --libdir=${libdir} \
>      --shlibdir=${libdir} \
> --
> 2.20.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


More information about the Openembedded-core mailing list