Commit graph

115 commits

Author SHA1 Message Date
jperkin
5991c328c1 libvpx: Fix macOS/aarch64 build. 2022-01-24 11:07:56 +00:00
jperkin
c5b421590f libvpx: Fix platform matches.
Fixes build on Darwin 18/19, simplifies other matches, and reduces pkglint
warnings.
2021-12-07 12:24:22 +00:00
nia
49cc295753 libvpx: note that this is also for VP9 2021-11-11 19:53:09 +00:00
wiz
eeef3eeed4 libvpx: update to 1.11.0.
2021-09-27 v1.11.0 "Smew Duck"
  This maintenance release adds support for VBR mode in VP9 rate control
  interface, new codec controls to get quantization parameters and loop filter
  levels, and includes several improvements to NEON and numerous bug fixes.

  - Upgrading:
    New codec control is added to get quantization parameters and loop filter
    levels.

    VBR mode is supported in VP9 rate control library.

  - Enhancement:
    Numerous improvements for Neon optimizations.
    Code clean-up and refactoring.
    Calculation of rd multiplier is changed with BDRATE gains.

  - Bug fixes:
    Fix to overflow on duration.
    Fix to several instances of -Wunused-but-set-variable.
    Fix to avoid chroma resampling for 420mpeg2 input.
    Fix to overflow in calc_iframe_target_size.
    Fix to disallow skipping transform and quantization.
    Fix some -Wsign-compare warnings in simple_encode.
    Fix input file path in simple_encode_test.
    Fix valid range for under/over_shoot pct.
2021-11-01 20:06:46 +00:00
nia
2531503114 multimedia: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (for legal reasons?):

./multimedia/adobe-flash-player/distinfo adobe-flash-player-32.0.0.465/flash_player_npapi_linux.i386.tar.gz
./multimedia/adobe-flash-player/distinfo adobe-flash-player-32.0.0.465/flash_player_npapi_linux.x86_64.tar.gz
./multimedia/libdvdcss/distinfo libdvdcss-1.4.3.tar.bz2
2021-10-26 11:00:57 +00:00
nia
434d9cfcd9 multimedia: Remove SHA1 hashes for distfiles 2021-10-07 14:32:01 +00:00
adam
13975fbd93 libvpx: fix building on Darwin 21 2021-09-10 12:47:46 +00:00
schmonz
8cf97ebfdb arm_cpudetect.c doesn't cover macOS. On M1 Macs, set
--disable-runtime-cpu-detect to fix build.
2021-07-13 15:35:42 +00:00
wiz
6eae1297d5 *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
adam
d3ba086d4a libvpx: updated to 1.10.0
Release v1.10.0 Ruddy Duck
2021-03-09 v1.10.0 "Ruddy Duck"

  This maintenance release adds support for darwin20 and new codec controls, as
  well as numerous bug fixes.

  - Upgrading:

    New codec control is added to disable loopfilter for VP9.

    New encoder control is added to disable feature to increase Q on overshoot
    detection for CBR.

    Configure support for darwin20 is added.

    New codec control is added for VP9 rate control. The control ID of this
    interface is VP9E_SET_EXTERNAL_RATE_CONTROL. To make VP9 use a customized
    external rate control model, users will have to implement each callback
    function in vpx_rc_funcs_t and register them using libvpx API
    vpx_codec_control_() with the control ID.

  - Enhancement:

    Use -std=gnu++11 instead of -std=c++11 for c++ files.

  - Bug fixes:

    Override assembler with --as option of configure for MSVS.

    Fix several compilation issues with gcc 4.8.5.

    Fix to resetting rate control for temporal layers.

    Fix to the rate control stats of SVC example encoder when number of spatial
    layers is 1.

    Fix to reusing motion vectors from the base spatial layer in SVC.

    2 pass related flags removed from SVC example encoder.
2021-04-14 07:02:49 +00:00
nia
6d217d6321 libvpx: Set compiler requirements properly.
Needs at least gcc 4.8, does not need c++11 in USE_LANGUAGES because it
sets -std=c++11 itself.
2020-10-25 12:43:45 +00:00
adam
075c30ceb3 libvpx: let it build on macOS 11.0 2020-09-29 13:03:13 +00:00
wiz
00da7815c0 *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
js
7f097e2d7b Fix building multimedia/libvpx on Darwin
This should also fix other platforms that don't like empty .a files.
2020-08-30 12:33:29 +00:00
wiz
f321397b7f libvpx: update to 1.9.0.
2020-07-29 v1.9.0 "Quacking Duck"
  This release adds support for NV12, a separate library for rate control, as
  well as incremental improvements.

  - Upgrading:
    NV12 support is added to this release.
    A new interface is added for VP9 rate control. The new library libvp9rc.a
    must be linked by applications.
    Googletest is updated to v1.10.0.
    simple_encode.cc is compiled into a new library libsimple_encode.a with
    CONFIG_RATE_CTRL.

  - Enhancement:
    Various changes to improve VP9 SVC, rate control, quality and speed to real
    time encoding.

  - Bug fixes:
    Fix key frame update refresh simulcast flexible svc.
    Fix to disable_16x16part speed feature for real time encoding.
    Fix some signed integer overflows for VP9 rate control.
    Fix initialization of delta_q_uv.
    Fix condition in regulate_q for cyclic refresh.
    Various fixes to dynamic resizing for VP9 SVC.
2020-08-24 08:35:07 +00:00
adam
6ca0dda22c libvpx: updated to 1.8.2
v1.8.2 "Pekin Duck"
This release collects incremental improvements to many aspects of the library.
- Upgrading:
  ARCH_* defines have been removed in favor of VPX_ARCH_*.
2020-01-28 19:20:09 +00:00
gdt
835ad71371 multimedia/libvpx: Simplify GCC_REQD
As suggested by jperkin@, since gcc 4.4 is ancient, just require it
whenever using sse, instead of a complicated conditional by OS.
2019-11-23 19:37:20 +00:00
gdt
16446515a0 multimediaa/lbvpx: Use !empty(PKGSRC_COMPILER:Mgcc) to check for gcc
This commit merely extends an existing workaround to all builds that
use gcc, rather than only those that use gcc without ccache or distcc.
2019-11-23 19:17:44 +00:00
wiz
84e123ddd2 Bump PKGREVISIONs for perl 5.30.0 2019-08-11 13:17:48 +00:00
adam
970864aabf libvpx: updated to 1.8.1
v1.8.1 "Orpington Duck"
  This release collects incremental improvements to many aspects of the library.

  - Upgrading:
    VP8E_SET_CPUUSED now accepts values up to 9 for vp9.
    VPX_CTRL_VP9E_SET_MAX_INTER_BITRATE_PCT had a spelling fix (was VP8E).
    The --sdk-path option has been removed. If you were using it to build for
      Android please read build/make/Android.mk for alternatives.
    All PPC optimizations have been disabled:
      https://bugs.chromium.org/p/webm/issues/detail?id=1522.

  - Enhancements:
    Various changes to improve encoder rate control, quality and speed
      for practically every use case.

  - Bug fixes:
    vp9-rtc: Fix color artifacts for speed >= 8.
2019-07-18 10:28:45 +00:00
adam
debd7c106d libvpx: updated to 1.8.0
v1.8.0 "Northern Shoveler Duck"
  This release focused on encoding performance for realtime and VOD use cases.

  - Upgrading:
    This adds and improves several vp9 controls. Most are related to SVC:
      VP9E_SET_SVC_FRAME_DROP_LAYER:
        - Frame dropping in SVC.
      VP9E_SET_SVC_INTER_LAYER_PRED:
        - Inter-layer prediction in SVC.
      VP9E_SET_SVC_GF_TEMPORAL_REF:
        - Enable long term temporal reference in SVC.
      VP9E_SET_SVC_REF_FRAME_CONFIG/VP9E_GET_SVC_REF_FRAME_CONFIG:
        - Extend and improve this control for better flexibility in setting SVC
          pattern dynamically.
      VP9E_SET_POSTENCODE_DROP:
        - Allow for post-encode frame dropping (applies to non-SVC too).
      VP9E_SET_SVC_SPATIAL_LAYER_SYNC:
        - Enable spatial layer sync frames.
      VP9E_SET_SVC_LAYER_ID:
        - Extend api to specify temporal id for each spatial layers.
      VP9E_SET_ROI_MAP:
        - Extend Region of Interest functionality to VP9.

  - Enhancements:
    2 pass vp9 encoding has improved substantially. When using --auto-alt-ref=6,
    we see approximately 8% for VBR and 10% for CQ. When using --auto-alt-ref=1,
    the gains are approximately 4% for VBR and 5% for CQ.

    For real-time encoding, speed 7 has improved by ~5-10%. Encodes targeted at
    screen sharing have improved when the content changes significantly (slide
    sharing) or scrolls. There is a new speed 9 setting for mobile devices which
    is about 10-20% faster than speed 8.

  - Bug fixes:
    VP9 denoiser issue.
    VP9 partition issue for 1080p.
    VP9 rate control improvments.
    Postprocessing Multi Frame Quality Enhancement (MFQE) issue.
    VP8 multithread decoder issues.
    A variety of fuzzing issues.
2019-02-12 20:47:14 +00:00
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
sevan
cf7dd3d5fb As far as PowerPC support goes, libvpx supports 64-bit PowerPC in Little Endian
mode only, now. Set the target to generic-gnu for powerpc based ports on NetBSD
to allow libvpx to build and run, though without any targetted optimization.
Resolves build issue on NetBSD/macppc which failed at configure stage otherwise.

TenFourFox has patches to add support for Altivec acceleration, which could be
used to add support back again locally.
https://github.com/classilla/tenfourfox/tree/master/media/libvpx
2018-06-03 00:47:30 +00:00
jmcneill
2a4aa05b28 Disable runtime CPU detection on NetBSD/aarch64 2018-05-10 21:10:38 +00:00
jperkin
a58fec7ca0 libvpx: Remove bogus diff check. 2018-01-30 22:56:39 +00:00
wiz
b68c8bb9fb libvpx: update to 1.7.0.
2017-01-04 v1.7.0 "Mandarin Duck"
  This release focused on high bit depth performance (10/12 bit) and vp9
  encoding improvements.

  - Upgrading:
    This release is ABI incompatible due to new vp9 encoder features.

    Frame parallel decoding for vp9 has been removed.

  - Enhancements:
    vp9 encoding supports additional threads with --row-mt. This can be greater
    than the number of tiles.

    Two new vp9 encoder options have been added:
      --corpus-complexity
      --tune-content=film

    Additional tooling for respecting the vp9 "level" profiles has been added.

  - Bug fixes:
    A variety of fuzzing issues.
    vp8 threading fix for ARM.
    Codec control VP9_SET_SKIP_LOOP_FILTER fixed.
    Reject invalid multi resolution configurations.
2018-01-28 16:04:11 +00:00
wiz
2b2be4eecf Remove -pie from nasm/yasm command line. Fixes PIE build. 2017-08-30 19:49:59 +00:00
he
5d747473b5 Recognize powerpc as an ISA, and add powerpc-linux-gnu, so that ...
NetBSD/macppc can build this, and get a proper dependence on -lm,
contrary to when configured as generic--gnu.
Bump PKGREVISION, OK from jperkin@
2017-06-28 15:35:48 +00:00
joerg
e38026fc6f Don't print noise if CCPATH is undefined. 2017-06-13 17:32:07 +00:00
jperkin
c8d99470ba Disable libyuv's SSE code on 32-bit SunOS, it doesn't compile at present. 2017-05-10 10:45:07 +00:00
jperkin
6b547497bb Convert CXXFLAGS setting C++ standard to USE_LANGUAGES. 2017-05-03 08:38:38 +00:00
wiz
c761d409e7 Recursive bump for libvpx shlib major change. 2017-01-16 23:45:10 +00:00
wiz
a6421cba1e Updated libvpx to 1.6.1.
2017-01-09 v1.6.1 "Long Tailed Duck"
  This release improves upon the VP9 encoder and speeds up the encoding and
  decoding processes.

  - Upgrading:
    This release is ABI compatible with 1.6.0.

  - Enhancements:
    Faster VP9 encoding and decoding.
    High bit depth builds now provide similar speed for 8 bit encode and decode
    for x86 targets. Other platforms and higher bit depth improvements are in
    progress.

  - Bug Fixes:
    A variety of fuzzing issues.
2017-01-16 12:12:59 +00:00
ryoon
e40e06ddfe Update to 1.6.0
Changelog:
2016-07-20 v1.6.0 "Khaki Campbell Duck"
  This release improves upon the VP9 encoder and speeds up the encoding and
  decoding processes.

  - Upgrading:
    This release is ABI incompatible with 1.5.0 due to a new 'color_range' enum
    in vpx_image and some minor changes to the VP8_COMP structure.

    The default key frame interval for VP9 has changed from 128 to 9999.

  - Enhancement:
    A core focus has been performance for low end Intel processors. SSSE3
    instructions such as 'pshufb' have been avoided and instructions have been
    reordered to better accommodate the more constrained pipelines.

    As a result, devices based on Celeron processors have seen substantial
    decoding improvements. From Indian Runner Duck to Javan Whistling Duck,
    decoding speed improved between 10 and 30%. Between Javan Whistling Duck
    and Khaki Campbell Duck, it improved another 10 to 15%.

    While Celeron benefited most, Core-i5 also improved 5% and 10% between the
    respective releases.

    Realtime performance for WebRTC for both speed and quality has received a
    lot of attention.

  - Bug Fixes:
    A number of fuzzing issues, found variously by Mozilla, Chromium and others,
    have been fixed and we strongly recommend updating.
2016-08-16 23:53:25 +00:00
wiz
73716d23de Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:38:30 +00:00
jperkin
966b25ed06 Use OPSYSVARS. 2016-02-25 15:49:43 +00:00
markd
37b4f88afe Fixup the installed vpx.pc 2016-01-03 20:59:17 +00:00
jperkin
f29c4fe06c Remove mk/find-prefix.mk usage from the multimedia category.
The find-prefix infrastructure was required in a pkgviews world where
packages installed from pkgsrc could have different installation
prefixes, and this was a way for a dependency prefix to be determined.

Now that pkgviews has been removed there is no longer any need for the
overhead of this infrastructure.  Instead we use BUILDLINK_PREFIX.pkg
for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the
dependency is coming from pkgsrc.

Provides a reasonable performance win due to the reduction of `pkg_info
-qp` calls, some of which were redundant anyway as they were duplicating
the same information provided by BUILDLINK_PREFIX.pkg.
2015-11-25 13:00:43 +00:00
ryoon
ff7e8d6038 Update to 1.5.0
* Fix HOMEPAGE

Changelog:
2015-11-09 v1.5.0 "Javan Whistling Duck"
  This release improves upon the VP9 encoder and speeds up the encoding and
  decoding processes.

  - Upgrading:
    This release is ABI incompatible with 1.4.0. It drops deprecated VP8
    controls and adds a variety of VP9 controls for testing.

    The vpxenc utility now prefers VP9 by default.

  - Enhancements:
    Faster VP9 encoding and decoding
    Smaller library size by combining functions used by VP8 and VP9

  - Bug Fixes:
    A variety of fuzzing issues
2015-11-18 14:09:25 +00:00
sevan
8ec4d7cde7 Remove references to amd64, MACHINE_ARCH x86_64 cover all variants of
this architecture in pkgsrc now.

Reviewed by wiz@
2015-11-08 15:08:00 +00:00
agc
95c9a6891d Add SHA512 digests for distfiles for multimedia category
Problems found locating distfiles:
        Package adobe-flash-plugin11: missing distfile flash-plugin-11.2.202.540-release.i386.rpm
        Package gmplayer: missing distfile mplayer/AlienMind-1.2.tar.bz2
        Package gmplayer: missing distfile mplayer/BlueHeart-1.5.tar.bz2
        Package gmplayer: missing distfile mplayer/CornerMP-aqua-1.4.tar.bz2
        Package gmplayer: missing distfile mplayer/MPlayer-1.1.1.tar.xz
        Package gmplayer: missing distfile mplayer/WMP6-2.2.tar.bz2
        Package gmplayer: missing distfile mplayer/gnome-1.1.tar.bz2
        Package gmplayer: missing distfile mplayer/hwswskin-1.3.tar.bz2
        Package gmplayer: missing distfile mplayer/neutron-1.6.tar.bz2
        Package gmplayer: missing distfile mplayer/plastic-1.3.tar.bz2
        Package gmplayer: missing distfile mplayer/slim-1.3.tar.bz2
        Package gmplayer: missing distfile mplayer/xine-lcd-1.2.tar.bz2
        Package handbrake: missing distfile handbrake/HandBrake-0.9.3.tar.gz
        Package handbrake: missing distfile handbrake/bzip2-1.0.5.tar.gz
        Package handbrake: missing distfile handbrake/faad2-2.6.1.tar.gz
        Package handbrake: missing distfile handbrake/lame-3.98.tar.gz
        Package handbrake: missing distfile handbrake/libdvdread-0.9.7.tar.gz
        Package handbrake: missing distfile handbrake/libmp4v2-r45.tar.gz
        Package handbrake: missing distfile handbrake/libquicktime-0.9.10.tar.gz
        Package handbrake: missing distfile handbrake/libtheora-1.0.tar.gz
        Package handbrake: missing distfile handbrake/mpeg2dec-0.5.1.tar.gz
        Package handbrake: missing distfile handbrake/x264-r1028-83baa7f.tar.gz
        Package handbrake: missing distfile handbrake/zlib-1.2.3.tar.gz
        Package libdvdcss: missing distfile libdvdcss-1.3.99.tar.bz2
        Package mplayer-share: missing distfile mplayer/MPlayer-1.1.1.tar.xz
        Package mpv: missing distfile mpv-0.12.0.tar.gz
        Package realplayer-codecs: missing distfile rp8codecs-20040626.tar.bz2
        Package realplayer-codecs: missing distfile rp8codecs-alpha-20050115.tar.bz2
        Package win32-codecs: missing distfile rp9codecs-win32-20050115.tar.bz2
        Package xanim: missing distfile xa2.0_cvid_netbsd386.o.gz
        Package xanim: missing distfile xa2.0_iv32_netbsd386.o.gz
        Package xanim: missing distfile xa1.0_cyuv_netbsd68k.o.gz
        Package xanim: missing distfile xa2.0_cvid_linuxELF.o.gz
        Package xanim: missing distfile xa2.0_iv32_linuxELF.o.gz
        Package xanim: missing distfile xa1.0_cyuv_sparcAOUT.o.gz
        Package xanim: missing distfile xa2.0_cvid_sparcELF.o.gz
        Package xanim: missing distfile xa2.0_iv32_sparcELF.o.gz
        Package xanim: missing distfile xa1.0_cyuv_linuxPPC.o.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 23:54:22 +00:00
wiz
8d9d7e0465 Fix previous (hi martin! PKGVERSION != PKGREVISION) 2015-07-11 23:40:49 +00:00
martin
26959d7be5 Ooops, remove accidently commited debug info stuff 2015-07-06 09:48:24 +00:00
martin
e11f734182 Fix inverted flag in sparc alignment patch 2015-07-06 09:46:36 +00:00
ryoon
c8b0dcf8e1 Update to 1.4.0
Changelog:
2015-04-03 v1.4.0 "Indian Runner Duck"
  This release includes significant improvements to the VP9 codec.

  - Upgrading:
    This release is ABI incompatible with 1.3.0. It drops the compatibility
    layer, requiring VPX_IMG_FMT_* instead of IMG_FMT_*, and adds several codec
    controls for VP9.

  - Enhancements:
    Faster VP9 encoding and decoding
    Multithreaded VP9 decoding (tile and frame-based)
    Multithreaded VP9 encoding - on by default
    YUV 4:2:2 and 4:4:4 support in VP9
    10 and 12bit support in VP9
    64bit ARM support by replacing ARM assembly with intrinsics

  - Bug Fixes:
    Fixes a VP9 bitstream issue in Profile 1. This only affected non-YUV 4:2:0
    files.

  - Known Issues:
    Frame Parallel decoding fails for segmented and non-420 files.
2015-06-30 09:53:17 +00:00
markd
c6ce74b1d7 Fix build with gcc 5.x 2015-06-29 21:06:14 +00:00
wiz
0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00
dbj
58dd86ab06 add check for clang supporting -fno-integrated-as instead of -no-integrated-as 2015-04-27 07:31:08 +00:00
tron
978218e8a4 Apply Clang changes slightly later to avoid interfering with patch
(re-)generation.
2015-04-09 17:44:01 +00:00
tron
760bbd2d34 Improve Clang build fix and use it under Mac OS X as well. The problem
is specific to the verion of Clang (3.5 and newer) and not the platform.

This package now builds under Mac OS X Yosemite with the latest version
of Xcode tools.
2015-04-09 17:09:01 +00:00