<commit_before>libimxvpuapi - frontend for i.MX hardware video codecs
======================================================

This library provides an API for using hardware video codecs on i.MX platforms.
The API abstracts away platform specific details and allows for using the same
code with different hardware video codecs on different i.MX platforms.

The hardware video codec is referred to as the _VPU_.

Currently, the following platforms are supported (listed with their VPUs):

* i.MX6 (Chips&Media CODA960 codec)
* i.MX8m (Hantro G1/G2 decoder, no encoder)
* i.MX8mm (Hantro G1/G2 decoder, Hantro H1 encoder)

Not yet supported:

* i.MX8 / i.MX8X (Amphion Malone codec)

This is the second version of this library. Differences to the older version
are described below.


License
-------

This library is licensed under the LGPL v2.1.


Dependencies
------------

libimxvpuapi depends on [libimxdmabuffer](https://github.com/dv1/libimxdmabuffer).

Additional dependencies are specific to the target platform:

* i.MX6: imx-vpu package version 3.10.17 or newer.
* i.MX8m & i.MX8mm: imx-vpu-hantro 1.8.0 or newer.
  Please note that the build scripts assume that this is a version of the
  imx-vpu-hantro package with fixed header installation destination. Earlier
  versions installed all Hantro headers in the main include directory. Newer
  ones create `hantro_enc` and `hantro_dec`subdirectories. libimxvpuapi
  expects these directories to exist.


Building and installing
-----------------------

This project uses the [waf meta build system](https://code.google.com/p/waf/).
To configure , first set the following environment variables to whatever is
necessary for cross compilation for your platform:

* `CC`
* `CFLAGS`
* `LDFLAGS`<commit_msg>Add note about the current state of i.MX8m plus support<commit_after>libimxvpuapi - frontend for i.MX hardware video codecs
======================================================

This library provides an API for using hardware video codecs on i.MX platforms.
The API abstracts away platform specific details and allows for using the same
code with different hardware video codecs on different i.MX platforms.

The hardware video codec is referred to as the _VPU_.

Currently, the following platforms are supported (listed with their VPUs):

* i.MX6 (Chips&Media CODA960 codec)
* i.MX8m (Hantro G1/G2 decoder, no encoder)
* i.MX8mm (Hantro G1/G2 decoder, Hantro H1 encoder)

Not yet supported:

* i.MX8 / i.MX8X (Amphion Malone codec)

This is the second version of this library. Differences to the older version
are described below.


License
-------

This library is licensed under the LGPL v2.1.


Dependencies
------------

libimxvpuapi depends on [libimxdmabuffer](https://github.com/dv1/libimxdmabuffer).

Additional dependencies are specific to the target platform:

* i.MX6: imx-vpu package version 3.10.17 or newer.
* i.MX8m & i.MX8mm: imx-vpu-hantro 1.8.0 or newer.
  Please note that the build scripts assume that this is a version of the
  imx-vpu-hantro package with fixed header installation destination. Earlier
  versions installed all Hantro headers in the main include directory. Newer
  ones create `hantro_enc` and `hantro_dec`subdirectories. libimxvpuapi
  expects these directories to exist.
  Also, currently, there is no specific support for the i.MX8m plus.
  However, building for i.MX8mm produces a version that is also usable
  on that SoC.


Building and installing
-----------------------

This project uses the [waf meta build system](https://code.google.com/p/waf/).
To configure , first set the following environment variables to whatever is
necessary for cross compilation for your platform:

* `CC`
* `CFLAGS`
* `LDFLAGS`
{'fraction_non_alphanumeric': 0.11036339165545088, 'fraction_numerical': 0.015343203230148048, 'mean_word_length': 3.9414893617021276, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6356140', 'n_tokens_mistral': 1132, 'n_tokens_neox': 1076, 'n_words': 463}