<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-freescale.git/recipes-multimedia/libimxvpuapi, branch topic/better-nip-support</title>
<subtitle>Mirror of github.com/Freescale/meta-freescale</subtitle>
<id>https://git.enea.com/cgit/linux/meta-freescale.git/atom?h=topic%2Fbetter-nip-support</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-freescale.git/atom?h=topic%2Fbetter-nip-support'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/'/>
<updated>2022-02-21T23:06:28+00:00</updated>
<entry>
<title>Generalize overrides subsystem for NXP and Mainline support</title>
<updated>2022-02-21T23:06:28+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2022-02-18T22:43:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=30f5ce1d2168389295b4813e01898c2fb0f9bab9'/>
<id>urn:sha1:30f5ce1d2168389295b4813e01898c2fb0f9bab9</id>
<content type='text'>
Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and
mainline-bsp.

So, for example, the mx8mq override is split into:

- imx-generic-bsp: compatible with every i.MX SoC and both BSP variants
- imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP
- imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP

- mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants
- mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP
- mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP

- mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants
- mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP
- mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP

- mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants
- mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP
- mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP

The extender mechanism is responsible for extending the override list to
include the generic overrides. We can then use the three different
variants to handle the metadata correctly.

Generically speaking, the conversion mainly was automated (with a lot of
back and forth until getting it right).

To convert an existing layer, the following script can be used:

```sh
  git ls-files classes recipes-* \
      | xargs sed -i \
              -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \
              -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \
              -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \
              -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \
              \
              -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \
              -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \
              -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \
              -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \
              \
              -e 's,:\(vf\w*\),:\1-generic-bsp,g' \
              -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \
              -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \
              -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \
              -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \
              -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \
              \
              -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \
              -e 's,(\(imx\)),(\1-nxp-bsp),g' \
              -e 's,\(imx\)|,\1-nxp-bsp|,g' \
              -e 's,|\(imx\)),|\1-nxp-bsp),g'

  for d in $(find -type d | egrep '/mx[6-8]w*'); do
      git mv $d $d-nxp-bsp
  done

  for d in $(find -type d | egrep '/imx$'); do
      git mv $d $d-nxp-bsp
  done

  for d in $(find -type d | egrep '/mx[5s]w*'); do
      git mv $d $d-generic-bsp
  done
```

Fixes: #791.
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>recipes: use https protocol and add explicit branch parameter</title>
<updated>2021-11-03T21:27:01+00:00</updated>
<author>
<name>Pierre-Jean Texier</name>
<email>texier.pj2@gmail.com</email>
</author>
<published>2021-11-03T21:10:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=bef00d6e4f25b4a9d3272e0d69db7545590ed204'/>
<id>urn:sha1:bef00d6e4f25b4a9d3272e0d69db7545590ed204</id>
<content type='text'>
Due to https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
it is required to use https protocol for github repo accessing.

Update created with oe-core/scripts/contrib/convert-srcuri.py (see [0])

Fixes:

WARNING: /work/meta-freescale/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2021.07.bb: URL: git://github.com/Freescale/u-boot-fslc.git;branch=2021.07+fslc uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url.

[0] - https://git.openembedded.org/openembedded-core/tree/scripts/contrib/convert-srcuri.py

Signed-off-by: Pierre-Jean Texier &lt;texier.pj2@gmail.com&gt;
</content>
</entry>
<entry>
<title>layer: Convert to new override syntax</title>
<updated>2021-08-12T17:08:24+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-08-02T18:01:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=59d36c9832702989bfcca8a5af29fb2dff01efcc'/>
<id>urn:sha1:59d36c9832702989bfcca8a5af29fb2dff01efcc</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>libimxvpuapi2: Update to version 2.2.0</title>
<updated>2021-06-15T12:19:41+00:00</updated>
<author>
<name>Carlos Rafael Giani</name>
<email>crg7475@mailbox.org</email>
</author>
<published>2021-06-14T16:59:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=53a7fa11367fbc09d1ce4f7f9de7d4b4393c3b71'/>
<id>urn:sha1:53a7fa11367fbc09d1ce4f7f9de7d4b4393c3b71</id>
<content type='text'>
* Add IMX_VPU_API_DEC_OUTPUT_CODE_VIDEO_PARAMETERS_CHANGED output code
* Deprecate encoder drain mode, better document decoder drain mode
* Various documentation fixes and new overviews about en- and
  decoding to help with the basic concepts
* Add note about the current state of i.MX8m plus support
* New functions:
  imx_vpu_api_is_color_format_rgb()
  imx_vpu_api_vp8_profile_number()
  imx_vpu_api_vp8_partition_count_number()
  imx_vpu_api_vp9_profile_number()
  imx_vpu_api_enc_set_frame_rate()
* imx6-coda: Fix decoded frame fb_context
  This was causing crashes when callers relied on said fb_context

Signed-off-by: Carlos Rafael Giani &lt;crg7475@mailbox.org&gt;
</content>
</entry>
<entry>
<title>libimxvpuapi2: Update to version 2.1.2</title>
<updated>2021-04-25T16:40:14+00:00</updated>
<author>
<name>Carlos Rafael Giani</name>
<email>crg7475@mailbox.org</email>
</author>
<published>2021-04-23T19:24:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=355c3729d54b6df984f7d70dbbd513cce53b573b'/>
<id>urn:sha1:355c3729d54b6df984f7d70dbbd513cce53b573b</id>
<content type='text'>
* imx6 coda: fix bug in IPU based detiling related to frame width/height
* imx6 coda: use the frame width/height from open params if available
* imx6 coda: fix duplicate VPU firmware unloading
* imx6-coda: Fix skipped frame reporting
* imx8 hantro encoder: fix mid-stream bitrate changes and bitrate logging
* imx8m-hantro: Handle CODEC_ERROR_FRAME codec state
* imx8m-hantro: Limit supported formats and profiles if building for m8xmm

Signed-off-by: Carlos Rafael Giani &lt;crg7475@mailbox.org&gt;
</content>
</entry>
<entry>
<title>libimxvpuapi2: Update to version 2.1.0</title>
<updated>2020-10-18T16:29:23+00:00</updated>
<author>
<name>Carlos Rafael Giani</name>
<email>crg7475@mailbox.org</email>
</author>
<published>2020-10-18T11:50:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=aa3189ea5c91eb8c0947474abaf983bcdecc017a'/>
<id>urn:sha1:aa3189ea5c91eb8c0947474abaf983bcdecc017a</id>
<content type='text'>
* introduce RGB and packed YUV formats since the Hantro encoder
  supports those
* remove hardware specific public headers since they only added
  tiled pixel formats; instead, migrate these tiled formats into
  ImxVpuApiColorFormat
* imx8 hantro decoder: reorder list of supported decoder color
  formats to favor 10 bit output
* imx8 hantro decoder: clear new framebuffer fields to zero
* imx8 hantro encoder: fix segfault caused by trying to unmap
  non existing staged raw frame

Signed-off-by: Carlos Rafael Giani &lt;crg7475@mailbox.org&gt;
</content>
</entry>
<entry>
<title>libimxvpuapi2: add imx8mp to supported platforms</title>
<updated>2020-09-29T19:56:20+00:00</updated>
<author>
<name>Andrey Zhizhikin</name>
<email>andrey.z@gmail.com</email>
</author>
<published>2020-09-06T17:09:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=9232106eb6f44562d8584f6f890ea3d22f097bba'/>
<id>urn:sha1:9232106eb6f44562d8584f6f890ea3d22f097bba</id>
<content type='text'>
Signed-off-by: Andrey Zhizhikin &lt;andrey.z@gmail.com&gt;
</content>
</entry>
<entry>
<title>libimxvpuapi2: Update to version 2.0.1</title>
<updated>2020-04-20T19:17:28+00:00</updated>
<author>
<name>Carlos Rafael Giani</name>
<email>crg7475@mailbox.org</email>
</author>
<published>2020-04-18T20:17:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=4d6359b6fe6b2231e3592442e9b3d204e2684cb0'/>
<id>urn:sha1:4d6359b6fe6b2231e3592442e9b3d204e2684cb0</id>
<content type='text'>
* imx6: replace mxcfb.h check with i.MX6 specific imx header check
  the mcxfb.h check only makes sense with i.MX6 devices, so requiring
  those for others like i.MX8 led to build errors
* update waf to 2.0.12 and switch wscript to use Python 3
* imx6: fix encoder pointer usage in vpu_EncGiveCommand() call

Signed-off-by: Carlos Rafael Giani &lt;crg7475@mailbox.org&gt;
</content>
</entry>
<entry>
<title>libimxvpuapi: use host python3</title>
<updated>2020-01-08T19:09:51+00:00</updated>
<author>
<name>Max Krummenacher</name>
<email>max.krummenacher@toradex.com</email>
</author>
<published>2020-01-08T16:04:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=aae8cf26ec7f03edcda002a0a653eefd2233aca8'/>
<id>urn:sha1:aae8cf26ec7f03edcda002a0a653eefd2233aca8</id>
<content type='text'>
Fixes:
| ERROR: libimxvpuapi-0.10.3+AUTOINC+4afb52f97e-r0 do_configure: Execution of '/build/krm/oe-core_master/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/libimxvpuapi/0.10.3+AUTOINC+4afb52f97e-r0/temp/run.do_configure.51207' failed with exit code 127:
| /usr/bin/env: ‘python’: No such file or directory

Signed-off-by: Max Krummenacher &lt;max.krummenacher@toradex.com&gt;
</content>
</entry>
<entry>
<title>libimxvpuapi2: Add recipe</title>
<updated>2019-08-06T14:26:36+00:00</updated>
<author>
<name>Carlos Rafael Giani</name>
<email>crg7475@mailbox.org</email>
</author>
<published>2019-07-23T11:49:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=d3ca2d6eb189794c9dbf29d261a3f5c539591241'/>
<id>urn:sha1:d3ca2d6eb189794c9dbf29d261a3f5c539591241</id>
<content type='text'>
This is the successor to libimxvpuapi. Since at this moment, there is
software still using the former, its recipe remains in place. Both
versions (1 and 2) can coexist on the same rootfs.

Version 2 introduces support for i.MX8 (mx8m and mx8mm for now), and also
still supports i.MX6.

Signed-off-by: Carlos Rafael Giani &lt;crg7475@mailbox.org&gt;
</content>
</entry>
</feed>
