summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-vpu-hantro
diff options
context:
space:
mode:
authorCristinel Panfir <cristinel.panfir@nxp.com>2019-12-16 15:50:08 +0200
committerOtavio Salvador <otavio@ossystems.com.br>2019-12-16 11:28:41 -0300
commitdd2eaf55309c0b53839d05e57e4ecf968dced5d1 (patch)
tree6d51b2be561b20018733ee49271596f561c0d2b7 /recipes-bsp/imx-vpu-hantro
parent36e5b2fac8e4508807950dce6a524ee850a1532f (diff)
downloadmeta-freescale-dd2eaf55309c0b53839d05e57e4ecf968dced5d1.tar.gz
imx-vpu-hantro: Upgrade version from 1.11.0 to 1.15.0
- [H1]: code refine for error handling to avoid blocking - [H1]: Driver enhancement for suspend/resume - [ION]: Enhance for 32bit compatibility for decoder and encoder - [H264] Handle interlace video correctly - [VC1Dec] Return error to avoid segmentation fault - [H264]: decoder enhancment in h264bsdGetBits() for corrupted clips - [Common]: support for security mode Remove unused patch Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
Diffstat (limited to 'recipes-bsp/imx-vpu-hantro')
-rw-r--r--recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-Get-i.MX-custom-headers-from-usr-include-imx.patch49
-rw-r--r--recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.15.0.bb (renamed from recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.11.0.bb)6
2 files changed, 3 insertions, 52 deletions
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-Get-i.MX-custom-headers-from-usr-include-imx.patch b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-Get-i.MX-custom-headers-from-usr-include-imx.patch
deleted file mode 100644
index a41641df..00000000
--- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-Get-i.MX-custom-headers-from-usr-include-imx.patch
+++ /dev/null
@@ -1,49 +0,0 @@
1From a277191d6e7d775b1c081f8b25734f6f962ade14 Mon Sep 17 00:00:00 2001
2From: Tom Hochstein <tom.hochstein@nxp.com>
3Date: Thu, 4 Oct 2018 10:34:00 -0500
4Subject: [PATCH] Get i.MX custom headers from /usr/include/imx
5
6Upstream-Status: Pending
7
8Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
9---
10 Makefile_G1G2 | 5 ++---
11 Makefile_H1 | 3 +--
12 2 files changed, 3 insertions(+), 5 deletions(-)
13
14diff --git a/Makefile_G1G2 b/Makefile_G1G2
15index caab40f..5b55a8b 100755
16--- a/Makefile_G1G2
17+++ b/Makefile_G1G2
18@@ -6,12 +6,11 @@ SOURCE_ROOT = decoder_sw/software
19 OMX_ROOT = openmax_il
20
21 INCLUDE_HEADERS = -I./decoder_sw -I$(SOURCE_ROOT)/source/inc -I$(SOURCE_ROOT)/source/hevc \
22- -I$(SOURCE_ROOT)/source/config -I$(SOURCE_ROOT)/source/dwl -I$(SOURCE_ROOT)/source/common -I$(SOURCE_ROOT)/source/vp9 \
23- -I$(SDKTARGETSYSROOT)/usr/imx/include
24+ -I$(SOURCE_ROOT)/source/config -I$(SOURCE_ROOT)/source/dwl -I$(SOURCE_ROOT)/source/common -I$(SOURCE_ROOT)/source/vp9
25
26 INCLUDE_HEADERS += -I$(SOURCE_ROOT)/linux/memalloc
27 #INCLUDE_HEADERS += -I$(SOURCE_ROOT)/linux/ldriver
28-INCLUDE_HEADERS += -I$(LINUX_KERNEL_ROOT)/include/uapi -I$(LINUX_KERNEL_ROOT)/include
29+INCLUDE_HEADERS += -I$(SDKTARGETSYSROOT)/usr/include/imx
30
31 CFLAGS += -DDEC_MODULE_PATH=\"/dev/mxc_hantro\" -DUSE_FAKE_RFC_TABLE -DFIFO_DATATYPE=void* -DNDEBUG -DDOWN_SCALER \
32 -DUSE_EXTERNAL_BUFFER -DUSE_FAST_EC -DUSE_VP9_EC -DGET_FREE_BUFFER_NON_BLOCK \
33diff --git a/Makefile_H1 b/Makefile_H1
34index 9ca1aa9..237f53a 100755
35--- a/Makefile_H1
36+++ b/Makefile_H1
37@@ -17,8 +17,7 @@ ENV += -DMEMALLOC_MODULE_PATH=\\\"/dev/ion\\\"
38 #ENV += -DSDRAM_LM_BASE=0x00000000
39 ENV += -DEWL_NO_HW_TIMEOUT
40 ENV += -DUSE_ION
41-ENV += -I$(LINUX_KERNEL_ROOT)/include/uapi -I$(LINUX_KERNEL_ROOT)/include
42-ENV += -I$(SDKTARGETSYSROOT)/usr/imx/include
43+ENV += -I$(SDKTARGETSYSROOT)/usr/include/imx
44
45 LIBENCNAME = libcodec_enc
46 LIBSENC = -L./ -lhantro_h1 -lpthread
47--
482.7.4
49
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.11.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.15.0.bb
index 3aeba4ac..407d17f7 100644
--- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.11.0.bb
+++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.15.0.bb
@@ -2,15 +2,15 @@
2 2
3DESCRIPTION = "i.MX Hantro VPU library" 3DESCRIPTION = "i.MX Hantro VPU library"
4LICENSE = "Proprietary" 4LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=80c0478f4339af024519b3723023fe28" 5LIC_FILES_CHKSUM = "file://COPYING;md5=6c12031a11b81db21cdfe0be88cac4b3"
6 6
7PROVIDES = "virtual/imxvpu" 7PROVIDES = "virtual/imxvpu"
8 8
9SRC_URI = " \ 9SRC_URI = " \
10 ${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true \ 10 ${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true \
11" 11"
12SRC_URI[md5sum] = "51b811f9523d03ca87f611ba86594311" 12SRC_URI[md5sum] = "2cb9a95223bee98a5b3d86c89ee36a55"
13SRC_URI[sha256sum] = "cec620241d303852ddad8601f2025a68abbc1ec26d605103c7e4173749b59e3f" 13SRC_URI[sha256sum] = "8d189156d713f12b255f16badd0093aaacd16859aa3191603908de07567485a5"
14 14
15inherit fsl-eula-unpack use-imx-headers 15inherit fsl-eula-unpack use-imx-headers
16 16