AnsweredAssumed Answered

Library from L2.6.35_1.1.0_130130_MM_CODECS_BUNDLE

Question asked by Mikhail Vakhroushev on May 19, 2015
Latest reply on Jun 10, 2015 by Mikhail Vakhroushev

Good day guys!

I work with IMX287 and the latest version of LTIB from the site.

My question is about codecs as part fsl plugin. More specifically applies to the Speech codec type g723 g726 g729. Binary files are copied to /usr/lib and headers in /usr/include/imx-mm. I looked binaries libraries:

/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-fsl-linux-gnueabi-readelf -h rootfs/usr/lib/lib_g.723.1_dec_arm9_elinux.so

ELF Header:

  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00

  Class:                             ELF32

  Data:                              2's complement, little endian

  Version:                           1 (current)

  OS/ABI:                            UNIX - System V

  ABI Version:                       0

  Type:                              DYN (Shared object file)

  Machine:                           ARM

  Version:                           0x1

  Entry point address:               0x1614

  Start of program headers:          52 (bytes into file)

  Start of section headers:          68972 (bytes into file)

  Flags:                             0x4000002, has entry point, Version4 EABI

  Size of this header:               52 (bytes)

  Size of program headers:           32 (bytes)

  Number of program headers:         5

  Size of section headers:           40 (bytes)

  Number of section headers:         31

  Section header string table index: 28

 

Now compare with a working project:

/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-fsl-linux-gnueabi-readelf -h rootfs/usr/lib/libcpufreq.so

ELF Header:

  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00

  Class:                             ELF32

  Data:                              2's complement, little endian

  Version:                           1 (current)

  OS/ABI:                            UNIX - System V

  ABI Version:                       0

  Type:                              DYN (Shared object file)

  Machine:                           ARM

  Version:                           0x1

  Entry point address:               0x1328

  Start of program headers:          52 (bytes into file)

  Start of section headers:          12804 (bytes into file)

  Flags:                             0x5000002, has entry point, Version5 EABI

  Size of this header:               52 (bytes)

  Size of program headers:           32 (bytes)

  Number of program headers:         6

  Size of section headers:           40 (bytes)

  Number of section headers:         27

  Section header string table index: 24

 

Pay attention to the flags. Will work my projects with libraries of codecs?

Outcomes