Edit

IABSD.fr/ports/sysutils/libva-utils/patches/patch-encode_jpegenc_utils_h

Branch :

  • Show log

    Commit

  • Author : rsadowski
    Date : 2024-07-15 19:05:09
    Hash : 1ac8f857
    Message : Import libva-utils-2.22.0 Imported with BUILD_UNLINKED=libva Comment: collection of tests for VA-API Description: libva-utils is a collection of utilities and examples to exercise VA-API in accordance with the libva project. VA-API is an open-source library and API specification, which provides access to graphics hardware acceleration capabilities for video processing. It consists of a main library and driver-specific acceleration backends for each supported hardware vendor. Maintainer: The OpenBSD ports mailing-list <ports@openbsd.org> WWW: https://github.com/intel/libva-utils OK kn@ ob@

  • sysutils/libva-utils/patches/patch-encode_jpegenc_utils_h
  • Index: encode/jpegenc_utils.h
    --- encode/jpegenc_utils.h.orig
    +++ encode/jpegenc_utils.h
    @@ -49,6 +49,7 @@ struct __bitstream {
     
     typedef struct __bitstream bitstream;
     
    +#ifndef __BSD_VISIBLE
     static unsigned int
     swap32(unsigned int val)
     {
    @@ -59,6 +60,7 @@ swap32(unsigned int val)
                 (pval[2] << 8)      |
                 (pval[3] << 0));
     }
    +#endif
     
     static void
     bitstream_start(bitstream *bs)