git.videolan.org Git - ffmpeg.git/rss log

FFmpeg git repo

http://git.videolan.org/?p=ffmpeg.git;a=summary

Les articles publiés sur le site

  • videotoolboxenc : Add an iOS version condition for VTCopySupportedPropertyDictionaryFo...

    25 mars, par Martin Storsjö
    videotoolboxenc: Add an iOS version condition for VTCopySupportedPropertyDictionaryForEncoder
    
    This fixes building for iOS versions older than 11.0.
    
    Signed-off-by: Martin Storsjö <martin@martin.st>
    
    • [DH] libavcodec/videotoolboxenc.c
  • libavfilter : metal : Fix the version condition for iOS

    25 mars, par Martin Storsjö
    libavfilter: metal: Fix the version condition for iOS
    
    MTLDevice supportsFamily is available since iOS 13, not 11, see
    https://developer.apple.com/documentation/metal/mtldevice/supportsfamily(_:)?language=objc.
    
    Signed-off-by: Martin Storsjö <martin@martin.st>
    
    • [DH] libavfilter/metal/utils.m
  • avfoundation : Fix compilation for OSes other than macOS and iOS

    25 mars, par Martin Storsjö
    avfoundation: Fix compilation for OSes other than macOS and iOS
    
    E.g. tvOS doesn't have devicesWithMediaType.
    
    In principle, we could probably disable building the whole
    input device on such OSes, but that would either require
    testing explicitly for the OS type in configure (which we don't
    do anywhere so far), or test for individual objective C methods.
    
    This approach allows the code to compile, but no input devices
    will be found at runtime.
    
    Signed-off-by: Martin Storsjö <martin@martin.st>
    
    • [DH] libavdevice/avfoundation.m
  • configure : Add a dependency for the audiotoolbox outdev

    25 mars, par Martin Storsjö
    configure: Add a dependency for the audiotoolbox outdev
    
    The audiotoolbox outdev uses APIs that only are available on macOS,
    not on iOS or tvOS. Check for them in configure, and make sure the
    outdev is disabled otherwise.
    
    This allows building for iOS without explicitly having to disable
    the audiotoolbox outdev.
    
    Signed-off-by: Martin Storsjö <martin@martin.st>
    
    • [DH] configure
  • avcodec/mpegvideo_enc : Don't use unnecessarily much stack

    25 mars, par Andreas Rheinhardt
    avcodec/mpegvideo_enc: Don't use unnecessarily much stack
    
    encode_thread() puts two MPVEncContexts (2*6516B here)
    on the stack and zeroes one of them in order to
    temporarily store the variables that get changed
    during encoding a macroblock (when there is more than
    one candidate type for a macroblock). This is wasteful
    and therefore this commit adds a small (328B here) structure
    to store exactly the fields that actually need to be backed
    up. Then one can extend MPVEncContext without fearing
    too use up to much stack.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/mpegvideo_enc.c