Skip to content

Commit 8602896

Browse files
committed
Version 2.0.0
Signed-off-by: Carlos Rafael Giani <[email protected]>
1 parent 6f4f225 commit 8602896

File tree

7 files changed

+31
-17
lines changed

7 files changed

+31
-17
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
==== version 2.0.0 (2019-07-21) ====
2+
3+
* complete rewrite to support i.MX6, i.MX8m, i.MX8mm VPUs
4+
15
==== version 0.10.3 (2016-10-12) ====
26

37
* properly pass on color format in simplified JPEG encoder interface

debian/changelog

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
libimxvpuapi (2.0.0) stable; urgency=low
2+
3+
* complete rewrite to support i.MX6, i.MX8m, i.MX8mm VPUs
4+
5+
-- Carlos Rafael Giani <[email protected]> Sun, 21 Jul 2017 13:40:00 +0200
6+
17
libimxvpuapi (0.10.3) stable; urgency=low
28

39
* properly pass on color format in simplified JPEG encoder interface
@@ -9,7 +15,7 @@ libimxvpuapi (0.10.3) stable; urgency=low
915
* make sure JPEG quantization table is copied in standardized zig zag order
1016
the VPU does not, so this has to be done explicitely
1117

12-
-- Carlos Rafael Giani <dv@pseudoterminal.org> Sun, 12 Oct 2016 09:31:00 +0200
18+
-- Carlos Rafael Giani <crg7475@mailbox.org> Sun, 12 Oct 2016 09:31:00 +0200
1319

1420
libimxvpuapi (0.10.2) stable; urgency=low
1521

@@ -21,18 +27,18 @@ libimxvpuapi (0.10.2) stable; urgency=low
2127
useful for modifying headers, like VUI data in the SPS RBSP
2228
* Documentation updates
2329

24-
-- Carlos Rafael Giani <dv@pseudoterminal.org> Sun, 01 May 2016 13:10:22 +0100
30+
-- Carlos Rafael Giani <crg7475@mailbox.org> Sun, 01 May 2016 13:10:22 +0100
2531

2632
libimxvpuapi (0.10.1) stable; urgency=low
2733

2834
* Update waf to version 1.8.16
2935
* Add workaround in wscript to prevent stale pkg-config .pc files
3036
* Fix memory leak by adding missing IOFreeVirtMem() call in vpulib backend
3137

32-
-- Carlos Rafael Giani <dv@pseudoterminal.org> Thu, 30 Nov 2015 11:11:56 +0100
38+
-- Carlos Rafael Giani <crg7475@mailbox.org> Thu, 30 Nov 2015 11:11:56 +0100
3339

3440
libimxvpuapi (0.10.0) stable; urgency=low
3541

3642
* Initial Release.
3743

38-
-- Carlos Rafael Giani <dv@pseudoterminal.org> Thu, 05 Nov 2015 12:43:32 +0100
44+
-- Carlos Rafael Giani <crg7475@mailbox.org> Thu, 05 Nov 2015 12:43:32 +0100

debian/control

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Source: libimxvpuapi
22
Priority: extra
3-
Maintainer: Carlos Rafael Giani <dv@pseudoterminal.org>
3+
Maintainer: Carlos Rafael Giani <crg7475@mailbox.org>
44
Build-Depends:
55
debhelper (>= 8.0.0),
66
python,
@@ -10,17 +10,18 @@ Section: libs
1010
Homepage: https://github.com/Freescale/libimxvpuapi
1111
Vcs-Browser: https://github.com/Freescale/libimxvpuapi
1212

13-
Package: libimxvpuapi-dev
13+
Package: libimxvpuapi2-dev
1414
Section: libdevel
1515
Architecture: any
16-
Depends: libimxvpuapi0 (= ${binary:Version}), ${misc:Depends}
17-
Description: development files for libimxvpuapi
18-
This package provides the development files required to build software against libimxvpuapi.
16+
Depends: libimxvpuapi2 (= ${binary:Version}), ${misc:Depends}
17+
Description: development files for libimxvpuapi2
18+
This package provides the development files required to build software against libimxvpuapi version 2.
1919

20-
Package: libimxvpuapi0
20+
Package: libimxvpuapi2
2121
Section: libs
2222
Architecture: any
2323
Multi-Arch: same
2424
Depends: ${shlibs:Depends}, ${misc:Depends}
25-
Description: frontend for the i.MX6 VPU hardware video engine
26-
This library provides an API for using the iMX6 VPU video engine. It is an alternative to Freescale's VPU wrapper. Both the wrapper and this library are layered on top of imx-vpu , the low-level iMX6 VPU interface.
25+
Description: frontend for the i.MX6 / i.MX8 VPU hardware video engines
26+
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.
27+
This is version 2 of the library, and can coexist on the same filesystem with version 1.

debian/copyright

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Upstream-Name: libimxvpuapi
33
Source: https://github.com/Freescale/libimxvpuapi
44

55
Files: *
6-
Copyright: 2014-2015 Carlos Rafael Giani
6+
Copyright: 2014-2019 Carlos Rafael Giani
77
License: LGPL-2.1+
88

99
Files: debian/*
File renamed without changes.
File renamed without changes.

wscript

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ def options(opt):
146146
opt.add_option('--enable-debug', action = 'store_true', default = False, help = 'enable debug build [default: disabled]')
147147
opt.add_option('--enable-static', action = 'store_true', default = False, help = 'build static library [default: build shared library]')
148148
opt.add_option('--imx-platform', action='store', default='', help='i.MX platform to build for (valid platforms: ' + ' '.join(imx_platforms.keys()) + ')')
149-
opt.add_option('--sysroot-path', action='store', default='', help='path to the sysroot (where usr/include/imx/mxcfb.h etc. can be found)')
149+
opt.add_option('--imx-headers', action='store', default='', help='path to where linux/mxcfb.h etc. can be found [default: <sysroot path>/usr/include/imx]')
150+
opt.add_option('--sysroot-path', action='store', default='', help='path to the sysroot')
150151
opt.load('compiler_c')
151152
opt.load('gnu_dirs')
152153

@@ -188,7 +189,7 @@ def configure(conf):
188189
conf.fatal('Sysroot path not set; add --sysroot-path switch to configure command line')
189190
sysroot_path = os.path.abspath(os.path.expanduser(conf.options.sysroot_path))
190191
if os.path.isdir(sysroot_path):
191-
Logs.pprint('NORMAL', 'Using "%s" as sysroot path', sysroot_path)
192+
Logs.pprint('NORMAL', 'Using "%s" as sysroot path' % sysroot_path)
192193
else:
193194
conf.fatal('Path "%s" does not exist or is not a valid directory; cannot use as sysroot path' % sysroot_path)
194195
conf.env['SYSROOT'] = sysroot_path
@@ -206,9 +207,11 @@ def configure(conf):
206207

207208

208209
# i.MX linux header checks and flags
209-
imx_linux_headers_path = os.path.join(conf.options.sysroot_path, 'usr/include/imx')
210+
imx_linux_headers_path = conf.options.imx_headers
211+
if not imx_linux_headers_path:
212+
imx_linux_headers_path = os.path.join(conf.options.sysroot_path, 'usr/include/imx')
210213
if not conf.check_cc(uselib_store = 'IMXHEADERS', define_name = '', mandatory = False, includes = [imx_linux_headers_path], header_name = 'linux/mxcfb.h'):
211-
conf.fatal('Could not find linux/mxcfb.h in /usr/include/imx in sysroot path "%s" specified by --sysroot-path' % conf.options.sysroot_path)
214+
conf.fatal('Could not find linux/mxcfb.h in path "%s"' % imx_linux_headers_path)
212215
Logs.pprint('NORMAL', 'i.MX linux headers path: %s' % imx_linux_headers_path)
213216

214217

0 commit comments

Comments
 (0)