e9abe2773c
Changelog: - fix AUD NAL positioning in h.264 encoder output (SPS/PPS/AUD were ordered incorrectly - AUD has to come first, not last) - fix build error with examples when --enable-static is used - pass quality factor in simplified JPEG encoder interface correctly - add functions for querying and setting header data useful for modifying headers, like VUI data in the SPS RBSP - documentation updates This patch is based on the Yocto equivalent: https://github.com/Freescale/meta-fsl-arm/commit/c999668 Implicitly tested through gstreamer as the plugin relies on it: # gst-launch-1.0 playbin uri=file:///root/tears_of_steel_1080p.webm Signed-off-by: Andrew Webster <awebster@arcx.com> Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com> Tested-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
36 lines
1017 B
Makefile
36 lines
1017 B
Makefile
################################################################################
|
|
#
|
|
# libimxvpuapi
|
|
#
|
|
################################################################################
|
|
|
|
LIBIMXVPUAPI_VERSION = 0.10.2
|
|
LIBIMXVPUAPI_SITE = $(call github,Freescale,libimxvpuapi,$(LIBIMXVPUAPI_VERSION))
|
|
LIBIMXVPUAPI_LICENSE = LGPLv2.1+
|
|
LIBIMXVPUAPI_LICENSE_FILES = LICENSE
|
|
LIBIMXVPUAPI_DEPENDENCIES = host-pkgconf host-python imx-vpu
|
|
LIBIMXVPUAPI_INSTALL_STAGING = YES
|
|
|
|
define LIBIMXVPUAPI_CONFIGURE_CMDS
|
|
cd $(@D); \
|
|
$(TARGET_CONFIGURE_OPTS) $(HOST_DIR)/usr/bin/python2 ./waf configure \
|
|
--prefix=/usr --libdir=/usr/lib
|
|
endef
|
|
|
|
define LIBIMXVPUAPI_BUILD_CMDS
|
|
cd $(@D); \
|
|
$(HOST_DIR)/usr/bin/python2 ./waf build -j $(PARALLEL_JOBS)
|
|
endef
|
|
|
|
define LIBIMXVPUAPI_INSTALL_STAGING_CMDS
|
|
cd $(@D); \
|
|
$(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(STAGING_DIR) install
|
|
endef
|
|
|
|
define LIBIMXVPUAPI_INSTALL_TARGET_CMDS
|
|
cd $(@D); \
|
|
$(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(TARGET_DIR) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|